login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

First differences of A098058.
0

%I #14 Jul 28 2015 05:54:02

%S 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,

%T 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,

%U 18,42,18,2,18,6,10,6,6,2,6,10,6,6,2,6,10

%N First differences of A098058.

%C No term is divisible by 4, see comments in A098058.

%F a(n) = A098058(n+1)-A098058(n).

%o (PARI) lista(n) = for(x=1, n, z=(prime(x+1)-prime(x)); if(z%4, print1(z, ", "))) \\ _Michel Marcus_, Jun 24 2015

%Y Cf. A098058.

%K nonn

%O 1,2

%A _Zak Seidov_, Jun 24 2015