#P5946. [POI 2002] B-Smooth 数
[POI 2002] B-Smooth 数
Problem Description
is a positive integer.
If a natural number is called a B-smooth number, then none of its prime factors is greater than .
We say that a B-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 B-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