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!)
A107785 Sequence obtained using characteristic polynomial that is Laplace transform of the tribonacci characteristic polynomial: -s^4*L(t^3 -t^2 -t -1) = s^3 +s^2 +2*s -6. 1
0, 1, 1, 3, 7, 5, 37, 69, 35, 395, 739, 261, 4109, 8021, 1763, 42459, 87059, 8437, 437309, 942789, 17549, 4491883, 10183715, 1305243, 46013485, 109726261, 25530749, 470002683, 1179421747, 392600875, 4786258717, 12647990949 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
FORMULA
a(n) = abs(b(n)), where b(n) satisfies b(n) = -b(n-1) - 2*b(n-2) + 6*b(n-3), b(0) = 0, b(1)=b(2)=1.
a(n) = absolute value of the coefficients of the gf x*(1+2*x)/(1 +x +2*x^2 -6*x^3). - G. C. Greubel, May 15 2019
MATHEMATICA
(*first method*) F[1]=0; F[2]=1; F[3]=1; F[n_]:= F[n] = -F[n-1] -2*F[n-2] + 6*F[n-3]; Table[Abs[F[n]], {n, 1, 40}]
(*second method*) M = {{0, 1, 0}, {0, 0, 1}, {6, -2, -1}} v[1] = {0, 1, 1} v[n_] := v[n] = M.v[n - 1] a = Table[Abs[v[n][[1]]], {n, 1, 40}] Det[M - x*IdentityMatrix[3]]
Abs[CoefficientList[Series[x*(1+2*x)/(1+x+2*x^2-6*x^3), {x, 0, 40}], x]] (* G. C. Greubel, May 15 2019 *)
PROG
(PARI) my(x='x+O('x^40)); v=concat([0], Vec(x*(1+2*x)/(1 +x +2*x^2 - 6*x^3))); vector(#v, n, abs(v[n])) \\ G. C. Greubel, May 15 2019
(Magma) m:=40; R<x>:=PowerSeriesRing(Integers(), m); b:=Coefficients(R!( x*(1+2*x)/(1+x+2*x^2-6*x^3) )); [0] cat [Abs(b[n]): n in [1..m-1]]; // G. C. Greubel, May 15 2019
(Sage) m = 40; T = taylor(x*(1+2*x)/(1+x+2*x^2-6*x^3), x, 0, m); [T.coefficient(x, n).abs() for n in (0..m)] # G. C. Greubel, May 15 2019
CROSSREFS
Sequence in context: A106853 A352011 A083778 * A277207 A001663 A085052
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Jun 11 2005
EXTENSIONS
Edited by G. C. Greubel, May 15 2019
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 September 17 21:09 EDT 2024. Contains 375990 sequences. (Running on oeis4.)