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!)
A066878 Primes of the form p^3 - 2 where p is prime. 2
6857, 29789, 50651, 300761, 1295027, 3442949, 9393929, 13997519, 21253931, 49430861, 84604517, 95443991, 237176657, 329939369, 384240581, 487443401, 633839777, 904231061, 1284365501, 1605723209, 3183010109, 3301293167 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
6857 = 19^3 - 2.
MATHEMATICA
Select[Range[1, 10^6], PrimeQ[ # ] && PrimeQ[(# + 2)^(1/3)] &]
PROG
(PARI) a(n)=for(X=0, 100, if(isprime(prime(X)^3-2), print(prime(X)^3-2)))
(PARI) { n=0; for (m=1, 10^10, if(isprime(p=(prime(m)^3 - 2)), write("b066878.txt", n++, " ", p); if (n==1000, return)) ) } \\ Harry J. Smith, Apr 03 2010
CROSSREFS
Sequence in context: A235899 A212076 A252565 * A176350 A114772 A354562
KEYWORD
easy,nonn
AUTHOR
Joseph L. Pe, Jan 21 2002
EXTENSIONS
More terms from Hauke Worpel (hew(AT)email.com), May 23 2003
Terms a(11) - a(22) from Harry J. Smith, Apr 03 2010
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 March 19 01:57 EDT 2024. Contains 370952 sequences. (Running on oeis4.)