|
|
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).
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
|
|
|
FORMULA
|
Product_{n>=2} (1 - 1/a(n)) = 2/3. - Amiram Eldar, Jun 03 2022
|
|
MAPLE
|
|
|
MATHEMATICA
|
a[n_] := (Prime[n]^2+1)/2; Table[a[n], {n, 2, 50}]
|
|
PROG
|
(PARI) { for (n=2, 1000, write("b066885.txt", n, " ", (prime(n)^2 + 1)/2) ) } \\ Harry J. Smith, Apr 04 2010
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|