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

A138658
Primes p such that 54*p-1 and 54*p+1 are twin primes.
4
2, 5, 37, 83, 173, 223, 257, 313, 673, 1093, 1217, 1447, 1667, 1777, 1933, 1973, 1997, 2273, 2393, 2423, 2473, 2557, 2767, 2843, 2857, 3467, 3767, 3877, 4073, 4513, 4957, 5273, 5657, 5783, 5867, 6047, 6427, 6977, 7307, 7867, 9007, 9137, 9227, 9343, 9697
OFFSET
1,1
EXAMPLE
54*2-1=107, 54*2+1=109; 54*5-1=269, 54*5+1=271; ...
MATHEMATICA
a=54; Select[Prime[Range[10^3]], PrimeQ[a*#-1]&&PrimeQ[a*#+1]&]
Select[Prime[Range[1200]], AllTrue[54#+{1, -1}, PrimeQ]&] (* Harvey P. Dale, Mar 01 2023 *)
CROSSREFS
Sequence in context: A163499 A086218 A202637 * A067464 A081545 A274074
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from b-file by Hagen von Eitzen, Jun 17 2009
STATUS
approved