Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Revision History for A233831

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
a(n) = -2*a(n-1) -2*a(n-2) + a(n-3). a(0) = -1, a(1) = 1, a(2) = 1.
(history; published version)
#11 by Charles R Greathouse IV at Thu Sep 08 08:46:06 EDT 2022
PROG

(MAGMAMagma) m:=50; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!((-1-x+x^2)/(1+2*x+2*x^2-x^3))); // G. C. Greubel, Aug 07 2018

Discussion
Thu Sep 08
08:46
OEIS Server: https://oeis.org/edit/global/2944
#10 by Joerg Arndt at Wed Aug 08 02:45:40 EDT 2018
STATUS

reviewed

approved

#9 by Michel Marcus at Wed Aug 08 01:53:16 EDT 2018
STATUS

proposed

reviewed

#8 by G. C. Greubel at Wed Aug 08 01:41:42 EDT 2018
STATUS

editing

proposed

#7 by G. C. Greubel at Wed Aug 08 01:41:02 EDT 2018
LINKS

G. C. Greubel, <a href="/indexA233831/Recb233831.txt">Index entries Table of n, a(n) for linear recurrences with constant coefficientsn = 0..1000</a>, signature (-2, -2, 1).

<a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (-2, -2, 1).

MATHEMATICA

CoefficientList[Series[(-1-x+x^2)/(1+2*x+2*x^2-x^3), {x, 0, 50}], x] (* G. C. Greubel, Aug 07 2018 *)

PROG

(MAGMA) m:=50; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!((-1-x+x^2)/(1+2*x+2*x^2-x^3))); // G. C. Greubel, Aug 07 2018

STATUS

approved

editing

#6 by Charles R Greathouse IV at Sat Jun 13 00:54:56 EDT 2015
LINKS

<a href="/index/Rec">Index to sequences with entries for linear recurrences with constant coefficients</a>, signature (-2, -2, 1).

Discussion
Sat Jun 13
00:54
OEIS Server: https://oeis.org/edit/global/2439
#5 by Charles R Greathouse IV at Fri Jun 12 15:28:17 EDT 2015
LINKS

<a href="/index/Rea#recLCCRec">Index to sequences with linear recurrences with constant coefficients</a>, signature (-2, -2, 1).

Discussion
Fri Jun 12
15:28
OEIS Server: https://oeis.org/edit/global/2436
#4 by Ralf Stephan at Tue Dec 17 06:21:56 EST 2013
STATUS

proposed

approved

#3 by Michael Somos at Mon Dec 16 15:42:42 EST 2013
STATUS

editing

proposed

#2 by Michael Somos at Mon Dec 16 15:41:48 EST 2013
NAME

allocated for Michael Somos

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

DATA

-1, 1, 1, -5, 9, -7, -9, 41, -71, 51, 81, -335, 559, -367, -719, 2731, -4391, 2601, 6311, -22215, 34409, -18077, -54879, 180321, -268961, 122401, 473441, -1460645, 2096809, -798887, -4056489, 11807561, -16301031, 4930451, 34548721, -95259375, 126351759

OFFSET

0,4

LINKS

<a href="/index/Rea#recLCC">Index to sequences with linear recurrences with constant coefficients</a>, signature (-2, -2, 1).

FORMULA

G.f.: (-1 - x + x^2) / (1 + 2*x + 2*x^2 - x^3).

a(-n) = A233828(n).

a(n) - a(n-1) = -2 * (-1)^n * A078004(n).

a(n)^2 - a(n-1) * a(n+1) = -2 * (-1)^n * A078054(n-1).

EXAMPLE

G.f. = -1 + x + x^2 - 5*x^3 + 9*x^4 - 7*x^5 - 9*x^6 + 41*x^7 - 71*x^8 + ...

PROG

(PARI) {a(n) = if( n<0, polcoeff( (-1 +3*x + x^2) / (1 - 2*x - 2*x^2 - x^3) + x * O(x^-n), -n), polcoeff( (-1 - x + x^2) / (1 + 2*x + 2*x^2 - x^3) + x * O(x^n), n))}

CROSSREFS
KEYWORD

allocated

sign

AUTHOR

Michael Somos, Dec 16 2013

STATUS

approved

editing

Discussion
Mon Dec 16
15:42
Michael Somos: A233828, A233831 is a two-way infinite integer sequence pair.