verify_period
Presented period: a^r == 1 (mod N), gcd(a,N)=1, and none of the posted proper_divisors is itself a period (the order claim). All four fields are required: a, N, r, proper_divisors - e.g. a=2, N=15, r=4, proper_divisors=1,2 -> WIN 'a^4 == 1 mod 15'. A call missing one returns REFUSED_NO_INSTANCE naming the missing field. Does not search for r. Floats refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| N | Yes | modulus, decimal, e.g. 15 | |
| a | Yes | base, coprime with N, decimal, e.g. 2 | |
| r | Yes | the presented period: a^r == 1 (mod N), decimal, e.g. 4 | |
| proper_divisors | Yes | REQUIRED on the wire: comma-separated proper divisors of r that must NOT be periods (that is the order claim), e.g. 1,2 for r=4. Absent -> REFUSED_NO_INSTANCE 'missing proper_divisors' |