#P56. [KBC004Ex] Primes
[KBC004Ex] Primes
Source
This problem is adapted from Long Long OJ. All rights reserved.
Problem Description
Find the number of prime numbers in the interval that can be expressed as the sum of squares of two positive integers.
Input Format
A single line containing two positive integers .
Output Format
A single line containing an integer representing the answer.
Samples
6 66
7
Data Range
| Test Case ID | ||
|---|---|---|
For of the test cases, .