OFFSET
1,1
COMMENTS
Except for the first 2 terms, these numbers are always even. Conjecture: the number 2 occurs infinitely often in this sequence.
3 together with A001223. - Omar E. Pol, Nov 01 2013
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
EXAMPLE
MATHEMATICA
Join[{3}, Differences[Prime[Range[100]]]] (* Paolo Xausa, Oct 25 2023 *)
PROG
(PARI) nextprimerep(n) = { local(x, y, y1, c=0); y1=2; for(x=0, n, y=nextprime(x); if(y==y1, c++, y1=y; print1(c", "); c=1); ) }
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Jan 15 2007
STATUS
approved