# More fun in 2016, Part 15

Logic Level 3

$n+S(n)+S(S(n))=2016$

Find the smallest positive integer $$n$$ that satisfies the equation above, where $$S(n)$$ denotes the digit sum of $$n$$.

Source

×