login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A154938 Numbers k such that k^6 - 2 and k^6 + 2 are both primes. 1
195, 213, 231, 657, 1563, 1749, 2967, 3597, 3627, 4263, 4887, 6867, 6993, 7257, 7725, 9045, 9201, 9717, 11595, 12579, 13029, 14145, 14259, 14367, 15837, 16131, 16581, 17259, 19905, 19917, 21081, 21711, 23127, 24435, 24921, 28299, 28707 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Amiram Eldar, Table of n, a(n) for n = 1..10000

MATHEMATICA

lst={}; Do[p1=n^6-2; p2=n^6+2; If[PrimeQ[p1]&&PrimeQ[p2], AppendTo[lst, n]], {n, 0, 9!}]; lst

PROG

(MAGMA) [n: n in [1..500] | IsPrime(n^6-2) and IsPrime(n^6+2)] // Vincenzo Librandi, Nov 26 2010

CROSSREFS

Intersection of A154933 and A216978.

Cf. A028870, A038599, A154831, A154832, A154833, A154834, A154934, A154935, A154936, A071351.

Sequence in context: A045073 A204811 A234814 * A234100 A336333 A080394

Adjacent sequences:  A154935 A154936 A154937 * A154939 A154940 A154941

KEYWORD

nonn

AUTHOR

Vladimir Joseph Stephan Orlovsky, Jan 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 28 12:15 EST 2020. Contains 338720 sequences. (Running on oeis4.)