login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A371728
a(n) is the largest number that is the digit sum of an n-digit square number.
1
9, 13, 19, 31, 40, 46, 54, 63, 70, 81, 88, 97, 106, 112, 121, 130, 136, 148, 154, 162, 171, 180, 187, 193, 205, 211, 220, 229, 235, 244, 253, 262, 271, 277, 286, 297, 301, 310, 319, 331, 334, 343, 355, 360, 367, 378, 388, 396, 400, 406, 418, 423, 424, 436, 451, 454, 457, 469, 487, 487, 487, 513, 517, 517
OFFSET
1,1
COMMENTS
a(n) appears to be approximately equal to (33*n-11)/4.
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

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy