## Can you shuffle numbers can you find all the world cup results fivethirtyeight grilled steak marinade recipe

Welcome to the riddler. Every week, I offer up problems related to the things we hold dear around here: math, logic and probability. There are two types: riddler express for those of you who want something bite-size and riddler classic for those of you in the slow-puzzle movement. Submit a correct answer for either, 1 and you may get a shoutout in next week’s column. If you need a hint or have a favorite puzzle collecting dust in your attic, find me on twitter. Riddler express

It’s currently snowing outside my window, in what I believe is the 37th or 38th nor’easter to hit so far this month. But my mood is buoyed by the coming of summer, which this year will bring an extra treat: the men’s world cup!Average digits

In the world cup’s group stage, each group of four teams plays a round robin, with every team playing the other teams once each.

A win is worth 3 points, a draw 1 point, and a loss 0 points. The points are tallied, and the top two teams in each group advance to the knockout stage. For a given group — let’s pick group A, which includes russia, saudi arabia, egypt and uruguay — how many different final standings, including point totals, are possible for the group stage?

Imagine taking a number and moving its last digit to the front. For example, 1,234 would become 4,123. What is the smallest positive integer such that when you do this, the result is exactly double the original number? (for bonus points, solve this one without a computer.)

average digits

Or that was the solution intended by puzzle submitter derik moore and me. The rationale lies in the shapes’ internal angles. One angle in an equilateral triangle equals 60 degrees, and one angle in a regular hexagon equals 120 degrees, and 60/120 = 1/2. Similarly, one angle of a square is 90 degrees, and one angle of an octagon is 135 degrees, and 90/135 = 2/3. And, finally one angle of a hexagon is 120 degrees, and one angle of a nonagon is 140 degrees, and 120/140 = 6/7, our answer.

Other solvers found more exotic explanations for their solutions. Sion verschraege, for example, inscribed each shape into a unit circle and took the ratios of their areas. He wound up with a solution of $$\frac{1}{\sin (2\pi/9) \cdot \sqrt{3}}$$.Bollier numbers another solver wrote that it was “easy peasy to fit a curve to a two-data-point trendline with whatever the heck function I want, because you didn’t stipulate.” riddler nation’s imagination is as great as its calculations. Solution to last week’s riddler classic

Last week I posed a seemingly simple question: how many decimal numbers are there whose value equals the average of their digits? The digits of the number 2.3, for example, are 2 and 3, and their average is 2.5 — so that doesn’t quite work. But there are at least a few that do.

In fact, it appears there are an infinite number of such numbers. (I’ll call them bollier numbers, after this puzzle’s submitter, sam bollier.)

bollier number

It’s not too hard to find your first bollier number. Single-digit whole numbers are obvious, if trivial, solutions. The average of the digits of the number 7, for example, is just 7. The number 4.5 works well, too — its digits are 4 and 5, and their average is 4.5. Bingo. The number 3.83333 does, too. The average of its digits is (3+8+3+3+3+3)/6 = 3.833333…, which we are allowed to truncate according to the rules of the riddle. There are more complicated numbers too. 4.428571 works, as does 4.571429. And so does 4.5294117647058824.

But when can we stop looking for bollier numbers? Solver jason weisman used a computer program to find hundreds of bollier numbers with less than 1,000 digits, and he reported that their density on the number line remained more or less consistent as he kept searching.Bollier numbers stephen cappella found a really long one: the first 11,617 digits of the decimal expansion of 52,277/11,617. Stephen also graphed the averages of the digits for the first 8,000 or so bollier numbers he found:

(the cluster of averages around 4.5 is interesting, but mysterious. If riddler nation has any mathematical insights into this cool pattern, please let me know!)

Similarly, solver lucas jacobson plotted the number of solutions as the number of digits grew. The number of bollier numbers appears to increase without bound.

Solver eric eason and others argued that the proof lies in prime numbers. Eric emailed me a recipe for constructing any amount of arbitrarily large bollier numbers:

bollier numbers

This will lead to a bollier number, eric wrote, if the prime has the following property: the repeating part of the decimal representation, also called a repetend, of 1/N must have an even number of digits. For example, 7 works, because it has a repetend of length six: 1/7 = 0.142857 142857 142857… same for 11, which has a repetend of length two: 1/11 = 0.09 09 09… conversely, 3 and 31 do not work because they have repetends of length one and 15. About 78 percent of the first 10,000 primes have the desired property, so it seems likely that there are an infinite number of such primes.

There’s even more to this intricate proof idea, which also relies on something called midy’s theorem.Bollier numbers but suffice it to say that you will likely never run out of bollier numbers. Want to submit a riddle?