http://www.perlmonks.org?node_id=1040613


in reply to Puzzle Time

Here are the answers for the number representations with bases 2 to 9 using brute force and Math::BaseCalc.

Base 2: 1 Base 3: 2 Base 4: 6 Base 5: 10 Base 6: 10 Base 7: 75 Base 8: 144 Base 9: 487