|
| |
| |
|
|
|
34, 142, 574, 2302, 9214, 36862, 147454, 589822, 2359294, 9437182, 37748734, 150994942, 603979774, 2415919102, 9663676414, 38654705662, 154618822654, 618475290622, 2473901162494, 9895604649982, 39582418599934
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
1,1
|
|
|
LINKS
|
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Index to sequences with linear recurrences with constant coefficients, signature (5,-4).
|
|
|
FORMULA
|
a(n)=A002063(n)-2. [From R. J. Mathar, Jan 03 2009]
|
|
|
MATHEMATICA
|
LinearRecurrence[{5, -4}, {34, 142}, 50] (* Vincenzo Librandi, Feb 22 2012 *)
|
|
|
PROG
|
(PARI) a(n)=9*4^n-2 \\ Charles R Greathouse IV, Jan 11 2012
(MAGMA) I:=[34, 142]; [n le 2 select I[n] else 5*Self(n-1)-4*Self(n-2): n in [1..50]]; // Vincenzo Librandi, Feb 22 2012
|
|
|
CROSSREFS
|
Sequence in context: A172001 A158062 A141127 * A105714 A072319 A031398
Adjacent sequences: A153462 A153463 A153464 * A153466 A153467 A153468
|
|
|
KEYWORD
|
nonn,easy,changed
|
|
|
AUTHOR
|
Vincenzo Librandi, Dec 27 2008
|
|
|
STATUS
|
approved
|
| |
|
|