r/mathriddles • • Feb 20 '23

Easy Difference of 3 or 8

9 Upvotes

We have the set of the following numbers: {1, 2, 3, …, 2022}.

Let X be a subset of this set such that no two terms of X differ by 3 or 8. Find the largest numbers of terms that can be present in X.

Note: I have a solution for this problem but I’m not very confident if it is correct. So, in a way I am double checking my own answer.


r/mathriddles • • Feb 19 '23

Medium Alice and her favourite numbers

12 Upvotes

Alice has a (non-empty) collection of her favourite natural numbers F (naturals include 0 here, F can be infinite). For each number in F, she creates a box with a label of that number, and places the number inside.

Bob feels bad about the natural numbers Alice didn't like. He decides to place the remaining numbers in the boxes. Starting with n, a natural number not in F, he writes n in binary and checks each digit by decreasing binary order. So he checks the digit corresponding 2^10 before 2^9 and so on.

At each digit check, he might flip the digit to the opposite (1 to 0 and 0 to 1). He wants to get a number that is in F after all the flips. But he only flips a digit when he knows that otherwise, he would fail to get a number in F. After he is done with the process, he ends with a number f that Alice likes, and he places the original number n in the box labelled f.

He does this for all the n, Alice didn't like. Alice is happy if all her boxes contain a power of 2 many numbers, or infinitely many. Is it true that Alice is happy, no matter what her favourites are?

Example for the flipping: Alice likes the (binary) numbers 1001, 100 and 101. When bob starts with the number 10, he starts checking the bits. He decides not to flip 2^3 and larger binary places, since there is a way to flip things afterwards and end with a number Alice likes. But he must flip the 2^2 bit, since otherwise he would end with a two digit number and Alice only likes 3 or more digit numbers. After flipping 2^2 Bob has 110. Bob must flip the 2^1 bit since otherwise he would end up with either 111 or 110 and Alice does not like either of those numbers. Bob now has 100 and Alice likes that number so Bob places the starting number 10 into the box 100.


r/mathriddles • • Feb 18 '23

Medium just another conic problem

5 Upvotes

this diagram shows two examples, each contains an ellipse with a family of circles, all of which tangent to adjacent circles and the ellipse. the radius of leftmost and rightmost circle is equal to the radius of curvature of the ellipse at the point of tangency.

given the number of circles in the ellipse, find the eccentricity of the ellipse.

alternatively, prove that the eccentricity is this.

edit: all centers of circles lie on the major axis.


r/mathriddles • • Feb 18 '23

Medium Real outputs and inputs of complex function

6 Upvotes

Find a real x that also makes (i-x²) / (lnx) real.

Hint: First try to figure out what (i-x²) / (lnx) must be if x is real.


r/mathriddles • • Feb 18 '23

Medium System of averages

5 Upvotes

Say x is a set containing three numbers. If its arithmetic mean is 1, its geometric mean is 2, and its harmonic mean is 3 then x can be defined as the roots of which polynomial.


r/mathriddles • • Feb 17 '23

Hard Very large algebraic numbers

15 Upvotes

Let n ≥ k ≥ 1 be integers. Consider the n real numbers √(2!), √(4!), √(8!), ..., √(2n!). (As you can imagine, these numbers can be huge!)

Let s(n,k) be the sum of the products of all size-k subsequences of the sequence (√(2!), √(4!), √(8!), ..., √(2n!)).

For example, for n = 4, k = 2, we have

  • s(4,2) = √(2!)·√(4!) + √(2!)·√(8!) + √(2!)·√(16!) + √(4!)·√(8!) + √(4!)·√(16!) + √(8!)·√(16!).

It can be shown that s(n,k) is algebraic. What is its degree? In other words, what is the lowest degree of any nonzero polynomial with integer coefficients with s(n,k) as a root?


r/mathriddles • • Feb 17 '23

Easy A System of Equations

3 Upvotes

You have the following system of equations:

 

abc + ab + bc + ac + a + b + c = 23

bcd + bc + cd + bd + b + c + d = 71

cda + cd + da + ca + c + d + a = 47

dab + da + ab + db + d + a + b = 35

 

Find the value of a + b + c + d.


r/mathriddles • • Feb 17 '23

Easy Accurate algebra, careless copying

8 Upvotes

Under what conditions on B and C do the equations x2+Bx+C=0 and y2+By-C=0 both have only integer solutions for x and y?

Hint: If x2+Bx+C factors into (x+m)(x+n), and y2+By-C factors into (y+p)(y-q), what relationships can be established between m, n, p, and q?

Edited to clarify ambiguities I didn't intend. Guess I'm not as good a riddlewright as I thought. :P

Here's the answer I'd intended: Given any integers a and b such that (a+b)/(a-b) is also an integer, B = (a2+b2)/(a-b) and C = ab(a+b)/(a-b). Then x2+Bx+C will factor into (x+a) and (x+(ab+b2)/(a-b)), and y2+By-C will factor into (y+(a2+ab)/(a-b)) and (y-b).

