|
|
A123932
|
|
a(0) = 1, a(n) = 4 for n > 0.
|
|
11
|
|
|
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Continued fraction for sqrt(5)-1.
a(n) = number of permutations of length n+3 having only one ascent such that the first element of the permutation is 3. - Ran Pan, Apr 20 2015
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (1 + 3*x) / (1 - x).
a(n) = 4 - 3*0^n .
|
|
MATHEMATICA
|
|
|
PROG
|
(Sage) [power_mod(4, n, 12) for n in range(0, 84)] # Zerinvary Lajos, Nov 25 2009
(Maxima) makelist(if n=0 then 1 else 4, n, 0, 100); /* Bruno Berselli, Apr 24 2015 */
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,cofr,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|