考慮順序的排列,數學0-9,6000種;數學1-9,3750種。
如果只是組合,那就少很多,數學0-9,102種;數學1-9,70種。
{{1,1,3,9,9},{1,1,4,8,9},{1,1,5,7,9},{1,1,5,8,8},{1,1,6,6,9},{1,1,6,7,8},{1,1,7,7,7},{1,2,2,9,9},{1,2,3,8,9},{1,2,4,7,9},{1,2,4,8,8},{1,2,5,6,9},{1,2,5,7,8},{1,2,6,6,8},{1,2,6,7,7},{1,3,3,7,9},{1,3,3,8,8},{1,3,4,6,9},{1,3,4,7,8},{1,3,5,5,9},{1,3,5,6,8},{1,3,5,7,7},{1,3,6,6,7},{1,4,4,5,9},{1,4,4,6,8},{1,4,4,7,7},{1,4,5,5,8},{1,4,5,6,7},{1,4,6,6,6},{1,5,5,5,7},{1,5,5,6,6},{2,2,2,8,9},{2,2,3,7,9},{2,2,3,8,8},{2,2,4,6,9},{2,2,4,7,8},{2,2,5,5,9},{2,2,5,6,8},{2,2,5,7,7},{2,2,6,6,7},{2,3,3,6,9},{2,3,3,7,8},{2,3,4,5,9},{2,3,4,6,8},{2,3,4,7,7},{2,3,5,5,8},{2,3,5,6,7},{2,3,6,6,6},{2,4,4,4,9},{2,4,4,5,8},{2,4,4,6,7},{2,4,5,5,7},{2,4,5,6,6},{2,5,5,5,6},{3,3,3,5,9},{3,3,3,6,8},{3,3,3,7,7},{3,3,4,4,9},{3,3,4,5,8},{3,3,4,6,7},{3,3,5,5,7},{3,3,5,6,6},{3,4,4,4,8},{3,4,4,5,7},{3,4,4,6,6},{3,4,5,5,6},{3,5,5,5,5},{4,4,4,4,7},{4,4,4,5,6},{4,4,5,5,5}}
考慮順序的排列,數學0-9,6000種;數學1-9,3750種。
如果只是組合,那就少很多,數學0-9,102種;數學1-9,70種。
{{1,1,3,9,9},{1,1,4,8,9},{1,1,5,7,9},{1,1,5,8,8},{1,1,6,6,9},{1,1,6,7,8},{1,1,7,7,7},{1,2,2,9,9},{1,2,3,8,9},{1,2,4,7,9},{1,2,4,8,8},{1,2,5,6,9},{1,2,5,7,8},{1,2,6,6,8},{1,2,6,7,7},{1,3,3,7,9},{1,3,3,8,8},{1,3,4,6,9},{1,3,4,7,8},{1,3,5,5,9},{1,3,5,6,8},{1,3,5,7,7},{1,3,6,6,7},{1,4,4,5,9},{1,4,4,6,8},{1,4,4,7,7},{1,4,5,5,8},{1,4,5,6,7},{1,4,6,6,6},{1,5,5,5,7},{1,5,5,6,6},{2,2,2,8,9},{2,2,3,7,9},{2,2,3,8,8},{2,2,4,6,9},{2,2,4,7,8},{2,2,5,5,9},{2,2,5,6,8},{2,2,5,7,7},{2,2,6,6,7},{2,3,3,6,9},{2,3,3,7,8},{2,3,4,5,9},{2,3,4,6,8},{2,3,4,7,7},{2,3,5,5,8},{2,3,5,6,7},{2,3,6,6,6},{2,4,4,4,9},{2,4,4,5,8},{2,4,4,6,7},{2,4,5,5,7},{2,4,5,6,6},{2,5,5,5,6},{3,3,3,5,9},{3,3,3,6,8},{3,3,3,7,7},{3,3,4,4,9},{3,3,4,5,8},{3,3,4,6,7},{3,3,5,5,7},{3,3,5,6,6},{3,4,4,4,8},{3,4,4,5,7},{3,4,4,6,6},{3,4,5,5,6},{3,5,5,5,5},{4,4,4,4,7},{4,4,4,5,6},{4,4,5,5,5}}