OFFSET
1,3
COMMENTS
Bisection A129096 is monotonically increasing.
LINKS
Paul D. Hanna, Table of n, a(n) for n = 1..1024
Cristina Ballantine and George Beck, Partitions enumerated by self-similar sequences, arXiv:2303.11493 [math.CO], 2023.
William J. Keith and Augustine O. Munagi, Binary compositions and semi-Pell compositions, arXiv:1912.11148 [math.CO], 2019.
William J. Keith and Augustine O. Munagi, Power compositions and semi-Pell compositions, Univ. Rochester, Online J. Analytic Comb. (2023) Issue 18, Art No. 2. See p. 2.
EXAMPLE
MATHEMATICA
Nest[Append[#1, If[EvenQ[#2], #1[[#2/2]], 2 #1[[-1]] + #1[[-2]] ] ] & @@ {#, Length@ # + 1} &, {1}, 61] (* Michael De Vlieger, Mar 10 2020 *)
PROG
(PARI) a(n)=if(n==1 || n==0, 1, if(n%2==0, a(n/2), 2*a(n-1)+a(n-2)))
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Paul D. Hanna, Apr 11 2007
STATUS
approved