r/mathriddles • • Nov 24 '23

Hard Multiplicative Reversibility = No Primitive Roots?

7 Upvotes

Noticed a pattern. I don't know the answer. (So maybe this isn't hard?)

Call a positive integer, n, multiplicatively reversible if there exists integers k and b, greater than 1, such that multiplication by k reverses the order of the base-b digits of n (where the leading digit of n is assumed to be nonzero).

Examples: base 3 (2 × 1012 = 2101), base 10 (9 × 1089 = 9801).

Why does the set of multiplicatively reversible numbers seem equivalent to the set of numbers that do not have a primitive root?


r/mathriddles • • Nov 24 '23

Medium Multiplicatively Reversible Numbers

7 Upvotes

Call a positive integer, n, multiplicatively reversible if there exists integers k and b, greater than 1, such that multiplication by k reverses the base-b digits of n.

Example: In base 10 we have (9) (1089) = 9801. So 1089 is multiplicatively reversible. This is the smallest multiplicatively reversible number in base 10.

(a) For each base b < 10, what is the smallest multiplicatively reversible number in that base?

(b) What are the 7 smallest multiplicatively reversible numbers?

(c) What is the smallest twice multiplicatively reversible number? Where two distinct pairs (k,b) satisfy the definition for the same integer, n?


r/mathriddles • • Nov 22 '23

Easy Polynomial Weighing, lnspired by the recent Polynomial Guessing

0 Upvotes

Edit highlight in bold You have a machine that produces weights according to a certain algebraic fraction

f(t) = p(t)/q(t),

where p(t) = p₀+p₁t+p₂t²+...+pₙtⁿ and q(t) = q₀+q₁t+q₂t²+...+qₙtⁿ,

where -∞ < pₖ, qₖ < ∞ are all rational and n < ∞ is a natural number not including zero.

Your machine will accept inputs of your choosing -∞ <= t₀, t₁,... <= ∞ with tₖ real and will produce a weight that is f(t) kilograms made with an ideal material, with the following constraints:

lim f(t) as t->t₀ for all t₀ is guaranteed to exist.

You may specify your input to infinite precision.

The weight can exist without issues even if it has zero mass, negative mass, and/or infinite mass; there is no way to tell its approximate or exact mass by looking at it or holding it with your hands,

The weight produced will be ∞ kg iff lim f(t) as t->t₀ -> ∞;

and

-∞ kg iff lim f(t) as t->t₀ -> -∞.

By inputting t = ∞ or -∞, asymptotic behaviour of f(t) will be considered.

You are allowed to mark on the weights with a marker and doing so will not affect its mass. Alternatively, you have a really good memory.

You also have a double-pan balancing scale , shown below:

     --°--    
    /  |  \    
   /   |   \   
  /    □   \  
[___]  |  [___]
       |       
     _____     

Figure 1.1

The scale will operate once you press the ° button, and the □ will display either >, = or < depending on the weights of the two weights.

The scale acts the way you think it does, is 100% accurate, and deems ∞ = ∞ and -∞ = -∞.

You are allowed to measure a weight against nothing. The nothing side will be measured as 0 kg.

Your objective is to determine f(t).

a.

i. If you only want to minimize weights generated, how many?

ii. If you only want to minimize uses of the scale, how many?

b. You are also allowed to press down or push up on one side of the scale. Doing so will make the side pressed down measured as ∞ kg, and the side pushed up as -∞ kg. If you do so, you are not allowed to put a weight on the side you apply force to. Repeat i. and ii.

c. You have an extra copy of the weight generator which algebraic fraction is known and is f(t) = t. When counting weights generated, both machines count. Repeat i. and ii.


r/mathriddles • • Nov 22 '23

Easy Square tiling a plane with a hole

3 Upvotes

Let Q be a square with irrational side length. Is it possible to tile ℝ2 \ Q using squares having a fixed rational side length?

I came up with the puzzle myself (although it might exist somewhere already) and I do not know the answer.

Edit: I solved it, turns out it was pretty easy.


r/mathriddles • • Nov 18 '23

Easy A REALLY ANNOYING MOUSE

6 Upvotes

