The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A155617 6^n + 4^n - 1. 4
1, 9, 51, 279, 1551, 8799, 50751, 296319, 1745151, 10339839, 61514751, 366991359, 2193559551, 13127802879, 78632599551, 471258726399, 2825404874751, 16943839313919, 101628676145151, 609634617917439, 3657257951690751 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: 1/(1-6*x)+1/(1-4*x)-1/(1-x).
E.g.f.: exp(6*x) + exp(4*x) - exp(x).
a(n) = 10*a(n-1)-24*a(n-2) -15, n>1 - Gary Detlefs, Jun 21 2010
a(n) = 11*a(n-1)-34*a(n-2)+24*a(n-3). - Vincenzo Librandi, Feb 16 2013
MATHEMATICA
Table[(6^n + 4^n - 1^n), {n, 0, 30}] (* Vincenzo Librandi, Feb 16 2013 *)
LinearRecurrence[{11, -34, 24}, {1, 9, 51}, 30] (* Harvey P. Dale, Mar 30 2019 *)
PROG
(Magma) [6^n+4^n-1: n in [0..20]]; /* or */ I:=[1, 9, 51]; [n le 3 select I[n] else 11*Self(n-1)-34*Self(n-2)+24*Self(n-3): n in [1..25]]; // Vincenzo Librandi, Feb 16 2013
(PARI) a(n)=6^n+4^n-1 \\ Charles R Greathouse IV, Oct 16 2015
CROSSREFS
Sequence in context: A125319 A080621 A027218 * A126477 A275861 A210054
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jan 27 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 6 13:08 EDT 2024. Contains 373128 sequences. (Running on oeis4.)