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!)
A191466 9^n - 5^n. 2

%I #22 Sep 08 2022 08:45:57

%S 0,4,56,604,5936,55924,515816,4704844,42656096,385467364,3477018776,

%T 31332231484,282185395856,2540645125204,22870688939336,

%U 205860614516524,1852867600961216,16676418760213444,150090820599733496,1350832644186663964

%N 9^n - 5^n.

%H Vincenzo Librandi, <a href="/A191466/b191466.txt">Table of n, a(n) for n = 0..300</a>

%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (14,-45).

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

%F G.f.: 4*x/((1-5*x)*(1-9*x)). - _Vincenzo Librandi_, Oct 05 2014

%F a(n+1) = 4*A016163(n). - _Vincenzo Librandi_, Oct 05 2014

%t 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 *)

%t LinearRecurrence[{14,-45},{0,4},20] (* _Harvey P. Dale_, Jun 26 2019 *)

%o (Magma) [9^n-5^n: n in [0..20]];

%o (PARI) a(n)=9^n-5^n \\ _Charles R Greathouse IV_, Jun 08 2011

%Y Cf. A118004, A016185, A059410

%K nonn,easy

%O 0,2

%A _Vincenzo Librandi_, Jun 03 2011

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 29 08:53 EDT 2024. Contains 371268 sequences. (Running on oeis4.)