A company is selling car batteries. Type A battery sells for $\$1200$ while type B sells for $\$700$ dollars. The company collects $\$32100$ for that month, but there was a critical error in their database and they could not see how many of each battery they sold. They come to you as a statistician to find out how can they find out how many of each battery type they sold in order to replenish their stock properly.
They want you to find out all the possible ways that the batteries could be bought. How would you go about completing your task if you are to present your solution to them in two different ways? They have specified that you are to use modular arithmetic in one solution since it provides an advantage in accuracy since it makes exponent problems easier.
What is the other method? I already know the modular arithmetic method? Any suggestions? Thanks