Recurrence relations in counting the pattern 13-2 in flattened   permutations
  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. 
Toufik Mansour and David G.L. Wang
math.CO