%I #5 Mar 31 2012 14:01:22
%S 0,0,0,0,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
%T 2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,
%U 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4
%N Number of sexy prime quadruples (p, p+6, p+12, p+18), with p <= n.
%C There are 2 sexy prime quadruples classes, (-1, -1, -1, -1) (mod 6) and (+1, +1, +1, +1) (mod 6). They should asymptotically have the same number of quadruples, if there is an infinity of such quadruples, although with a Chebyshev bias expected against the quadratic residue class quadruples (+1, +1, +1, +1) (mod 6), which doesn't affect the asymptotic result. This sequence counts both classes.
%C Also the sexy prime quadruples of class (-1, -1, -1, -1) (mod 6) are (11, 17, 23, 29) (mod 30) while the sexy prime quadruples of class (+1, +1, +1, +1) (mod 6) are (1, 7, 13, 19) (mod 30).
%C Except for (5, 11, 17, 23, 29), there is no sexy prime quintuples (p, p+6, p+12, p+18, p+24) since one of the members is then divisible by 5.
%H Daniel Forgues, <a href="/A163857/b163857.txt">Table of n, a(n) for n=1..99982</a>
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/PrimeConstellation.html">Prime Constellation</a>
%Y A023271 First member of a sexy prime quadruple: value of p where (p, p+6, p+12, p+18) are all prime.
%Y A046122 Second member of a sexy prime quadruple: value of p+6 where (p, p+6, p+12, p+18) are all prime.
%Y A046123 Third member of a sexy prime quadruple: value of p+12 where (p, p+6, p+12, p+18) are all prime.
%Y A046124 Last member of a sexy prime quadruple: value of p+18 where (p, p+6, p+12, p+18) are all prime.
%K nonn
%O 1,11
%A _Daniel Forgues_, Aug 05 2009