fibonacci_sequence
Generate Fibonacci numbers and optionally check whether a given number belongs to the Fibonacci sequence.
Instructions
Generate Fibonacci numbers and optionally check if a number is Fibonacci.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | How many Fibonacci numbers (1-100, default 10). | |
| check | No | Optional number to test if it is a Fibonacci number. |