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”).

a(n)=abs(A171696(n)-A002822(n)).
0

%I #4 Jul 12 2012 00:39:51

%S 1,18,21,26,27,26,29,31,32,31,32,39,39,46,48,48,44,45,45,46,36,39,39,

%T 32,35,32,31,29,29,6,8,11,7,7,10,5,4,3,6,13,25,24,25,26,27,42,41,40,

%U 39,57,58,59,61,64,74,87,87,91,93,99,102,103,102,101,102,101,108,106,111,115

%N a(n)=abs(A171696(n)-A002822(n)).

%C Abs(n-th nonnegative number such that neither 6*k+-1 is prime minus n-th number such that 6*m+-1 are both twin primes).

%Y Cf. A002808, A171696.

%K nonn

%O 1,2

%A _Juri-Stepan Gerasimov_, Jan 24 2010

%E a(65) and terms from a(67) on corrected by _R. J. Mathar_, May 22 2010