#P5946. [POI 2002 R3] B-Smooth 数
[POI 2002 R3] B-Smooth 数
Description
is a positive integer.
If a natural number is called a -smooth number, then none of its prime factors is greater than .
We say that a -smooth number equivalent to means that it can be represented as a product of positive integers less than or equal to .
Your task is: for the given closed interval , find the number of -smooth numbers in it.
Input Format
The first line contains three integers , , and .
Output Format
Output the number of B-smooth numbers.
30 10 5
4
Hint
For of the testdata, , , .
Translated by ChatGPT 5
京公网安备 11011102002149号