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!)
A131292 a(2n+1)=3a(2n)-3a(2n-1)+2a(2n-2), a(2n+2)=3a(2n+1)-3a(2n), a(0)=a(1)=a(2)=1. 3
1, 1, 1, 2, 3, 5, 6, 9, 9, 12, 9, 9, 0, -9, -27, -54, -81, -135, -162, -243, -243, -324, -243, -243, 0, 243, 729, 1458, 2187, 3645, 4374, 6561, 6561, 8748, 6561, 6561, 0, -6561, -19683, -39366, -59049, -98415, -118098, -177147, -177147, -236196, -177147, -177147, 0, 177147, 531441, 1062882, 1594323 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
Sequence is identical to its third differences in absolute value.
LINKS
FORMULA
G.f.: (2*x^3-x^2-x+1)*(1+x)^2/(1-3*x^2+3*x^4). - R. J. Mathar, Jul 17 2009
MAPLE
A131292 := proc(n) option remember ; if n <= 2 then 1; elif n mod 2 = 1 then 3*(A131292(n-1)-A131292(n-2))+2*A131292(n-3) ; else 3*(A131292(n-1)-A131292(n-2)) ; fi ; end: seq(A131292(n), n=0..80) ; # R. J. Mathar, Oct 18 2007
MATHEMATICA
Join[{1, 1}, LinearRecurrence[{0, 3, 0, -3}, {1, 2, 3, 5}, 51]] (* Ray Chandler, Sep 23 2015 *)
CROSSREFS
Cf. A131665 (0, 0, 1, 3, 6, 11).
Cf. A057083 (bisection). - R. J. Mathar, Jul 17 2009
Sequence in context: A075389 A053784 A036697 * A276476 A069880 A230044
KEYWORD
sign,easy
AUTHOR
Paul Curtz, Sep 29 2007
EXTENSIONS
More terms from R. J. Mathar, Oct 18 2007
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 April 24 08:59 EDT 2024. Contains 371935 sequences. (Running on oeis4.)