Why isn't $(x+1)^p equiv_q x^p + 1$ if $q$ is a prime factor of $p$?Does $(x+1)^p not equiv_p x^p + 1$ for some $x$ hold if $p$ isn't prime?Counting fractions with $n$ digits in the numerator and denominatorIs there any known algorithm for factoring the fractional components of a binomial?Help proving $n choose k equiv 0 pmod n$ for all $k$ such that $0<k<n$ iff $n$ is prime.Every prime power $p^k$ that divides $binom2mm$ is smaller than or equal to $2m$Numbers Made From Concatenating Prime FactorizationsLucas' Theorem for $p$-adic integers?Prime dividing binomial coefficient involving prime powerShow that $(sqrt2+1)^n = sqrtm+sqrtm-1$ for some positive integer $m$Bounding a Sum of Prime PowersBinomial Coefficient divisibility involving Multiples

What Exploit Are These User Agents Trying to Use?

Is it possible to create a QR code using text?

Does int main() need a declaration on C++?

Knowledge-based authentication using Domain-driven Design in C#

What historical events would have to change in order to make 19th century "steampunk" technology possible?

Was the old ablative pronoun "med" or "mēd"?

How to remove border from elements in the last row?

OP Amp not amplifying audio signal

How to compactly explain secondary and tertiary characters without resorting to stereotypes?

Is it "common practice in Fourier transform spectroscopy to multiply the measured interferogram by an apodizing function"? If so, why?

Processor speed limited at 0.4 Ghz

How can I prove that a state of equilibrium is unstable?

how do we prove that a sum of two periods is still a period?

Can a virus destroy the BIOS of a modern computer?

Where would I need my direct neural interface to be implanted?

Ambiguity in the definition of entropy

Fair gambler's ruin problem intuition

Do Iron Man suits sport waste management systems?

Is there a hemisphere-neutral way of specifying a season?

How dangerous is XSS

How many wives did king shaul have

Why are UK visa biometrics appointments suspended at USCIS Application Support Centers?

What's the meaning of "Sollensaussagen"?

How to find if SQL server backup is encrypted with TDE without restoring the backup



Why isn't $(x+1)^p equiv_q x^p + 1$ if $q$ is a prime factor of $p$?


Does $(x+1)^p not equiv_p x^p + 1$ for some $x$ hold if $p$ isn't prime?Counting fractions with $n$ digits in the numerator and denominatorIs there any known algorithm for factoring the fractional components of a binomial?Help proving $n choose k equiv 0 pmod n$ for all $k$ such that $0<k<n$ iff $n$ is prime.Every prime power $p^k$ that divides $binom2mm$ is smaller than or equal to $2m$Numbers Made From Concatenating Prime FactorizationsLucas' Theorem for $p$-adic integers?Prime dividing binomial coefficient involving prime powerShow that $(sqrt2+1)^n = sqrtm+sqrtm-1$ for some positive integer $m$Bounding a Sum of Prime PowersBinomial Coefficient divisibility involving Multiples













1












$begingroup$


Using the Binomial Theorem $(x+1)^p$ can be written out as
$$
(x+1)^p = sum_k=0^p binompk x^k,.
$$

All that's left to show then is that, if $q$ is a proper prime factor of $p$, then one of $binomp1, dots, binompp-1$ isn't divisible by $q$. For that consider $binompq^t$ where $q^t$ is the biggest power of $q$ that occurs in $p$. This coefficient is
$$
binompq^t = fracp(p-1) cdots (p-q^t+1)q^t(q^t-1) cdots 1 = q bigg(q^t-1kfrac(p-1) cdots (p - q^t + 1)q^t(q^t-1) cdots 1 bigg)
$$

for some integer $k$. So, if we can just show that this big parenthesis doesn't work out to an integer, we're done. And I feel like there ought to be a quick way to finish the argument. But the only way I see to proceed is to painstakingly count the number of occurrences of $q$ in both the numerator and denominator and show that there aren't enough in the numerator to fully cancel the denominator. That's quite messy. Is there a more elegant maneuver?










share|cite|improve this question









