Mathematical astronomy for amateurs