OFFSET
2,1
COMMENTS
The case p=3 of Fermat's Last Theorem says there is no positive integer solution to n^3 - x^3 - y^3 = 0.
LINKS
Robert Israel, Table of n, a(n) for n = 2..10000
EXAMPLE
a(7) = 2 because 7^3 - 5^3 - 6^3 = 2 and there is no solution to 0 <= 7^3 - x^3 - y^3 <= 1
MAPLE
N:= 1000: # to get up to a(N)
C:= convert({seq(seq(x^3 + y^3, x = 1 .. y), y = 1 .. N)}, list):
for i from 2 to N do
a[i]:= i^3 - C[ListTools:-BinaryPlace(C, i^3)]
od:
seq(a[i], i=2..N); # Robert Israel, May 26 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Israel, May 26 2014
STATUS
approved