$endgroup$











  • $begingroup$
    $binom63=20$. But it is not that it is going to be false every time, since $(x+1)^4=x^4 + 4 x^3 + 6 x^2 + 4 x + 1$ which is $x^4+1$ mod $2$.
    $endgroup$
    – user647486
    Mar 20 at 19:53











  • $begingroup$
    I'm sorry. I should've added that $q$ is one of at least two distinct prime factors.
    $endgroup$
    – Sebastian Oberhoff
    Mar 20 at 21:03










  • $begingroup$
    @SebastianOberhoff my answer shows this can be true even when $p$ has distinct factors. For instance, try $q=5$, $p=5cdot49$.
    $endgroup$
    – Ethan MacBrough
    Mar 20 at 21:13










  • $begingroup$
    @SebastianOberhoff $3$ is one of the exactly two prime factors of $6$ and $3$ doesn't divide $binom63=20$.
    $endgroup$
    – user647486
    Mar 20 at 21:21






  • 1




    $begingroup$
    Such that you know. The notation $P(x)equiv_p Q(x)$ without quantifying the values of $x$ is used to denote congruence between polynomials. This is defined term-wise and not by the congruence of their values in, for example $mathbbZ$. They claim that EthanMacBrough made in the comment is only that $(x+1)^245-x^245-1$ vanishes at all elements of $mathbbF_5$. Not that this is the zero polynomial. Similarly the claim that he makes in the answer is not that for those choices of $p$ and $q$, $(x+1)^p-x^p-1$ is the zero polynomial mod $q$, but that it vanishes on $mathbbF_q$.
    $endgroup$
    – user647486
    Mar 21 at 0:15















1












$begingroup$


Using the Binomial Theorem $(x+1)^p$ can be written out as
$$
(x+1)^p = sum_k=0^p binompk x^k,.
$$

All that's left to show then is that, if $q$ is a proper prime factor of $p$, then one of $binomp1, dots, binompp-1$ isn't divisible by $q$. For that consider $binompq^t$ where $q^t$ is the biggest power of $q$ that occurs in $p$. This coefficient is
$$
binompq^t = fracp(p-1) cdots (p-q^t+1)q^t(q^t-1) cdots 1 = q bigg(q^t-1kfrac(p-1) cdots (p - q^t + 1)q^t(q^t-1) cdots 1 bigg)
$$

for some integer $k$. So, if we can just show that this big parenthesis doesn't work out to an integer, we're done. And I feel like there ought to be a quick way to finish the argument. But the only way I see to proceed is to painstakingly count the number of occurrences of $q$ in both the numerator and denominator and show that there aren't enough in the numerator to fully cancel the denominator. That's quite messy. Is there a more elegant maneuver?










share|cite|improve this question









$endgroup$











  • $begingroup$
    $binom63=20$. But it is not that it is going to be false every time, since $(x+1)^4=x^4 + 4 x^3 + 6 x^2 + 4 x + 1$ which is $x^4+1$ mod $2$.
    $endgroup$
    – user647486
    Mar 20 at 19:53











  • $begingroup$
    I'm sorry. I should've added that $q$ is one of at least two distinct prime factors.
    $endgroup$
    – Sebastian Oberhoff
    Mar 20 at 21:03










  • $begingroup$
    @SebastianOberhoff my answer shows this can be true even when $p$ has distinct factors. For instance, try $q=5$, $p=5cdot49$.
    $endgroup$
    – Ethan MacBrough
    Mar 20 at 21:13










  • $begingroup$
    @SebastianOberhoff $3$ is one of the exactly two prime factors of $6$ and $3$ doesn't divide $binom63=20$.
    $endgroup$
    – user647486
    Mar 20 at 21:21






  • 1




    $begingroup$
    Such that you know. The notation $P(x)equiv_p Q(x)$ without quantifying the values of $x$ is used to denote congruence between polynomials. This is defined term-wise and not by the congruence of their values in, for example $mathbbZ$. They claim that EthanMacBrough made in the comment is only that $(x+1)^245-x^245-1$ vanishes at all elements of $mathbbF_5$. Not that this is the zero polynomial. Similarly the claim that he makes in the answer is not that for those choices of $p$ and $q$, $(x+1)^p-x^p-1$ is the zero polynomial mod $q$, but that it vanishes on $mathbbF_q$.
    $endgroup$
    – user647486
    Mar 21 at 0:15













1












1








1





$begingroup$


Using the Binomial Theorem $(x+1)^p$ can be written out as
$$
(x+1)^p = sum_k=0^p binompk x^k,.
$$

