Chapter Length

I am reading a 225 225 -page long book which is divided into 3 3 chapters.

The sum of all the digits of the first two page numbers of the second chapter is equal to that of the last two page numbers of the same chapter. Both are equal to 18. 18. How many pages does the second chapter have?

Note: Obviously, the second chapter has more than 2 2 pages.


The answer is 92.

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

Romain Bouchard
Jan 30, 2018

We can first notice that the sum of digits of two consecutive numbers can be even if and only if the first number end with a 9 9 (otherwise both numbers will be written as a n a n 1 . . . a 1 a 0 \overline{a_{n}a_{n-1}...a_{1}a_{0}} and a n a n 1 . . . a 1 ( a 0 + 1 ) \overline{a_{n}a_{n-1}...a_{1}(a_{0}+1)} and the sum will be 2 ( a n + a n 1 + . . . + a 1 + a 0 ) + 1 2(a_{n}+a_{n-1}+...+a_{1}+a_{0})+1 .)

Now, we now that the two first (and last) pages of the second chapter must be a b 9 \overline{ab9} and a ( b + 1 ) 0 \overline{a(b+1)0} such that a + b + 9 + a + b + 1 = 18 a + b = 4 a+b+9+a+b+1 = 18 \Rightarrow a+b = 4 . Since the total number of pages is 225 225 the only solutions are a = 0 , b = 4 a=0, b=4 and a = 1 , b = 3 a=1, b=3 i.e. pages ( 49 , 50 ) (49,50) and ( 139 , 140 ) (139,140) hence the number of pages of the second chapter is 140 49 + 1 = 92 140-49+1 = 92 .

Nice problem and explanation!

Chris Lewis - 1 year, 7 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...