Check whether $k in [0, p]$ in the equation: $a^k + b^k equiv c^kmodp$ has no solutions under the following conditions
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
Check whether the equation: $a^k + b^k equiv c^kmodp$ has no solutions
where,
$ p $ is a prime $ > 3 $,
$k in [0, p]$
and the condition $ 0 < a, b, c < p$ holds.
Can we determine all values of $k in [1, p] $ for which solution doesn't exist?
Or I rephrase - for any $k in [1, p]$, how to tell if any solution exists or not? Thanks.
Some Observations:
We are considering $p > 3$, so $(p - 1)$ is always even. We know that there is at least one such $k$ for which solution doesn't exist ($fracp - 12$).
Now, there are some interesting observation/pattern in such values of $k$ (for which there is no solution).
If a solution doesn't exist for some $k in [0, p-1)$ , then there is no solution for all $k + n dot (p - 1), n in W$.
If $fracp - 12 in Prime$, then there in only one such $k$ i.e. $fracp-12$.
If $fracp-12 notin Prime$, then there are/maybe other such $k$. Now, if there is such $k < fracp-12$ for which there is no solution, then $k | (p - 1)$, i.e. $p-1$ is divisible by $k$. In other words, if $k$ and $p-1$ are co-prime, then a solution always exists.
- Following from previous point, then all such $in [k, 2k, 3k, .. (p-1)]$ don't have any solution.
- Some examples,
- $p = 11$:
$fracp-12 = 5 in Prime$, so only one such k. $5$. (Note we can generate all $k$s as $0, 5, 10, 15, 20, ...$.) - $p = 13$:
$fracp-12 = 6 notin Prime$, other such $k < fracp-12$ are 3 and 4. All such $k in [0, p-1]$ are $0, 3, 4, 6, 8, 9, 12$. - $p = 47$:
$fracp-12 = 23 in Prime$, so only one such $k = 23$. $0, 23, 46$. - $p = 67$:
such $k$s are $0, 22, 33, 44, 66$ - $p = 29$:
such $k$s are $0, 7, 14, 21, 28$
- $p = 11$:
number-theory elementary-number-theory modular-arithmetic systems-of-equations diophantine-equations
add a comment |Â
up vote
2
down vote
favorite
Check whether the equation: $a^k + b^k equiv c^kmodp$ has no solutions
where,
$ p $ is a prime $ > 3 $,
$k in [0, p]$
and the condition $ 0 < a, b, c < p$ holds.
Can we determine all values of $k in [1, p] $ for which solution doesn't exist?
Or I rephrase - for any $k in [1, p]$, how to tell if any solution exists or not? Thanks.
Some Observations:
We are considering $p > 3$, so $(p - 1)$ is always even. We know that there is at least one such $k$ for which solution doesn't exist ($fracp - 12$).
Now, there are some interesting observation/pattern in such values of $k$ (for which there is no solution).
If a solution doesn't exist for some $k in [0, p-1)$ , then there is no solution for all $k + n dot (p - 1), n in W$.
If $fracp - 12 in Prime$, then there in only one such $k$ i.e. $fracp-12$.
If $fracp-12 notin Prime$, then there are/maybe other such $k$. Now, if there is such $k < fracp-12$ for which there is no solution, then $k | (p - 1)$, i.e. $p-1$ is divisible by $k$. In other words, if $k$ and $p-1$ are co-prime, then a solution always exists.
- Following from previous point, then all such $in [k, 2k, 3k, .. (p-1)]$ don't have any solution.
- Some examples,
- $p = 11$:
$fracp-12 = 5 in Prime$, so only one such k. $5$. (Note we can generate all $k$s as $0, 5, 10, 15, 20, ...$.) - $p = 13$:
$fracp-12 = 6 notin Prime$, other such $k < fracp-12$ are 3 and 4. All such $k in [0, p-1]$ are $0, 3, 4, 6, 8, 9, 12$. - $p = 47$:
$fracp-12 = 23 in Prime$, so only one such $k = 23$. $0, 23, 46$. - $p = 67$:
such $k$s are $0, 22, 33, 44, 66$ - $p = 29$:
such $k$s are $0, 7, 14, 21, 28$
- $p = 11$:
number-theory elementary-number-theory modular-arithmetic systems-of-equations diophantine-equations
2
See also this question·.
– Dietrich Burde
Jul 24 at 14:56
2
@DietrichBurde that question was asked me. Please see that this question is different from the previous :)
– Rahul Goswami
Jul 24 at 14:57
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
Check whether the equation: $a^k + b^k equiv c^kmodp$ has no solutions
where,
$ p $ is a prime $ > 3 $,
$k in [0, p]$
and the condition $ 0 < a, b, c < p$ holds.
Can we determine all values of $k in [1, p] $ for which solution doesn't exist?
Or I rephrase - for any $k in [1, p]$, how to tell if any solution exists or not? Thanks.
Some Observations:
We are considering $p > 3$, so $(p - 1)$ is always even. We know that there is at least one such $k$ for which solution doesn't exist ($fracp - 12$).
Now, there are some interesting observation/pattern in such values of $k$ (for which there is no solution).
If a solution doesn't exist for some $k in [0, p-1)$ , then there is no solution for all $k + n dot (p - 1), n in W$.
If $fracp - 12 in Prime$, then there in only one such $k$ i.e. $fracp-12$.
If $fracp-12 notin Prime$, then there are/maybe other such $k$. Now, if there is such $k < fracp-12$ for which there is no solution, then $k | (p - 1)$, i.e. $p-1$ is divisible by $k$. In other words, if $k$ and $p-1$ are co-prime, then a solution always exists.
- Following from previous point, then all such $in [k, 2k, 3k, .. (p-1)]$ don't have any solution.
- Some examples,
- $p = 11$:
$fracp-12 = 5 in Prime$, so only one such k. $5$. (Note we can generate all $k$s as $0, 5, 10, 15, 20, ...$.) - $p = 13$:
$fracp-12 = 6 notin Prime$, other such $k < fracp-12$ are 3 and 4. All such $k in [0, p-1]$ are $0, 3, 4, 6, 8, 9, 12$. - $p = 47$:
$fracp-12 = 23 in Prime$, so only one such $k = 23$. $0, 23, 46$. - $p = 67$:
such $k$s are $0, 22, 33, 44, 66$ - $p = 29$:
such $k$s are $0, 7, 14, 21, 28$
- $p = 11$:
number-theory elementary-number-theory modular-arithmetic systems-of-equations diophantine-equations
Check whether the equation: $a^k + b^k equiv c^kmodp$ has no solutions
where,
$ p $ is a prime $ > 3 $,
$k in [0, p]$
and the condition $ 0 < a, b, c < p$ holds.
Can we determine all values of $k in [1, p] $ for which solution doesn't exist?
Or I rephrase - for any $k in [1, p]$, how to tell if any solution exists or not? Thanks.
Some Observations:
We are considering $p > 3$, so $(p - 1)$ is always even. We know that there is at least one such $k$ for which solution doesn't exist ($fracp - 12$).
Now, there are some interesting observation/pattern in such values of $k$ (for which there is no solution).
If a solution doesn't exist for some $k in [0, p-1)$ , then there is no solution for all $k + n dot (p - 1), n in W$.
If $fracp - 12 in Prime$, then there in only one such $k$ i.e. $fracp-12$.
If $fracp-12 notin Prime$, then there are/maybe other such $k$. Now, if there is such $k < fracp-12$ for which there is no solution, then $k | (p - 1)$, i.e. $p-1$ is divisible by $k$. In other words, if $k$ and $p-1$ are co-prime, then a solution always exists.
- Following from previous point, then all such $in [k, 2k, 3k, .. (p-1)]$ don't have any solution.
- Some examples,
- $p = 11$:
$fracp-12 = 5 in Prime$, so only one such k. $5$. (Note we can generate all $k$s as $0, 5, 10, 15, 20, ...$.) - $p = 13$:
$fracp-12 = 6 notin Prime$, other such $k < fracp-12$ are 3 and 4. All such $k in [0, p-1]$ are $0, 3, 4, 6, 8, 9, 12$. - $p = 47$:
$fracp-12 = 23 in Prime$, so only one such $k = 23$. $0, 23, 46$. - $p = 67$:
such $k$s are $0, 22, 33, 44, 66$ - $p = 29$:
such $k$s are $0, 7, 14, 21, 28$
- $p = 11$:
number-theory elementary-number-theory modular-arithmetic systems-of-equations diophantine-equations
edited Jul 25 at 19:53
asked Jul 24 at 14:51
Rahul Goswami
319114
319114
2
See also this question·.
– Dietrich Burde
Jul 24 at 14:56
2
@DietrichBurde that question was asked me. Please see that this question is different from the previous :)
– Rahul Goswami
Jul 24 at 14:57
add a comment |Â
2
See also this question·.
– Dietrich Burde
Jul 24 at 14:56
2
@DietrichBurde that question was asked me. Please see that this question is different from the previous :)
– Rahul Goswami
Jul 24 at 14:57
2
2
See also this question·.
– Dietrich Burde
Jul 24 at 14:56
See also this question·.
– Dietrich Burde
Jul 24 at 14:56
2
2
@DietrichBurde that question was asked me. Please see that this question is different from the previous :)
– Rahul Goswami
Jul 24 at 14:57
@DietrichBurde that question was asked me. Please see that this question is different from the previous :)
– Rahul Goswami
Jul 24 at 14:57
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Write $k = k'd$ where $k' = gcd(k,p-1)$ is prime to $p-1$; then $xmapsto x^d$ is a bijection of $mathbbF_p$, and thus writing $X' = X^d, Y'=Y^d, Z'=Z^d$, we see that the equation with $k$ has the same number of solutions as the equation with $k'$. Hence let us assume that $k$ divides $p-1$.
Your question is closely related to counting the number points on the projective Fermat curve $X^k + Y^k = Z^k$ over $mathbbF_p$. That is, we count the solutions for which $(X,Y,Z) neq (0,0,0)$ and we identify any two solutions of the form $(X,Y,Z)$ and $(lambda X,lambda Y,lambda Z)$ where $lambda in mathbbF_p^times$. More precisely, the number of projective solutions is simply $(p-1)$ times the number of solutions to your equation when $(X,Y,Z) neq (0,0,0)$ (you also prohibit solutions of the form where one of $X,Y$ or $Z$ vanishes, but it is easy to count how many solutions are there of this form; I will leave this calculation to you).
Let us focus on counting the number of projective solutions then. Let us denote it by $N_p$. This question is very classical, and it is known how to present the number of solutions (when $k$ divides $p-1$) using certain Jacobi sums, but I doubt this will be of much use to you here. However, as a direct consequence of the use of the Jacobi sums, one obtains the very nice Hasse-Weil estimate $$|N_p - (p+1)| leq (k-1)(k-2)sqrtp$$
In particular, for any given $k$ there are many projective solutions (and hence a solution in your case) for $p$ sufficiently large.
While this does not give a complete answer to your question, note that the complete formula with Jacobi sums will tell you exactly how many solutions there are, but since they are sums of convolutions of characters, I think their behaviour can be quite random. Thus for $k$ large relative to $p$ (say $kapprox p^1/4$) I think it will be hard to say something general.
For more about the Jacobi sums and the Fermat curve, see the nice treatment in section 6.1 of the book "Introduction to Cyclotomic Fields" by Lawrence Washington, where all the claims I mentioned here are proved.
Edit: let me be a bit more precise. Let us write the number of solutions for your equation as $M_p$. You are asking when $M_p > 0$. We have the easy estimate $$M_p geq (p-1)(N_p - 3k),$$ where the $-3k$ comes from the need to disregard solutions of the form $(X,Y,0),(X,0,Z),(0,Y,Z)$. So whenever $N_p >3k$, there is a solution. When does this happen? Well, using the Hasse-Weil bound, we have $$N_p -3k geq p+1 -3k -(k-1)(k-2)sqrtp.$$ If my high school algebra does not fail me, this inequality is achieved whenever (say) $k < frac12p^1/4$, at least if $p>10$. You may check it for yourself (one should also be able to achieve a slightly better bound; in any case the best asymptotic bound is $k<< p^1/4$).
Of course, in general one has to replace $k$ by $gcd(k,p-1)$. Therefore, this method shows that you have a solution whenever $gcd(k,p-1) < frac12p^1/4$ (which is in most cases a much weaker inequality than $k < frac12p^1/4$).
Hello @GalPorat, thank you for your detailed answer! But I think I wasn't clear to you in asking the question. Here, I am only interested in knowing for how many $k$s does the solution doesn't exist? I mean I don't want the number of solutions for any $k$ (I think this will make things more complex), just yes or no whether the solution exists. The examples I have produced were generated by me by a Python script, but it is not feasible for large primes. Because currently, I am checking every possible values of $a, b, c$ and see if there is a solution!
– Rahul Goswami
Jul 24 at 16:17
And another important obeservation I noticed in all primes < 100, is that - Whenever a solution exists, the $a$ in the equation is always equal to $1$. So, maybe we can try solving this same problem for $1 + b^k equiv c^k mod p$. Maybe I should add this the question description?
– Rahul Goswami
Jul 24 at 16:21
Also, can you briefly explain what $mathbbF_p$ means here?
– Rahul Goswami
Jul 24 at 16:23
@RahulGoswami I edited my answer slightly.
– Gal Porat
Jul 24 at 17:00
@RahulGoswami $mathbbF_p$ is the field with $p$ elements, aka $mathbbZ/pmathbbZ$ or sometimes $mathbbZ_p$.
– Gal Porat
Jul 24 at 17:03
 |Â
