k-phobic Numbers

A five-digit positive integer is called k k -phobic if no matter how one chooses to alter at most four of the digits, the resulting number (after disregarding any leading zeroes) will not be a multiple of k k . Find the smallest positive integer value of k k such that there exists a k k -phobic number.


The answer is 11112.

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

Hana Wehbi
Jun 12, 2017

When k 10000 k\le 10000 , each of the intervals [ 10000 , 19999 ] [10000,19999] , [ 20000 , 29999 ] , . . . [ 90000 , 99999 ] [20000, 29999],...[90000,99999] contains a multiple of 9 9 . Keep in mind that each interval contains 10000 10000 consecutive integers.

If we consider 10000 < k 11111 10000<k\le 11111 , there exists a multiple of k k with any leading digit, because these intervals contain k , 2 k , . . . , 9 k k,2k,...,9k . Therefore, there exists a k k -phobic number, since we can keep the leading digit and change everything to a multiple of k k

When k = 11112 k=11112 , the only multiples we can think of in the range are:

00000 , 11112 , 22224 , 44448 , 33336 , 55560 , 77784 , 88896 , 99959 00000, 11112, 22224,44448,33336,55560,77784,88896, 99959 .

Thus, 11112 11112 is the smallest number that is required.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...