Wanna square up?!

How many 16-digit integers are there such that the sum of the square of their digits is a square?

Examples And Test Cases

  • \(2283\) is a \(4\)-digit integer such that the sum of the square of its digits is a square. \(2^2 + 2^2 + 8^2 + 3^2 = 81 = 9^2 \).

  • There are \(332\) \(4\)-digit integers with the required property.

×

Problem Loading...

Note Loading...

Set Loading...