First 17 years and last 17 years
Joseph lived with his father Jacob for the first 17 years of his life (Gen. 37:2),
And Joseph’s father Jacob who loved Joseph more than his other sons (v. 3)
lived with him together last 17 years of his life (47:28).