MathCastle
Number TheorySuperchallengeDigits and Bases

Digits and Bases · Superchallenge problem

For a positive integer nn let s(n)s(n) be the sum of the digits of nn written in base 33. Compute ∑n=1728s(n)2\displaystyle\sum_{n=1}^{728} s(n)^2.