[go: up one dir, main page]

login
A138249
Prime numbers k such that 24*k - 1, 24*k + 1 are twin primes.
1
3, 13, 43, 67, 113, 157, 283, 337, 503, 823, 883, 1123, 1217, 1327, 1483, 1583, 1597, 1607, 1613, 1753, 1973, 2017, 2027, 2083, 2383, 2423, 2467, 2803, 3067, 3203, 3343, 3797, 3917, 3923, 4057, 4217, 4337, 4397, 4903, 4987, 5387, 5443, 5477, 5807, 5953
OFFSET
1,1
LINKS
EXAMPLE
3*24 - 1 = 71 (prime), 3*24 + 1 = 73 (prime).
MATHEMATICA
a=24; Select[Prime[Range[250]], PrimeQ[a*#-1]&&PrimeQ[a*#+1] &]
PROG
(Magma) [n: n in [0..10000] |IsPrime(n) and IsPrime(24*n-1)and IsPrime(24*n+1)] // Vincenzo Librandi, Aug 03 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved