773. Ruff Numbers

Let be the set containing and and the first primes that end in . For example, .

Define a -Ruff number to be one that is not divisible by any element in .

If is the product of the numbers in then define to be the sum of all -Ruff numbers less than that have last digit . You are given .

Find , give your answer modulo .

773. 拉夫数

记 为含有 、 以及前 个个位为 的质数的集合。如 。

定义 -拉夫数 为不能被 中任意一个元素整除的数。

记 为 所有元素之积,记 为所有小于 且个位为 的 -拉夫数之和,已知 。

求 模 之值。


点 这个链接 回到源站。

点 这个链接 回到详细版题目目录。