Unlucky Primes
We define the unlucky prime of a number , denoted , as the smallest prime number such that the remainder of divided by (i.e. ) is not a multiple of seven.
For example, , and .
Let be the sum .
You are given .
Find .
不幸素数
定义数对应的不幸素数为最小的、使得除以的余数(即)不是的倍数的素数。
例如,,,。
记为求和。
已知。
求。
Gitalking ...