login
The OEIS is supported by the many generous donors to the OEIS 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
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
Sequence in context: A048498 A215695 A289600 * A150921 A150922 A150923
KEYWORD
nonn,easy
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 27 16:50 EDT 2023. Contains 365714 sequences. (Running on oeis4.)