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!)
A002250 a(n) = 4^n - 2*3^n. 3
-1, -2, -2, 10, 94, 538, 2638, 12010, 52414, 222778, 930478, 3840010, 15714334, 63920218, 258869518, 1045044010, 4208873854, 16921588858, 67944635758, 272553384010, 1092538058974, 4377125804698, 17529423925198 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: -(1-5*x)/((1-3*x)*(1-4*x)). - Bruno Berselli, Jan 25 2011
a(n) = 7*a(n-1) - 12*a(n-2) for n>1. - Bruno Berselli, Jan 25 2011
MATHEMATICA
Table[4^n - 2 3^n, {n, 0, 30}] (* or *) CoefficientList[Series[-(1 - 5 x) / ((1 - 3 x) (1 - 4 x)), {x, 0, 40}], x] (* Vincenzo Librandi, Jun 20 2013 *)
PROG
(Magma) [4^n-2*3^n: n in [0..30]]; // Vincenzo Librandi, Jun 20 2013
(PARI) a(n)=4^n-2*3^n \\ Charles R Greathouse IV, Jun 23 2020
CROSSREFS
Sequence in context: A232974 A181334 A032034 * A304642 A005613 A005616
KEYWORD
sign,easy
AUTHOR
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 April 23 02:53 EDT 2024. Contains 371906 sequences. (Running on oeis4.)