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

Home > Numbers
Take non decreasing, get non negative (Posted on 2007-05-29) Difficulty: 3 of 5
Determine the total number of non-negative integers containing not more than 41 decimal digits but having non-decreasing digits.

For example, 33455 is a valid instance of such integers while 98 is not.

See The Solution Submitted by K Sengupta    
Rating: 4.3333 (3 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution | Comment 1 of 5

2,505,433,700

10 1-digit numbers (0,1,2,3,4,5,6,7,8,9).

45 2-digit numbers (11,12,...,19,22,23,...,29,...,88,89,99).  Of those, 9 are in the 10s, 8 are in the 20s, 7 are in the 30s,...,2 are in the 80s, and 1 is in the 90s.

165 3-digit numbers.  There are 45 (or 9+8+7+6+5+4+3+2+1) starting with 1, 36 (or 8+7+6+5+4+3+2+1) starting with 2, 28 (or 7+6+5+4+3+2+1) starting with 3,...,3 (or 2+1) starting with 8, and only 1 starting with 9.

...

450,978,066 41-digit numbers.

Edited on May 29, 2007, 4:39 pm
  Posted by Guest on 2007-05-29 16:31:48

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 (3)
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