In this post, we investigate a curious question: say we are given and
, where
are primes. Can we calculate
in terms of just
and
? (Maybe assuming
.)
We have , so
.
Conjecture. If then
are
times some pair of Bezout coefficients for
. (The converse is obvious — if
are
times some pair of Bezout coefficients then
.)
Attempt. Note that it suffices to show the result assuming that : if
is not necessarily 1, then calling
, we know that
must be a multiple of
in order for
to hold. Divide out both sides of the equation by
to yield
where
. This means that
, so we have that
are
times some pair
of Bezout coefficients for
. But this pair is also a pair of Bezout coefficients for
(if
then
), so
are
times some pair of Bezout coefficients for
, as desired.
Thus, assume ; we want to show that
is
times some pair of Bezout coefficients for
. If
, then try to show a contradiction or reduction?
Actually, it is possible for but
:
Let’s consider this case: . Must
be
times some pair of Bezout coefficients for
? We have
. This means that
, so
, and
. Thus, the possibilities are
. Conversely, does this always work? We have
. So that always works. Now, is it true that for all pairs
, that this is 6 times a pair of Bezout coefficients for
? No, it’s not: simply take
. Then, the pair is
, which is not 6 times anything. Or any
that’s not divisible by 3 would work: take
, yielding the pair
, which is definitely not 6 times anything. So my conjecture is false. (It doesn’t have the “lowest possible generation.”)
If we can find a formula for in terms of
and
, then we can use this to calculate
mod any squarefree number. Actually, it seems like we could find a formula with a similar approach for
in terms of
and
if
, which then could allow us to calculate
in terms of
for each
. If we can somehow (probably separately) calculate
in terms of
and
, even for a specific form of
, this would allow us to compute
for all
.
—
EDIT (07/04/2023): We can clearly show this to be impossible with some simple counterexamples, even if . For example, let
, then consider
; from these examples,
can’t possibly be a function of just
and
.
