  We consider cosmological properties of modified gravity with nonlocal term $
R^p\mathcal{F}(\Box)R^q$ in its Lagrangian. Equations of motion are presented.
For the flat FLRW metric, and some particular values of natural numbers $p$ and
$q$ cosmological solutions of the form $a(t)= C e^{- \frac \gamma{12}t^2}$ are
found.
