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



We will be pleased if You send us any improvements to this math problem. 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?
  • Practice
    telocvik How many ways can you place 20 pupils in a row when starting on practice?
  • Word MATEMATIKA
    math How many words can be created from the phrase MATEMATIKA by changing the letters' order, regardless of whether the words are meaningful?
  • 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
  • Two sisters
    cd_disc Two sisters together have 54 CDs. 6/8 CDs has younger sister and is equal to 3/5 of CDs older sisters. How many CDs has each of the sisters?
  • Graduation party
    dancers There are 15 boys and 12 girls at the graduation party. Determine how many four couples can be selected.
  • Seating
    kupe How many ways can 6 people sit on 6 numbered chairs (e. g. , seat reservation on the train)?
  • Competition
    sutaz 15 boys and 10 girls are in the class. On school competition of them is selected 6-member team composed of 4 boys and 2 girls. How many ways can we select students?
  • 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?
  • 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
  • Family
    family Martin has just as brothers as sisters. His sister Jana but has 2 times more brothers than sisters. a) How many children are in this family? b) How many boys and how many girls are in the family?
  • Each with each
    tenis Five pupils from 3A class played table tennis. How many matches did they play with each other?
  • 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?
  • 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?