[go: up one dir, main page]

login
A119350
First differences of A118374.
1
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,3
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<g(i) and a(n)=a(n-g(i-1)) if g(i-1)<n<g(i)-2^(i-2). (This has been verified for the first 1000 terms.)
CROSSREFS
KEYWORD
nonn
AUTHOR
John W. Layman, May 23 2006
STATUS
approved