Since Anna is either grouping them as single rock or as group of 10, we need to find the maximum number of groups of 10 as follows: 38/10 = 3.8
This means that Anna can make maximum 3 groups of 10 rocks.
Based on this, the different ways to group the rocks are as follows:
- 3 groups of 10 and 8 (which are calculated as: 38-30) single rocks
- 2 groups of 10 and 18 (which are calculated as: 38-20) single rocks
- 1 group of 10 and 28 (which are calculated as: 38-10) single rocks
- 0 group of 10 and 38 (which are calculated as: 38-0) single rocks