All that's left to show then is that, if $q$ is a proper prime factor of $p$, then one of $binomp1, dots, binompp-1$ isn't divisible by $q$. For that consider $binompq^t$ where $q^t$ is the biggest power of $q$ that occurs in $p$. This coefficient is
$$
binompq^t = fracp(p-1) cdots (p-q^t+1)q^t(q^t-1) cdots 1 = q bigg(q^t-1kfrac(p-1) cdots (p - q^t + 1)q^t(q^t-1) cdots 1 bigg)
$$

for some integer $k$. So, if we can just show that this big parenthesis doesn't work out to an integer, we're done. And I feel like there ought to be a quick way to finish the argument. But the only way I see to proceed is to painstakingly count the number of occurrences of $q$ in both the numerator and denominator and show that there aren't enough in the numerator to fully cancel the denominator. That's quite messy. Is there a more elegant maneuver?










share|cite|improve this question









$endgroup$




Using the Binomial Theorem $(x+1)^p$ can be written out as
$$
(x+1)^p = sum_k=0^p binompk x^k,.
$$

All that's left to show then is that, if $q$ is a proper prime factor of $p$, then one of $binomp1, dots, binompp-1$ isn't divisible by $q$. For that consider $binompq^t$ where $q^t$ is the biggest power of $q$ that occurs in $p$. This coefficient is
$$
binompq^t = fracp(p-1) cdots (p-q^t+1)q^t(q^t-1) cdots 1 = q bigg(q^t-1kfrac(p-1) cdots (p - q^t + 1)q^t(q^t-1) cdots 1 bigg)
$$

for some integer $k$. So, if we can just show that this big parenthesis doesn't work out to an integer, we're done. And I feel like there ought to be a quick way to finish the argument. But the only way I see to proceed is to painstakingly count the number of occurrences of $q$ in both the numerator and denominator and show that there aren't enough in the numerator to fully cancel the denominator. That's quite messy. Is there a more elegant maneuver?







number-theory prime-factorization






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Mar 20 at 19:45









Sebastian OberhoffSebastian Oberhoff

587311




587311











  • $begingroup$
    $binom63=20$. But it is not that it is going to be false every time, since $(x+1)^4=x^4 + 4 x^3 + 6 x^2 + 4 x + 1$ which is $x^4+1$ mod $2$.
    $endgroup$
    – user647486
    Mar 20 at 19:53











  • $begingroup$
    I'm sorry. I should've added that $q$ is one of at least two distinct prime factors.
    $endgroup$
    – Sebastian Oberhoff
    Mar 20 at 21:03










  • $begingroup$
    @SebastianOberhoff my answer shows this can be true even when $p$ has distinct factors. For instance, try $q=5$, $p=5cdot49$.
    $endgroup$
    – Ethan MacBrough
    Mar 20 at 21:13










  • $begingroup$
    @SebastianOberhoff $3$ is one of the exactly two prime factors of $6$ and $3$ doesn't divide $binom63=20$.
    $endgroup$
    – user647486
    Mar 20 at 21:21






  • 1




    $begingroup$
    Such that you know. The notation $P(x)equiv_p Q(x)$ without quantifying the values of $x$ is used to denote congruence between polynomials. This is defined term-wise and not by the congruence of their values in, for example $mathbbZ$. They claim that EthanMacBrough made in the comment is only that $(x+1)^245-x^245-1$ vanishes at all elements of $mathbbF_5$. Not that this is the zero polynomial. Similarly the claim that he makes in the answer is not that for those choices of $p$ and $q$, $(x+1)^p-x^p-1$ is the zero polynomial mod $q$, but that it vanishes on $mathbbF_q$.
    $endgroup$
    – user647486
    Mar 21 at 0:15
















  • $begingroup$
    $binom63=20$. But it is not that it is going to be false every time, since $(x+1)^4=x^4 + 4 x^3 + 6 x^2 + 4 x + 1$ which is $x^4+1$ mod $2$.
    $endgroup$
    – user647486
    Mar 20 at 19:53











  • $begingroup$
    I'm sorry. I should've added that $q$ is one of at least two distinct prime factors.
    $endgroup$
    – Sebastian Oberhoff
    Mar 20 at 21:03










  • $begingroup$
    @SebastianOberhoff my answer shows this can be true even when $p$ has distinct factors. For instance, try $q=5$, $p=5cdot49$.
    $endgroup$
    – Ethan MacBrough
    Mar 20 at 21:13










  • $begingroup$
    @SebastianOberhoff $3$ is one of the exactly two prime factors of $6$ and $3$ doesn't divide $binom63=20$.
    $endgroup$
    – user647486
    Mar 20 at 21:21






  • 1




    $begingroup$
    Such that you know. The notation $P(x)equiv_p Q(x)$ without quantifying the values of $x$ is used to denote congruence between polynomials. This is defined term-wise and not by the congruence of their values in, for example $mathbbZ$. They claim that EthanMacBrough made in the comment is only that $(x+1)^245-x^245-1$ vanishes at all elements of $mathbbF_5$. Not that this is the zero polynomial. Similarly the claim that he makes in the answer is not that for those choices of $p$ and $q$, $(x+1)^p-x^p-1$ is the zero polynomial mod $q$, but that it vanishes on $mathbbF_q$.
    $endgroup$
    – user647486
    Mar 21 at 0:15















