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
1, 3, 17, 99, 545, 2883, 14897, 75939, 384065, 1933443, 9706577, 48650979, 243609185, 1219108803, 6098732657, 30503229219, 152544843905, 762810312963, 3814309845137, 19072324066659, 95363944856225, 476826697849923 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: 1/(1-5*x)-1/(1-3*x)+1/(1-x).
E.g.f.: e^(5*x)-e^(3*x)+e^x.
a(n) = 8*a(n-1)-15*a(n-2)+8 with a(0)=1, a(1)=3. - Vincenzo Librandi, Jul 21 2010
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
MATHEMATICA
Table[5^n-3^n+1, {n, 0, 30}] (* or *) LinearRecurrence[{9, -23, 15}, {1, 3, 17}, 31] (* Harvey P. Dale, Jan 06 2012 *)
PROG
(PARI) a(n)=5^n-3^n+1 \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
Sequence in context: A142988 A356267 A056660 * A001541 A322242 A356392
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Jan 26 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 April 25 06:14 EDT 2024. Contains 371964 sequences. (Running on oeis4.)