Forming a number of 3 powers of 5

How many positive integers which are 781 \le 781 can be represented as the sum of exactly 3 3 different powers of 5 5 ?

12 10 9 15 14

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Ossama Ismail
Jan 31, 2018

If you consider numbers in base 5.

You can write 78 1 10 = 1111 1 5 = 5 4 + 5 3 + 5 2 + 5 1 + 5 0 = 625 + 125 + 25 + 5 + 1 781_{10} = 11111_5 = 5^4 +5^3+5^2+5^1+5^0 = 625 + 125 + 25 + 5 +1

There are only 5 C 3 = 10 ^5C_3 = 10 ways to express a number as a sum of 3 different powers of 5.

Yash Ghaghada
Jan 31, 2018

5^x + 5^y + 5^z <= 781 (x,y,z distinct)

max is 5^4, now lets check the limit i.e 5^4 + 5^3 + 5^2 <=781

so the powers can vary from 0 to 4

so the answer is 5 choose 3 = 10

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...