If there are integers between and having the digit sum equal to , find the largest prime factor of .
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.
Each integer can be written as x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 , where each x t = 0 , 1 , ⋯ , 8 and x 1 + ⋯ + x 8 = 8 . The number of non-negative integer solutions to the above equation is ( 8 8 + 8 − 1 ) = ( 8 1 5 ) = 6 4 3 5 = 3 2 × 5 × 1 1 × 1 3 . So the largest prime factor of x is 1 3 .