Number Theory Level 3

$N_0 = 563 \implies N_1 = 5+6+3 =14 \implies N_2 = 1 + 4 = 5$

As shown in the example above, how many integers are there between 1 and 1000 such that repeated sum of their digits will eventually lead to 5?

×