STATUS
reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
(Magma) [ n le 2 select 4*n-3 else 2*Self(n-1)+5*Self(n-2): n in [1..24] ]; - _// _Klaus Brockhaus_, Aug 15 2009
approved
editing
(MAGMAMagma) [ n le 2 select 4*n-3 else 2*Self(n-1)+5*Self(n-2): n in [1..24] ]; - Klaus Brockhaus, Aug 15 2009
reviewed
approved
proposed
reviewed
editing
proposed
a(n) is also 5^(n-1) times the sum of the two elements in the top row of the n-th power of the symmetric matrix (0,1; 1/5,2/5). - see Mathematica code.
M:= {{0, 5}, {1, 2}}; v[1]= {1, 1}; v[n_]:= v[n]= M.v[n-1];
Table[v[n][[1]], {n, 1, 30}]
proposed
editing
editing
proposed