Let me trace :
Binary of 13: . Process bits right to left.
(odd), , ,
(even), , ,
(odd), , ,
(odd),
Final answer: . You computed in just 4 steps instead of 13 multiplications.
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
Tracing the algorithm
Let me trace :
Binary of 13: . Process bits right to left.
(odd), , ,
(even), , ,
(odd), , ,
(odd),
Final answer: . You computed in just 4 steps instead of 13 multiplications.