Bifurcation of a T-periodic flow towards an nT-periodic flow and their non-linear stabilities