Elementary school math problems, please help solve them. The solution is as simple as possible: there are 1g, 2g, 4g, 5g, 10g weights, which can be called as many or less different masses.
1g-22g can be weighed out, that is, 22 kinds.
1= 1
2=2
3= 1+2
4=4
5=5
6=2+4
7=2+5
8= 1+2+5
9=4+5
10= 10
1 1= 1+ 10
12=2+ 10
13= 1+2+ 10
14=4+ 10
15=5+ 10
16= 1+5+ 10
17=2+5+ 10
18= 1+2+5+ 10
19=4+5+ 10
20= 1+4+5+ 10
2 1=2+4+5+ 10
22= 1+2+4+5+ 10