Registry API
oeis_code.registry
register(seq_id)
Decorator to register a sequence function in the registry.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
seq_id
|
str
|
The OEIS sequence identifier (e.g., 'A000045'). |
required |
Returns:
| Type | Description |
|---|---|
Callable[[Callable[..., Any]], Callable[..., Any]]
|
The decorator function. |