login
A154710
Cubes such that cube-+3 are primes.
4
8, 64, 4096, 17576, 405224, 1191016, 1906624, 6229504, 6859000, 11239424, 21952000, 68921000, 103823000, 122023936, 254840104, 267089984, 445943744, 449455096, 681472000, 719323136, 1427628376, 1710777536, 2887553024
OFFSET
1,1
LINKS
MATHEMATICA
lst={}; Do[p=n^3; If[PrimeQ[p-3]&&PrimeQ[p+3], AppendTo[lst, p]], {n, 2, 8!, 2}]; lst
Select[Range[1500]^3, AllTrue[#+{3, -3}, PrimeQ]&] (* Harvey P. Dale, Nov 23 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved