🇮🇷 Iran Proxy | https://www.wikipedia.org/wiki/Mathematics_reference_desk
Jump to content

Wikipedia:Reference desk/Mathematics

From Wikipedia, the free encyclopedia
Welcome to the mathematics section
of the Wikipedia reference desk.
Select a section:
Want a faster answer?

Main page: Help searching Wikipedia

   

How can I get my question answered?

  • Select the section of the desk that best fits the general topic of your question (see the navigation column to the right).
  • Post your question to only one section, providing a short header that gives the topic of your question.
  • Type '~~~~' (that is, four tilde characters) at the end – this signs and dates your contribution so we know who wrote what and when.
  • Don't post personal contact information – it will be removed. Any answers will be provided here.
  • Please be as specific as possible, and include all relevant context – the usefulness of answers may depend on the context.
  • Note:
    • We don't answer (and may remove) questions that require medical diagnosis or legal advice.
    • We don't answer requests for opinions, predictions or debate.
    • We don't do your homework for you, though we'll help you past the stuck point.
    • We don't conduct original research or provide a free source of ideas, but we'll help you find information you need.



How do I answer a question?

Main page: Wikipedia:Reference desk/Guidelines

  • The best answers address the question directly, and back up facts with wikilinks and links to sources. Do not edit others' comments and do not give any medical or legal advice.
See also:

November 24

[edit]

Is it true that if Miller inversion is easy, then the Weil pairing inversion is easy on BN curves?

[edit]
I was given the following explaination with some part of it obviously wrong but is it completely false?

~2025-35962-07 (talk) 09:13, 24 November 2025 (UTC)[reply]

Why would you expect anything but garbage to come out of ChatGPT? ~2025-31850-11 (talk) 11:59, 24 November 2025 (UTC)[reply]
Because some actual experts suggested a similar thing https://crypto.stackexchange.com/questions/117412/can-this-algorithm-about-pairing-inversion-work-in-case-of-pairings-that-don-t-u#comment247437_117430?
Also the advandced model in addition to answer correctly on some mathematical terms did quoted papers on this discussion that achieve bilinear pairings wihtout final exponentiation but on hyperelliptic curves.
The quailty improved from garbage to half truths. ~2025-35962-07 (talk) 19:56, 24 November 2025 (UTC)[reply]
A mathematical argument with half-truths is garbage. ~2025-31850-11 (talk) 11:14, 25 November 2025 (UTC)[reply]
Since LLMs generate texts that statistically resemble human-produced texts, one should expect, given an LLM-generated text, to find human-produced texts that statistically resemble it The fact that a text statistically resembles human-produced accurate texts does not make it particularly more likely that it is accurate, unless there are many of such human texts, which, moreover, use similar wordings. This is the case if you ask for the capital of New Caledonia, or how to say "Merry Christmas" in Polish. I doubt that it is the case for your conjectured implication.  ​‑‑Lambiam 21:26, 25 November 2025 (UTC)[reply]

November 25

[edit]

Euler necklaces

[edit]

I wrote a program to find Euler circuits on the complete directed graph of n vertices. Now I want to eliminate isomorphisms. Such a circuit is a kind of bracelet (where bead colors represent vertices of the graph), and there probably exist algorithms to detect isomorphism between bracelets. I wonder whether it would be easier to generate all bracelets (of n-1 beads of each of n colors) and filter the list for the desired quality of including all sequences of two colors. —Tamfang (talk) 02:47, 25 November 2025 (UTC)[reply]

