This is not a mathematical question!
The author of this chapter is not known for sure, but sources could be the Book of Jasher (Jashar), Samuel and Gad (seers) and Nathan the prophet. The narrative is king David’s adultery with Bathsheba and the subsequent conspiracy between David and his army commander Joab for Bathsheba’s husband Uriah to die in battle.