When an integer is divided by , there are only three possibilities for
the remainder: , , or . Therefore, each of these integers is
of the form , or for some non-negative integer . If we don’t have three integers each
of a different form, then the five integers have two possible forms and
so there must at least three integers of the same form.
If we have three integers of the same form, then the sum of these
three integers is or or
If we have three integers all of different form, then the sum of
these three integers is
In all cases, these sums are divisible by and so we can always choose three of
the five integers such that their sum is divisible by .
There are permutations of ,,,,,,,
because there are choices for
, then choices for , and so on.
We determine the average value of over all of these permutations by
determining the sum of all
values of this expression and dividing by .
To determine the sum of all
values, we determine the sum of the values of in each of these expressions and call
this total , the sum of the
values of in each of these
expressions and call this total , and so on.
The sum of the values of the
original expression must equal . This uses the fact that, when adding, the
order in which we add the same set of numbers does not matter.
By symmetry, the sums of the values of will
all be equal. That is, .
This means that the desired average value equals So we need to determine the value
of .
Now can equal each of ,,,,,,.
If , there are combinations of values for , , , , , , since there are still choices for , 5 for , and so on.
Similarly, there are
combinations with equal to each
of , , , , , .
Thus, . Therefore, the average value of the expression is .
We consider choosing the three numbers all at once.
We list the possible sets of three numbers that can be chosen:
We have listed each in increasing order because once the numbers are
chosen, we arrange them in increasing order.
There are sets of three
numbers that can be chosen.
Of these sets, the sequences ,,
and ,,
and ,,
and ,,
are arithmetic sequences.
Therefore, the probability that the resulting sequence is an
arithmetic sequence is
or .
There are five odd digits: , , , , .
We consider the positive integers less than in three sets: those with one digit,
those with two digits, and those with three digits.
There are positive one-digit
integers with one odd digit (namely , , , , ).
Consider the two-digit positive integers with only odd digits. Such
an integer has the form where
and are digits. There are five
possibilities for each of and
(since each must be odd).
Therefore, there are
two-digit positive integers with only odd digits.
Consider the three-digit positive integers with only odd digits. Such
an integer has the form where
, and are digits. There are five
possibilities for each of , and (since each must be odd). Therefore,
there are
three-digit positive integers with only odd digits.
In total, there are
positive integers less than
with only odd digits.
We make a table of the
possible combinations of rolls and the resulting sums:
Of the entries in the table,
are prime numbers (two entries
each of , and ). Therefore, the probability that the
sum is a prime number is or .
(Note that each sum is at least and so must be odd to be prime. Since
odd plus odd equals even, then the only possibilities that really need
to be checked are even plus odd and odd plus even, that is, the first
row and first column of the table.)
Solution 1
There are two possibilities: either each player wins three games or
one player wins more games than the other.
Since the probability that each player wins three games is , the probability that any
one player wins more games than the other is .
Since each of Blaise and Pierre is equally likely to win any given
game, each must be equally likely to win more games than the other.
Therefore, the probability that Blaise wins more games than Pierre is
.
Solution 2
We consider the results of the
games as a sequence of Bs or Ps,
with each letter a B if Blaise wins the corresponding game or P if
Pierre wins.
Since the two players are equally skilled, the probability that each
wins a given game is .
This means that the probability of each letter being a B is and the probability of each
letter being a P is also .
Since each sequence consists of letters, the probability of a
particular sequence occurring is ,
because each of the letters is specified.
Since they play games in
total, the probability that Blaise wins more games than Pierre is the
sum of the probabilities that Blaise wins games, that Blaise wins games, and that Blaise wins games.
If Blaise wins games, then the
sequence consists of Bs. The
probability of this is , since there is only one way
to arrange Bs.
If Blaise wins games, then the
sequence consists of Bs and P. The probability of this is ,
since there are possible
positions in the list for the P
(eg. PBBBBB, BPBBBB, BBPBBB, BBBPBB, BBBBPB, BBBBBP).
The probability that Blaise wins games is , since there are ways for Bs and Ps to be arranged.
Therefore, the probability that Blaise wins more games than Pierre is
.
Solution 1
Suppose that the bag contains
gold balls. We assume that Feridun reaches into the bag and removes the
two balls one after the other.
There are possible balls that
he could remove first and then
balls that he could remove second. In total, there are pairs of balls that he could
choose in this way.
If he removes gold balls, then
there are possible balls that he
could remove first and then
balls that he could remove second. In total, there are pairs of gold balls that he could
remove.
We are told that the probability of removing gold balls is . Since there are total pairs of balls that can be
chosen and pairs of gold
balls that can be chosen in this way, we have
which is equivalent to .
Therefore, or
, and so or . Since , we have , so there are gold balls in the bag.
Solution 2
Suppose that the bag contains
gold balls. We assume that Feridun reaches into the bag and removes the
two balls together.
Since there are balls in the
bag, there are pairs of balls that he could choose in this way.
Since there are gold balls in
the bag, there are pairs of gold balls that he could choose in this way.
We are told that the probability of removing gold balls is . Since there are pairs in
total that can be chosen and pairs of gold balls that can be chosen in this way,
we have which is
equivalent to . Since , this equation is equivalent to .
Therefore, or or , and so or . Since , we have , so there are gold balls in the bag.
The number of integers between and inclusive is .
An integer in this range has
three digits, say , and , with the hundreds digit equal to . Note that and and .
To have , then the
possible triples for ,,
in some order are ,,;
,,;
,,.
(There cannot be three ’s. If
there are two ’s, the the other
digit equals . If there is one
, the second and third digits add
to but are both less than , so must equal and . If there are zero ’s, the maximum for each digit is , and so each digit must be in order for the sum of all three to
equal .)
If the digits are , and , there are arrangements: , , .
If the digits are , and , there are arrangements: , , , , , .
If the digits are , and , there is only arrangement: .
Therefore, there are
integers in the range to with the sum of the digits of equal to .
The required probability equals the number of possible values of
with the sum of digits equal to
divided by the total number of
integers in the range, or .
Suppose that Billy removes the ball numbered from his bag and that Crystal removes
the ball numbered from her
bag.
Then .
Also, .
Hence, .
Since and , we have . (This is because
is maximized when is largest (that is, ) and is smallest (that is, ), so . Similarly, .)
Since is between and , for it to be a multiple of , must be , , , , or .
Since each of Billy and Crystal chooses ball from balls and each ball is equally likely
to be chosen, the probability of any specific ball being chosen from one
of their bags is . Thus,
the probability of any specific pair of balls being chosen (one from
each bag) is .
Therefore, to compute the desired probability, we must count the
number of pairs where is , , , , , and multiply this result by .
Method 1
If , then must be .
If , then must be .
If , then can be , , , , .
If , then can be , , , , .
If , then can be , , , , , , , , .
There are thus pairs that work, so the desired
probability is .
Method 2
If , then for to be a multiple of , must be ,
or .
If , then for to be a multiple of , must be or .
If , then for to be a multiple of , must be or .
If , then for to be a multiple of , must be or .
If , then for to be a multiple of , must be ,
or .
If , then for to be a multiple of , must be or .
If , then for to be a multiple of , must be or .
If , then for to be a multiple of , must be or .
If , then for to be a multiple of , must be ,
or .
There are thus pairs that work, so the desired
probability is .
If she tosses heads on the
first toss, then she has no coins to toss on the second toss, so she
cannot toss exactly head.
If she tosses , or heads on the first toss, then she has
at least one coin to toss on the second toss, so it is possible for her
to toss exactly head on the
second toss.
The following possibilities exist:
She tosses heads out of
coins on the first toss and she
tosses head out of coin on the second toss
She tosses head out of
coins on the first toss and she
tosses head out of coins on the second toss
She tosses heads out of
coins on the first toss and she
tosses head out of coins on the second toss
We calculate the various probabilities.
If coins are tossed, there are
equally likely possibilities:
HHH, HHT, HTH, THH, TTH, THT, HTT, TTT. Each of these possibilities has
probability . Therefore,
the probability of tossing
heads out of coins is
the probability of tossing
head out of coins is
the probability of tossing
heads out of coins is
the probability of tossing
heads out of coins is
If coins are tossed, there are
equally likely possibilities: HH,
HT, TH, TT. Each of these possibilities has probability . Therefore, the probability of tossing head out of coins is .
If coin is tossed, the
probability of tossing head is
.
To summarize, the possibilities are
She tosses heads out of
coins on the first toss (with
probability ) and she
tosses head out of coin on the second toss (with
probability )
She tosses head out of
coins on the first toss (with
probability ) and she
tosses head out of coins on the second toss (with
probability )
She tosses heads out of
coins on the first toss (with
probability ) and she
tosses head out of coins on the second toss (with
probability )
Therefore, the overall probability is .
Let be the probability
the product of the numbers on the two balls chosen is divisible by .
Since there are balls in each
bag, there are
pairs of balls that can be chosen.
Let be the number on the first
ball chosen and be the number on
the second ball chosen. To determine , we count the number of pairs for which is divisible by . If the number of pairs is , then .
For to be divisible by , at least one of and must be a multiple of and at least one of and must be even.
If or , then the pair gives a product divisible by . In this case, we obtain the pairs
If neither nor equals , then either or in order for or to be divisible by . In this case, the other of and must be even and not equal to . (We have already counted the pairs
where or .) In this case, we obtain the pairs
From our work above, there are no additional pairs for which is divisible by .
Thus, there are pairs
for which is divisible by , which means that . (We note that we
could have made a by table that listed all possible
combinations of and and their product, from which we could
obtain .)
There are
strings of ten letters, each of which is or , because there are choices for each of the positions in the string.
We determine the number of these strings that do not include the
"substring" (that is, that do
not include consecutive letters ) by counting the number of strings
that do include the substring
and subtracting this total from .
If a string includes the substring , there are possible positions in which this
substring could start There are choices for each of the remaining letters in such a string, so there are
occurrences of the
substring among the strings.
This does not mean that there are strings that contain the substring
. Since can appear multiple times in a
single string, this total will count some strings more than once. (For
example, the string is
included in both the first and seventh of these categories, so this
string is counted twice.)
So we must "correct"this total of by accounting for the strings in
which occurs more than
once.
Since two substrings of can
overlap in letters (for example,
) or in letter (for example, ), the maximum number of times
that the substring can appear
is , and there is only one such
string: .
If a string contains two copies of that overlap, then it must be of one
of the following forms: Since there are
choices for the starting position
of and choices for each of the three unknown
letters, then there are occurrences of
among all of these strings.
But the string is
counted in each of the first and last categories, so we subtract occurrences from this total to obtain
, the total number of strings of
ten letters that included exactly two overlapping copies of . (We’ll count the string later.)
If a string contains exactly two substrings of and these do not overlap, then it
must be of one of the following forms: Since there are such forms and choices for each of the unknown letters in each case, there
appear to be such
strings.
This total includes the string in the third category, so we
subtract from this total to
obtain , the total number of
strings of ten letters that include exactly two copies of which do not overlap.
So there are strings that
contain exactly two overlapping substrings , strings that contain exactly two
non-overlapping substrings ,
and string that contains exactly
three substrings .
To get the total number of strings with one or more substrings we take the total number of
occurrences of (), subtract the number of strings with
exactly two substrings (since
these were included twice in the original count), and subtract two times
the number of strings with exactly three substrings (since these were included three
times in the original count).
Therefore, there are strings that include at least one substring
, and so there are strings of ten letters
that do not include the substring .
The Eden sequences from are
There are such sequences.
We present a brief justification of why these are all of the
sequences.
An Eden sequence of length
consists of a single odd integer. The possible choices are and and .
An Eden sequence of length
consists of an odd integer followed by a larger even integer. Since the
only possible even integers here are and , the possible sequences are and and .
An Eden sequence of length
starts with an Eden sequence of length and appends (that is, adds to the end)
a larger odd integer. Starting with , we form and . Starting with , we form . Starting with , we form .
An Eden sequence of length
starts with an Eden sequence of length and appends a larger even integer.
Since and are the only possible even integers,
the only possible sequence here is .
An Eden sequence of length
from must include all
elements, so is .
Throughout this problem, we represent the states of the plates as a string of ’s and ’s (called a binary string) of length of the form , with the th digit from the left (namely ) equal to if plate contains a gift and equal to if plate does not. We call a binary string of
length allowable if it satisfies the requirements – that is, if no two adjacent digits both equal . Note that digit is also "adjacent" to digit , so we cannot have .
Suppose that . Then
, so the string is of the
form .
Since , we know that of , , , equal , but in such a way that no two adjacent
digits are both . The possible
strings in this case are ,
and .
Suppose that . Then can equal or .
If , then as well. This means that the string
is of the form ,
which is the same as the general string in the first case, but shifted
by position around the circle, so
there are again
possibilities.
If , then the string is of
the form and
of the digits , , , , equal in such a way that no adjacent digits equal . There is only way in which this can happen: .
Overall, this gives possible
configurations, so .
Solution 1
An allowable string has , , or .
Define to be the
number of allowable strings of length , containing 1’s, and with . We define and in a similar manner.
Note that .
Consider the strings counted by . Since , we know that . Since , the digit can equal or .
We remove the first and last digits of these strings. We obtain
strings
that is strings of length
containing 1’s.
Since , the first and
last digits of these strings are not both . Also, since the original strings did
not contain two consecutive 1’s, these new strings does not either.
Therefore, are allowable strings of length containing 1’s, with and or .
The number of such strings with and is and the number of such
strings with and is . Thus, .
Consider the strings counted by . Since and , we can remove to obtain strings of length containing 1’s. These strings are allowable since
and the original strings were
allowable. Note that we have
and is either or .
So the strings are allowable strings of length containing 1’s, starting with , and ending with or .
The number of such strings with and is and the number of such
strings with and is . Thus, .
Consider the strings counted by . Here, and . Thus, can equal or . We consider these two sets
separately.
If , then the string
is an
allowable string of length ,
containing 1’s, beginning with
and ending with . Therefore, the number of strings
counted by with is equal to .
If , then the string
is of length
, begins with and ends with . Also, it contains 1’s (having removed the original
leading ) and is allowable since
the original string was. Therefore, the number of strings counted by
with is equal to .
Therefore, as required.
Solution 2
We develop an explicit formula for by building these strings.
Consider the allowable strings of length that include ’s. Either or .
Consider first the case when . Here, can equal or . These strings are all of the form
. In this
case, since a is always followed
by a and the strings end with
, we can build these strings using
blocks of the form and . Any combination of these blocks will
be an allowable string, as each
will always be both preceded and followed by a . Thus, these strings can all be built
using blocks and blocks. This gives ’s and ’s. Note that any string built with
these blocks will be allowable and will end with a , and any such allowable string can be
built in this way. The number of ways of arranging blocks of one kind and blocks of another kind is , which simplifies to
.
Consider next the case when . Here, we must have , since these are the two
digits adjacent to . Thus, these
strings are all of the form .
Consider the strings formed by removing the first and last digits.
These strings are allowable, are of length , include 1’s, end with , and can begin with or . Again, since a is always followed by a and the strings end with , we can build these strings using
blocks of the form and . Any combination of these blocks will
be an allowable string, as each
will always be both preceded and followed by a . Translating our method of counting
from the first case, there are or such strings.
Thus, such strings.
To prove the desired fact, we will use the fact that ,
which we prove at the end. Now as required.
To prove the identity, we expand the terms on the right side: as required.