OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
a(n) is the least k such that Sum_{p<=k} floor(k/p) >= n where p runs through the primes. - Benoit Cloitre, Nov 08 2009
MATHEMATICA
Join[{1}, Flatten[Table[PadRight[{}, PrimeNu[n], n], {n, 2, 50}]]] (* Harvey P. Dale, Jan 08 2020 *)
PROG
(PARI) a(n)=if(n<0, 0, t=1; while(sum(k=1, t, floor(t/prime(k)))<n, t++); t) \\ Benoit Cloitre, Nov 08 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Apr 07 2003
STATUS
approved