pentagonal_number
Calculate the nth pentagonal number using the formula P_n = n(3n-1)/2 for arithmetic sequence applications.
Instructions
Calculate the nth pentagonal number P_n = n(3n-1)/2. (Domain: arithmetic, Category: basic_sequences)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes |