Ani tore out some pages from a book. The number of the first page he tore out was 183 and it is known that the number of the last page he tore out is written with the same digits in some order. How many pages did he tear out?
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.
The last page torn out should be even as the alternate pages of a book are odd and even with the odd numbered pages being on the right side. So the last page Ani tore out would have an even number with the digits 1,3 and 8 and should also be greater than 183. The only number satisfying this is 318. So Ani tore out some pages starting from 183 and ending in 318. So he tore out 3 1 8 − 1 8 3 + 1 = 1 3 6 p a g e s .