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:
“From a hasty glance through the various tests I figure it out that I would be classified in Group B, indicating Low Average Ability, reserved usually for those just learning to speak the English Language and preparing for a career of holding a spike while another man hits it.”
—Robert Benchley (18891945)
“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 (18191891)