OFFSET
1,1
LINKS
Donovan Johnson, Table of n, a(n) for n = 1..100
EXAMPLE
36963^2 = 1110^3-111^3 = 1332^3-999^3.
PROG
(PARI) mm=577350; cb=vector(mm); for(i=1, mm, cb[i]=i^3); v=vector(10^6); n=vector(10); c=0; mx=10^12; for(i=1, mm-1, for(j=i+1, mm, s=cb[j]-cb[i]; if(s<=mx, if(issquare(s, &r), v[r]++; if(v[r]==2, c++; n[c]=r)), next(2)))); n=vecsort(n); for(i=1, c, print1(n[i] ", ")) \\ Donovan Johnson, Oct 29 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected and extended by Ray Chandler, Dec 01 2008
Offset corrected by Donovan Johnson, Oct 29 2013
STATUS
approved