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!)
A155610 5^n - 3^n + 1. 10

%I #16 Oct 07 2015 10:42:26

%S 1,3,17,99,545,2883,14897,75939,384065,1933443,9706577,48650979,

%T 243609185,1219108803,6098732657,30503229219,152544843905,

%U 762810312963,3814309845137,19072324066659,95363944856225,476826697849923

%N 5^n - 3^n + 1.

%H <a href="/index/Rec">Index entries for linear recurrences with constant coefficients</a>, signature (9,-23,15).

%F G.f.: 1/(1-5*x)-1/(1-3*x)+1/(1-x).

%F E.g.f.: e^(5*x)-e^(3*x)+e^x.

%F a(n) = 8*a(n-1)-15*a(n-2)+8 with a(0)=1, a(1)=3. - _Vincenzo Librandi_, Jul 21 2010

%F a(0)=1, a(1)=3, a(2)=17, a(n)=9*a(n-1)-23*a(n-2)+15*a(n-3). - _Harvey P. Dale_, Jan 06 2012

%t Table[5^n-3^n+1,{n,0,30}] (* or *) LinearRecurrence[{9,-23,15},{1,3,17},31] (* _Harvey P. Dale_, Jan 06 2012 *)

%o (PARI) a(n)=5^n-3^n+1 \\ _Charles R Greathouse IV_, Oct 07 2015

%Y Cf. A155596, A155597, A155598, A155599, A155600, A155601, A155602, A155603, A155604, A155605, A155606, A155607, A155608, A155609.

%K nonn,easy

%O 0,2

%A _Mohammad K. Azarian_, Jan 26 2009

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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)