login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A103390 Natural numbers but with nonprimes squared. 3

%I #11 Jan 25 2020 11:36:34

%S 0,1,2,3,16,5,36,7,64,81,100,11,144,13,196,225,256,17,324,19,400,441,

%T 484,23,576,625,676,729,784,29,900,31,1024,1089,1156,1225,1296,37,

%U 1444,1521,1600,41,1764,43,1936,2025,2116,47,2304,2401,2500,2601,2704,53

%N Natural numbers but with nonprimes squared.

%H Daniel Starodubtsev, <a href="/A103390/b103390.txt">Table of n, a(n) for n = 1..10000</a>

%H Peter Alfeld, <a href="http://www.math.utah.edu/~alfeld/math/primelist.html">The 1,000 smallest prime numbers </a>.

%e 4 is not a prime, so it is squared.

%t Table[ If[ PrimeQ[n], n, n^2], {n, 0, 54}] (* _Robert G. Wilson v_, Mar 24 2005 *)

%Y Cf. A103164.

%K easy,nonn

%O 1,3

%A _Parthasarathy Nambi_, Mar 20 2005

%E More terms from _Robert G. Wilson v_, Mar 24 2005

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 04:42 EDT 2024. Contains 371964 sequences. (Running on oeis4.)