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:

    The cinema is going to form the mind of England. The national conscience, the national ideals and tests of conduct, will be those of the film.
    George Bernard Shaw (1856–1950)

    And when all bodies meet
    In Lethe to be drowned,
    Then only numbers sweet
    With endless life are crowned.
    Robert Herrick (1591–1674)