login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A191466 9^n - 5^n. 2
0, 4, 56, 604, 5936, 55924, 515816, 4704844, 42656096, 385467364, 3477018776, 31332231484, 282185395856, 2540645125204, 22870688939336, 205860614516524, 1852867600961216, 16676418760213444, 150090820599733496, 1350832644186663964 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..300

Index entries for linear recurrences with constant coefficients, signature (14,-45).

FORMULA

a(n) = 14*a(n-1) - 45*a(n-2).

G.f.: 4*x/((1-5*x)*(1-9*x)). - Vincenzo Librandi, Oct 05 2014

a(n+1) = 4*A016163(n). - Vincenzo Librandi, Oct 05 2014

MATHEMATICA

Table[9^n - 5^n, {n, 0, 25}] (* or *) CoefficientList[Series[4 x/((1 - 5 x) (1 - 9 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Oct 05 2014 *)

LinearRecurrence[{14, -45}, {0, 4}, 20] (* Harvey P. Dale, Jun 26 2019 *)

PROG

(MAGMA) [9^n-5^n: n in [0..20]];

(PARI) a(n)=9^n-5^n \\ Charles R Greathouse IV, Jun 08 2011

CROSSREFS

Cf. A118004, A016185, A059410

Sequence in context: A101540 A224181 A026740 * A130219 A222687 A111874

Adjacent sequences:  A191463 A191464 A191465 * A191467 A191468 A191469

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Jun 03 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 18:47 EDT 2019. Contains 327245 sequences. (Running on oeis4.)