|
|
A085575
|
|
Squares whose sum of nonsquare digits is a square.
|
|
1
|
|
|
0, 1, 4, 9, 36, 49, 100, 144, 225, 361, 400, 441, 729, 900, 1225, 1369, 1444, 1936, 2025, 2209, 2704, 3600, 3969, 4225, 4900, 5776, 7225, 7396, 7921, 8836, 9409, 10000, 10404, 11449, 11881, 14400, 14884, 17424, 19044, 19881, 21025, 22500, 24025
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
a(10)=361 because 361=19^2 and 3+6=9.
|
|
MAPLE
|
f:= proc(n) local L;
L:= convert(subs(1=NULL, 4=NULL, 9=NULL, convert(n^2, base, 10)), `+`);
if issqr(L) then n^2 fi
end proc:
|
|
MATHEMATICA
|
sndQ[n_]:=Module[{s=Total[Select[IntegerDigits[n], !IntegerQ[Sqrt[#]]&]]}, IntegerQ[ Sqrt[s]]]; Select[Range[0, 200]^2, sndQ] (* Harvey P. Dale, Jun 01 2022 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|