Counting

124 results

Croatian Mathematical Olympiad 2013 Problem I-2

Dani su prirodni brojevi NN i KK. Neki broj učenika je raspoređen u NN nepraznih grupa, a zatim su ti isti učenici preraspoređeni u N+KN + K nepraznih grupa. Dokaži da se u drugom rasporedu barem K+1K + 1 učenika našlo u manjoj grupi od one u kojoj su bili u prvom rasporedu.

Croatian Mathematical Olympiad 2013 Problem M-2

Grupa ljudi različitih visina pleše mađarski narodni ples na otvaranju natjecanja MEMO 2013 u Veszprému. Kažemo da je čovjek prosječan ako je viši od jednog svog susjeda i niži od drugog. (Ljudi su raspoređeni u krug i svaki čovjek ima točno dva susjeda.)

Ako je ukupan broj ljudi NN, odredi sve moguće vrijednosti broja prosječnih ljudi.

Croatian Mathematical Olympiad 2014 Problem I-2

Neka je NN prirodni broj. Stepenicama zovemo dio kvadratne ploče dimenzija N×NN \times N koji se sastoji od prvih KK polja u KK-tom retku za K=1,2,,NK = 1, 2, \ldots, N. Na koliko je načina moguće razrezati stepenice na pravokutnike različitih površina koji se sastoje od polja dane ploče?

Croatian Mathematical Olympiad 2014 Problem M-2

Dvadesetoro djece ima 100100 vrpci. Svaku vrpcu drže za krajeve dva djeteta. Dva djeteta mogu zajedno držati samo jednu vrpcu. Pretpostavimo da je par vrpci čija četiri kraja drže različita djeca moguće odabrati na 40504050 načina. Dokaži da svako dijete drži jednak broj vrpci.

Croatian Mathematical Olympiad 2017 Problem 2-2

U jednoj organizaciji postoje tri odbora. Svaka osoba pripada točno jednom odboru. Za svake dvije osobe koje pripadaju različitim odborima, u preostalom odboru postoji točno 1010 osoba koje te dvije osobe obje poznaju, te točno 1010 osoba koje nijedna od te dvije osobe ne poznaje. Poznanstva su uzajamna. Koliko je ukupno osoba u sva tri odbora zajedno?

Croatian Mathematical Olympiad 2017 Problem I-2

U nekom arhipelagu nalazi se 20172017 otoka nazvanih 1,2,,20171, 2, \ldots, 2017. Dvije agencije, Crveni zmaj i Plavo oko, dogovaraju se oko rasporeda brodskih linija između pojedinih otoka. Za svaki par otoka, točno jedna agencija će organizirati brodsku liniju i to samo u smjeru od otoka nazvanog manjim brojem do otoka nazvanog većim brojem.

Raspored brodskih linija je dobar ako ne postoje dva otoka s oznakama A<BA < B takva da je s otoka AA na otok BB moguće doći koristeći samo brodove Crvenog zmaja, a također i koristeći samo brodove Plavog oka.

Odredi ukupan broj dobrih rasporeda brodskih linija.

Croatian Mathematical Olympiad 2018 Problem 1-2

Neka je nn prirodni broj. Dobra riječ je niz od 3n3n slova pri čemu se svako od slova AA, BB i CC pojavljuje točno nn puta. Dokaži da za svaku dobru riječ XX postoji dobra riječ YY takva da se YY od XX ne može dobiti u manje od 32n2\frac{3}{2}n^2 zamjena susjednih slova.

Croatian Mathematical Olympiad 2019 Problem 1-2

Kriptogramom prirodnog broja nn zovemo uređenu nn-torku a=(a1,a2,,an)a = (a_1, a_2, \ldots, a_n) brojeva iz N0\mathbb{N}_0 takvu da vrijedi a1+2a2++nan=n.a_1 + 2a_2 + \cdots + na_n = n.

Neka je Kn\mathcal{K}_n skup svih kriptograma broja nn. Za aKna \in \mathcal{K}_n označimo sa J(a)J(a) broj pojavljivanja broja 11 u kriptogramu aa. Dokaži da vrijedi aKnJ(a)=aKn+1a2.\sum_{a \in \mathcal{K}_n} J(a) = \sum_{a \in \mathcal{K}_{n+1}} a_2.

