This Bible contradiction is from the Skeptic's Annotated Bible.
18 generations from David to Jeconiah.
1 Chronicles 3:1-16 View context
Now these were the sons of David ...
And Solomon's son was Rehoboam,
Abia his son,
Asa his son,
Jehoshaphat his son,
Joram his son,
Ahaziah his son,
Joash his son,
Amaziah his son,
Azariah his son,
Jotham his son,
Ahaz his son,
Hezekiah his son,
Manasseh his son,
Amon his son,
Josiah his son.
And the sons of Josiah were ... Jehoiakim ...
And the sons of Jehoiakim: Jeconiah his son.
14 generations from David to Jeconiah.
Matthew 1:6-11 View context
And Jesse begat David the king;
and David the king begat Solomon of her that had been the wife of Urias;
And Solomon begat Roboam;
and Roboam begat Abia;
and Abia begat Asa;
And Asa begat Josaphat;
and Josaphat begat Joram;
and Joram begat Ozias;
And Ozias begat Joatham;
and Joatham begat Achaz;
and Achaz begat Ezekias;
And Ezekias begat Manasses;
and Manasses begat Amon; and Amon begat Josias;
And Josias begat Jechonias and his brethren, about the time they were carried away to Babylon.
So all the generations from Abraham to David are fourteen generations; and from David until the carrying away into Babylon are fourteen generations; and from the carrying away into Babylon unto Christ are fourteen generations. Matthew 1:17
Here's a table compariing the two lists.
|Generations from David to the Babylonian Captivity|