The Jains recognized five kinds of infinities. They had various rules regarding combinations and permutations. They concieved of large amounts of time. The founder of Jainism is said to have been a mathematician (the first time I am hearing this). Another prominent person is Bhadrabahu.
“Ancient Jaina Mathematics: an Introduction”:http://www.infinityfoundation.com/mandala/t_es/t_es_agraw_jaina_frameset.htm
bq. As mentioned before, the Jainas recognized five different kinds of infinity: infinity in one direction; infinity in two directions; infinity in area; infinity everywhere; and infinity perpetually. This is quite a revolutionary concept, as the Jainas were the first to discard the idea that all infinities were same or equal, an idea prevalent in Europe till the late 19th Century.