Let denote the sum of digits in decimal representation of . Find the smallest positive integer value of such that does not divide .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Computing factorial is expensive. Therefore, better to compute it as you go.