Given:
Markers are sold in packages of 12 and pens are sold in packages of 8.
To find:
Least amount of markers and pens Rick needs to buy to have an equal number of markers and pens
Solution:
To find the least amount of markers and pens, we need to find the LCM of 12 and 8.
Prime factors of 8 and 12 are
[tex]8=2\times 2\times 2[/tex]
[tex]12=2\times 2\times 3[/tex]
To find the LCM, multiply all factors but the common factors are included only once.
[tex]LCM(8,12)=2\times 2\times 2\times 3[/tex]
[tex]LCM(8,12)=24[/tex]
Therefore, the least amount of markers and pens Rick needs to buy to have an equal number of markers and pens is 24.