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!)
A155612 7^n - 3^n + 1. 8
1, 5, 41, 317, 2321, 16565, 116921, 821357, 5758241, 40333925, 282416201, 1977149597, 13840755761, 96887416085, 678218289881, 4747547161037, 33232887522881, 232630384847045, 1628413210489961, 11398894023111677 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: 1/(1-7*x)-1/(1-3*x)+1/(1-x).
E.g.f.: e^(7*x)-e^(3*x)+e^x.
a(n) = 10*a(n-1)-21*a(n-2)+12 with a(0)=1, a(1)=5. - Vincenzo Librandi, Jul 21 2010
PROG
(PARI) a(n)=7^n-3^n+1 \\ Charles R Greathouse IV, Oct 07 2015
CROSSREFS
Sequence in context: A349541 A202249 A067381 * A145215 A083884 A156153
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 March 28 22:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)