Doesn’t sound easier; why would you want to enlarge your set of objects to classify? ~2025-31850-11 (talk) 11:23, 25 November 2025 (UTC)[reply]
It could save time if the bracelet-generating algo inherently excludes isomorphs, somehow. —Tamfang (talk) 00:36, 26 November 2025 (UTC)[reply]
There exist, rather obviously, algorithms to detect that two Euler circuits on a given complete digraph are isomorphic (enumerate all automorphisms of the digraph), so I assume the purpose is to find a faster method.
To enumerate the Euler circuits one would use a depth-first algorithm to search the tree of partial Euler paths, backtracking when no Eulerian continuation is open while the cycle is not yet complete. (The problem can also be viewed as finding Hamiltonian circuits in a directed graph whose nodes are formed by edges of the original graph and whose edges are the pairs of the form and then the search tree is a spanning tree of the new graph.) In enumerating the bracelets, one would, I presume, use a functionally equivalent algorithm, not waiting with filtering till completion of a bracelet, but not attempting to extend a partial bracelet ...AB...A with another B and backtracking when no lawful continuation is possible. So I think there is no gain. And in either case you still have to test for isomorphism.  ​‑‑Lambiam 21:10, 25 November 2025 (UTC)[reply]
It's not merely n! but 2n(n-1)n!, because the path can begin anywhere and I want to consider reversal equivalent. (My program reduces by n!, by requiring that the vertices' first appearances be in order.) —Tamfang (talk) 04:53, 28 November 2025 (UTC)[reply]
@Tamfang: May I check my understanding of the setting of your problem? Concretely, I suppose that here a "complete directed graph" refers to a tournament on a complete graph. Is that correct?
If so, indeed, by Rédei's theorem, there is a directed Hamilton path in the tournament (or complete directed graph); and any such path is naturally and uniquely divided into a sequence of constituents of two kinds of induced subtournaments, namely, either consisting of just one vertex, of containing a directed Hamilton cycle; and such that for any vertices and with the edge between s and t is directed from s to t. Moreover, it is fairly easy to find these Ti, together with one Hamilton cycle for each (for the nontrivial ones). The main trouble I perceive would be that any such Ti (except the smallest ones) could be expected to contain a large number of different directed Hamilton cycles (even disregarding those which just are rotations, obtained by choosing a new 'first vertex'). Are these Ti your bracelets?
If i guessed right about the setting, so far, I think an important point would be whether or not you consider it probable to have many small bracelets (i.& nbsp;e., small Ti) in your application. My ten cent opinion is that in 'sufficiently random' situations you would rarely have more than one bracelet (i. e., you would have r=1, i. e., the graph itself would contain a directed Hamilton cycle); simply since there are fairly few ordered bipartitions of an n-set (actually many), and fairly low probability for any given one of them to have all edges between them directed 'to the right'. If you seldom or never accounts neclaces with some smaller size 'bracelets', you would gain little in preloading a list of these.
But perhaps you have reasons to believe different in your sought application (or I misunderstood your question). Regards, JoergenB (talk) 23:20, 28 November 2025 (UTC)[reply]
Since a directed graph is also called a digraph, I assume that "complete directed graph" means the same as "complete digraph", with twice the number of edges of the tournament for the same number of vertices.  ​‑‑Lambiam 00:23, 29 November 2025 (UTC)[reply]
Lambiam reads me right. —(the user formerly known as Tamfang) —Antonissimo (talk) 01:13, 29 November 2025 (UTC)[reply]
Seems to me that most tournaments would have no Euler path. —Antonissimo (talk) 01:15, 29 November 2025 (UTC)[reply]
Eulerian, not Hamiltonian. ~2025-31850-11 (talk) 12:16, 29 November 2025 (UTC)[reply]
Thank you for pointing out that distinction! —Antonissimo (talk) 03:50, 30 November 2025 (UTC)[reply]

November 26

[edit]

Busy Beaver numbers, Rayo's number, inaccessible cardinals

[edit]

Aren't Rayo numbers(using arbitrary arguments instead of a googol),conceptually the same as Busy Beaver numbers, except using logical symbols instead of theoretical computer science? Also, it seems that although infinite instead of finite, inaccessible cardinals are conceptually similar in that they use the idea of defining them as what one cannot "get to" using all previously used techniques.Rich (talk) 20:33, 26 November 2025 (UTC)[reply]

There is a conceptual similarity. You may find the essay "Who Can Name the Bigger Number?" interesting. It was penned years before Rayo offered his solution. See also List of numbers/Uncomputable numbers on the (sometimes somewhat cryptic) Googology Wiki.  ​‑‑Lambiam 23:54, 26 November 2025 (UTC)[reply]

November 27

[edit]

Hasse diagram of the "is a divisor of" relation

[edit]
  1. For which positive integer n, the Hasse diagram of all positive divisors of n ordered by the "is a divisor of" relation is a planer graph?
  2. If n is a positive integer, and the Hasse diagram of all numbers >=1 and <=n ordered by the "is a divisor of" relation is a planer graph, what is the largest possible value of n?

~2025-36798-45 (talk) 20:21, 27 November 2025 (UTC)[reply]

