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

  • Thread starter Thread starter K Sengupta
  • Start date Start date
  • Tags Tags
    Puzzle
AI Thread Summary
An ascending number in the decimal system is defined as a positive integer with at least two digits, where all digits are strictly ascending and there are no leading zeroes. For instance, 1236789 qualifies as an ascending number, while 1222333555666 and 00123456 do not due to repeated digits and leading zeroes, respectively. The discussion connects ascending numbers to a stairway problem, where each unique combination of steps corresponds to an ascending number. The total count of ascending numbers can be calculated using the formula 2^n - n - 1, where n represents the usable digits, which is 9 in this context since the digit 0 is excluded. The proposed solution suggests that the total number of ascending numbers is 502.
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.
 
Physics 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)
 
Just ONCE, I wanted to see a post titled Status Update that was not a blatant, annoying spam post by a new member. So here it is. Today was a good day here in Northern Wisconsin. Fall colors are here, no mosquitos, no deer flies, and mild temperature, so my morning run was unusually nice. Only two meetings today, and both went well. The deer that was road killed just down the road two weeks ago is now fully decomposed, so no more smell. Somebody has a spike buck skull for their...
Thread 'RIP George F. Smoot III (1945-2025)'
https://en.wikipedia.org/wiki/George_Smoot https://physics.berkeley.edu/people/faculty/george-smoot-iii https://apc.u-paris.fr/fr/memory-george-fitzgerald-smoot-iii https://elements.lbl.gov/news/honoring-the-legacy-of-george-smoot/ https://www.nobelprize.org/prizes/physics/2006/smoot/facts/ https://www.aps.org/publications/apsnews/200611/nobel.cfm https://inspirehep.net/authors/988263 Structure in the COBE Differential Microwave Radiometer First-Year Maps (Astrophysical Journal...
Back
Top