Red de conocimiento informático - Computadora portátil - Selecciona 6 números de 11 números para combinar. ¿Cómo enumeras los 6 números para cada combinación?

Selecciona 6 números de 11 números para combinar. ¿Cómo enumeras los 6 números para cada combinación?

Categoría: Educación/Ciencia gt; Ayuda para estudiar

Descripción de la pregunta:

De 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 Elija 6 números cualesquiera de estos 11 números para formar una combinación, como 1, 2, 3, 4, 5, 6 o 7, 8, 9, 10, 11, etc. Hay muchas situaciones para un dios. .

Si calculé correctamente, entonces cada grupo de 6 números debería ser (11×10×9×8×7)/(6×5×4×3×2)/(5×4×3×2). error de cálculo, ¿cómo puedo enumerar cada grupo de 6 números, como 1, 2, 3, 4, 5, 6 o 7, 8, 9, 10, 11? Sé que teóricamente se puede hacer a mano, pero es así. También es lento y es fácil omitir cálculos o cometer errores repetidos. ¿Cómo podemos hacerlo? O el error ocurre repetidamente. Por favor, dígame cómo utilizar algún programa o software de computadora para enumerar todas estas situaciones.

Respuesta:

Si sabes programar, puedes usar cualquier lenguaje y solo usar bucles.

El número total de combinaciones es: ¡5, 7! , 1, 2, 3, 4, 5, 8, 1, 2, 3, 4, 5, 9, 1, 2, 3, 4, 5, 10

1, 2, 3, 4 , 5, 11,1,2,3,4,6,7,1,2,3,4,6,8,1,2,3,4,6,9,1,2,3,4,6 ,10

1, 2, 3, 4, 6, 11, 1, 2, 3, 4, 7, 8, 1, 2, 3, 4, 7, 9, 1, 2, 3 , 4, 7, 10, 1, 2, 3, 4, 7, 11

1, 2, 3, 4, 8, 9, 1, 2, 3, 4, 8, 10, 1 , 2, 3, 4, 8, 11, 1, 2, 3, 4, 9, 10, 1, 2, 3, 4, 9, 11

1, 2, 3, 4, 10 , 11, 1, 2, 3, 5, 6, 7, 1, 2, 3, 5, 6, 8, 1, 2, 3, 5, 6, 9, 1, 2, 3, 5, 6, 10

1, 2, 3, 5, 6, 11, 1, 2, 3, 5, 7, 8, 1, 2, 3, 5, 7, 9, 1, 2, 3, 5 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