2026-07-072026-07-07http://salesiana.dossiersoluciones.com/handle/123456789/115212We count the number of occurrences of restricted patterns of length 3 in permutations with respect to length and the number of cycles. The main tool is a bijection between permutations in standard cycle form and weighted Motzkin paths.13 pages, 1 figureCombinatorics05C05; 05C15Permutations, cycles, and the pattern 2-13text