OFFSET
1,6
COMMENTS
Complexity of n: number of 1's required to build n using + and *. The complexity of a number has been defined in several different ways by different authors. See the Index to the OEIS for other definitions.
LINKS
Janis Iraids, Table of n, a(n) for n = 1..89
Eric Weisstein's World of Mathematics, Integer Complexity
EXAMPLE
1 1 - 1 = 0.
2 2 - 2 = 0.
3 3 - 3 = 0.
4 4 - 4 = 0.
5 6 - 5 = 1.
6 9 - 7 = 2.
7 12 - 10 = 2.
8 18 - 11 = 7.
9 27 - 17 = 10.
10 36 - 22 = 14.
11 54 - 23 = 31.
12 81 - 41 = 40.
13 108 - 47 = 61.
14 162 - 59 = 103.
15 243 - 89 = 154.
16 324 - 107 = 217.
17 486 - 167 = 319.
18 729 - 179 = 550.
19 972 - 263 = 709.
20 1458 - 347 = 1111. etc.
CROSSREFS
KEYWORD
nonn
AUTHOR
Jonathan Vos Post, Oct 28 2007
EXTENSIONS
Corrected and extended by Janis Iraids, Apr 20 2011
STATUS
approved