login

Revision History for A141523

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

Showing entries 1-10 | older changes
Expansion of (3-2*x-3*x^2)/(1-x-x^2-x^3).
(history; published version)
#26 by Charles R Greathouse IV at Thu Sep 08 08:45:35 EDT 2022
PROG

(MAGMAMagma) I:=[3, 1, 1]; [n le 3 select I[n] else Self(n-1)+Self(n-2) +Self(n-3): n in [1..40]]; // Vincenzo Librandi, Oct 17 2012

Discussion
Thu Sep 08
08:45
OEIS Server: https://oeis.org/edit/global/2944
#25 by Susanna Cuyler at Mon Apr 22 18:07:58 EDT 2019
STATUS

proposed

approved

#24 by Michel Marcus at Mon Apr 22 17:11:40 EDT 2019
STATUS

editing

proposed

#23 by Michel Marcus at Mon Apr 22 17:11:36 EDT 2019
LINKS

Martin Burtscher, Igor Szczyrba, RafaƂ Szczyrba, <a href="httphttps://www.emis.de/journals/JIS/VOL18/Szczyrba/sz3.pdfhtml">Analytic Representations of the n-anacci Constants and Generalizations Thereof</a>, Journal of Integer Sequences, Vol. 18 (2015), Article 15.4.5.

CROSSREFS
STATUS

proposed

editing

#22 by G. C. Greubel at Mon Apr 22 15:40:59 EDT 2019
STATUS

editing

proposed

#21 by G. C. Greubel at Mon Apr 22 15:40:31 EDT 2019
LINKS

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

FORMULA

a(0)=3; a(1)=1; a(2)=1; thereafter a(n) = a(n-1) + a(n-2) + a(n-3).

From R. J. Mathar, Aug 22 2008: (Start)

O.g.f.: (3-2*x-3*x^2)/(1-x-x^2-x^3). a(n)= A001644(n) - 2*A000073(n). - _R. J. Mathar_, Aug 22 2008

a(n) = A001644(n) - 2*A000073(n). (End)

MATHEMATICA

Clear[f, g, n, a] a[0] = 3; a[1] = 1; a[2] = 1; a[n_] := a[n] = a[n - 1] + a[n - 2] + a[n - 3]; Table[a[n], {n, 0, 3040}]

PROG

(MAGMA) I:=[3, 1, 1]; [n le 3 select I[n] else Self(n-1)+Self(n-2) +Self(n-3): n in [1..40]]; // Vincenzo Librandi, Oct 17 2012

(PARI) my(x='x+O('x^40)); Vec((3-2*x-3*x^2)/(1-x-x^2-x^3)) \\ G. C. Greubel, Apr 22 2019

(Sage) ((3-2*x-3*x^2)/(1-x-x^2-x^3)).series(x, 40).coefficients(x, sparse=False) # G. C. Greubel, Apr 22 2019

STATUS

approved

editing

#20 by Charles R Greathouse IV at Tue Mar 22 18:51:30 EDT 2016
STATUS

editing

approved

#19 by Charles R Greathouse IV at Tue Mar 22 18:50:35 EDT 2016
FORMULA

O.g.f.: (3-2*x-3*x^2)/(1-x-x^2-x^3). a(n)= A001644(n) - 2*A000073(n). [From _- _R. J. Mathar_, Aug 22 2008]

PROG

(PARI) a(n)=([0, 1, 0; 0, 0, 1; 1, 1, 1]^n*[3; 1; 1])[1, 1] \\ Charles R Greathouse IV, Mar 22 2016

STATUS

approved

editing

#18 by Charles R Greathouse IV at Sat Jun 13 00:52:39 EDT 2015
LINKS

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

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

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

Discussion
Fri Jun 12
15:32
OEIS Server: https://oeis.org/edit/global/2437