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!)
A155932 Integers a(n) such that cube(n)-square(x) and cube(n)+square(x) are primes. 0
3, 6, 7, 8, 10, 13, 15, 18, 20, 21, 22, 28, 33, 35, 37, 39, 42, 43, 45, 48, 52, 57, 58, 60, 62, 63, 68, 72, 73, 75, 77, 78, 80, 82, 83, 85, 86, 87, 90, 91, 92, 93, 95, 97, 99, 102, 103, 105, 106, 107, 108, 111, 112, 113, 115, 117, 120, 123, 125, 128, 129, 132, 133, 135 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
3^3-2^2=23;3^3+2^2=31, 6^3-5^2=191;6^3+5^2=241, 7^3-6^2=307;7^3+6^2=379, ...
LINKS
MATHEMATICA
lst={}; Do[k=n; c=n^3; Label[ax]; s=k^2; p1=c-s; p2=c+s; If[PrimeQ[p1]&&PrimeQ[p2], AppendTo[lst, n], k--; If[k>0, Goto[ax]]], {n, 2*5!}]; lst
CROSSREFS
Sequence in context: A295566 A266986 A047283 * A298980 A206586 A347878
KEYWORD
nonn
AUTHOR
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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)