Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It’s been a while since I took Theory of Computation. Does this imply that primes in binary or n-ary are also not regular?


You would need a different proof (likely a much more complicated one) for n-ary primes.


https://math.stackexchange.com/questions/1232463/how-to-prov... has a proof for base 2. This method works for other bases too.


Nice!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: