Minor debate raging in the court reporting community over the total number of possible strokes (distinct combinations of keys in a fixed order) on the standard machine shorthand (stenograph) machine.
The rules are:
1. There are 22 keys on the keyboard.
2. A stroke is formed by combining any number of keys between 1 and 22.
3. Order matters.
4. No repetition.
Extra credit: Newer stenograph machines have optional features. What if there are 23, 24, 25, 26, or 27 keys?
Note: You don't need to know anything about the stenograph machine to solve the math above, and an explanation of stenography will probably confuse rather than clarify. But here it is:
Yes, there's an S (and T and P and R) on both the left and right side of the keyboard. But they are different keys!
Each key has its own column from left to right. Each row constitutes one stroke.
So a single stroke can contain any of the following in this order: S, T, K, P, W, H, R, A, O, *, E, U, -F, -R, -P, -B, -L, -G, -T, -S, -D, -Z.