searching p-triples and number crossword solving