OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
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
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