|
|
A093148
|
|
a(n) = gcd(Fibonacci(n+5), Fibonacci(n+1)).
|
|
8
|
|
|
1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1, 1, 1, 3, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,4
|
|
COMMENTS
|
Periodic sequence: Repeat [1, 1, 1, 3].
Continued fraction expansion of (9+sqrt(165))/14.
Decimal expansion of 371/3333. (End)
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (1+x+x^2+3*x^3)/(1-x^4); a(n) = 3/2-sin(Pi*n/2)-cos(Pi*n)/2.
a(n) = a(n-4) for n > 3; a(0) = a(1) = a(2) = 1, a(3) = 3.
a(n) = (3-(-1)^n+(1-(-1)^n)*i*i^n)/2 where i = sqrt(-1). (End)
|
|
MAPLE
|
|
|
MATHEMATICA
|
f[n_] := Switch[Mod[n, 4], 0, 1, 1, 1, 2, 1, 3, 3]; Array[f, 105, 0] (* Robert G. Wilson v, Jan 23 2012 *)
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|