login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A259311
First differences of A098058.
0
1, 2, 6, 6, 6, 6, 2, 10, 6, 6, 6, 2, 10, 2, 10, 18, 6, 6, 18, 6, 2, 10, 2, 6, 10, 6, 6, 2, 10, 6, 30, 6, 6, 2, 10, 6, 6, 6, 2, 10, 2, 10, 18, 6, 14, 6, 10, 6, 14, 6, 10, 26, 10, 2, 10, 2, 10, 18, 42, 18, 2, 18, 6, 10, 6, 6, 2, 6, 10, 6, 6, 2, 6, 10
OFFSET
1,2
COMMENTS
No term is divisible by 4, see comments in A098058.
FORMULA
a(n) = A098058(n+1)-A098058(n).
PROG
(PARI) lista(n) = for(x=1, n, z=(prime(x+1)-prime(x)); if(z%4, print1(z, ", "))) \\ Michel Marcus, Jun 24 2015
CROSSREFS
Cf. A098058.
Sequence in context: A284121 A198102 A097466 * A141624 A134413 A134201
KEYWORD
nonn
AUTHOR
Zak Seidov, Jun 24 2015
STATUS
approved