The OEIS is supported by the many generous donors to the OEIS Foundation.

 Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”). Other ways to Give
 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A161589 Numbers n such that n^3 - 4 and n^3 + 4 are prime. 1
 3, 45, 63, 117, 507, 537, 717, 783, 807, 867, 993, 1065, 1335, 1527, 2295, 2355, 2817, 2823, 3093, 3117, 3357, 4173, 5067, 5085, 5535, 6087, 6333, 6357, 6393, 6987, 7407, 7713, 7767, 8577, 8877, 9123, 9615, 9945, 10065, 10377, 10575, 10725, 10845, 12795 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS 3^3 - 4 = 23, 3^3 + 4 = 31 LINKS Harvey P. Dale, Table of n, a(n) for n = 1..1000 MATHEMATICA lst={}; Do[a=n^3; If[PrimeQ[a-4]&&PrimeQ[a+4], AppendTo[lst, n]], {n, 8!}]; lst Select[Range[2, 13000], And@@PrimeQ[#^3+{4, -4}]&] (* Harvey P. Dale, May 13 2012 *) CROSSREFS Subsequence of A016945. Sequence in context: A101236 A119182 A178337 * A079038 A101790 A124494 Adjacent sequences: A161586 A161587 A161588 * A161590 A161591 A161592 KEYWORD nonn AUTHOR Vladimir Joseph Stephan Orlovsky, Jun 14 2009 EXTENSIONS Edited by Charles R Greathouse IV, Nov 11 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified December 9 23:05 EST 2022. Contains 358710 sequences. (Running on oeis4.)