The Magic Squares (Alawvaq) known to mathematicians since the seventh century when brushed Arabs with other civilizations during deployment of Islam, especially with the Indians and Persians or cultures of South Asia They learned mathematics and astronomy from the Indians while other sources suggest that those ideas come from China, and began Alawvaq with pentagon and hexagon pattern appears in the Guinness in Baghdad in 883 AD, as the book contains messages Ikhwan al-Safa simple magic boxes were then known, dating back to innovations Arab mathematicians.