This Bible contradiction is from the Skeptic's Annotated Bible.
Verses
Solomon
Matthew 1:6-7 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;
Nathan
Luke 3:31 View context
Which was [the son] of Melea, which was [the son] of Menan, which was [the son] of Mattatha, which was [the son] of Nathan, which was [the son] of David,