Tuesday, 1 May 2018

On Mountain Numbers

Cairn Toul, a beautifully wild and remote mountain in the Cairngorms massif of the eastern Scottish highlands, is notable not only for being the fourth highest mountain in the UK, but also for being the only mountain in the UK whose elevation in metres — 1291m above sea level — is also a 'mountain'.  Großglockner, by way of a further example, the highest mountain in Austria, is a mountain whose elevation in feet — 12461ft above sea level — is also a 'mountain'.

To elaborate: A number is a 'mountain' if its decimal digits start with 1, i.e. 'base camp', ascend continuously to a unique summit, i.e. to one largest digit, then descend continuously back to 1, i.e. back to base camp.  Such mountain numbers are recorded as sequence A134941 (itself a mountain) in the On-line Encyclopedia of Integer Sequences (OEIS), from which you can also find this table of all possible 21,846 mountains (including 1 itself).

Mountain primes, as the name suggests, are prime mountain numbers, prime numbers in other words whose decimal digits start with 1, ascend continuously to the summit of a single largest digit, then descend continuously back to 1.  (The area chart image above shows a mountain range of the first 17 such numbers.)  Mountain primes are recorded in the OEIS as sequence A134951 (yes, also a mountain prime), from which you can find this table of all 2620 such primes.

When climbing a mountain, it is typical to descend back to base camp, i.e. back to where you started your ascent, but it is not always the case.  Mountain numbers that ascend from one location (as an elevation) but descend to another — e.g. 3,598,432 — are considered to be generalised mountain numbers, recorded as sequence A134853 in the OEIS (there are 173,247 such mountains).

• Explain why there must be a finite number of mountain numbers.
• Construct a mountain range diagram for mountains of your choice.
• What is the Everest of mountain numbers?
• How will you define 'Everest'; how will you define 'elevation'?  (In the image above, the 'height' of mountain 1291, for example, is greater than the 'height' of mountain 1571.)
• Explore the distribution of mountain number digits, i.e. how many mountains have 1 digit, 2 digits, 3 digits, etc. (OEIS sequence A135417).
• If we regard the number of digits in a mountain number as the horizontal distance travelled when climbing such a mountain:
• What mountain(s) has (have) the shallowest ascent?
• What mountain has the steepest ascent and descent?