login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A154879 Third differences of the Jacobsthal sequence A001045. 12
3, -2, 4, 0, 8, 8, 24, 40, 88, 168, 344, 680, 1368, 2728, 5464, 10920, 21848, 43688, 87384, 174760, 349528, 699048, 1398104, 2796200, 5592408, 11184808, 22369624, 44739240, 89478488, 178956968, 357913944, 715827880, 1431655768, 2863311528, 5726623064 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Second differences of A078008. First differences of the sequence (-1)^(n+1)*A084247(n).
LINKS
FORMULA
a(n) + a(n+1) = A000079(n), n > 1.
a(n+3) = 8*A001045(n) = 4*A078008(n+1) = 2*A097073(n+1).
From R. J. Mathar, Jan 23 2009: (Start)
a(n) = a(n-1) + 2*a(n-2).
G.f.: (3-5*x)/((1+x)*(1-2*x)). (End)
MATHEMATICA
Differences[LinearRecurrence[{1, 2}, {0, 1}, 40], 3] (* or *) LinearRecurrence[ {1, 2}, {3, -2}, 40] (* Harvey P. Dale, Apr 20 2018 *)
PROG
(Magma) [(1/3)*(8*(-1)^n+2^n): n in [0..35]]; // Vincenzo Librandi, Jul 24 2011
CROSSREFS
Cf. A115341.
Sequence in context: A127481 A284552 A328564 * A097673 A226377 A140430
KEYWORD
sign,easy,changed
AUTHOR
Paul Curtz, Jan 16 2009
EXTENSIONS
Edited and extended by R. J. Mathar, Jan 23 2009
Typo in A-number in formula corrected by R. J. Mathar, Feb 23 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 19 01:57 EDT 2024. Contains 370952 sequences. (Running on oeis4.)