came up with
¿A quién se le ocurrió invitar a Tom a mi fiesta?
Whose idea was it to invite Tom to my party?
A él se le ocurrió una buena solución.
He came up with a good solution.
¿Cómo demonios se le ocurrió lo de «compra uno y llévate cuatro»?
How the hell did he come up with “buy one, get four free”?
Es verdad, a ninguno se le ocurrió.
It's true, it didn't occur to any of them.
— Investigación sobre un ciudadano libre de toda sospecha (1970)
A ella se le ocurrió inesperadamente una buena idea.
She unexpectedly had a good idea.
Al final, a una de las dos se le ocurrió probar la operación al revés.
In the end, one of the two had the idea of trying the operation in reverse.
A Mary se le ocurrió una idea maravillosa.
Mary had a wonderful idea.
A Tom no se le ocurrió nada que decir.
Tom couldn’t think of anything to say.
Se le ocurrió una idea espléndida.
He had a splendid idea.