r/maths • • 19h ago

๐Ÿ’ก Puzzle & Riddles Leetcode 1201 POTD(1 Dec 2026) : Ugly Number III

Thumbnail gallery
2 Upvotes

An ugly number is a positive integer that is divisible by a, b, or c.

Given four integers n, a, b, and c, return the n``th ugly number.

ย 

Example 1:

Input:
 n = 3, a = 2, b = 3, c = 5
Output:
 4
Explanation:
 The ugly numbers are 2, 3, 4, 5, 6, 8, 9, 10... The 3
rd
 is 4.

Example 2:

Input:
 n = 4, a = 2, b = 3, c = 4
Output:
 6
Explanation:
 The ugly numbers are 2, 3, 4, 6, 8, 9, 10, 12... The 4
th
 is 6.

Example 3:

Input:
 n = 5, a = 2, b = 11, c = 13
Output:
 10
Explanation:
 The ugly numbers are 2, 4, 6, 8, 10, 11, 12, 13... The 5
th
 is 10.

ย 

Constraints:

  • 1 <= n, a, b, c <= 10``9
  • 1 <= a * b * c <= 10``18
  • It is guaranteed that the result will be in range [1, 2 * 10``9``].

r/maths • • 1d ago

Help: ๐Ÿ“• High School (14-16) โˆƒn โˆˆ โ„คโบ : n > 240 โˆง n โˆˆ HCN โˆง n โˆˆ Gaussian HCN

3 Upvotes

Beyond 240

Does the number that overlap both in ordinary HCN and gaussian HCN exist?

A Gaussian highly composite number is a Gaussian integer whose number of Gaussian divisors, counted up to associates, is greater than that of every Gaussian integer with a smaller norm.


r/maths • • 10h ago

๐Ÿ’ฌ Math Discussions FIRST PROSE RIEMANN PROOF (one day after the Anthropic Lean proof)

0 Upvotes

I just learned that my coworker wrote the first prose proof of the Riemann hypothesis literally one day after the Anthropic Lean proof got released.

He used one inequality from the AI Lean, and was able to complete his full proof. Heโ€™s getting it published with Meta, but he doesnโ€™t use social media, so he asked me to help him get the word out.

Here are the documents, with verified upload timestamps โ€”

Latest Publications and supporting materials:
https://github.com/rmrhproof-sudo

Public Google drive (original release):
https://drive.google.com/drive/folders/1Io0N6PVwRIPYtctb4IhGygTGxPb3XFyA?usp=drive_link


r/maths • • 1d ago

๐Ÿ’ฌ Math Discussions Using llm to attack cryptographic protocols: there s no lock

Thumbnail ytrezq.sdfeu.org
1 Upvotes

Lot of fud about https://scottaaronson.blog/?p=10379 in the news

Llm will only search on what to look for and will do little on their own so you have to know a lot of maths in order to spot hallucinations. Unlike llm business claims it is better a way to perform years of mathematical research in days timeframe. You can be sure Anthropic and openai did higher the smartest mathematicians and physicists behind their discoveries. And in my case, the series of prompts that led to the llm discovery I published are clearly not understandable for a non French speaking mathematician.

But what s the most interesting is there s no lock unlike software for attacking cryptographic protocols using llms. I m meaning you won t be blocked.

I wrote this paper in August using Claude Fable https://ytrezq.sdfeu.org/~articles that improve the best known algebraic method for attacking Groth16 using pairing Inversion before attacking cryptographic protocols using llm broke the news. It will be published in lncs.


r/maths • • 2d ago

๐Ÿ’ฌ Math Discussions What is next for us as young mathematicians?

5 Upvotes

I left my past major of learning AI to continue studying for my real passion, mathematics, I still have on year left to complete my bachelorโ€™s degree, I feel so confidentes after the revelation of Lean AI proofs , I know that math will survive , it always dose , am just asking about our role as humans, math is indeed a tool for rua to communicant with to universe, but what now? What is our use of a proof non on us really understand? Forgive my frustration , I donโ€™t know how the future will look like but itโ€™s hard for me to say my goodbyes to the romantic era of science.


r/maths • • 2d ago

โ“ General Math Help Only numerical solutions?

1 Upvotes

If a/b=c, and a-b=d, c and d known, can a and b be deduced algebraically? It seems clear to me that this setup forces only one "true" solution - e.g. c=0.5 amd d=4 allows only a=4, b=8. But is it expressable without actually assuming the values of c and d?

