Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

From listening comes wisdom and from speaking repentance.


interests / rec.puzzles / integers (x,y) ---such that--- ( 1/x + 1/y ) = 1/22

SubjectAuthor
* integers (x,y) ---such that--- ( 1/x + 1/y ) = 1/22henh...@gmail.com
`* Re: integers (x,y) ---such that--- ( 1/x + 1/y ) = 1/22Edward Murphy
 `* Re: integers (x,y) ---such that--- ( 1/x + 1/y ) = 1/22henh...@gmail.com
  `* Re: integers (x,y) ---such that--- ( 1/x + 1/y ) = 1/22Edward Murphy
   `- Re: integers (x,y) ---such that--- ( 1/x + 1/y ) = 1/22Jonathan Dushoff

1
integers (x,y) ---such that--- ( 1/x + 1/y ) = 1/22

<81dc1d2f-aaf3-41c8-89ce-651c2e3979cfn@googlegroups.com>

  copy mid

https://novabbs.com/interests/article-flat.php?id=457&group=rec.puzzles#457

  copy link   Newsgroups: rec.puzzles
X-Received: by 2002:a05:6214:21a6:b0:499:2e7:d7fe with SMTP id t6-20020a05621421a600b0049902e7d7femr6372602qvc.63.1661831627186;
Mon, 29 Aug 2022 20:53:47 -0700 (PDT)
X-Received: by 2002:a0c:ab07:0:b0:474:9c36:413e with SMTP id
h7-20020a0cab07000000b004749c36413emr13585805qvb.56.1661831627027; Mon, 29
Aug 2022 20:53:47 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: rec.puzzles
Date: Mon, 29 Aug 2022 20:53:46 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2601:648:8600:e2a0:0:0:0:e763;
posting-account=YjTkGAoAAAA4_fbAISfvtIqrYbghMeBx
NNTP-Posting-Host: 2601:648:8600:e2a0:0:0:0:e763
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <81dc1d2f-aaf3-41c8-89ce-651c2e3979cfn@googlegroups.com>
Subject: integers (x,y) ---such that--- ( 1/x + 1/y ) = 1/22
From: henha...@gmail.com (henh...@gmail.com)
Injection-Date: Tue, 30 Aug 2022 03:53:47 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1282
 by: henh...@gmail.com - Tue, 30 Aug 2022 03:53 UTC

------ pls wait 3+ days (Longer if you find it easy or trivial) before posting answers or hints.

For what integers (x,y)
is 1/22
expressible as ( 1/x + 1/y ) ?

Re: integers (x,y) ---such that--- ( 1/x + 1/y ) = 1/22

<tf641g$1ch8$1@gioia.aioe.org>

  copy mid

https://novabbs.com/interests/article-flat.php?id=468&group=rec.puzzles#468

  copy link   Newsgroups: rec.puzzles
Path: i2pn2.org!i2pn.org!aioe.org!SABVAYcHOklaNK/u1FQzwA.user.46.165.242.75.POSTED!not-for-mail
From: emurph...@zoho.com (Edward Murphy)
Newsgroups: rec.puzzles
Subject: Re: integers (x,y) ---such that--- ( 1/x + 1/y ) = 1/22
Date: Mon, 5 Sep 2022 17:25:13 -0700
Organization: Aioe.org NNTP Server
Message-ID: <tf641g$1ch8$1@gioia.aioe.org>
References: <81dc1d2f-aaf3-41c8-89ce-651c2e3979cfn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="45608"; posting-host="SABVAYcHOklaNK/u1FQzwA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Edward Murphy - Tue, 6 Sep 2022 00:25 UTC

On 8/29/2022 8:53 PM, henh...@gmail.com wrote:

> For what integers (x,y)
> is 1/22
> expressible as ( 1/x + 1/y ) ?

[spoiler space]

Both x and y must be non-zero. (If x is zero, then 1/x is infinitely
large, so 1/x + 1/y is also infinitely large. Similar for y.)

At least one of x, y must be positive. (If both are negative, then 1/x
and 1/y are also both negative, so 1/x + 1/y is also negative.)

Without loss of generality, assume that x > 0 and x >= y. (Each
resulting pair can be swapped.) Then consider:

1/22 = 1/x + 1/y
xy = 22y + 22x
(x - 22)y = 22x
y = 22x/(x - 22)

Now we can just look at x = 1, 2, 3, etc. and see which ones result in
y being an integer:

