Layers of generality and types of generalization in pattern activities · Study