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!)
A202206 a(n) = 3*a(n-1)+3*a(n-2) with a(0)=1 and a(1)=2. 2
1, 2, 9, 33, 126, 477, 1809, 6858, 26001, 98577, 373734, 1416933, 5372001, 20366802, 77216409, 292749633, 1109898126, 4207943277, 15953524209, 60484402458, 229313780001, 869394547377, 3296124982134 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..22.

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

FORMULA

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

a(n) = 1/2*((3/2+1/2*sqrt(21))^n+(3/2-1/2*sqrt(21))^n)+1/42*sqrt(21)*((3/2+1/2*sqrt(21))^n-(3/2-1 /2*sqrt(21))^n). - Paolo P. Lava, Jan 31 2012.

MATHEMATICA

LinearRecurrence[{3, 3}, {1, 2}, 30] (* Harvey P. Dale, Aug 03 2020 *)

PROG

(PARI) Vec((1-x)/(1-3*x-3*x^2)+O(x^99)) \\ Charles R Greathouse IV, Jan 31 2012

CROSSREFS

Cf. A104934, A112117.

Sequence in context: A048498 A215695 A289600 * A150921 A150922 A150923

Adjacent sequences:  A202203 A202204 A202205 * A202207 A202208 A202209

KEYWORD

nonn,easy,changed

AUTHOR

Philippe Deléham, Dec 14 2011

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 August 10 03:47 EDT 2020. Contains 336368 sequences. (Running on oeis4.)