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!)
A154968 a(n) = 4*a(n-1) + 12*a(n-2), n>2 with a(0)=1, a(1)=1, a(2)=7. 2
1, 1, 7, 40, 244, 1456, 8752, 52480, 314944, 1889536, 11337472, 68024320, 408146944, 2448879616, 14693281792, 88159682560, 528958111744, 3173748637696, 19042491891712, 114254951219200, 685529707577344 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
16*a(n) = 3*6^n +(-1)^n*2^n, n>0. - R. J. Mathar, Sep 03 2013
From G. C. Greubel, Mar 01 2021: (Start)
a(n) = (6^(n+1) - (-2)^(n+1))/32 + (3/4)*[n=0].
E.g.f.: (exp(-2*x) + 3*exp(6*x))/16. (End)
MATHEMATICA
LinearRecurrence[{4, 12}, {1, 1, 7}, 40] (* G. C. Greubel, Mar 01 2021 *)
PROG
(SageMath) [1]+[(6^(n+1) - (-2)^(n+1))/32 for n in [1..40]] # G. C. Greubel, Mar 01 2021
(Magma) [n eq 0 select 1 else (6^(n+1) -(-2)^(n+1))/32: n in [0..40]]; // G. C. Greubel, Mar 01 2021
CROSSREFS
Cf. A154929.
Sequence in context: A360101 A371813 A051814 * A121582 A239989 A356459
KEYWORD
nonn,easy
AUTHOR
Philippe Deléham, Jan 18 2009
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 June 29 16:12 EDT 2024. Contains 373851 sequences. (Running on oeis4.)