Computer is a modern day invention integrated with mathematics, engineering, and logics. The purpose of this study is to examine mathematicians' roles and influences on the invention, establishment, and developments of computers, particularly in the areas of hardware and software, and to emphasize the importance of mathematics on the computer sciences. To implement these purposes, this study firstly examines the mathematicians based on the period. Secondly from the mathematicians' roles in the development of programming, the correlation between mathematics and computers has been investigated. Finally, mathematicians who gave influence on establishing the current development of computer science are highlighted.