Use Cases to identify the sublists, within the list below, that contain an integer and its square somewhere in the list. (Hint: Use the BlankNullSequence and the named BlankSequence patterns with a Condition).
list={{6,3,2,4},{3,9,5},{1,7,2},{16,5,4},{49,7},{1,3,1},{3,2,7}};
While the earlier question (Cases to identify integers within a list) did help identify the list that contain an integer, but failed to figure out how BlankNullSequence and named BlankSequence patterns can identify the lists that contain an integer and its square somewhere in the list.