$begingroup$
$binom63=20$. But it is not that it is going to be false every time, since $(x+1)^4=x^4 + 4 x^3 + 6 x^2 + 4 x + 1$ which is $x^4+1$ mod $2$.
$endgroup$
– user647486
Mar 20 at 19:53





$begingroup$
$binom63=20$. But it is not that it is going to be false every time, since $(x+1)^4=x^4 + 4 x^3 + 6 x^2 + 4 x + 1$ which is $x^4+1$ mod $2$.
$endgroup$
– user647486
Mar 20 at 19:53













$begingroup$
I'm sorry. I should've added that $q$ is one of at least two distinct prime factors.
$endgroup$
– Sebastian Oberhoff
Mar 20 at 21:03




$begingroup$
I'm sorry. I should've added that $q$ is one of at least two distinct prime factors.
$endgroup$
– Sebastian Oberhoff
Mar 20 at 21:03












$begingroup$
@SebastianOberhoff my answer shows this can be true even when $p$ has distinct factors. For instance, try $q=5$, $p=5cdot49$.
$endgroup$
– Ethan MacBrough
Mar 20 at 21:13




$begingroup$
@SebastianOberhoff my answer shows this can be true even when $p$ has distinct factors. For instance, try $q=5$, $p=5cdot49$.
$endgroup$
– Ethan MacBrough
Mar 20 at 21:13












$begingroup$
@SebastianOberhoff $3$ is one of the exactly two prime factors of $6$ and $3$ doesn't divide $binom63=20$.
$endgroup$
– user647486
Mar 20 at 21:21




$begingroup$
@SebastianOberhoff $3$ is one of the exactly two prime factors of $6$ and $3$ doesn't divide $binom63=20$.
$endgroup$
– user647486
Mar 20 at 21:21




1




1




$begingroup$
Such that you know. The notation $P(x)equiv_p Q(x)$ without quantifying the values of $x$ is used to denote congruence between polynomials. This is defined term-wise and not by the congruence of their values in, for example $mathbbZ$. They claim that EthanMacBrough made in the comment is only that $(x+1)^245-x^245-1$ vanishes at all elements of $mathbbF_5$. Not that this is the zero polynomial. Similarly the claim that he makes in the answer is not that for those choices of $p$ and $q$, $(x+1)^p-x^p-1$ is the zero polynomial mod $q$, but that it vanishes on $mathbbF_q$.
$endgroup$
– user647486
Mar 21 at 0:15




$begingroup$
Such that you know. The notation $P(x)equiv_p Q(x)$ without quantifying the values of $x$ is used to denote congruence between polynomials. This is defined term-wise and not by the congruence of their values in, for example $mathbbZ$. They claim that EthanMacBrough made in the comment is only that $(x+1)^245-x^245-1$ vanishes at all elements of $mathbbF_5$. Not that this is the zero polynomial. Similarly the claim that he makes in the answer is not that for those choices of $p$ and $q$, $(x+1)^p-x^p-1$ is the zero polynomial mod $q$, but that it vanishes on $mathbbF_q$.
$endgroup$
– user647486
Mar 21 at 0:15










1 Answer
1






active

oldest

votes


















2












$begingroup$

In general it may actually be the case that indeed $(x+1)^pequiv_q x^p+1$. As an example, take $q=3,p=9$.



