Here's a problem I've solved:
Count permutations of $\{1,2,...,7\}$ without 4 consecutive numbers (e.g. 1,2,3,4).
So I did it kinda brute-force way - let $A_i$ be the set of permutations of $[7]$, where $i,i+1,i+2,i+3$ are consecutive numbers. Only $A_1,A_2,A_3,A_4$ are non-empty, so we can use inclusion-exclusion principle. So, if $S_0$ is the set of all permutations of $[7]$ and $S_j=\sum_{i_1\leq i_2 \leq ...\leq i_j} |A_{i_1} \cup A_{i_2} \cup ... \cup A_{i_j}|$, then we can easily count that $S_1 = 4 * 4!$ (choose which number starts block of 4 consecutive numbers (4 choices), then permute this block and 3 remaining numbers in $4!$ ways), $S_4 = 1$, and for $S_2, S_3$ I've used brute-force - I listed all possible set arrangements and counted them by hand (there are only $\binom{4}{2}+\binom{4}{3}$ cases to consider). Then the answer is $S_0-S_1+S_2-S_3+S_4$ by inclusion-exclusion principle.
The question is - can the brute-force part of the solution be omitted? Is there any smarter way to do this?
Here's another semi-brutish way of counting the number of permutations that include a run of four consecutive numbers.
Note that for any permutation $abcdefg$ with a run of four consecutive numbers, the middle number $d$ must participate in the run. Let $n_i$ be the number of such permutations in which the middle number is $i$, for $i=1$ to $7$. A modest amount of brute force gives
$$n_1+n_2+n_3+n_4+n_5+n_6+n_7=6+10+14+18+14+10+6=78$$
One sanity check is that $n_{8-i}=n_i$. This is because subtracting each number in a permutation from $8$ and then writing the permutation backwards preserves consecutive runs.
Just to show this isn't completely brute force, here's the corresponding answer for permutations of the numbers $1$ to $9$ with a run of five consecutive numbers, presented in a suggestive form:
$$4!+(4!+1\cdot3\cdot3!)+(4!+2\cdot3\cdot3!)+(4!+3\cdot3\cdot3!)\\+(4!+4\cdot3\cdot3!)\\+(4!+3\cdot3\cdot3!)+(4!+2\cdot3\cdot3!)+(4!+1\cdot3\cdot3!)+4!$$
It should be reasonably clear this leads to a simple formula for the number of permutations of the numbers $1$ to $2n-1$ with a run of $n$ consecutive numbers:
$$(n^2-n+1)(n-1)!$$