# User talk:Bobthesmartypants/Solutions

## Solutions

**Solution 1:** For the first number, it will always be roll. For the second number, there is a chance of getting a new number, so the expected number of rolls is . The expected number of rolls for the third number is . Continuing the pattern, the expected number of rolls for the 4th, 5th, and final number is respectively. So the total expected number of rolls is

**Solution 2:** We can imagine the rectangle be refected across the entire plane, so that any time when the point-like ball bounces, it continues in a straight line. The slope of the line with angle measure is , which is an irrational number. The rectangle has integer side lengths, so any line that passes through two lattice points in this grid will have a rational slope. Therefore, the line will never pass through another lattic point, which implies that the point-like ball will .

**Solution 3:** It can only be possible if the number of roads is a positive integer, and that can only be attainable when the number of roads (not inluding double counting) is even. To count the number of roads, we simply add up all the roads per number of cities: for example, to find how many roads are in a country with 4 cities having 3 roads and 3 cities having 6 roads, we simply add and to get roads (with double the counting). To find when it is even, we list the first few Fibonacci numbers' parity (even or odd). It goes like this: We can see a pattern: two odds, then an even, then two odds, then an even, and so on. So when , we have to do , so it is not possible. For , we have to do , so it is not possible. For , we have , so IS possible. We find that if we continue this, then a pattern emerges: every time when , then it is possible. Otherwise, it isn't. So our answer is .

**Solution 4:** We first inspect what happens at one "vertex" of the original cube; i.e. the triangle part. If we arrive at the triangle from one edge of the original cube, we can only travel at most sides of the triangle before exiting at another edge. So now we need to find the most amount of edges possible to travel on the original cube. After some experimentation, we find that the maximum on the cube is . Every vertex of the original cube contributes to more edges, and there are vertices, so their total is .

**Solution 5:** This problem seems very tricky, so I will divide it into parts. The first part is to figure out what values of will allow the ball to bounce on all sides of the -gon. The only way for the ball to return to the launch spot, Side A, before it has hit all the sides is when there is a common factor of and other than . (We do because is excluding both Side A and Side B, and the solves that issue)So that means that for the ball to hit every side, it must have . Now the problem becomes: "Find the sum of all values such that ". How should we do that? Well, let's first inspect some examples. I will use the number . The numbers that are relatively prime to are . Notice how the opposite terms, and , add up to . This suggest the formula , where is the number of numbers less than and relatively prime to ; I came up with the formula because the sum of all the numbers relatively prime to is equal to half the number of numbers relatively prime to multiplied by (I paired up each number with its opposite). It may seem that we are done, but there is one last thing to do. We need to subtract the 's we made at the beginning of the solution. To do that we need to subtract the number of 's there are. There are simply 's. We subtract, and get the final answer .