(short)(-15074)
2009-05-05 11:47:11 UTC
a+b+c=10
a,b,c小於等於6
整數解有多少組?
謝謝
(6,6,-2),(6,5,-1),(6,4,0),...,(6,-2,6) //9組a,b,c小於等於6
整數解有多少組?
謝謝
(5,6,-1),(5,5,0),(5,4,1),...,(5,-1,6) //8組
(4,6,0),(4,5,1),(4,4,2),...,(4,0,6) //7組
...
(-2,6,6) //1組
總計1+2+3+...+9=45組
---
如果只要正整數的話
(6,3,1) 排列6組
(6,2,2) 排列3組
(5,4,1) 6
(5,3,2) 6
(4,4,2) 3
(4,3,3) 3
總計27組
--
"LPH" is for "Let Program Heal us".....||
--
[32m※ Origin: 交大次世代(bs2.to)[m
◆ From: wlan.csie.ntu.edu.tw