Croatian Mathematical Olympiad 2019 Problem I-4

Dani su prirodan broj mm i prost broj pp takvi da je p>mp > m. Dokaži da broj prirodnih brojeva nn za koje je m2+n2+p22mn2mp2npm^2 + n^2 + p^2 - 2mn - 2mp - 2np kvadrat nekog prirodnog broja ne ovisi o broju pp.

Croatian Mathematical Olympiad 2020 Problem M-2

Dan je jednakostraničan trokut na čijoj se svakoj stranici označeno po 99 točaka koje dijele tu stranicu na 1010 sukladnih dijelova. Te su točke spojene s ukupno 2727 dužina paralelnih stranicama trokuta. Na taj način trokut je podijeljen na 100100 malih jednakostraničnih trokuta. Područje između dvije susjedne paralelne dužine nazivamo prugom.

Koliko najviše malih trokuta možemo odabrati tako da unutar nijedne pruge ne budu dva odabrana trokuta?

Croatian Mathematical Olympiad 2021 Problem M-2

Za permutaciju (a1,a2,,an)(a_1, a_2, \ldots, a_n) skupa {1,2,,n}\{1, 2, \ldots, n\} kažemo da je uravnotežena ako vrijedi a12a2nan.a_1 \leq 2a_2 \leq \ldots \leq na_n.

Neka S(n)S(n) označava broj uravnoteženih permutacija skupa {1,2,,n}\{1, 2, \ldots, n\}.

Odredi S(20)S(20) i S(21)S(21).

Croatian Mathematical Olympiad 2025 Problem 3-3

Neka je nn prirodan broj. Na nogometnom turniru sudjeluje 2n+12n + 1 ekipa, a svake dvije ekipe međusobno igraju po jednu utakmicu. Sve se utakmice igraju na istom terenu, pa nije moguće da se dvije utakmice igraju istovremeno. Nikakvih drugih pravila o redoslijedu odigravanja utakmica nema.

Kažemo da je utakmica između dviju ekipa ravnopravna ako su obje ekipe do tada odigrale jednak broj utakmica. Koliko najviše ravnopravnih utakmica može biti odigrano na tom turniru?

International Mathematical Olympiad 1966 Problem 1

In a mathematical contest, three problems, A,B,CA, B, C were posed. Among the participants there were 25 students who solved at least one problem each. Of all the contestants who did not solve problem AA, the number who solved BB was twice the number who solved CC. The number of students who solved only problem AA was one more than the number of students who solved AA and at least one other problem. Of all students who solved just one problem, half did not solve problem AA. How many students solved only problem BB?

International Mathematical Olympiad 1970 Problem 4

Find the set of all positive integers nn with the property that the set {n,n+1,n+2,n+3,n+4,n+5}\{n, n + 1, n + 2, n + 3, n + 4, n + 5\} can be partitioned into two sets such that the product of the numbers in one set equals the product of the numbers in the other set.

International Mathematical Olympiad 1978 Problem 6

An international society has its members from six different countries. The list of members contains 1978 names, numbered 1,2,,19781, 2, \ldots, 1978. Prove that there is at least one member whose number is the sum of the numbers of two members from his own country, or twice as large as the number of one member from his own country.

International Mathematical Olympiad 1979 Problem 6

Let AA and EE be opposite vertices of a regular octagon. A frog starts jumping at vertex AA. From any vertex of the octagon except E,E, it may jump to either of the two adjacent vertices. When it reaches vertex E,E, the frog stops and stays there. Let ana_n be the number of distinct paths of exactly nn jumps ending at E.E. Prove that a2n1=0,a_{2n-1}=0,

a2n=12(xn1yn1),n=1,2,3,,a_{2n}=\frac{1}{\sqrt{2}}(x^{n-1}-y^{n-1}),\quad n=1,2,3,\cdots,

where x=2+2x=2+\sqrt{2} and y=22.y=2-\sqrt{2}.

