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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A083943 A generalized Jacobsthal sequence. 2
0, 1, -1, -1, -5, -9, -21, -41, -85, -169, -341, -681, -1365, -2729, -5461, -10921, -21845, -43689, -87381, -174761, -349525, -699049, -1398101, -2796201, -5592405, -11184809, -22369621, -44739241, -89478485, -178956969, -357913941, -715827881, -1431655765 (list; graph; refs; listen; history; internal format)
OFFSET

0,5

COMMENTS

a(2n)=-A001045(2n), a(2n+1)=2-A001045(2n+1).

FORMULA

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

CROSSREFS

Cf. A083944.

Sequence in context: A049744 A000323 A146131 * A097074 A050559 A082676

Adjacent sequences:  A083940 A083941 A083942 * A083944 A083945 A083946

KEYWORD

easy,sign

AUTHOR

Paul Barry (pbarry(AT)wit.ie), May 09 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 13 13:13 EST 2012. Contains 205482 sequences.