OFFSET
1,3
LINKS
Daniel Starodubtsev, Table of n, a(n) for n = 1..10000
Peter Alfeld, The 1,000 smallest prime numbers .
EXAMPLE
4 is not a prime, so it is squared.
MATHEMATICA
Table[ If[ PrimeQ[n], n, n^2], {n, 0, 54}] (* Robert G. Wilson v, Mar 24 2005 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Parthasarathy Nambi, Mar 20 2005
EXTENSIONS
More terms from Robert G. Wilson v, Mar 24 2005
STATUS
approved