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!)
A065893 Which composite number is the square of n? Index of n^2 in A002808. 2
0, 1, 4, 9, 15, 24, 33, 45, 58, 74, 90, 109, 129, 151, 176, 201, 227, 257, 288, 321, 355, 391, 429, 470, 510, 553, 599, 646, 694, 745, 798, 851, 907, 964, 1024, 1085, 1149, 1215, 1280, 1348, 1417, 1489, 1565, 1640, 1718, 1796, 1879, 1961, 2043, 2132, 2222 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
EXAMPLE
n = 5 and 25 is the 15th composite number: 4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22, 24, 25.
MATHEMATICA
Table[n^2-(PrimePi[n^2])-1, {w, 1, 128}]
PROG
(PARI) { default(primelimit, 4294965247); for (n=1, 1000, f=n^2; a=f - primepi(f) - 1; write("b065893.txt", n, " ", a) ) } \\ Harry J. Smith, Nov 04 2009
CROSSREFS
Sequence in context: A194106 A004629 A348338 * A052116 A109641 A134675
KEYWORD
nonn
AUTHOR
Labos Elemer, Nov 28 2001
STATUS
approved

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 16 05:35 EDT 2024. Contains 371697 sequences. (Running on oeis4.)