A Riddle 2 You

The number of 2's in the decimal representation of a positive integer is 1 2 \frac{1}{2} the number of 2's in the decimal representation of twice that integer. What is the smallest possible value of this integer, given that it contains at least one 2 in its decimal representation?


The answer is 112.

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

Zach Abueg
Jul 25, 2017

Let us call the integer of interest N N .

N N 's digits cannot all be 2 2 , because 2 N 2N would consist of all 4 4 s. Therefore, at least one of N N 's digits must be an integer other than 2 2 .

The only one-digit integer that could possibly be N N is 2 2 , but doubling that would give 4 4 , so N 2 N \neq 2 .

If N N were a two-digit integer, 2 2 would either be in the tens place or the ones place ( N 22 ) \left(N \neq 22\right) . In either case, 2 N 2N will not have two 2 2 s, as required. Thus, N N cannot be a two-digit integer.

Now let's check the three-digit integers, starting with 2 2 in the ones place in an effort to minimize N N . We quickly see that N = 112 \boxed{N = 112} is the minimum N N that satisfies our conditions: 2 N = 224 2N = 224 , which has twice as many 2 2 s as N N .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...