is_polygonal_number
Determine if a number is a polygonal (s-gonal) number by testing its mathematical properties for given parameters.
Instructions
Check if a number is an s-gonal number. (Domain: arithmetic, Category: figurate_numbers)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| num | Yes | ||
| s | Yes |