Pentagonal Number - Tests For Pentagonal Numbers

Tests For Pentagonal Numbers

The simplest way to test whether a positive integer x is a (non-generalized) pentagonal number is by computing

If n is a natural number, then x is the nth pentagonal number. If n is not a natural number, then x is not pentagonal.

Read more about this topic:  Pentagonal Number

Famous quotes containing the words tests and/or numbers:

    One of the tests of the civilization of people is the treatment of its criminals.
    Rutherford Birchard Hayes (1822–1893)

    Publishers are notoriously slothful about numbers, unless they’re attached to dollar signs—unlike journalists, quarterbacks, and felony criminal defendents who tend to be keenly aware of numbers at all times.
    Hunter S. Thompson (b. 1939)