OFFSET
1,1
COMMENTS
The corresponding larger primes (G-major-6 primes) are also of the form 6k+5.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
A031924(n) == 5 (mod 6).
EXAMPLE
a(1)=23 since a(1) + 6 = 29 is the next prime and 29 = 6*4 + 5.
MATHEMATICA
Select[Partition[Prime[Range[400]], 2, 1], #[[2]]-#[[1]]==6&&Mod[#, 6]=={5, 5}&][[All, 1]] (* Harvey P. Dale, Jan 05 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jan 25 2000
STATUS
approved