The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 20 14:08 EDT 2024. Contains 372717 sequences. (Running on oeis4.)