login
A174046
Places n for which A001359(n) and A023200(n) is a twin prime pair.
1
2, 3, 4, 6, 14, 16, 29, 356, 358, 359, 403, 446, 464, 485, 652, 655, 764, 861, 866, 1123, 1301, 1304, 1324, 1328, 1358, 1486, 1610, 2631, 2632, 3735, 3931, 3953, 3956, 3957, 4679, 4855, 4931, 5222, 5226, 5269, 5283, 5292, 5403, 5427, 5445
OFFSET
1,1
LINKS
EXAMPLE
2 is in the sequence because A001359(2)=5 and A023200(2)=7 are twin primes.
PROG
(PARI) lista(nn) = {vp = primes(nn); va = select(x->isprime(x+2), vp); vb = select(x->isprime(x+4), vp); for (n=1, min(#va, #vb), if (vb[n] == va[n]+2, print1(n, ", ")); ); } \\ Michel Marcus, Jul 22 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, Mar 06 2010
EXTENSIONS
Terms beyond 29 from R. J. Mathar, Nov 03 2011
Edited by Michel Marcus, Jul 22 2017
STATUS
approved