Wikipedia:Reference desk/Mathematics

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
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:

October 15

[edit]

Is this really a prime-generating polynomial?

[edit]

In this article, an inequality involving a set of Diophantine equations is given as an example. But does that even qualify as a "formula for primes"? It looks more like a primality test of sorts, ie iff the inequality holds then (k + 2) is prime, so one would still need to generate a likely prime candidate to begin with. Which brings me to the next issue. Setting all of the variables to positive integers and then k to "some prime minus two", the inequality fails regardless. So there must be some special set of rules for selecting the values for each variable? Earl of Arundel (talk) 20:48, 15 October 2024 (UTC)[reply]

The inequality only fails if one of the terms isn't zero. If all terms are zero, then the polynomial evaluates to k+2. Thus, the set of primes is precisely the set of positive values taken by this function. The arguments needed to produce the primes are not constructed, but one imagines plotting the function for all integer values of the arguments. Tito Omburo (talk) 21:59, 15 October 2024 (UTC)[reply]
Sorry, I don't quite understand. I thought none of the 26 variables could be zero? Also, the fact that "the primes are not constructed" leads me to believe that this is indeed not a "prime-generating polynomial" per se. Is that correct? Earl of Arundel (talk) 23:00, 15 October 2024 (UTC)[reply]
The terms alpha_i have a simultaneously zero only when k+2 is prime. So the sum of the squares of the alpha_i always exceeds one unless k+2 is prime. I don't know what "prime generating polynomial" means. This is certainly a polynomial whose range in the positive integers consists only of the primes. Tito Omburo (talk) 23:06, 15 October 2024 (UTC)[reply]
Perhaps it's not that obvious from the article, but the polynomial is not meant to be a practical method for generating primes. Plugging in random values for the variables will give positive, hence prime, values only a small fraction of the time. Finding values of the variables for which the polynomial is positive will be at least as difficult as just computing primes using conventional methods. The point is demonstrate that such a function is possible, but that doesn't mean you'd actually use it. It's possible to program a Turing machine to compute √2 to 10 decimals, but that doesn't mean you should go out and buy a Turing machine if you want to know the diagonal of a square. --RDBury (talk) 04:46, 16 October 2024 (UTC)[reply]
Speaking of that, some years ago I wrote a program to try to find a prime (any prime) by plugging in values for the variables. It ran for hours without finding a 26-tuple that works. Are there any 26-tuples known that yield a prime? Bubba73 You talkin' to me? 06:44, 16 October 2024 (UTC)[reply]
The 11 variables are each used in only one equation, and the 2 variables are used in just two equations, so you can try to solve for these after plugging in 2 less than the value of some prime for and nonnegative integer values for the 12 other variables. This reduces the search space from to  :).  --Lambiam 14:50, 16 October 2024 (UTC)[reply]
Thanks, I didn't think about coming from the other end. Bubba73 You talkin' to me? 23:44, 16 October 2024 (UTC)[reply]
You can in fact go further in conquering the space. After assigning values to just the two of and the value of needs to be a square, otherwise the equation for cannot be solved and you must backtrack and try other values for and If the value is a square, you now also have the value of Next, assign a value to and do likewise with to either backtrack or solve for And likewise with and to solve for The remaining system is still formidable but less insuperable.  --Lambiam 09:01, 17 October 2024 (UTC)[reply]
Thanks, I might get back to this one day. I'd like to see an example that gives a prime. Bubba73 You talkin' to me? 02:15, 18 October 2024 (UTC)[reply]
I think I understand now. So for any given prime (k + 2), there will be some set of positive values for which the inequality is guaranteed to hold true. Got it! Amazing that you were able to isolate those variables, too. How on Earth do you do it? Touche! I am still slogging through the basic maths, lol.... Earl of Arundel (talk) 02:01, 18 October 2024 (UTC)[reply]
I used a little program to tabulate for each subset of variables in which set of equations it was used (excluding variables already listed in a smaller subset), as well as how many distinct variables were used in each equation. The things I mentioned were staring me in the face. Perhaps more elementary algebra can be applied to limit the search, but I looked no further. Considerations based on nodular arithmetic may also help.  --Lambiam 13:03, 19 October 2024 (UTC)[reply]
The section describes a prime-generating inequality. Its terms are polynomials, so this inequality is a polynomial inequality, The bracketing is not as in "[prime-generating polynomial] inequality", but as in "prime-generating [polynomial inequality]". To make the inequality actually produce primes, one has to turn the crank really hard.  --Lambiam 05:13, 16 October 2024 (UTC)[reply]
Crank the handle really hard? Ha ha, that's for sure!. If you want to go through all single digit combinations of values for the 26 variables you have 10^26 different possibilities. That'll take half a lifetime even on an exaflop supercompute and perhaps you'll get the primes 2,3,5,7. Two digits would take 10^26 longer. The Hitchikers Guide to the Galaxy's Deep Thought would have nothing on it. NadVolum (talk) 23:13, 18 October 2024 (UTC)[reply]

October 17

[edit]

Names of n-1 dimensional parts of Pascal's simplexes

[edit]

The points in Pascal's line are simply points. (Pascal's line, the 1-dimensional version, is simply 1-1-1-1-1-1-1-1-1-1-1-1-1-1 infinitely long. The 0-dimensional version, Pascal's point, is simply the number 1.)

The lines in Pascal's triangle are rows. The triangles in Pascal's tetrahedron are layers.

What are the tetrahedrons in Pascal's pentachoron?? What are the pentachorons in Pascal's hexateron?? And so on. Georgia guy (talk) 14:59, 17 October 2024 (UTC)[reply]

While we do have an article on Pascal's simplex, it's completely unsourced and almost all the work of a single editor. So there's really no evidence that there's any kind of standard terminology for these ideas. The name "Pascal's triangle" is well-established, but higher and lower analogues not so much. The good news is that you can define your own terminology with little chance of confusing anyone by going against existing usage. I personally don't see anything wrong with using "layers" for the tetrahedron and above. In some contexts you can talk about "slices" of multidimensional objects, and that may be applicable here as well. Either way, you'd need to define your terms to be clear about what you're talking about. --RDBury (talk) 16:23, 19 October 2024 (UTC)[reply]

October 19

[edit]