For any natural number n ,let's define a sequence < R i > such that R 1 0 0 is the remainder obtained when n is divided by 100. R 9 9 is the remainder when R 1 0 0 is divided by 99. R 9 8 is remainder when R 9 9 is divided by 98 and so on.
Find the least value of n for which,
H = 1 < i < = 1 0 0 ∑ R i + 1 < i < j < = 1 0 0 ∑ R i R j + ( 1 < i < j < k < = 1 0 0 ∑ ( R i R j R k ) ) + . . . + R 2 R 3 R 4 . . . . . R 1 0 0 attains its maximum possible value
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.
Problem Loading...
Note Loading...
Set Loading...
Suppose that R 1 0 0 = m , where 0 ≤ m ≤ 9 9 . It is a simple induction (working down from 1 0 0 ) to show that R j = { m 0 j ≥ m + 1 j ≤ m (so long as we are dividing by a number greater than m , m yields remainder m . Dividing m by m gives remainder 0 , and dividing 0 by anything gives remainder 0 ). Thus H + 1 = j = 2 ∏ 1 0 0 ( 1 + R j ) = ( m + 1 ) 1 0 0 − m which is maximized when m = 2 3 . The smallest positive integer value of n for which R 1 0 0 = 2 3 is, of course, 2 3 itself.
To see why m = 2 3 gives the maximum, the function f ( x ) = ln ( x 1 0 1 − x ) = ( 1 0 1 − x ) ln x x > 0 has derivative f ′ ( x ) = x 1 0 1 − 1 − ln x which is a strictly decreasing function, with f ′ ( 2 4 ) > 0 > f ′ ( 2 5 ) . Thus f ( x ) has a single maximum at a point α , where 2 4 < α < 2 5 , and since f ( 2 4 ) > f ( 2 5 ) we see that f is maximised over the integers at x = 2 4 . This gives the answer of m = 2 3