Edit: Thanks guys! That's everything I could possibly need. I may assure you that in the instance I'm looking at, c defnitely is not equal to 1. ๐Ÿ˜…โค๏ธ

Also thanks to the person who pointed out I had the sign wrong in my example - c=0.5, d=4 gives a=-4, b=-8 XD.


r/maths • • 1d ago

Help: ๐Ÿ“˜ Middle School (11-14) my mum will chrash out if i dont do these right please help

Thumbnail gallery
0 Upvotes

plealease please do thse for me my mums real mean and i need them done


r/maths • • 2d ago

๐Ÿ’ก Puzzle & Riddles I made a game based on discrete mathematics, feedback welcomed

3 Upvotes

If you've ever played the card games "Spot it!" or "Set", you may know that the reason that they work is that they are based on mathematical structures. (The Spot It deck forms a projective plane of order 7, and the cards in Set are the points of affine 4-space over a field of order 3, a "set" consists of the 3 points on any line.)

There is an interesting game you can play on a graph called chip-firing, or sometimes the "Dollar game", and really instead of a game it is an entire theory that has roots in discrete mathematics, number theory, algebraic geometry and even statistical physics.

The idea that each vertex on a graph has a number of chips (can be a negative number), and firing the vertex sends one chip to each of its neighbors. The goal in the base version of the game is to get all of the vertices to have a nonnegative number of chips (so no one is in debt). There are also modular arithmetic versions of the game, and I am developing more game modes as well, also based on intersections with my mathematics research.

Here's the link to the game: https://chipfiregame.github.io/classroom/

Comments and feedback (or questions about the mathematics) are welcome.


r/maths • • 3d ago

๐Ÿ’ฌ Math Discussions Any math Youtube channels, blogs, or other media creators that are completely avoiding touching the AI stuff that has been going on over the past few months?

3 Upvotes

I'm looking for sources that have decided to firmly stick their heads in the sand, so to speak, and are going on like it never happened, so that I can read about math like it's the (not very) old days.

Right now I'm using a keyword blocker that blocks a bunch of names of AI companies and models, and it blocks some but not all of the posts and videos--unless I block "AI" itself, but that becomes a problem because my search engine is the non-AI version of DuckDuckGo and it gets inadvertently blocked as well. But more importantly I feel I shouldn't have to do things like this if I don't want results spoiled or to be reminded of this whole thing constantly, it's better to get news from sources who share my stance because that bias is pretty much bound to show up in other ways in their reporting whether or not I see videos or posts that directly discuss these topics. In my opinion there *should* be math channels that have decided that this whole thing is too controversial to mention at all.