show 4 more comments
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Write $k = k'd$ where $k' = gcd(k,p-1)$ is prime to $p-1$; then $xmapsto x^d$ is a bijection of $mathbbF_p$, and thus writing $X' = X^d, Y'=Y^d, Z'=Z^d$, we see that the equation with $k$ has the same number of solutions as the equation with $k'$. Hence let us assume that $k$ divides $p-1$.
Your question is closely related to counting the number points on the projective Fermat curve $X^k + Y^k = Z^k$ over $mathbbF_p$. That is, we count the solutions for which $(X,Y,Z) neq (0,0,0)$ and we identify any two solutions of the form $(X,Y,Z)$ and $(lambda X,lambda Y,lambda Z)$ where $lambda in mathbbF_p^times$. More precisely, the number of projective solutions is simply $(p-1)$ times the number of solutions to your equation when $(X,Y,Z) neq (0,0,0)$ (you also prohibit solutions of the form where one of $X,Y$ or $Z$ vanishes, but it is easy to count how many solutions are there of this form; I will leave this calculation to you).
Let us focus on counting the number of projective solutions then. Let us denote it by $N_p$. This question is very classical, and it is known how to present the number of solutions (when $k$ divides $p-1$) using certain Jacobi sums, but I doubt this will be of much use to you here. However, as a direct consequence of the use of the Jacobi sums, one obtains the very nice Hasse-Weil estimate $$|N_p - (p+1)| leq (k-1)(k-2)sqrtp$$
In particular, for any given $k$ there are many projective solutions (and hence a solution in your case) for $p$ sufficiently large.
While this does not give a complete answer to your question, note that the complete formula with Jacobi sums will tell you exactly how many solutions there are, but since they are sums of convolutions of characters, I think their behaviour can be quite random. Thus for $k$ large relative to $p$ (say $kapprox p^1/4$) I think it will be hard to say something general.
For more about the Jacobi sums and the Fermat curve, see the nice treatment in section 6.1 of the book "Introduction to Cyclotomic Fields" by Lawrence Washington, where all the claims I mentioned here are proved.
Edit: let me be a bit more precise. Let us write the number of solutions for your equation as $M_p$. You are asking when $M_p > 0$. We have the easy estimate $$M_p geq (p-1)(N_p - 3k),$$ where the $-3k$ comes from the need to disregard solutions of the form $(X,Y,0),(X,0,Z),(0,Y,Z)$. So whenever $N_p >3k$, there is a solution. When does this happen? Well, using the Hasse-Weil bound, we have $$N_p -3k geq p+1 -3k -(k-1)(k-2)sqrtp.$$ If my high school algebra does not fail me, this inequality is achieved whenever (say) $k < frac12p^1/4$, at least if $p>10$. You may check it for yourself (one should also be able to achieve a slightly better bound; in any case the best asymptotic bound is $k<< p^1/4$).
Of course, in general one has to replace $k$ by $gcd(k,p-1)$. Therefore, this method shows that you have a solution whenever $gcd(k,p-1) < frac12p^1/4$ (which is in most cases a much weaker inequality than $k < frac12p^1/4$).
Hello @GalPorat, thank you for your detailed answer! But I think I wasn't clear to you in asking the question. Here, I am only interested in knowing for how many $k$s does the solution doesn't exist? I mean I don't want the number of solutions for any $k$ (I think this will make things more complex), just yes or no whether the solution exists. The examples I have produced were generated by me by a Python script, but it is not feasible for large primes. Because currently, I am checking every possible values of $a, b, c$ and see if there is a solution!
– Rahul Goswami
Jul 24 at 16:17
And another important obeservation I noticed in all primes < 100, is that - Whenever a solution exists, the $a$ in the equation is always equal to $1$. So, maybe we can try solving this same problem for $1 + b^k equiv c^k mod p$. Maybe I should add this the question description?
– Rahul Goswami
Jul 24 at 16:21
Also, can you briefly explain what $mathbbF_p$ means here?
– Rahul Goswami
Jul 24 at 16:23
@RahulGoswami I edited my answer slightly.
– Gal Porat
Jul 24 at 17:00
@RahulGoswami $mathbbF_p$ is the field with $p$ elements, aka $mathbbZ/pmathbbZ$ or sometimes $mathbbZ_p$.
– Gal Porat
Jul 24 at 17:03
 |Â
