login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A051667 a(n) = 6*2^n - 4*n - 6. 3
0, 2, 10, 30, 74, 166, 354, 734, 1498, 3030, 6098, 12238, 24522, 49094, 98242, 196542, 393146, 786358, 1572786, 3145646, 6291370, 12582822, 25165730, 50331550, 100663194, 201326486, 402653074, 805306254, 1610612618 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

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

Index entries for linear recurrences with constant coefficients, signature (4,-5,2).

FORMULA

From Colin Barker, Jun 24 2012: (Start)

a(n) = 4*a(n-1) - 5*a(n-2) + 2*a(n-3).

G.f.: 2*x*(1 + x)/((1 - x)^2*(1 - 2*x)). (End)

MATHEMATICA

CoefficientList[Series[2 x (1 + x)/((1 - x)^2 (1 - 2 x)), {x, 0, 40}], x] (* Vincenzo Librandi, Jul 05 2012 *)

PROG

(MAGMA) I:=[0, 2, 10]; [n le 3 select I[n] else 4*Self(n-1)-5*Self(n-2)+2*Self(n-3): n in [1..30]]; // Vincenzo Librandi, Jul 04 2012

CROSSREFS

Row sums of A051666.

Equals 2 * A050488.

Cf. A000290.

Sequence in context: A167214 A034827 A328532 * A106355 A120546 A058966

Adjacent sequences:  A051664 A051665 A051666 * A051668 A051669 A051670

KEYWORD

nonn,easy

AUTHOR

Asher Auel (asher.auel(AT)reed.edu)

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 6 11:51 EDT 2020. Contains 333273 sequences. (Running on oeis4.)