login
A076784
Let u(1)=u(2)=u(3)=1, u(n)=(2^floor(u(n-1)/2)+2^floor(u(n-2)/2)+1)/u(n-3) then a(n) = numerator of u(n).
1
1, 1, 1, 3, 4, 7, 13, 13, 1, 12, 12, 3, 13, 91, 13, 3, 12, 12, 1, 13, 13, 7, 4, 3, 1, 1, 1, 3, 4, 7, 13, 13, 1, 12, 12, 3, 13, 91, 13, 3, 12, 12, 1, 13, 13, 7, 4, 3, 1, 1, 1, 3, 4, 7, 13, 13, 1, 12, 12, 3, 13, 91, 13, 3, 12, 12, 1, 13, 13, 7, 4, 3, 1, 1, 1, 3, 4, 7, 13, 13, 1, 12, 12, 3, 13
OFFSET
1,4
COMMENTS
Sequence is 24-periodic
FORMULA
Period is (1, 1, 1, 3, 4, 7, 13, 13, 1, 12, 12, 3, 13, 91, 13, 3, 12, 12, 1, 13, 13, 7, 4, 3)
MATHEMATICA
PadRight[{}, 120, {1, 1, 1, 3, 4, 7, 13, 13, 1, 12, 12, 3, 13, 91, 13, 3, 12, 12, 1, 13, 13, 7, 4, 3}] (* Harvey P. Dale, May 27 2018 *)
CROSSREFS
Cf. A076785.
Sequence in context: A373805 A049930 A102938 * A279815 A088764 A093124
KEYWORD
frac,nonn
AUTHOR
Benoit Cloitre, Nov 24 2002
STATUS
approved