I do not quite follow your notation, but if $A$ is your calculated periodic payment amount and you miss two payments, then the catch-up payment should be not $3A$ but perhaps $$A(1+i)^2+ A(1+i)+A= (3+3i+i^2)A$$ where $i$ is the effective interest rate per period.