Analysis of 1:4 resonance in a monopoly model with memory