login
A114890
First differences of A114889.
3
2, 1, 3, 2, 1, 1, 1, 1, 6, 2, 1, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 15, 2, 1, 3, 2, 1, 1, 1, 1, 6, 2, 1, 3, 2, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 42, 2, 1, 3, 2, 1, 1, 1, 1, 6, 2, 1, 3, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
OFFSET
1,1
FORMULA
Conjecture. a(1)=2 and, for n>1, a(n)=1+3+9+...+3^(k-1) + 2, if n=3^k, a(n)=a(n-3^k), if 3^k < n < 2*3^k - 1, else a(n)=1. (This has been verified for n<=3000.)
CROSSREFS
Cf. A114889.
Sequence in context: A144029 A347030 A166949 * A374629 A145327 A374251
KEYWORD
nonn
AUTHOR
John W. Layman, Jan 04 2006
STATUS
approved