show 4 more comments
up vote
1
down vote
accepted
Write $k = k'd$ where $k' = gcd(k,p-1)$ is prime to $p-1$; then $xmapsto x^d$ is a bijection of $mathbbF_p$, and thus writing $X' = X^d, Y'=Y^d, Z'=Z^d$, we see that the equation with $k$ has the same number of solutions as the equation with $k'$. Hence let us assume that $k$ divides $p-1$.
Your question is closely related to counting the number points on the projective Fermat curve $X^k + Y^k = Z^k$ over $mathbbF_p$. That is, we count the solutions for which $(X,Y,Z) neq (0,0,0)$ and we identify any two solutions of the form $(X,Y,Z)$ and $(lambda X,lambda Y,lambda Z)$ where $lambda in mathbbF_p^times$. More precisely, the number of projective solutions is simply $(p-1)$ times the number of solutions to your equation when $(X,Y,Z) neq (0,0,0)$ (you also prohibit solutions of the form where one of $X,Y$ or $Z$ vanishes, but it is easy to count how many solutions are there of this form; I will leave this calculation to you).
Let us focus on counting the number of projective solutions then. Let us denote it by $N_p$. This question is very classical, and it is known how to present the number of solutions (when $k$ divides $p-1$) using certain Jacobi sums, but I doubt this will be of much use to you here. However, as a direct consequence of the use of the Jacobi sums, one obtains the very nice Hasse-Weil estimate $$|N_p - (p+1)| leq (k-1)(k-2)sqrtp$$
In particular, for any given $k$ there are many projective solutions (and hence a solution in your case) for $p$ sufficiently large.
While this does not give a complete answer to your question, note that the complete formula with Jacobi sums will tell you exactly how many solutions there are, but since they are sums of convolutions of characters, I think their behaviour can be quite random. Thus for $k$ large relative to $p$ (say $kapprox p^1/4$) I think it will be hard to say something general.
For more about the Jacobi sums and the Fermat curve, see the nice treatment in section 6.1 of the book "Introduction to Cyclotomic Fields" by Lawrence Washington, where all the claims I mentioned here are proved.
Edit: let me be a bit more precise. Let us write the number of solutions for your equation as $M_p$. You are asking when $M_p > 0$. We have the easy estimate $$M_p geq (p-1)(N_p - 3k),$$ where the $-3k$ comes from the need to disregard solutions of the form $(X,Y,0),(X,0,Z),(0,Y,Z)$. So whenever $N_p >3k$, there is a solution. When does this happen? Well, using the Hasse-Weil bound, we have $$N_p -3k geq p+1 -3k -(k-1)(k-2)sqrtp.$$ If my high school algebra does not fail me, this inequality is achieved whenever (say) $k < frac12p^1/4$, at least if $p>10$. You may check it for yourself (one should also be able to achieve a slightly better bound; in any case the best asymptotic bound is $k<< p^1/4$).
Of course, in general one has to replace $k$ by $gcd(k,p-1)$. Therefore, this method shows that you have a solution whenever $gcd(k,p-1) < frac12p^1/4$ (which is in most cases a much weaker inequality than $k < frac12p^1/4$).
Hello @GalPorat, thank you for your detailed answer! But I think I wasn't clear to you in asking the question. Here, I am only interested in knowing for how many $k$s does the solution doesn't exist? I mean I don't want the number of solutions for any $k$ (I think this will make things more complex), just yes or no whether the solution exists. The examples I have produced were generated by me by a Python script, but it is not feasible for large primes. Because currently, I am checking every possible values of $a, b, c$ and see if there is a solution!
– Rahul Goswami
Jul 24 at 16:17
And another important obeservation I noticed in all primes < 100, is that - Whenever a solution exists, the $a$ in the equation is always equal to $1$. So, maybe we can try solving this same problem for $1 + b^k equiv c^k mod p$. Maybe I should add this the question description?
– Rahul Goswami
Jul 24 at 16:21
Also, can you briefly explain what $mathbbF_p$ means here?
– Rahul Goswami
Jul 24 at 16:23
@RahulGoswami I edited my answer slightly.
– Gal Porat
Jul 24 at 17:00
@RahulGoswami $mathbbF_p$ is the field with $p$ elements, aka $mathbbZ/pmathbbZ$ or sometimes $mathbbZ_p$.
– Gal Porat
Jul 24 at 17:03
 |Â