In fact we can classify exactly which $p$ do this; it turns out that $(x+1)^pequiv_q x^p+1$ for all $x$ if and only if $p=q(qk-k+1)$ for some $k$.



To see why this is true, let $g$ be a primitive generator of $mathbbF_q^*$, i.e., $g^n=1$ iff $q-1|n$. Suppose $(x+1)^pequiv_qx^p+1$. By plugging in $x=1$ and using induction, this would imply that $x^pequiv_q x$ for all $x$, so $x^p-1equiv_q 1$. In particular, $g^p-1equiv_q 1$, so by definition $q-1|p-1$.



Writing out $p=qcdot m$, this means there exists some $n$ such that $n(q-1)=mq-1$. Then $(n+(q-1))(q-1) = (m+(q-2))q$. Since $q$ cannot divide $q-1$ and $q$ is prime, this means $q|n+q-1$, so $q|n-1$. Thus we can write $n=qk+1$, which gives $mq-1 = (qk+1)(q-1)$, so expanding out the terms gives $m=qk-k+1$.



Conversely, if $p$ can be written in this form, then since every element $xinmathbbF_q^*$ has order dividing $q-1$, we get $x^p=x^q(qk-k+1)equiv_q x^kx^-kxequiv_q x$, from which the stated equality immediately holds.




EDIT. To answer your other question of whether it is true that $binompq^tnotequiv_q 0$ where $q^tmid p$ but $q^t+1nmid p$: This can be proven as follows.



Let $m,n$ be arbitrary integers, and consider $binommnm=frac(mn)(mn-1)cdotsleft(mn-(m-1)right)m!$. We can remove a factor of $m$ from the top and bottom and are left with $binommnm=fracn(mn-1)cdotsleft(mn-(m-1)right)(m-1)!$. Now if $k$ is any factor of $m$ that divides $mn-j$ for some $j$, then $k$ must also divide $j$. Thus we can remove factors from the top and bottom until we're left with $binommnm=fracnpq$ where $mnmid p$. Thus if $m$ divides $binommnm$ it must also divide $n$.



Now substituting $m=q^t$ and $mn=p$ immediately gives the desired result, since $q^tmidbinompq^timplies q^tmidfracpq^timplies q^2tmid p$, contradicting maximality of $t$.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Do you think you could weigh in on a very similar question here: math.stackexchange.com/questions/3156116/… ?
    $endgroup$
    – Sebastian Oberhoff
    Mar 20 at 23:28












Your Answer





StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3155923%2fwhy-isnt-x1p-equiv-q-xp-1-if-q-is-a-prime-factor-of-p%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2












$begingroup$

In general it may actually be the case that indeed $(x+1)^pequiv_q x^p+1$. As an example, take $q=3,p=9$.



In fact we can classify exactly which $p$ do this; it turns out that $(x+1)^pequiv_q x^p+1$ for all $x$ if and only if $p=q(qk-k+1)$ for some $k$.



To see why this is true, let $g$ be a primitive generator of $mathbbF_q^*$, i.e., $g^n=1$ iff $q-1|n$. Suppose $(x+1)^pequiv_qx^p+1$. By plugging in $x=1$ and using induction, this would imply that $x^pequiv_q x$ for all $x$, so $x^p-1equiv_q 1$. In particular, $g^p-1equiv_q 1$, so by definition $q-1|p-1$.



Writing out $p=qcdot m$, this means there exists some $n$ such that $n(q-1)=mq-1$. Then $(n+(q-1))(q-1) = (m+(q-2))q$. Since $q$ cannot divide $q-1$ and $q$ is prime, this means $q|n+q-1$, so $q|n-1$. Thus we can write $n=qk+1$, which gives $mq-1 = (qk+1)(q-1)$, so expanding out the terms gives $m=qk-k+1$.



Conversely, if $p$ can be written in this form, then since every element $xinmathbbF_q^*$ has order dividing $q-1$, we get $x^p=x^q(qk-k+1)equiv_q x^kx^-kxequiv_q x$, from which the stated equality immediately holds.




EDIT. To answer your other question of whether it is true that $binompq^tnotequiv_q 0$ where $q^tmid p$ but $q^t+1nmid p$: This can be proven as follows.



