login
A269839
Integers n such that the sum of the first n cubes (A000537) is the sum of 2 positive cubes.
0
2, 49, 4557, 13689, 18816, 86015, 159249, 226981, 1368912, 2112278
OFFSET
1,1
COMMENTS
In other words, integers n such that (1+2+3+...+n)^2 = x^3 + y^3 where x and y are positive integers, is soluble.
EXAMPLE
49 is a term because A000537(49) = 1^3 + 2^3 + ... + 48^3 + 49^3 = 1500625 = 70^3 + 105^3.
4557 is a term because A000537(4557) = 1^3 + 2^3 + ... + 4556^3 + 4557^3 = 107856595472409 = 11620^3 + 47369^3.
PROG
(PARI) isA003325(n) = for(k=1, sqrtnint(n\2, 3), ispower(n-k^3, 3) && return(1));
for(n=0, 1e7, if(isA003325((n*(n+1)/2)^2), print1(n, ", ")));
CROSSREFS
Sequence in context: A369943 A210922 A257742 * A088067 A145676 A366672
KEYWORD
nonn,more
AUTHOR
Altug Alkan, Mar 06 2016
EXTENSIONS
a(6)-a(10) from Chai Wah Wu, Mar 08 2016
STATUS
approved