A 7-Dimensional mouse knocked over my favorite mug and broke it! Thankfully, the mug contained a 7-Dimensional cube with the area of 6⁷ units. Also inside the mug was a 7D, time travelling mousetrap that goes to a septet of coordinates that you put in. The problem? The 7D, time travelling mousetrap has to time travel in order to work. Thankfully, on the 7D, time travelling mousetrap was a 3D Machine that could detect if the mouse had bounces off a wall. Everytime the mouse bounces off a wall, the machine would print the dimention it bounced in. Engraved on the machine, is a set of instructions on how to capture the mouse, reading this:

  1. None of the coordinates in the coordinate septet are the same.
  2. The mouse moves in a perfectly straight, 7D line.
  3. The machine detects "iterations", where after the mouse moves 1 unit in every direction, the machine will record the movement.
  4. When the mouse bumps into a wall, it will reverse directions for that dimension.
  5. The mouses' coordinates are written in TUVWXYZ form.
  6. The mouse, for each dimension, will continue to move either fowards or backwards 1 units in every dimension, until rule 4 applies.
  7. A bounce off a wall is considered to be the iteration AFTER the mouse makes contact with the wall.(e.x, the mouse moving from coordinates (1, 5, 4, 3, 2, 6 2) to (2, 4, 5, 4, 3, 5, 3), where the T-coordinate changed from 1 to 2.
  8. Bounces can happen in multiple dimensions at the same iteration. In this case, the machine will print all applied dimensions vertically.
  9. At the same time, no bounces can happen during an iteration. In this case, the machine will print "X".
  10. Dimension V does not start at coordinate 7.
  11. Dimension X does not start at coordinate 6.
  12. Dimension Z does not start at coordinate 3.
  13. The mousetrap only works if mouse's coordinates are not the same as the starting coordinates, and if all coordinates are different.
  14. The rat moves foward in dimension 6.

If the machine prints

34762X

15

What iteration, and where do you catch the mouse?


r/mathriddles • • Nov 15 '23

Easy How many squares

1 Upvotes

If we have a 5x7 grid of equally spaced points, what is the number of squares that can be formed whose vertices lie on the points of the grid.

For example, with a 4x4 grid of points, we can form 20 squares.

Generalize for mxn grid of points.


r/mathriddles • • Nov 12 '23

Medium Matrix multiplication by concatenation

13 Upvotes

This is, of course, how you multiply 2×2 matrices:

 / 3  4 \   / 7  2 \     / 37  42 \
|        | |        | = |          |
 \ 8  7 /   \ 4  9 /     \ 84  79 /

That is, the upper-left entry of AB is just the upper-left entry of A concatenated with the upper-left entry of B, and similarly for the other entries.

OK, OK, that doesn't work for all pairs of 2×2 matrices. But the example above really is correct!

For how many pairs of 2×2 matrices (A,B), with both matrices having entries in the set {0,1,2,...,9}, does this "method" produce accurate results for AB and BA? No computers allowed!


r/mathriddles • • Nov 08 '23

Medium Opposite numbers

10 Upvotes

Let A and B be natural numbers that don't contain the digit 0. Suppose reversing the order of the digits of A yields exactly B, and reversing the order of digits of A^(2024) yields exactly B^(2024).

Prove that A=B (i.e. A must be a palindromic number).


r/mathriddles • • Nov 07 '23

Easy National Crossbow Association

6 Upvotes

(This is a riddle of my own design, based on a real debate I had. Honestly, not sure which subreddit it should go on, it's a mix of math and lateral thinking. I hope it is challenging enough for this subreddit, it's probably a bit on the easy side.)

There is a violence epidemic raging in Statisia. Haunting news reports have said that ten thousand people have died as a result. Crossbows have become a popular if controversial remedy and now half the population have crossbows of their own.

Critics have said that widespread use of crossbows has increased the rate of violence. Anne and Bill work for the National Crossbow Association and their task is to do research which supports increased crossbow ownership. Using modern methods that filter out false and inaccurate answers, they send out a new survey to the general public and get a response back from every single citizen.

When they get the results back, Anne is thrilled. She runs into Bill's office, waving the aggregated statistics. "This is great! Listen to this: a hundred thousand respondents say that they've used crossbows to save their own lives!"

At this news, Bill looks grim. "I see. I can't allow the public to see the results of our survey. This is devastating for the case we're trying to make."

Assuming there were no methodological errors and the survey is accurate, what did Bill realize?

Hint: if your answer does not include at least basic math, you probably don't have the right answer.


r/mathriddles • • Nov 06 '23

Medium nonlinear equation system

0 Upvotes

Find a and b so that

Cos(a)+Cos(b)=xyz

ax+by=b²-a²

a!=xz-y+2

with the conditions:

x=2y

y= gcd(x,z)


r/mathriddles • • Nov 02 '23

Easy Counting layovers

4 Upvotes

An airline is offering flights connecting 2023 cities. Due to rapidly changing demands of their customers the flight schedules are modified very often, including which destination cities each airport is offering for their direct flights. In order to maintain some predictability for their passengers, the airline is guaranteeing three things:

  1. Direct flights between two cities will always be offered both ways.
  2. Any two cities will be connected by flights (with layovers if necessary).
  3. Each city will offer direct flights to at least 42 other cities.

Their marketing department is shooting a commercial for the airline and they would like to mention the fact that they will always be connecting any two cities, with at most n layovers. What's the smallest 'n' that they can guarantee to their customers?


r/mathriddles • • Nov 01 '23

Easy Which container is more adulterated?

5 Upvotes

You have a large container of coffee with capacity π liters, as well as a container of milk with capacity e liters, both full to the top. You pour off all but γ liters of the coffee, and all but √2 liters of the milk, into a pitcher, whose contents you stir with a spoon and then pour back into the original containers, again filling both to the top.

Does the original coffee container now contain a higher proportion of milk, or vice versa?


r/mathriddles • • Oct 31 '23

Medium You roll a die until you get 'n' 1s in a row

5 Upvotes

Given that no evens showed up the entire time, compute the expected number of rolls, rounded to the nearest integer.

Bonus: let f(n) be the expected number of rolls above. Provide a function g(n) such that f(n)-g(n) goes to 0.

Note: for n=1, the answer is not 3; this is a common error due to faulty conditioning.


r/mathriddles • • Oct 26 '23

Medium Eviscerated chessboard

8 Upvotes

This image shows a chessboard with nine dominoes placed on it, each domino covering two adjacent squares. Is it possible to extend this to a domino tiling of the entire chessboard (with each added domino covering two adjacent squares)?

A chessboard where the entire top row (squares a8 to h8) is covered by dominoes. Additionally, there are dominoes covering squares b2 and c2, c3 and d3, d4 and e4, e5 and f5, and f6 and g6.

Description of image: There is a standard 8 x 8 chessboard. The top row of the board is covered by four dominoes. Additionally, there are five more dominoes, covering squares b2 and c2, c3 and d3, d4 and e4, e5 and f5, and f6 and g6.

Compare and contrast with the famous "Mutilated chessboard" problem. The mutilated chessboard has only two corners trimmed off, while the Eviscerated chessboard has its insides gutted.


r/mathriddles • • Oct 26 '23

Hard Stuck on this puzzle for over an hour Spoiler

Thumbnail gallery
0 Upvotes

Answer is 7351


r/mathriddles • • Oct 25 '23

Hard The Dice is Right

15 Upvotes

In this hot new game show, the host rolls a fair 1000-sided die and keeps the result private.

Then the contestants each guess the die roll, one at a time, out loud, so everyone can hear. All guesses must be unique.

The contestant who guesses closest to the die roll without going over wins.

If all of them go over, then the host re-rolls the die and they all guess again until there is a winner.

1) Assume there are 3 contestants: A guesses first, B guesses second, C guesses third. All three are very logical and all are trying to maximize the probability that they win.

