Pentagonal Number Calculator

Enter n to get P(n) = n(3n-1)/2, check if any integer is pentagonal, or generate a sequence of pentagonal numbers.

Formula: P(n) = n × (3n − 1) / 2

Formula Reference

General term P(n) = n(3n−1)/2
First term P(1) 1
Recurrence P(n) = P(n−1) + 3n−2
Reverse check (1+√(1+24x))/6 ∈ ℤ⁺

Enter a value and click Calculate

Copied!

Summary

Enter n to get P(n) = n(3n-1)/2, check if any integer is pentagonal, or generate a sequence of pentagonal numbers.

How it works

  1. Enter a positive integer n to compute the nth pentagonal number.
  2. The formula P(n) = n(3n-1)/2 is applied instantly in your browser.
  3. Use the sequence tab to list the first N pentagonal numbers.
  4. Use the reverse-check tab to test whether any integer is a pentagonal number.

Use cases

  • Verify pentagonal numbers for math homework or exams.
  • Explore polygonal number sequences for number theory research.
  • Generate pentagonal number sequences for programming challenges.
  • Check if a given integer belongs to the pentagonal sequence.
  • Understand the geometric connection to pentagons in combinatorics.

Frequently Asked Questions

Last updated: 2026-06-13 · Reviewed by Nham Vu