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!)
A120978 2n+5^n-3^n. 1
0, 4, 20, 104, 552, 2892, 14908, 75952, 384080, 1933460, 9706596, 48651000, 243609208, 1219108828, 6098732684, 30503229248, 152544843936, 762810312996, 3814309845172, 19072324066696, 95363944856264, 476826697849964 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(0)=0, a(1)=4, a(2)=20, a(3)=104, a(n) = 10*a(n-1)-32*a(n-2)+38*a(n-3)-15*a(n-4) [Harvey P. Dale, Jun 15 2011]
G.f.: 2*x*(2-10*x+16*x^2)/((1-x)^2*(1-5*x)*(1-3*x)). - Vincenzo Librandi, Feb 23 2013
MATHEMATICA
Table[2 n + 5^n - 3^n, {n, 0, 30}] (* or *) LinearRecurrence[{10, -32, 38, -15}, {0, 4, 20, 104}, 30] (* Harvey P. Dale, Jun 15 2011 *)
CoefficientList[Series[2 x (2 - 10 x + 16 x^2)/((1 - x)^2(1 - 5 x)(1 - 3 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Feb 23 2013 *)
CROSSREFS
Sequence in context: A155181 A082761 A076035 * A035028 A104550 A089382
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Aug 19 2006
EXTENSIONS
Edited by Ray Chandler, Sep 06 2006
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 April 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)