Skip to content

Editorial research note / Prime numbers under a resource gate

An exact ideal-count criterion for primes, beaten by a plain marker

2026-10-02 · Git commit date of the document · result

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.
coprime to 10

Domain of the criterion

Source & quoted measure
For every integer n > 1 coprime to 10,

A seven-coordinate quadratic ideal-count law for primes

seven

Characters in the fixed rule

Source & quoted measure
The seven characters are necessary for this particular max=2 rule

A seven-coordinate quadratic ideal-count law for primes

24

Least modulus for the criterion

Source & quoted measure
24 is the least modulus supporting a rank-three cube of quadratic Dirichlet characters.

A seven-coordinate quadratic ideal-count law for primes

three

Characters needed per input

Source & quoted measure
but only three need be evaluated for a given input.

A seven-coordinate quadratic ideal-count law for primes

24,576

Window cells matching Miller-Rabin

Source & quoted measure
Every one of the 24,576 cells matched MR7 in all three direct implementations.

A seven-coordinate quadratic ideal-count law for primes

10^11

Where Miller-Rabin overtakes the count decoders

Source & quoted measure
MR7 overtakes the count decoders near 10^11 on this machine

A seven-coordinate quadratic ideal-count law for primes

887.884

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 |

A seven-coordinate quadratic ideal-count law for primes

0.646

Miller-Rabin near 10^18 (ms)

Source & quoted measure
| 10^18 | 887.884 | 888.242 | 857.718 | 0.646 | 2,504.784 |

A seven-coordinate quadratic ideal-count law for primes

10^10

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.

A seven-coordinate quadratic ideal-count law for primes

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

Selected source passage; full source not published

The maximum is never 2 for a composite, proving the criterion.

Source fingerprint · SHA-256 ad1d0a1ce06587aefdab6bbdb2d36c555915e4ba3895b0b022e8d0a52b477f15 · 22,792 bytes

A seven-coordinate quadratic ideal-count law for primes · excerpt

Research direction: Anthony Michael Collado.
Original credits remain with each source. Source passages, editorial guides and unreviewed source-index notes are distinguished in the research record.