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!)
A066885 a(n) = (prime(n)^2 + 1)/2. 12
5, 13, 25, 61, 85, 145, 181, 265, 421, 481, 685, 841, 925, 1105, 1405, 1741, 1861, 2245, 2521, 2665, 3121, 3445, 3961, 4705, 5101, 5305, 5725, 5941, 6385, 8065, 8581, 9385, 9661, 11101, 11401, 12325, 13285, 13945, 14965, 16021, 16381, 18241, 18625 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
COMMENTS
a(n) is the average of the numbers from 1 to prime(n)^2. It's also the average of the primes in a prime(n) X prime(n) example of Haga's conjecture (see link below).
If a(n) is a square c^2, then prime(n) is an NSW prime (A088165) and a prime RMS number (A140480). - Ctibor O. Zizka, Aug 26 2008
The sequence starts with a(2) = (3^2 + 1)/2 = 5 since a(1) would be (2^2 + 1)/2 = 5/2. - Michael B. Porter, Dec 14 2009
LINKS
Carlos Rivera, Conjecture 26. The Calendar-like square Conjecture, The Prime Puzzles and Problems Connection.
FORMULA
a(n) = 1 + A084921(n). - R. J. Mathar, Sep 30 2011
a(n) mod 4 = 1. - Altug Alkan, Apr 08 2016
Product_{n>=2} (1 - 1/a(n)) = 2/3. - Amiram Eldar, Jun 03 2022
MAPLE
A066885:=n->(ithprime(n)^2+1)/2: seq(A066885(n), n=2..50); # Wesley Ivan Hurt, Jun 23 2015
MATHEMATICA
a[n_] := (Prime[n]^2+1)/2; Table[a[n], {n, 2, 50}]
PROG
(PARI) A066885(n) = (prime(n)^2+1)/2 \\ Michael B. Porter, Dec 14 2009
(PARI) { for (n=2, 1000, write("b066885.txt", n, " ", (prime(n)^2 + 1)/2) ) } \\ Harry J. Smith, Apr 04 2010
(Magma) [(NthPrime(n)^2+1)/2 : n in [2..50]]; // Wesley Ivan Hurt, Jun 23 2015
CROSSREFS
Cf. A084921.
Partial sums of A124434.
Sequence in context: A146140 A146283 A026373 * A147151 A057288 A107466
KEYWORD
easy,nonn
AUTHOR
Enoch Haga, Jan 22 2002
EXTENSIONS
Edited by Dean Hickerson, Jun 08 2002
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 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)