Note. A path of nn jumps is a sequence of vertices (P0,,Pn)(P_0,\ldots,P_n) such that

(i) P0=A,Pn=E;P_0=A, P_n=E;

(ii) for every i,0in1,Pii, 0\leq i\leq n-1, P_i is distinct from E;E;

(iii) for every i,0in1,Pii, 0\leq i\leq n-1, P_i and Pi+1P_{i+1} are adjacent.

International Mathematical Olympiad 1987 Problem 1

Let pn(k)p_n(k) be the number of permutations of the set {1,,n}\{1, \ldots, n\}, n1n \geq 1, which have exactly kk fixed points. Prove that

k=0nkpn(k)=n!.\sum_{k=0}^{n} k \cdot p_n(k) = n!.

(Remark: A permutation ff of a set SS is a one-to-one mapping of SS onto itself. An element ii in SS is called a fixed point of the permutation ff if f(i)=if(i) = i.)

International Mathematical Olympiad 1988 Problem 3

A function ff is defined on the positive integers by

f(1)=1,f(3)=3,f(2n)=f(n),f(4n+1)=2f(2n+1)f(n),f(4n+3)=3f(2n+1)2f(n),\begin{aligned} f(1) &= 1, \quad f(3) = 3, \\ f(2n) &= f(n), \\ f(4n + 1) &= 2f(2n + 1) - f(n), \\ f(4n + 3) &= 3f(2n + 1) - 2f(n), \end{aligned}

for all positive integers nn.

Determine the number of positive integers nn, less than or equal to 1988, for which f(n)=nf(n) = n.

International Mathematical Olympiad 1989 Problem 6

A permutation (x1,x2,,xm)(x_1, x_2, \ldots, x_m) of the set {1,2,,2n}\{1, 2, \ldots, 2n\}, where nn is a positive integer, is said to have property PP if xixi+1=n|x_i - x_{i+1}| = n for at least one ii in {1,2,,2n1}\{1, 2, \ldots, 2n-1\}. Show that, for each nn, there are more permutations with property PP than without.

International Mathematical Olympiad 1992 Problem 3

Consider nine points in space, no four of which are coplanar. Each pair of points is joined by an edge (that is, a line segment) and each edge is either colored blue or red or left uncolored. Find the smallest value of nn such that whenever exactly nn edges are colored, the set of colored edges necessarily contains a triangle all of whose edges have the same color.

International Mathematical Olympiad 1994 Problem 3

For any positive integer kk, let f(k)f(k) be the number of elements in the set {k+1,k+2,,2k}\{k + 1, k + 2, \ldots, 2k\} whose base 2 representation has precisely three 1s.

  • (a) Prove that, for each positive integer mm, there exists at least one positive integer kk such that f(k)=mf(k) = m.
  • (b) Determine all positive integers mm for which there exists exactly one kk with f(k)=mf(k) = m.
International Mathematical Olympiad 1997 Problem 6

For each positive integer nn, let f(n)f(n) denote the number of ways of representing nn as a sum of powers of 2 with nonnegative integer exponents. Representations which differ only in the ordering of their summands are considered to be the same. For instance, f(4)=4f(4) = 4, because the number 4 can be represented in the following four ways:

4;2+2;2+1+1;1+1+1+1.4; 2 + 2; 2 + 1 + 1; 1 + 1 + 1 + 1.

Prove that, for any integer n3n \geq 3,

2n2/4<f(2n)<2n2/2.2^{n^2/4} < f(2^n) < 2^{n^2/2}.

International Mathematical Olympiad 2001 Problem 3

Twenty-one girls and twenty-one boys took part in a mathematical contest.

  • Each contestant solved at most six problems.
  • For each girl and each boy, at least one problem was solved by both of them.

Prove that there was a problem that was solved by at least three girls and at least three boys.

International Mathematical Olympiad 2002 Problem 1

