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.
1, 1, 2, 2, 3, 3, 4, 3, 3, 4, 4, 4, 5, 4, 4, 3, 4, 4, 5, 5, 6, 5, 5, 5, 4, 5, 4, 5, 5, 5, 5, 4, 5, 5, 5, 4, 5, 5, 6, 6, 7, 6, 7, 6, 6, 6, 6, 5, 5, 5, 6, 6, 6, 5, 6, 6, 7, 6, 7, 6, 6, 5, 5, 4, 5, 5, 6, 6, 7, 6, 6, 5, 6, 6, 6, 6, 6, 6, 5, 5, 4, 5, 5, 6, 6, 7, 7
Offset: 1
Keywords
Examples
1 = 1, so has complexity 1. 2 = 2, so has complexity 1. 3 = 1+2, so has complexity 2. 4 = 2+2 = 2*2 = 2^2, so has complexity 2. 5 = 2+1+2, so has complexity 3. ... 16 = 2^2^2, so has complexity 3.
Links
- David Consiglio, Jr., Table of n, a(n) for n = 1..90
- David Consiglio, Jr., Calculations and upper bounds for values through a(200)
- Index to sequences related to the complexity of n
Crossrefs
Positions of records are given in A060274.
Extensions
a(35) onwards from David Consiglio, Jr., Oct 19 2023
Comments