Find the number

I choose a number 'x' from [45, 454]. Divide it by 7, I got reminder 3.

If x is prime and sum of its digits is less than 12, what is the smallest value of x?


The answer is 73.

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

Chew-Seong Cheong
Sep 11, 2014

For x 3 m o d 7 x \equiv 3 \mod {7} , then x = 7 n + 3 x = 7n + 3 , where n n is an integer and 6 n 64 6 \le n \le 64 for 45 x 454 45 \le x \le 454 .

Now, for x x to be a prime, n n cannot not be a multiple of 3 3 , else x x is divisible by 3. n n cannot be odd, else n n is even and divisible by 2 2 . Therefore n n must be even.

Starting with 6 6 which is not acceptable as it is a multiple of 3 3 , the next possible n n is 8 8 and 7 × 8 + 3 = 59 7\times 8 +3 = 59 which is a prime, but the sum of its digits is 5 + 9 = 14 > 12 5+9 = 14 > 12 which is unacceptable. The next possible n n is 10 10 and 7 × 10 + 3 = 73 7 \times 10 +3 =73 also a prime and the sum of digits 7 + 3 = 10 < 12 7+3 = 10 < 12 . Therefore the answer is 73 \boxed{73}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...