News for hackers. Stuff that matters.
Re:A regular expression to check for prime numbers by kaba0 on Wednesday June 21, 2023 @05:57AM (#36416553)
A finite state machine can’t have infinite state space.. also, you can write a finite Turing program that does exactly that, but you can’t write a finite description of an “infinite” state space, which is the whole point.

Ad absurdum everything would be computable (recognizable) by FSMs, simply by listing all the infinite number of possibilities. listOfAllPrimes.concat(“|”), here you are..

There are no comments on this comment yet.