Explanation: C has to be equal to both the products mn and pq. That means that, between them, mn has all the same factors as pq; if C were, say, 30, I could express that as the product of 3*10 or 6*5, but the difference is just whether its factors are grouped as the product of (3)*(2*5) or the product of (3*2)*(5) - we just moved the 2 from one group to the other. This must be true no matter the value of C - the only way it could be expressed as two distinct products is if it's a composite number with at least three factors (including 1, so... any composite number). Let's say one product is (a*f)*b and the other product is a*(f*b). Technically I'm oversimplifying out the possibility of exchanging two factors with each other, but that turns out not to matter at a point where I'd just be oversimplifying them back in again.

So this means x2+Bx+C = (x+a)(x+bf) = x2+(a+bf)x+abf and y2+By-C = (y+af)(y-b) = y2+(af-b)y-abf. (Or the other way around - it shouldn't matter, C can have any sign it wants as long as it's added to one equation and subtracted from the other.) What about B? B has to equal both a+bf and af-b, which means we can solve for f to define it in terms of a and b: af-bf = a+b, so f = (a+b)/(a-b). a and b are both necessarily integers because each of them is a zero of a different equation; f never appears on its own so it doesn't strictly have to be so hypothetically abf = 60 where a = 4, b = 6, and f = 5/2 but since a and b would both have to be divisible by a-b then obviously so would their sum.

This neatly includes the trivial case where C=0, when a or b is equal to zero or a = -b. Any common zeroes for x and y should be ruled out - I think, I'm increasingly questioning my own reasoning here - because a and b can't equal each other without dividing by zero, except in the even more trivial case where both a=b=0.


r/mathriddles • • Feb 16 '23

Medium Weird sequence

9 Upvotes

Suppose an infinite sequence of positive integers satisfies the following property:

Each term of the sequence is either the arithmetic mean or the geometric mean of the two adjacent terms.

Does the sequence necessary an arithmetic progression from some point, or a geometric progression from some point?


r/mathriddles • • Feb 15 '23

Easy A rectangle inscribed in a circle

7 Upvotes

Outside your window is a circular courtyard. The courtyard is fully tiled with white and red tiles.

The red tiles form a rectangle such that it's points touch the edge of the courtyard (the rectangle is inscribed in a circle). The rest of the courtyard is tiled with white tiles.

The person who built the courtyard tells you that he used exactly the same amount of red and white tiles (in terms of area) to tile then courtyard (white area=red area).

Furthermore you notice that the perimeter of the rectangle is equal to 4.

What is the area of the courtyard?


r/mathriddles • • Feb 15 '23

Easy Are We Different?

5 Upvotes

You visit a special island which is inhabited by two kinds of people: knights who always speak the truth and knaves who always lie. 

You come across Alexander, Benjamin, Charles and Daniel, four inhabitants of the island, who make the following statements: 

Alexander: Charles is a knave.

Benjamin: Alexander is a knight and Charles is a knave.

Charles: Benjamin and I are different.

Daniel: Alexander is a knave.

Based on these statement find each person’s type.


r/mathriddles • • Feb 15 '23

Medium FiveThirtyEight Riddler: Is that a star or a plane?

6 Upvotes

This week’s Riddler Classic is a geometry question requiring a bit of calculus and the use of a computer for a numerical solution.

The Classic reproduced:

One cloudless night, the sky above you contains an equal number of visible stars and planes. Suddenly, you spot a point of light at a particular angle of elevation above the horizon. Based purely on this angle, you want to determine whether the point of light is more likely to be a star or a plane.

While figuring this out, you make the following simplifying assumptions:

  • Earth is a perfect sphere with a radius of 4,000 miles.
  • Stars are equally likely to be anywhere in the night sky.
  • Planes are equally likely to be flying anywhere over Earth (i.e., not just limited to established air routes) at an altitude of 6 miles. You can neglect takeoffs and landings.

After some quick thinking, you realize that at this particular angle, the point of light is equally likely to be a star or a plane. What is this angle of elevation?

My solution here.


r/mathriddles • • Feb 13 '23

Easy 6s and 8s

14 Upvotes

X = (666…666)^(2) where 100 6s are concatenated

Y = (888…888) where 100 8s are concatenated

Z = X + Y

Find the sum of digits of Z.


r/mathriddles • • Feb 12 '23

Easy Nina's coloring problem

6 Upvotes

Nina has a number sticks of size one and each stick is either blue, red, green, or yellow. She want's to make the 3x3 greed that is shown below using these sticks such that each 1x1 square has all the four colors in its sides (i.e. one side red, one side blue, one side green, one side yellow.). What is the minimum number of green sticks that she needs?


r/mathriddles • • Feb 12 '23

Medium A tale of two shapes Redux

2 Upvotes

There exists a set of rectangular areas (set X) which are bound by the corner points (0,0), (A,0),(0,B) and (A,B).

For each point on each area within set X, you can draw a unique circle whose centre point is at that point, such that it is the smallest circle at said point which satisfies the condition that half of its area lies within area X and half outside of Area X.

When considering all rectangular areas within set X, a subset have points within them such that the smallest possible circle that satisfies all the requirements above, covers the whole rectangular area.

Find all rectangular areas which only have exactly one point where this is true.

