Slični zadaci
There are
words of length
over the alphabet
. Prove that the following algorithm generates the sequence
of all these words such that any two consecutive words differ in exactly one digit.
(1)
(
zeros).
(2) Suppose
. Let
be the exponent of
in the representation of
as a product of primes, and let
. Replace the digit
in the word
by
. The obtained word is
.




(1)


(2) Suppose









An eccentric mathematician has a ladder with
rungs that he always ascends and descends in the following way: When he ascends, each step he takes covers
rungs of the ladder, and when he descends, each step he takes covers
rungs of the ladder, where
and
are fixed positive integers. By a sequence of ascending and descending steps he can climb from ground level to the top rung of the ladder and come back down to ground level again. Find, with proof, the minimum value of
expressed in terms of
and








Suppose
is a connected graph with
edges. Prove that it is possible to label the edges
in such a way that at each vertex which belongs to two or more edges, the greatest common divisor of the integers labeling those edges is equal to 1.
Graph-DefinitionA graph consists of a set of points, called vertices, together with a set of edges joining certain pairs of distinct vertices. Each pair of vertices
belongs to at most one edge. The graph
is connected if for each pair of distinct vertices
there is some sequence of vertices
such that each pair
is joined by an edge of
.



Graph-DefinitionA graph consists of a set of points, called vertices, together with a set of edges joining certain pairs of distinct vertices. Each pair of vertices





