Word problems related to periodic solutions of a non-autonomous system