OFFSET
1,1
REFERENCES
Jean-Marie de Konninck, Those Fascinating Numbers, Amer. Math. Soc., 2009.
Alonso Del Arte, Posting to the Sequence Fans Mailing List, Mar 10 2011.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..100
FORMULA
EXAMPLE
841 = 216+625 ; 968 = 343+625 ; 2312=125+2187;
MAPLE
isA210470 := proc(n)
if isA001694(n) then
for i from 2 do
p3 := A036966(i) ;
if p3+2 > n then
return false;
end if;
p3comp := n-p3 ;
if isA036966(p3comp) and igcd(p3, p3comp) = 1 then
# print(n, p3, p3comp) ;
return true;
end if;
end do:
return false;
else
return false;
end if;
end proc:
for n from 1 do
if isA210470(n) then
printf("%d, ", n) ;
end if;
end do: # R. J. Mathar, May 01 2013
MATHEMATICA
With[{max = 10^7}, powQ[n_, e_] := Min[FactorInteger[n][[;; , 2]]] > e; pows = Union[Flatten[Table[i^2*j^3, {j, max^(1/3)}, {i, Sqrt[max/j^3]}]]]; Select[Union[Plus @@@ Select[Tuples[Select[pows, powQ[#, 2] &], {2}], CoprimeQ @@ # &]], # < max && powQ[#, 1] &]] (* Amiram Eldar, Jan 30 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 22 2013
EXTENSIONS
More terms from Amiram Eldar, Jan 30 2023
STATUS
approved