show 4 more comments
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Write $k = k'd$ where $k' = gcd(k,p-1)$ is prime to $p-1$; then $xmapsto x^d$ is a bijection of $mathbbF_p$, and thus writing $X' = X^d, Y'=Y^d, Z'=Z^d$, we see that the equation with $k$ has the same number of solutions as the equation with $k'$. Hence let us assume that $k$ divides $p-1$.
Your question is closely related to counting the number points on the projective Fermat curve $X^k + Y^k = Z^k$ over $mathbbF_p$. That is, we count the solutions for which $(X,Y,Z) neq (0,0,0)$ and we identify any two solutions of the form $(X,Y,Z)$ and $(lambda X,lambda Y,lambda Z)$ where $lambda in mathbbF_p^times$. More precisely, the number of projective solutions is simply $(p-1)$ times the number of solutions to your equation when $(X,Y,Z) neq (0,0,0)$ (you also prohibit solutions of the form where one of $X,Y$ or $Z$ vanishes, but it is easy to count how many solutions are there of this form; I will leave this calculation to you).
Let us focus on counting the number of projective solutions then. Let us denote it by $N_p$. This question is very classical, and it is known how to present the number of solutions (when $k$ divides $p-1$) using certain Jacobi sums, but I doubt this will be of much use to you here. However, as a direct consequence of the use of the Jacobi sums, one obtains the very nice Hasse-Weil estimate $$|N_p - (p+1)| leq (k-1)(k-2)sqrtp$$
In particular, for any given $k$ there are many projective solutions (and hence a solution in your case) for $p$ sufficiently large.
While this does not give a complete answer to your question, note that the complete formula with Jacobi sums will tell you exactly how many solutions there are, but since they are sums of convolutions of characters, I think their behaviour can be quite random. Thus for $k$ large relative to $p$ (say $kapprox p^1/4$) I think it will be hard to say something general.
For more about the Jacobi sums and the Fermat curve, see the nice treatment in section 6.1 of the book "Introduction to Cyclotomic Fields" by Lawrence Washington, where all the claims I mentioned here are proved.
Edit: let me be a bit more precise. Let us write the number of solutions for your equation as $M_p$. You are asking when $M_p > 0$. We have the easy estimate $$M_p geq (p-1)(N_p - 3k),$$ where the $-3k$ comes from the need to disregard solutions of the form $(X,Y,0),(X,0,Z),(0,Y,Z)$. So whenever $N_p >3k$, there is a solution. When does this happen? Well, using the Hasse-Weil bound, we have $$N_p -3k geq p+1 -3k -(k-1)(k-2)sqrtp.$$ If my high school algebra does not fail me, this inequality is achieved whenever (say) $k < frac12p^1/4$, at least if $p>10$. You may check it for yourself (one should also be able to achieve a slightly better bound; in any case the best asymptotic bound is $k<< p^1/4$).
Of course, in general one has to replace $k$ by $gcd(k,p-1)$. Therefore, this method shows that you have a solution whenever $gcd(k,p-1) < frac12p^1/4$ (which is in most cases a much weaker inequality than $k < frac12p^1/4$).
Write $k = k'd$ where $k' = gcd(k,p-1)$ is prime to $p-1$; then $xmapsto x^d$ is a bijection of $mathbbF_p$, and thus writing $X' = X^d, Y'=Y^d, Z'=Z^d$, we see that the equation with $k$ has the same number of solutions as the equation with $k'$. Hence let us assume that $k$ divides $p-1$.
Your question is closely related to counting the number points on the projective Fermat curve $X^k + Y^k = Z^k$ over $mathbbF_p$. That is, we count the solutions for which $(X,Y,Z) neq (0,0,0)$ and we identify any two solutions of the form $(X,Y,Z)$ and $(lambda X,lambda Y,lambda Z)$ where $lambda in mathbbF_p^times$. More precisely, the number of projective solutions is simply $(p-1)$ times the number of solutions to your equation when $(X,Y,Z) neq (0,0,0)$ (you also prohibit solutions of the form where one of $X,Y$ or $Z$ vanishes, but it is easy to count how many solutions are there of this form; I will leave this calculation to you).
Let us focus on counting the number of projective solutions then. Let us denote it by $N_p$. This question is very classical, and it is known how to present the number of solutions (when $k$ divides $p-1$) using certain Jacobi sums, but I doubt this will be of much use to you here. However, as a direct consequence of the use of the Jacobi sums, one obtains the very nice Hasse-Weil estimate $$|N_p - (p+1)| leq (k-1)(k-2)sqrtp$$
In particular, for any given $k$ there are many projective solutions (and hence a solution in your case) for $p$ sufficiently large.
While this does not give a complete answer to your question, note that the complete formula with Jacobi sums will tell you exactly how many solutions there are, but since they are sums of convolutions of characters, I think their behaviour can be quite random. Thus for $k$ large relative to $p$ (say $kapprox p^1/4$) I think it will be hard to say something general.
For more about the Jacobi sums and the Fermat curve, see the nice treatment in section 6.1 of the book "Introduction to Cyclotomic Fields" by Lawrence Washington, where all the claims I mentioned here are proved.
Edit: let me be a bit more precise. Let us write the number of solutions for your equation as $M_p$. You are asking when $M_p > 0$. We have the easy estimate $$M_p geq (p-1)(N_p - 3k),$$ where the $-3k$ comes from the need to disregard solutions of the form $(X,Y,0),(X,0,Z),(0,Y,Z)$. So whenever $N_p >3k$, there is a solution. When does this happen? Well, using the Hasse-Weil bound, we have $$N_p -3k geq p+1 -3k -(k-1)(k-2)sqrtp.$$ If my high school algebra does not fail me, this inequality is achieved whenever (say) $k < frac12p^1/4$, at least if $p>10$. You may check it for yourself (one should also be able to achieve a slightly better bound; in any case the best asymptotic bound is $k<< p^1/4$).
Of course, in general one has to replace $k$ by $gcd(k,p-1)$. Therefore, this method shows that you have a solution whenever $gcd(k,p-1) < frac12p^1/4$ (which is in most cases a much weaker inequality than $k < frac12p^1/4$).
edited Jul 24 at 17:54
answered Jul 24 at 15:56
Gal Porat
718413
718413
Hello @GalPorat, thank you for your detailed answer! But I think I wasn't clear to you in asking the question. Here, I am only interested in knowing for how many $k$s does the solution doesn't exist? I mean I don't want the number of solutions for any $k$ (I think this will make things more complex), just yes or no whether the solution exists. The examples I have produced were generated by me by a Python script, but it is not feasible for large primes. Because currently, I am checking every possible values of $a, b, c$ and see if there is a solution!
– Rahul Goswami
Jul 24 at 16:17
And another important obeservation I noticed in all primes < 100, is that - Whenever a solution exists, the $a$ in the equation is always equal to $1$. So, maybe we can try solving this same problem for $1 + b^k equiv c^k mod p$. Maybe I should add this the question description?
– Rahul Goswami
Jul 24 at 16:21
Also, can you briefly explain what $mathbbF_p$ means here?
– Rahul Goswami
Jul 24 at 16:23
@RahulGoswami I edited my answer slightly.
– Gal Porat
Jul 24 at 17:00
@RahulGoswami $mathbbF_p$ is the field with $p$ elements, aka $mathbbZ/pmathbbZ$ or sometimes $mathbbZ_p$.
– Gal Porat
Jul 24 at 17:03
 |Â
