OFFSET
0,1
COMMENTS
Central elements of odd-length rows of the triangle of primes:
. 2,
. 3, 5,
. 7, 11, 13,
. 17, 19, 23, 29,
. 31, 37, 41, 43, 47,
. 53, 59, 61, 67, 71, 73, etc.
The sum of the reciprocals of the terms converges by comparison with sum_{n>=1} 1/n^2, since 1/a(n) < 1/(2n(n+1)+1) < 1/n^2. The limit is about 0.6471.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
FORMULA
MATHEMATICA
Table[Prime[2n(n+1)+1], {n, 0, 40}] (* Harvey P. Dale, May 02 2012 *)
PROG
(PARI) triprimes(n) = { sr = 0; for(j= 1, n, x = 2*j*(j-1) + 1; z = prime(x); sr+=1.0/z; print1(z" "); ); print(); print(sr); }
(Magma) [NthPrime(2*n*(n + 1)+1): n in [0..50]]; // Vincenzo Librandi, Jun 08 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Cino Hilliard, Dec 21 2002
EXTENSIONS
Edited by Dean Hickerson, Dec 23 2002
STATUS
approved