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

A196939
a(n) is the prime order number of A196938.
0
7, 10, 19, 20, 24, 25, 26, 32, 38, 39, 40, 43, 44, 45, 47, 51, 53, 55, 56, 57, 61, 63, 65, 66, 68, 69, 74, 81, 84, 86, 87, 88, 89, 90, 91, 92, 94, 96, 97, 98, 99, 101, 106, 109, 110, 111, 113, 114, 115, 116, 117, 123, 124, 125, 129, 130, 131, 132, 134, 135
OFFSET
1,1
EXAMPLE
A196938(1) = 17, which is the 7th prime, so a(1) = 7
MATHEMATICA
i = 1; Table[While[i++; p = Prime[i]; found = 0; j = 0; While[j++; df = 6*j; (p > (2*df)) && (found == 0), cp1 = p - 2*df; cp2 = p - df; cp3 = p + df; cp4 = p + 2*df; If[(PrimeQ[cp1]) && (PrimeQ[cp2]) && (PrimeQ[cp3]) && (PrimeQ[cp4]), found = 1]]; found == 0]; i, {ct, 1, 60}]
CROSSREFS
Cf. A196938.
Sequence in context: A328117 A155027 A118420 * A038211 A122226 A240791
KEYWORD
nonn,easy
AUTHOR
Lei Zhou, Oct 07 2011
STATUS
approved