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)
“I had a feeling that out there, there were very poor people who didnt have enough to eat. But they wore wonderfully colored rags and did musical numbers up and down the streets together.”
—Jill Robinson (b. 1936)