Numerical analysis of the generalized Starobinsky inflationary model