Baby hasnt pooped in 3 days

Y.K.
My baby is 5 weeks old and is BF AND formula fed and hasnt pooped in 3 days. Has been passing a lot of gas though. Is this something to be concerned about? Ive read other articles but they only talk about exclusive BF OR formula.