is_fermat_prime
Check if a number is a Fermat prime (prime of form 2^(2^n) + 1) by providing the integer n to test primality for special prime numbers.
Instructions
Check if a number is a Fermat prime (prime of form 2^(2^n) + 1). (Domain: arithmetic, Category: special_primes)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |