login
This site is supported by donations to The OEIS Foundation.

 

Logo

Invitation: celebrating 50 years of OEIS, 250000 sequences, and Sloane's 75th, there will be a conference at DIMACS, Rutgers, Oct 9-10 2014.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A120849 5n+3^n-2^n. 1
0, 6, 15, 34, 85, 236, 695, 2094, 6345, 19216, 58075, 175154, 527405, 1586196, 4766655, 14316214, 42981265, 129009176, 387158435, 1161737274, 3485735925, 10458256156, 31376865415, 94134790334, 282412759385, 847255055136 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

Index to sequences with linear recurrences with constant coefficients, signature (7,-17,17,-6).

FORMULA

G.f.: x*(6-27*x+31*x^2)/((1-2*x)*(1-3*x)*(1-x)^2). - Vincenzo Librandi, Feb 24 2013

a(n) = 7*a(n-1)-17*a(n-2)+17*a(n-3)-6*a(n-4). - Vincenzo Librandi, Feb 24 2013

MATHEMATICA

CoefficientList[Series[x (6 - 27 x + 31 x^2)/((1-2 x) (1-3 x) (1 - x)^2), {x, 0, 30}], x] (* Vincenzo Librandi, Feb 24 2013 *)

PROG

(MAGMA) [5*n+3^n-2^n: n in [0..30]] /* or */ I:=[0, 6, 15, 34]; [n le 4 select I[n] else 7*Self(n-1)-17*Self(n-2)+17*Self(n-3)-6*Self(n-4): n in [1..30]]; // Vincenzo Librandi, Feb 24 2013

CROSSREFS

Cf. A001047, A007689.

Sequence in context: A051410 A083052 A232604 * A030661 A245630 A049728

Adjacent sequences:  A120846 A120847 A120848 * A120850 A120851 A120852

KEYWORD

nonn,easy

AUTHOR

Mohammad K. Azarian, Aug 18 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 | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified September 2 13:34 EDT 2014. Contains 246357 sequences.