Matthew 1:6

and Jesse begat David the king. And David begat Solomon by the wife of Uriah.

Luke 3:31

who was the son of Melea, who was the son of Menna, who was the son of Mattatha, who was the son of Nathan, who was the son of David,

Treasury of Scripture Knowledge

Summary

Now these are the names of his children which he had in Jerusalem; Shammua, and Shobab, Nathan, and Solomon,

Nathan

Solomon

Bible References

Nathan

Luke 3:31
who was the son of Melea, who was the son of Menna, who was the son of Mattatha, who was the son of Nathan, who was the son of David,

Solomon

Matthew 1:6
and Jesse begat David the king. And David begat Solomon by the wife of Uriah.