show 4 more comments
Hello @GalPorat, thank you for your detailed answer! But I think I wasn't clear to you in asking the question. Here, I am only interested in knowing for how many $k$s does the solution doesn't exist? I mean I don't want the number of solutions for any $k$ (I think this will make things more complex), just yes or no whether the solution exists. The examples I have produced were generated by me by a Python script, but it is not feasible for large primes. Because currently, I am checking every possible values of $a, b, c$ and see if there is a solution!
– Rahul Goswami
Jul 24 at 16:17
And another important obeservation I noticed in all primes < 100, is that - Whenever a solution exists, the $a$ in the equation is always equal to $1$. So, maybe we can try solving this same problem for $1 + b^k equiv c^k mod p$. Maybe I should add this the question description?
– Rahul Goswami
Jul 24 at 16:21
Also, can you briefly explain what $mathbbF_p$ means here?
– Rahul Goswami
Jul 24 at 16:23
@RahulGoswami I edited my answer slightly.
– Gal Porat
Jul 24 at 17:00
@RahulGoswami $mathbbF_p$ is the field with $p$ elements, aka $mathbbZ/pmathbbZ$ or sometimes $mathbbZ_p$.
– Gal Porat
Jul 24 at 17:03
Hello @GalPorat, thank you for your detailed answer! But I think I wasn't clear to you in asking the question. Here, I am only interested in knowing for how many $k$s does the solution doesn't exist? I mean I don't want the number of solutions for any $k$ (I think this will make things more complex), just yes or no whether the solution exists. The examples I have produced were generated by me by a Python script, but it is not feasible for large primes. Because currently, I am checking every possible values of $a, b, c$ and see if there is a solution!
– Rahul Goswami
Jul 24 at 16:17
Hello @GalPorat, thank you for your detailed answer! But I think I wasn't clear to you in asking the question. Here, I am only interested in knowing for how many $k$s does the solution doesn't exist? I mean I don't want the number of solutions for any $k$ (I think this will make things more complex), just yes or no whether the solution exists. The examples I have produced were generated by me by a Python script, but it is not feasible for large primes. Because currently, I am checking every possible values of $a, b, c$ and see if there is a solution!
– Rahul Goswami
Jul 24 at 16:17
And another important obeservation I noticed in all primes < 100, is that - Whenever a solution exists, the $a$ in the equation is always equal to $1$. So, maybe we can try solving this same problem for $1 + b^k equiv c^k mod p$. Maybe I should add this the question description?
– Rahul Goswami
Jul 24 at 16:21
And another important obeservation I noticed in all primes < 100, is that - Whenever a solution exists, the $a$ in the equation is always equal to $1$. So, maybe we can try solving this same problem for $1 + b^k equiv c^k mod p$. Maybe I should add this the question description?
– Rahul Goswami
Jul 24 at 16:21
Also, can you briefly explain what $mathbbF_p$ means here?
– Rahul Goswami
Jul 24 at 16:23
Also, can you briefly explain what $mathbbF_p$ means here?
– Rahul Goswami
Jul 24 at 16:23
@RahulGoswami I edited my answer slightly.
– Gal Porat
Jul 24 at 17:00
@RahulGoswami I edited my answer slightly.
– Gal Porat
Jul 24 at 17:00
@RahulGoswami $mathbbF_p$ is the field with $p$ elements, aka $mathbbZ/pmathbbZ$ or sometimes $mathbbZ_p$.
– Gal Porat
Jul 24 at 17:03
@RahulGoswami $mathbbF_p$ is the field with $p$ elements, aka $mathbbZ/pmathbbZ$ or sometimes $mathbbZ_p$.
– Gal Porat
Jul 24 at 17:03
 |Â
show 4 more comments
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2861435%2fcheck-whether-k-in-0-p-in-the-equation-ak-bk-equiv-ck-modp-ha%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2
See also this question·.
– Dietrich Burde
Jul 24 at 14:56
2
@DietrichBurde that question was asked me. Please see that this question is different from the previous :)
– Rahul Goswami
Jul 24 at 14:57