Disquisitiones Arithmeticae is a book about number theory written by the German mathematician and scientist Carl Friedrich Gauss . The Disquisitiones Arithmeticae ( Latin for Number Research ) is a textbook of number theory written in Latin by Carl Friedrich Gauss in 1798 when Gauss was 21 and first published in 1801 when he was 24 .