Babylonian Mathematics (2003) [pdf]
math.tamu.edu
math.tamu.edu
Possible explanations include either 1) that the numbers were corrupted, possibly when being converted from a sexagesimal system into decimal, or 2) that the author never intended the numbers to be "real" numbers in the sense we would understand them, but was instead intending to use a pattern to teach symbolic meaning. However, to my knowledge, nobody has ever offered a completely convincing interpretation of the puzzle. If #1 is correct, what were the original values and what was the process by which they were corrupted? If #2, what is the pattern that the author was constructing, and what is it intended to communicate?
Other genealogies in Genesis have similar weird features, and some have proposed theories that involve the other genealogies as well, but that's beyond the scope of this comment.
What are the odds of those 30 numbers all ending in some numbers in a random set of 5 single-digit numbers?
Also, considering all the numbers in the Bible, what are the odds that some arbitrarily chosen set of them will contain some sort of unusual pattern?
On the second question, considering "all the numbers in the Bible," an arbitrarily chosen number or set of numbers from the Bible will contain a pattern very, very often, because that's how people thought in that culture.
Jesus didn't have 12 disciples by accident. They symbolically represent the 12 tribes of Israel.
The genealogy in Matthew 1 doesn't contain 3 sets of 14 generations by accident. The author had to skip at least a few kings from the Jewish tradition to make it work out. And the fact that it's intentional is underscored by him explicitly saying "so, there were 3 sets of 14 generations..." (He's making a theological point, but the details of that aren't relevant to the question at hand.)
I could go on... Intentional numerical patterns are, in fact, quite common! And this gives us more, not less, reason to suspect that the Genesis 5 genealogy has an intentional pattern.
Here's [2] the article it's responding to with further tables.
1. https://www.asa3.org/ASA/PSCF/2004/PSCF6-04Johnson.pdf
2. http://www.spachurches.com/uploads/5/6/8/7/5687389/numbers_i...