Jump to content

Wikipedia:Reference desk/Mathematics: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Scsbot (talk | contribs)
edited by robot: adding date header(s)
 
Line 1: Line 1:
<noinclude>{{Wikipedia:Reference desk/header|WP:RD/MA}}
<noinclude>{{Wikipedia:Reference desk/header|WP:RD/MA}}
[[Category:Non-talk pages that are automatically signed]]
[[Category:Non-talk pages that are automatically signed]]
[[Category:Pages automatically checked for accidental language links]]
[[Category:Pages automatically checked for incorrect links]]
[[Category:Wikipedia resources for researchers]]
[[Category:Wikipedia resources for researchers]]
[[Category:Wikipedia help forums]]
[[Category:Wikipedia help forums]]
[[Category:Wikipedia reference desk|Mathematics]]
</noinclude>
[[Category:Wikipedia help pages with dated sections]]</noinclude>


{{Wikipedia:Reference_desk/Archives/Mathematics/2012 September 17}}


= December 6 =
{{Wikipedia:Reference_desk/Archives/Mathematics/2012 September 18}}


== Is there anything that would prevent peforming Weil Descent on binary curves of large characteristics ? ==
{{Wikipedia:Reference_desk/Archives/Mathematics/2012 September 19}}


The ghs attack involve creating an hyperlliptic curve cover for a given binary curve. The reason the attack fails most of the time is the resulting genus grows exponentially relative to the curve’s degree.
= September 20 =
==Lanchester's Law and Game Theory==
Let us consider Lanchester's square law and three groups A,B,C which want to go to war. Making up numbers, let's say A,B,C have armies of sizes 45, 40, and 35 respectively. I am concerned with the optimal strategy for group C. From what I understand, B and C should form an alliance. They'll have a vastly superior force than A. They will beat A and both B and C will suffer casualties in proportions. After A has been beaten, then B and C can fight each other. It seems to be that if C has the smallest army, then it will always lose in the end. A,B,C can randomly all shoot at each other or B and C can form an alliance, wipe out A, and then turn against each other. Is there ever an case (with army sizes being A < B < C...notice strict inequalities) where Lanchester's Law and Multiparty Game Theory predict that C will win? A numerical counterexample is what I am looking for of course. If not then, C will always lose, right? So what is C to do? What incentive is there for C to form an alliance with B? It knows it will be killed in the end anyway so why help B (over A) survive? Is this the best strategy? If yes, then why because C's destruction seems inevitable so why should C care what it does and who it helps and what strategy it chooses?[[User:A Real Kaiser| - Looking for Wisdom and Insight!]] ([[User talk:A Real Kaiser|talk]]) 04:59, 20 September 2012 (UTC)


We don’t hear about the attack on finite fields of large characteristics since such curves are already secure by being prime. '''However, I notice a few protocol relies on the discrete logarithm security on curves with 400/500 bits modulus resulting from extension fields of characteristics that are 200/245bits long'''.
:::I assume you meant "A > B > C" [[User:Dbfirs|''<font face="verdana"><font color="blue">D</font><font color="#00ccff">b</font><font color="#44ffcc">f</font><font color="66ff66">i</font><font color="44ee44">r</font><font color="44aa44">s</font></font>'']] 07:54, 20 September 2012 (UTC)


Since the degree is most of the time equal to 3 or 2, is there anything that would prevent creating suitable hyperelliptic cover for such curves in practice ? [[Special:Contributions/2A01:E0A:401:A7C0:28FE:E0C4:2F97:8E08|2A01:E0A:401:A7C0:28FE:E0C4:2F97:8E08]] ([[User talk:2A01:E0A:401:A7C0:28FE:E0C4:2F97:8E08|talk]]) 12:09, 6 December 2024 (UTC)
:I can see three possible winning strategies for C:


= December 7 =
:1) The obvious one is to make peace with both A and B.


== Mathematical operation navigation templates ==
:2) Form an alliance with one and hope that it holds after the other is defeated.


