AIME 2015 Problem 3

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


Try more problems of AIME from this set AIME 2015


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.

3 solutions

Brandon Monsen
Dec 3, 2015

We know that the answer is less than 1000 1000 due to constraints on the A I M E AIME , and so we can say that 100 a + 10 b + c = 17 k 100a+10b+c=17k for some integers a , b , c , k a,b,c,k . We also know that a + b + c = 17 a+b+c=17 and a , b , c 9 a,b,c \leq 9 .

We can then substitute 17 a b 17-a-b for c c and get 100 a + 10 b + 17 a b = 17 k 100a+10b+17-a-b=17k .

Working in m o d 17 \mod 17 we get that 99 a + 9 b = 17 k 9 b 3 a = 17 k 3 ( 3 b a ) = 17 k 99a+9b=17k\\9b-3a=17k\\3(3b-a)=17k

We now know that k k is a multiple of 3 3 , so let k = 3 p k=3p

3 b a = 17 p 3b-a=17p

For p = 1 p=1 , we get:

a = 1 , b = 6 , c = 10 a = 4 , b = 7 , c = 6 a=1,b=6,c=10\\a=4,b=7,c=6

We can reject the first one since c 9 c \leq 9

If p 2 p \geq 2 , then b 10 b \geq 10 , so 476 \boxed{476} is our smallest possibility

well, didn't know of the constraint!

pulkit gopalani - 5 years, 6 months ago

Wasnt aware of the constraint

Aditya Kumar - 5 years, 1 month ago
Ganesh Ayyappan
Dec 3, 2015

I dunno tat answer shud b less than 1000...

Wat abt using a c++ program for this? (I very well know tat there are many other prog. Language available .. But c++ is my first prog. Language im learning)

Ramiel To-ong
Dec 7, 2015

nice problem

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...