optimized_wilson_test
Test if an integer is prime using Wilson's theorem with an optimized pairing technique for improved computational performance.
Instructions
Optimized Wilson's theorem test using pairing technique for better performance. (Domain: arithmetic, Category: wilson_theorem)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |