OFFSET
1,2
COMMENTS
The sum of reciprocals is likely divergent, especially if the twin-prime conjecture is true.
The sum of the reciprocals diverges. In particular, the sum of the reciprocals up to n is at least n/(log n + log log n)^2 for n > 3. - Charles R Greathouse IV, Apr 17 2012
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
B. Apostol, L. Panaitopol, L Petrescu, L. Toth, Some Properties of a Sequence Defined with the Aid of Prime Numbers, J. Int. Seq. 18 (2015) # 15.5.5.
MATHEMATICA
Table[(Prime[n + 1] - Prime[n])^2, {n, 80}] (* Vincenzo Librandi, Jun 08 2016 *)
PROG
(PARI) a(n)=(prime(n+1)-prime(n))^2 \\ Charles R Greathouse IV, Apr 17 2012
(Magma) [(NthPrime(n+1)-NthPrime(n))^2: n in [1..80]]; // Vincenzo Librandi, Jun 08 2016
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Nov 19 2002
EXTENSIONS
Edited by Don Reble, May 03 2006
STATUS
approved