login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
OFFSET
0,2
COMMENTS
Binomial transform of A165150. Inverse binomial transform of A165152.
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)).
E.g.f.: exp(7*x)*(3*exp(4*x) - 1)/2. - Stefano Spezia, Mar 21 2023
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
Sequence in context: A244206 A159499 A125470 * A016125 A353147 A175519
KEYWORD
nonn,easy
AUTHOR
Klaus Brockhaus, Sep 15 2009
STATUS
approved