login
A076817
Let u(1)=u(2)=1, u(n)=(3^floor(u(n-1)/2)+1)/u(n-2); then a(n)=10*u(n).
0
10, 10, 20, 40, 50, 25, 8, 8, 25, 50, 40, 20, 10, 10, 20, 40, 50, 25, 8, 8, 25, 50, 40, 20, 10, 10, 20, 40, 50, 25, 8, 8, 25, 50, 40, 20, 10, 10, 20, 40, 50, 25, 8, 8, 25, 50, 40, 20, 10, 10, 20, 40, 50, 25, 8, 8, 25, 50, 40, 20, 10, 10, 20, 40, 50, 25, 8, 8, 25, 50, 40, 20
OFFSET
1,1
FORMULA
12-periodic with period (10, 10, 20, 40, 50, 25, 8, 8, 25, 50, 40, 20)
MATHEMATICA
LinearRecurrence[{1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1}, {10, 10, 20, 40, 50, 25, 8, 8, 25, 50, 40}, 72] (* Ray Chandler, Aug 26 2015 *)
PadRight[{}, 120, {10, 10, 20, 40, 50, 25, 8, 8, 25, 50, 40, 20}] (* Harvey P. Dale, Mar 27 2017 *)
CROSSREFS
Sequence in context: A368362 A022093 A332874 * A324494 A344104 A200984
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Nov 24 2002
STATUS
approved