Those are some nifty numbers

For each positive integer nn, let s(n)s(n) denote the sum of the digits of nn. We call a number nifty if it can be expressed as ns(n)n-s(n) for some positive integer nn.

How many positive integers less than 10 000 are nifty?

×

Problem Loading...

Note Loading...

Set Loading...