Pattern avoidance word count calculator with automaton

Your numbers

Two to eight distinct single ASCII letters or digits.
One to twelve words, separated by spaces or commas; each at most 12 characters.
Integer 0–500. Includes any fixed prefix.
Leave blank for no fixed prefix. Uses alphabet characters only.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

QuickCalculators · Full calculator and methodology ↗