SS is the set of all (h,k)(h,k) with h,kh,k non-negative integers such that h+k<nh+k<n. Each element of SS is colored red or blue, so that if (h,k)(h,k) is red and hh,kkh'\leq h,k'\leq k, then (h,k)(h',k') is also red. A type 1 subset of SS has nn blue elements with different first member and a type 2 subset of SS has nn blue elements with different second member. Show that there are the same number of type 1 and type 2 subsets.

International Mathematical Olympiad 2005 Problem 6

In a mathematical competition, in which 6 problems were posed to the participants, every two of these problems were solved by more than 25\frac{2}{5} of the contestants. Moreover, no contestant solved all the 6 problems. Show that there are at least 2 contestants who solved exactly 5 problems each.

International Mathematical Olympiad 2006 Problem 2

Let PP be a regular 2006-gon. A diagonal of PP is called good if its endpoints divide the boundary of PP into two parts, each composed of an odd number of sides of PP. The sides of PP are also called good.

Suppose PP has been dissected into triangles by 2003 diagonals, no two of which have a common point in the interior of PP. Find the maximum number of isosceles triangles having two good sides that could appear in such a configuration.

International Mathematical Olympiad 2008 Problem 5

Let nn and kk be positive integers with knk \geq n and knk - n an even number. Let 2n2n lamps labelled 1, 2, ..., 2n2n be given, each of which can be either on or off. Initially all the lamps are off. We consider sequences of steps: at each step one of the lamps is switched (from on to off or from off to on).

Let NN be the number of such sequences consisting of kk steps and resulting in the state where lamps 1 through nn are all on, and lamps n+1n + 1 through 2n2n are all off.

Let MM be the number of such sequences consisting of kk steps, resulting in the state where lamps 1 through nn are all on, and lamps n+1n + 1 through 2n2n are all off, but where none of the lamps n+1n + 1 through 2n2n is ever switched on.

Determine the ratio N/MN/M.

International Mathematical Olympiad 2011 Problem 4

Let n>0n > 0 be an integer. We are given a balance and nn weights of weight 20,21,,2n12^0, 2^1, \ldots, 2^{n-1}. We are to place each of the nn weights on the balance, one after another, in such a way that the right pan is never heavier than the left pan. At each step we choose one of the weights that has not yet been placed on the balance, and place it on either the left pan or the right pan, until all of the weights have been placed.

Determine the number of ways in which this can be done.

International Mathematical Olympiad 2013 Problem 6

Let n3n \geq 3 be an integer, and consider a circle with n+1n + 1 equally spaced points marked on it. Consider all labellings of these points with the numbers 0,1,,n0, 1, \ldots, n such that each label is used exactly once; two such labellings are considered to be the same if one can be obtained from the other by a rotation of the circle. A labelling is called beautiful if, for any four labels a<b<c<da < b < c < d with a+d=b+ca + d = b + c, the chord joining the points labelled aa and dd does not intersect the chord joining the points labelled bb and cc.

Let MM be the number of beautiful labellings, and let NN be the number of ordered pairs (x,y)(x,y) of positive integers such that x+ynx + y \leq n and gcd(x,y)=1\gcd(x,y) = 1. Prove that

M=N+1.M = N + 1.

International Mathematical Olympiad 2022 Problem 6

Let nn be a positive integer. A Nordic square is an n×nn \times n board containing all the integers from 1 to n2n^2 so that each cell contains exactly one number. Two different cells are considered adjacent if they share a common side. Every cell that is adjacent only to cells containing larger numbers is called a valley. An uphill path is a sequence of one or more cells such that:

(i) the first cell in the sequence is a valley,

(ii) each subsequent cell in the sequence is adjacent to the previous cell, and

(iii) the numbers written in the cells in the sequence are in increasing order.

Find, as a function of nn, the smallest possible total number of uphill paths in a Nordic square.

Middle European Mathematical Olympiad 2013 Problem T-3

There are n2n\geq 2 houses on the northern side of a street. Going from the west to the east, the houses are numbered from 11 to nn. The number of each house is shown on a plate. One day the inhabitants of the street make fun of the postman by shuffling their number plates in the following way: for each pair of neighbouring houses, the current number plates are swapped exactly once during the day.

