“…AB-AABB-AAABBB… = A n B n where n increases sequentially). A possibility, which has received some behavioural support, is that the human brain uses a “language of thought”, including such algebraic patterns, in order to compress deterministic sequences into a regular expression 29,35,74–76 . For simplicity, we manipulated here only repeated patterns of various lengths, but found, in line with a possible role of compression, that the barely compressible length-10 pattern AAABAABBAB was more often missed by subjects compared to the other two length-10 patterns, AABABABABB and AAAAABBBBB, which are more compressible ([A 2 , (BA) 2 , B 2 ] and [A 4 , B 4 ] respectively).…”