1元,2元,5元和人民币若干张,要拿38元,有多少种不同的拿法。
- 提问者网友:风月客
- 2021-06-03 13:12
- 五星知识达人网友:酒醒三更
- 2021-06-03 13:24
an=取整((38-3n)/2) (n=0,1,2,3,4,5,6,7)
sn=西格玛an=19+17+16+14+13+11+10+8=(19+16+13+10)+(17+14+11+8)=58+50=108种
- 1楼网友:撞了怀
- 2021-06-03 13:39
X+2y+5Z=38
X,Y,Z是正整数或零
9个:(1,1,7)
10个:(0,4,6),(3,0,7)
11个:(2,3,6)
12个:(4,2,6),(1,6,5)
13个:(6,1,6),(3,5,5),(0,9,4)
14个:(8,0,6),(5,4,5),(2,8,4)
15个:(7,3,5),(4,7,4),(1,11,3)
16个:(9,2,5),(6,6,4),(3,10,3),(0,14,2)
17个:(11,1,5),(8,5,4),(5,9,3),(2,13,2)
18个:(13,0,5),(10,4,4),(7,8,3),(4,12,2),(1,16,1)
19个:(12,3,4),(9,7,3),(6,11,2),(3,15,1),(0,19,0)
20个:(14,2,4),(11,6,3),(8,10,2),(5,14,1),(2,18,0)
21个:(16,1,4),(13,5,3),(10,9,2),(7,13,1),(4,17,0)
22个:(17,2,3),(18,0,4),(15,4,3),(12,8,2),(9,12,1),(6,16,0)
23个:(14,7,2),(11,11,1),(8,15,0)
24个:(19,2,3),(16,6,2),(13,10,1),(10,14,0)
25个:(21,1,3),(18,5,2),(15,9,1),(12,13,0)
26个:(23,0,3),(17,8,1),(14,12,0)
27个:(26,1,0),(22,3,2),(19,7,1),(16,11,0)
28个:(24,2,2),(21,6,1),(20,4,2),(18,10,0)
29个:(23,5,1),(20,9,0)
30个:(28,0,2),(25,4,1),(22,8,0)
31个:(27,3,1),(24,7,0)
32个:(31,1,1),(29,2,1)
33个:(28,5,0)
34个:(33,0,1),(30,4,0)
35个:(32,3,0)