321-avoiding and parity-alternating permutations
@PerAlexandersson Here are the values through n=29 (more or less the limit of my patience at this point) using a simple DFS (there are ways to refine it which would dig out more terms but I'm not sure it's worth it). Incidentally, it appears the exponential growth rate is about 2 which would make sense from the heuristic that each element has a 1/2 chance of being the right parity, so we expect about 4^n/2^n. 1, 1, 1, 1, 2, 3, 6, 11, 22, 44, 89, 185, 382, 808, 1702, 3635, 7779, 16736, 36229, 78466, 171238, 373203, 819186, 1795611, 3958662, 8721086, 19294525, 42691298, 94733886, 210379132