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!)
A121203 2n+7^n-5^n. 1
0, 4, 28, 224, 1784, 13692, 102036, 745432, 5374192, 38400500, 272709644, 1928498640, 13597146600, 95668307308, 672119557252, 4717043931848, 33080342679008, 231867574534116, 1624598900644860, 11379821699045056 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: 4*x*(1-7*x+18*x^2)/((1-x)^2*(1-5*x)*(1-7*x)). - Vincenzo Librandi, Feb 25 2013
a(n) = 14*a(n-1)-60*a(n-2)+82*a(n-3)-35*a(n-4). - Vincenzo Librandi, Feb 26 2013
MATHEMATICA
CoefficientList[Series[4 x (1 - 7 x + 18 x^2)/((1-x)^2 (1-5 x)(1-7 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Feb 25 2013 *)
PROG
(Magma) [2*n+7^n-5^n: n in [0..30]] /* or */ I:=[0, 4, 28, 224]; [n le 4 select I[n] else 14*Self(n-1)-60*Self(n-2)+82*Self(n-3)-35*Self(n-4): n in [1..20]]; // Vincenzo Librandi, Feb 26 2013
CROSSREFS
Cf. A074616.
Sequence in context: A026033 A005810 A371755 * A368234 A192620 A180708
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 23 03:30 EDT 2024. Contains 371906 sequences. (Running on oeis4.)