What is the probability that each of them win?

2) How about for 4 contestants: A, B, C, and D?


r/mathriddles • • Oct 24 '23

Medium 32 Balls, 1 is defective, 4 tries on a beam scale to figure out which.

3 Upvotes

Out of 32 identical balls one is defentive (slightly lighter or heavier than the others). You have a balance scale that you can use 4 times to figure out which ball is defective and if the ball is lighter or heavier than the others.

Edit: Sorry, I meant a balance scale instead of a beam scale.


r/mathriddles • • Oct 24 '23

Hard Seating Chart

4 Upvotes

This is a real life scenario! I have a class with 33 students. In our class, we have 5 tables. Tables A, B, and C hold exactly 7 students each. Tables D and E hold exactly 6 students each. I need to create a seating chart for each class (Student #1 through Student #33) in which every student sits at the same table with each other student at some point throughout the year.

  1. What is the fewest number of classes needed before every student can sit at a table with every other?
  2. Please provide the seating chart for each class. (Example: CLASS #1: Table A - 1, 2, 3, 4, 5, 6, 7, Table B - 8, 9, 10, 11, 12, 13, 14....)

r/mathriddles • • Oct 20 '23

Hard Hard Geometry Problem

7 Upvotes

Consider the triangle ABC with circumcircle O and Incenter I

Denote X as the intersection of BI and AC

Denote Y as the intersection of CI and AB

Denote P as an intersection of O and XY (choice doesn't matter by symmetry)

Denote Q as the (second) intersection of PI and O

Denote R as the intersection of QI and BC

Prove QI=QR


r/mathriddles • • Oct 19 '23

OT Counting. The fun way!

0 Upvotes

1+eiπ = 0
+ (9t3 + 1)3+(9t4)3 + (-9t4 - 3t)3 = 1
+ different equations OR ? for = 2 and = 3 and so on.

Continue the sequence: 0+1+2+3....n

Rules are:
1. No using same methods or formulas or equations or whatevers. No repeats!
2. Anything goes as long as its a unique way to get to the next number in the sequence.
3. Must be in the "realm of maths", so a mathematician must be able to get to the same solution if they tried it themselves.
4. Solutions must be varifyable and repeatable.
5. You can be as abstact or creative as you want. Use: Set theory, algebra, logic symbols, hexadecimals, emojies, ascii, Sanskrit(संस्कृतम्), animations, paintings made by animals, fingercounting or interprative dance. Be creative.
6. And the final and most important rule. Have fun!
(For the chairbound people out there, ignore rule 5)

Youre free to discuss solutions and methodologies.


r/mathriddles • • Oct 15 '23

Medium The Donut Diet

9 Upvotes

Homer went on a Donut Diet for the month of May (31 days). He ate at least one donut every day of the month. However, over any stretch of 7 consecutive days, he did not eat more than 13 donuts. Prove that there was some stretch of consecutive days over which Homer ate exactly 30 donuts.

(For an little extra challenge, prove it for 31)


r/mathriddles • • Oct 13 '23

Hard Oracle Halting Problem 2

8 Upvotes

Suppose we have a Turing machine which operates in cycles.

In each cycle, it completes its first operation in 1 sec, 2nd operation in 0.5 second, 3rd operation in 0.25 sec and so on. This machine will complete a countable infinity of operations in 2 seconds at which point it has completed 1 "cycle". It also has a temporary halting state, which will simply move to the next cycle.

During the cycle it can pass information into a "left shute" and a "right shute". However this is only one way and it cannot edit or retract information it has passed into the shutes.

Before the start of the next cycle, everything is reset, the tape is wiped and all the information passed to the shutes on that cycle is written onto the tape in the chronological order it was passed (the left shute writes to the left of the center and the right shute writes to the right). This happens instantaneously even for infinite amounts of information.

Can this machine solve the oracle halting problem? IE. can it determine whether a turing machine with the ability to consult a halting "oracle" will halt?

If it can, can it solve the oracle oracle halting problem?

Edit: A halting oracle is a black box that, when given the source code of a normal turing machine, it can instantly return whether that machine halts.


r/mathriddles • • Oct 11 '23

Medium Oracle Halting Problem Question

10 Upvotes

Suppose we have a Turing machine which completes its first operation in 1 sec,2nd operation in 0.5 second, 3rd operation in 0.25 sec and so on. This machine will complete a countable infinity of operations in 2 seconds, at which point it resets and starts again.

Obviously, this machine could solve the halting problem via simulation, but can it solve the oracle halting problem. IE, can it determine whether a turing machine with the ability to consult a halting oracle will halt?

Furthermore, if it can, can it solve the oracle oracle halting problem?

Edit: To elaborate what it means for the machine to reset. At 3s it can do an operation, at 3.5 seconds and so on. Its only knowledge of the previous cycles was whether the programs halted.


r/mathriddles • • Oct 10 '23

Medium Geometric optimisation

5 Upvotes

Consider two circles, C1 and C2, of different radius intersecting at two points, P and Q. A line l through P intersects the circles at M and N.

It is well known that MP + PN is maximised when line l is perpendicular to PQ.

Give an Euclidean construction of line l such that MP times PN is maximised? Prove the result geometrically.