I did it much easier. know your powers of 2's at least to 2^10 2^3 = 8, 2^6 =64, 2^9=512 2^10 = 1024 2^12 = 2^10 x 2^2 = 1024 x 4 = 4096 2^15 = 2^10 x 2^5 = 1024 x 32 = 32768 32768 +4096+512+64+8 = 37448
On met 2^3 en évidence, on a 8*(2^12+2^9+2^6+2^3+1) ensuite on recommence 8*(8*(2^9+2^6+2^3+1)+1) etc. Tous ceux qui ont appris à programmer sur les calculettes HP auront trouvé rapidement.
Arrange it in increasing figures
Then take comman 2^3 in each sequence
Well done...I plan to save and study this one.
What is the advantage of doing the calculation this very long way instead of just calculating powers of 8 (2^3) and adding them?
I did it much easier.
know your powers of 2's at least to 2^10
2^3 = 8, 2^6 =64, 2^9=512
2^10 = 1024
2^12 = 2^10 x 2^2 = 1024 x 4 = 4096
2^15 = 2^10 x 2^5 = 1024 x 32 = 32768
32768 +4096+512+64+8 = 37448
I did it in my head.
2^15+2^12+2^9+2^6+2^3=37448
On met 2^3 en évidence, on a 8*(2^12+2^9+2^6+2^3+1) ensuite on recommence 8*(8*(2^9+2^6+2^3+1)+1) etc. Tous ceux qui ont appris à programmer sur les calculettes HP auront trouvé rapidement.
Learn and use the sum of a geometric series formula: en.wikipedia.org/wiki/Geometric_series#Sum