login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A103390
Natural numbers but with nonprimes squared.
1
0, 1, 2, 3, 16, 5, 36, 7, 64, 81, 100, 11, 144, 13, 196, 225, 256, 17, 324, 19, 400, 441, 484, 23, 576, 625, 676, 729, 784, 29, 900, 31, 1024, 1089, 1156, 1225, 1296, 37, 1444, 1521, 1600, 41, 1764, 43, 1936, 2025, 2116, 47, 2304, 2401, 2500, 2601, 2704, 53
OFFSET
1,3
LINKS
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
Cf. A103164.
Sequence in context: A190116 A088447 A326578 * A167761 A364813 A176029
KEYWORD
easy,nonn
AUTHOR
Parthasarathy Nambi, Mar 20 2005
EXTENSIONS
More terms from Robert G. Wilson v, Mar 24 2005
STATUS
approved