Construct an NFA over alphabet {, } that accepts all words with more a’s modulo 4 than b’s modulo 3. For example, “” is accepted as it has two a’s and one b. The word “” is accepted as it has six a’s and four b’s.
I must be missing something obvious, as any solution I come up with gets increasingly messy.
I would love to hear anyone else's solutions.
