OFFSET
0,3
FORMULA
EXAMPLE
a(0) = 0 since P(0) = 1, and the smallest term in s is 2.
a(1) = 1 since P(1) = 2.
a(2) = 4 since P(2) = 6 and the terms in s that do not exceed 6 are {2, 3, 4, 5}.
a(3) = 16 since P(3) = 30; the numbers 2, 3, 4, 5, 7, 8, 9, 11, 13, 16, 17, 19, 23, 25, 27, and 29 are less than 30, etc.
MATHEMATICA
Table[Sum[PrimePi[Floor[#^(1/k)]], {k, Floor@ Log2[#]}] &[Product[Prime[i], {i, n}]], {n, 0, 14}]
CROSSREFS
KEYWORD
nonn,hard,more
AUTHOR
Michael De Vlieger, Jan 24 2025
STATUS
approved
