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!)
A099215 a(n)=4a(n-1)-4a(n-2)+3a(n-3). 2
1, 2, 4, 11, 34, 104, 313, 938, 2812, 8435, 25306, 75920, 227761, 683282, 2049844, 6149531, 18448594, 55345784, 166037353, 498112058, 1494336172, 4483008515, 13449025546, 40347076640, 121041229921, 363123689762, 1089371069284 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: (1-2x)/((1-2x)^2-3x^3); a(n)=sum{k=0..floor(n/3), binomial(n-k, 2k)3^k*2^(n-3k)}.
a{x}=1/7(-Cos[(Pi*x)/3]+Cosh[x*Log[3]]+3*Sqrt[3]*Sin[(Pi*x)/3]+Sinh[x*Log[3]]) - Harvey P. Dale, Mar 02 2013
MATHEMATICA
LinearRecurrence[{4, -4, 3}, {1, 2, 4}, 30] (* Harvey P. Dale, Mar 02 2013 *)
CROSSREFS
Cf. A099214.
Sequence in context: A198634 A287007 A369843 * A089407 A289588 A362638
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Oct 06 2004
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 March 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)