Pattern recognition - number and shape patterns