11, -22 -> 22/(22*11) - 11/(22*11)
18, -99 -> 22/(22*18) - 4/(22*18)
20, -220 -> 22/(22*20) - 2/(22*20)
21, -462 -> 22/(22*21) - 1/(22*21)

23, 506 -> 22/(22*23) + 1/(22*23)
24, 264 -> 22/(22*24) + 2/(22*24)
26, 143 -> 22/(22*26) + 4/(22*26)
33, 66 -> 22/(22*33) + 11/(22*33)
44, 44 -> 22/(22*44) + 22/(22*44)

Based on the right side, we can reverse-engineer a general pattern of

1/22 = 22/(22*x) + (x-22)/(22*x)

Now 22/(22*x) reduces to 1/x, leaving

1/y = (x-22)/(22*x)

y = (22*x)/(x-22)

i.e. we need 22*x to be divisible by x-22 (or, equivalently, by the
absolute value of x-22). So any prime factors of x-22 that aren't
covered by the prime factors of 22 (those being 2 and 11) must
instead be covered by the prime factors of x. But if something is a
prime factor of both x-22 and x, then it must also be a prime factor
of their difference (22), so again 2 or 11. And indeed this is what
we see play out above; the valid values of y (not including swapping
pairs around) are a subset of

(+1 or -1) * 2^a (0 <= a <= 2) * 11^b (0 <= b <= 2)

Re: integers (x,y) ---such that--- ( 1/x + 1/y ) = 1/22

<1d57a631-335e-40c8-97d1-6be3e54c637dn@googlegroups.com>

  copy mid

https://novabbs.com/interests/article-flat.php?id=470&group=rec.puzzles#470

  copy link   Newsgroups: rec.puzzles
X-Received: by 2002:a05:622a:389:b0:342:f779:ded8 with SMTP id j9-20020a05622a038900b00342f779ded8mr41332895qtx.111.1662425978316;
Mon, 05 Sep 2022 17:59:38 -0700 (PDT)
X-Received: by 2002:ac8:7fc9:0:b0:344:5620:862a with SMTP id
b9-20020ac87fc9000000b003445620862amr43115130qtk.397.1662425978161; Mon, 05
Sep 2022 17:59:38 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: rec.puzzles
Date: Mon, 5 Sep 2022 17:59:37 -0700 (PDT)
In-Reply-To: <tf641g$1ch8$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:648:8601:2db0:0:0:0:88c;
posting-account=YjTkGAoAAAA4_fbAISfvtIqrYbghMeBx
NNTP-Posting-Host: 2601:648:8601:2db0:0:0:0:88c
References: <81dc1d2f-aaf3-41c8-89ce-651c2e3979cfn@googlegroups.com> <tf641g$1ch8$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1d57a631-335e-40c8-97d1-6be3e54c637dn@googlegroups.com>
Subject: Re: integers (x,y) ---such that--- ( 1/x + 1/y ) = 1/22
From: henha...@gmail.com (henh...@gmail.com)
Injection-Date: Tue, 06 Sep 2022 00:59:38 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 79
 by: henh...@gmail.com - Tue, 6 Sep 2022 00:59 UTC

On Monday, September 5, 2022 at 5:25:24 PM UTC-7, Edward Murphy wrote:
> On 8/29/2022 8:53 PM, henh...@gmail.com wrote:
>

> > For what integers (x,y)
> > is 1/22 expressible as ( 1/x + 1/y ) ?

> [spoiler space]
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Both x and y must be non-zero. (If x is zero, then 1/x is infinitely
> large, so 1/x + 1/y is also infinitely large. Similar for y.)
>
> At least one of x, y must be positive. (If both are negative, then 1/x
> and 1/y are also both negative, so 1/x + 1/y is also negative.)
>
> Without loss of generality, assume that x > 0 and x >= y. (Each
> resulting pair can be swapped.) Then consider:
>
> 1/22 = 1/x + 1/y
> xy = 22y + 22x
> (x - 22)y = 22x
> y = 22x/(x - 22)
>
> Now we can just look at x = 1, 2, 3, etc. and see which ones result in
> y being an integer:
>
> 11, -22 -> 22/(22*11) - 11/(22*11)
> 18, -99 -> 22/(22*18) - 4/(22*18)
> 20, -220 -> 22/(22*20) - 2/(22*20)
> 21, -462 -> 22/(22*21) - 1/(22*21)
>
> 23, 506 -> 22/(22*23) + 1/(22*23)
> 24, 264 -> 22/(22*24) + 2/(22*24)
> 26, 143 -> 22/(22*26) + 4/(22*26)
> 33, 66 -> 22/(22*33) + 11/(22*33)
> 44, 44 -> 22/(22*44) + 22/(22*44)

