couldn't think of
A Tom no se le ocurría nada mejor que hacer.
Tom couldn't think of anything better to do.
A Tom no se le ocurría que debía regalarle a Mary en Navidad.
Tom couldn't think of what he should give Mary for Christmas.
A ella no se le ocurría qué darle a los niños para la navidad.
She couldn’t think of what to give the children for Christmas.