It's plenty possible to find artist groups that don't permit AI art (I'm in several), why shouldn't there be math sites that don't allow mention of AI proofs? I suspect there are some that I just don't know about.


r/maths • • 4d ago

๐Ÿ’ก Puzzle & Riddles Math Olympiad Question

Post image
21 Upvotes

Ive been trying to solve the questions on a math olympiad questionaire, and im stuck with this one. try it without using coordinate system


r/maths • • 3d ago

Help: ๐Ÿ“— Advanced Math (16-18) Directional Motion of Polar Graphs

2 Upvotes

Based on my research, and some answers from other sites, it appears that polar graphs have both a radial/rotational motion determined by whether theta is measured clockwise or counterclockwise, which the sign of r (positive or negative) does not change, and a linear motion (or linear positioning) along the line set by theta = (value), which the sign of r does change. Is this correct?


r/maths • • 4d ago

๐Ÿ’ฌ Math Discussions This is the better approximation for e:

Post image
32 Upvotes

The image shows the best approximation for e:


r/maths • • 3d ago

๐Ÿ’ฌ Math Discussions Did anyone do these type of geometry proofs in highschool

Thumbnail gallery
9 Upvotes

I'm sure most schools introduce geometric proofs in some form, but this is pretty much all we do in geometry. They give you a diagram with a few known properties, and you have to use them to prove that a certain statement is true. I'm wondering because whenever I try to look online for similar questions, I can't seem to find anything like these.


r/maths • • 3d ago

๐Ÿ’ฌ Math Discussions Maths TCG Game

1 Upvotes

Hi everyone,

A few friends of mineโ€”who aren't developers by trade, just big math enthusiastsโ€”recently created an online math-themed Trading Card Game: maths-masters.fr

Since the project was originally made in French, there might still be a few rough edges or translation quirks in the English version, so feel free to share any feedback if you give it a try!


r/maths • • 3d ago

Help:๐ŸŽ“ College & University Riemann Hypothesis finally found its chosen one. P vs NP is still waiting for a father ๐Ÿ’€

Post image
0 Upvotes

r/maths • • 4d ago

Help: ๐Ÿ“— Advanced Math (16-18) A question about 3D vectors cross product

Post image
2 Upvotes

If you've two vectors, v1 and v2, and they're not in the same plane, they're neither parallel nor intersecting, Can you use the cross product on these vectors and get the vector perpendicular to them?

An example of this is above in the image

It wants the plane equations for which I need the normal and a point, I wrote the question with hand for translation

I tried to use parallel properties of a plane and a line to get the normal but couldn't, and the only thing I can think of is the cross product


r/maths • • 4d ago

๐Ÿ’ฌ Math Discussions Random problem I made up.

1 Upvotes

Problem: Fixed-Point Step Counts and Zero-Crossing Frequency Under Non-Negative Ratio Shifts Consider a calendar-day state B1,k โˆˆ {1, 2, . . . , 365} and a companion offset dk โˆˆ {0, 1, . . . , 7}, defining the non-negative ratio: rk = 1 + dk 2B1,k โ‰ฅ 1. At each step k, one of four operations is chosen uniformly at random (probability 1 4 each) to produce the step duration โˆ†k (in days): โˆ†(+) k = 365 + rk, โˆ† (โˆ’) k = 365 โˆ’ rk, โˆ† (ร—) k = (365rk) mod 365, โˆ† (รท) k = (365/rk) mod 365, where any modular step equal to 0 is replaced by 365 so that โˆ†k > 0 always, and the next calendar day is updated by: B1,k+1 = (๏ธ (B1,k + โˆ†k โˆ’ 1) mod 365)๏ธ + 1. Suppose the age state starts at a negative integer A0 < 0 and increments by +1 per step while cumulative elapsed time is TN = โˆ‘๏ธNโˆ’1 k=0 โˆ†k (in days), with a self-referential step count N = |M ยท Bfinal| for a discrete multiplier M โˆˆ M and terminal calendar day Bfinal = B1,N . The Question Given: โ€ข an initial calendar day B1,0 โˆˆ {1, 2, . . . , 365}, โ€ข an initial negative age A0 < 0, โ€ข a fixed time horizon Thor (in days) and a target threshold probability p โˆˆ (0, 1) for crossing non-negative age (A(t) โ‰ฅ 0) before Thor, and โ€ข an observed terminal day Bfinal = b with self-referential step count N = |m ยท b| for some m โˆˆ M, can the realized multiplier m โˆˆ M be uniquely identified from (B1,0, A0, b, Thor, p), and if so, what is the exact frequency (proportion of admissible pairs (b, m) or probability mass over random draws) with which unique identification holds as the set of multipliers M scales up?


r/maths • • 5d ago

๐Ÿ’ฌ Math Discussions Share with you the Echo Sieve "conjecture" algorithm

Thumbnail github.com
1 Upvotes

Hello,

even if nothing revolutionary, I want share with you these conclusions of tests about prime numbers prediction based on 1/n digits and experimented through genetic algorithms evolution. Initially born as a "conjecture", currently I keep this "ancient" definition only as a name.

The final results shows a particularly efficient way to compute prime numbers series prediction at large scale and several correlation with well-known formulas, including Riemann r(x), with best evolved algorithms.

It's basically based on analysis of repetend digits of a 1/n number in series compared on different digits bases, as basic concept.

Further development are needed, and improvement of variables and series given to GFSL (genetic environment) for exploring more correlations. Currently conclusions, as we used to, suggests no advantageous shortcuts for factorization (and repeating digits entropy may make this very difficult even with 256 bit floating point precision, or not practical in any case).


r/maths • • 5d ago

โ“ General Math Help Resolving old proofs

2 Upvotes

Guys recently I had found how to estimate with linear interpolation.

Now I want to prove something like that.

Please give some ideas that I can solve along with my friends that does not consume much time.


r/maths • • 5d ago

๐Ÿ’ฌ Math Discussions Hello friend

1 Upvotes

The resolution of problem n is equivalent to np.

In scenarios where the second computer possesses the correct answer while the first does not, the first computer should synchronize its data with the second, while the second computer simultaneously conducts an internal error check.

For example, if the second computer identifies a value of 1 within its own records, the first computer copies this value. Subsequently, the second computer verifies whether another instance of 1 exists within the relevant rows, while the first computer continues to replicate data from the second.

Consequently, the first computer avoids exhaustive searches through billions of potential options and proceeds with its designated tasks. Simultaneously, the second computer identifies errors within its own records without attempting billions of unnecessary combinations.


r/maths • • 6d ago

โ“ General Math Help Bias calculation help

Post image
1 Upvotes

I work at a medical device company. A previous employee made this spreadsheet which had a questionable formula for calculating the final bias value.

A sample with an assigned value (cell J6) is run 30 times (C21:H25) and bias is calculated against that assigned value by the formula in cell C65

The formula seems very odd and im wondering if it's remotely valid. Any help would be much appreciated!


r/maths • • 6d ago

โ“ General Math Help Tricky geometry question

Thumbnail gallery
2 Upvotes

What are the dimensions of the spout of the kettle if it were laid out flat as a 2d shape? My intuition is a triangle shape with curved sides but I have no idea how to work out the dimensions.


r/maths • • 6d ago

โ“ General Math Help revising maths

1 Upvotes

so, i have my gcse mocks soon, and i am TERRIBLE at maths (i barely understand how to find percentages), is there anything that can help me get better? maths is genuinely so difficult for me, does anyone know any good advice to revise it, which sites, etc (i have all topics needed for my gcses)


r/maths • • 6d ago

๐Ÿ’ฌ Math Discussions (iโ†‘) โ€” A proposed notation for 90ยฐ rotation in the complex plane

1 Upvotes

(iโ†‘) โ€” A proposed notation for 90ยฐ rotation in the complex plane

Abstract

This post introduces (iโ†‘), a proposed mathematical notation for representing successive 90-degree rotations in the complex plane.

The purpose is to establish a precise formal framework, define its axioms, examine its properties, and distinguish its notation from the mathematical operations already established in complex analysis.

  1. Definition

We propose the notation:

[

iโ†‘

]

to represent a counterclockwise rotation of 90ยฐ in the complex plane.

The upward arrow represents the direction of rotation, while successive arrows represent successive applications of the same transformation.

For formal purposes, let (R_\uparrow) denote the rotation operator.

For every complex number (z):

[

R_\uparrow(z)=iz

]

This corresponds to a rotation of 90ยฐ counterclockwise around the origin.

2. Fundamental axioms

The proposed notation follows these fundamental rules.

Axiom 1 โ€” Rotation

One application of the operator represents a rotation of 90ยฐ:

[

\theta=90^\circ

]

Axiom 2 โ€” Composition

Successive applications represent successive rotations:

[

R_\uparrow^n(z)

]

where (n) is a non-negative integer.

Axiom 3 โ€” Inverse operation

The inverse transformation corresponds to a rotation of โˆ’90ยฐ:

[

R_\downarrow(z)=-iz

]

Axiom 4 โ€” Identity after four rotations

Four consecutive rotations return the original complex number:

[

R_\uparrow^4(z)=z

]

3. Mathematical properties

Using the definition (R_\uparrow(z)=iz), we obtain:

[

R_\uparrow^2(z)=i^2z=-z

]

[

R_\uparrow^3(z)=i^3z=-iz

]

[

R_\uparrow^4(z)=i^4z=z

]

The resulting sequence is:

Applications| Rotation| Result

1| 90ยฐ| (iz)

2| 180ยฐ| (-z)

3| 270ยฐ| (-iz)

4| 360ยฐ| (z)

4. Inverse and periodicity

The inverse transformation satisfies:

[

R_\downarrow\circ R_\uparrow=I

]

where (I) represents the identity transformation.

Furthermore, the operator is periodic:

[

R_\uparrow^{n+4}(z)=R_\uparrow^n(z)

]

for every non-negative integer (n).

5. Relationship with complex numbers

The proposed notation is directly related to the multiplication of complex numbers by the imaginary unit (i).

It does not introduce a new number system or invalidate existing complex arithmetic.

Its purpose is to provide an explicit symbolic representation of repeated quarter-turn rotations.

6. Scope and limitations

This proposal currently defines a notation and an associated transformation within the complex plane.

It does not claim to establish a new mathematical theorem, nor does it demonstrate that the underlying rotation is a previously unknown mathematical operation.

Further examination may explore alternative representations, extensions and possible applications.

7. Conclusion

The central idea behind (iโ†‘) is to represent successive 90-degree rotations through a compact symbolic notation.

The proposal is open to mathematical discussion, criticism and formal refinement.

Questions, counterexamples and constructive criticism are welcome.