The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A154710 Cubes such that cube-+3 are primes. 4

%I #6 Nov 23 2022 17:05:42

%S 8,64,4096,17576,405224,1191016,1906624,6229504,6859000,11239424,

%T 21952000,68921000,103823000,122023936,254840104,267089984,445943744,

%U 449455096,681472000,719323136,1427628376,1710777536,2887553024

%N Cubes such that cube-+3 are primes.

%H Harvey P. Dale, <a href="/A154710/b154710.txt">Table of n, a(n) for n = 1..1000</a>

%t lst={};Do[p=n^3;If[PrimeQ[p-3]&&PrimeQ[p+3],AppendTo[lst,p]],{n,2,8!,2}];lst

%t Select[Range[1500]^3,AllTrue[#+{3,-3},PrimeQ]&] (* _Harvey P. Dale_, Nov 23 2022 *)

%Y Cf. A144938, A154709

%K nonn

%O 1,1

%A _Vladimir Joseph Stephan Orlovsky_, Jan 14 2009

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 June 11 10:58 EDT 2024. Contains 373311 sequences. (Running on oeis4.)