|
|
A165151
|
|
a(n) = (3*11^n - 7^n)/2.
|
|
3
|
|
|
1, 13, 157, 1825, 20761, 233173, 2598517, 28818985, 318655921, 3516744733, 38764899277, 426978842545, 4700721921481, 51735623710693, 569285638838437, 6263498473368505, 68907978330073441, 758054227491947053, 8339061763439391997, 91732936225029132865, 1009085096265691207801
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 18*a(n-1) - 77*a(n-2) for n > 1; a(0) = 1, a(1) = 13.
G.f.: (1 - 5*x)/((1 - 7*x)*(1 - 11*x)).
|
|
MATHEMATICA
|
Table[(3 11^n-7^n)/2, {n, 0, 20}] (* or *) LinearRecurrence[{18, -77}, {1, 13}, 20] (* Harvey P. Dale, Jan 28 2012 *)
|
|
PROG
|
(Magma) [ (3*11^n-7^n)/2: n in [0..17] ];
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|