Is 502 the Total Count of Ascending Numbers in Decimal System?

  • Context: Undergrad 
  • Thread starter Thread starter K Sengupta
  • Start date Start date
  • Tags Tags
    Puzzle
Click For Summary

Discussion Overview

The discussion revolves around the concept of ascending numbers in the decimal system, specifically focusing on determining the total count of such numbers. The scope includes theoretical exploration and mathematical reasoning related to the properties and counting of ascending numbers.

Discussion Character

  • Exploratory
  • Mathematical reasoning

Main Points Raised

  • One participant defines ascending numbers as positive decimal integers with at least 2 digits, where all digits are strictly ascending and contain no leading zeroes.
  • Another participant proposes a conceptual analogy involving a stairway with 10 steps, suggesting that the number of ways to climb the stairs corresponds to the number of ascending numbers.
  • A third participant questions whether the total count of ascending numbers is 502 and presents a formula, 2^n - n - 1, for calculating this, where n is the number of usable digits (9 in this case, excluding 0).

Areas of Agreement / Disagreement

Participants have not reached a consensus on the total count of ascending numbers, and multiple viewpoints regarding the counting method and results are present.

Contextual Notes

The discussion includes assumptions about the definition of usable digits and the implications of the formula presented, but these aspects remain unresolved.

K Sengupta
Messages
113
Reaction score
0
A positive decimal (base 10) integer G is called an ascending number if the number of digits in G is at least 2, all the digits of G are strictly ascending, and G does not contain any leading zeroes.

For example, the number 1236789 is an ascending number. However, the number 1222333555666 is not an ascending number, since the digits corresponding to the said number are not strictly ascending. Similarly, 00123456 is not an ascending number, since it contains leading zeroes.

Determine the total number of ascending numbers in the decimal (base 10) system.
 
Mathematics news on Phys.org
Consider a stairway with 10 steps. Assume you can skip as many steps as you want. One choice of step combination to climb this step can be labeled by a unique ascending number. Reciprocally, any ascending number can be uniquely associated to such a choice.

I thought the stairway riddle has already been posted. Otherwise, you can solve it with an arbitrary number of steps. The answer equals the number of ascending numbers in the corresponding base :smile:
 
Let N be the number of ascending numbers using the digits 1 through 8. Tack a 9 onto the end of each one of them. They are also ascending numbers and are all of them except for 19, 29, ..., 89. So the answer is 2N + 8.
Let M be the number of ascending numbers using the digits 1 through 7. Tack an 8 onto the end of each one of them.
Etc.
 
Is it 502?

The formula for this would be:

2^n - n - 1

where n = the number of USABLE digits, which in this case is 9 (since the digit 0 is useless in this situation)
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
5K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 32 ·
2
Replies
32
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 30 ·
2
Replies
30
Views
14K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K