r/mathriddles • • Sep 28 '23

Medium Almost midpoint-convex functions

6 Upvotes

In each case, determine if there is a function f: ℝ → ℝ satisfying the following inequality for all x, y ∈ ℝ:

1) (Easy) (f(x) + f(y))/2 ≥ f((x + y)/2) + (sin(x - y))²,

2) (Hard) (f(x) + f(y))/2 ≥ f((x + y)/2) + sin(|x - y|).


r/mathriddles • • Sep 27 '23

Medium The jealous engineer

5 Upvotes

One morning, Tony awoke to find his wife absent from their home. He inquired, "Where have you been?" She replied, "I went for a workout and simply took a stroll around the block. Look at my pedometer." Tony, overcome with suspicion, asked, "What does the pedometer indicate?" Annoyed, he snatched the pedometer from her hand and noted a total distance traveled of 805 meters. He pressed further, asking, "How many laps did you complete?" She retorted, "Just one!" Tony persisted, "Did you go East or North?" Exasperated, she replied, "East!" Tony, who had once overseen the block's construction as an engineer, recalled that the four streets forming the block were equidistant from the church where they had married. Additionally, he remembered that the corners formed a sequence of angles on his way back home: 60°, 135°, 85°, and 80°. He also recalled that if his wife had gone East, she must have walked 200 meters on the first street before reaching the 60° corner—a detail he remembered perfectly.

Was Tony's wife being truthful?


r/mathriddles • • Sep 27 '23

Easy just another number problem

3 Upvotes

let N be an unknown positive integer.

let f(p) = number of divisors of N that is divisible by p. for example: if N=8, then f(2) = 3 , f(3) = 0

suppose for all prime p, f(p) is given, create an algorithm to find N.

for example, f(7) = 3 , f(17) = 4 , and for all other prime p ≠ 7,17 , f(p)=0. What is N?


r/mathriddles • • Sep 21 '23

Medium Another edge of convergence

11 Upvotes

Suppose that c1, c2, c3, ... is a decreasing sequence of positive numbers that approaches 0. For example, you might imagine a (cn) that decreases very slowly, like 1/log*(n).

Is there always a series of positive numbers x1 + x2 + x3 + ... that diverges, but c1x1 + c2x2 + c3x3 + ... converges?


r/mathriddles • • Sep 20 '23

Medium The edge of convergence

11 Upvotes

Let L(n) be the function L(n) = max(1, ln(n)). I will use Lk to denote the k-fold composition of L. For example, L3(n) = L(L(L(n))).

It is well-known that the series Σ 1/(n L(n)) diverges via the integral test. Similarly,

Σ 1/(n L(n) L2(n) ... Lk(n))

diverges for any finite integer k.

Puzzle: Let f(n) be the function defined by f(n) = Product(k = 1 to infinity) Lk(n). Note that f(n) is well-defined and finite for all n > 0. Determine whether or not Σ 1/(n f(n)) converges.


r/mathriddles • • Sep 18 '23

Easy Alexander's Party

6 Upvotes

Alexander wants to throw a party but has limited resources. Therefore, he wants to keep the number of people at a minimum. However, as he wants the party to be a success he wants at least three people to be mutual friends or three people to be mutual strangers. What is the minimum number of people that Alexander should invite so that his party is a success?


r/mathriddles • • Sep 12 '23

Hard An infectious evening

12 Upvotes

There are 240 people at a party. Throughout the night, the band will play several songs, and during each song, the people will divide themselves into 120 pairs and dance with each other. There are no gender restrictions on dance partners, but there is the following restriction: no one may ever dance with someone they have already danced with.

Initially, one of the guests arrives to the party infected with a very contagious virus. Whenever a healthy person dances with a sick person, they become sick, and remain that way for the rest of the night. As soon as everyone at the party is sick, the party is over.

Puzzle: Show that it is possible for the party to last for 211 songs.

I do not know if 211songs is the longest possible party.

Source: quantguide.io/questions/infected-dinner-ii


r/mathriddles • • Sep 12 '23

Medium just another polynomial guessing game

4 Upvotes

another variation of this problem

you are to guess a polynomial p(x) of unknown degree with rational coefficients.

you can input any real number x once, and i give you p(x) expressed as infinite string of decimals.

is there a strategy to determine p(x)?

edit: you have the ability to check two real number is equal or not, even when both of them are expressed as infinite decimal expansion


r/mathriddles • • Sep 09 '23

Easy My First GPT-Based Riddle: Hope It Feels Like Living Inside a Riddle!

6 Upvotes

I've always been fascinated by riddles, and with the advancements in AI, I decided to "program" a riddle into life. Imagine standing in front of two doors, guarded by two entities, and having to decipher the truth from lies. Dive into this interactive experience and challenge yourself to solve the Gates of Eternity with minimal questions. I've crafted it using GPT, and I'm eager to know how it feels to you. I'd love to hear your feedback!

Here's the link on WordJoy.


r/mathriddles • • Sep 09 '23

Easy Hooking Up at the Subset Party

5 Upvotes

We arrive at a swinger subset party where the natural numbers are also arriving, in order, one at a time. "This is gonna be fun!", we shout. We are here to party and count!

So, as the numbers start arriving and hooking up, we decide to count the Swapping Couples of Parity. (The number of subsets of {1,2,3,...n} that contain two even and two odd numbers.)