{{hat|collapse=no|reason=RDBury is right, this discussion belongs at [[Wikipedia talk:WikiProject Mathematics#Navigation templates for mathematical operations|Wikipedia talk:WikiProject Mathematics]]}}
:3) The most Machiavellian way for C to win is to secretly instigate a war between A and B, then, after one is destroyed and the other is weakened, attack. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 05:18, 20 September 2012 (UTC)
If anyone with some mathematical expertise is interested, I'd appreciate some additional input at [[Talk:Exponentiation#funny table at end]]. The question is whether our articles on various mathematical operations could use a [[Wikipedia:Navigation template|navigational template]] (aka "{{tl|Navbox}}"). Our [[Exponentiation]] article tried to use {{tl|Mathematical expressions}} for this purpose, but it doesn't really work. I've created {{tl|Mathematical operations}} as a potential alternative, but the categorization and presentation I've created is probably na&iuml;ve. (The whole effort may or not be worth it at all.) —[[User:scs|scs]] ([[User talk:scs|talk]]) 00:36, 7 December 2024 (UTC)
::See [[truel]] for something very similar. Since peace treaties as unnecessary between friends I view them as declarations of war but not yet. Option 3 certainly seems the best option for C, the problem is what happens if A or B discover it. C could also send an army of size 5 to 'help' B. It would be interesting to try and figure out the strategies to stay alive the longest if they are all fighting each other. Say army A devoted a(t) of its effort to destroying B and 1-a(t) to destroying C, so C was being destroyed by a force of A(1-a(t))+Bb(t), B by a force of C(1-c(t))+Aa(t) and A by B(1-b(t))+Cc(t). [[User:Dmcq|Dmcq]] ([[User talk:Dmcq|talk]]) 12:40, 20 September 2012 (UTC)
:[[Wikipedia talk:WikiProject Mathematics]] is a better forum for this kind of thing, since it's focused on Wikipedia's mathematical articles. --[[User:RDBury|RDBury]] ([[User talk:RDBury|talk]]) 04:07, 7 December 2024 (UTC)
:::Peace should break out all over in ABC world, for no one can afford to attack alone, nor be the weaker ally in an attack. ''[[User:Rich Farmbrough|Rich]]&nbsp;[[User talk:Rich Farmbrough|Farmbrough]]'', <small>21:10, 20 September 2012 (UTC).</small><br />
:: {{Re|RDBury}} Excellent point. Thanks. —[[User:scs|scs]] ([[User talk:scs|talk]]) 13:49, 7 December 2024 (UTC)
::::Yep as far as I can see if they have a three way war then all three will be completely destroyed at the same time if the two smaller ones could defeat the largest. What'll happen is that the smaller ones will gang up on the largest until it is no longer the largest, then the two larger will reduce each other till all three are the same size as the smallest. [[User:Dmcq|Dmcq]] ([[User talk:Dmcq|talk]]) 22:31, 20 September 2012 (UTC)
{{hab}}


== League problem ==
= December 8 =


== For each positive integer <math>n</math>, which primes <math>p</math> are still primes in the ring <math>Z[e^{\frac{\pi i}{n}}]</math>? ==
For a game I'm trying to come up with a particular league system, and I'm unsure how to go about doing it. I tried to do it manually but I couldn't come up with an algorithm that led me to a solution. Basically I have 16 teams in a league, but for logistics' sake I need to break it up into four 4-team series. I figure if I can break it up right, then I can each team have faced every other team in one of the series once, and only once. So in the first leg I have four series:


For each positive integer <math>n</math>, which primes <math>p</math> are still primes in the ring <math>Z[e^{\frac{\pi i}{n}}]</math>? When <math>n=1</math>, <math>Z[e^{\frac{\pi i}{n}}]</math> is the original integer ring, when <math>n=2</math>, <math>Z[e^{\frac{\pi i}{n}}]</math> is the ring of [[Gaussian integer]]s, when <math>n=3</math>, <math>Z[e^{\frac{\pi i}{n}}]</math> is the ring of [[Eisenstein integer]]s, and the primes in the [[Gaussian integer]]s are the primes <math>p \equiv 3 \mod 4</math>, and the primes in the [[Eisenstein integer]]s are the primes <math>p \equiv 2 \mod 3</math>, but how about larger <math>n</math>? [[Special:Contributions/218.187.66.163|218.187.66.163]] ([[User talk:218.187.66.163|talk]]) 04:50, 8 December 2024 (UTC)
{| class="wikitable"
|-
! Series 1 !! Series 2 !! Series 3 !! Series 4
|-
| Team A || Team E || Team I || Team M
|-
| Team B || Team F || Team J || Team N
|-
| Team C || Team G || Team K || Team O
|-
| Team D || Team H || Team L || Team P
|}


:A minuscule contribution: for <math>n=4,</math> the natural Gaussian primes <math>3</math> and <math>7</math> are composite:
Each team has to face 15 other teams, and in each leg it faces 3 other teams, so then in 5 legs any given team will have faced all 15 other teams. I can come up with two other legs: one by simply flipping it around the diagonal (so Series 1 would be teams A, E, I, and M), and the other by taking diagonals for each series (so Series 1 would be teams A, F, K, and P), but beyond that I start running into problems. Maybe I'm backing myself into a corner, I don't know. And I calculate that there are 2386 possible ways to sort the 16 teams into 4 series, so I'm not about to check all of those, to find five "orthogonal" legs.
:*<math>3=(1-\omega-\omega^2)(1+\omega^2+\omega^3).</math>
:*<math>7=(2-\omega+2\omega^2)(2-2\omega^2-\omega^3).</math>
:So <math>11</math> is the least remaining candidate. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 09:00, 8 December 2024 (UTC)
::It is actually easy to see that <math>7</math> is composite, since <math>2</math> is a perfect square:
:::<math>2=i(1-i)^2=\omega^2(1-\omega^2)^2.</math>
::Hence, writing <math>\sqrt2</math> by abuse of notation for <math>\omega(1-\omega^2),</math> we have:
:::<math>\begin{alignat}{2}7&=(3+\sqrt2)(3-\sqrt2)\\&=(2\sqrt2+1)(2\sqrt2-1)\\&=(5+3\sqrt2)(5-3\sqrt2)\\&=(4\sqrt2+5)(4\sqrt2-5).\end{alignat}</math>
::More in general, any natural number that can be written in the form <math>|2a^2-b^2|,a,b\in\mathbb N,</math> is not prime in <math>\mathbb Z[e^{\pi i/4}].</math> This also rules out the Gaussian primes <math>23,</math> <math>31,</math> <math>47,</math> <math>71</math> and <math>79.</math> &nbsp;--[[User talk:Lambiam#top|Lambiam]] 11:50, 8 December 2024 (UTC)
:::So which primes <math>p</math> are still primes in the ring <math>Z[e^{\frac{\pi i}{4}}]</math>? How about <math>Z[e^{\frac{\pi i}{5}}]</math> and <math>Z[e^{\frac{\pi i}{6}}]</math>? [[Special:Contributions/220.132.216.52|220.132.216.52]] ([[User talk:220.132.216.52|talk]]) 06:32, 9 December 2024 (UTC)
::::As I wrote, this is only a minuscule contribution. We do not do research on command; in fact, we are actually not supposed to do any original research here. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 09:23, 9 December 2024 (UTC)
::Moreover, <math>-2</math> is also a perfect square. (As in the Gaussian integers, the additive inverse of a square is again a square.) So natural numbers of the form <math>2a^2+b^2</math> are also composite. This further rules out <math>11,</math> <math>19,</math> <math>43,</math> <math>59,</math> <math>67</math> and <math>83.</math> A direct proof that, e.g., <math>11</math> is composite: <math>11=(1+\omega^2+3\omega^3)(1-3\omega-\omega^2).</math> There are no remaining candidates below <math>100</math> and I can in fact not find any larger ones either. This raises the conjecture:
:::
:::''Every prime number can be written in one of the three forms <math>a^2+b^2,</math> <math>2a^2+b^2</math> and <math>|2a^2-b^2|.</math>''
:::
::Is this a known theorem? If true, no number in <math>\mathbb Z[e^{\pi i/4}]</math> is a natural prime. (Note that countless composite numbers cannot be written in any of these forms; to mention just a few: <math>15, 1155, 2491.</math>) &nbsp;--[[User talk:Lambiam#top|Lambiam]] 11:46, 9 December 2024 (UTC)


: I'll state things a little more generally, in the cyclotomic field <math>\mathbb Q[e^{2\pi i /n}]</math>. (Your n is twice mine.) A prime q factors as <math>q = (q_1\cdots q_r)^{e_r}</math>, where each <math>q_i</math> is a prime ideal of the same degree <math>f</math>, which is the least positive integer such that <math>q^f \equiv 1\pmod n</math>. (We have assumed that q does not divide n, because if it did, then it would ramify and not be prime. Also note that we have to use ideals, because the cyclotomic ring is not a UFD.) In particular, <math>q</math> stays prime if and only if <math>q</math> generates the group of units modulo <math>n</math>. When n is a power of two times an odd composite, the group of units is not cyclic, and so the answer is ''never''. When n is a prime or twice a prime, the answer is when q is a primitive root mod n. If n is 4 times a power of two times a prime, the answer is ''never''. [[User:Tito Omburo|Tito Omburo]] ([[User talk:Tito Omburo|talk]]) 11:08, 8 December 2024 (UTC)
Is there a better way of going about this, in a more mathematical way? Thanks —'''[[User:Akrabbim|Akrabbim]]'''<sup>[[User talk:Akrabbim|talk]]</sup> 16:47, 20 September 2012 (UTC)
::For your <math>n</math>, <math>n=3</math> and <math>n=6</math> are the same, as well as <math>n=5</math> and <math>n=10</math>, this is why I use <math>e^{\frac{\pi i}{n}}</math> instead of <math>e^{\frac{2 \pi i}{n}}</math>. [[Special:Contributions/61.229.100.34|61.229.100.34]] ([[User talk:61.229.100.34|talk]]) 20:58, 8 December 2024 (UTC)
::Also, what is the [[class number (number theory)|class number]] of the [[cyclotomic field]] <math>Q[e^{\frac{\pi i}{n}}]</math>? Let <math>\gamma(n)</math> be the [[class number (number theory)|class number]] of the [[cyclotomic field]] <math>Q[e^{\frac{\pi i}{n}}]</math>, I only know that:
::* <math>\gamma(n)=1</math> for <math>n=1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 27, 30, 33, 35, 42, 45</math> (is there any other such <math>n</math>)?
::* If <math>m</math> divides <math>n</math>, then <math>\gamma(m)</math> also divides <math>\gamma(n)</math>, thus we can let <math>\varphi(n)=\prod_{d|n}\gamma(n)^{\mu(n/d)}</math>
::* For prime <math>p</math>, <math>p</math> divides <math>\varphi(p)</math> if and only if <math>p</math> is [[irregular prime|Bernoulli irregular prime]]
::* For prime <math>p</math>, <math>p</math> divides <math>\varphi(2p)</math> if and only if <math>p</math> is [[irregular prime|Euler irregular prime]]
::* <math>\varphi(n)=1</math> for <math>n=1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 27, 30, 33, 35, 42, 45</math> (is there any other such <math>n</math>)?
::* <math>\varphi(n)</math> is prime for <math>n=23, 26, 28, 32, 36, 37, 38, 39, 40, 43, 46, 49, 51, 53, 54, 63, 64, 66, 69, 75, 81, 96, 105, 118, 128, ...</math> (are there infinitely many such <math>n</math>?)
::Is there an algorithm to calculate <math>\gamma(n)</math> quickly? [[Special:Contributions/61.229.100.34|61.229.100.34]] ([[User talk:61.229.100.34|talk]]) 21:14, 8 December 2024 (UTC)


== Can we say anything special about every pair of functions f,g, satisfying f(g(x))=f(x) for every x? ==
:I think your approach is reasonable. Your 4th and 5th groups will be "what's left":


Especially, is there an accepted term for such a pair?
{| class="wikitable"
|-
|-
! Series 1 !! Series 2 !! Series 3 !! Series 4
|-
| Team A || Team E || Team I || Team M
|-
| Team B || Team F || Team J || Team N
|-
| Team C || Team G || Team K || Team O
|-
| Team D || Team H || Team L || Team P
|}


Here are three simple examples, for two functions f,g, satisfying the above, and defined for every natural number:
{| class="wikitable"
|-
|-
! Series 1 !! Series 2 !! Series 3 !! Series 4
|-
| Team A || Team B || Team C || Team D
|-
| Team E || Team F || Team G || Team H
|-
| Team I || Team J || Team K || Team L
|-
| Team M || Team N || Team O || Team P
|}


Example #1:
{| class="wikitable"
:f is constant.
|-
|-
! Series 1 !! Series 2 !! Series 3 !! Series 4
|-
| Team A || Team E || Team I || Team M
|-
| Team F || Team J || Team N || Team B
|-
| Team K || Team O || Team C || Team G
|-
| Team P || Team D || Team H || Team L
|}


Example #2:
.
:f(x)=g(x), and is the smallest even number, not greater than x.
.
.


Example #3:
:Also note that there are many possible solutions. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 17:12, 20 September 2012 (UTC)
:f(x)=1 if x is even, otherwise f(x)=2.
:g(x)=x+2.
[[Special:Contributions/2A06:C701:746D:AE00:ACFC:490:74C3:660|2A06:C701:746D:AE00:ACFC:490:74C3:660]] ([[User talk:2A06:C701:746D:AE00:ACFC:490:74C3:660|talk]]) 09:31, 8 December 2024 (UTC)


: One way to consider such a pair is dynamically. If you consider the dynamical system <math>x\mapsto g(x)</math>, then the condition can be stated as "<math>f</math> is constant on <math>g</math>-orbits". More precisely, let <math>D</math> be the domain of <math>f,g</math>, which is also the codomain of <math>g</math>. Define an equivalence relation on <math>D</math> by <math>x\sim y</math> if <math>g^a(x)=g^b(y)</math> for some positive integers <math>a,b</math>. Then <math>f</math> is simply a function on the set of equivalence classes <math>D/\sim</math> (=space of orbits). In ergodic theory, such a function <math>f</math> is thought of as an "observable" or "function of state", being the mathematical analog of a thermodynamic observable such as temperature. [[User:Tito Omburo|Tito Omburo]] ([[User talk:Tito Omburo|talk]]) 11:52, 8 December 2024 (UTC)
::But the other diagonal will intersect. One direction will be A,F,K,P, and the other direction will be A,N,K,H. A and K are in both. —'''[[User:Akrabbim|Akrabbim]]'''<sup>[[User talk:Akrabbim|talk]]</sup> 17:29, 20 September 2012 (UTC)
::After you've mentioned temprature, could you explain what are f,g, as far as temprature is concerned? Additionally, could you give another useful example from physics for such a pair of functions? [[Special:Contributions/2A06:C701:746D:AE00:ACFC:490:74C3:660|2A06:C701:746D:AE00:ACFC:490:74C3:660]] ([[User talk:2A06:C701:746D:AE00:ACFC:490:74C3:660|talk]]) 19:49, 8 December 2024 (UTC)
:::This equation is just the definition of function ''g''. For instance if function ''f'' has the inverse function ''f''<sup>−1</sup> then we have ''g(x)=x''. [[User:Ruslik0|Ruslik]]_[[User Talk:Ruslik0|<span style="color:red">Zero</span>]] 20:23, 8 December 2024 (UTC)
::: If f is the temperature, and g is the evolution of an ensemble of particles in thermal equilibrium (taken at a single time, say one second later), then because temperature is a function of state, one has <math>f(x)=f(g(x))</math> for all ensembles x. Another example from physics is when <math>g</math> is a Hamiltonian evolution. Then the functions <math>f</math> with this property (subject to smoothness) are those that (Poisson) commute with the Hamiltonian, i.e. "constants of the motion". [[User:Tito Omburo|Tito Omburo]] ([[User talk:Tito Omburo|talk]]) 20:33, 8 December 2024 (UTC)
::::Thx. [[Special:Contributions/2A06:C701:746D:AE00:ACFC:490:74C3:660|2A06:C701:746D:AE00:ACFC:490:74C3:660]] ([[User talk:2A06:C701:746D:AE00:ACFC:490:74C3:660|talk]]) 10:43, 9 December 2024 (UTC)
:Let <math>f</math> be a function from <math>X</math> to <math>Y</math> and <math>g</math> a function from <math>X</math> to <math>X.</math> Using the notation for [[function composition]], the property under discussion can concisely be expressed as <math>f\circ g=f.</math> An equivalent but verbose way of saying the same is that the [[preimage]] of any set <math>B \subseteq Y</math> under <math>f</math> is [[Closure (mathematics)|closed]] under the application of <math>g.</math> &nbsp;--[[User talk:Lambiam#top|Lambiam]] 08:54, 9 December 2024 (UTC)
::Thx. [[Special:Contributions/2A06:C701:746D:AE00:ACFC:490:74C3:660|2A06:C701:746D:AE00:ACFC:490:74C3:660]] ([[User talk:2A06:C701:746D:AE00:ACFC:490:74C3:660|talk]]) 10:43, 9 December 2024 (UTC)


== IEEE Xplore paper claim to acheive exponentiation inversion suitable for pairing in polynomial time. Is it untrustworthy ? ==
:::Yes, you're right, I've revised my advice above. I'm going to write a program to solve this and post it tomorrow. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 17:38, 20 September 2012 (UTC)


I just found https://ieeexplore.ieee.org/abstract/document/6530387. Given the multiplicative group factorization in the underlying finite field of a target bn curve, they claim to acheive exponentiation inversion suitable for pairing inversion in seconds on a 32 bits cpu.
::::Thanks, I'll be interested to see what you come up with and your algorithm to solve it. I was trying to work it out with Matlab, but it was just turning into a clumsy brute force algorithm, and I wasn't getting anywhere. But I charted it out, and three legs that we have here are definitely not part of the solution. For example, for A and G to meet, the only teams that haven't met A and G would be J and N, and they have both played each other already, so I right when I thought I had painted myself into a corner. —'''[[User:Akrabbim|Akrabbim]]'''<sup>[[User talk:Akrabbim|talk]]</sup> 17:56, 20 September 2012 (UTC)


On 1 side, the paper is supposed to be peer reviewed by the iee Xplore journal and they give examples on 100 bits. On the other side, in addition to the claim, their algorithm 2 and 3 are very implicit, and as an untrained student, I fail to understand how to implement them, though I fail to understand things like performing a Weil descent.
(Teams have numbers rather than letters, obviously)


Is the paper untrustworthy, or would it be possible to get code that can be run ? [[Special:Contributions/2A01:E0A:401:A7C0:152B:F56C:F8A8:D203|2A01:E0A:401:A7C0:152B:F56C:F8A8:D203]] ([[User talk:2A01:E0A:401:A7C0:152B:F56C:F8A8:D203|talk]]) 18:53, 8 December 2024 (UTC)
Series 1: 1, 2, 3, 4<br>
Series 2: 5, 6, 7, 8<br>
Series 3: 9, 10, 11, 12<br>
Series 4: 13, 14, 15, 16<br>


About the paper, I agree to share the paper privately [[Special:Contributions/2A01:E0A:401:A7C0:152B:F56C:F8A8:D203|2A01:E0A:401:A7C0:152B:F56C:F8A8:D203]] ([[User talk:2A01:E0A:401:A7C0:152B:F56C:F8A8:D203|talk]]) 18:54, 8 December 2024 (UTC)
Series 1: 1, 5, 9, 13<br>
Series 2: 2, 6, 10, 14<br>
Series 3: 3, 7, 11, 15<br>
Series 4: 4, 8, 12, 16<br>


= December 9 =
Series 1: 1, 6, 11, 16<br>
Series 2: 2, 5, 12, 15<br>
Series 3: 3, 8, 9, 14<br>
Series 4: 4, 7, 10, 13<br>


== If the [[Mersenne number]] 2^p-1 is prime, then must it be the smallest [[Mersenne prime]] == 1 mod p? ==
Series 1: 1, 7, 12, 14<br>
Series 2: 2, 8, 11, 13<br>
Series 3: 3, 5, 10, 16<br>
Series 4: 4, 6, 9, 15<br>


If the [[Mersenne number]] 2^p-1 is prime, then must it be the smallest [[Mersenne prime]] == 1 mod p? (i.e. there is no prime q < p such that 2^q-1 is also a [[Mersenne prime]] == 1 mod p) If p is prime (no matter 2^p-1 is prime or not), 2^p-1 is always == 1 mod p. However, there are primes p such that there is a prime q < p such that 2^q-1 is also a [[Mersenne prime]] == 1 mod p:
Series 1: 1, 8, 10, 15<br>
Series 2: 2, 7, 9, 16<br>
Series 3: 3, 6, 12, 13<br>
Series 4: 4, 5, 11, 14<br>


* 2^19-1 is [[Mersenne prime]] == 1 mod 73 (p=73, q=19)
[[Special:Contributions/81.159.104.182|81.159.104.182]] ([[User talk:81.159.104.182|talk]]) 03:41, 21 September 2012 (UTC)
* 2^31-1 is [[Mersenne prime]] == 1 mod 151 (p=151, q=31)
* 2^61-1 is [[Mersenne prime]] == 1 mod 151 (p=151, q=61)
* 2^17-1 is [[Mersenne prime]] == 1 mod 257 (p=257, q=17)
* 2^31-1 is [[Mersenne prime]] == 1 mod 331 (p=331, q=31)
* 2^61-1 is [[Mersenne prime]] == 1 mod 331 (p=331, q=61)
* 2^127-1 is [[Mersenne prime]] == 1 mod 337 (p=337, q=127)
* 2^89-1 is [[Mersenne prime]] == 1 mod 353 (p=353, q=89)
* 2^89-1 is [[Mersenne prime]] == 1 mod 397 (p=397, q=89)


but for these primes p, 2^p-1 is not prime, and my question is: Is there a prime p such that 2^p-1 is a prime and there is a prime q < p such that 2^q-1 is also a [[Mersenne prime]] == 1 mod p?
:You beat me too it, 81. Yes, that's a valid solution. 81's version of diagonals in the third grouping seems to work, while mine does not. (Running my program, I found one solution given his first 3 groupings, and no solution given my first 3 groupings.) [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 06:17, 21 September 2012 (UTC)


* If 2^11-1 is prime, then this is true, since 2^11-1 is == 1 mod 31 and 2^31-1 is prime, but 2^11-1 is not prime
:BTW, Akrabbim, where did the 2386 number come from ? My program seemed to come up with 2,627,625 possible groupings. Here's the formula:
* If 2^23-1 or 2^67-1 is prime, then this is true, since 2^23-1 and 2^67-1 are == 1 mod 89 and 2^89-1 is prime, but 2^23-1 and 2^67-1 are not primes
* If 2^29-1 or 2^43-1 or 2^71-1 or 2^113-1 is prime, then this is true, since 2^29-1 and 2^43-1 and 2^71-1 and 2^113-1 are == 1 mod 127 and 2^127-1 is prime, but 2^29-1 and 2^43-1 and 2^71-1 and 2^113-1 are not primes
* If 2^191-1 or 2^571-1 or 2^761-1 or 2^1901-1 is prime, then this is true, since 2^191-1 and 2^571-1 and 2^761-1 and 2^1901-1 are == 1 mod 2281 and 2^2281-1 is prime, but 2^191-1 and 2^571-1 and 2^761-1 and 2^1901-1 are not primes
* If 2^1609-1 is prime, then this is true, since 2^1609-1 is == 1 mod 3217 and 2^3217-1 is prime, but 2^1609-1 is not prime


Another question: For any prime p, is there always a [[Mersenne prime]] == 1 mod p? [[Special:Contributions/220.132.216.52|220.132.216.52]] ([[User talk:220.132.216.52|talk]]) 19:03, 9 December 2024 (UTC)
16!
---
4!<sup>5</sup>


: Neither question is easy. For the first, relations <math>2^{q-1}\equiv 1\pmod p</math> would imply that the integer 2 is not a primitive root mod p, and that its order divides <math>q-1</math> for the prime q. This is a sufficiently infrequent occurrence that it seems ''likely'' that all Mersenne numbers could be ruled out statistically, but not enough is known about their distribution. For the second, it is not even known if there are infinitely many Mersenne primes. [[User:Tito Omburo|Tito Omburo]] ([[User talk:Tito Omburo|talk]]) 19:23, 9 December 2024 (UTC)
:[[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 06:36, 21 September 2012 (UTC)
::I found that: 2^9689-1 is the smallest Mersenne prime == 1 mod 29, 2^44497-1 is the smallest Mersenne prime == 1 mod 37, 2^756839-1 is the smallest Mersenne prime == 1 mod 47, 2^57885161-1 is the smallest Mersenne prime == 1 mod 59, 2^4423-1 is the smallest Mersenne prime == 1 mod 67, 2^9941-1 is the smallest Mersenne prime == 1 mod 71, 2^3217-1 is the smallest Mersenne prime == 1 mod 97, 2^21701-1 is the smallest Mersenne prime == 1 mod 101, and none of the 52 known Mersenne primes are == 1 mod these primes p < 1024: 79, 83, 103, 173, 193, 197, 199, 227, 239, 277, 307, 313, 317, 349, 359, 367, 373, 383, 389, 409, 419, 431, 443, 461, 463, 467, 479, 487, 503, 509, 523, 547, 563, 587, 599, 613, 647, 653, 659, 661, 677, 709, 727, 733, 739, 743, 751, 757, 769, 773, 797, 809, 821, 823, 827, 829, 839, 853, 857, 859, 863, 887, 907, 911, 919, 929, 937, 941, 947, 971, 977, 983, 991, 1013, 1019, 1021 [[Special:Contributions/220.132.216.52|220.132.216.52]] ([[User talk:220.132.216.52|talk]]) 20:51, 9 December 2024 (UTC)
::(formerly 81.159) I agree: 16!/(4!^5). I don't understand where that 2386 number comes from either. [[Special:Contributions/86.160.216.189|86.160.216.189]] ([[User talk:86.160.216.189|talk]]) 11:28, 21 September 2012 (UTC)
::Also,
::* 2^19937-1 is [[Mersenne prime]] == 1 mod 2^16+1
::* 2^521-1 is [[Mersenne prime]] == 1 mod 2^13-1
::* 2^3021377-1 is [[Mersenne prime]] == 1 mod 2^17-1
::* 2^2281-1 is [[Mersenne prime]] == 1 mod 2^19-1
::* 2^21701-1 is [[Mersenne prime]] == 1 mod 2^31-1
::* 2^19937-1 is [[Mersenne prime]] == 1 mod 2^89-1
::* 2^86243-1 is [[Mersenne prime]] == 1 mod 2^107-1
::but none of these primes p has 2^p-1 is known to be prime, the status of 2^(2^89-1)-1 and 2^(2^107-1)-1 are still unknown (see [[double Mersenne number]]), but if at least one of them is prime, then will disprove this conjecture (none of the 52 known Mersenne primes are == 1 mod 2^61-1 or 2^127-1), I think that this conjecture may be as hard as the [[New Mersenne conjecture]]. [[Special:Contributions/220.132.216.52|220.132.216.52]] ([[User talk:220.132.216.52|talk]]) 20:55, 9 December 2024 (UTC)
::Also, for the primes p < 10000, there is a prime q < p such that 2^q-1 is also a [[Mersenne prime]] == 1 mod p only for p = 73, 151, 257, 331, 337, 353, 397, 683, 1321, 1613, 2113, 2731, 4289, 4561, 5113, 5419, 6361, 8191, 9649 (this sequence is not in [[OEIS]]), however, none of these primes p have 2^p-1 prime. [[Special:Contributions/220.132.216.52|220.132.216.52]] ([[User talk:220.132.216.52|talk]]) 02:23, 10 December 2024 (UTC)


= December 10 =
:::Hey, that's great! Thanks! Can I ask how you figured it out? And about the 2386: I was thinking it would be choose 4 for the first group, then 4 for the next group from the remaining, and so on. So (16/choose/4) * (12/choose/4) * (8/choose/4) * (4/choose/4) = 1820 * 495 * 70 * 1 = 63,063,000 (when I first punched it in accidentally did + instead of *, which is where I got 2386). I haven't thought about probability at all in years though, so I'm not surprised I'm wrong. —'''[[User:Akrabbim|Akrabbim]]'''<sup>[[User talk:Akrabbim|talk]]</sup> 14:34, 21 September 2012 (UTC)


== More on the above conjecture ==
::::Arrangements in which the split into groups is the same but groups are listed in a different order are counted separately in your count, but only count as one arrangement in StuRat's count. So your count is 4! = 24 times as large as StuRat's count. [[User:Gandalf61|Gandalf61]] ([[User talk:Gandalf61|talk]]) 14:40, 21 September 2012 (UTC)


Above I posed:
:::::Agreed, there are the 24 ways to arrange the series, but those are all equivalent. For example, these two are equivalent:
:{{serif|'''Conjecture'''. ''Every prime number can be written in one of the three forms <math>a^2+b^2,</math> <math>2a^2+b^2</math> and <math>|2a^2-b^2|.</math>''}}
If true, it implies no natural prime is a prime in the ring <math>\mathbb Z[e^{\pi i/4}]</math>.


The absolute-value bars are not necessary. A number that can be written in the form <math>-(2a^2-b^2)</math> is also expressible in the form <math>+(2a^2-b^2).</math>
{| class="wikitable"
|-
! Series 1 !! Series 2 !! Series 3 !! Series 4
|-
| Team A || Team E || Team I || Team M
|-
| Team B || Team F || Team J || Team N
|-
| Team C || Team G || Team K || Team O
|-
| Team D || Team H || Team L || Team P
|}


It turns out (experimentally; no proof) that a number that can be written in two of these forms can also be written in the third form. The conjecture is not strongly related to the concept of primality, as can be seen in this reformulation:
{| class="wikitable"
|-
! Series 4 !! Series 3 !! Series 2 !! Series 1
|-
| Team A || Team E || Team I || Team M
|-
| Team B || Team F || Team J || Team N
|-
| Team C || Team G || Team K || Team O
|-
| Team D || Team H || Team L || Team P
|}


:{{serif|'''Conjecture'''. ''A natural number that cannot be written in any one of the three forms <math>a^2+b^2,</math> <math>2a^2+b^2</math> and <math>2a^2-b^2</math> is composite.}}
:::::As to the method I used, it wasn't very elegant, I just used brute force. Can we mark this Q resolved ? [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 16:31, 21 September 2012 (UTC)
The first few numbers that cannot be written in any one of these three forms are
:<math>15,</math> <math>21,</math> <math>30,</math> <math>35,</math> <math>39,</math> <math>42,</math> <math>55,</math> <math>60,</math> <math>69,</math> <math>70,</math> <math>77,</math> <math>78,</math> <math>84,</math> <math>87,</math> <math>91,</math> <math>93,</math> <math>95.</math>
They are indeed all composite, but why this should be so is a mystery to me. What do <math>2310=2\times 3\times 5\times 7\times 11,</math> <math>5893=71\times 83</math> and <math>7429=17\times 19\times 23,</math> which appear later in the list, have in common? I see no pattern.


It seems furthermore that the [[primorial]]s, starting with <math>5\#=30,</math> make the list. (Checked up to <math>37\!\#=7420738134810.</math>) &nbsp;--[[User talk:Lambiam#top|Lambiam]] 19:23, 10 December 2024 (UTC)
:::::"''when I first punched it in accidentally did + instead of *''" ... Ooops!! [[Special:Contributions/86.160.216.189|86.160.216.189]] ([[User talk:86.160.216.189|talk]]) 17:28, 21 September 2012 (UTC)


:Quick note, for those like me who are curious how numbers of the form <math>-(2a^{2}-b^{2})</math> can be written into a form of <math>2a^{2}-b^{2}</math>, note that <math>2a^{2} - b^{2} = (2a + b)^{2} - 2(a + b)^{2}</math>, and so <math>2a^{2} - b^{2} = -p \Rightarrow p = 2(a + b)^{2} - (2a + b)^{2}</math>. [[User:GalacticShoe|GalacticShoe]] ([[User talk:GalacticShoe|talk]]) 02:20, 11 December 2024 (UTC)
== x/y in IV quadrant, is the given ratio negative or positive? ==
:A prime is expressible as the sum of two squares if and only if it is congruent to <math>1 \!\!\!\pmod 4</math>, as per [[Fermat's theorem on sums of two squares]]. A prime is expressible of the form <math>2a^{2} + b^{2}</math> if and only if it is congruent to <math>1, 3 \!\!\pmod 8</math>, as per [[OEIS:A002479]]. And a prime is expressible of the form <math>2a^{2} - b^{2}</math> if and only if it is congruent to <math>1, 7 \!\!\pmod 8</math>, as per [[OEIS:A035251]]. Between these congruences, all primes are covered. [[User:GalacticShoe|GalacticShoe]] ([[User talk:GalacticShoe|talk]]) 05:59, 11 December 2024 (UTC)
::More generally, a number is ''not'' expressible as:
::# <math>a^{2} + b^{2}</math> if it has a prime factor congruent to <math>3 \!\!\!\pmod 4</math> that is raised to an odd power (equivalently, <math>3, 7 \!\!\pmod 8</math>.)
::# <math>2a^{2} + b^{2}</math> if it has a prime factor congruent to <math>5, 7 \!\!\pmod 8</math> that is raised to an odd power
::# <math>2a^{2} - b^{2}</math> if it has a prime factor congruent to <math>3, 5 \!\!\pmod 8</math> that is raised to an odd power
::It is easy to see why expressibility as any two of these forms leads to the third form holding, and also we can see why it's difficult to see a pattern in numbers that are expressible in none of these forms, in particular we get somewhat-convoluted requirements on exponents of primes in the factorization satisfying congruences modulo 8. [[User:GalacticShoe|GalacticShoe]] ([[User talk:GalacticShoe|talk]]) 06:17, 11 December 2024 (UTC)
:::Thanks. Is any of this covered in some Wikipedia article? &nbsp;--[[User talk:Lambiam#top|Lambiam]] 10:06, 11 December 2024 (UTC)
::All primes? 2 is not covered! [[Special:Contributions/176.0.133.82|176.0.133.82]] ([[User talk:176.0.133.82|talk]]) 08:00, 17 December 2024 (UTC)
:::<math>2</math> can be written in all three forms: <math>2=1^2+1^2=2\cdot 1^2+0^2=2\cdot 1^2-0^2.</math> &nbsp;--[[User talk:Lambiam#top|Lambiam]] 09:38, 17 December 2024 (UTC)
::::I don't say it's not covered by the conjecture. I say it's not covered by the discussed classes of remainders. [[Special:Contributions/176.0.133.82|176.0.133.82]] ([[User talk:176.0.133.82|talk]]) 14:54, 17 December 2024 (UTC)
:::Odd prime, my bad. [[User:GalacticShoe|GalacticShoe]] ([[User talk:GalacticShoe|talk]]) 16:38, 17 December 2024 (UTC)
Assume p is 3 mod 4. Suppose that (2|p)=1. Then <math>x^4+1\equiv (x^2+\lambda x +1)(x^2- \lambda x + 1)\pmod p</math> where <math>\lambda^2-2\equiv 0</math>. Because the cyclotomic ideal <math>(p, \zeta^2+ \lambda\zeta+1)</math> has norm <math>p^2</math> and is stable under the Galois action <math>\zeta\mapsto 1/\zeta</math> it is generated by a single element <math>a\zeta^2+b\zeta+a</math>, of norm <math>(2a^2-b^2)^2</math>.


If (2|p)=-1, then the relevant ideal is stable under <math>\zeta\mapsto -1/\zeta</math> and so is generated by <math>a\zeta^2+b\zeta-a</math>, of norm <math>(2a^2+ b^2)^2</math>. [[User:Tito Omburo|Tito Omburo]] ([[User talk:Tito Omburo|talk]]) 14:43, 11 December 2024 (UTC)
question: "Suppose that the point (x,y) is in the indicated quadrant (IV). Decide whether the given ratio is positive or negative." Is it not positive, simply by sketching? How would it be negative? thanks.[[Special:Contributions/24.139.14.254|24.139.14.254]] ([[User talk:24.139.14.254|talk]]) 20:08, 20 September 2012 (UTC)
:Just look at the signs of x and y. The ratio of two numbers with the same sign is positive; the ratio of two numbers with opposite signs is negative. [[User:Widener|Widener]] ([[User talk:Widener|talk]]) 20:28, 20 September 2012 (UTC)


= September 21 =
= December 11 =


== Unique normal ultrafilter ==
== Integration of 1/x in Quadrant I ==


So I'm supposed to know the answer to this, I suppose, but I don't seem to :-)
Hi. First of all, this isn't an actual homework problem, but a conceptual question I asked a mixed crowd of people, some of whom know integration techniques and some of whom which who whom don't. Everybody seemed to know intuitively or by proof that the area underneath the curve in quadrant one is ''infinite'', because since the graph never touches either axis, the area underneath each section is infinite. This didn't make sense to me, because I intuitively compared it to a converging sum such as [[0.999...]], but apparently the hyperbolic function does ''not'' converge. Therefore, I must be severely deluded. The integration technique also relies on the fact that zero invalidates the integration, resulting in infinity; if one of the axes were shifted away from the zero-point, the area would still be infinite. This brings up the question: since shifting ''both'' axes away from zero would immediately cause the function's area to become finite, is there a tipping point of some sort? This is hillarious because the hyperbola itself is tipping pointential. Therefore, perhaps at the exact tipping point upon which the area oscillates between finite and infinite, causing the creating of a [[complex number]]. However, since this is a bi-axial method, the convergence paradigm is both null and void.


"Everyone knows" that, in <math>L[U]</math>, [[Gödel's constructible universe]] relative to an [[ultrafilter]] <math>U</math> on some [[measurable cardinal]] <math>\kappa</math>, there is only a single [[normal ultrafilter]], namely <math>U</math> itself. See for example [[John R. Steel]]'s monograph [https://math.berkeley.edu/~steel/papers/comparisonlemma.03.07.22.pdf here], at Theorem 1.7.
I must admit, quite embarrassingly, that I've never done [[mathematical proof]]s for more than one hour in my entire life. Therefore, I may need to rely on intuitive techniques such as ''[[visual calculus]]'' to get the point across to myself about why this function has an infinite area. I incorrectly assumed that the total area underneath the hyperbola in the first quadrant is reducible to be equivalent to the area to the bottom left of a linear function with the slope -1. However, I then remembered my [http://en.wikipedia.org/wiki/Wikipedia:Reference_desk/Archives/Mathematics/2011_September_23#The_cartesian_plane_as_a_sphere_-_theoretical_maths Cartesian plane-onto-sphere] method, which was improperly answered because my method assumes an ''infinite'' Cartesian surface, whereas stereographic projection relies on a finite Earth. It would be more like taking the membrane of an [[shape of the Universe|open universe]] and reconstructing it to make it closed. Anyway, I proved to myself that in this projection, the four points of (0,0), (x-fin,x-infinlim), (y-fin,y-infinlim) and (±∞,±∞) together comprise the [[manifold]] geodesic of a sphere in 2.5 dimensions (clarification, citation, objectivity and sanity needed), in each of the four quadrants (actually, there are a total of eight). This is where {x,y-fin/infinlim} form the continuum where the grid system transforms from finite in one direction to infinite in the opposite direction (from the vantage point of the "anti-origin"), forming two points on a sort of central meridian line, though that's irrelevant largely to solve this problem. So in the Q-I space, the first quadrant forms a circle, and that circle's area is infinite. The perimeter of this circle must also be infinite. The area under the hyperbola, thus, represents an area around the circumference of this circle, although it is widest at one point of the circle and converges at the other end of the circle. Despite the distance from this circumference getting smaller as the function recedes from the 2-space origin, the area still goes onto infinity, thus allowing the total area by integration to be infinite. Phew, though this is not as clear to most people, so there has to be a better intuitive way of proving it.


So I guess that must mean that the [[product measure]] <math>U\times U</math>, meaning you fix some identification between <math>\kappa\times\kappa</math> and <math>\kappa</math> and then say a set has measure 1 if measure 1 many of its vertical sections have measure 1, must ''not'' be normal. (Unless it's somehow just equal to <math>U</math> but I don't think it is.)
Someone enlighten me by dialing 0 on the [[Hamiltonian operator]]. Thanks. ~<font color="blue">[[User:AstroHurricane001|AH1]]</font>&nbsp;<sup>(''[[User_talk:AstroHurricane001|discuss]]!'')</sup>


But is there some direct way to see that? Say, a <s>continuous</s> function <math>f:\kappa\to\kappa</math> with <math>\forall\alpha f(\alpha)<\alpha</math> such that <s>the set of fixed points of <math>f</math> is not in the ultrafilter</s> no singleton has a preimage under <math>f</math> that's in the ultrafilter? I haven't been able to come up with it. --[[User:Trovatore|Trovatore]] ([[User talk:Trovatore|talk]]) 06:01, 11 December 2024 (UTC)
:If you're having trouble seeing that the area under the curve ''y''&nbsp;=&nbsp;1/''x'' in the first quadrant is infinite, consider the following picture, similar to those commonly drawn to illustrate [[Riemann sum]]s:
:[[File:Right Riemann sum of y=x^(-1).png|500px|center]]
:All of the blue rectangles are included in the area under the red curve ''y''&nbsp;=&nbsp;1/''x'', so the area under the curve must be at least as large as the total area of all the rectangles. Every rectangle has width&nbsp;1. The first rectangle has height&nbsp;1, the second has height&nbsp;1/2, the third has height&nbsp;1/3, and so on. So the total area of the rectangles is the sum of the [[harmonic series]] 1&nbsp;+&nbsp;1/2&nbsp;+&nbsp;1/3&nbsp;+&nbsp;…, and this sum is infinite:
::<math>\begin{align}
A_{\textrm{rect}}&=1+\frac12+\left(\frac13+\frac14\right)+\left(\frac15+\frac16+\frac17+\frac18\right)+\left(\frac19+\frac1{10}+\frac1{11}+\cdots+\frac1{16}\right)+\cdots\\
&\ge1+\frac12+\left(\frac14+\frac14\right)+\left(\frac18+\frac18+\frac18+\frac18\right)+\left(\frac1{16}+\frac1{16}+\frac1{16}+\cdots+\frac1{16}\right)+\cdots\\
&=1+\frac12+\frac12+\frac12+\cdots.
\end{align}</math>
:Since the total area of the blue rectangles is infinite, the area under the curve ''y''&nbsp;=&nbsp;1/''x'' must also be infinite. —[[User:Bkell|Bkell]] ([[User talk:Bkell|talk]]) 08:21, 21 September 2012 (UTC)


:: See also [[Gabriel's Horn]] for the nice paradox that the "horn" formed by rotation of y = 1/x (x>1) about the x axis has finite volume but infinite area, so it can be filled with paint but its surface can't be painted. [[User:AndrewWTaylor|AndrewWTaylor]] ([[User talk:AndrewWTaylor|talk]]) 09:51, 21 September 2012 (UTC)
:::Good example, but Gabriel's horn has '''x^2''' in the denominator, and 1/x^2 has a finite integral from 1 to infinity. [[User:SemanticMantis|SemanticMantis]] ([[User talk:SemanticMantis|talk]]) 15:15, 21 September 2012 (UTC)
::::No, AndrewWTaylor was correct when he said that Gabriel's horn is constructed by rotating ''y''&nbsp;=&nbsp;1/''x'' about the ''x''-axis. The volume integral has a 1/''x''<sup>2</sup> in it, but that's not the defining curve. —[[User:Bkell|Bkell]] ([[User talk:Bkell|talk]]) 02:59, 22 September 2012 (UTC)
*Also, the "graph never touches either axis" is '''not''' a valid argument for infinite area, so perhaps your reticence to accept it was more correct than you knew! Consider a piecewise defined function, f=1/x^(0.5), x in (0,1), f=1/x^2, x in [1,infinity). This function has a ''finite'' integral over (0,infinity), and the graph never touches either axis. [[User:SemanticMantis|SemanticMantis]] ([[User talk:SemanticMantis|talk]]) 15:15, 21 September 2012 (UTC)


== Limits of Integration ==


Is it true in general that <math>\lim_{n \rightarrow \infty} \int_{a(n)}^{b(n)} f(x,n)dx = \lim_{n \rightarrow \infty} \int_{\lim_{m\rightarrow \infty}a(m)}^{\lim_{m\rightarrow \infty}b(m)} f(x,n)dx</math>?<br /><br /><br />
[[User:Widener|Widener]] ([[User talk:Widener|talk]]) 02:57, 21 September 2012 (UTC)
: Consider <br> &nbsp; &nbsp; &nbsp; <math>a_n = n,\ b_n = a_n+1,\ f = 1\ \dots</math> <br/>Or <br/> &nbsp; &nbsp; &nbsp; <math>a_n=0,\ b_n=n,\ f(x,n)=\tfrac 1n</math><br/>[[User:CiaPan|CiaPan]] ([[User talk:CiaPan|talk]]) 05:30, 21 September 2012 (UTC)
::Good answer. [[Interchange_of_limiting_operations]] has scant information, and could use some improving if anyone is interested. [[User:SemanticMantis|SemanticMantis]] ([[User talk:SemanticMantis|talk]]) 15:03, 21 September 2012 (UTC)
::Oh, of course, but what if you add the condition that the limits <math>\lim_{n \rightarrow \infty} a_n</math> and <math>\lim_{n \rightarrow \infty} b_n</math> exist? [[User:Widener|Widener]] ([[User talk:Widener|talk]]) 16:34, 21 September 2012 (UTC)
:::<math>a_n=-\tfrac1n,\ b_n=\tfrac1n,\ f=n</math>. -- [[User:Meni Rosenfeld|Meni Rosenfeld]] ([[User Talk:Meni Rosenfeld|talk]]) 17:04, 22 September 2012 (UTC)
::::Hm. Okay. I think it is true that <math>\lim_{N \rightarrow \infty} \frac{1}{2} \int_0^\frac{\pi(N+1/2)}{N+1} \frac{\sin t}{\sin(t/(2(N+1/2)))(N+1/2)} = \int_0^\pi \frac{\sin t}{t}</math> though.
::::If you can interchange the limit and integral somehow you get
::::<math>\lim_{N \rightarrow \infty} \frac{1}{2} \int_0^\frac{\pi(N+1/2)}{N+1} \frac{\sin t}{\sin(t/(2(N+1/2)))(N+1/2)}</math>
::::<math>=\lim_{N \rightarrow \infty} \frac{1}{2} \int_0^\frac{\pi(N+1/2)}{N+1} \frac{\sin t}{(t/(2(N+1/2)) + O(t^3/(8(N+1/2)^3)))(N+1/2)}</math>
::::<math>=\lim_{N \rightarrow \infty} \frac{1}{2} \int_0^\frac{\pi(N+1/2)}{N+1} \frac{\sin t}{t/2 + O(t^3/(8(N+1/2)^2)}</math>
::::<math>\stackrel ?= \frac{1}{2} \int_0^{\lim_{N \rightarrow \infty} \frac{\pi(N+1/2)}{N+1}} \lim_{N \rightarrow \infty}\frac{\sin t}{t/2 + O(t^3/(8(N+1/2)^2)}</math>
::::<math>= \frac{1}{2} \int_0^\pi \frac{\sin t}{t/2} = \int_0^\pi \frac{\sin t}{t}</math>
::::[[User:Widener|Widener]] ([[User talk:Widener|talk]]) 18:12, 22 September 2012 (UTC)
:::::<math>\lim_{\epsilon\rightarrow 0}\int_0^{1-\epsilon}f(x,\epsilon)\,dx=\lim_{\epsilon\rightarrow 0}\int_0^{1}f(x,\epsilon)\,dx-\lim_{\epsilon\rightarrow 0}\int_{1-\epsilon}^1f(x,\epsilon)\,dx</math>
:::::<math>=\int_{0}^{1}\lim_{\epsilon\rightarrow 0}f(x,\epsilon)\,dx-\lim_{\epsilon\rightarrow 0}\int_{1-\epsilon}^{1} f(x,\epsilon)\,dx</math>
:::::If the integrand in the last integral is finite (bounded) in the neighbourhood (x,ε) → (1,0), then ... — [[User_talk:Quondum|''Quondum'']] 20:56, 22 September 2012 (UTC)


= December 15 =
== Inverse birthday problem ==


== What is the cause of this paradox? ==
The [[birthday problem]] of course describes the probability that two people in a given set of people will share birthdays.


I recently completed a calculus term, in which one of the last units involving how much one aspect of an object was changing in relation to time at a certain point, given the rate of change of another aspect. Many specific questions could be analyzed as a right triangle with one leg (the x) remaining constant and the other leg (the y) growing at a specified rate. When it came time to solve for the value of the dz/dt (the rate of the hypotenuse’s growth with respect to time) at a certain point, it ended up as less than the provided dy/dt. Here’s an illustration:
But what are the odds in a group of ''n'' people that there are days where there are ''no'' birthdays?


The x is the distance from me to a tower. This remains constant.
The birthday problem's solution implies that birthdays often cluster. Would that mean that [[unbirthday]]s are also clustered?


The y is the distance from the tower to a flying bird.
This isn't homework of any sort; I'm just curious. I have ~500 Facebook "friends" — what are the odds that none of them have a birthday today? --[[User:Mr.98|Mr.98]] ([[User talk:Mr.98|talk]]) 13:39, 21 September 2012 (UTC)


The dy/dt is the speed at which the bird is flying from the tower.
:Off the top of my head, I think this is easier than the birthday problem, because we don't have to be careful about things like Alice and Bob share ''some'' birthday, OR Alice and Charles share ''some'' birthday, etc... If we assume that birthdays are uniformly distributed, and each person's birthday is independent of all the others, then we can just multiply to answer your final question. Because they are uniformly distributed, the probability that person A's birthday is ''not'' today is 364/365. Likewise for person B. Because they are independent, we can multiply to get the probability that today is not A's birthday AND is not B's birthday is 364/365 X 364/365. So the [[probability]] (not [[odds]]) that no friend has a birthday today is (364/365)^500=0.2537. Note that your last question is different from your second (i.e. some B-day free day exists, vs today is a B-day free day); that one takes a little more work. [[User:SemanticMantis|SemanticMantis]] ([[User talk:SemanticMantis|talk]]) 16:15, 21 September 2012 (UTC)


The z is my distance from the bird.
::More concisely, the last question is the same as "if 500 people roll a 365-sided die, what is the probability that none of them roll a 265 (today)", while the second question is "if n people roll a 365-sided die, what is the probability that there is some number which does not occur." [[User:SemanticMantis|SemanticMantis]] ([[User talk:SemanticMantis|talk]]) 16:20, 21 September 2012 (UTC)


::It's not so easy to work out a formula, but the probability that there is ''some'' day with no birthday is near certainty until the number of people gets well up into the thousands. [[User:Looie496|Looie496]] ([[User talk:Looie496|talk]]) 16:24, 21 September 2012 (UTC)
In this illustration, the distance between me and the bird is increasing at a slower rate than the speed at which the bird itself is flying. What is the cause of this paradox? [[User:Primal Groudon|Primal Groudon]] ([[User talk:Primal Groudon|talk]]) 19:43, 15 December 2024 (UTC)
:I do not see any paradox here. [[User:Ruslik0|Ruslik]]_[[User Talk:Ruslik0|<span style="color:red">Zero</span>]] 20:30, 15 December 2024 (UTC)
:If the bird is between you and the tower ({{math|0 ≤ ''y'' < ''x''}}), the distance between you and the bird is even decreasing: {{math|''dz''/''dt'' < 0.}} By the time it flies right overhead ({{math|1=''y'' = ''x''}}), the distance is momentarily stationary: {{math|1=''dz''/''dt'' = 0.}} After that, it increases: {{math|''dz''/''dt'' > 0.}} This rate of increase will asymptotically approach {{math|''dy''/''dt''}} from below as the bird flies off into an infinite distance. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 00:34, 16 December 2024 (UTC)
::I think the issue here is that even though the rate of change of z is less than the rate of change of y, z never actually becomes less than y. You can see this graphically, for example, by comparing the graphs of y=x and y=√(x<sup>2</sup>+1). The second graph is always above the first graph, but the slope of the first graph is x/√(x<sup>2</sup>+1), which is always less than 1, the slope of the first graph. But this is typical behavior when a graph has an asymptote. As a simpler example, the slope of 1/x is negative, but the value never goes below 0 (at least for x>0). Similarly, the slope of x+1/x is always less than 1, but the value of x+1/x is always greater than x (again, for x>0). The graph of y=√(x<sup>2</sup>+1) is one branch of a hyperbola having y=x as an asymptote, and this looks very much like the x>0 part of y=x+1/x. In general the difference in rates of change can imply that that two quantities get closer and closer to each other, but this does not mean they ever become equal. This phenomenon is, perhaps, counterintuitive for many people, but the math says it can happen anyway. I don't know if this rises to the level of a paradox, but I can see that it might be concerning for some. --[[User:RDBury|RDBury]] ([[User talk:RDBury|talk]]) 09:39, 16 December 2024 (UTC)
:::For x > 0, the graph of y=√(x<sup>2</sup>+1) looks even more like that of y=x+1/(2x). For example, when x = 5, √(x<sup>2</sup>+1) = {{sqrt|26}} ≈ 5.09902 is approximated much more closely by 5.1 than by 5.2. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 18:35, 16 December 2024 (UTC)


:::Isn't the chance that a day exists where nobody in a group of 365 or more has the same birthday given by 1-(1-(364/365)<sup>n</sup>)<sup>365</sup> ? So, when n = 500, we get 1-(1-(364/365)<sup>500</sup>)<sup>365</sup> = 1-(1-0.2537)<sup>365</sup> = 1-(0.7463)<sup>365</sup> = 1 - 4.1779×10<sup>-47</sub>, or, for all practical purposes 1.0, a virtual certainty that at least one birthday-free day exists. Here's the calculations with different values of n plugged in:


n probability of a birthday-free day existing
----- -------------------------------------------
500 ≈1.0
1000 0.99999999997
1500 0.9975
2000 0.78
2500 0.32
3000 0.093
4000 0.0062
5000 0.00040
6000 0.000026
7000 0.0000017
8000 0.00000011
9000 0.0000000069
10000 0.00000000044


::::[[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 17:35, 21 September 2012 (UTC)


= December 19 =
:::::I am immediately suspicious of that formula 1-(1-(364/365)<sup>n</sup>)<sup>365</sup> as it gives a smooth transition of probabilities at the point n = 365. [[Special:Contributions/86.160.216.189|86.160.216.189]] ([[User talk:86.160.216.189|talk]]) 17:59, 21 September 2012 (UTC)


== Who is the following unknown? ==
::::::It does seem odd that it gives a probability of almost 1, but not exactly 1, when used for fewer than 365 people. It's within 1.5×x10<sup>-78</sup> of 1, though. Is this the chance that the universe will end before the year ends ? :-) [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 18:08, 21 September 2012 (UTC)


When asked '''<span style="color: orange">"WHO IS YOUR X?"</span>''' (X still being unknown to me but is known to the respondents), here are the answers I get:
:::::::The formula is only an approximation, because it treats the days as independent, which they aren't really. [[User:Looie496|Looie496]] ([[User talk:Looie496|talk]]) 18:40, 21 September 2012 (UTC)
:
:'''<span style="color: blue">A answers: "A"</span>'''
:'''<span style="color: red">B answers: "C"</span>'''
:'''<span style="color: red">C answers: "C"</span>'''
:'''<span style="color: green">D answers: "F"</span>'''
:'''<span style="color: green">E answers: "F"</span>'''
:'''<span style="color: green">F answers: "F"</span>'''


To sum up, the special phenomenon here is that, everybody has their own X (usually), and if any respondent points at another respondent as the first respondent's X, then the other respondent '''must''' point at ''themself'' as their X.
::::::::In what sense ? I suppose birthdays aren't completely evenly distributed, in that slightly more people are born at some parts of the year than others. However, I don't think that's the issue here. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 18:44, 21 September 2012 (UTC)


I wonder who the unknown X may be, when I only know that X is a ''natural example from everyday life''. I thought about a couple of examples, but none of them are satisfactory, as follows:
:::::::::I agree with you StuRat, independence of birthdays is not the problem with your formula (that is why I phrased the problems with dice above, just to be clear about the assumptions.) Nevertheless, I also think your formula is wrong. Why should it be right? You haven't explained your reasoning at all. Also, you can easily write a program to get some good approximate answers. I bet if you do that (correctly), you'll get answers noticeably different from your table above. [[User:SemanticMantis|SemanticMantis]] ([[User talk:SemanticMantis|talk]]) 18:53, 21 September 2012 (UTC)
:
X is the leader of one's political party, or X is one's mayor, and the like, but all of these examples attribute some kind of ''leadership'' or ''superiority'' to X, whereas I'm not interested in this kind of solution - involving any ''superiority'' of X.
:
Here is a second solution I thought about: X is the ''first (or last)'' person born in the year/month the respondent was born, and the like. But this solution involves some kind of ''order'' (in which there is a "first person" and a "last person"), whereas I'm not interested in this kind of solution - involving any ''order''.
:
Btw, I've published this question also at the [[Wikipedia:Reference_desk/Miscellaneous#Who_is_the_following_unknown?|Miscellaneous desk]], because this question is about ''everyday life'', but now I decide to publish this question also here, because it's ''indirectly'' related to a [[Idempotence#Idempotent_functions|well known topic in Math]]. [[Special:Contributions/79.177.151.182|79.177.151.182]] ([[User talk:79.177.151.182|talk]]) 13:27, 19 December 2024 (UTC)


: Head of household comes to mind as a fairly natural one. The colours then correspond to different households which can be just one person. One objection is that "head of household" is a fairy traditional concept. With marriage equality now being the norm it's perhaps outdated. --[[Special:Contributions/2A04:4A43:909F:F9FF:397E:BBF9:E80B:CB36|2A04:4A43:909F:F9FF:397E:BBF9:E80B:CB36]] ([[User talk:2A04:4A43:909F:F9FF:397E:BBF9:E80B:CB36|talk]]) 15:11, 19 December 2024 (UTC)
::::::::::Well, if the chance of a given day being birthday free is 0.2537, then the probability that it has at least one birthday is 1-0.2537, or 0.7463. The chances of 2 such independent days having one or more birthday each then becomes 0.7463<sup>2</sup>. The chances of 365 independent days having one or more birthday each then becomes 0.7463<sup>365</sup>. The chance of this not being the case then becomes 1-0.7463<sup>365</sup>. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 19:07, 21 September 2012 (UTC)
::I have already referred to this kind of solution, in the example of "my mayor", see above why this solution is not satisfactory. [[Special:Contributions/79.177.151.182|79.177.151.182]] ([[User talk:79.177.151.182|talk]]) 15:31, 19 December 2024 (UTC)
The question has been resolved at the [[Wikipedia:Reference_desk/Miscellaneous#Who_is_the_following_unknown?|Miscellaneous reference desk]]. {{resolved}}
[[Special:Contributions/79.177.151.182|79.177.151.182]] ([[User talk:79.177.151.182|talk]]) 15:48, 19 December 2024 (UTC)


'''X''' may well be 'the oldest living person of your ancestry'. --[[User:CiaPan|CiaPan]] ([[User talk:CiaPan|talk]]) 20:46, 19 December 2024 (UTC)
::::::::::I think I see what Looie means, though. Once we know that one day contains (or doesn't contain) a birthday, this can change the count of potential birthdays that can fall on the other dates. So, yes, in this sense my formula is an approximation, with an error under 1.5×x10<sup>-78</sup>, in the case of 364 people. [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 19:12, 21 September 2012 (UTC)
:Resolved or not, let's try to analyze this mathematically. Given is some set <math>S</math> and some function <math>f:S\to S.</math> For the example, <math>S=\{\mathsf{A},\mathsf{B},\mathsf{C},\mathsf{D},\mathsf{E},\mathsf{F}\},</math> with <math>f(\mathsf{A})=\mathsf{A},</math> <math>f(\mathsf{B})=f(\mathsf{C})=\mathsf{C},</math> <math>f(\mathsf{D})=f(\mathsf{E})=f(\mathsf{F})=\mathsf{F}.</math>
:Knowing that "everybody has their own X (usually)", we can normalize the unusual situation that function <math>f</math> might not be [[Total function|total]] in two ways. The first is to restrict the set <math>S</math> to the domain of <math>f,</math> that is, the set of elements on which <math>f</math> is defined. This is possible because of the condition that <math>f(u)=v</math> implies <math>f(v)=v,</math> so this does not introduce an undue limitation of the range of <math>f.</math> The second approach is to postulate that <math>f(u)=u</math> whenever <math>f(u)</math> might otherwise be undefined. Which of these two approaches is chosen makes no essential difference.
:Let <math>T=f(S)</math> be the [[Range of a function|range]] of <math>f</math>, given by:
::<math>T=\{v\in S:(\exists u\in S:f(u)=v)\}.</math>
:Clearly, if <math>f(v)=v,</math> we have <math>v\in T.</math> We know, conversely, that <math>v\in T</math> implies <math>f(v)=v.</math>
:Let us also consider the [[inverse image]] of <math>f</math>, given by:
::<math>f^{-1}(v)=\{u\in S:f(u)=v\}.</math>
:Suppose that <math>f^{-1}(v)\ne\empty.</math> This means that there exists some <math>u\in f^{-1}(v),</math> which in turns means that <math>f(u)=v.</math> But then we know that <math>f(v)=v.</math> Combining this, we have,
::<math>f(v)=v\Leftrightarrow v\in T\Leftrightarrow f^{-1}(v)\ne\empty.</math>
:The inverse-image function restricted to <math>T,</math> to which we assign the typing
::<math>f^{-1}:T \to\mathbb{P}(S),</math>
:now induces a [[Partition of a set|partitioning]] of <math>S</math> into non-empty, mutually disjoint subsets, which means they are the classes of an [[equivalence relation]]. Each class has its own unique [[representative (mathematics)|representative]], which is the single element of the class that is also a member of <math>T</math>. The equivalence relation can be expressed formally by
::<math>u\sim v\Leftrightarrow f(u)=f(v),</math>
:and the representatives are the [[fixed point (mathematics)|fixed point]]s of <math>f.</math>
:Applying this to the original example, <math>T=\{\mathsf{A},\mathsf{C},\mathsf{F}\},</math> and the equivalence classes are:
:*<math>\{\mathsf{A}\},</math> with representative <math>\mathsf{A},</math>
:*<math>\{\mathsf{B},\mathsf{C}\},</math> with representative <math>\mathsf{C},</math> and
:*<math>\{\mathsf{D},\mathsf{E},\mathsf{F}\},</math> with representative <math>\mathsf{F}.</math>
:Conversely, any partitioning of a set defines an equivalence relation; together with the selection of a representative for each equivalence class, this gives an instance of the situation defined in the question. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 20:47, 19 December 2024 (UTC)
::FWIW, the number of such objects on a set of size n is given by {{oeis|A000248}}, and that page has a number of other combinatorial interpretations. If you ignore the selection of a representative for each class, you get the [[Bell number]]s. --[[User:RDBury|RDBury]] ([[User talk:RDBury|talk]]) 00:35, 21 December 2024 (UTC)


= December 20 =
:::::::::::I haven't actually checked anything numerically, but the fact that the formula is inexact, and the error bounds have not been mathematically quantified, leaves open the possibility that it is badly wrong for other values. The 1.5×10<sup>-78</sup> example by itself not necessarily confidence-inspiring. [[Special:Contributions/86.160.216.189|86.160.216.189]] ([[User talk:86.160.216.189|talk]]) 19:31, 21 September 2012 (UTC)


== Give a base b and two base b digits x and z, must there be a base b digits y such that the 3-digit number xyz in base b is prime? ==
<s>Consider the total number of ways to distribute the birtdays of the n persons over the 365 possible dates. You can represent each possible distribution as a string of the form


Give a base b and two base b digits x and z (x is not 0, z is coprime to b), must there be a base b digits y such that the 3-digit number xyz in base b is prime? [[Special:Contributions/1.165.207.39|1.165.207.39]] ([[User talk:1.165.207.39|talk]]) 02:10, 20 December 2024 (UTC)
00|0|0000|0||00|0|00|....


:In base 5, <math>3Y1_{5} = 76+5Y</math> is composite for all base-5 Y. [[User:GalacticShoe|GalacticShoe]] ([[User talk:GalacticShoe|talk]]) 03:39, 20 December 2024 (UTC)
where each "0" represents a birtday of the person and the "|" are the separations between different days. So, on Januari 1 you have two birtdays, on Januari 2 there is one birtday etc. etc. Then everyu possible string o can write down corresponds to a valid distribution and voce versa, so you just need to count the number of strings. We have n "0"'s and we have 364 "|"'s so the total number is Binomial[364 + n,n].
::<math>3Y1_7</math> also offers a counterexample. While there are many counterexamples for most odd bases, I did not find any for even bases. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 09:58, 20 December 2024 (UTC)


Then if we demand that on every day you have at least one birtday, then this means that you must leave at least one "0" at each position in the string. This means that you have n-365 "0"'s that you can freely shuffle around. You can, of course, also consider strings with n -365 "0"s, themapping between a birthday distribution is then the number of "0"'s at some date plus one. So, the total number of such distributions is Binomial[n-1,n-365].


= December 22 =
The probability that you always have at least one birtday on each date is thus Binomial[n-1,n-365]/Binomial[364 + n,n], the probability that there are days where you don't have birthdays is thus given by:

1 - Binomial[n-1,n-365]/Binomial[364 + n,n]

[[User:Count Iblis|Count Iblis]] ([[User talk:Count Iblis|talk]]) 17:08, 21 September 2012 (UTC)</s>

*I have doubts that this is correct. For a start, you seem to be assuming that your Binomial[364 + n,n] combinations are all equally likely, but it seems to me that they are not. [[Special:Contributions/86.160.216.189|86.160.216.189]] ([[User talk:86.160.216.189|talk]]) 17:46, 21 September 2012 (UTC)
*:Yes, you are right, although it is easy to correct this by imposing an order on the birthdays. I'll correct the solution. [[User:Count Iblis|Count Iblis]] ([[User talk:Count Iblis|talk]]) 18:13, 21 September 2012 (UTC)



I corrected the above problem, I found that the probability p for there being one or more days on which there are no birthdays is given by:

:<math>p = 1 - \frac{1}{r^{n}}\sum_{k = 0}^{r}(-1)^{r-k}\binom{r}{k}k^{n}</math>

where r = 365

[[User:Count Iblis|Count Iblis]] ([[User talk:Count Iblis|talk]]) 19:50, 21 September 2012 (UTC)

:What is k ? Also, would you like to run that against the numbers in my chart above, to see how the two compare ? [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 23:27, 21 September 2012 (UTC)
::I tried it earlier and they seem to correspond quite well, so assuming Count Iblis' formula is correct, it seems like yours is a pretty good approximation after all. (As far as evaluating the formula is concerned, ''k'' is just an internal counter which does not need to be assigned a meaning, but probably you know that and are asking about its meaning in terms of the formula derivation.) [[Special:Contributions/86.160.216.189|86.160.216.189]] ([[User talk:86.160.216.189|talk]]) 00:17, 22 September 2012 (UTC)<br />
:Looks ok. There are <math>365^{n}</math> possibilities. To get the ones with birthdays on every day, you have to subtract the ones where at least one day has no birthdays. There are <math>364^{n}</math> ways to distribute them over 364 days, and 365 ways to choose those 364, so <math>365^{n}-365*364^{n}</math>; however, now you removed the ones with two "birthless" days twice. So you add those: there's <math>\binom{365}{2}</math> ways to choose those days, giving you <math>365^{n}-365*364^{n}+\binom{365}{2}*363^{n}</math>. Same thing again: some are counted twice, so you must subtract <math>\binom{365}{3}*362^{n}</math>; repeat the same proces till you arrive at all birthdays on one day, divide by total number of possibilities gives the odds of all days having birthdays, subtract from 1 to get the odds you wanted. [[User:Ssscienccce|Ssscienccce]] ([[User talk:Ssscienccce|talk]]) 01:30, 22 September 2012 (UTC)
{{od}}
About the derivation, you can use inclusion/exclusion as Ssscienccce explained above. Another way is to directly evaluate evaluate the number of ways you can have one or more birthday on each date by summing over each distribution of the birth dates over the year. So, if there are <math>k_{j}</math> birthdays on the jth date, then the total number of ways to have such a distribution is:

:<math>\frac{n!}{\prod_{j=1}^{r}k_{j}!}</math>

If we sum this over all possible values of <math>k_{j}</math> we should find <math>r^n</math>. In the summation, you have to impose the constraint <math>\sum_{j=1}^{r}k_{j}=n</math>. You can do this using generating functions. You compute the function:

:<math>f(x) = \sum_{k_{1}=0}^{\infty}\sum_{k_{2}=0}^{\infty}\cdots\sum_{k_{r}=0}^{\infty}\frac{n!}{\prod_{j=1}^{r}k_{j}!}x^{\sum_{j=1}^{r}k_{j}}</math>

The coefficent of x^n is then the desired answer. Taking out the factor n!, the summation factors into identical summations, and each summation is the series expansion of exp(x), so f(x) = n! exp(rx), the coefficient of x^n is thus r^n. If we now consider only cases where you have one or more birthdays on each date, then each of the summation starts at 1 instead of zero, so, you get f(x) = n! [exp(x) - 1]^r. The coefficient of x^n can be obtained by first expanding [exp(x) - 1]^r and then extracting the coefficient of x^n from each term, you then get the above formula.

You can also use the generating function directly to find approximations for large n, you can write the coefficient of x^n as the contour integral of f(z)/z^(n+1) around the origin and then using the saddle point method obtain approximations to that integral. [[User:Count Iblis|Count Iblis]] ([[User talk:Count Iblis|talk]]) 02:00, 22 September 2012 (UTC)
: see [[Coupon collector's problem]]. [[User:Robinh|Robinh]] ([[User talk:Robinh|talk]]) 08:28, 23 September 2012 (UTC)

::Sorry if I'm making a mistake here, but I think the formula
:::<math>p = 1 - \frac{1}{r^{n}}\sum_{k = 0}^{r}(-1)^{r-k}\binom{r}{k}k^{n}</math>
::is not correct. Let n=4 (number of people) and r=3 (number of days in the year). The number of ways to get at least one untaken day is the number of ways to get 2 untaken days (=3) plus the number of ways to get 1 untaken day (=3×2<sup>4</sup>), for a total of 51 out of 3<sup>4</sup>=81 possible arrangements. But the above formula gives
:::<math>1 - \frac{-0+3-3 \cdot 16 + 81}{81} </math>
::due to the alternating signs term (-1)<sup>r-k</sup>, whereas every term in the numerator except the last ''should'' have a minus sign. [[User:Duoduoduo|Duoduoduo]] ([[User talk:Duoduoduo|talk]]) 13:56, 23 September 2012 (UTC)

== cells within a table ==

{| class="wikitable"
|-
|-
| A || B
|-
| C || D
|-
| E || F
|-
| G || H
|}

The above table has 2 columns and 4 rows. In the above example I have assigned 8 different values to the 8 cells of that table. Let us say that we can rearrange the values at will. By rearranging the values, how many different arrangements are possible? [[User:Bus stop|Bus stop]] ([[User talk:Bus stop|talk]]) 19:46, 21 September 2012 (UTC)
:<math>8! = 40320</math> see [[permutation]]. [[User:Widener|Widener]] ([[User talk:Widener|talk]]) 21:53, 21 September 2012 (UTC)
::Thanks, Widener. That number surprises me as I would have guessed a far lower number. By the way I see the number at [[Factorial]]. [[User:Bus stop|Bus stop]] ([[User talk:Bus stop|talk]]) 01:31, 23 September 2012 (UTC)
:::{| class="wikitable"
|-
|-
| A || B
| C || D
| E || F
| G || H
|}
:::Followup question: Does the same calculation apply in the case of the above arrangement? [[User:Bus stop|Bus stop]] ([[User talk:Bus stop|talk]]) 11:06, 23 September 2012 (UTC)
::::Yes. The formula is not based on the physical arrangement. The idea is this: There are 8 choices for where to put A. After A has occupied a box, there are 7 choices for where to put B. So we could have had A in the first box and B in any of 7 other boxes, or we could have had A in the second box and B in any of 7 other boxes,...,so for each of 8 possibilities for A there are 7 possibilities for B, hence we have 8×7 possibilities so far. Then for each of those 8×7 possibilities there are 6 remaining possible choices for where to put C, giving 8×7×6 possibilities so far. And so on until the end, where we have 8×7×6×5×4×3×2×1 possibilities. [[User:Duoduoduo|Duoduoduo]] ([[User talk:Duoduoduo|talk]]) 13:36, 23 September 2012 (UTC) possibilities possibilities
:::::Thank you. That is really interesting. I have to think about that. [[User:Bus stop|Bus stop]] ([[User talk:Bus stop|talk]]) 14:08, 23 September 2012 (UTC)

== Friendship combinations ==
Let say there are 6 people: A, B, C, D, E, F. Each of them has 2 internet friends in the group. None of them has any internet friend outside of the group. How many different ways can this happen? I already know the answer which is 70 but I'm confused on how to find the answer. Can anyone explain to me in details how to get the answer? Thanks![[Special:Contributions/65.128.190.136|65.128.190.136]] ([[User talk:65.128.190.136|talk]]) 21:23, 21 September 2012 (UTC)

:I find problems like this usually require some fiddling around. A special case is when you have two groups of three; there are <math>10</math> of those. WLOG you can look at the group of three containing A - then you vary the other two. [[User:Widener|Widener]] ([[User talk:Widener|talk]]) 22:05, 21 September 2012 (UTC)

:You could do this systematically by starting with A, then going through all possible pairs that could be both partnered with A. Then for each person in each of those pairs, you could go through all possible pairs that could be partnered with them - this process will terminate when you get back to someone you have already considered. That's the brute-force approach; there may be a quicker approach but I'm not aware of it off the top of my head. [[User:Widener|Widener]] ([[User talk:Widener|talk]]) 22:17, 21 September 2012 (UTC)

::Think of the 6 people as [[vertex (graph)|points/nodes]]; [[friendship]] is designated by connecting two points/nodes. Given the condition that each person has exactly 2 friends, you need to connect them with lines so that every point/node is paired off with 2 other points/nodes. Then there are only two possible shapes that these nodes can take that satisfy these conditions: 2 [[circle|rings/circles]] of 3 points/nodes each, or 1 ring/circle of 6 points/nodes. Now consider each of those shapes in turn:

::* 2 rings/circles of 3 points/nodes: You need to [[combination|select]] 3 out of 6 points/nodes for the first ring/circle. Then, since there are two rings/circles and order doesn't matter, you need to divide by the possible number of ways to order those 2 rings/circles: <math>\frac{\binom {6}{3}}{2!} = \frac{20}{2} = 10</math>

::* 1 ring/circle of 6 points/nodes: The general formula for a ring [[permutation]] is (n - 1)! / 2 = 5! / 2 = 60. (To see why the formula is thus, consider that after choosing any arbitrary node in the ring as your starting point, you have 5 nodes left to order, so 5!, but then you have to account for the shape being a circle and looping back to the beginning, so you have to divide by 2 since [[clockwise]] and [[counterclockwise]] orderings are equivalent upon [[reflection (mathematics)|reflection]].)

::10 + 60 = 70, and there's your answer.

::—[[User:SeekingAnswers|SeekingAnswers]] ([[User talk:SeekingAnswers|reply]]) 22:31, 21 September 2012 (UTC)

:::Nice![[Special:Contributions/65.128.190.136|65.128.190.136]] ([[User talk:65.128.190.136|talk]]) 23:06, 21 September 2012 (UTC)

::::P.S. The problem is equivalent to asking for the number of [[undirected graph|undirected]] 2-[[regular graph|regular]] [[graph (mathematics)|graph]]s given ''n'' labeled [[node (graph)|nodes]] {{OEIS|A001205}}, where in this case ''n'' = 6. —[[User:SeekingAnswers|SeekingAnswers]] ([[User talk:SeekingAnswers|reply]]) 04:28, 22 September 2012 (UTC)

== nPr? ==
How do I calculate nPr by hand? Let say in Ti 89 calculator, I type in nPr(9 , 2) = 72. So how can I do it without the calculator? Thanks![[Special:Contributions/65.128.190.136|65.128.190.136]] ([[User talk:65.128.190.136|talk]]) 23:06, 21 September 2012 (UTC)
:<math>\frac{n!}{(n-r)!}</math>, or <math>\prod_{i=n-r+1}^n i</math> or <math>\prod_{i=1}^{r} (n-i+1)</math>. [[User:Widener|Widener]] ([[User talk:Widener|talk]]) 23:23, 21 September 2012 (UTC)<br />

:Or in simpler terms: P(15,4)=15*14*13*12, just multiply, first number is where you start with, second one is the number of factors to use. P(12,3)= 12*11*10 you get the idea. [[User:Ssscienccce|Ssscienccce]] ([[User talk:Ssscienccce|talk]]) 01:41, 22 September 2012 (UTC)

::<small>Wasn't this discussed on [[NPR]] ? :-) [[User:StuRat|StuRat]] ([[User talk:StuRat|talk]]) 01:44, 22 September 2012 (UTC) </small>
:::<small>{{#switch: {{lc:{{{1}}}}} | supreme | sfod=[[File:Facepalm3.svg|20px]] '''Supreme [[Template:facepalm|facepalm]] of destiny''' | #default=[[File:Facepalm3.svg|15px]] '''[[Template:Facepalm|Facepalm]]'''}}... all right, I laughed a little. --<font face="Book Antiqua">[[User:Kinu|<font color="blue"><strong>Kinu</strong></font>]]&nbsp;<sup>[[User_talk:Kinu|<font color="red">''t''</font>]]</sup>/<sub>[[Special:Contributions/Kinu|<font color="red">''c''</font>]]</sub></font> 04:36, 22 September 2012 (UTC)</small>

= September 22 =

== a? ==
[http://s1172.photobucket.com/albums/r574/englishwikipedia/?action=view&current=IMG_0083_zps2be7fe73.jpg problem 20]. I saw the answer key but still unable to understand what is going on. I understand the binary expansion part. I get lost in the statement "it follows that the coefficient of x^2012 is equal to 2^0 + 2^1 + 2^5 = 2^6. [http://s1172.photobucket.com/albums/r574/englishwikipedia/?action=view&current=IMG_0081_zps19f3eb5a.jpg answer key part 1], [http://s1172.photobucket.com/albums/r574/englishwikipedia/?action=view&current=IMG_0080_zpsde051df7.jpg answer key part 2]. Thanks![[User:Pendragon5|Pendragon5]] ([[User talk:Pendragon5|talk]]) 00:02, 22 September 2012 (UTC)<br />
:A product of sums is the sum of all the possible products; say (a+b)*(c+d)*(e+f): the result will contain every product you can make by picking one of each sum,so for example a*d*e, b*c*e, b*c*f and five others.
:In your polynomial, you know which factors supply the power of x part, so the rest must provide the coefficient: showing only the parts that make up the x<sup>2012</sup> term : (x<sup>1024</sup>+..)*(x<sup>512</sup>+..)*(x<sup>256</sup>+..)*(x<sup>128</sup>+..)*(x<sup>64</sup>+..)*'''(..+ 32)'''*(x<sup>16</sup>+..)*(x<sup>8</sup>+..)*(x<sup>4</sup>+..)*'''(..+2)*(..+1)'''. And 1*2*32=64=2<sup>6</sup> [[User:Ssscienccce|Ssscienccce]] ([[User talk:Ssscienccce|talk]]) 02:11, 22 September 2012 (UTC)
::Oh okay I think I got it now. Thanks! I also have another question. How can I convert 2012 into binary number without the answer key?[[User:Pendragon5|Pendragon5]] ([[User talk:Pendragon5|talk]]) 19:37, 22 September 2012 (UTC)
:::[[Binary_numeral_system#Conversion_to_and_from_other_numeral_systems]], first paragraph. — [[User_talk:Quondum|''Quondum'']] 21:02, 22 September 2012 (UTC)

== Commutability of integration ==

Is <math>\int (\int f(r) dr) dv</math> the same as <math>\int (\int f(r) dv) dr</math>? [[Special:Contributions/71.207.151.227|71.207.151.227]] ([[User talk:71.207.151.227|talk]]) 21:04, 22 September 2012 (UTC)

:See [[Fubini's theorem]]. [[User:Sławomir Biały|<span style="text-shadow:grey 0.3em 0.3em 0.1em; class=texhtml">Sławomir Biały</span>]] ([[User talk:Sławomir Biały|talk]]) 21:09, 22 September 2012 (UTC)

= September 23 =

== Seeking function ==

Does anyone have any feeling whether any function ''f'' exists to satisfy the following:

:<math>\int_0^1\frac{x}{z^2}f(x)f\left(x\left(\frac{1}{z}-1\right)\right)\,dx=1</math>

:for all 1/2 < z < 1

Of course, actual solution(s) would be even better, but failing that an idea of whether there are likely to be no solutions, one solution, or many solutions would be of interest. [[Special:Contributions/81.159.105.97|81.159.105.97]] ([[User talk:81.159.105.97|talk]]) 00:59, 23 September 2012 (UTC)

== Topology ==

Is there any "recognized" metric which satisfies the Pythagorean Theorem even when the <s>lengths of</s> [vectors representing] sides in a triangle are <s>not real</s> [complex] numbers? (e.g. the hypotenuse will be 0 in that metric if the <s>lenghs of</s> [vectors representing] the other sides are 1 and i; In other words: the length of the vector (1,i) will be zero, because 1<sup>2</sup> + i<sup>2</sup> = 0<sup>2</sup>). Additionally, can such a metric be regarded as Euclidean (or pseudo-Euclidean) in some sense? Or rather, can it even be regarded as the ''simple Euclidean'' metric on a space over the ''complex field''? Is it a legitimate "recognized" metric? [[Special:Contributions/77.126.50.25|77.126.50.25]] ([[User talk:77.126.50.25|talk]]) 08:58, 23 September 2012 (UTC)

: Would the pseudo-Euclidean Lorentz metric ([[Minkowski space]]) qualify? This still uses real numbers, but modifies signs in the Pythagorean theorem. The question is essentially circular, inasmuch as what is considered to be orthogonal (a "right angle") is ''defined'' by the metric (usually a [[symmetric bilinear form]]), including in any number of dimensions. Pure imaginary numbers can be used to produce the same effect. — [[User_talk:Quondum|''Quondum'']] 10:11, 23 September 2012 (UTC)
::The circularity you've pointed at can be avoided by defining the space over the complex field (rather than over the real field), so that the two vectors (x,0) (0,y) be orthogonal - because their inner product is zero, yet x may equal 1 and y may equal i, in which case - the metric I'm looking for - determines the length of their sum (1,i) to be zero (because 1<sup>2</sup> + i<sup>2</sup> = 0<sup>2</sup>).
::I suspect Minkowski space won't be sufficient, because of two reasons: First, it's not defined over the complex field - as opposed to what's expected from the space having the metric I'm looking for; Second, even if one realy tried to use Minkowski space over the complex field, its metric still doesn't fully obey the Pythagorean Theorem - but rather modifies signs - as you have already pointed out.
::As long as I think about this, it seems that the metric I'm looking for is the ''simple Euclidean'' metric on a space over the complex field, isnt it? [[Special:Contributions/77.126.50.25|77.126.50.25]] ([[User talk:77.126.50.25|talk]]) 11:32, 23 September 2012 (UTC)

:::You are describing a space of two real dimmensions with a metric. If you choose to separately consider it as the complex field, this is irrelevant, since the complex multiplication is not used here except as you choose within the metric, and you are choosing to dismember it into it real and imaginary parts (i.e. two one-dimensional spaces over the real numbers) before defining the metric in terms of the pieces. You are separately defining (x,0) and (0,y) be orthogonal; you can't do this, it is determined by the metric (i.e. you have to find whether they are orthogonal under the metric you've defined). The metric you have described is exactly the Lorentz metric in two dimensions, where you have simply labelled the units on one axis with an "i". The two axes do turn out to be orthogonal, but vectors away from the axes behave a little counterintuitively, with those at 45° being self-orthogonal. This matches the behaviour of [[split-complex number]]s rather than the normal complex numbers. If you were to try to define a "simple Euclidean metric" over the complex field in two dimensions, each "axis" would allow values from the whole field (you'd be dealing with 4 real dimensions). This construction works perfectly well, but I doubt that it is what you're looking for. — [[User_talk:Quondum|''Quondum'']] 13:00, 23 September 2012 (UTC)
::::Thanks to your comment, I've just fixed some mistakes in the old version of my original question, in order to make it clear that what I've been trying to describe - was '''not''' "''a space of two real dimensions''" - nor "''two one-dimensional spaces over the real numbers''", but rather one space of two ''complex dimensions''. Btw, I didn't understand why I can't state (x,0) and (0,y) to be orthogonal; Doesn't this follow from the very definition of the orthogonality and the inner product? [[Special:Contributions/77.126.50.25|77.126.50.25]] ([[User talk:77.126.50.25|talk]]) 14:14, 23 September 2012 (UTC)
: The complex metric is "unrecognised" not because it is impossible to construct. It is "unrecognised" because fails to satisfy the [[triangle inequality]], if not to mention that almost certainly evokes a lot of [[null vector]]s. And the existence of non-zero null vectors is a hint to impossibility of the Pythagorean Theorem in complex-valued "metric spaces" (which are actually not so by their core properties). <small>BTW, I still do not realize why this section is named "Topology".</small> [[User:Incnis Mrsi|Incnis Mrsi]] ([[User talk:Incnis Mrsi|talk]]) 13:28, 23 September 2012 (UTC)
::For this I implicity assumed a definition of "metric" as ''quadratic form''. Mathematicians typically require the triangle inequality of a "metric", whereas physicists don't. And in physics, the Lorentz "metric" is most certainly recognized and is used extensively. <small>and yes, the section is misnamed, care to suggest another?</small> — [[User_talk:Quondum|''Quondum'']] 14:08, 23 September 2012 (UTC)
::See my response to your previous comment. [[Special:Contributions/77.126.50.25|77.126.50.25]] ([[User talk:77.126.50.25|talk]]) 14:15, 23 September 2012 (UTC)

Latest revision as of 00:05, 22 December 2024

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:


December 6

[edit]

Is there anything that would prevent peforming Weil Descent on binary curves of large characteristics ?

[edit]

The ghs attack involve creating an hyperlliptic curve cover for a given binary curve. The reason the attack fails most of the time is the resulting genus grows exponentially relative to the curve’s degree.

We don’t hear about the attack on finite fields of large characteristics since such curves are already secure by being prime. However, I notice a few protocol relies on the discrete logarithm security on curves with 400/500 bits modulus resulting from extension fields of characteristics that are 200/245bits long.

Since the degree is most of the time equal to 3 or 2, is there anything that would prevent creating suitable hyperelliptic cover for such curves in practice ? 2A01:E0A:401:A7C0:28FE:E0C4:2F97:8E08 (talk) 12:09, 6 December 2024 (UTC)[reply]

December 7

[edit]

Mathematical operation navigation templates

[edit]
RDBury is right, this discussion belongs at Wikipedia talk:WikiProject Mathematics
The following discussion has been closed. Please do not modify it.

If anyone with some mathematical expertise is interested, I'd appreciate some additional input at Talk:Exponentiation#funny table at end. The question is whether our articles on various mathematical operations could use a navigational template (aka "{{Navbox}}"). Our Exponentiation article tried to use {{Mathematical expressions}} for this purpose, but it doesn't really work. I've created {{Mathematical operations}} as a potential alternative, but the categorization and presentation I've created is probably naïve. (The whole effort may or not be worth it at all.) —scs (talk) 00:36, 7 December 2024 (UTC)[reply]

Wikipedia talk:WikiProject Mathematics is a better forum for this kind of thing, since it's focused on Wikipedia's mathematical articles. --RDBury (talk) 04:07, 7 December 2024 (UTC)[reply]
@RDBury: Excellent point. Thanks. —scs (talk) 13:49, 7 December 2024 (UTC)[reply]

December 8

[edit]

For each positive integer , which primes are still primes in the ring ?

[edit]

For each positive integer , which primes are still primes in the ring ? When , is the original integer ring, when , is the ring of Gaussian integers, when , is the ring of Eisenstein integers, and the primes in the Gaussian integers are the primes , and the primes in the Eisenstein integers are the primes , but how about larger ? 218.187.66.163 (talk) 04:50, 8 December 2024 (UTC)[reply]

A minuscule contribution: for the natural Gaussian primes and are composite:
So is the least remaining candidate.  --Lambiam 09:00, 8 December 2024 (UTC)[reply]
It is actually easy to see that is composite, since is a perfect square:
Hence, writing by abuse of notation for we have:
More in general, any natural number that can be written in the form is not prime in This also rules out the Gaussian primes and  --Lambiam 11:50, 8 December 2024 (UTC)[reply]
So which primes are still primes in the ring ? How about and ? 220.132.216.52 (talk) 06:32, 9 December 2024 (UTC)[reply]
As I wrote, this is only a minuscule contribution. We do not do research on command; in fact, we are actually not supposed to do any original research here.  --Lambiam 09:23, 9 December 2024 (UTC)[reply]
Moreover, is also a perfect square. (As in the Gaussian integers, the additive inverse of a square is again a square.) So natural numbers of the form are also composite. This further rules out and A direct proof that, e.g., is composite: There are no remaining candidates below and I can in fact not find any larger ones either. This raises the conjecture:
Every prime number can be written in one of the three forms and
Is this a known theorem? If true, no number in is a natural prime. (Note that countless composite numbers cannot be written in any of these forms; to mention just a few: )  --Lambiam 11:46, 9 December 2024 (UTC)[reply]
I'll state things a little more generally, in the cyclotomic field . (Your n is twice mine.) A prime q factors as , where each is a prime ideal of the same degree , which is the least positive integer such that . (We have assumed that q does not divide n, because if it did, then it would ramify and not be prime. Also note that we have to use ideals, because the cyclotomic ring is not a UFD.) In particular, stays prime if and only if generates the group of units modulo . When n is a power of two times an odd composite, the group of units is not cyclic, and so the answer is never. When n is a prime or twice a prime, the answer is when q is a primitive root mod n. If n is 4 times a power of two times a prime, the answer is never. Tito Omburo (talk) 11:08, 8 December 2024 (UTC)[reply]
For your , and are the same, as well as and , this is why I use instead of . 61.229.100.34 (talk) 20:58, 8 December 2024 (UTC)[reply]
Also, what is the class number of the cyclotomic field ? Let be the class number of the cyclotomic field , I only know that:
  • for (is there any other such )?
  • If divides , then also divides , thus we can let
  • For prime , divides if and only if is Bernoulli irregular prime
  • For prime , divides if and only if is Euler irregular prime
  • for (is there any other such )?
  • is prime for (are there infinitely many such ?)
Is there an algorithm to calculate quickly? 61.229.100.34 (talk) 21:14, 8 December 2024 (UTC)[reply]

Can we say anything special about every pair of functions f,g, satisfying f(g(x))=f(x) for every x?

[edit]

Especially, is there an accepted term for such a pair?

Here are three simple examples, for two functions f,g, satisfying the above, and defined for every natural number:

Example #1:

f is constant.

Example #2:

f(x)=g(x), and is the smallest even number, not greater than x.

Example #3:

f(x)=1 if x is even, otherwise f(x)=2.
g(x)=x+2.

2A06:C701:746D:AE00:ACFC:490:74C3:660 (talk) 09:31, 8 December 2024 (UTC)[reply]

One way to consider such a pair is dynamically. If you consider the dynamical system , then the condition can be stated as " is constant on -orbits". More precisely, let be the domain of , which is also the codomain of . Define an equivalence relation on by if for some positive integers . Then is simply a function on the set of equivalence classes (=space of orbits). In ergodic theory, such a function is thought of as an "observable" or "function of state", being the mathematical analog of a thermodynamic observable such as temperature. Tito Omburo (talk) 11:52, 8 December 2024 (UTC)[reply]
After you've mentioned temprature, could you explain what are f,g, as far as temprature is concerned? Additionally, could you give another useful example from physics for such a pair of functions? 2A06:C701:746D:AE00:ACFC:490:74C3:660 (talk) 19:49, 8 December 2024 (UTC)[reply]
This equation is just the definition of function g. For instance if function f has the inverse function f−1 then we have g(x)=x. Ruslik_Zero 20:23, 8 December 2024 (UTC)[reply]
If f is the temperature, and g is the evolution of an ensemble of particles in thermal equilibrium (taken at a single time, say one second later), then because temperature is a function of state, one has for all ensembles x. Another example from physics is when is a Hamiltonian evolution. Then the functions with this property (subject to smoothness) are those that (Poisson) commute with the Hamiltonian, i.e. "constants of the motion". Tito Omburo (talk) 20:33, 8 December 2024 (UTC)[reply]
Thx. 2A06:C701:746D:AE00:ACFC:490:74C3:660 (talk) 10:43, 9 December 2024 (UTC)[reply]
Let be a function from to and a function from to Using the notation for function composition, the property under discussion can concisely be expressed as An equivalent but verbose way of saying the same is that the preimage of any set under is closed under the application of  --Lambiam 08:54, 9 December 2024 (UTC)[reply]
Thx. 2A06:C701:746D:AE00:ACFC:490:74C3:660 (talk) 10:43, 9 December 2024 (UTC)[reply]

IEEE Xplore paper claim to acheive exponentiation inversion suitable for pairing in polynomial time. Is it untrustworthy ?

[edit]

I just found https://ieeexplore.ieee.org/abstract/document/6530387. Given the multiplicative group factorization in the underlying finite field of a target bn curve, they claim to acheive exponentiation inversion suitable for pairing inversion in seconds on a 32 bits cpu.

On 1 side, the paper is supposed to be peer reviewed by the iee Xplore journal and they give examples on 100 bits. On the other side, in addition to the claim, their algorithm 2 and 3 are very implicit, and as an untrained student, I fail to understand how to implement them, though I fail to understand things like performing a Weil descent.

Is the paper untrustworthy, or would it be possible to get code that can be run ? 2A01:E0A:401:A7C0:152B:F56C:F8A8:D203 (talk) 18:53, 8 December 2024 (UTC)[reply]

About the paper, I agree to share the paper privately 2A01:E0A:401:A7C0:152B:F56C:F8A8:D203 (talk) 18:54, 8 December 2024 (UTC)[reply]

December 9

[edit]

If the Mersenne number 2^p-1 is prime, then must it be the smallest Mersenne prime == 1 mod p?

[edit]

If the Mersenne number 2^p-1 is prime, then must it be the smallest Mersenne prime == 1 mod p? (i.e. there is no prime q < p such that 2^q-1 is also a Mersenne prime == 1 mod p) If p is prime (no matter 2^p-1 is prime or not), 2^p-1 is always == 1 mod p. However, there are primes p such that there is a prime q < p such that 2^q-1 is also a Mersenne prime == 1 mod p:

but for these primes p, 2^p-1 is not prime, and my question is: Is there a prime p such that 2^p-1 is a prime and there is a prime q < p such that 2^q-1 is also a Mersenne prime == 1 mod p?

  • If 2^11-1 is prime, then this is true, since 2^11-1 is == 1 mod 31 and 2^31-1 is prime, but 2^11-1 is not prime
  • If 2^23-1 or 2^67-1 is prime, then this is true, since 2^23-1 and 2^67-1 are == 1 mod 89 and 2^89-1 is prime, but 2^23-1 and 2^67-1 are not primes
  • If 2^29-1 or 2^43-1 or 2^71-1 or 2^113-1 is prime, then this is true, since 2^29-1 and 2^43-1 and 2^71-1 and 2^113-1 are == 1 mod 127 and 2^127-1 is prime, but 2^29-1 and 2^43-1 and 2^71-1 and 2^113-1 are not primes
  • If 2^191-1 or 2^571-1 or 2^761-1 or 2^1901-1 is prime, then this is true, since 2^191-1 and 2^571-1 and 2^761-1 and 2^1901-1 are == 1 mod 2281 and 2^2281-1 is prime, but 2^191-1 and 2^571-1 and 2^761-1 and 2^1901-1 are not primes
  • If 2^1609-1 is prime, then this is true, since 2^1609-1 is == 1 mod 3217 and 2^3217-1 is prime, but 2^1609-1 is not prime

Another question: For any prime p, is there always a Mersenne prime == 1 mod p? 220.132.216.52 (talk) 19:03, 9 December 2024 (UTC)[reply]

Neither question is easy. For the first, relations would imply that the integer 2 is not a primitive root mod p, and that its order divides for the prime q. This is a sufficiently infrequent occurrence that it seems likely that all Mersenne numbers could be ruled out statistically, but not enough is known about their distribution. For the second, it is not even known if there are infinitely many Mersenne primes. Tito Omburo (talk) 19:23, 9 December 2024 (UTC)[reply]
I found that: 2^9689-1 is the smallest Mersenne prime == 1 mod 29, 2^44497-1 is the smallest Mersenne prime == 1 mod 37, 2^756839-1 is the smallest Mersenne prime == 1 mod 47, 2^57885161-1 is the smallest Mersenne prime == 1 mod 59, 2^4423-1 is the smallest Mersenne prime == 1 mod 67, 2^9941-1 is the smallest Mersenne prime == 1 mod 71, 2^3217-1 is the smallest Mersenne prime == 1 mod 97, 2^21701-1 is the smallest Mersenne prime == 1 mod 101, and none of the 52 known Mersenne primes are == 1 mod these primes p < 1024: 79, 83, 103, 173, 193, 197, 199, 227, 239, 277, 307, 313, 317, 349, 359, 367, 373, 383, 389, 409, 419, 431, 443, 461, 463, 467, 479, 487, 503, 509, 523, 547, 563, 587, 599, 613, 647, 653, 659, 661, 677, 709, 727, 733, 739, 743, 751, 757, 769, 773, 797, 809, 821, 823, 827, 829, 839, 853, 857, 859, 863, 887, 907, 911, 919, 929, 937, 941, 947, 971, 977, 983, 991, 1013, 1019, 1021 220.132.216.52 (talk) 20:51, 9 December 2024 (UTC)[reply]
Also,
but none of these primes p has 2^p-1 is known to be prime, the status of 2^(2^89-1)-1 and 2^(2^107-1)-1 are still unknown (see double Mersenne number), but if at least one of them is prime, then will disprove this conjecture (none of the 52 known Mersenne primes are == 1 mod 2^61-1 or 2^127-1), I think that this conjecture may be as hard as the New Mersenne conjecture. 220.132.216.52 (talk) 20:55, 9 December 2024 (UTC)[reply]
Also, for the primes p < 10000, there is a prime q < p such that 2^q-1 is also a Mersenne prime == 1 mod p only for p = 73, 151, 257, 331, 337, 353, 397, 683, 1321, 1613, 2113, 2731, 4289, 4561, 5113, 5419, 6361, 8191, 9649 (this sequence is not in OEIS), however, none of these primes p have 2^p-1 prime. 220.132.216.52 (talk) 02:23, 10 December 2024 (UTC)[reply]

December 10

[edit]

More on the above conjecture

[edit]

Above I posed:

Conjecture. Every prime number can be written in one of the three forms and

If true, it implies no natural prime is a prime in the ring .

The absolute-value bars are not necessary. A number that can be written in the form is also expressible in the form

It turns out (experimentally; no proof) that a number that can be written in two of these forms can also be written in the third form. The conjecture is not strongly related to the concept of primality, as can be seen in this reformulation:

Conjecture. A natural number that cannot be written in any one of the three forms and is composite.

The first few numbers that cannot be written in any one of these three forms are

They are indeed all composite, but why this should be so is a mystery to me. What do and which appear later in the list, have in common? I see no pattern.

It seems furthermore that the primorials, starting with make the list. (Checked up to )  --Lambiam 19:23, 10 December 2024 (UTC)[reply]

Quick note, for those like me who are curious how numbers of the form can be written into a form of , note that , and so . GalacticShoe (talk) 02:20, 11 December 2024 (UTC)[reply]
A prime is expressible as the sum of two squares if and only if it is congruent to , as per Fermat's theorem on sums of two squares. A prime is expressible of the form if and only if it is congruent to , as per OEIS:A002479. And a prime is expressible of the form if and only if it is congruent to , as per OEIS:A035251. Between these congruences, all primes are covered. GalacticShoe (talk) 05:59, 11 December 2024 (UTC)[reply]
More generally, a number is not expressible as:
  1. if it has a prime factor congruent to that is raised to an odd power (equivalently, .)
  2. if it has a prime factor congruent to that is raised to an odd power
  3. if it has a prime factor congruent to that is raised to an odd power
It is easy to see why expressibility as any two of these forms leads to the third form holding, and also we can see why it's difficult to see a pattern in numbers that are expressible in none of these forms, in particular we get somewhat-convoluted requirements on exponents of primes in the factorization satisfying congruences modulo 8. GalacticShoe (talk) 06:17, 11 December 2024 (UTC)[reply]
Thanks. Is any of this covered in some Wikipedia article?  --Lambiam 10:06, 11 December 2024 (UTC)[reply]
All primes? 2 is not covered! 176.0.133.82 (talk) 08:00, 17 December 2024 (UTC)[reply]
can be written in all three forms:  --Lambiam 09:38, 17 December 2024 (UTC)[reply]
I don't say it's not covered by the conjecture. I say it's not covered by the discussed classes of remainders. 176.0.133.82 (talk) 14:54, 17 December 2024 (UTC)[reply]
Odd prime, my bad. GalacticShoe (talk) 16:38, 17 December 2024 (UTC)[reply]

Assume p is 3 mod 4. Suppose that (2|p)=1. Then where . Because the cyclotomic ideal has norm and is stable under the Galois action it is generated by a single element , of norm .

If (2|p)=-1, then the relevant ideal is stable under and so is generated by , of norm . Tito Omburo (talk) 14:43, 11 December 2024 (UTC)[reply]

December 11

[edit]

Unique normal ultrafilter

[edit]

So I'm supposed to know the answer to this, I suppose, but I don't seem to :-)

"Everyone knows" that, in , Gödel's constructible universe relative to an ultrafilter on some measurable cardinal , there is only a single normal ultrafilter, namely itself. See for example John R. Steel's monograph here, at Theorem 1.7.

So I guess that must mean that the product measure , meaning you fix some identification between and and then say a set has measure 1 if measure 1 many of its vertical sections have measure 1, must not be normal. (Unless it's somehow just equal to but I don't think it is.)

But is there some direct way to see that? Say, a continuous function with such that the set of fixed points of is not in the ultrafilter no singleton has a preimage under that's in the ultrafilter? I haven't been able to come up with it. --Trovatore (talk) 06:01, 11 December 2024 (UTC)[reply]



December 15

[edit]

What is the cause of this paradox?

[edit]

I recently completed a calculus term, in which one of the last units involving how much one aspect of an object was changing in relation to time at a certain point, given the rate of change of another aspect. Many specific questions could be analyzed as a right triangle with one leg (the x) remaining constant and the other leg (the y) growing at a specified rate. When it came time to solve for the value of the dz/dt (the rate of the hypotenuse’s growth with respect to time) at a certain point, it ended up as less than the provided dy/dt. Here’s an illustration:

The x is the distance from me to a tower. This remains constant.

The y is the distance from the tower to a flying bird.

The dy/dt is the speed at which the bird is flying from the tower.

The z is my distance from the bird.

In this illustration, the distance between me and the bird is increasing at a slower rate than the speed at which the bird itself is flying. What is the cause of this paradox? Primal Groudon (talk) 19:43, 15 December 2024 (UTC)[reply]

I do not see any paradox here. Ruslik_Zero 20:30, 15 December 2024 (UTC)[reply]
If the bird is between you and the tower (0 ≤ y < x), the distance between you and the bird is even decreasing: dz/dt < 0. By the time it flies right overhead (y = x), the distance is momentarily stationary: dz/dt = 0. After that, it increases: dz/dt > 0. This rate of increase will asymptotically approach dy/dt from below as the bird flies off into an infinite distance.  --Lambiam 00:34, 16 December 2024 (UTC)[reply]
I think the issue here is that even though the rate of change of z is less than the rate of change of y, z never actually becomes less than y. You can see this graphically, for example, by comparing the graphs of y=x and y=√(x2+1). The second graph is always above the first graph, but the slope of the first graph is x/√(x2+1), which is always less than 1, the slope of the first graph. But this is typical behavior when a graph has an asymptote. As a simpler example, the slope of 1/x is negative, but the value never goes below 0 (at least for x>0). Similarly, the slope of x+1/x is always less than 1, but the value of x+1/x is always greater than x (again, for x>0). The graph of y=√(x2+1) is one branch of a hyperbola having y=x as an asymptote, and this looks very much like the x>0 part of y=x+1/x. In general the difference in rates of change can imply that that two quantities get closer and closer to each other, but this does not mean they ever become equal. This phenomenon is, perhaps, counterintuitive for many people, but the math says it can happen anyway. I don't know if this rises to the level of a paradox, but I can see that it might be concerning for some. --RDBury (talk) 09:39, 16 December 2024 (UTC)[reply]
For x > 0, the graph of y=√(x2+1) looks even more like that of y=x+1/(2x). For example, when x = 5, √(x2+1) = 26 ≈ 5.09902 is approximated much more closely by 5.1 than by 5.2.  --Lambiam 18:35, 16 December 2024 (UTC)[reply]



December 19

[edit]

Who is the following unknown?

[edit]

When asked "WHO IS YOUR X?" (X still being unknown to me but is known to the respondents), here are the answers I get:

A answers: "A"
B answers: "C"
C answers: "C"
D answers: "F"
E answers: "F"
F answers: "F"

To sum up, the special phenomenon here is that, everybody has their own X (usually), and if any respondent points at another respondent as the first respondent's X, then the other respondent must point at themself as their X.

I wonder who the unknown X may be, when I only know that X is a natural example from everyday life. I thought about a couple of examples, but none of them are satisfactory, as follows:

X is the leader of one's political party, or X is one's mayor, and the like, but all of these examples attribute some kind of leadership or superiority to X, whereas I'm not interested in this kind of solution - involving any superiority of X.

Here is a second solution I thought about: X is the first (or last) person born in the year/month the respondent was born, and the like. But this solution involves some kind of order (in which there is a "first person" and a "last person"), whereas I'm not interested in this kind of solution - involving any order.

Btw, I've published this question also at the Miscellaneous desk, because this question is about everyday life, but now I decide to publish this question also here, because it's indirectly related to a well known topic in Math. 79.177.151.182 (talk) 13:27, 19 December 2024 (UTC)[reply]

Head of household comes to mind as a fairly natural one. The colours then correspond to different households which can be just one person. One objection is that "head of household" is a fairy traditional concept. With marriage equality now being the norm it's perhaps outdated. --2A04:4A43:909F:F9FF:397E:BBF9:E80B:CB36 (talk) 15:11, 19 December 2024 (UTC)[reply]
I have already referred to this kind of solution, in the example of "my mayor", see above why this solution is not satisfactory. 79.177.151.182 (talk) 15:31, 19 December 2024 (UTC)[reply]

The question has been resolved at the Miscellaneous reference desk.

Resolved

79.177.151.182 (talk) 15:48, 19 December 2024 (UTC)[reply]

X may well be 'the oldest living person of your ancestry'. --CiaPan (talk) 20:46, 19 December 2024 (UTC)[reply]

Resolved or not, let's try to analyze this mathematically. Given is some set and some function For the example, with
Knowing that "everybody has their own X (usually)", we can normalize the unusual situation that function might not be total in two ways. The first is to restrict the set to the domain of that is, the set of elements on which is defined. This is possible because of the condition that implies so this does not introduce an undue limitation of the range of The second approach is to postulate that whenever might otherwise be undefined. Which of these two approaches is chosen makes no essential difference.
Let be the range of , given by:
Clearly, if we have We know, conversely, that implies
Let us also consider the inverse image of , given by:
Suppose that This means that there exists some which in turns means that But then we know that Combining this, we have,
The inverse-image function restricted to to which we assign the typing
now induces a partitioning of into non-empty, mutually disjoint subsets, which means they are the classes of an equivalence relation. Each class has its own unique representative, which is the single element of the class that is also a member of . The equivalence relation can be expressed formally by
and the representatives are the fixed points of
Applying this to the original example, and the equivalence classes are:
  • with representative
  • with representative and
  • with representative
Conversely, any partitioning of a set defines an equivalence relation; together with the selection of a representative for each equivalence class, this gives an instance of the situation defined in the question.  --Lambiam 20:47, 19 December 2024 (UTC)[reply]
FWIW, the number of such objects on a set of size n is given by OEISA000248, and that page has a number of other combinatorial interpretations. If you ignore the selection of a representative for each class, you get the Bell numbers. --RDBury (talk) 00:35, 21 December 2024 (UTC)[reply]

December 20

[edit]

Give a base b and two base b digits x and z, must there be a base b digits y such that the 3-digit number xyz in base b is prime?

[edit]

Give a base b and two base b digits x and z (x is not 0, z is coprime to b), must there be a base b digits y such that the 3-digit number xyz in base b is prime? 1.165.207.39 (talk) 02:10, 20 December 2024 (UTC)[reply]

In base 5, is composite for all base-5 Y. GalacticShoe (talk) 03:39, 20 December 2024 (UTC)[reply]
also offers a counterexample. While there are many counterexamples for most odd bases, I did not find any for even bases.  --Lambiam 09:58, 20 December 2024 (UTC)[reply]


December 22

[edit]