Can the chi squared test detect fake primes?

1 · John Cook · Aug. 21, 2023, 11:37 p.m.
This morning I wrote about Dan Piponi’s fake prime function. This evening I thought about it again and wondered whether the chi-squared test could tell the difference between the distribution of digits in real primes and fake primes. When data fall into a number of buckets, with a moderate number of items expected to fall […] The post Can the chi squared test detect fake primes? first appeared on John D. Cook....