A famous theorem of Cantor is that the cardinality of the real numbers is larger than the cardinality of the natural numbers . In mathematics , cardinal numbers , or cardinals for short , are a generalization of the natural numbers used to measure the cardinality ( size ) of sets . The cardinality of a finite set is a natural number â `` the number of elements in the set .