OFFSET
0,3
EXAMPLE
The a(2) = 2 through a(8) = 8 compositions:
(2) (3) (4) (5) (6) (7) (8)
(1,1) (1,3) (1,4) (1,5) (1,6) (1,7)
(2,2) (3,2) (4,2) (5,2) (6,2)
(1,2,1) (1,1,3) (1,2,4) (1,2,5)
(1,2,2) (1,3,3) (1,4,3)
(2,2,3) (3,2,3)
(1,2,3,1) (1,2,1,4)
(1,2,3,2)
MATHEMATICA
pnq[y_]:=Length[Select[Range[Length[y]], #!=y[[#]]&]];
Table[Length[Select[Join@@Permutations/@IntegerPartitions[n], pnq[#]==1&]], {n, 0, 15}]
CROSSREFS
Compositions with no nonfixed points are counted by A010054.
The version for weak excedances is A177510.
Compositions with no fixed points are counted by A238351.
The version for fixed points is A240736.
This is column k = 1 of A352523.
A011782 counts compositions.
A352513 counts nonfixed points in standard compositions.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Mar 29 2022
EXTENSIONS
More terms from Alois P. Heinz, Mar 30 2022
STATUS
approved