I would doubt it's possible, considering the methods that we use to detect primes come down to brute force. It's hard to build an algorithm when we don't have a formal proof of how primes work/can be detected.
[1]https://en.wikipedia.org/wiki/AKS_primality_test
[2]https://en.wikipedia.org/wiki/Elliptic_curve_primality_provi...
[3]https://en.wikipedia.org/wiki/Adleman%E2%80%93Pomerance%E2%8...
CSS4, let's do it.
[0]: https://en.wikipedia.org/wiki/Primitive_recursive_function#C...
Rule110 (After setting first row requires alternation of tab/space to run): https://codepen.io/elrumordelaluz/pen/wqLyH?editors=010
stackoverflow discussion: https://stackoverflow.com/questions/2497146/is-css-turing-co...