For length n0..5 and one original permutation pattern of length1..4 on0..m-1, ge...
https://datenvertrag.halowerk.com/v1/classical-pattern-avoiding-permutation-familyOverview
For length n0..5 and one original permutation pattern of length1..4 on0..m-1, generate EVERY permutation of0..n-1 with no increasing index subsequence whose selected values have that pattern relative order. Gaps are allowed; this is classical, not consecutive pattern avoidance. Return all full permutations in numeric lexicographic order, count, and inversion_histogram indexed0..n*(n-1)/2 including zero bins.