# [seqfan] Re: Permutations along all diagonals and subdiagonals

Alois Heinz heinz at hs-heilbronn.de
Tue Jul 27 17:03:46 CEST 2010

```I get from your list gf:

-(-2097152*x^40 +1048576*x^38 -393216*x^36 +1900544*x^34 -679936*x^32
+806912*x^30 -946688*x^28 +470272*x^26 -485376*x^24 +246656*x^22 -62592*x^20
+65600*x^18 -33296*x^16 -4584*x^14 -5670*x^12 +4271*x^10 +1199*x^8 -194*x^6
-168*x^4 -21*x^2-1) *x^5 /
(-2097152*x^42 +1048576*x^40 +131072*x^38 +1638400*x^36 -581632*x^34
+536576*x^32 -811520*x^30 +301824*x^28 -362752*x^26 +220800*x^24 -34816*x^22
+54912*x^20 -39568*x^18 -5192*x^16 -5438*x^14 +4973*x^12 +1032*x^10 +79*x^8
-150*x^6 -21*x^4 -4*x^2+1)

with

100, 0,
101, 398020945513778002603282963385553237725204929,
102, 0,
103, 3290188934041086700727447096359003779561906441,
104, 0,
105, 27197923485440570038752034316392009581747900609,
106, 0,
107, 224828135024856900923318772255682077652501019241,
108, 0,
109, 1858512850284844583872247425942282243677927321601,
110, 0,
111, 15363157348131795911429964359652976271305102909449,
112, 0,
113, 126997563491305120618083093286937972551173399921025,
114, 0,
115, 1049809018241249208767522843678211322259369438889961,
116, 0,
117, 8678111173810910653533463216349883169772440082227009,
118, 0,
119, 71736489434229084504908585680927859826402385348390921,
120, 0
...

Ron Hardin schrieb:
> Good, I'll add it.  Try the nX4, in full
> 4 0
> 5 1
> 6 0
> 7 25
> 8 0
> 9 289
>

```