hit on/upon (something)
случайно подумать о чём-либо
Tina hit upon the idea of aranging a garage sale, as she had a lot of things she didn't need.
случайно подумать о чём-либо