Recreational Mathematics - Content



I have listed approximately 100 problems, theorems, etc., here. There is no implied guarantee that all problems are of equal difficulty. Also, I've made almost no attempt to organize the problems into groups, nor to ensure that problems of various types alternate with any pattern.

As a rough estimate, students should prepare the first five or six previously undiscussed problems for each lecture period. Just for fun, some of the problems given below are unsolved (not many). I've marked at least one of them as such, but left you to guess about others.

I have listed these problems without specific reference to the texts from which I drew them. This is so that you will attempt to answer them before looking them up. Most of the problems come from the texts listed in the Bibliography, although I may have modified some, and added others from problems contests and other sources.


  1. k lines are drawn in the plane so that no three lines meet at a point, and no two lines are parallel. Into how many regions does this divide the plane? Generalize this problem to planes in space.
    Lines1.jpg

  2. Let f(w,x,y,z)=(|w-x|,|x-y|,|y-z|,|z-w|). Show that for any quadruple of integers, (w,x,y,z), repeated applications of f will result in the quadruple (0,0,0,0).

    One can show that the largest number in the quadruple must have decreased after at most four iterations. Consider the cases corresponding to the possible patterns of zeroes.

    In general, we saw that if we restrict the integers in the first step to zeroes and ones, then f is a linear transformation (modulo 2). Now, it is easy to show that the applying the transformation four times results in the zero vector. Then, one can use this to think about the parities in the general case, and show that the number of iterations needed is O(log n).
    Generalizations to input vectors of 8, 16, 32, ..., integers is now pretty easy, as is seeing why the number of entries cannot have an odd factor greater than one.


  3. Pick a 4-digit number, for example, 5719. Rearrange the digits from smallest to largest, 1579, and from largest to smallest, 9751. Subtract the smaller number from the larger: 9751-1579=8172. Now, repeat the process: 8721-1278=7443. And again, 7443-3447=3996. And again, 9963-3699=6264. And again, 6642-2466=4176. And again, 7641-1467=6147. Now, the last step repeats.
    Was this a fluke? Try starting with some other 4-digit number -- avoid multiples of 1111.
    Are there nice results for 6-digit numbers? (Look, e.g., at the results of starting from each of these three numbers: 420876, 549945, 631764.)
    5-digits numbers? (Look at the three numbers 53955, 61974, 62964.)

    For the proof in the 4-digit case, consider a 4-digit integer abcd (representing 1000a+100b+10c+d), where a ≥ b ≥ c ≥ d and a > d. Now, the first iterate gives 999(a-d) + 90(b-c), and there are only 9 choices for a-d and 10 for b-c. Hence, after the first iteration, the result is one of the numbers:
    0999, 1089, 1179, 1269, 1359, 1449, 1539, 1629, 1719, 1809,
    1998, 2088, 2178, 2268, 2358, 2448, 2538, 2628, 2718, 2808,
    2997, 3087, 3177, 3267, 3357, 3447, 3537, 3627, 3717, 3807,
    3996, 4086, 4176, 4266, 4356, 4446, 4536, 4626, 4716, 4806,
    4995, 5085, 5175, 5265, 5355, 5445, 5535, 5625, 5715, 5805,
    5994, 6084, 6174, 6264, 6354, 6444, 6534, 6624, 6714, 6804,
    6993, 7083, 7173, 7263, 7353, 7443, 7533, 7623, 7713, 7803,
    7992, 8082, 8172, 8262, 8352, 8442, 8532, 8622, 8712, 8802,
    8991, 9081, 9171, 9261, 9351, 9441, 9531, 9621, 9711, 9801.

    However, not all of these give distinct 4-digit integers when we sort the digits. In fact, only 30 cases result:
    9990, 9981, 9972, 9963, 9954, 9810, 9711, 9621, 9531, 9441,
    8820, 8730, 8721, 8640, 8622, 8550, 8532, 8442, 7731, 7641,
    7632, 7551, 7533, 7443, 6642, 6552, 6543, 6444, 5553, 5544.

    After two iterations and a subsequent sorting of digits, the 17 results are:
    9981, 9972, 9963, 9954, 9810, 9621, 8820, 8730, 8721,
    8532, 7731, 7641, 7443, 6642, 6552, 6543, 5553.

    Subsequent rounds, in shorthand, are:
    9954 → 5553 → 9981 → 8820 → 8532 → 7641 → 7641
    9972 → 7731 → 6543 → 8730 → 8532 → 7641
    6552 → 9963 → 6642 → 7641
    8721 → 7443 → 9963 → 6642 → 7641
    9810 → 9621 → 8532 → 7641

  4. Find 109 consecutive positive integers, all of which are composite. (Please don't try to find the smallest such example.)

  5. (unsolved). If x is an even integer, let f(x)=x/2. If x is an odd integer, let f(x)=3x+1. Can you prove that repeatedly interating f on an initial input of a positive integer, will eventually result in reaching the cycle 1,4,2,1,4,2,1,...?

  6. Three parallel lines are drawn in the plane. Can you place an equilateral triangle so that there is one vertex on each of the lines? Can you do this using only straightedge and compass?
    EqTri.jpg

  7. Find integers x, y such that (1012+972)(1032+892)=x2+y2.

  8. Find integers w, x, y, z such that (232+972+152+832)(112+182+232+172) = w2+x2+y2+z2.

  9. The Hilbert Hotel. A set is countably infinite if its members can be placed into one-to-one correspondence with the postive integers. The Hilbert Hotel has a countable number of rooms. It was full when I last visited it, but they made room for me. How did they do it?
    If a bus containing a countably-infinite number of people arrives when the hotel is already full, show that the new people can be accommodated.
    If a countably-infinite number of busses, each containing a countably-infinite number of people arrives, show that the new people can all be accommodated.
    (Don't ask me to find you a countably infinite number of people.)

  10. Let fk(n) denote the sum of the hth powers of the digits of the positive integer n (n expressed in base 10). Let m0 be any positive integer, and construct the sequence mj+1=fk(m). For example, if k=2 and if m0=4, then the sequence begins m0=4, m1=16, m2=37, m3=58, m4=89, m5=145, m6=42, m7=20, m8=4, after which the sequence obviously repeats.
    Prove that for k=2 and any positive integer value m0, there is an index N such that mN is in the set {1,4}.
    Examine this problem for some other positive integer values of k.

    One obvious starting point for this question and the next one:
    If the integer n has exactly s digits, then fk(s) ≤ 9ks. Thus, if 9ks < 10s, then fk(n) < n. For a fixed value of k ≥ 2, consider the function g(s) = 9ks-10s. Prove that g'(s) has exactly one zero and thus g(s) has at most two zeroes. Note also, g(0) < 0, g(1) > 0, and g(s) goes to -∞ as s goes to . For any particular k, we need only identify where the function becomes negative, after s = 1. Hence, if g(t) > 0 and g(t+1) < 0, then fk shrinks numbers with t+1 or more digits. If we're looking for possible cycles, then we need only look at numbers with t digits or fewer.


    If n has at least four digits, f2(n) < n.
    Now, if n has three digits, f2(n) ≤ 243.
    If n ≤ 243, then f2(n) ≤ 22+92+92 = 162.
    We need deal with no number larger than 162.


  11. Find two consecutive positive integers which are each the sum of the cubes of their digits. (Hint: Prove that there is a unique choice for the units digit of the smaller number.)

    If n has at least five digits, f3(n) < n.
    If n ≤ 9999, then f3(n) ≤ 934 = 2916.
    If n ≤ 2916, then f3(n) ≤ 23+933 = 2195.
    We need deal with no number larger than 2195.
    You can use the hint and finish with some calculations. The possible forms are n = a999, n = ba99, n = cba9, n = dcba, where a ≠ 9. The first three forms are easily shown to be impossible, and in the last form, a = 0 and d ≤ 2. Thus, f3(dcb0) ≤ 23+923 = 1466, and d3+c3+b3 is a multiple of 10. If d = 0, then c + b = 10, and there are only ten choices to try. If d = 1, there are also limited choices.

    Of course, a computer can do it very quickly once you've limited things to at most four digits.


  12. A cylindrical hole is drilled through a sphere. The hole, measured from lip to lip, has length h. What is the volume of the region inside the sphere but not inside the hole?
    toggle.jpg

  13. Show that every loopless directed graph D contains a set of vertices S so that no two vertices of S are joined by an arc, but for every vertex v in D there is a path with at most two arcs from S to v.

  14. Suppose that n players have just completed a round robin tournament (every pair of players competed once) and that there were no ties. Show that one can list the names of the players sequentially so that playerk defeated playerk+1, for each k, 1≤k<n.

  15. A transversal of an n by n matrix is a selection of n positions (entries) from the matrix, with exactly one entry in each row and exactly one entry in each column. Show that every transversal of the following matrix sums to 56. Prove that you understand the construction of this matrix by demonstrating a 6 by 6 matrix with positive integers for entries, and with every transversal summing to 89.
    10 12 13  9 11
     9 11 12  8 10
    13 15 16 12 14
    11 13 14 10 12
     8 10 11  7  9
    

  16. For the matrix displayed below, find a transversal with largest sum, and prove that there is no transversal with larger sum.
    13 11 10  8  7
    14 17 13 12 11
    15 19 12  7  9
    16 20 18 17 16
    14 13 16 10 12
    

    Hint: No transversal of the given square can have a sum larger than transversals of the square depicted below.
    13 17 11  8  7
    17 21 15 12 11
    15 19 13 10  9
    22 26 20 17 16
    18 22 16 13 12
    

    To find a dominating square, such as the one above, involves some detailed calculations, but there is a nice
    primal-dual algorithm (due to Kuhn and Menkres) which will do the work. One can also use standard linear programming techniques.

  17. An eight gallon jug of wine falls of the back of a truck and miraculously does not split or leak. Two enterprising gentlemen find the jug and decide to split the contents and to take home the spoils to consume in their corrugated palaces. However, all they can find to measure and transport the wine are a five gallon bucket and a three gallon bucket (both of which happen to be clean). Show how they can split the wine into two equal shares of four gallons each, assuming that they spill none.

    My students pointed out that this old chestnut appeared in the movie Die Hard with a Vengeance.

  18. Find all prime numbers x and y so that xy+yx is also a prime.

  19. Given a parabola, determine its focus with straightedge and compass.
      Hint: Suppose the parabola were given by y=kx2, and consider a line segment M with endpoints (a,ka2) and (b,kb2) on the parabola, with a≠b. The slope of M is (kb2-ka2)/(b-a)=k(b+a). The midpoint of M has x-co-ordinate (b+a)/2, which depends only on the parabola chosen and the slope of the M. What can you say about the midpoints of two parallel chords? (Is it wrong to use co-ordinatization to help prove that a straightedge and compass construction is valid?)


  20. Prove that 19 divides a positive integer n iff 19 divides the number that results from adding twice the value of the last digit to the number to the number that results from stripping off this last digit. For example, 19|704836 iff 19|70495 iff 19|7059 iff 19|723 iff 19|78 iff 19|23 iff 19|8. Since this last divisibility 19|8 is obviously false, so is 19|704836.

  21. Three misanthropic men build houses for themselves in the woods. On a random day each month, each of them makes a trip to one of the neighbouring village for supplies. Each of our hermits has a touch of paranoia and only buys one type of supply at each village. At one village he would buy fertilizer; at another village, he would buy oil; and at a third village, he would buy building supplies. None of them likes to make these trips, but they each recognize the necessity, and are willing to deal with the village folk for the one day. However, meeting one of the other social outcasts outside of the village would be considered a disaster. They each want a path to each of the three villages, so that their paths never cross. Can this be done?

  22. Given a triangle ABC with acute angles at A and B, locate a square with one side along AB and with one vertex on AC and one vertex on BC. Use straightedge and compass.
    BoxTri.jpg

  23. What is the minimum integer n so that there is a function from the points of the real plane to {1,2,...,n} such that f(p)≠f(q) for every pair of points (p,q) at distance one. (Prove 4≤n≤7.)

  24. For each positive integer n, count the number of subsets α with the following properties:
    (i) For some k, α={a1,a2,...,ak}, with 1≤a1<a2<...<ak≤n (we specifically allow k=0, k=1); and
    (ii) ai and ai+1 have different parity if 1≤i<k.
    For example, for n=4, there are the following possibilities for α: { }, {1}, {2}, {3}, {4}, {1,2}, {1,4}, {2,3}, {3,4}, {1,2,3}, {2,3,4}, {1,2,3,4}, for a total of twelve allowable sets.
    How many possibilities are there for α, for each positive integer n?

    Let's call such subsets alternating parity subsets. Let βn denote the number of alternating parity subsets from the set {1,2,...,n}, let fn denote the number of alternating parity subsets from the set {1,2,...,n} and whose largest element is even, and let gn denote the number of alternating parity subsets from the set {1,2,...,n} and whose largest element is odd.

    Note that βn = fn + gn + 1; the empty set is counted by neither fn nor gn.

    Now, if n=2k, then every set S counted by βn-1 contributes one to the value of fn as follows, if the largest element of S is even, then S is counted by fn, and if S is empty, or if the largest element of S is odd, then S union {n} is counted by fn. Hence, f2k = β2k-1. Also, g2k = g2k-1.

    When n=2k+1, we deduce: g2k+1 = β2k-1 and f2k+1 = f2k.

    These five equations should help you generate some values for (fn,gnn), and then you can try to make a conjecture as to the solution:
      βn = fn + gn + 1;
      f2k = β2k-1;
      f2k+1 = f2k;
      g2k = g2k-1; and
      g2k+1 = β2k-1.


    n gn gn βn
    1012
    2214
    3247
    47412
    571220
    6201233


  25. An old pirate map reads: "Sail to 10°13'25" North Latitude1 and 173°17'14" West Latitude1, where thou shalt find a deserted island. There lieth a large meadow, not pent, on the north side of the island, where standeth a lonely oak2 and a lonely pine2 . There thou wilt see also an old gallows on which we once were wont to hang traitors. Start thou from the old gallows and walk to the to the oak, counting thy steps. At the oak, thou must turn right by a right angle and take the same number of steps. Put here a spike in the ground. Now must thou return to the gallows and walk to the pine, counting thy steps. At the pine, thou must turn left by a right angle and see that thou takest the same number of steps, and put a spike in the ground. Dig halfway between the spikes; the treasure is there."
    Unfortunately, treasure hunters who have found the island discovered that the gallows has long since vanished. However, the oak and the pine are still there, in the same field. Can you find the treasure? Can you do it using straightedge and compass only?
    1The exact location has been changed, otherwise somebody else might get to the treasure first.
    2The names of the trees has been changed, so that even locating the island will not help in finding the treasure.
    island.jpg

  26. Find all positive integers n such that n is the sum of the digits of n3.

    As discussed in class, there can be no such integer greater than 54. For example, a 2-digit number when cubed has at most 6 digits, and thus has cube-digit-sum at most 54. A k-digit number when cubed has at most 3k digits and thus has cube-digit-sum at most 27k, which is smaller than 10k-1 for k ≥ 3.

    A computer run with 1 ≤ n ≤ 54 shows us the following examples: 1,8,17,18,26,27.


  27. The circle C0 described by the equation x2+y2=1 and the hyperbola H described by the equation x2-y2=1 are drawn in the plane. Now, a sequence C1, C2, C3, C4 , ..., of circles is drawn with the following property: Each Ck+1 is tangent to and above Ck and tangent to both branches of H. Prove that all of these circles have integral radii.
    osculate.jpg

    Solution.

  28. If p is a prime and if n is an integer, then p divides n p-n. Show that the composite integer 561 divides n561-n, for every integer n.
    A composite integer m with the property that m divides nm-n, for every integer n, is called an absolute psuedoprime or a Carmichael number. Other examples are: 2821, 10585, 15841.

  29. If a white square and a black square are removed from an 8 by 8 chessboard, then one can cover the remaining squares with exactly 31 dominoes of dimension 2 by 1. Prove this.

  30. If you have enough coins with values 5 units and 7 units, what is the largest integer n so that you cannot pay exactly n units? (23)
    Discuss the generalization to coins of values a units and b units. (ab-a-b)
    Want something much harder? If a, b, c, are positive integers, what is the largest integer n that you cannot write as a non-negative integral linear combination of a, b, c?

  31. According to the terms of a partial amnesty, a jailer made n passes along a row of n cells, originally all locked, as follows:
    On the first pass, he turned every lock, opening them all;
    On the second pass he turned every second lock, beginning with the second, locking the even numbered cells;
    On the third pass he turned every third lock, beginning with the third, locking cells 3,9,15,... and opening cells 6,12,18,...
    What cells will be open at the end of the procedure, allowing those prisoners to leave?

  32. Three sides of a convex quadrilateral ABCD have length AB=a, BC=b, CD=c. If the area of the quadrilateral is as large as possible, prove that the length x of the fourth side satisfies the equation x3-(a2+b2+c2)x-2abc=0 .

    MaxQuad.jpg

    Hint: If you think of the points A,B,C as being fixed, so that the line segment AC is fixed, then the triangle ABC has a fixed area, but the triangle CDA has an area that depends on x. For what position of the line segment CD is the area of the triangle CDA maximized?

    Solution

  33. Find an example of a solution in integers x, y to the equation x2+y2=413. How about x2+y2=433.

  34. Place 32 knights on a chessboard so that no knight attacks another knight. For each k, k=1,2,3,4,5, how many knights can you place on the chessboard so that each knight attacks exactly k others?

    Pictures

  35. Thirty-six soldiers are standing on the parade ground in a 6-by-6 square formation. Their comanding officer asks them to stay in their rows, but arrange themselves within the rows in order of increasing height. (Break ties arbitrarily.) He then instructs them to stay in their columns and to arrange themselves within those columns in order of height. But, now, he decides he was happier with them in the rows in order of height and asks them to change again. Nobody moves for this third order. Why not? (Prove that nobody needs to move for the third order to obeyed.)

  36. Here is a use for the parade ground problem. A list of numbers has been given, say x1, x2, x3, ..., xn. For an integer k, we say that the list is k-ordered if xi≤xi+k, for every index i, 1≤ i≤ n-k. A k-sort of the list is any procedure which sorts the list so that it is k-ordered, and every element of the new list is a multiple of k positions from where it started. For example, a simple way to do a k-sort is based on a bubblesort. Run along the list, comparing the entry xi with the entry xi+k, for every index i, 1≤ i≤ n-k. If xi>xi+k, for some i, switch the two elements and then continue running along the list from this point. Repeat these operations until the list is k-ordered. (It will take no more than n/k passes along the list.)
    Prove. If one j-sorts a k-ordered list, the result is a list which is both k-ordered and j-ordered.

  37. Prove. If a list is k-ordered and j-ordered, for some j, k which are relatively prime, then there is a number M so that no entry is more than M places from where it belongs if the list were to be 1-sorted.
    In particular, if a list is 3-ordered and 2-ordered, no entry is more than one space from where it belongs.

  38. Prove. If a list is 3-ordered and 2-ordered, then one pass along the list will suffice to 1-sort the list.

  39. Prove that there is a sequence of values S = (k1,k2,...,1), such that for any i for which 2ki≤n, 2ki=kj, for some j, 1≤j<i, and for any i for which 3ki≤n, 3ki=kj, for some j, 1≤j<i.
    (The number of elements in S is approximately (log2n)(log3n).)

  40. Pratt based a fast sorting algorithm on the previous discussion. Simply k1-sort the list, then k2-sort the list, ...
    One nice thing about this approach is that it gives a reasonably fast parallel algorithm for sorting.

  41. There are five ways to place two non-intersecting diagonals in a convex pentagon. How many ways are there to place three pairwise non-intersecting diagonals in a convex hexagon? Can you answer the obvious question for a convex n-gon?
    nalatac.jpg

  42. Let σ(n) denote the sum of the positive integer divisors of the positive integer n. An integer n is called k-perfect if σ(n)=kn. For example, 28 is 2-perfect, and 120 is 3-perfect. Find some more examples with k≥2. Can you find infinitely many such examples? Can you find even one example of an odd k-perfect integer with k≥2? (If there is an odd 2-perfect integer, it has hundreds of digits.)

  43. Prove that every even 2-perfect integer has the form 2m-1(2m-1), where m is a positive integer.

  44. Prove that every odd 2-perfect integer has the form (4s+1)4t+1Q2, where 4s+1 is a prime and s, t, Q are integers.

  45. Without actually determining birthdays of people in this class, determine the probability that this many randomly chosen people have no two birthdays on the same day.

  46. Given a subset S of {1,2,...,2n}, with |S|=n+1, prove that S contains two integers which are relatively prime. Also, prove that S contains a pair of integers x, y such that x divides y.

  47. You can write 7 as sum of positive integers no bigger than 3 in 8 ways: 3+3+1 = 3+2+2 = 3+2+1+1 = 3+1+1+1+1 = 2+2+2+1 = 2+2+1+1+1 = 2+1+1+1+1+1 = 1+1+1+1+1+1+1. You can 7 as a sum of at most three positive integers in 8 ways: 7 = 6+1 = 5+2 = 5+1+1 = 4+3 = 4+2+1 = 3+3+1 = 3+2+2. Coincidence?

  48. In the 4-by-4 square depicted below, each row sums to 34, each column sums to 34, and each of the two diagonals sums to 34. The entries of the square are the positive integers from 1 to 42. Can you find a similar 3-by-3 square using the integers from 1 to 32? How about 5-by-5? n-by-n? Can you find a 5-by-5 square, and a constant k, with the additional property that deleting the first row, first column, last row, and last column, results in a square which has row sums, column sums, and diagonal sums all equal to k?
      1 15 14  4
     10  6  7  9
      8 10 11  5
     13  3  2 16 
    

  49. The harmonic series 1/1 + 1/2 + 1/3 + 1/4 + 1/5 + 1/6 + ... diverges. Suppose we delete all of the terms which have a 9 among their digits. Prove that this new sum converges.

  50. Two boats cross a river in opposite directions at right angles to both shores and return to their starting places. Each travels at constant speed, but the two speeds are different. On the way across, they meet 720 yards from the nearest shore. On the way back, they meet at 400 yards from the other shore. How wide is the river?

  51. Consider the following function f(x,y) = (1/2) (y-1) ( |B2-1| - (B2-1) ) + 2, where B = x(y+1)-(y!+1), and x,y are positive integers. What is the set of values that f(x,y) can asume?

  52. We have many beads of n different colours with which we are going to make necklaces with p of these beads. Two necklaces are considered the same if one can be rotated into the other. We're not allowed to flip the necklaces over. Show that, if p is prime, there are (n p-n)/p necklaces which are not all the same colour.
    As a result, if p is prime, then p divides n p-n.
    (We've already shown that 561 divides n561-n, for every integer n, but 561 is not prime.)

  53. Can you make six pencils each touch the other five? Can you make seven touch the other six?

  54. Suppose that (a,b), (c,d), (e,f) are three distinct points in the plane. What curve is described by the following determinant equation?
     
                       |  x2+y2  x  y  1  |
                       |  a2+b2  a  b  1  |  =  0.
                       |  c2+d2  c  d  1  |
                       |  e2+f2  e  f  1  |
    

  55. The set of lattice points in the plane is the set of points with both co-ordinates integral. We will place some checkers on the lattice points which are on or below the x-axis. Each checker can jump a checker which is adjacent either horizontally or vertically, removing the jumped checker in the process. There is no diagonal jumping.
    It is possible to place two checkers on the board, so that when one jumps the other, there is now a checker with y-co-ordinate +1. For example, place the two checkers at (0,0) and (0,-1). The checker at (0,-1) jumps the checker at (0,0), removing it, and lands at (0,1).
    Similarly, one can attain a position with y-co-ordinate +2, by starting at (0,0), (0,-1), (-1,0), and (-2,0).
    Eight properly placed checkers allow one to get to the third level, and twenty allow one to get to fourth level.
    How many are needed to get to level five?

    Solution.

  56. The bent-tromino consists of three one-by-one squares in the shape of the letter L (one could start with a 2 by 2 square and remove the one by one square from any corner). Prove that the 8-by-8 chessboard can be tiled by 21 bent-trominoes and leaving exactly one cell uncovered -- and that one can choose the cell to be left uncovered before placing the trominoes.
    Try the same problem with the straight-tromino. Which cells can be left uncovered?

  57. Consider the following pictures:
    ****
    ****
    **
    **
    *
          
    *****
    ****
    **
    **

    These two are pictures of two complementary partitions. (One can be rotated and flipped on to the other.) A partition is self-complementary if its complement is itself. For example, the number 17 can written as a self-complementary partition in 5 ways: 9+1+1+1+1+1+1+1+1+1 = 7+3+3+1+1+1+1 = 6+4+3+2+1+1 = 5+5+3+2+2 = 5+4+4+3+1. The number 17 can also be written as the sum of odd distinct positive integers in 5 ways: 17 = 13+3+1 = 11+5+1 = 9+7+1 = 9+5+3. Coincidence?

  58. A magician takes a standard deck of 52 playing cards, reverses 24 of them so they are face up, and shuffles the deck. He then gives the deck to a spectator to shuffle them some more. Now, the spectator gives the magician 24 cards. The magician, without looking, reverses some of the cards, spreads them on the table, and asks the spectator to spread the remaining 28 cards. Amazingly, the two groups have the same number of cards face up. How does he do it?

  59. The White King has just been knocked off of the board after White's move during a legal game. Where was the King, and how did this position develop?
    (Basic rules for chess can be found at
    http://www.uschess.org/beginners/letsplay.html.)

                                                      
                           
                           
       BR    BB            
    WB                     
                           
                           
             BK            


  60. The game of Nim is played as follows. Players mutually agree on a list of positive integers. They then take turns moving, with the person who makes the last move winning. At each turn, a player may take any number from the list and replace it with a strictly smaller non-negative integer.
    There is a simple strategy to win this game.
    (i) Write each of the numbers in binary, and place these numbers so that the units columns are aligned.
    (ii) If any column sums to an odd number, you can replace one of the binary numbers by a smaller number so that the columns sums are all even. This tells you your move.
    (iii) If each column (units, twos, fours, eights, etc.) sums to an even number, you should simply make a small random move, and hope that your opponent does not know how to win. He is in a position to do so.
    Verify that this is a winning strategy.

  61. Two players take turn breaking pieces off of an m-by-n chocolate bar. A player who takes a square of the chocolate bar must also take all of the squares above that square, all of the squares to the right of that square, and all of the pieces above and to the right of the selected square. The bottom left-hand corner of the chocolate bar is poisoned. The person who takes that piece loses. A sample game is shown below. You may assume that mn > 1. Do you want to go first or second?
    (Harder: If you want to go first, what move will you make?)

                            
                            
                            
     
                
                
                            
     
                
                
                      
     
                
                      
     
          
                      
     
         
                
     
         
         
     
         


  62. Two players agree on a positive integer N, N>1. They then list the positive integer divisors of N. They now take turns picking a number which is still on the list and deleting that number and all of its divisors. The person who takes the number N loses. The sequence of lists in a game starting with N=72 is shown below. Do you want to go first?
    (Harder If you want to go first, what is your move?)

    {1,2,3,4,6,8,9,12,18,24,36,72}, {4,8,9,12,18,24,36,72}, {4,8,12,18,24,36,72}, {12,18,24,36,72}, {18,24,36,72}, {24,36,72}, {24,72}, {72}.

    Reference link.

  63. A 4-legged square table sits in a room with no steps, but with a wavy floor. As you might expect, the legs of the table do not all reach the ground, and the table wobbles. Is there a place in the room where all four of the table legs will reach the ground?

  64. The bright young student dropped in to see his old professor. The student noticed the professor's picture gallery and asked how many grandchildren he had.
    "Four," said the professor, "and all of their ages are different positive integers, but total to less than eighteen."
    This leaves a finite number of cases to examine (hint), it was not enough information for the student to decipher their ages, so he asked for the product of their ages.
    "The same as the number on my house," said the professor.
    Having narrowed the list further, but still baffled, the student asked if the youngest one had her second birthday yet, and was rewarded with an answer.
    "Now I can tell you their ages," beamed the student.
    You can too.

  65. If you cut a Möbius strip along a line halfway between the edges, how many pieces do you get? What if you cut it one-third of the way from one edge to the other?

  66. Find a legal move for White which does not checkmate Black immediately.

    WB                                 WK WR
     BR                WB
                      WR   
         BB  BP   BP   
         WP    BK    WP   
       BP       WP       BP
       WP       WP       WP
             WN    WN      


    I got this problem from a Martin Gardner book. The Sun-Sentinel today (April 13, 2003), on page 8D, credits the problem to Karl Faber.

  67. Show how to use a straight line segment to bisect both halves of the monad (the Yin and Yang symbol).

  68. Show that any sequence of real numbers with n2+1 entries must have either an increasing subsequence of length n+1 or a decreasing sequence of length n+1.

  69. Find an example of a work by M.C. Escher which is based on a glide reflection. Find an example based on non-euclidean geometry. Find an example based on a Möbius strip. Find an example based on a conformal mapping. (Escher had only a high school education in Mathematics.)

  70. What is the meaning of this poem, written by Adam C. Orr?
    Now I — even I — would celebrate
    In rhymes unapt the great
    Immortal Syracusan rivaled nevermore,
    Who in his wondrous lore,
    Passed on before,
    Left men his guidance
    How to circles mensurate.


  71. What is the last non-zero digit in the decimal expansion of 1000000!?
    (I don't know how to do it without a computer, but properly formulating the method leads to not having to store any significant fraction of the digits of 1000000!)

  72. Evaluate each of the ten statements as to its truth or falsity
    1. Exactly one statement on this list is false.
    2. Exactly two statements on this list are false.
    3. Exactly three statements on this list are false.
    4. Exactly four statements on this list are false.
    5. Exactly five statements on this list are false.
    6. Exactly six statements on this list are false.
    7. Exactly seven statements on this list are false.
    8. Exactly eight statements on this list are false.
    9. Exactly nine statements on this list are false.
    10. Exactly ten statements on this list are false.

  73. What is the final decimal digit in the expansion of w(1000), where w(1)=7, and w(n+1)=7w(n)?

  74. My wife and I recently attended a party at which there were four other married couples. Various handshakes took place. No one shook hands with himself or herself or with his or her spouse, and no one shook hands with the same person more than once.
    After all the handshakes were over, I asked each person, including my wife, how many hands he or she had shaken. To my surprise, each gave a different answer. How many hands did my wife shake?

  75. Show that (3+4i)k=5k has exactly one integral solution.

    For k > 0, (3+4i)k = (3-i)k = 3-i (mod 5). 'Nuff said?

  76. Show that (1/π)arctan(4/3) is irrational.

  77. Let C be the unit circle, let Q be the set of points of the plane which have both co-ordinates rational, and let S be the intersection of C and Q. Show that S is infinite. Show that S is dense in C.

    Note that p = (3+4i)/5 is in S. Then, pk is in S, for k integral, and S is infinite. Now, let q be the integer part of 2π/α, where α = arctan(4/3). One of 2π-qα or (q+1)α-2π is less than α/2. An obvious recurrence allows us to generate a point in S with argument arbitrarily small, but non-zero. The rest is easy.

  78. (a) Supppose that there are three points with both co-ordinates rational on a circle. Show that the center of the circle has both co-ordinates rational.

    If A(a,b) and C(c,d) are points with a,b,c,d in some field F, then the midpoint of the line segment AC also has both of its coördinates in F. The slope of the line segment AC is in F. The slope of any line perpendicular to line segment AC is also in F, so the perpendicular bisector of AC is a line y = mx + k, with m,k in F. The intersection of any two such lines results in a point with both coördinates in F.

    (b) Supppose that there are three points with both co-ordinates algebraic on a circle. Show that the center of the circle has both co-ordinates algebraic.

    (c) Can a circle (of positive radius) in the plane have all of its points having both co-ordinates rational? Both co-ordinates algebraic?

    (d) Show that there is a point in the plane, and a family of circles, C1, C2, C3, ..., such that Ci contains exactly i lattice points in its interior.

    Can you find a point P such that no circle centered at P has more than one point with both coördinates rational?

  79. Show three rational points on a circle forces the set of rational points to be dense on the circle.

  80. Suppose that a, b, c, are positive integers and the lengths of sides of a right angled triangle. That is, a2+b2=c2. What can be said about c? Find a fairly easily tested condition such that the positive integer x is the length of the hypotenuse of a right-angled triangle with sides of intgeral length, if and only if x satisfies the condition.

  81. My copy of the puzzle book was missing the black bishop and the two black pawns. But, it has a story to go along with the problems.
    (a) White to mate in three.
    (b) Remove the white knight. Now White to mate in four.
    (c) Remove the white knight and the white pawn at KR2. Now White to mate in five.
    (d) Remove the white rook (only). Now White to mate in six.

                                                      
                      WR 
                         BP
                 WK    BK
                          
                      BP  
                   BB WP WP
               WN        


    Solutions

  82. Harary's Caterpillar Game. Frank Harary has devoted his recent years to producing mathematical games that could be of interest to young students, in an effort to interest them in the study of mathematics. Here is one such game.
    A caterpillar is a tree T with a property that the removal of the end-vertices of T results in a path. You could draw one by drawing a path (which we will call the spine), say with vertices 1,2,3,4,5,...,n, so that vertex i is joined to vertex i+1, for 1≤i<n. Then, add k1 edges from vertex 1 to k1 new vertices, add k2 edges from vertex 2 to k2 new vertices (disjoint from those for vertex 1) , add k3 edges from vertex 3 to k3 new vertices (disjoint from those for vertices 1,2) , etc. Perhaps we should call this the caterpillar [k1,k2,...,kn]. If you've drawn the picture as specified, it looks a little like a caterpillar. Similarly, we could refer to a collection of caterpillars, by listing the caterpillars in the collection, so [[1,2,3],[4,3],[3,2,1]] is isomorphic to the graph consisting of two copies of the caterpillar [1,2,3] and one copy of the caterpillar [3,4].
    The game goes as follows: Start with a mutually agreed upon caterpillar. Now, two people take turns. At each turn one of the players removes the edges of a path. The person who takes the last edge wins.
    Discuss the winning strategy for the initial caterpillar [j,k].
    More Challenging problem: Discuss the winning strategy for the initial caterpillar [j,k,m].
    You can see what the next question would be -- and we're soon at the level which might be good for an M.S. Thesis.
    Under what conditions is taking the spine, possibly with a leg at the first vertex and/or the last vertex, a winning move?
     

  83. A standard first year computer science exercise is to list all 92 ways to place 8 queens on a standard 8×8 chessboard so that no two of them attack each other. Find one such way.
    Consider the problem for other sizes, too. Also, toroidal boards, etc.

  84. Last month as I was paying my bills, I put the payments randomly into the envelopes, one payment per envelope. What is the chance that none of the payments went to the proper creditor?

    Yes, I actually did this one with two bills. Don't try it -- big companies cash whatever you send them.

  85. I want to hold a dinner party for n couples, who will all be seated around a large table. Men and womnen will alternate around the table, but no woman is allowed to sit next to her husband. How many ways can this be done?

    Some rook polynomials.

  86. A number of students sit in a circle while their teacher gives them candy. Each student initially has an even number of pieces of candy. When the teacher blows a whistle, each student simultaneously gives half of his or her candy to the neighbour on the right. Any student who ends up with an odd number of pieces of candy gets one more piece from the teacher. Show that no matter how many pieces of candy each student had at the beginning, after a finite number of iterations of this transformation all students have the same number of pieces of candy. MAA Monthly(2003).

  87. At a post office, a man purchased some one-cent stamps, three-quarters as many two-cent stamps as one-cent stamps, three-quarters as many five-cent stamps as two-cent stamps, and five eight-cent stamps. He paid for them with a single bill, and there was no change. How many stamps of each kind did he buy?

  88. There are more chess masters in New York City than in the rest of the U.S. combined. A chess tournament is planned to which all American masters are expected to come. It is agreed that the tournament should be held at the site which minimizes the total intercity travelling done by the contestants. The New York masters claim that, by this criterion, the site chosen should be their city. The West Coast masters argue that a city at or near the center of gravity of the players would be better. Who is right?

  89. Suppose that each point of the plane is coloured red or blue. Show that some rectangle has its vertices all the same colour.

  90. For which integers x is x4+x3+x2+x+1 a perfect square?

    A trivial computer program reveals that the only solutions in integers between -10,000 and 10,000 are: x = -1, x = 0, and x = 3. So, prove this.

    Problem 74 in Mathematical Morsels. (Original Proposer: T.H. Gronwall.) Start with: (x2 + x/2 + 1)2 is too large, if x ≠ 0. Also, (x2 + x/2 + τ)2 is too small, for τ = (sqrt(5)-1)/4.

  91. A customer at a 7-11 store selected four items to buy, and was told that the cost was $7.11. He was curious that the cost was the same as the store name, so he inquired as to how the figure was derived. The clerk said that he had simply multiplied the prices of the four individual items. The customer protested that the four prices should have been added and not multiplied. The clerk said that that was OK with him, but, the result was still the same: exactly $7.11. (From the puzzle page: http://rec-puzzles.org/arithmetic.html.)

  92. There is a nice problem making its way around the web now:

      The warden meets with the 23 prisoners when they arrive. He tells them:

      You may meet together today and plan a strategy, but after today you will be in isolated cells and have no communication with one another.

      In this prison there is a switch room which contains two light switches, labelled A and B, each of which can be in the on or off position. I am not telling you their present positions. The switches are not connected to a light, bell, or any other appliance. After today, from time to time, whenever I feel so inclined, I will select one prisoner at random and escort him to the switch room, and this prisoner will select one of the two switches and reverse its position (e.g. if it was on, he will turn it off); the prisoner will then be led back to his cell. The prisoner must change the position of exactly one switch. Nobody else will ever enter the switch room.

      Each prisoner will visit the switch room arbitrarily often. That is, for any integer N it is true that eventually each of you will visit the switch room at least N times.

      At any time, any of you may declare to me: "We have all visited the switch room." If it is true (each of the 23 prisoners has visited the switch room at least once), then you will all be set free. If it is false (someone has not yet visited the switch room), I shall enjoy feeding you all to the alligators.

    1. Devise a strategy which the prisoners can employ to guarantee their release.

    2. How would you change your strategy if there were 37 prisoners? What if the requirement were that each had to visit the room five times before release?


  93. At another party, I again watched the hand-shakes. This time, it turned out that for every two people at the party, there was exactly one person with whom those two people had shaken hands. Prove that there were an odd number of people at the party.

  94. If you place a queen on the standard chessboard, it covers about 3/8 of the squares (including the one it occupies), and does not attacj about 5/8 of the squares. At a rough estimate, two queens would miss (5/8)2 of the squares, three queens would miss (5/8)3 of the squares, four queens would miss (5/8)4 of the squares, and five queens would miss (5/8)5 of the squares (which is between five and six).
    These ratios are not quite correct, but are not that far off the true values. The expected numbers of squares missed are: 161/4 = 40.25, 2111/84 ≈ 25.13, 10138/651 ≈ 15.57, 760405/79422 ≈ 9.57, and 1854589/317688 ≈ 5.84.
    Show how to use five queens to cover all of the squares of the board.

  95. The sixteen squares problem mentioned in class has lots of solutions. There are three which are particularly nice. (Actually, there are several which are particularly nice, but only three of these are really distinct.)

    The problem is to take the sixteen possible squares (all of the same size, of course) that result from drawing all possible subsets of the four lines of symmetry of the square and to rearrange these sixteen squares into a larger four by four square such that each line segment continues thought the adjancent squares (and thus looks like an unbroken line).

  96. Suppose three people play a version of a matching game as follows:
    1. At the beginning of each round, the three players simultaneously place one dime on the table.
    2. If all three coins show the same side (three heads or three tails), the players retreive their own coins and the round continues with them placing the coins on the table again (after possibly switching the side they will place up). This process will continue until the coins do not all match.
    3. If the coins do not match, the player whose coin shows a different side from the other two coins is declared the winner of that round, and keeps all three coins. This ends the round.
    4. The game continues until (at least) one of the players has no more dimes.
    What is the expected number of rounds that this game will take if the players start with x, y, and z dimes? (Surprisingly, there is a very simply formula.)

    Hint: If f(x,y,z) is the expected number of rounds when the players start with x, y, and z dimes, with xyz ≠ 0, then
    f(x,y,z) = 1 + ( f(x-1,y-1,z+2) + f(x-1,y+2,z-1) + f(x+2,y-1,z-1) ) / 3 .

    The original problem, posed in 1941, asked for the expected number of tosses. That adds a factor of 4/3, since the equation will now be
    f(x,y,z) = 4/3 + ( f(x-1,y-1,z+2) + f(x-1,y+2,z-1) + f(x+2,y-1,z-1) ) / 3 .

  97. Let G be a loopless graph. Suppose that no vertex is on more than c odd cycles. Then, the chromatic number of G is at most 2c+2. (Russia, 2000)

    The published proof of this one is a little long. It might be nice to have a shorter solution. (I have an easy proof that the chromatic number is at most k c1/2, for some constant k.)

URL: http://www.math.fau.edu/locke/courses/Rec-Math/content.htm