The Hasse diagram based on the divisors of a positive integer is constructed as follows:
1. For a prime power , the diagram is effectively a line with vertices, e.g. 1-2-4-8 having 4 vertices.
2. For a product of prime powers , it is the Cartesian product of the line graphs corresponding to the contained factors.
If your number has two prime power factors, then this graph is pretty much just a grid, and obviously planar. If your number has four prime factors, then it must admit the non-planar hypercube graph as a subgraph. If your number has exactly 3 prime factors then it seems to be a bit complicated, and I will have to reflect on this a bit. GalacticShoe (talk) 23:14, 27 November 2025 (UTC)[reply]
Doesn't contain the "utility graph" as a subgraph?  ​‑‑Lambiam 00:22, 28 November 2025 (UTC)[reply]
should just be the graph of a 3D cube, which is planar (e.g. File:Cube skeleton.svg) GalacticShoe (talk) 00:57, 28 November 2025 (UTC)[reply]
Okay, so when there are three prime factors, if at most one of them has a power above 1, then it is planar; this can be seen as drawing the graph is a series of nested squares. In the article for Hasse diagrams, the example given for factors of 60 is a graph of this form that can be rearranged into a planar graph. Meanwhile, I think the graph corresponding to a number (essentially four cubes pasted together in a 2 by 2 grid) is nonplanar, but I can't find a convenient online tool to test planarity, and I'm having an annoying time trying to find a or minor a la Kuratowski's theorem. If it is the case that this is nonplanar, then the criterion would be as follows:
The Hasse diagram of the divisors of a positive integer is planar if and only if the integer either has at most 2 prime factors, or it has exactly 3 prime factors of which only one may have a power greater than or equal to 2.
Or more succinctly,
The Hasse diagram of the divisors of a positive integer is planar if and only if the integer has at most 4 semiprime divisors.
GalacticShoe (talk) 00:51, 28 November 2025 (UTC)[reply]
This online SageMath program shows that indeed the graph is nonplanar, confirming the condition mentioned. The list of positive integers with nonplanar divisors Hasse diagram, i.e. the list of positive integers with at least 5 semiprime divisors, starts 180, 210, 252, 300, 330, 360, 390, 396, 420, 450, 462, 468... GalacticShoe (talk) 02:44, 28 November 2025 (UTC)[reply]
As for the latter question, the largest value for which the Hasse diagram is still planar is 27. When you add in edges for (4,28) and (14,28), it breaks down, as per this online SageMath program. GalacticShoe (talk) 08:05, 28 November 2025 (UTC)[reply]

December 2

[edit]

I need help here

[edit]

Hi all, I am stuck on this math problem:

Consider the function

A space curve in is parameterized by

The density along this curve at parameter is given by .

Compute the exact value of the limit

which represents the long-term average density along the curve as .

Can I just use the average value theorem for integrals? Like, isn’t the limit of equal to something in the middle? I would greately appreciate your help here. Thank you. ExtraTerrestrial120 (talk) 14:21, 2 December 2025 (UTC)[reply]

The mean value theorem is not going to help. It tells you that some point exists, but not how to find it.
Before we can try to help you, could you tell us where the original problem came from and how it was formulated? This specific problem looks utterly implausible, both as an exercise and as a practical problem.  ​‑‑Lambiam 15:42, 2 December 2025 (UTC)[reply]
Is not this limit just zero? Ruslik_Zero 20:42, 2 December 2025 (UTC)[reply]
I think it is a bit more. If  ​‑‑Lambiam 23:22, 2 December 2025 (UTC)[reply]
The limit is in fact quite a bit more. In the interest of not spoiling the answer to what I presume is a homework question, I'll simply mention that when , , and when , . GalacticShoe (talk) 23:53, 2 December 2025 (UTC)[reply]
My "a bit more" was meant as an understatement. This may originate from a homework question, but if so, and if this is the original homework question, it is a very strange one, bizarrely convoluted to drive a simple point home. Note that the form of the space curve, and in fact everything before and after the imperative "Compute ... ", is irrelevant to the problem as posed.  ​‑‑Lambiam 06:59, 3 December 2025 (UTC)[reply]
It’s also not true that the given integral computes the average density along the curve. ~2025-31850-11 (talk) 11:22, 3 December 2025 (UTC)[reply]
I was wondering about that myself. Why is the information about the curve even included in the problem? --RDBury (talk) 17:07, 3 December 2025 (UTC)[reply]
I just misread the limit. I thought it b->0. 20:33, 3 December 2025 (UTC)
If b were going to 0, this would be a better question (about the definition of the derivative and the fundamental theorem of calculus—still no meaningful connection to density on a curve, though). ~2025-31850-11 (talk) 02:42, 6 December 2025 (UTC)[reply]

December 6

[edit]

prime divisors of 2^(n+1) choose 2^n, also known as C(2^(n+1),2^n)

[edit]

when n=13, wolfram alpha says there are 1293 prime distinct prime divisors of N=C(16384,8192). According to the OEIS, the number of primes less than 16384 is 1900, and the number of primes less than 8192 is 1028. So there are 607 primes less than 16384 that don't divide N. But it's known that all primes between 8192 and 16384 will divide N. So the 607 missing primes are from the 1028 primes less than 8192. Now, 1028/(1028-607) is about 2.45. This ratio has been inching upward from smaller values of n. As n->oo, does the ratio go to e~2.71828182846? Rich (talk) 21:46, 6 December 2025 (UTC)[reply]

