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:

    “It is not the literal past that rules us, save, possibly, in a biological sense. It is images of the past.... Each new historical era mirrors itself in the picture and active mythology of its past or of a past borrowed from other cultures. It tests its sense of identity, of regress or new achievement against that past.”
    —George Steiner (b. 1929)

    “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)