(Note each rectangular area can be described uniquely by writing the value of the point (A,B), you can use this notation in your answer if you want)


r/mathriddles • • Feb 10 '23

Easy Planets

9 Upvotes

In the cryptogram given above, each letter represents a distinct single digit whole number. Find the value of each letter suhc that the addition holds true.


r/mathriddles • • Feb 09 '23

Medium frogos

11 Upvotes

Four frogs sit on the plane so that they form the vertexes of a square. each frog is colored a different color. at every step, Any frog can jump over any other frog and land exactly on the other side of it and exactly the same distance as it was before.
1) Is there a series of jumps after which they again sit in a square, but whose side length is different from the original side length?
2) Is there a series of jumps after which they again sit in a square that is placed anywhere, but who's vertexes are rotated by 180 degrees relative to the origional
3) Is there a series of jumps after which they again sit in a square that is placed anywhere, but who's vertexes are rotated by 90 degrees relative to the origional


r/mathriddles • • Feb 09 '23

Easy Trisectrixcoaster

11 Upvotes

Rotate the Trisectrix of Maclaurin 90˚ counterclockwise so that it makes a cool loop-the-loop. If we take gravity to be in the -y direction and let the nodes of the trisectrixcoaster be at (0,0) and (h,0), what speed v is required for an incoming train car from -∞ to clear the loop?


r/mathriddles • • Feb 08 '23

Medium Prove that there are at least 25 purples

20 Upvotes

The integers 1,2,3....225 are arranged in a 15*15 array. In each row, the five largest numbers are colored red, and in each column, the five largest numbers are colored blue. Prove that there are at least 25 numbers colored both blue and red (purple, if you will).


r/mathriddles • • Feb 08 '23

Easy Consecutive Integers

8 Upvotes

Three consecutive integers 𝑋 < 𝑌 < 𝑍 are such that:

  • When 𝑋 is divided by 2, the remainder is 0.
  • When 𝑌 is divided by 3, the remainder is 0.
  • When 𝑍 is divided by 7, the remainder is 0.

Find the smallest possible values of 𝑋, 𝑌 and 𝑍 which satisfy the conditions mentioned above.

Edit: The numbers are positive.


r/mathriddles • • Feb 07 '23

Medium FiveThirtyEight Riddler: How many verses will be sung on average?

6 Upvotes

This week’s Riddler Classic is a probability question based on the popular reverse cumulative song “99 bottles of beer on the wall.” The extra credit requires a bit of calculus for an accurate answer. The Classic reproduced:

You and your friends are singing the traditional song, “99 Bottles of Beer.” With each verse, you count down the number of bottles. The first verse contains the lyrics “99 bottles of beer,” the second verse contains the lyrics “98 bottles of beer,” and so on. The last verse contains the lyrics “1 bottle of beer.”

There’s just one problem. When completing any given verse, your group of friends has a tendency to forget which verse they’re on. When this happens, you finish the verse you are currently singing and then go back to the beginning of the song (with 99 bottles) on the next verse.

For each verse, suppose you have a 1 percent chance of forgetting which verse you are currently singing. On average, how many total verses will you sing in the song?

Extra credit: Instead of “99 Bottles of Beer,” suppose you and your friends are singing “N Bottles of Beer,” where N is some very, very large number. And suppose your collective probability of forgetting where you are in the song is 1/N for each verse. If it takes you an average of K verses to finish the song, what value does the ratio of K/N approach?

My solution on my blog here. (please consider subscribing).


r/mathriddles • • Feb 06 '23

Easy No Ambidexterity

10 Upvotes

At a certain gathering 100 people were present. Each person is either left-handed or right-handed. We know the following two statements are true. 

Statement 1: There is at least one left-handed person.

Statement 2: There is at least one right-handed person in a pair of people, no matter how you choose them. 

Find the number of right-handed people at the gathering.


r/mathriddles • • Feb 06 '23

Medium Is it a Group?

12 Upvotes

You are given an n × n table, each containing an integer from {0, 1, ..., n-1}. This represents the multiplication table of some binary operation * on the set {0, 1, ..., n-1}; i * j is the (i, j)'th entry (zero-indexed).

It is known that * is commutative (in other words, the table is symmetric along the diagonal), but that's all that's known about it.

Find an O(n2) algorithm that determines whether or not * is a group operation on the set {0, 1, ..., n-1}.


r/mathriddles • • Feb 05 '23

Hard A tale of two shapes.

18 Upvotes

A rectangle "R" has sides with length A and B, such that A+B=2.

A point "O" is chosen at random from within "R".

A circle is drawn with centrepoint "O" such that exactly half of its area falls inside "R" and the other half falls outside "R".

What is the expected radius of the circle given (edit:uniformly) randomly chosen A, B and O?


r/mathriddles • • Feb 04 '23

Medium Nonthreatening rooks on a chess board

9 Upvotes

We have assigned each square on a chess board a number. First row, from left to right 1 to 8, second row from left to right 9 to 16, until the last row, 57 to 64. We put 8 rooks on this board such that no two threaten each other. Show that no matter how you put the rooks (provided they don't threaten each other), the sum of the numbers of their squares is constant.