They are for reference.
Latin texts are often divided into books, chapters, and shorter sections (lines or sentences or a bit more, depending), each of those things being given a number. In your attachment, the numbers that are in a larger font (17 and 103) are chapter numbers, and smaller ones are ones of shorter sections.