OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = n*ceiling(prime(n)/n). - Vladeta Jovovic, Apr 06 2003
MAPLE
seq(n*ceil(ithprime(n)/n), n=1..60); # Robert Israel, Feb 27 2017
MATHEMATICA
Table[n Ceiling[Prime@ n/n], {n, 60}] (* Michael De Vlieger, Feb 27 2017 *)
PROG
(PARI) vector(60, n, n*ceil(prime(n)/n) ) \\ G. C. Greubel, Jun 09 2019
(Magma) [n*Ceiling(NthPrime(n)/n): n in [1..60]]; // G. C. Greubel, Jun 09 2019
(Sage) [n*ceil(nth_prime(n)/n) for n in (1..60)] # G. C. Greubel, Jun 09 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Mar 05 2002
STATUS
approved