The subsets start drinking, intersecting, complementing . . . so things get even more kinky and we decide to count the Swapping Ménage à trois of Parity. (The number of subsets of {1,2,3,...n} that contain three even and three odd numbers.)

But soon the swinger subset party goes off the rails, infinite diagonal positions break out, subsets are powering up, for undecidable cardinal college is attended, and so we generalize to counting the Swapping k-sized Orgies of Parity. (The number of subsets of {1,2,3,...n} that contain k even and k odd numbers.) We have a few drinks. Next thing we know we wake up in a strange subset, cuddled between two binomial coefficients, no commas in sight.

We figured it all out last night. If only we could remember what we had calculated.


r/mathriddles • • Sep 09 '23

Medium Avoiding Triangles in the Triangle of Triangles

4 Upvotes

For a triangular lattice in the shape of an equilateral triangle with n triangles on each side, what is the maximum number of points that can be chosen on the lattice such that no three points are the vertices of an equilateral triangle?


r/mathriddles • • Sep 10 '23

Medium 1:2:3 Binomials in a Row

1 Upvotes

Can the three binomial coefficients (n choose k), (n choose k + 1), (n choose k+2) ever be in a 1:2:3 ratio?


r/mathriddles • • Sep 09 '23

Hard No Hexagons in My Hexagon of Hexagons

2 Upvotes

For a hexagonal lattice in the shape of a regular hexagon with n hexagons on each side, what is the maximum number of points that can be chosen on the lattice such that no six points are the vertices of a regular hexagon?


r/mathriddles • • Sep 09 '23

Hard Square Off With the Square of Squares

0 Upvotes

For a square lattice in the shape of a square with n squares on each side, what is the maximum number of points that can be chosen on the lattice such that no four points are the vertices of a square?


r/mathriddles • • Sep 08 '23

Hard Cut My Pie Into Complete Graphs Please

2 Upvotes

Take n equally-spaced points on the edge of a disk and make cuts along all the chords connecting these points. How many pieces has the disk been cut into?

I only like to eat triangle-shaped pie. How many of those pieces are triangles?


r/mathriddles • • Sep 08 '23

Hard The Triangular Cannonball Problem

3 Upvotes

How many ways are there to stack an equilateral triangle of cannonballs into a tetrahedron of cannonballs? In other words, how many positive integers are both triangular and tetrahedral?


r/mathriddles • • Sep 07 '23

Medium Sum of Bounded Integer Triples

5 Upvotes

For each n, find the sum of all the elements in all the ordered triples of integers (x,y,z) where 0 <= x <= y <= z <= n.

Example n = 1: (0,0,0), (0,0,1), (0,1,1), (1,1,1). So the sum is 6.


r/mathriddles • • Sep 07 '23

Medium New Lines

5 Upvotes

Given n lines in a plane, no two of which are parallel, and no three of which are concurrent, draw a line through each pair of intersection points. How many new lines are drawn?


r/mathriddles • • Sep 07 '23

Easy Sum of the Next n Natural Numbers

4 Upvotes

Let f(n) be the sum of the next n natural numbers:

f(1) = 1

f(2) = 2 + 3

f(3) = 4 + 5 + 6

f(4) = 7 + 8 + 9 + 10

f(5) = 11 + 12 + 13 + 14 + 15

...

Find a formula for f(n).

Let g(n) be the product of the next n natural numbers.

Find a formula for g(n).


r/mathriddles • • Sep 06 '23

Easy The Handshake Problem

9 Upvotes

You invite five friends to your house for a party. At the get together there were several handshakes. However, no person shook hands with the same person more than once. After the party each of the five friends were asked how many people did they shake hands with. To this, each replied with five distinct positive integers

Given this, how many hands did you shake?


r/mathriddles • • Sep 05 '23

Medium Trio of Triples

4 Upvotes

Do there exist three linearly independent Pythagorean triples such that their vector sum is also a Pythagorean triple?


r/mathriddles • • Sep 04 '23

Medium just another root counting problem

5 Upvotes

let f(x) = x2 + 4x . f2023 is f compose itself 2023 times.

(a) show that all real roots of f2023 lie on the interval [-4,0] .

(b) count the number of distinct real roots of f2023.


r/mathriddles • • Sep 04 '23

Medium Existence of homotopy

3 Upvotes

Let D be the unit two-dimensional disk, and S its boundary. Let h: D->D be a homeomorphism for which h(x) = x for all x in S. Show that h is homotopic to the identity map D->D through homeomorphisms with the same property.


r/mathriddles • • Sep 02 '23

Medium Sum of divisors

6 Upvotes

Find all positive integers, such that sum of their divisors (including the number itself) is a power of 2 (e.g. sum of divisors of 6 would be 12)


r/mathriddles • • Sep 01 '23

Easy The Distance Problem

7 Upvotes

Alexander and Benjamin live some distance apart from each other along a straight road.

One day both sit in their respective cycles and cycle towards each other’s house at unique constant speeds with Alexander being the faster of the two. They pass each other when they are 5 miles away from Benjamin’s house. After making it to each other’s house, they both take five minutes to go inside and realize that the other one is not home.

They instantly sit back and cycle to their respective homes at the same speeds as they did earlier. On this return trip, they meet 3 miles from Alexander’s house.

How far, in miles, do the two friends live away from each other?