In one of the novels of Douglas Adams a supercomputer was asked to provide the Answer to the Ultimate Question of Life, the Universe, and Everything. The answer turned out to be 42. At first it seems to make no sense until you realize that the ultimate question was: “What do you get if you multiply six by nine?”.
So here is a task for you: modify dec2bin function from Section 19 and name it, e.g. dec2baseN. Use the latter to test numerical systems of the base 2 (binary) to 16 (hexadecimal) and see which numbers multiplied by each other give 42. Check if both the question and the answer make sense in any of the different positional number systems.