login
A358702
a(n) is the least k > 0 such that the sum of the decimal digits of k^2 is n, or 0 if no such k exists.
1
1, 0, 0, 2, 0, 0, 4, 0, 3, 8, 0, 0, 7, 0, 0, 13, 0, 24, 17, 0, 0, 43, 0, 0, 67, 0, 63, 134, 0, 0, 83, 0, 0, 167, 0, 264, 314, 0, 0, 313, 0, 0, 707, 0, 1374, 836, 0, 0, 1667, 0, 0, 2236, 0, 3114, 4472, 0, 0, 6833, 0, 0, 8167, 0, 8937, 16667, 0, 0, 21886, 0, 0, 29614
OFFSET
1,4
CROSSREFS
The nonzero terms are A067179.
Cf. A056991, A231897 (similar for binary weight).
Sequence in context: A022002 A084658 A326404 * A307510 A323885 A137513
KEYWORD
nonn,base
AUTHOR
Hugo Pfoertner, Dec 04 2022
STATUS
approved