3:1 These are the sons of David who were born to him in Hebron: the firstborn, Amnon, by Ahinoam the Jezreelite; the second, Daniel, by Abigail the Carmelite, 2 the third, Absalom, whose mother was Maacah, the daughter of Talmai, king of Geshur; the fourth, Adonijah, whose mother was Haggith; 3 the fifth, Shephatiah, by Abital; the sixth, Ithream, by his wife Eglah; 4 six were born to him in Hebron, where he reigned for seven years and six months. And he reigned thirty-three years in Jerusalem. 5 These were born to him in Jerusalem: Shimea, Shobab, Nathan and Solomon, four by Bath-shua, the daughter of Ammiel; 6 then Ibhar, Elishama, Eliphelet, 7 Nogah, Nepheg, Japhia, 8 Elishama, Eliada, and Eliphelet, nine. 9 All these were David's sons, besides the sons of the concubines, and Tamar was their sister.
10 The son of Solomon was Rehoboam, Abijah his son, Asa his son, Jehoshaphat his son, 11 Joram his son, Ahaziah his son, Joash his son, 12 Amaziah his son, Azariah his son, Jotham his son, 13 Ahaz his son, Hezekiah his son, Manasseh his son, 14 Amon his son, Josiah his son. 15 The sons of Josiah: Johanan the firstborn, the second Jehoiakim, the third Zedekiah, the fourth Shallum. 16 The descendants of Jehoiakim: Jeconiah his son, Zedekiah his son; 17 and the sons of Jeconiah, the captive: Shealtiel his son, 18 Malchiram, Pedaiah, Shenazzar, Jekamiah, Hoshama and Nedabiah; 19 and the sons of Pedaiah: Zerubbabel and Shimei; and the sons of Zerubbabel: Meshullam and Hananiah, and Shelomith was their sister; 20 and Hashubah, Ohel, Berechiah, Hasadiah, and Jushab-hesed, five. 21 The sons of Hananiah: Pelatiah and Jeshaiah, his son  Rephaiah, his son Arnan, his son Obadiah, his son Shecaniah. 22 The son  of Shecaniah: Shemaiah. And the sons of Shemaiah: Hattush, Igal, Bariah, Neariah, and Shaphat, six. 23 The sons of Neariah: Elioenai, Hizkiah, and Azrikam, three. 24 The sons of Elioenai: Hodaviah, Eliashib, Pelaiah, Akkub, Johanan, Delaiah, and Anani, seven. (ESV)