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

Home > Just Math
Ascending Hexadecimal Digits (Posted on 2016-09-15) Difficulty: 3 of 5
Determine the total number of values of a hexadecimal positive integer N such that:
N does not contain any leading zero, and:
N has at least two digits, and:
The digits of N are strictly ascending from left to right.

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution solution Comment 1 of 1
Since the numbers are strictly ascending, precluding duplicates and assuring exactly one representation for any set of digits present, we need only concern ourselves with combinations rather than permutations.

Again since they are ascending, the prohibition on leading zeros is a prohibition on zeros altogether.

Any of the 15 other digits, 1 through F, can either appear or not appear in the integer N, so initially we come up with 2^15. But this includes a no-digit "number" as well as 15 1-digit numbers, so the final answer is 2^15 - 16 = 32,752.

  Posted by Charlie on 2016-09-15 10:08:44
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (16)
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