A301802 Number of permutations of {1, 2, ..., n} such that no k+2 points lie on a polynomial of degree k.
1, 1, 2, 4, 18, 48, 216, 584, 2870, 10408, 45244, 160248, 762554
Offset: 0
Examples
For n = 4, the 18 different permutations are: [1,2,4,3],[1,3,2,4],[1,3,4,2],[1,4,2,3],[2,1,3,4],[2,1,4,3], [2,3,1,4],[2,4,1,3],[2,4,3,1],[3,1,2,4],[3,1,4,2],[3,2,4,1], [3,4,1,2],[3,4,2,1],[4,1,3,2],[4,2,1,3],[4,2,3,1],[4,3,1,2].
Links
- Programming Puzzles & Code Golf Stack Exchange, Permutations such that no k+2 points fall on any polynomial of degree k
Crossrefs
Cf. A300002.
Extensions
a(0) and a(10)-a(12) from Peter J. Taylor, Mar 28 2018
Comments