login
Composite integers sandwiched between primes p, q with q-p = 6.
1

%I #7 Apr 02 2016 13:41:10

%S 24,25,26,27,28,32,33,34,35,36,48,49,50,51,52,54,55,56,57,58,62,63,64,

%T 65,66,74,75,76,77,78,84,85,86,87,88,132,133,134,135,136,152,153,154,

%U 155,156,158,159,160,161,162,168,169,170,171,172,174,175,176,177,178

%N Composite integers sandwiched between primes p, q with q-p = 6.

%H Laurent Coppey, <a href="http://www.numdam.org/item?id=DIA_2011__65-66__1_0">Décompositions multiplicatives directes des entiers</a>, Diagrammes, 65-66 (2011), p. 1-68, in French, see J6 p. 11.

%e The composite number 24 is sandwiched between consecutive primes 23 and 29, and 29-23=6, so 24 is a member of the sequence.

%o (PARI) lista(nn) = {forcomposite(c=4, nn, if ((p=precprime(c)) && ((nextprime(c)-p)==6), print1(c, ", ")););}

%Y Cf. A014574, A031924, A031925, A045881, A271211.

%K nonn

%O 1,1

%A _Michel Marcus_, Apr 02 2016