How many different sequences of number plates are possible at the end of the day?

Middle European Mathematical Olympiad 2013 Problem T-7

The numbers from 11 to 201322013^{2} are written row by row into a table consisting of 2013×20132013 \times 2013 cells. Afterwards, all columns and all rows containing at least one of the perfect squares 1,4,9,,201321,4,9,\ldots,2013^{2} are simultaneously deleted.

How many cells remain?

Middle European Mathematical Olympiad 2019 Problem T-3

There are nn boys and nn girls in a school class, where nn is a positive integer. The heights of all the children in this class are distinct. Every girl determines the number of boys that are taller than her, subtracts the number of girls that are taller than her, and writes the result on a piece of paper. Every boy determines the number of girls that are shorter than him, subtracts the number of boys that are shorter than him, and writes the result on a piece of paper. Prove that the numbers written down by the girls are the same as the numbers written down by the boys (up to a permutation).

Middle European Mathematical Olympiad 2021 Problem I-4

Let n3n \geqslant 3 be an integer. Zagi the squirrel sits at a vertex of a regular nn-gon. Zagi plans to make a journey of n1n - 1 jumps such that in the ii-th jump, it jumps by ii edges clockwise, for i{1,,n1}i \in \{1, \ldots, n - 1\}. Prove that if after n2\lceil \frac{n}{2} \rceil jumps Zagi has visited n2+1\lceil \frac{n}{2} \rceil + 1 distinct vertices, then after n1n - 1 jumps Zagi will have visited all of the vertices.

(Remark. For a real number xx, we denote by x\lceil x \rceil the smallest integer larger or equal to xx.)

Middle European Mathematical Olympiad 2022 Problem T-3

Let nn be a positive integer. There are nn purple and nn white cows queuing in a line in some order. Tim wishes to sort the cows by colour, such that all purple cows are at the front of the line. At each step, he is only allowed to swap two adjacent groups of equally many consecutive cows. What is the minimal number of steps Tim needs to be able to fulfill his wish, regardless of the initial alignment of the cows?

Example. For instance, Tim can perform the following three swaps: WPWPPWWPPPWWPWPPWWPPWWPW.W\underline{PW}\overline{PP}W \longrightarrow \underline{W}\overline{P}PPWW \longrightarrow P\underline{WP}\overline{PW}W \longrightarrow PPWWPW.

Middle European Mathematical Olympiad 2025 Problem T-3

A snake in an n×nn \times n grid is a path composed of straight line segments between centres of adjacent cells, going through the centres of all the n2n^2 grid cells, which visits each cell exactly once. Here two grid cells are considered to be adjacent if they share an edge. Note that all pieces of the snake path are parallel to grid lines. The figure shows an example of a snake in a 4×44 \times 4 grid. This snake makes nine 9090^\circ turns, marked by small black squares.

figure

Let us now consider a snake through the 2025 cells of a 45×4545 \times 45 grid. What is the maximum possible number of 9090^\circ turns that such a snake can make?

Grade 9 1997 Problem 4

Na beskonačnom bijelom papiru podijeljenom na jednake kvadratiće neki od njih su obojeni crvenom bojom. U svakom 2×32 \times 3 pravokutniku točno dva kvadratića su crvena. Promatrajte bilo koji 9×119 \times 11 pravokutnik. Koliko u njemu ima crvenih kvadratića?

Grade 9 2000 Problem 3

Neka je m2m \geq 2 prirodan broj. Koliko rješenja u skupu prirodnih brojeva ima jednadžba xm=xm1?\left\lfloor \frac {x}{m} \right\rfloor = \left\lfloor \frac {x}{m - 1} \right\rfloor ? (x\lfloor x \rfloor je oznaka za najveći cijeli broj koji nije veći od xx.)

Grade 9 2002 Problem 4

"Kolo sreće" podijeljeno je na 3030 odjeljaka u koje su upisani brojevi 5050, 100100, 150150, ..., 15001500 (u nekom redoslijedu). Dokažite da postoje tri uzastopna odjeljka u kojima je zbroj upisanih brojeva veći ili jednak 23502350.