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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A083579 Generalized Jacobsthal numbers. 4
0, 1, 1, 4, 8, 19, 39, 82, 166, 337, 677, 1360, 2724, 5455, 10915, 21838, 43682, 87373, 174753, 349516, 699040, 1398091, 2796191, 5592394, 11184798, 22369609, 44739229, 89478472, 178956956, 357913927, 715827867, 1431655750, 2863311514 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

LINKS

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

FORMULA

a(n) = 2*2^n/3-5*(-1)^n/12-(2*n+1)/4.

a(n+2) = a(n+1)+2*a(n)+n, a(0)=0, a(1)=1.

G.f.: x*(1-2*x+2*x^2)/(1-3*x+x^2+3*x^3-2*x^4). [Colin Barker, Jan 16 2012]

MATHEMATICA

Join[{a=0, b=1}, Table[c=b+2*a+n; a=b; b=c, {n, 0, 100}]] (* Vladimir Joseph Stephan Orlovsky, Jan 21 2011*)

CROSSREFS

Cf. A083580.

Sequence in context: A049933 A163318 A129362 * A215112 A265108 A273143

Adjacent sequences:  A083576 A083577 A083578 * A083580 A083581 A083582

KEYWORD

nonn,easy

AUTHOR

Paul Barry, May 01 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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified May 23 23:53 EDT 2017. Contains 286937 sequences.