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:
“What is a novel? I say: an invented story. At the same time a story which, though invented has the power to ring true. True to what? True to life as the reader knows life to be or, it may be, feels life to be. And I mean the adult, the grown-up reader. Such a reader has outgrown fairy tales, and we do not want the fantastic and the impossible. So I say to you that a novel must stand up to the adult tests of reality.”
—Elizabeth Bowen (18991973)
“Im not even thinking straight any more. Numbers buzz in my head like wasps.”
—Kurt Neumann (19061958)