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.

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.

Terms

    a(0) =1a(1) =0a(2) =0a(3) =2a(4) =0a(5) =0a(6) =4a(7) =0a(8) =3a(9) =8a(10) =0a(11) =0a(12) =7a(13) =0a(14) =0a(15) =13a(16) =0a(17) =24a(18) =17a(19) =0a(20) =0a(21) =43a(22) =0a(23) =0a(24) =67a(25) =0a(26) =63a(27) =134a(28) =0a(29) =0

External references