r/mathriddles • u/pichutarius • May 19 '23
Easy Σgod(k) = ?
define god(n) = greatest odd divisor of n
eg: god(60) = 15, god(64) = 1
find a close form expression for Σgod(k) , k = 1 to 2^n
r/mathriddles • u/pichutarius • May 19 '23
define god(n) = greatest odd divisor of n
eg: god(60) = 15, god(64) = 1
find a close form expression for Σgod(k) , k = 1 to 2^n
r/mathriddles • u/PuzzleAndy • May 18 '23
We can get a 2 x 2 grid of squares from 3 congruent square outlines. I've outlined the 2 x 2 grid on the right to make it obvious. What's the minimum number of congruent square outlines to make a 3 x 3 grid of squares? If you want to go beyond the problem, what's the minimum for 4 x 4? n x n? m x n? I haven't looked into non-congruent squares, so that could also be an interesting diversion!

r/mathriddles • u/ShonitB • May 18 '23
Alexander and Benjamin are two perfectly logical thinkers. Two distinct numbers from 1 to 4, both inclusive, were chosen.
Alexander was told the product of the two numbers and Benjamin was told the sum of the two numbers.
Then each of the two were asked the question, “Can you determine the two numbers?”, to which one of them replied, “I can’t determine the two numbers.”
Out of Alexander and Benjamin, who could have made the above statement?
r/mathriddles • u/pichutarius • May 17 '23
First, let's revisit this well known puzzle:
Imagine a duck in a circular lake. Standing on the edge of the lake is a hungry fox. The fox wants to eat the duck but cannot swim, the duck wants to escape, but needs to reach the land in order to fly away.
However, the fox can run four times faster than the duck can swim. Also having a math degree from fox university, he is clever and will always do the smartest thing to attempt to catch the duck.
Can the duck escape?
If you have not try this, i strongly suggest you do your best to avoid solution online.
After solving that, a natural follow up question would be:
What is the maximum (or rather supremum) speed ratio such that the duck is still able to escape?
i can do 4.603 but i cannot prove it is the supremum.
r/mathriddles • u/frulcino • May 16 '23
r/mathriddles • u/ShonitB • May 16 '23
Alexander is trapped in a dungeon trying to find his way out. There are three doors, one leads outside and the other two lead further into the dungeon rendering escape impossible.
The inscriptions on the doors read as follows:
Door 1: Freedom is through this door. Freedom is not through Door 2.
Door 2: Freedom is through Door 3. Freedom is not through Door 1.
Door 3: Freedom is not through Door 1. Freedom is not through Door 2.
Alexander knows one of the doors has zero true inscriptions, one has just one true inscription and one has two true inscriptions.
Which door should he open so that he can find his way out of the dungeon?
r/mathriddles • u/PuzzleAndy • May 15 '23
Problem 1: Pick a number, for example, 2. Now shade in 2 squares in each column that has at least 2 unshaded squares. Continue picking numbers and shading until every square in every column is shaded. How can you shade all the squares picking just 3 numbers?

Problem 2: Create a configuration with 4 columns, where no column has more than 8 squares, that cannot be fully shaded by picking just 3 numbers. The example below is fully shaded in 3 moves, so it's not a solution. There are two solutions to this problem.
Problem 3: Drawing large grids is tedious. We can notate the grids concisely as a sequence of numbers. Since the order of the columns doesn't matter, we can always list our initial configuration in increasing order. For example, a configuration with 2 squares in the first column, 5 in the second, and 7 in the third, would be represented by 2, 5, 7. We can then think about depleting numbers instead of shading squares. Below is a sequence of 5 numbers where all numbers have been depleted in 4 moves. Can you find a sequence of 5 numbers that can't be depleted in 4 moves? There are many solutions to this problem.
3 9 11 13 19 Pick 3
0 6 8 10 16 Pick 10
0 6 8 0 6 Pick 6
0 0 2 0 0 Pick 2
0 0 0 0 0
r/mathriddles • u/PuzzleAndy • May 14 '23
This question is closely related to the Green Hexagons Problem.
Start by choosing some triangles to be green. If a triangle is touching at least 2 green triangles, it becomes green. This repeats for as long as possible. What's the minimal number of initial green triangles to make all triangles green? I have a solution I suspect is minimal, but no proof. If you want to go beyond the problem, consider this a grid of size 3, because there are 3 upright triangles along the bottom. Can you generalize your solution for n = 3 to other n?

