OFFSET
1,3
COMMENTS
a(n) = 0 only for primes 2, 3 and 7.
Under the twin prime conjecture prime(n+1)-prime(n) = 2 infinitely often, and from that we can conclude that k=prime(n)-2 infinitely often. [Roderick MacPhee, Jul 24 2012]
a(n) = A062234(n) for 5 <= n <= 1000. - Georg Fischer, Oct 28 2018
LINKS
Remi Eismann, Table of n, a(n) for n = 1..10000
EXAMPLE
MATHEMATICA
a[n_] := If[n == 1 || n == 2 || n == 4, 0, 2Prime[n] - Prime[n + 1]]; Array[a, 62] (* Robert G. Wilson v, May 09 2006 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Rémi Eismann, Apr 18 2006, Feb 14 2008
EXTENSIONS
Edited by N. J. A. Sloane, May 07 2006
More terms from Robert G. Wilson v, May 09 2006
STATUS
approved