OFFSET
1,1
COMMENTS
Some of the terms of this sequence are primes that are separated from both their predecessor and successor primes by 12, e.g., 211, 1511, 4409, 4691, 7841, 9871, 11299, 11411, 11731. See A053072. - Harvey P. Dale, Apr 07 2013
Conjecture: The sequence is infinite and for every n, a(n+1) < a(n)^(1+1/n). Namely a(n)^(1/n) is a strictly decreasing function of n (See comment lines of the sequence A248855). - Jahangeer Kholdi and Farideh Firoozbakht, Nov 29 2014
Aside from 2 and 3, all primes are congruent to 1, 5, 7, 11 mod 12. Thus the least significant duodecimal digit of any term in this sequence is 1, 5, 7 or B. - Alonso del Arte, Aug 19 2017
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = prime(A320704(n)). - R. J. Mathar, Apr 30 2024
EXAMPLE
199 is a term as the next prime is 199 + 12 = 211.
211 is also a term since the next prime is 211 + 12 = 223.
But 223 is not a term since the next prime is 227, and 223 + 12 = 235 = 5 * 47.
MATHEMATICA
Transpose[Select[Partition[Prime[Range[600]], 2, 1], Last[#] - First[#] == 12 &]][[1]] (* Harvey P. Dale, Apr 07 2013 *)
PROG
(Magma) [p: p in PrimesUpTo(4000) | NextPrime(p)-p eq 12]; // Bruno Berselli, Apr 09 2013
(PARI) is(n)=nextprime(n+1)==n+12 && isprime(n) \\ Charles R Greathouse IV, Jul 02 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved