This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A083321 (-1)^n+(-2)^n-(-3)^n. 4
 1, 0, -4, 18, -64, 210, -664, 2058, -6304, 19170, -58024, 175098, -527344, 1586130, -4766584, 14316138, -42981184, 129009090, -387158344, 1161737178, -3485735824, 10458256050, -31376865304, 94134790218, -282412759264, 847255055010, -2541798719464, 7625463267258 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,3 LINKS Vincenzo Librandi, Table of n, a(n) for n = 0..1000 FORMULA a(n) = (-1)^n+(-2)^n-(-3)^n. G.f.: (1+6*x+7*x^2)/((1+x)*(1+2*x)*(1+3*x)). E.g.f.: exp(-x)+exp(-2*x)-exp(-3*x). MATHEMATICA a[n_]:=3^n-2^n-1^n; (* Vladimir Joseph Stephan Orlovsky, Dec 05 2008 *) PROG (MAGMA) [(-1)^n+(-2)^n-(-3)^n: n in [0..30]]; // Vincenzo Librandi, Sep 05 2011 CROSSREFS Sequence in context: A165910 A212766 A100177 * A255611 A022728 A231950 Adjacent sequences:  A083318 A083319 A083320 * A083322 A083323 A083324 KEYWORD easy,sign AUTHOR Paul Barry, Apr 25 2003 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.

Last modified October 22 00:49 EDT 2019. Contains 328315 sequences. (Running on oeis4.)