Slow-roll inflation in the (R + R4) gravity