OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
filter:= proc(n) local t, y, r;
for t in sort(convert(numtheory:-divisors(n), list)) do
r:= 12*n*t-3*t^4;
if r < 0 then return false fi;
if not issqr(r) then next fi;
y:= (sqrt(r)-3*t^2)/(6*t);
if y::posint then return true fi
od;
false
end proc:
select(filter, [seq(i, i=7..10000, 10)]); # Robert Israel, Aug 08 2019
MATHEMATICA
With[{nn=60}, Select[Union[#[[2]]-#[[1]]&/@Subsets[Range[nn]^3, {2}]], Mod[#, 10] == 7&&#<nn^3-(nn-1)^3&]] (* Harvey P. Dale, Jan 12 2022 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Name corrected by Robert Israel, Aug 08 2019
STATUS
approved