cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A381244 Number of regions in the arrangement of hyperplanes corresponding to the nonzero differences of two permutations of order n.

Original entry on oeis.org

1, 1, 2, 12, 3696
Offset: 0

Views

Author

Max Alekseyev, Feb 17 2025

Keywords

Comments

The number of distinct hyperplanes is given by A381243.

Crossrefs

Programs

  • Sage
    def a381244(n): return HyperplaneArrangements(QQ,tuple(f'x{i}' for i in range(n)))([[list(r),0] for p in Permutations(n) for r in Permutations([p[i]-i-1 for i in range(n)]) if vector(r)>0]).n_regions()