slightly diff. method, but i got the same 9 (=5+4) answer-pairs.

note that 22 is a product of 2 primes

i was wondering if we replace the 22 with another product of 2 primes
we'd get the same pattern of 9 (=5+4) answer-pairs.

Re: integers (x,y) ---such that--- ( 1/x + 1/y ) = 1/22

<tflvgl$1tvj$1@gioia.aioe.org>

  copy mid

https://novabbs.com/interests/article-flat.php?id=474&group=rec.puzzles#474

  copy link   Newsgroups: rec.puzzles
Path: i2pn2.org!i2pn.org!aioe.org!SABVAYcHOklaNK/u1FQzwA.user.46.165.242.75.POSTED!not-for-mail
From: emurph...@zoho.com (Edward Murphy)
Newsgroups: rec.puzzles
Subject: Re: integers (x,y) ---such that--- ( 1/x + 1/y ) = 1/22
Date: Sun, 11 Sep 2022 17:46:11 -0700
Organization: Aioe.org NNTP Server
Message-ID: <tflvgl$1tvj$1@gioia.aioe.org>
References: <81dc1d2f-aaf3-41c8-89ce-651c2e3979cfn@googlegroups.com>
<tf641g$1ch8$1@gioia.aioe.org>
<1d57a631-335e-40c8-97d1-6be3e54c637dn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="63475"; posting-host="SABVAYcHOklaNK/u1FQzwA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Edward Murphy - Mon, 12 Sep 2022 00:46 UTC

On 9/5/2022 5:59 PM, henh...@gmail.com wrote:

> note that 22 is a product of 2 primes
>
> i was wondering if we replace the 22 with another product of 2 primes
> we'd get the same pattern of 9 (=5+4) answer-pairs.

I think we would.

Let z = x - 22, then

y = 22(z + 22)/z
= 22z/z + (22^2)/z
= 22 + (22^2)/z

So the potential solutions are those where z is a factor of
22^2 = 2^2 * 11^2
or else the additive inverse of such a factor.

Similarly, if we replace 22 with the product of any two distinct
primes p and q, then x - pq must be of the form
(-1)^a * p^b * q^c
where a is 0 or 1, b is 0 or 1 or 2, and c is 0 or 1 or 2.

Going back to 22 as a specific example, the possible values of z are
1, 2, 4, -1, -2, -4,
11, 22, 44, -11, -22, -44,
121, 242, 484, -121, -242, -484

Arranging these in ascending order and translating back to x, we get:

(z -> x, y)

z <= -22 leads to x <= 0 (invalid)

-11 -> 11, -22
-4 -> 18, -99
-2 -> 20, -220
-1 -> 21, -462

+1 -> 23, 506
+2 -> 24, 264
+4 -> 26, 143
+11 -> 33, 66
+22 -> 44, 44

z > +22 leads to x > y (swap of one of the above, or invalid)

In general, I think the valid answers always end up being the
following (without loss of generality, let p < q):

y = pqx/(x - pq)

z = x - pq

(z < -pq leads to x < 0, invalid. -pq, -ppq, -qq, -pqq, and -ppqq
all fall into this category.)

-q -> q, -pq
-p^2
-p
-1

+1
+p
+p^2
+q
+pq -> 2pq, 2pq

(z > +pq is a swap of one of the others, or invalid. ppq, qq, pqq, and
ppqq all fall into this category.)

The only part of the ascending sequence that varies is whether p^2 or q
is larger (and thus whether -p^2 or -q is smaller). Either way, pq is
still smaller than either p^2 or q (and -pq is smaller than either -p^2
or -q).

Re: integers (x,y) ---such that--- ( 1/x + 1/y ) = 1/22

<8d6c77fd-7b5a-47b1-aa42-91a358659f5cn@googlegroups.com>

  copy mid

https://novabbs.com/interests/article-flat.php?id=478&group=rec.puzzles#478

  copy link   Newsgroups: rec.puzzles
