Multiply by 7 with shifts

You can multiply an integer by 7 using (n << 3) - n. What does this give for n = 5?

Show hints (2)+
  1. `n << 3` is $8n$.
  2. $8n - n = 7n$.

Answer

Reveal answer →

35

Want the full step-by-step worked solution? It's part of Premium — along with a worked solution for every question in the bank.

Asked at: Optiver, IMC

Related questions