Let $m,n$ be arbitrary integers, and consider $binommnm=frac(mn)(mn-1)cdotsleft(mn-(m-1)right)m!$. We can remove a factor of $m$ from the top and bottom and are left with $binommnm=fracn(mn-1)cdotsleft(mn-(m-1)right)(m-1)!$. Now if $k$ is any factor of $m$ that divides $mn-j$ for some $j$, then $k$ must also divide $j$. Thus we can remove factors from the top and bottom until we're left with $binommnm=fracnpq$ where $mnmid p$. Thus if $m$ divides $binommnm$ it must also divide $n$.



Now substituting $m=q^t$ and $mn=p$ immediately gives the desired result, since $q^tmidbinompq^timplies q^tmidfracpq^timplies q^2tmid p$, contradicting maximality of $t$.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Do you think you could weigh in on a very similar question here: math.stackexchange.com/questions/3156116/… ?
    $endgroup$
    – Sebastian Oberhoff
    Mar 20 at 23:28
















2












$begingroup$

In general it may actually be the case that indeed $(x+1)^pequiv_q x^p+1$. As an example, take $q=3,p=9$.



In fact we can classify exactly which $p$ do this; it turns out that $(x+1)^pequiv_q x^p+1$ for all $x$ if and only if $p=q(qk-k+1)$ for some $k$.



To see why this is true, let $g$ be a primitive generator of $mathbbF_q^*$, i.e., $g^n=1$ iff $q-1|n$. Suppose $(x+1)^pequiv_qx^p+1$. By plugging in $x=1$ and using induction, this would imply that $x^pequiv_q x$ for all $x$, so $x^p-1equiv_q 1$. In particular, $g^p-1equiv_q 1$, so by definition $q-1|p-1$.



Writing out $p=qcdot m$, this means there exists some $n$ such that $n(q-1)=mq-1$. Then $(n+(q-1))(q-1) = (m+(q-2))q$. Since $q$ cannot divide $q-1$ and $q$ is prime, this means $q|n+q-1$, so $q|n-1$. Thus we can write $n=qk+1$, which gives $mq-1 = (qk+1)(q-1)$, so expanding out the terms gives $m=qk-k+1$.



Conversely, if $p$ can be written in this form, then since every element $xinmathbbF_q^*$ has order dividing $q-1$, we get $x^p=x^q(qk-k+1)equiv_q x^kx^-kxequiv_q x$, from which the stated equality immediately holds.




EDIT. To answer your other question of whether it is true that $binompq^tnotequiv_q 0$ where $q^tmid p$ but $q^t+1nmid p$: This can be proven as follows.



Let $m,n$ be arbitrary integers, and consider $binommnm=frac(mn)(mn-1)cdotsleft(mn-(m-1)right)m!$. We can remove a factor of $m$ from the top and bottom and are left with $binommnm=fracn(mn-1)cdotsleft(mn-(m-1)right)(m-1)!$. Now if $k$ is any factor of $m$ that divides $mn-j$ for some $j$, then $k$ must also divide $j$. Thus we can remove factors from the top and bottom until we're left with $binommnm=fracnpq$ where $mnmid p$. Thus if $m$ divides $binommnm$ it must also divide $n$.



Now substituting $m=q^t$ and $mn=p$ immediately gives the desired result, since $q^tmidbinompq^timplies q^tmidfracpq^timplies q^2tmid p$, contradicting maximality of $t$.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Do you think you could weigh in on a very similar question here: math.stackexchange.com/questions/3156116/… ?
    $endgroup$
    – Sebastian Oberhoff
    Mar 20 at 23:28














2












2








2





$begingroup$

In general it may actually be the case that indeed $(x+1)^pequiv_q x^p+1$. As an example, take $q=3,p=9$.



In fact we can classify exactly which $p$ do this; it turns out that $(x+1)^pequiv_q x^p+1$ for all $x$ if and only if $p=q(qk-k+1)$ for some $k$.



To see why this is true, let $g$ be a primitive generator of $mathbbF_q^*$, i.e., $g^n=1$ iff $q-1|n$. Suppose $(x+1)^pequiv_qx^p+1$. By plugging in $x=1$ and using induction, this would imply that $x^pequiv_q x$ for all $x$, so $x^p-1equiv_q 1$. In particular, $g^p-1equiv_q 1$, so by definition $q-1|p-1$.



