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

Home > Numbers
Based on threes! (Posted on 2019-04-09) Difficulty: 3 of 5
How many positive integers less than or equal to 100 cannot be written as the sum of distinct powers of 3?

No Solution Yet Submitted by Danish Ahmed Khan    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Counting solution. | Comment 1 of 5
Easier to find those that can be written as distinct powers of 3.
From {1,3,9,27} choose all subsets except the empty set for 15 numbers.
Including 81 we choose all subsets of {1,3,9} for 8 more.

So 23 numbers can be written and 100-23=77 cannot.

  Posted by Jer on 2019-04-09 16:00:16
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 (0)
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