%I #19 Aug 18 2020 13:23:05
%S 1,3,11,50,74,172,564,2400,2976,6528,20736,86400,100224,214272,670464,
%T 2764800,3096576,6524928,20238336,82944000,90906624,189775872,
%U 585252864,2388787200,2579890176,5350883328,16434855936,66886041600
%N (n-1)-st elementary symmetric function of the first n terms of (1,2,3,4,1,2,3,4,1,2,3,4,...) = A010883.
%H <a href="/index/Rec#order_08">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,48,0,0,0,-576).
%F G.f.: x*(36*x^6 + 28*x^5 + 26*x^4 + 50*x^3 + 11*x^2 + 3*x + 1) / (24*x^4 - 1)^2. - _Colin Barker_, Aug 15 2014
%e Let esf abbreviate "elementary symmetric function". Then
%e 0th esf of {1}: 1;
%e 1st esf of {1,2}: 1+2 = 3;
%e 2nd esf of {1,2,3} is 1*2 + 1*3 + 2*3 = 11.
%t f[k_] := 1 + Mod[k + 3, 4]; t[n_] := Table[f[k], {k, 1, n}]
%t a[n_] := SymmetricPolynomial[n - 1, t[n]]
%t Table[a[n], {n, 1, 33}] (* A203163 *)
%t LinearRecurrence[{0,0,0,48,0,0,0,-576},{1,3,11,50,74,172,564,2400},50] (* _Harvey P. Dale_, Aug 18 2020 *)
%o (PARI) Vec(x*(36*x^6+28*x^5+26*x^4+50*x^3+11*x^2+3*x+1)/(24*x^4-1)^2 + O(x^100)) \\ _Colin Barker_, Aug 15 2014
%Y Cf. A010883, A203162, A203164, A203165.
%K nonn,easy
%O 1,2
%A _Clark Kimberling_, Dec 30 2011
|