|
| |
|
|
A155650
|
|
7^n - 6^n + 1.
|
|
19
|
|
|
|
1, 2, 14, 128, 1106, 9032, 70994, 543608, 4085186, 30275912, 222009074, 1614529688, 11664504866, 83828316392, 599858908754, 4277376525368, 30411820662146, 215703854542472, 1526853641242034, 10789535445362648
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
0,2
|
|
|
LINKS
|
Table of n, a(n) for n=0..19.
Index to sequences with linear recurrences with constant coefficients, signature (14,-55,42).
|
|
|
FORMULA
|
G.f.: 1/(1-7*x)-1/(1-6*x)+1/(1-x). E.g.f.: e^(7*x)-e^(6*x)+e^x.
a(n)=13*a(n-1)-42*a(n-2)+30 with a(0)=1, a(1)=2 [From Vincenzo Librandi, Jul 21 2010]
|
|
|
PROG
|
(PARI) a(n)= 7^n-6^n+1 \\ Charles R Greathouse IV, Dec 22 2011
|
|
|
CROSSREFS
|
Sequence in context: A060468 A121082 A216595 * A168658 A146971 A048990
Adjacent sequences: A155647 A155648 A155649 * A155651 A155652 A155653
|
|
|
KEYWORD
|
nonn,easy,changed
|
|
|
AUTHOR
|
Mohammad K. Azarian, Jan 31 2009
|
|
|
STATUS
|
approved
|
| |
|
|