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)
“And when all bodies meet
In Lethe to be drowned,
Then only numbers sweet
With endless life are crowned.”
—Robert Herrick (15911674)