33个数字不分先后选6个不能重复有多少组啊最好列出来啊
33个数字不分先后选6个不能重复有多少组啊最好列出来啊
38192组
0-9,10个数字6个数字一组 不能重复 有多少种组法? 请列出来!
10选6,数字不重复,有C(10,6)=10×9×8×7×6×5/6!=210种组合。
6个数中选4个不重复的数,有多少种,最好列出来,123456
1234,1235,1236,2134,2135,2136,·············
1-33共33个数字,三个一组,不重复有多少组呀?能用EXCEL个数字3个一组排列出来么?
Sub xx()
r = 1
For a = 1 To 31
For b = a + 1 To 32
For c = b + 1 To 33
Cells(r, 1) = a
Cells(r, 2) = b
Cells(r, 3) = c
r = r + 1
Next c, b, a
End Sub
1-16个数字中选出8个数字做为一组,不能有重复的,有多少组,能不能用EXCEL表把明细列出来
需用巨集来穷举列出,三步走:
1.alt+F11
2.双击左边工程框里的Sheet1,右边的编辑视窗中输入以下程式码:
Sub sa()
Dim i, j, k, l, n, o, m, p, q As Integer
q = 0
For i = 1 To 9
For j = i + 1 To 10
For k = j + 1 To 11
For l = k + 1 To 12
For m = l + 1 To 13
For n = m + 1 To 14
For o = n + 1 To 15
For p = o + 1 To 16
q = q + 1
Cells(q, 1).Value = i
Cells(q, 2).Value = j
Cells(q, 3).Value = k
Cells(q, 4).Value = l
Cells(q, 5).Value = m
Cells(q, 6).Value = n
Cells(q, 7).Value = o
Cells(q, 8).Value = p
Next
Next
Next
Next
Next
Next
Next
Next
End Sub
3.F5
3个数字共有多少种组合,数字可以重复,请列出来
一共有9^6=531441种如果你需要把所有的可能都列出来那么给你一段程式码,可以在excel中将全部可能在A~F列列出来但是,因为计算机速度问题以及组合数量的问题,运算时间会很长哦,中途中断可以用pause/break键停止SubRand_P()i=1Fora=3To11Forb=3To11Forc=3To11Ford=3To11Fore=3To11Forf=3To11Cells(i,1)=aCells(i,2)=bCells(i,3)=cCells(i,4)=dCells(i,5)=eCells(i,6)=fi=i+1NextNextNextNextNextNextEndSub
11个数字,任意两个一组,不分先后顺序,能组多少组
(11-1)*11=110(组)
1到22中选5个数字的组合有多少组?怎么列出来呢?急!
问题不详细:
没有排列顺序的话:(22*21*20*19*18)/(5*4*3*2*1)种
56789 这五个数字 三个数字一组、有多少种?可以全部列出来吗?
567,568,569,576,578,579,586,587,589,596,597,598,657,658,659,675,678,679,685,687,689,695,697,698,756,758,759,765,768,769,785,786,789,856,857,859,865,867,869,875,876,879,895,896,897,956,957,958,965,967,968,975,976,978,985,986,987。共57种
2024-09-23 广告