Give a fast way to multiply a number by 7

Represent 7 in binary format. Now shifting and adding by appropriate times will give the solution

or Multiply it by 8 (shift by 3 bits) and subtract the original number.

One thought on “Give a fast way to multiply a number by 7

  1. Oh my goodness! Impressive article dude! Thank you so much, However I am
    encountering troubles with your RSS. I don’t understand the reason
    why I am unable to join it. Is there anybody else getting the same RSS issues?
    Anybody who knows the solution can you kindly respond?

Leave a Reply

Your email address will not be published. Required fields are marked *