OFFSET
1,3
COMMENTS
See A384383 for the definition of addition-multiplication-composition chains. The number n is identified with the constant polynomial p(x) = n.
FORMULA
a(n) <= A230697(n).
a(n) <= a(n-1) + 1.
EXAMPLE
The smallest n for which a(n) < A230697(n) is n = 31. The length of a shortest addition-multiplication chain for 31 is A230697(31) = 6, but there are addition-multiplication-composition chains of length 5, for example (1, x,) 2*x, 2*x+1, 4*x+3, 7, 31. (4*x+3 is the composition of 2*x+1 with itself; 7 and 31 are the compositions of 4*x+3 with 1 and 7, respectively.)
CROSSREFS
KEYWORD
nonn
AUTHOR
Pontus von Brömssen, Jun 01 2025
STATUS
approved
