Minimal number of shift, add and subtract operations to multiply by n.
A008342
Minimal number of shift, add and subtract operations to multiply by n.
Terms
- a(0) =0a(1) =1a(2) =2a(3) =1a(4) =2a(5) =3a(6) =2a(7) =1a(8) =2a(9) =3a(10) =4a(11) =3a(12) =4a(13) =3a(14) =2a(15) =1a(16) =2a(17) =3a(18) =4a(19) =3a(20) =4a(21) =4a(22) =4a(23) =3a(24) =4a(25) =4a(26) =4a(27) =3a(28) =4a(29) =3
External references
- oeis: A008342