For example, 5 can be written as 5/1. The natural numbers, whole numbers, and integers are all subsets of rational numbers. In other words, an irrational number is a number that can not be written as one integer over another. It is a non-repeating, non-terminating decimal.