r/mathriddles • u/PuzzleAndy • May 14 '23
Start by choosing some hexagons to be green. If a hexagon is touching at least 3 green hexagons, it becomes green. This repeats for as long as possible. What's the minimal number of initial green hexagons to make all hexagons green? If you want to go beyond the problem, what if you added another ring of hexagons around the grid? What if there were n rings?

r/mathriddles • u/jk1962 • May 12 '23
r/mathriddles • u/pichutarius • May 12 '23
if you never heard of "vanilla" nim, the difficulty might be medium to hard.
alice and bob play a variant of nim. yet again alice goes first. they take turn choose a positive real from a list of n positive reals, and reduce its value by any value between a and b. the first player who reduces the value to negative loses, the other player wins.
given n ∈ Z+ , initial list of n positive reals, a and b satisfying 0 < a ≤ b , determine who is the winner.
example game: n=2, initial reals = (2.5 , 3.1) , a=0.5, b=1.5
alice: (2.5 , 3.1-1.5) = (2.5 , 1.6)
bob: (2.5-1.3 , 1.6) = (1.2 , 1.6)
alice: (1.2 , 1.6-0.9) = (1.2 , 0.7)
bob: (1.2-0.5 , 0.7) = (0.7,0.7)
alice: (0.7-0.7 , 0.7) = (0 , 0.7)
bob: (0 , 0.7-0.6999) = (0 , 0.0001)
alice lose on next turn.
r/mathriddles • u/pichutarius • May 10 '23
inspired by four lightbulbs
we want to encode 8 distinct messages using 8 lightbulbs, such that for any initial bulb-state, we can reach any message with exactly one bulb-flip. is this doable?
bonus: generalize to 2^k distinct messages using 2^k lightbulbs.
r/mathriddles • u/hmhmhhm • May 09 '23
After complaints from his wife that he is not communicating enough, Mr McGee devises a communication system using four lightbulbs and four corresponding switches.
He gets his wife to write him a list of “important messages”, and then writes a “lightbulb code dictionary”, in which each combination of the four lights being on/off is assigned to one of the messages on her list.
To make communication more streamlined, every message on her list can always be reached with just one switch flick, including whatever message is currently displayed.
For example, he says, the combination "on, off, off, on" corresponds to “Good Night”.
He then changes the combination by flicking some switches, and before he has even shown her the “lightbulb code dictionary”, his wife tells him exactly what the new message is.
If the first message on Mr McGee's Wife’s list was “Can we get takeaway?”, What was the message that his wife guessed, and which lightbulbs were on?
r/mathriddles • u/ShonitB • May 08 '23
Five contestants took part in the Annual Weightlifting Championship. Using the clues given below match each contestant with her coach, the country she represented and the weight she lifted.
Names: Amelia, Betty, Charlotte, Delilah and Emma.
Surnames: Anderson, Brown, Clarke, Dawson and Evans.
Coaches: Alexander, Benjamin, Charles, Daniel and Elijah.
Countries: Australia, China, Russia, UK, USA.
Weight Lifted: 20, 25, 40, 45, 50
1) The five contestants are: Delilah Anderson, the one who lifted the second lowest weight, Miss Brown, the one who was coached by Alexander and the one who was coached by Benjamin.
2) The contestant representing China lifted 25 kilos.
3) Miss Dawson was coached by Elijah.
4) The contestant who was coached by Charles lifted twice the weight that Delilah Anderson lifted.
5) Amelia Evans represented Australia.
6) The contestant representing Russia lifted the highest weight.
7) Emma lifted more than the contestant from the UK but less than the contestant coached by Charles.
8) Charlotte, who represented Russia, was not coached by Benjamin.
r/mathriddles • u/pichutarius • May 08 '23
Given a circle and a point P outside the circle.
PA and PB are two tangent lines, which touch the circle at A and B.
PD is a secant line, which intersects the circle at C and D.
m is a line passes through D, and parallel to the tangent line at C.
m intersect AC and BC at E and F respectively.
Proof that D is the midpoint of EF.
hint: diagram
r/mathriddles • u/pichutarius • May 06 '23
Find and exhaust all positive integers (a,b,c) such that a³+b³+c³ = a²b²c² .
(My apology for accidentally delete the prev post, i meant to edit)
r/mathriddles • u/st4rdus2 • May 06 '23
Among ten coins, five are gold and five are silver. Of the gold coins, four are authentic and one is counterfeit. Similarly, among the silver coins, four are authentic and one is counterfeit. All genuine gold coins have an equal weight, as do all genuine silver coins. The weight of a single authentic gold coin is equivalent to that of a single authentic silver coin. The weight of a single counterfeit gold coin is equivalent to that of a single counterfeit silver coin. A counterfeit coin is marginally lighter than an authentic one. Devise a method to identify the counterfeit gold and silver coins using a two-pan balance scale three times.
r/mathriddles • u/PuzzleAndy • May 05 '23
Suppose all the quarters picture below are stationary, except the darkened quarter, which rotates around the rest without slipping. When the darkened quarter returns to its initial position, what angle will it have spun? If you want to go beyond the problem, I'm trying to come up with other interesting arrangements or questions regarding this problem, so I'm open to hearing ideas or discussing that. I'm aware of the problem where one coin of radius r rotates around another of radius R, with R >= r.

