login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A016138 Expansion of 1/((1-3x)(1-7x)). 4
1, 10, 79, 580, 4141, 29230, 205339, 1439560, 10083481, 70604050, 494287399, 3460188940, 24221854021, 169554572470, 1186886790259, 8308221880720, 58157596211761, 407103302622490, 2849723505777919 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = (7^(n+1) - 3^(n+1))/4. - Lambert Klasen (lambert.klasen(AT)gmx.net), Feb 05 2005
a(n) = ((5+sqrt4)^n - (5-sqrt4)^n)/4 in Fibonacci form. Offset 1. a(3)=79. - Al Hakanson (hawkuu(AT)gmail.com), Dec 31 2008
a(n) = 10*a(n-1) - 21*a(n-2). - Philippe Deléham, Jan 01 2009
G.f.: x/(1-10*x+21*x^2). - Zerinvary Lajos, Apr 26 2009
E.g.f.: (d/dx)(exp(3*x)*(exp(4*x)-1)/4) = exp(3*x)*(7*exp(4*x) - 3)/4. - Wolfdieter Lang, Apr 13 2017
MATHEMATICA
Join[{a=1, b=10}, Table[c=10*b-21*a; a=b; b=c, {n, 60}]] (* Vladimir Joseph Stephan Orlovsky, Jan 27 2011 *)
CoefficientList[Series[1/((1-3x)(1-7x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{10, -21}, {1, 10}, 30] (* Harvey P. Dale, Nov 07 2014 *)
PROG
(Sage) [lucas_number1(n, 10, 21) for n in range(1, 20)] # Zerinvary Lajos, Apr 26 2009
(Magma) [(7^(n+1)-3^(n+1))/4: n in [0..20]]; // Vincenzo Librandi, Oct 09 2011
(PARI) Vec(1/((1-3*x)*(1-7*x))+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
CROSSREFS
Cf. Column k=1 of A225469.
Sequence in context: A006469 A288630 A081905 * A006329 A077245 A036732
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 3 11:14 EDT 2024. Contains 372207 sequences. (Running on oeis4.)