Editorial research note / Prime numbers under a resource gate
An exact ideal-count criterion for primes, beaten by a plain marker
- Question
- Do quadratic ideal counts give an exact, calculable prime criterion, and does it buy any computing resources?
- Result
- For every n > 1 coprime to 10, n is prime exactly when the largest of seven quadratic-character divisor sums equals 2. The same criterion holds on a smaller frame of units modulo 24, the least modulus with a rank-three cube of quadratic characters, and there only three of the seven sums need be evaluated for a given input. Every one of the 24,576 window cells matched deterministic Miller-Rabin, but a plain all-divisor composite marker was faster than either count decoder at every measured scale, and Miller-Rabin overtook the count decoders near 10^11; near 10^18 the seven-count decoder took 887.884 ms against 0.646 ms.
- Limits
- No literature-novelty or resource claim is attached. The criterion still needs divisor information, and the narrow wall-time edge near 10^10 came from scanning divisors once per window, not from the character law.
- Next question
- Can the same divisor statistic be evaluated without enumerating divisors? That stayed an open algorithmic question.
Domain of the criterion
Source & quoted measure
For every integer n > 1 coprime to 10,
Characters in the fixed rule
Source & quoted measure
The seven characters are necessary for this particular max=2 rule
Least modulus for the criterion
Source & quoted measure
24 is the least modulus supporting a rank-three cube of quadratic Dirichlet characters.
Characters needed per input
Source & quoted measure
but only three need be evaluated for a given input.
Window cells matching Miller-Rabin
Source & quoted measure
Every one of the 24,576 cells matched MR7 in all three direct implementations.
Where Miller-Rabin overtakes the count decoders
Source & quoted measure
MR7 overtakes the count decoders near 10^11 on this machine
Median wall time near 10^18: seven counts and Miller-Rabin (ms)
Source & quoted measure
| 10^18 | 887.884 | 888.242 | 857.718 | 0.646 | 2,504.784 |
Miller-Rabin near 10^18 (ms)
Source & quoted measure
| 10^18 | 887.884 | 888.242 | 857.718 | 0.646 | 2,504.784 |
Source of the edge near 10^10
Source & quoted measure
the narrow wall-time edge near 10^10 comes from scanning divisors once per window, not from the character law.
Provenance
What the retained source says.
The guide above is editorial. The passages below are source quotations. A fingerprint identifies the retained source bytes; it does not establish the scientific claim by itself. Availability is stated for each source.
01 / A seven-coordinate quadratic ideal-count law for primes
The maximum is never 2 for a composite, proving the criterion.