is_fermat_pseudoprime
Check if a number is a Fermat pseudoprime to a specified base, verifying primality properties in arithmetic computations.
Instructions
Check if n is a Fermat pseudoprime to base a. (Domain: arithmetic, Category: pseudoprimes)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| a | Yes |