Writing out $p=qcdot m$, this means there exists some $n$ such that $n(q-1)=mq-1$. Then $(n+(q-1))(q-1) = (m+(q-2))q$. Since $q$ cannot divide $q-1$ and $q$ is prime, this means $q|n+q-1$, so $q|n-1$. Thus we can write $n=qk+1$, which gives $mq-1 = (qk+1)(q-1)$, so expanding out the terms gives $m=qk-k+1$.



Conversely, if $p$ can be written in this form, then since every element $xinmathbbF_q^*$ has order dividing $q-1$, we get $x^p=x^q(qk-k+1)equiv_q x^kx^-kxequiv_q x$, from which the stated equality immediately holds.




EDIT. To answer your other question of whether it is true that $binompq^tnotequiv_q 0$ where $q^tmid p$ but $q^t+1nmid p$: This can be proven as follows.



Let $m,n$ be arbitrary integers, and consider $binommnm=frac(mn)(mn-1)cdotsleft(mn-(m-1)right)m!$. We can remove a factor of $m$ from the top and bottom and are left with $binommnm=fracn(mn-1)cdotsleft(mn-(m-1)right)(m-1)!$. Now if $k$ is any factor of $m$ that divides $mn-j$ for some $j$, then $k$ must also divide $j$. Thus we can remove factors from the top and bottom until we're left with $binommnm=fracnpq$ where $mnmid p$. Thus if $m$ divides $binommnm$ it must also divide $n$.



Now substituting $m=q^t$ and $mn=p$ immediately gives the desired result, since $q^tmidbinompq^timplies q^tmidfracpq^timplies q^2tmid p$, contradicting maximality of $t$.






share|cite|improve this answer











$endgroup$



In general it may actually be the case that indeed $(x+1)^pequiv_q x^p+1$. As an example, take $q=3,p=9$.



In fact we can classify exactly which $p$ do this; it turns out that $(x+1)^pequiv_q x^p+1$ for all $x$ if and only if $p=q(qk-k+1)$ for some $k$.



To see why this is true, let $g$ be a primitive generator of $mathbbF_q^*$, i.e., $g^n=1$ iff $q-1|n$. Suppose $(x+1)^pequiv_qx^p+1$. By plugging in $x=1$ and using induction, this would imply that $x^pequiv_q x$ for all $x$, so $x^p-1equiv_q 1$. In particular, $g^p-1equiv_q 1$, so by definition $q-1|p-1$.



Writing out $p=qcdot m$, this means there exists some $n$ such that $n(q-1)=mq-1$. Then $(n+(q-1))(q-1) = (m+(q-2))q$. Since $q$ cannot divide $q-1$ and $q$ is prime, this means $q|n+q-1$, so $q|n-1$. Thus we can write $n=qk+1$, which gives $mq-1 = (qk+1)(q-1)$, so expanding out the terms gives $m=qk-k+1$.



Conversely, if $p$ can be written in this form, then since every element $xinmathbbF_q^*$ has order dividing $q-1$, we get $x^p=x^q(qk-k+1)equiv_q x^kx^-kxequiv_q x$, from which the stated equality immediately holds.




EDIT. To answer your other question of whether it is true that $binompq^tnotequiv_q 0$ where $q^tmid p$ but $q^t+1nmid p$: This can be proven as follows.



Let $m,n$ be arbitrary integers, and consider $binommnm=frac(mn)(mn-1)cdotsleft(mn-(m-1)right)m!$. We can remove a factor of $m$ from the top and bottom and are left with $binommnm=fracn(mn-1)cdotsleft(mn-(m-1)right)(m-1)!$. Now if $k$ is any factor of $m$ that divides $mn-j$ for some $j$, then $k$ must also divide $j$. Thus we can remove factors from the top and bottom until we're left with $binommnm=fracnpq$ where $mnmid p$. Thus if $m$ divides $binommnm$ it must also divide $n$.



Now substituting $m=q^t$ and $mn=p$ immediately gives the desired result, since $q^tmidbinompq^timplies q^tmidfracpq^timplies q^2tmid p$, contradicting maximality of $t$.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Mar 20 at 22:54

























answered Mar 20 at 20:24









Ethan MacBroughEthan MacBrough

1,241617




