Final answer:
The least number of packs needed to have an equal number of marshmallows and chocolate squares is 3 packs of chocolate squares and 2 packs of marshmallows, based on the least common multiple of 10 and 15, which is 30.
Step-by-step explanation:
To determine the least amount of packs of each you would need to buy to have the same number of individual marshmallows and chocolate squares, we need to find the least common multiple (LCM) of 10 and 15. The LCM of 10 and 15 is the smallest number that is a multiple of both 10 and 15.
The multiples of 10 are 10, 20, 30, 40, 50, ... and the multiples of 15 are 15, 30, 45, 60, .... The first common multiple of both 10 and 15 is 30. Therefore, the LCM of 10 and 15 is 30.
To have an equal number of chocolate squares and marshmallows, the store would need to sell 3 packs of chocolate squares (because 3 packs × 10 squares per pack = 30 squares) and 2 packs of marshmallows (because 2 packs × 15 marshmallows per pack = 30 marshmallows).