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!)
A141129 a(n) = prime(n^2) - n^2. 2
1, 3, 14, 37, 72, 115, 178, 247, 338, 441, 540, 683, 840, 997, 1202, 1363, 1590, 1819, 2076, 2341, 2642, 2977, 3274, 3635, 4012, 4375, 4790, 5223, 5640, 6097, 6612, 7137, 7648, 8185, 8706, 9331, 9952, 10605, 11222, 11899, 12646, 13337, 14028, 14811 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A014689(n^2) = A014689(A000290(n)). - Michel Marcus, Feb 02 2015
EXAMPLE
a(1) = prime(1^2) - 1^2 = prime(1) - 1 = 2 - 1 = 1;
a(2) = prime(2^2) - 2^2 = prime(4) - 4 = 7 - 4 = 3.
MATHEMATICA
Table[n2=n^2; Prime[n2]-n2, {n, 50}] (* Harvey P. Dale, Apr 20 2012 *)
PROG
(PARI) a(n) = prime(n^2) - n^2; \\ Michel Marcus, Feb 18 2021
CROSSREFS
Sequence in context: A167858 A179132 A068044 * A143941 A162147 A319791
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected and extended by D. S. McNeil, Mar 21 2009
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 July 5 14:21 EDT 2024. Contains 374026 sequences. (Running on oeis4.)