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:

    Every perversion has survived many tests of its capabilities.
    Mason Cooley (b. 1927)

    All experience teaches that, whenever there is a great national establishment, employing large numbers of officials, the public must be reconciled to support many incompetent men; for such is the favoritism and nepotism always prevailing in the purlieus of these establishments, that some incompetent persons are always admitted, to the exclusion of many of the worthy.
    Herman Melville (1819–1891)