News for hackers. Stuff that matters.
Re:Math Problems for children from 5 to 15 (2004) [pdf] by thaumasiotes on Monday July 19, 2021 @02:30PM (#27885810)
> I suppose the question doesn’t mention that volume 1 is on the left and volume 2 is on the right but I guess that would be assumed by any speakers of left to right languages.

The answer is supposed to be 4mm; the only way for that to work if volume 1 is on the left is for the bookworm to gnaw its way out of the book from v.1.p.1, cross the outside of the two books without gnawing anything until it reaches the back cover of volume 2, and then gnaw its way through that cover to reach the final page of volume 2.

I don't think that's what the question has in mind. The point of being a bookworm is that you don't leave the book. So the answer would appear to require that volume 2 is shelved in front of volume 1. I don't know why that would be the case.

Re:Math Problems for children from 5 to 15 (2004) [pdf] by Jtsummers on Monday July 19, 2021 @02:38PM (#27885892)
Diagram for the desired solution, on the shelf:

  V1 V2
In that order you can see that the pages in each book are in this order:

  |    V1    |    V2    |
  +----------+----------+
  |9876543210|9876543210|
(0-indexing of the pages for fun, plus it fit better, also reminded me of annoying protocol specs that mix 0- and 1-based indices with different elements)

The first page of V1 is the rightmost page (shelved) of Volume 1, and the last page of V2 is the leftmost page (shelved) of Volume 2. So the bookworm ends up going only through the covers. Having volumes shelved in order from left-to-right is conventional in left-to-right languages since that's the same direction we read, and you'd want to "read" through the titles to find the volume you wanted.

Re:Math Problems for children from 5 to 15 (2004) [pdf] by SamBam on Monday July 19, 2021 @02:35PM (#27885858)
This is incorrect. You seem to be making the same error as the author says the editors made in the footnote at the bottom.

If volume 1 is on the left, and the worm goes from page 1 of volume 1 to the last page of volume 2, it travels 4mm in a straight line.

Page 1 of volume 1 and the last page of volume 2 will be right next to each other, if volume 1 is on the left.

Re:Math Problems for children from 5 to 15 (2004) [pdf] by meristem on Monday July 19, 2021 @02:49PM (#27886014)
Wow, this relies on both books being in the same orientation, with front cover to the right. It assumes a lot. For perspective, I for years kept books shelved upside down because that orientation was easier for me when reading spines.
Re:Math Problems for children from 5 to 15 (2004) [pdf] by SamBam on Monday July 19, 2021 @03:03PM (#27886156)
I guess it relies on the books being ordered and arranged the same way they'd be in every single bookstore and library in the world (in left-to-right ordering countries).

But it's true, maybe this is too much to assume. Most of the time when I've seen this puzzle it's shown the book spines in an image to make it clear, and many people still can't get it. Then again, that would rely on knowing whether it was using top-to-bottom or bottom-to-top book title orientation, so perhaps the only solution is for the author to spell out "the first page of volume 1 is next to the last page of volume 2."

Re:Math Problems for children from 5 to 15 (2004) [pdf] by 3np on Tuesday July 20, 2021 @12:16AM (#27890011)
> in every single bookstore and library in the world

Not so fast. Some cultures (Japan for one, I think China and Taiwan as well?) have page-ordering right-to-left but books are generally stacked left-to-right from what I've seen (and in ether case bookstores don't order volumes differently depending on if it's native right-to-left books or foreign right-to-left ones).

Re:Math Problems for children from 5 to 15 (2004) [pdf] by anyfoo on Monday July 19, 2021 @03:50PM (#27886603)
German books have the orientation of the writing on the spine flipped. I don't like storing books upside down, so it makes a mess in my mixed English and German bookshelf.
Re:Math Problems for children from 5 to 15 (2004) [pdf] by scotty79 on Monday July 19, 2021 @06:15PM (#27887915)
There's a language-wide order in Germany of direction the of writing on the spines of a books?

I just checked my bookshelf and my books go both ways.

Re:Math Problems for children from 5 to 15 (2004) [pdf] by anyfoo on Monday July 19, 2021 @06:24PM (#27887984)
Ah. I just checked, and while all the English ones seem to have a consistent orientation, the German ones indeed don't. Never noticed, huh...