Number theory and differential equations