OFFSET
1,1
EXAMPLE
For n=1, the prime(1)-smooth part of k! (i.e., the 2-smooth part) is the part whose prime factors are 2's; the prime(2)-rough part (i.e., the 3-rough part) is the odd part. For k = 1..3, we have
k k! 2-smooth part 3-rough part
- -- ------------- ------------
1 1 1 = 1
2 2 2 > 1
3 6 2 < 3
so a(1)=3.
Similarly, for n=2, we have
k 3-smooth part 5-rough part
-- ------------- ------------
1 1 = 1
2 2 > 1
3 6 > 1
4 24 > 1
5 24 > 5
. . . .
. . . .
18 429981696 > 14889875
19 429981696 > 282907625
20 1719926784 > 1414538125
21 5159780352 < 9901766875
so a(2)=21.
CROSSREFS
KEYWORD
nonn
AUTHOR
Jon E. Schoenfield, Feb 03 2023
STATUS
approved