Zadanie
Zadanie
Witam! To mój poerwszy post i nie wiem, czy trafiłem z działem. Więc, treść zadania, jest następująca: Wyznacz wszystkie liczby 9-cio cyfrowe, utworzone na zbiorze Z{1,2,3,4,5,6,7,8,9}, przy czym, pierwsze 2 cyfry, licząc od lewej, powinny utworzzyć liczbę podzielną przez 2, pierwsze 3 cyfry przez 3, pierwsze 4 przez 4 itd., az do 9. Jak to rozwiązac?? Z góry dziękuję!
-
- Użytkownik
- Posty: 3
- Rejestracja: 18 lis 2005, o 21:50
- Płeć: Mężczyzna
- Lokalizacja: Brno
- Pomógł: 1 raz
Zadanie
147258369
It's clear that 5 is in the middle and then there are 4 positions for even digits. On the eighth place there can be only 6 or 2, so we have only 12 posibilities how to place the even digits. The sums of the triplets of digits must be divisible by 3, which gives us only few posibilities how to place the odd digits. I haven't tried all these cases but found a solution writen above.
It's clear that 5 is in the middle and then there are 4 positions for even digits. On the eighth place there can be only 6 or 2, so we have only 12 posibilities how to place the even digits. The sums of the triplets of digits must be divisible by 3, which gives us only few posibilities how to place the odd digits. I haven't tried all these cases but found a solution writen above.