A306235 Indices in A306428 of permutations t with a finite number of nonfixed points and such that t_i - t_j <> j - i for any distinct i and j (see Comments for precise definition).
0, 2, 4, 7, 8, 14, 15, 24, 28, 32, 33, 39, 48, 56, 60, 63, 64, 72, 80, 87, 96, 104, 111, 121, 122, 127, 134, 135, 138, 140, 142, 147, 150, 156, 159, 160, 168, 176, 184, 185, 192, 202, 207, 242, 246, 247, 258, 277, 296, 312, 314, 316, 318, 322, 326, 327, 333, 366, 367, 385, 414, 415, 416, 420, 423, 426, 428, 432, 438, 443, 447, 504, 505, 506, 536, 537, 540, 567, 569, 602, 604, 628, 660
Offset: 1
Keywords
Examples
For N = 6, there are 83 matrices in which the sums of the entries of each northeast-southwest diagonal are 0 or 1. Also, for N = 6, there are 4 ways to place 6 nonattacking queens on a 6 X 6 board. Finally, the solutions for N = 6 are 150, 296, 423 and 569 (positions within the ordered permutations, see A306428). 150 = (2,4,6,1,3,5); O O O X O O X O O O O O O O O O X O O X O O O O O O O O O X O O X O O O 296 = (3,6,2,5,1,4); O O O O X O O O X O O O X O O O O O O O O O O X O O O X O O O X O O O O 423 = (4,1,5,2,6,3); O X O O O O O O O X O O O O O O O X X O O O O O O O X O O O O O O O X O 569 = (5,3,1,6,4,2); O O X O O O O O O O O X O X O O O O O O O O X O X O O O O O O O O X O O
Links
- Wikipedia, Factorial number system
Comments