1,241617











  • $begingroup$
    Do you think you could weigh in on a very similar question here: math.stackexchange.com/questions/3156116/… ?
    $endgroup$
    – Sebastian Oberhoff
    Mar 20 at 23:28

















  • $begingroup$
    Do you think you could weigh in on a very similar question here: math.stackexchange.com/questions/3156116/… ?
    $endgroup$
    – Sebastian Oberhoff
    Mar 20 at 23:28
















$begingroup$
Do you think you could weigh in on a very similar question here: math.stackexchange.com/questions/3156116/… ?
$endgroup$
– Sebastian Oberhoff
Mar 20 at 23:28





$begingroup$
Do you think you could weigh in on a very similar question here: math.stackexchange.com/questions/3156116/… ?
$endgroup$
– Sebastian Oberhoff
Mar 20 at 23:28


















draft saved

draft discarded
















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3155923%2fwhy-isnt-x1p-equiv-q-xp-1-if-q-is-a-prime-factor-of-p%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Solar Wings Breeze Design and development Specifications (Breeze) References Navigation menu1368-485X"Hang glider: Breeze (Solar Wings)"e

Kathakali Contents Etymology and nomenclature History Repertoire Songs and musical instruments Traditional plays Styles: Sampradayam Training centers and awards Relationship to other dance forms See also Notes References External links Navigation menueThe Illustrated Encyclopedia of Hinduism: A-MSouth Asian Folklore: An EncyclopediaRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to PlayKathakali Dance-drama: Where Gods and Demons Come to Play10.1353/atj.2005.0004The Illustrated Encyclopedia of Hinduism: A-MEncyclopedia of HinduismKathakali Dance-drama: Where Gods and Demons Come to PlaySonic Liturgy: Ritual and Music in Hindu Tradition"The Mirror of Gesture"Kathakali Dance-drama: Where Gods and Demons Come to Play"Kathakali"Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceMedieval Indian Literature: An AnthologyThe Oxford Companion to Indian TheatreSouth Asian Folklore: An Encyclopedia : Afghanistan, Bangladesh, India, Nepal, Pakistan, Sri LankaThe Rise of Performance Studies: Rethinking Richard Schechner's Broad SpectrumIndian Theatre: Traditions of PerformanceModern Asian Theatre and Performance 1900-2000Critical Theory and PerformanceBetween Theater and AnthropologyKathakali603847011Indian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceIndian Theatre: Traditions of PerformanceBetween Theater and AnthropologyBetween Theater and AnthropologyNambeesan Smaraka AwardsArchivedThe Cambridge Guide to TheatreRoutledge International Encyclopedia of Women: Global Women's Issues and KnowledgeThe Garland Encyclopedia of World Music: South Asia : the Indian subcontinentThe Ethos of Noh: Actors and Their Art10.2307/1145740By Means of Performance: Intercultural Studies of Theatre and Ritual10.1017/s204912550000100xReconceiving the Renaissance: A Critical ReaderPerformance TheoryListening to Theatre: The Aural Dimension of Beijing Opera10.2307/1146013Kathakali: The Art of the Non-WorldlyOn KathakaliKathakali, the dance theatreThe Kathakali Complex: Performance & StructureKathakali Dance-Drama: Where Gods and Demons Come to Play10.1093/obo/9780195399318-0071Drama and Ritual of Early Hinduism"In the Shadow of Hollywood Orientalism: Authentic East Indian Dancing"10.1080/08949460490274013Sanskrit Play Production in Ancient IndiaIndian Music: History and StructureBharata, the Nāṭyaśāstra233639306Table of Contents2238067286469807Dance In Indian Painting10.2307/32047833204783Kathakali Dance-Theatre: A Visual Narrative of Sacred Indian MimeIndian Classical Dance: The Renaissance and BeyondKathakali: an indigenous art-form of Keralaeee

Method to test if a number is a perfect power? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Detecting perfect squares faster than by extracting square rooteffective way to get the integer sequence A181392 from oeisA rarely mentioned fact about perfect powersHow many numbers such $n$ are there that $n<100,lfloorsqrtn rfloor mid n$Check perfect squareness by modulo division against multiple basesFor what pair of integers $(a,b)$ is $3^a + 7^b$ a perfect square.Do there exist any positive integers $n$ such that $lfloore^nrfloor$ is a perfect power? What is the probability that one exists?finding perfect power factors of an integerProve that the sequence contains a perfect square for any natural number $m $ in the domain of $f$ .Counting Perfect Powers