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!)
A290124 a(n) = a(n-1) + 12*a(n-2) with a(1) = 1 and a(2) = 2. 0
1, 2, 14, 38, 206, 662, 3134, 11078, 48686, 181622, 765854, 2945318, 12135566, 47479382, 193106174, 762858758, 3080132846, 12234437942, 49196032094, 196009287398, 786361672526, 3138473121302, 12574813191614, 50236490647238, 201134248946606, 803972136713462, 3217583124072734 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..27.

Index entries for linear recurrences with constant coefficients, signature (1,12).

FORMULA

a(n) = (5/28)*4^n - (2/21)*(-3)^n.

G.f.: x*(1+x)/((1+3*x)*(1-4*x)). - Vincenzo Librandi, Aug 27 2017

MATHEMATICA

CoefficientList[Series[(1 + x) / ((1 + 3 x) (1 - 4 x)), {x, 0, 33}], x] (* Vincenzo Librandi, Aug 27 2017 *)

PROG

(PARI) a(n) = if (n==1, 1, if (n==2, 2, a(n-1) + 12*a(n-2))); \\ Michel Marcus, Jul 25 2017

(MAGMA) [(5/28)*4^n-(2/21)*(-3)^n: n in [1..30]]; // Vincenzo Librandi, Aug 27 2017

CROSSREFS

Cf. A000045, A000079, A133577.

Sequence in context: A281711 A216528 A329735 * A192349 A230801 A231081

Adjacent sequences:  A290121 A290122 A290123 * A290125 A290126 A290127

KEYWORD

nonn,easy

AUTHOR

Matt C. Anderson, Jul 20 2017

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 September 24 04:02 EDT 2020. Contains 337316 sequences. (Running on oeis4.)