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!)
A154944 Primes p such that (p-1)*p*(p+1)-p+2 and (p-1)*p*(p+1)+p-2 are primes. 0
19, 37, 67, 151, 367, 859, 1471, 2791, 2971, 3061, 4357, 4447, 4507, 6367, 7159, 7237, 7591, 8311, 8647, 11617, 12211, 12601, 13249, 14947, 15271, 15661, 16699, 18097, 19777, 20149, 20347, 20947, 21019, 22741, 23311, 23857, 24019, 25867, 26701 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
lst={}; Do[p=Prime[n]; If[PrimeQ[(p-1)*p*(p+1)-p+2]&&PrimeQ[(p-1)*p*(p+1)+p-2], AppendTo[lst, p]], {n, 8!}]; lst
CROSSREFS
Sequence in context: A124268 A339860 A259648 * A039321 A043144 A043924
KEYWORD
nonn
AUTHOR
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 September 17 17:58 EDT 2024. Contains 375990 sequences. (Running on oeis4.)