OFFSET
1,1
COMMENTS
No terms are congruent to 7 mod 10. - Michel Marcus, Sep 14 2015
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = prime(A320707(n)). - R. J. Mathar, Apr 30 2024
MATHEMATICA
Transpose[Select[Partition[Prime[Range[1300]], 2, 1], Last[#] - First[#] == 18 &]][[1]] (* Bruno Berselli, Apr 09 2013 *)
PROG
(Magma) [p: p in PrimesUpTo(10000) | NextPrime(p)-p eq 18]; // Bruno Berselli, Apr 09 2013
(PARI) isok(p) = isprime(p) && (nextprime(p+1) == p+18); \\ Michel Marcus, Sep 14 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved