Baby constipation?

My LO is 7 weeks and he is on similac pro total comfort. He only poops every few days and when he does he has blowouts of dark green that smells horrible. Every once in a while he will start pooping and it’s dark green and turns into the yellow seedy poop. Then next poop it’s right back to the dark blowouts. Is this a form of constipation.. almost seems like the yellow seedy poop is what he is trying to get out

??