<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>Comments on: 1/3 of all fractions have an even denominator!</title>
	<atom:link href="http://artent.net/2012/08/10/13-of-all-fractions-have-an-even-denominator/feed/" rel="self" type="application/rss+xml" />
	<link>http://artent.net/2012/08/10/13-of-all-fractions-have-an-even-denominator/</link>
	<description>We&#039;re blogging machines!</description>
	<lastBuildDate>Wed, 15 Jan 2025 16:08:06 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0</generator>
	<item>
		<title>By: hundalhh</title>
		<link>http://artent.net/2012/08/10/13-of-all-fractions-have-an-even-denominator/#comment-79</link>
		<dc:creator><![CDATA[hundalhh]]></dc:creator>
		<pubDate>Mon, 13 Aug 2012 10:57:39 +0000</pubDate>
		<guid isPermaLink="false">http://162.243.213.31/?p=274#comment-79</guid>
		<description><![CDATA[Hi Carl,  I think your formula is almost perfect.  In the situation where the numerator and denominator are between 1 and $2^k$, I think to be 100% correct you need to account for the edge cases as follows:

$$P(N=i) = {1\over{2^{i+1}}}$$

when $i$ is an integer with $0&lt;= i &lt; k$,  $P(N=k) = 1/2^k$, and $P(N=i) = 0$ otherwise.  I didn&#039;t take care of the edge cases in my &quot;proof&quot; because I did not think it through carefully.]]></description>
		<content:encoded><![CDATA[<p>Hi Carl,  I think your formula is almost perfect.  In the situation where the numerator and denominator are between 1 and $2^k$, I think to be 100% correct you need to account for the edge cases as follows:</p>
<p>$$P(N=i) = {1\over{2^{i+1}}}$$</p>
<p>when $i$ is an integer with $0<= i < k$,  $P(N=k) = 1/2^k$, and $P(N=i) = 0$ otherwise.  I didn&#8217;t take care of the edge cases in my &#8220;proof&#8221; because I did not think it through carefully.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vance Faber</title>
		<link>http://artent.net/2012/08/10/13-of-all-fractions-have-an-even-denominator/#comment-78</link>
		<dc:creator><![CDATA[Vance Faber]]></dc:creator>
		<pubDate>Mon, 13 Aug 2012 01:52:26 +0000</pubDate>
		<guid isPermaLink="false">http://162.243.213.31/?p=274#comment-78</guid>
		<description><![CDATA[Yes, I was wrong.  I misread the definition.  I thought we were asking for the probability that m was between 2^(i-1) and 2^i.    Instead we are asking for the number of trailing zeroes in the binary representation.  So the probability that the last bit is 1 is 1/2, the probability that the last bit is 0 and the next to the last bit is 1 is 1/4 and so on.]]></description>
		<content:encoded><![CDATA[<p>Yes, I was wrong.  I misread the definition.  I thought we were asking for the probability that m was between 2^(i-1) and 2^i.    Instead we are asking for the number of trailing zeroes in the binary representation.  So the probability that the last bit is 1 is 1/2, the probability that the last bit is 0 and the next to the last bit is 1 is 1/4 and so on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://artent.net/2012/08/10/13-of-all-fractions-have-an-even-denominator/#comment-77</link>
		<dc:creator><![CDATA[Chris]]></dc:creator>
		<pubDate>Sun, 12 Aug 2012 23:12:40 +0000</pubDate>
		<guid isPermaLink="false">http://162.243.213.31/?p=274#comment-77</guid>
		<description><![CDATA[OK...I agree with Hein&#039;s proof (now that I understood what he was actually saying). Though I can see Vance&#039;s point. For instance, I get 

Pr(N = i) = 1/2^{i} 

but my sum goes from i = 1 to k, so it all boils down to the same thing. I think we&#039;ve beaten this thing to death. It&#039;s nice to know that this works and it&#039;s all very cute.]]></description>
		<content:encoded><![CDATA[<p>OK&#8230;I agree with Hein&#8217;s proof (now that I understood what he was actually saying). Though I can see Vance&#8217;s point. For instance, I get </p>
<p>Pr(N = i) = 1/2^{i} </p>
<p>but my sum goes from i = 1 to k, so it all boils down to the same thing. I think we&#8217;ve beaten this thing to death. It&#8217;s nice to know that this works and it&#8217;s all very cute.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carl</title>
		<link>http://artent.net/2012/08/10/13-of-all-fractions-have-an-even-denominator/#comment-76</link>
		<dc:creator><![CDATA[carl]]></dc:creator>
		<pubDate>Sun, 12 Aug 2012 23:12:39 +0000</pubDate>
		<guid isPermaLink="false">http://162.243.213.31/?p=274#comment-76</guid>
		<description><![CDATA[Just to make sure I am understanding the notation correctly, we have
$$Pr(N = 0) = {1 \over 2},\quad Pr(N = 1) = {1 \over 4},\quad Pr(N = 2) = {1 \over 8},\quad\ldots$$
correct? In particular, the probability that a random integer is divisible by a higher power of a prime is less than the probability that it is divisible by a lower power of the same prime. Therefore I don&#039;t think the formula
$$Pr(N = i) = (2^i – 2^{i - 1}) / 2^k = 2^{i - 1 - k}$$
is correct. I think the correct formula is
$$Pr(N = i) = {1 \over 2^{i + 1}}?$$
]]></description>
		<content:encoded><![CDATA[<p>Just to make sure I am understanding the notation correctly, we have<br />
$$Pr(N = 0) = {1 \over 2},\quad Pr(N = 1) = {1 \over 4},\quad Pr(N = 2) = {1 \over 8},\quad\ldots$$<br />
correct? In particular, the probability that a random integer is divisible by a higher power of a prime is less than the probability that it is divisible by a lower power of the same prime. Therefore I don&#8217;t think the formula<br />
$$Pr(N = i) = (2^i – 2^{i &#8211; 1}) / 2^k = 2^{i &#8211; 1 &#8211; k}$$<br />
is correct. I think the correct formula is<br />
$$Pr(N = i) = {1 \over 2^{i + 1}}?$$</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vance Faber</title>
		<link>http://artent.net/2012/08/10/13-of-all-fractions-have-an-even-denominator/#comment-75</link>
		<dc:creator><![CDATA[Vance Faber]]></dc:creator>
		<pubDate>Sun, 12 Aug 2012 22:21:45 +0000</pubDate>
		<guid isPermaLink="false">http://162.243.213.31/?p=274#comment-75</guid>
		<description><![CDATA[The crux of this argument is the value for P(N=i) in this logarithmic distribution.  If we change the base to 3, say, then this value changes and we get a very different answer.   Also, I am not sure how you arrived at the value you use.
I get something like Pr(N=i)=(2^i - 2^(i-1))/2^k = 2^(i-1-k).  I think this does not change the answer because it reverses the order of the summands.]]></description>
		<content:encoded><![CDATA[<p>The crux of this argument is the value for P(N=i) in this logarithmic distribution.  If we change the base to 3, say, then this value changes and we get a very different answer.   Also, I am not sure how you arrived at the value you use.<br />
I get something like Pr(N=i)=(2^i &#8211; 2^(i-1))/2^k = 2^(i-1-k).  I think this does not change the answer because it reverses the order of the summands.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hundalhh</title>
		<link>http://artent.net/2012/08/10/13-of-all-fractions-have-an-even-denominator/#comment-74</link>
		<dc:creator><![CDATA[hundalhh]]></dc:creator>
		<pubDate>Sun, 12 Aug 2012 20:19:36 +0000</pubDate>
		<guid isPermaLink="false">http://162.243.213.31/?p=274#comment-74</guid>
		<description><![CDATA[So it seems that there is enough interest that I should write down a &quot;proof&quot; of my previous statement

If $I$ and $J$ are independent random integers from the set $\{ 1, \dots, 2^k \}$,  $M$ is the largest integer such that $2^M$ divides $I$, and  $N$ is the largest integer such that $2^N$ divides $J$, then 

P(N is less than M), P(N equals M), and P(N is greater than M) are all about 1/3. 


&quot;Proof&quot;

It is fairly obvious that P(N is less than M) = P(N is greater than M). So now we compute $P(N=M)$.

$P(N=M)$

$\ \ = \sum_{i=0}^k P(N = i \ and \ M= i) $

$\ \ = \sum_{i=0}^k P(N = i) P(M= i)$

$\ \ = \sum_{i=0}^k 2^{-i-1} 2^{-i-1}$

$\ \ = \sum_{i=0}^k 4^{-i-1}$

$\ \ = {{1/4- 1/4^{k+2}}\over{1 - 1/4}}$

$\ \ \approx {{1/4}\over{1 - 1/4}}$

$\ \ = 1/3.$]]></description>
		<content:encoded><![CDATA[<p>So it seems that there is enough interest that I should write down a &#8220;proof&#8221; of my previous statement</p>
<p>If $I$ and $J$ are independent random integers from the set $\{ 1, \dots, 2^k \}$,  $M$ is the largest integer such that $2^M$ divides $I$, and  $N$ is the largest integer such that $2^N$ divides $J$, then </p>
<p>P(N is less than M), P(N equals M), and P(N is greater than M) are all about 1/3. </p>
<p>&#8220;Proof&#8221;</p>
<p>It is fairly obvious that P(N is less than M) = P(N is greater than M). So now we compute $P(N=M)$.</p>
<p>$P(N=M)$</p>
<p>$\ \ = \sum_{i=0}^k P(N = i \ and \ M= i) $</p>
<p>$\ \ = \sum_{i=0}^k P(N = i) P(M= i)$</p>
<p>$\ \ = \sum_{i=0}^k 2^{-i-1} 2^{-i-1}$</p>
<p>$\ \ = \sum_{i=0}^k 4^{-i-1}$</p>
<p>$\ \ = {{1/4- 1/4^{k+2}}\over{1 &#8211; 1/4}}$</p>
<p>$\ \ \approx {{1/4}\over{1 &#8211; 1/4}}$</p>
<p>$\ \ = 1/3.$</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://artent.net/2012/08/10/13-of-all-fractions-have-an-even-denominator/#comment-73</link>
		<dc:creator><![CDATA[Chris]]></dc:creator>
		<pubDate>Sun, 12 Aug 2012 18:13:19 +0000</pubDate>
		<guid isPermaLink="false">http://162.243.213.31/?p=274#comment-73</guid>
		<description><![CDATA[I&#039;ve tested a mixture of Hein&#039;s conjecture with my argument to show that while Hein&#039;s idea that Pr(n=m) = Pr(n &gt; m) = Pr(n  m) = Pr(n &lt; m) = 1/3. Obviously to be precise, everything is assuming a discrete uniform distribution. This is illustrated in my little Maple experiment.

To prove this statement, I suspect we require Carl&#039;s insights. I&#039;d also note, there is something interesting and counter-intuitive happening here viz. the uniform distribution over the integers.

What seems to be interesting is that the factorization is twisting the uniform distribution in a cute way [in response to Vance&#039;s comment by e-mail that looking at the prime factorization causes us to look at an entirely different distribution.

OK, here&#039;s the little experiment in Maple: 

with(RandomTools);

TwoPower := proc (N::integer)::integer; 
local M, count; 
M := N; count := 0; 
while modp(M, 2) = 0 do 
count := count+1; 
M := (1/2)*M 
end do; 
count end proc;

Simulate := proc (N::integer)::list; 
local eCount, oCount, nlCount, nhCount, neCount, tpn, tpd, i, num, deno, fra, dd; 
eCount := 0; 
oCount := 0; 
nlCount := 0; 
nhCount := 0; 
neCount := 0; 
for i to N do 
num := RandomTools:-Generate(integer); 
deno := RandomTools:-Generate(integer); 
fra := num/deno; dd := denom(fra); 
if modp(dd, 2) = 0 then 
eCount := eCount+1 
else oCount := oCount+1 
end if; 
tpn := TwoPower(num); 
tpd := TwoPower(deno); 
if tpn &lt; tpd then 
nlCount := nlCount+1 
elif tpn = tpd then 
neCount := neCount+1 
else nhCount := nhCount+1 
end if end do; 
[eCount, oCount, nhCount, neCount, nlCount] 
end proc;

evalf((1/10000)*Simulate(10000));
[.3335000000, .6665000000, .3331000000, .3334000000, .3335000000]

# The previous example illustrates that for the appropriate measures, fractions with 
#even numerators show up 1/3 of the time and illustrates Hein&#039;s conjecture that 1/3 of the 
#two integers are chosen with the 2&#039;s in their prime factorizations having equal powers. 

# 
# Proving that will likely require the post Carl made. 

#In order of output, we have the proportion of times an even number is the denominator;
#the proportion of times an odd number is the denominator;
#the proportion of time the random integers have a higher power of two in the prime
# factorization on the (non-reduced) numerator; an equal power of two in the prime 
# factorizations of the two integers and; a lower power of two in the prime factorization
# of the (non-reduced) denominator.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve tested a mixture of Hein&#8217;s conjecture with my argument to show that while Hein&#8217;s idea that Pr(n=m) = Pr(n &gt; m) = Pr(n  m) = Pr(n &lt; m) = 1/3. Obviously to be precise, everything is assuming a discrete uniform distribution. This is illustrated in my little Maple experiment.</p>
<p>To prove this statement, I suspect we require Carl&#039;s insights. I&#039;d also note, there is something interesting and counter-intuitive happening here viz. the uniform distribution over the integers.</p>
<p>What seems to be interesting is that the factorization is twisting the uniform distribution in a cute way [in response to Vance&#039;s comment by e-mail that looking at the prime factorization causes us to look at an entirely different distribution.</p>
<p>OK, here&#039;s the little experiment in Maple: </p>
<p>with(RandomTools);</p>
<p>TwoPower := proc (N::integer)::integer;<br />
local M, count;<br />
M := N; count := 0;<br />
while modp(M, 2) = 0 do<br />
count := count+1;<br />
M := (1/2)*M<br />
end do;<br />
count end proc;</p>
<p>Simulate := proc (N::integer)::list;<br />
local eCount, oCount, nlCount, nhCount, neCount, tpn, tpd, i, num, deno, fra, dd;<br />
eCount := 0;<br />
oCount := 0;<br />
nlCount := 0;<br />
nhCount := 0;<br />
neCount := 0;<br />
for i to N do<br />
num := RandomTools:-Generate(integer);<br />
deno := RandomTools:-Generate(integer);<br />
fra := num/deno; dd := denom(fra);<br />
if modp(dd, 2) = 0 then<br />
eCount := eCount+1<br />
else oCount := oCount+1<br />
end if;<br />
tpn := TwoPower(num);<br />
tpd := TwoPower(deno);<br />
if tpn &lt; tpd then<br />
nlCount := nlCount+1<br />
elif tpn = tpd then<br />
neCount := neCount+1<br />
else nhCount := nhCount+1<br />
end if end do;<br />
[eCount, oCount, nhCount, neCount, nlCount]<br />
end proc;</p>
<p>evalf((1/10000)*Simulate(10000));<br />
[.3335000000, .6665000000, .3331000000, .3334000000, .3335000000]</p>
<p># The previous example illustrates that for the appropriate measures, fractions with<br />
#even numerators show up 1/3 of the time and illustrates Hein&#039;s conjecture that 1/3 of the<br />
#two integers are chosen with the 2&#039;s in their prime factorizations having equal powers. </p>
<p>#<br />
# Proving that will likely require the post Carl made. </p>
<p>#In order of output, we have the proportion of times an even number is the denominator;<br />
#the proportion of times an odd number is the denominator;<br />
#the proportion of time the random integers have a higher power of two in the prime<br />
# factorization on the (non-reduced) numerator; an equal power of two in the prime<br />
# factorizations of the two integers and; a lower power of two in the prime factorization<br />
# of the (non-reduced) denominator.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carl</title>
		<link>http://artent.net/2012/08/10/13-of-all-fractions-have-an-even-denominator/#comment-72</link>
		<dc:creator><![CDATA[carl]]></dc:creator>
		<pubDate>Sun, 12 Aug 2012 03:20:54 +0000</pubDate>
		<guid isPermaLink="false">http://162.243.213.31/?p=274#comment-72</guid>
		<description><![CDATA[Integers have two natural structures: additive and multiplicative. Each structure is relatively simple by itself, but the interplay between them can be quite deep and complicated. And sometimes the distinction is just easy to overlook.

For example, each structure has it&#039;s own natural &quot;absolute values&quot;. The natural absolute value for the integers considered as an additive group is the standard Archimedean absolute value: $&#124;x&#124; = x$ if $x \ge 0$ and $&#124;x&#124; = -x$ if $x &lt; 0$. There are many natural absolute values for the integers considered as a multiplicative group, however: $&#124;x&#124;_p = 1/p^{v_p(x)}$ for each prime number $p$, where $v_p(x)$ is the highest power of $p$ that divides $x$. ($v_3(9) = 2$ and $v_7(1/49) = -2$, for example.)

Before I continue, a few comments. First, the absolute values $&#124;\cdot&#124;_p$ are called &quot;non-Archimedean&quot; because they satisfy a stronger triangle inequality: $&#124;x + y&#124;_p \le \max(&#124;x&#124;_p, &#124;y&#124;_p)$. Second, the standard Archimedean absolute value is sometimes called the &quot;absolute value at infinity&quot; and denoted $&#124;\cdot&#124;_\infty$. Finally, with these conventions we have the identity (for any rational $x$):
$$\prod_p &#124;x&#124;_p = 1$$
where the product is over all &quot;finite primes&quot; and the &quot;prime at infinity&quot;. Number theorists sometimes joke that real analysis is &quot;number theory at infinity!&quot;

Now, consider the harmonic series
$$\sum_{n \ge 1} {1 \over n} = 1 + {1 \over 2} + {1 \over 3} + \ldots$$
and the identity
$${1 \over 1 - x} = 1 + x + x^2 + \ldots$$
Setting $x = 1/p$ this identity becomes
$${1 \over 1 - 1/p} = 1 + {1 \over p} + {1 \over p^2} + \ldots$$
and then by the Fundamental Theorem of Arithmetic we have
$$\sum_{n \ge 1} {1 \over n} = \prod_{p {\text { prime}}} {1 \over 1 - 1/p}$$
as formal expressions.

To make the expressions converge we can do one of two things. First, we can add an exponent to the denominators, in which case we have
$$\sum_{n \ge 1} {1 \over n^s} = \prod_{p {\text { prime}}} {1 \over 1 - 1/p^s}$$
and both sides converge and are analytic for $\Re s &gt; 1$. This, of course, is the Riemann zeta function $\zeta(s)$, and the product on the right-hand side is why it&#039;s important.

The other way to make the expressions converge is to limit the number of terms (or factors):
$$\sum_{n &lt; N} {1 \over n}$$
and
$$\prod_{p &lt; N} {1 \over 1 - 1/p}$$

It is easy to see that $\sum_{n &lt; N} {1 \over n} \sim \log N$; what about $\prod_{p &lt; N} {1 \over 1 - 1/p}$? Obviously the two expressions aren&#039;t equal, but do we have
$$\sum_{n &lt; N} {1 \over n} \sim \prod_{p &lt; N} {1 \over 1 - 1/p}$$
as $N \to \infty$? The answer turns out to be &#039;no&#039; (although they are of the same order as $N \to \infty$), but the point I&#039;m trying to get to is that the sum is limiting the size of the denominators of the fractions additively, while the product is limiting the size of the denominators (in the multiplied-out sum) multiplicatively, and therefore different fractions are included in each sum.

In essence, we have defined two different measures to measure the size of fractions. And likewise two different distributions for &quot;random&quot; fractions.

Now the punch line: given the first distribution, fractions with even denominators show up $1/3$ of the time; given the second, even denominators show up $1/2$ the time. But since both distributions are natural, and since they are similar to each other, it is easy to miss that they are actually different!]]></description>
		<content:encoded><![CDATA[<p>Integers have two natural structures: additive and multiplicative. Each structure is relatively simple by itself, but the interplay between them can be quite deep and complicated. And sometimes the distinction is just easy to overlook.</p>
<p>For example, each structure has it&#8217;s own natural &#8220;absolute values&#8221;. The natural absolute value for the integers considered as an additive group is the standard Archimedean absolute value: $|x| = x$ if $x \ge 0$ and $|x| = -x$ if $x < 0$. There are many natural absolute values for the integers considered as a multiplicative group, however: $|x|_p = 1/p^{v_p(x)}$ for each prime number $p$, where $v_p(x)$ is the highest power of $p$ that divides $x$. ($v_3(9) = 2$ and $v_7(1/49) = -2$, for example.)</p>
<p>Before I continue, a few comments. First, the absolute values $|\cdot|_p$ are called "non-Archimedean" because they satisfy a stronger triangle inequality: $|x + y|_p \le \max(|x|_p, |y|_p)$. Second, the standard Archimedean absolute value is sometimes called the "absolute value at infinity" and denoted $|\cdot|_\infty$. Finally, with these conventions we have the identity (for any rational $x$):<br />
$$\prod_p |x|_p = 1$$<br />
where the product is over all "finite primes" and the "prime at infinity". Number theorists sometimes joke that real analysis is "number theory at infinity!"</p>
<p>Now, consider the harmonic series<br />
$$\sum_{n \ge 1} {1 \over n} = 1 + {1 \over 2} + {1 \over 3} + \ldots$$<br />
and the identity<br />
$${1 \over 1 - x} = 1 + x + x^2 + \ldots$$<br />
Setting $x = 1/p$ this identity becomes<br />
$${1 \over 1 - 1/p} = 1 + {1 \over p} + {1 \over p^2} + \ldots$$<br />
and then by the Fundamental Theorem of Arithmetic we have<br />
$$\sum_{n \ge 1} {1 \over n} = \prod_{p {\text { prime}}} {1 \over 1 - 1/p}$$<br />
as formal expressions.</p>
<p>To make the expressions converge we can do one of two things. First, we can add an exponent to the denominators, in which case we have<br />
$$\sum_{n \ge 1} {1 \over n^s} = \prod_{p {\text { prime}}} {1 \over 1 - 1/p^s}$$<br />
and both sides converge and are analytic for $\Re s > 1$. This, of course, is the Riemann zeta function $\zeta(s)$, and the product on the right-hand side is why it&#8217;s important.</p>
<p>The other way to make the expressions converge is to limit the number of terms (or factors):<br />
$$\sum_{n < N} {1 \over n}$$<br />
and<br />
$$\prod_{p < N} {1 \over 1 &#8211; 1/p}$$</p>
<p>It is easy to see that $\sum_{n < N} {1 \over n} \sim \log N$; what about $\prod_{p < N} {1 \over 1 &#8211; 1/p}$? Obviously the two expressions aren&#8217;t equal, but do we have<br />
$$\sum_{n < N} {1 \over n} \sim \prod_{p < N} {1 \over 1 &#8211; 1/p}$$<br />
as $N \to \infty$? The answer turns out to be &#8216;no&#8217; (although they are of the same order as $N \to \infty$), but the point I&#8217;m trying to get to is that the sum is limiting the size of the denominators of the fractions additively, while the product is limiting the size of the denominators (in the multiplied-out sum) multiplicatively, and therefore different fractions are included in each sum.</p>
<p>In essence, we have defined two different measures to measure the size of fractions. And likewise two different distributions for &#8220;random&#8221; fractions.</p>
<p>Now the punch line: given the first distribution, fractions with even denominators show up $1/3$ of the time; given the second, even denominators show up $1/2$ the time. But since both distributions are natural, and since they are similar to each other, it is easy to miss that they are actually different!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://artent.net/2012/08/10/13-of-all-fractions-have-an-even-denominator/#comment-71</link>
		<dc:creator><![CDATA[Chris]]></dc:creator>
		<pubDate>Sun, 12 Aug 2012 00:21:22 +0000</pubDate>
		<guid isPermaLink="false">http://162.243.213.31/?p=274#comment-71</guid>
		<description><![CDATA[The $Pr(n  m)$ doesn&#039;t seem to be right in experiment. Here&#039;s my Maple output:

pCount := 0; 
qCount := 0; 
N := 100000; 
for i to N do 
v := Generate(integer(range = 0 .. 10000)); 
u := Generate(integer(range = 0 .. 10000)); 
if v &gt; u then 
pCount := pCount+1 
else 
qCount := qCount+1 
end if 
end do; 
unassign(&#039;i&#039;, &#039;v&#039;, &#039;u&#039;);

evalf(qCount/N);
                          0.4983500000
evalf(pCount/N);
                          0.5016500000

Maybe I&#039;m missing something deeper that everyone else is saying.]]></description>
		<content:encoded><![CDATA[<p>The $Pr(n  m)$ doesn&#8217;t seem to be right in experiment. Here&#8217;s my Maple output:</p>
<p>pCount := 0;<br />
qCount := 0;<br />
N := 100000;<br />
for i to N do<br />
v := Generate(integer(range = 0 .. 10000));<br />
u := Generate(integer(range = 0 .. 10000));<br />
if v &gt; u then<br />
pCount := pCount+1<br />
else<br />
qCount := qCount+1<br />
end if<br />
end do;<br />
unassign(&#8216;i&#8217;, &#8216;v&#8217;, &#8216;u&#8217;);</p>
<p>evalf(qCount/N);<br />
                          0.4983500000<br />
evalf(pCount/N);<br />
                          0.5016500000</p>
<p>Maybe I&#8217;m missing something deeper that everyone else is saying.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vance Faber</title>
		<link>http://artent.net/2012/08/10/13-of-all-fractions-have-an-even-denominator/#comment-70</link>
		<dc:creator><![CDATA[Vance Faber]]></dc:creator>
		<pubDate>Sat, 11 Aug 2012 21:02:31 +0000</pubDate>
		<guid isPermaLink="false">http://162.243.213.31/?p=274#comment-70</guid>
		<description><![CDATA[I just noticed something in the wikipedia article on the zeta function.  If two integers are chosen at random, then the probability that they are coprime is 1/zeta(2).  So it looks like if you want to do numerical experiments on sets of rationals using a random number generator, you can just generate pairs of random integers and throw out a pair if is not coprime.]]></description>
		<content:encoded><![CDATA[<p>I just noticed something in the wikipedia article on the zeta function.  If two integers are chosen at random, then the probability that they are coprime is 1/zeta(2).  So it looks like if you want to do numerical experiments on sets of rationals using a random number generator, you can just generate pairs of random integers and throw out a pair if is not coprime.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

 Served from: artent.net @ 2026-04-22 06:50:41 by W3 Total Cache -->