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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A084222 a(n)=-2a(n-1)+3a(n-2), with a(0)=1, a(1)=2. 5
1, 2, -1, 8, -19, 62, -181, 548, -1639, 4922, -14761, 44288, -132859, 398582, -1195741, 3587228, -10761679, 32285042, -96855121, 290565368, -871696099, 2615088302, -7845264901, 23535794708, -70607384119, 211822152362, -635466457081, 1906399371248 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..27.

FORMULA

Binomial transform is A084221.

a(n)=(5-(-3)^n)/4; G.f.: (1+4x)/((1-x)(1+3x)); E.g.f. : (5exp(x)-exp(-3x))/4.

For n > 1, |a(n) - a(n+1)| = 3^n. - Amarnath Murthy and Meenakshi Srikanth (amarnath_murthy(AT)yahoo.com), Jul 15 2003; corrected by Philippe DELEHAM, Dec 16 2007

MATHEMATICA

a=1; lst={1, 2, a}; Do[a=3^n-a; AppendTo[lst, a], {n, 2, 5!}]; lst (*All Absolute values Only!*) [From Vladimir Joseph Stephan Orlovsky, Sep 13 2009]

CROSSREFS

Sequence in context: A012966 A168244 A009828 * A160602 A160626 A052312

Adjacent sequences:  A084219 A084220 A084221 * A084223 A084224 A084225

KEYWORD

easy,sign

AUTHOR

Paul Barry, May 21 2003

STATUS

approved

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 May 23 09:11 EDT 2013. Contains 225586 sequences.