algorithm vs luck out

algorithm

noun
  • A collection of ordered steps that solve a mathematical problem. A precise step-by-step plan for a computational procedure that possibly begins with an input value and yields an output value in a finite number of steps. 

luck out

verb
  • To be unfortunate or unlucky; to run out of luck. 

  • To experience great luck; to be extremely fortunate or lucky. 

How often have the words algorithm and luck out occurred in a corpus of books? (source: Google Ngram Viewer )