login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A083321 (-1)^n+(-2)^n-(-3)^n. 3
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; 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; [From Vladimir 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: A057414 A165910 A100177 * A022728 A115112 A171074

Adjacent sequences:  A083318 A083319 A083320 * A083322 A083323 A083324

KEYWORD

easy,sign

AUTHOR

Paul Barry (pbarry(AT)wit.ie), Apr 25 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 21:51 EST 2012. Contains 205978 sequences.