A119350 First differences of A118374.
1, 1, 4, 1, 1, 1, 1, 6, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 10, 1, 1, 4, 1, 1, 1, 1, 6, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 18, 1, 1, 4, 1, 1, 1, 1, 6, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 10, 1, 1, 4, 1, 1, 1, 1, 6, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
Offset: 1
Keywords
Formula
Conjecture. Define g(1)=1 and, for i>1, g(i)=2*g(i-1)+2^(i-2). Also define h(1)=1, h(2)=4 and, for i>2, h(i)=h(i-1)+2^(i-2). Then a(n)=h(i) if n=g(i), a(n)=1 if g(i)-2^(i-2)<=n