Number of additions, subtractions, or multiplications necessary to reach n starting from 1 and 2.

A140361

Number of additions, subtractions, or multiplications necessary to reach n starting from 1 and 2.

Terms

    a(0) =0a(1) =0a(2) =0a(3) =1a(4) =1a(5) =2a(6) =2a(7) =3a(8) =2a(9) =2a(10) =3a(11) =3a(12) =3a(13) =4a(14) =3a(15) =3a(16) =2a(17) =3a(18) =3a(19) =4a(20) =3a(21) =4a(22) =4a(23) =4a(24) =3a(25) =3a(26) =4a(27) =3a(28) =4a(29) =4

External references