OFFSET
1,1
COMMENTS
a(n) appears to be approximately equal to (33*n-11)/4.
LINKS
EXAMPLE
a(6) = 46 because 46 is the largest digital sum encountered among all 6-digit squares (698896, 779689, 877969).
MATHEMATICA
Array[Max@Map[Total@IntegerDigits[#^2] &, Range[Floor@Sqrt[10^(#)]], Floor@Sqrt[10^(# + 1) - 1]] &, 15]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Zhining Yang, Apr 04 2024
EXTENSIONS
a(22)-a(48) from Zhao Hui Du, Apr 05 2024
a(49)-a(62) from Zhining Yang, May 08 2024
a(63)-a(64) from Zhining Yang, May 23 2024
STATUS
approved