796900domain: NAppears in sequencesa(n) is the number of permutations of [n] that avoid 312 and 4321 and whose square avoids 231.at n=18A381858