Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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!)
A236476 Primes p such that p^3 + p - 1 is prime. 1
3, 7, 43, 73, 103, 109, 127, 139, 151, 199, 223, 241, 283, 313, 367, 379, 421, 541, 631, 661, 733, 739, 751, 769, 829, 991, 1117, 1129, 1201, 1231, 1249, 1297, 1303, 1429, 1471, 1663, 1669, 1693, 1699, 1741, 1789, 1867, 1933 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Primes in the sequence A236475.
LINKS
EXAMPLE
241 is prime and 241^3 + 241 - 1 = 13997761 is prime.
PROG
(Python)
import sympy
from sympy import isprime
{print(n) for n in range(10**4) if isprime(n) and isprime(n**3+n-1)}
(PARI)
s=[]; forprime(p=2, 2000, if(isprime(p^3+p-1), s=concat(s, p))); s \\ Colin Barker, Jan 27 2014
CROSSREFS
Cf. A236475.
Sequence in context: A257366 A141304 A213893 * A282178 A101208 A050633
KEYWORD
nonn
AUTHOR
Derek Orr, Jan 26 2014
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 August 18 15:26 EDT 2024. Contains 375269 sequences. (Running on oeis4.)