a(n) is the smallest number of 1s and 2s that are needed to construct n using any number of +, -, *, ^ signs but not allowing concatenation of digits.

A099053

a(n) is the smallest number of 1s and 2s that are needed to construct n using any number of +, -, *, ^ signs but not allowing concatenation of digits.

Terms

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

External references