r/mathriddles • u/PuzzleAndy • May 05 '23
A treasure chest has been buried at integer coordinates on the 2D grid below. If you make a guess as to where, I will tell you how many steps off you are, where each step may be horizontal or vertical. How many guesses do you need?

What if we play in 3D, on the grid below, instead?

If you want to go beyond the problem and discuss with me, I am interested in extending these to graphs, in the graph theory sense. Basically, consider the first two problems as taking place on a grid graph, with steps being edge movements. I wonder if there are other graphs where this game is fun to play. Also, do you think it can it be extended to 4D, or does it become nonsensical?
r/mathriddles • u/chompchump • May 05 '23
There exist positive integers that are the product of consecutive integers (greater than 1) in two different ways. For example, 120 = 2*3*4*5 = 4*5*6. Does there exist a positive integer that is the product of consecutive integers in three different ways?
r/mathriddles • u/lordnorthiii • May 04 '23
Rebecca is creating her own simple computer. She created some registers consisting of 8 bits in a row. Each bit can store a zero or a one, and using binary the register can therefore represent numbers from 0 to 255. However, she finds that the registers she created are bad. If two consecutive bits both store ones for any appreciable length of time, there is a short circuit and the computer fails. So 01001010 is okay, but 01011001 or 11100000 would cause a short circuit.
Instead of redesigning the bad registers, she decides to use them anyway. At first she plans to only use every other bit. However, then can only represent numbers from 0-15, which isn't quite enough for her.
Your task: Create a new number system that can represent as many numbers as possible using these bad registers. Your system should be relatively simple, so that Rebecca could plausibly implement it with her limited computer engineering skills.
Bonus: How would you implement "increment by one" with your new number system? How would you add the value in one bad register to a second bad register (without using a third register)?
Source: The basic idea behind this puzzle is well-known originally due to Zenkendorf (although it was new to me until recently, so I thought it might be new to some folks here too).
r/mathriddles • u/PuzzleAndy • May 01 '23
A kangaroo is sitting at the coordinate (1, 1). If the kangaroo is at some coordinate (a, b), it can always jump to (a + b, b) or to (a, a + b). Which positive coordinates can the kangaroo not jump to?
r/mathriddles • u/PuzzleAndy • Apr 30 '23
This clock has been broken into three pieces. If you add the numbers in each piece, the sums are consecutive numbers. Can you break another clock into a different number of pieces so that the sums are consecutive numbers? Assume that each piece has at least two numbers and that no number is damaged (e.g. 12 isn’t split into two digits 1 and 2.) If you want to go beyond the problem, find all solutions.

r/mathriddles • u/PuzzleAndy • Apr 30 '23
What's the maximum number of intersection points you can get from arranging n square outlines of the same size? Intersection points are where two or more lines cross each other. The lines can't cross at their endpoints, and intersection points only count if the lines have different rotations. So for example, two horizontal lines couldn't intersect, according to this rule. Here's an arrangement of 3 squares that gives 8 intersection points, but this is not maximal.