X-Received: by 2002:a05:622a:1986:b0:343:225d:f9e1 with SMTP id u6-20020a05622a198600b00343225df9e1mr24274446qtc.651.1662998667944;
Mon, 12 Sep 2022 09:04:27 -0700 (PDT)
X-Received: by 2002:ae9:e910:0:b0:6cd:a22f:38f1 with SMTP id
x16-20020ae9e910000000b006cda22f38f1mr11007269qkf.397.1662998667749; Mon, 12
Sep 2022 09:04:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: rec.puzzles
Date: Mon, 12 Sep 2022 09:04:27 -0700 (PDT)
In-Reply-To: <tflvgl$1tvj$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=130.113.248.135; posting-account=Z3wesAoAAADgwKkKPL0X98kstUoD_GnZ
NNTP-Posting-Host: 130.113.248.135
References: <81dc1d2f-aaf3-41c8-89ce-651c2e3979cfn@googlegroups.com>
<tf641g$1ch8$1@gioia.aioe.org> <1d57a631-335e-40c8-97d1-6be3e54c637dn@googlegroups.com>
<tflvgl$1tvj$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8d6c77fd-7b5a-47b1-aa42-91a358659f5cn@googlegroups.com>
Subject: Re: integers (x,y) ---such that--- ( 1/x + 1/y ) = 1/22
From: jdush...@gmail.com (Jonathan Dushoff)
Injection-Date: Mon, 12 Sep 2022 16:04:27 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4177
 by: Jonathan Dushoff - Mon, 12 Sep 2022 16:04 UTC

More generally, if we can factor n = Product(p_i^a_i), then the number of decompositions is Product(2a_i+1).

We make two fractions as follows:

For each prime factor p_i, we put up to a_i factors in our first fraction OR in our second fraction, OR just leave it out (2a_i+1 possibilities). To avoid duplication, we agree to subtract fractions if the first one is larger, and add them if it's not. Since the product of our denominators divides n, the sum (or difference) can be written as x/n, and we can divide our expression by x to get an answer.

We can map any solution back to the original set of fractions by simply removing any common factors between the two denominators.

Jonathan

On Sunday, September 11, 2022 at 8:46:16 PM UTC-4, Edward Murphy wrote:
> On 9/5/2022 5:59 PM, henh...@gmail.com wrote:

> > note that 22 is a product of 2 primes

> > i was wondering if we replace the 22 with another product of 2 primes
> > we'd get the same pattern of 9 (=5+4) answer-pairs.
> I think we would.

> Let z = x - 22, then

> y = 22(z + 22)/z
> = 22z/z + (22^2)/z
> = 22 + (22^2)/z

> So the potential solutions are those where z is a factor of
> 22^2 = 2^2 * 11^2
> or else the additive inverse of such a factor.

> Similarly, if we replace 22 with the product of any two distinct
> primes p and q, then x - pq must be of the form
> (-1)^a * p^b * q^c
> where a is 0 or 1, b is 0 or 1 or 2, and c is 0 or 1 or 2.

> Going back to 22 as a specific example, the possible values of z are
> 1, 2, 4, -1, -2, -4,
> 11, 22, 44, -11, -22, -44,
> 121, 242, 484, -121, -242, -484

> Arranging these in ascending order and translating back to x, we get:

> (z -> x, y)

> z <= -22 leads to x <= 0 (invalid)

> -11 -> 11, -22
> -4 -> 18, -99
> -2 -> 20, -220
> -1 -> 21, -462

> +1 -> 23, 506
> +2 -> 24, 264
> +4 -> 26, 143
> +11 -> 33, 66
> +22 -> 44, 44

> z > +22 leads to x > y (swap of one of the above, or invalid)

> In general, I think the valid answers always end up being the
> following (without loss of generality, let p < q):

> y = pqx/(x - pq)

> z = x - pq

> (z < -pq leads to x < 0, invalid. -pq, -ppq, -qq, -pqq, and -ppqq
> all fall into this category.)

> -q -> q, -pq
> -p^2
> -p
> -1

> +1
> +p
> +p^2
> +q
> +pq -> 2pq, 2pq

> (z > +pq is a swap of one of the others, or invalid. ppq, qq, pqq, and
> ppqq all fall into this category.)

> The only part of the ascending sequence that varies is whether p^2 or q
> is larger (and thus whether -p^2 or -q is smaller). Either way, pq is
> still smaller than either p^2 or q (and -pq is smaller than either -p^2
> or -q).

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor