The members of a tribe have ten fingers on their hands and nine on their feet, and therefore they count indifferently in base 10 or 19. In their mathematical culture, a positive integer is called "sacred" if in both bases it is written with the same two digits (between 1 and 9). How many sacred numbers are there?
, 2006
Solution
Solution:
The answer is 4. Let be a sacred number and let be the writing of the number in base 10. Then in base 19, by sacredness, it is written either as or as . The first case generates no solutions since and are different from 0, and therefore in base 19 is greater than in base 10 for every . One must then have (writing in base 10) , that is , from which . Since , the allowed values for are then , which give rise to the numbers , which are all indeed sacred. There are therefore 4 sacred numbers.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.