题目重现
Give you a prime number p , if you could find some natural number (0 is not inclusive)
We call this p a “Special Prime”.
AekdyCoin want you to tell him the number of the “Special Prime” that no larger than
For example:
If L=20
13+7∗12=23
83+19∗82=123
That is to say the prime number 7, 19 are two “Special Primes”.
Input
The input consists of several test cases.
Every case has only one integer indicating L .(
Output
For each case, you should output a single line indicate the number of “Special Prime” that no larger than L . If you can’t find such “Special Prime”, just output “No Special Prime!”
Sample Input
7
777
Sample Output
1
10
题解
这是一道数论题。
对于质数