Determining whether a given prime p divides C(m,n) is not too hard: Write out m and n base p, then p|C(m,n) iff each digit in the expression for m is ≥ the corresponding digit in the expression for n. For example does 11 divide C(16384,8192)? 16384 base 11 is 1134511 and 8192 base 11 is 617811. In the last digit, 8>5 so 11 divides C(16384,8192). The smallest prime that does not divide C(16384,8192) is 61. Note that if p is between 8192 and 16384 then 8192 base p is the single digit 8192 and 16384 base p is 1,16384-p, and 8192>16384-p so p will divide C(16384,8192). On the other hand, if p is between 16384/3 and 8192 then p does not divide C(16384,8192).
I think finding the limit as P→∞ of the proportion of p's < 2P where p divides C(2P,P) would be difficult. You could start with π(2P)-π(P) as first approximation for the number of primes, where π is the Prime-counting function. But you're interested in the relative error of this approximation. You could get additional terms for a better approximation by ignoring primes < √2P (assuming π(√(2P)) is small compared to π(2P)), and looking at the first digit of 2P base p. Then p is included if this digit is odd and excluded if it's even. We then get an alternating series
S = π(2P)-π(2P/2)+π(2P/3)-π(2P/4)+π(2P/5)-π(2P/6)...
and would like the limit of S/π(2P). But I don't know enough about the asymptotics of π to answer this. In any case, I'd be very surprised if the limit is something nice like e. There are many numbers > 2.45, and there are functions that increase very slowly but which don't converge to a limit at all. --RDBury (talk) 10:16, 7 December 2025 (UTC)[reply]
It's actually Pi(2^n)/(primes less than 2^n that divide C(2^(n+1),2^n)) that I'm interested in.Rich (talk) 17:22, 7 December 2025 (UTC)[reply]

Need for a kind of discrete integral

[edit]

I need a kind of discrete integral, with a sum that progresses in finite steps like in a computer language , whereas an integral progress in infinitesimal steps.
So I have 2 functions:

and
I would like to replace the following integral:

By the following summation:

I suppose I can also write it theoretically:

Therefore, I get a summ, not of infinitesimal areas, but of finite areas.
Does this conform to discrete mathematics, or is there a different notation and if so, what is it?
Malypaet (talk) 23:11, 6 December 2025 (UTC)[reply]

Isn't this essentially the question you asked on 20 October with a follow-up on 22 October?
It seems that what you want to do is a crude form of numerical integration; see in particular Numerical integration § Quadrature rules based on step functions. This corresponds to the paragraph in my response of 22 October that starts with "A (not very sophisticated) way to compute an approximation of ", especially the part where I give the formula for when all segments are given equal width.  ​‑‑Lambiam 23:42, 6 December 2025 (UTC)[reply]
Yes, but your answers don't satisfy me, because I'm studying a case where the step size is finite and cannot correspond to an integral, where the step size is infinitesimal and applicable neither experimentally nor in computer calculations.
Therefore, I'm not looking for an approximate solution based on an integral, but rather a summation of steps of finite size, regardless of whether the number of steps is finite or infinite.
So I'm looking for a formulation based on summation, respecting mathematical notation in terms of function summation.
My question is whether my proposal is acceptable or needs to be modified to comply with the mathematical rules for summation of functions.
Malypaet (talk) 14:55, 7 December 2025 (UTC)[reply]
Have you looked at Summation § Capital-sigma notation?
If you'd write the sum as using an ellipsis, the capital-sigma notation is So, the other way around,
BTW, it is somewhat unusual to use the notation for a variable. A more common use is that it is shorthand for a difference between two changeable quantities, as in For a variable used for a stepwise change, as here, the letter is conventionally used.
Given the definition the above sum comes out as
If that is what you want, it is what you get.  ​‑‑Lambiam 17:55, 7 December 2025 (UTC)[reply]
Thanks for the link, it's interesting. But unfortunately, Wikipedia often refers back to integrals.
I found a more relevant explanation elsewhere: Discrete Calculus
So my formula actually corresponds to a discrete integral.
And you are right, it is what I want and get.
However, regarding the unusual use of , my need is ambiguous.
Actually, I'm using it as a parameter, that is, a constant whose value changes depending on the context:
i.e. the function's domain.
But I don't yet know how to introduce this uncommon usage in my text.
Have you an idea ?
Malypaet (talk) 18:32, 7 December 2025 (UTC)[reply]
Is indefinite sum relevant (to the original question)? catslash (talk) 18:44, 7 December 2025 (UTC)[reply]

December 7

[edit]