Training

The table contains tennis training schedule for Saturday's younger students during the winter indoor season. Before the start of the summer season is preparing a new training schedule. Tomas Kucera will be able to practice only in the morning, sisters Kovacova will have to train in any order only one after one. Other students meet all times.

How many different schedules tennis training under these conditions can be created for these eight students?


9:00 to 9:55 Jana Abrahámová
10:00 to 10:55 Tomas Kucera
11:00 to 11:55 Beata Gross
12:00 to 12:55 Dana Ihringová
13:00 to 13:55 Ingrid Hájková
14:00 to 14:55 Katarina Kovacova
15:00 to 15:55 Zuzana Kovacova
16:00 to 16:55 Peter Valent


Correct answer:

x =  4080

Step-by-step explanation:

Program in PHP:
for($a=1;$a<=8;$a++) {
    for($b=1;$b<=8;$b++) {
        for($c=1;$c<=8;$c++) {
            for($d=1;$d<=8;$d++) {
                for($e=1;$e<=8;$e++) {
                    for($f=1;$f<=8 ;$f++) {
                        for($g=1;$g<=8;$g++) {
                            for($h=1;$h<=8;$h++) {

if($a != 1 && $b != 1 && $c != 1)
{
    continue;
}

if($a==2 && $b!=3 || $b==2 && $c!=3
    || $c==2 && $d!=3 || $d==2 && $e!=3 ||
    $e==2 && $f!=3 || $f==2 && $g!=3 ||
    $g==2 && $h!=3)
{
    continue;
}

$aa = array($a, $b, $c, $d, $e, $f, $g, $h);
if(count($aa) != count(array_unique($aa)))
{
    continue;
}
$cnt++;

}}}}}}}}
echo 'count of permutations: '.$cnt;

MAX=8!=40320 x=????=4080



Did you find an error or inaccuracy? Feel free to write us. Thank you!



avatar




Tips to related online calculators
See also our permutations calculator.
See also our variations calculator.
Would you like to compute count of combinations?

You need to know the following knowledge to solve this word math problem:

Related math problems and questions:

  • Speed of Slovakian trains
    zssk_train Rudolf decided to take the train from the station 'Ostratice' to 'Horné Ozorovce'. In the train timetables found train Os 5409 : km 0 Chynorany 15:17 5 Ostratice 15:23 15:23 8 Rybany 15:27 15:27 10 Dolné Naštice 15:31 15:31 14 Bánovce nad Bebravou 15:35 1
  • After 16 years
    diana After 16 years will Dana be five times older as she was four years ago. After how many years will Dana celebrate her 16th birthday?
  • Tennis racket
    ski Tennis racket became cheaper by 16% in winter. In the spring, the price increased by 15%. After this increase, it cost € 38. How much did the rocket cost in the winter before cheapening?
  • Lines
    bus Five bus lines runs at intervals 3, 6, 9, 12, 15 minutes. In the morning, suddenly start at 4:00. After how many minutes the bus lines meet again?
  • Bits, bytes
    bits Calculate how many different numbers can be encoded in 16-bit binary word?
  • Pupils
    wolfenstein_3d Four pupils is going via dark hall. Start at one side and have to get to the other side for 17 minutes. They have only one lamp for the trip. The corridor is narrow, they can therefore go up two pupils at a time and go at the slower speed. Each pupil went
  • Phone numbers
    old_phone How many 7-digit telephone numbers can be compiled from the digits 0,1,2,..,8,9 that no digit is repeated?
  • Eight blocks
    cuboids Dana had the task to save the eight blocks of these rules: 1. Between two red cubes must be a different color. 2. Between two blue must be two different colors. 3. Between two green must be three different colors. 4. Between two yellow blocks must be four
  • Lunch
    skola Seven classmates go every day for lunch. If they always come to the front in a different order, will be enough school year to take of all the possibilities?
  • Pairs
    pair At the table sit 10 people, 5 on one side and 5 on the other side. Among them are 3 pairs. Every pair wants to sit opposite each other. How many ways can they sit?
  • Digits
    numbers How many five-digit numbers can be written from numbers 0.3,4, 5, 7 that is divided by 10, and if digits can be repeated?
  • Graduation party
    dancers There are 15 boys and 12 girls at the graduation party. Determine how many four couples can be selected.
  • Numbers
    numbers How many different 3 digit natural numbers in which no digit is repeated, can be composed from digits 0,1,2?
  • Lock
    combination-lock A combination lock will open when the right choice of 3 numbers (from 1 to 16 inclusive) is selected. A. How many different lock combinations are possible? B. Is the combination lock named appropriately?
  • Wedding guests
    svatba_hatalovi Fifteen wedding guests could not agree on who would stand in the wedding photo. The groom suggested that all possible sets of wedding guests be made in the photographs.
  • Big numbers
    numbers How many natural numbers less than 10 to the sixth can be written in numbers: a) 9.8.7 b) 9.8.0
  • Practice
    telocvik How many ways can you place 20 pupils in a row when starting on practice?