In details

What are nice numbers?


An integer no is nice when there are positive integers a, b and c such that:

The<>2 + b2 - ç2.

For example:

  • 1 is a nice number because 1 = 42 + 72 - 82.
  • 3 is a nice number because 3 = 42 + 62 - 72.