login
Numbers k such that k and k+2 are both members of A002822.
1

%I #11 May 15 2020 04:39:47

%S 1,3,5,10,23,30,38,45,70,135,170,175,213,215,268,355,465,560,588,653,

%T 703,705,710,773,798,835,940,978,1115,1130,1158,1258,1370,1500,1570,

%U 1843,1860,2040,2280,2285,2333,2425,2985,3008,3020,3598,3600,3838,4375,4450,4480

%N Numbers k such that k and k+2 are both members of A002822.

%e a(1)=1 because 1 and 3 are both in A002822.

%o (PARI) isokp(n) = isprime(6*n-1) && isprime(6*n+1);

%o isok(k) = isokp(k) && isokp(k+2); \\ _Michel Marcus_, May 15 2020

%Y Cf. A002822, A173233.

%K nonn

%O 1,2

%A _Juri-Stepan Gerasimov_, Feb 13 2010

%E Definition corrected, and sequence corrected (1158 inserted) by _R. J. Mathar_, May 02 2010

%E More terms from _Jinyuan Wang_, May 15 2020