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!)
A213578 Antidiagonal sums of the convolution array A213576. 3

%I #29 Sep 08 2022 08:46:02

%S 1,4,13,34,80,174,359,712,1371,2580,4768,8684,15629,27852,49225,86390,

%T 150704,261530,451795,777360,1332791,2277864,3882048,6599064,11191705,

%U 18940564,31992709,53943562,90807056,152631750,256190783

%N Antidiagonal sums of the convolution array A213576.

%H Clark Kimberling, <a href="/A213578/b213578.txt">Table of n, a(n) for n = 1..500</a>

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

%F a(n) = 4*a(n-1) - 4*a(n-2) - 2*a(n-3) + 4*a(n-4) - a(n-6).

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

%F a(n) = n*F(n+4) - 2*(F(n+5) - n - 5), F = A000045. - _Ehren Metcalfe_, Jul 05 2019

%t b[n_]:= n; c[n_]:= Fibonacci[n];

%t t[n_, k_]:= Sum[b[k-i] c[n+i], {i, 0, k-1}]

%t TableForm[Table[t[n, k], {n, 1, 10}, {k, 1, 10}]]

%t Flatten[Table[t[n-k+1, k], {n, 12}, {k, n, 1, -1}]] (* A213576 *)

%t r[n_] := Table[t[n, k], {k,40}] (* columns of antidiagonal triangle *)

%t d = Table[t[n, n], {n,1,40}] (* A213577 *)

%t s[n_] := Sum[t[i, n+1-i], {i, 1, n}]

%t s1 = Table[s[n], {n, 1, 50}] (* A213578 *)

%t (* alternate program *)

%t LinearRecurrence[{4,-4,-2,4,0,-1},{1,4,13,34,80,174},40] (* _Harvey P. Dale_, Jul 04 2019 *)

%o (Magma) [n*Fibonacci(n+4)-2*(Fibonacci(n+5)-n-5): n in [1..40]]; // _Vincenzo Librandi_, Jul 05 2019

%o (PARI) vector(40, n, n*fibonacci(n+4)-2*(fibonacci(n+5)-n-5)) \\ _G. C. Greubel_, Jul 05 2019

%o (Sage) [n*Fibonacci(n+4)-2*(Fibonacci(n+5)-n-5) for n in (1..40)] # _G. C. Greubel_, Jul 05 2019

%o (GAP) List([1..40], n-> n*Fibonacci(n+4)-2*(Fibonacci(n+5)-n-5)) # _G. C. Greubel_, Jul 05 2019

%Y Cf. A213576, A213500.

%K nonn,easy

%O 1,2

%A _Clark Kimberling_, Jun 18 2012

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 25 07:53 EDT 2024. Contains 371964 sequences. (Running on oeis4.)