login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Numbers k for which there are numbers 0 < m <= k such that k^3 + m^3 is a square.
0

%I #31 Dec 07 2018 19:06:44

%S 2,8,18,21,26,32,37,46,50,65,70,72,84,88,91,98,104,105,112,128,148,

%T 162,184,189,190,200,234,242,249,260,273,280,288,312,330,333,336,338,

%U 345,352,354,364,371,392,407,414,416,420

%N Numbers k for which there are numbers 0 < m <= k such that k^3 + m^3 is a square.

%C The sequence is infinite since if u is in the sequence then so is u*t^2, t, u >= 1. - _Marius A. Burtea_ and _David A. Corneth_, Oct 23 2018

%e 8^3 + 4^3 = 512 + 64 = 576 = 24^2, so 8 is part of the sequence.

%e 18^3 + 9^3 = 5832 + 729 = 6561 = 81^2, so 18 is part of the sequence.

%e 91^3 + 65^3 = 753571 + 274625 = 1028196 = 1014^2, so 91 is part of the sequence.

%e 7^3 + 0^3 = 343 + 0 = 343, 7^3 + 1^3 = 343 + 1 = 344, 7^3 + 2^3 = 343 + 8 = 351,7^3 + 4^3 = 343 + 64 = 407, 7^3 + 5^3 = 343 + 125 = 468, 7^3 + 6^3 = 343 + 216 = 559 and 7^3 + 7^3 = 343 + 343 = 686. Numbers 343, 344, 351, 407, 468, 559 and 686 are not squares, so 7 is not part of the sequence.

%t Select[Range@ 420, AnyTrue[Range[#1]^3 + #2, IntegerQ@ Sqrt@ # &] & @@ {#, #^3} &] (* _Michael De Vlieger_, Nov 05 2018 *)

%o (PARI) is(n) = for(m=1, n, if(issquare(n^3+m^3), return(1))); 0 \\ _Felix Fröhlich_, Oct 22 2018

%Y Cf. A003325, A003997, A004999, A024670, A086119.

%K nonn

%O 1,1

%A _Marius A. Burtea_, Oct 18 2018