  We prove that the generating function for the number of flattened
permutations having a given number of occurrences of the pattern 13-2 is
rational, by using the recurrence relations and the kernel method.
