All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Monotonous integers (Posted on 2015-12-30) Difficulty: 3 of 5
For how many integers having between 1 and 10 digits (base 10) are all of their digits when read from left to right monotonically increasing? In other words, every digit is less than or equal to all of those to its right. For example, 244467889 is one of them, and 0 is another, but there are more.

  Submitted by Steve Herman    
Rating: 1.0000 (1 votes)
Solution: (Hide)
C(19,10), which simplifies to 19*17*13*11*2 = 92,378. This is the same number arrived at by Charlie and Jer, although my methods were different.

It turns out that this is another problem of items with separators.

Consider 9 items separated by 10 separators. Interpret each separator as a digit, whose value equals the number of items (not counting separators) to its left.

Then
|oo|oo|||oo|o|o||o| = 0244467889
||||||||oooooooo||o = 0000000088

Every monotonous integer less than 10^10 corresponds to one arrangement of 9 items separated by 10 separators, and every arrangement of 9 items separated by 10 separators corresponds to a distinct monotonous integer less than 10^10.

So, the total number of monotonous integers between 0 and 10^m = C(9+m,m).
The right hand side of Charlie's table shows this series: 10, 55, 715, etc.

/***********************/

In case anybody is interested, this is an original problem. I have an RSA security token that generates a new 8 digit integer every minute, and last week it generated an integer whose digits increased monotonically. Which set me to wondering. I made up the term "monotonous" to describe this integer; it is not to the best of my knowledge accepted mathematical terminology.

Comments: ( You must be logged in to post comments.)
  Subject Author Date
Some ThoughtsMy mappingAdy TZIDON2016-01-06 08:30:56
re(2): found the mappingAdy TZIDON2015-12-31 17:12:41
re: found the mappingSteve Herman2015-12-31 11:47:16
re: found the mappingSteve Herman2015-12-31 11:47:16
found the mappingAdy TZIDON2015-12-31 02:56:33
Solutionre: solution, starting out with analyticAdy TZIDON2015-12-30 15:40:34
Solutionsolution, starting out with analyticCharlie2015-12-30 13:51:37
different answerJer2015-12-30 12:57:55
SolutionanswerDej Mar2015-12-30 12:43:40
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (23)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information