Answer:
Greatest sack = 42
1 candy bar and 3 lollipops
Step-by-step explanation:
Represent Candy bars with C and Lollipops with L
[tex]C = 42[/tex]
[tex]L= 126[/tex]
Solving (a): Greatest number of treat sacks
To solve this, we simply calculate the GCF of C and L
[tex]42 = 2^1 * 3^1 * 7^1[/tex]
[tex]126 = 2^1 * 3^2 * 7^1[/tex]
Hence, the GCF is
[tex]GCF = 2^1 * 3^1 * 7^1[/tex]
[tex]GCF = 42[/tex]
Hence, greatest number of sack is 42
Solving (b): Number of treat in each sack.
To do this, we simply divide the number of C and L by the calculated GCF
For C:
[tex]Treats = \frac{C}{GCF}[/tex]
[tex]Treats = \frac{42}{42}[/tex]
[tex]Treats = 1[/tex]
For L:
[tex]Treats = \frac{L}{GCF}[/tex]
[tex]Treats = \frac{126}{42}[/tex]
[tex]Treats = 3[/tex]
Hence, 1 candy bar and 3 lollipops