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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A120950 3^n+5^n-2n. 1
2, 6, 30, 146, 698, 3358, 16342, 80298, 397170, 1972790, 9824654, 49005250, 244672042, 1222297422, 6108298566, 30531927002, 152630937314, 763068593254, 3815084686078, 19074648589554, 95370918424986, 476847618556286 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

Index to sequences with linear recurrences with constant coefficients, signature (10,-32,38,-15).

FORMULA

G.f.: 2*(1-7*x+17*x^2-19*x^3)/((1-5*x)*(1-3*x)*(1-x)^2). - Vincenzo Librandi, Feb 26 2013

MATHEMATICA

Table[3^n + 5^n - 2 n, {n, 0, 30}] (* or *) CoefficientList[Series[2 (1 - 7 x + 17 x^2 - 19 x^3)/((1 - 5 x) (1 - 3 x) (1 - x)^2), {x, 0, 30}], x] (* Vincenzo Librandi, Feb 26 2013 *)

PROG

(MAGMA) [3^n+5^n-2*n: n in [0..30]]; // Vincenzo Librandi, Feb 27 2013

CROSSREFS

Cf. A074606, A005058.

Sequence in context: A035105 A073969 A224530 * A055695 A113593 A122763

Adjacent sequences:  A120947 A120948 A120949 * A120951 A120952 A120953

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 | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

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

Last modified May 26 04:23 EDT 2013. Contains 225653 sequences.