Just for fun!-XVII

Let m m be the least positive integer divisible by 17 whose digits sum to 17. Find m m .


The answer is 476.

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.

1 solution

Omar Agha
Aug 29, 2015

The digit sum of a base 10 integer m is just m . In this problem, we know 17 m, or m=17k for a positive integer k.

Also, we know that m = 17 = -1 or 17k = -k = -1 Obviously k=1 is a solution. This means in general, k=9x+1 is a solution for non-negative integer x.

Checking the first few possible solutions, we find that m=476 is the first solution that has s(m)=17, and we're done. :)

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...