194. Was Abiathar the father or the son of Ahimelech?

Abiathar was the son of Ahimelech.

And one of the sons of Ahimelech the son of Ahitub, named Abiathar. 1 Samuel 22:20

Abiathar the son of Ahimelech. 1 Samuel 23:6

Abiathar was the father of Ahimelech.

Ahimelech the son of Abiathar. 2 Samuel 8:17, 1 Chronicles 18:16, 24:6

Christian Response
SAB: A Response
Creation Liberty Evangelism
Is the Bible contradictory?
Christ Created
On The Line Ministries

Note from The Harper Collins Study Bible for 2 Samuel 8:17: "Two high priests served simultaneously during David's reign. One was Zadok .... The other was not Ahimelech son of Abiathar but Abiathar son of Ahimeleck, as shown clearly by 15:24, 29, 35; 17:15; 19:11; the mistake in the present passage is replicated in 1 Chr 18:16 but not in 2 Sam 20:25."