Minimal number of steps to get from 0 to n when there are 3 kinds of step: add 1, multiply by 2, multiply by 3.

A056796

Minimal number of steps to get from 0 to n when there are 3 kinds of step: add 1, multiply by 2, multiply by 3.

Terms

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

External references