Proving prime divisibility relation between $a^2-a+3$ and $b^2-b+25$.
$begingroup$
Let $p$ be a given prime number. Prove that there exists an integer $a$ such that $p|a^2-a+3$ if and only if there exists an integer $b$ such that $p|b^2-b+25$.
I've managed to prove that if $p|a^2-a+3$ for some $a$, then $p|b^2-b+25$ for some $p$ like so:
Working mod $p$, we have $a^2-a+3=0$. Hence $9a^2-9a+27=0$, which implies $9a^2-6a+1=3a-26$. Rearranging this, we find that $$(3a-1)^2=(3a-1)-25$$ so simply taking $b=3a-1$ proves this part.
I had the idea of multiplying everything by $9$ because $3times 9approx 27$, and because $9$ is a square. However, I can't find a similar relation for turning $b^2-b+25$ into $a^2-a+3$.
According to the person I found this question from, this question is from a very old TST (I think it was from China, but we're not sure).
number-theory prime-numbers modular-arithmetic contest-math divisibility
$endgroup$
add a comment |
$begingroup$
Let $p$ be a given prime number. Prove that there exists an integer $a$ such that $p|a^2-a+3$ if and only if there exists an integer $b$ such that $p|b^2-b+25$.
I've managed to prove that if $p|a^2-a+3$ for some $a$, then $p|b^2-b+25$ for some $p$ like so:
Working mod $p$, we have $a^2-a+3=0$. Hence $9a^2-9a+27=0$, which implies $9a^2-6a+1=3a-26$. Rearranging this, we find that $$(3a-1)^2=(3a-1)-25$$ so simply taking $b=3a-1$ proves this part.
I had the idea of multiplying everything by $9$ because $3times 9approx 27$, and because $9$ is a square. However, I can't find a similar relation for turning $b^2-b+25$ into $a^2-a+3$.
According to the person I found this question from, this question is from a very old TST (I think it was from China, but we're not sure).
number-theory prime-numbers modular-arithmetic contest-math divisibility
$endgroup$
2
$begingroup$
You have a flipped sign... $9a^2 - 6a + 1 = 3a - 26$
$endgroup$
– Doug M
Jan 5 at 1:43
$begingroup$
@DougM thanks, fixed
$endgroup$
– user574848
Jan 5 at 1:58
$begingroup$
What this is saying is that any (odd) prime for which $-11$ is a quadratic residue can be expressed as $x^2 + xy + 3y^2.$ If $p equiv 1 pmod 3,$ we also have $p = u^2 + uv + 25 v^2.$ If $p equiv 2 pmod 3,$ we also have $p = 5s^2 + st + 5 t^2.$ Of course, $3$ does not work right, there is an imprimitive form $3x^2 + 3xy+9y^2$ of discriminant $-99$
$endgroup$
– Will Jagy
Jan 5 at 2:43
add a comment |
$begingroup$
Let $p$ be a given prime number. Prove that there exists an integer $a$ such that $p|a^2-a+3$ if and only if there exists an integer $b$ such that $p|b^2-b+25$.
I've managed to prove that if $p|a^2-a+3$ for some $a$, then $p|b^2-b+25$ for some $p$ like so:
Working mod $p$, we have $a^2-a+3=0$. Hence $9a^2-9a+27=0$, which implies $9a^2-6a+1=3a-26$. Rearranging this, we find that $$(3a-1)^2=(3a-1)-25$$ so simply taking $b=3a-1$ proves this part.
I had the idea of multiplying everything by $9$ because $3times 9approx 27$, and because $9$ is a square. However, I can't find a similar relation for turning $b^2-b+25$ into $a^2-a+3$.
According to the person I found this question from, this question is from a very old TST (I think it was from China, but we're not sure).
number-theory prime-numbers modular-arithmetic contest-math divisibility
$endgroup$
Let $p$ be a given prime number. Prove that there exists an integer $a$ such that $p|a^2-a+3$ if and only if there exists an integer $b$ such that $p|b^2-b+25$.
I've managed to prove that if $p|a^2-a+3$ for some $a$, then $p|b^2-b+25$ for some $p$ like so:
Working mod $p$, we have $a^2-a+3=0$. Hence $9a^2-9a+27=0$, which implies $9a^2-6a+1=3a-26$. Rearranging this, we find that $$(3a-1)^2=(3a-1)-25$$ so simply taking $b=3a-1$ proves this part.
I had the idea of multiplying everything by $9$ because $3times 9approx 27$, and because $9$ is a square. However, I can't find a similar relation for turning $b^2-b+25$ into $a^2-a+3$.
According to the person I found this question from, this question is from a very old TST (I think it was from China, but we're not sure).
number-theory prime-numbers modular-arithmetic contest-math divisibility
number-theory prime-numbers modular-arithmetic contest-math divisibility
edited Jan 5 at 2:37
user574848
asked Jan 5 at 1:29
user574848user574848
689118
689118
2
$begingroup$
You have a flipped sign... $9a^2 - 6a + 1 = 3a - 26$
$endgroup$
– Doug M
Jan 5 at 1:43
$begingroup$
@DougM thanks, fixed
$endgroup$
– user574848
Jan 5 at 1:58
$begingroup$
What this is saying is that any (odd) prime for which $-11$ is a quadratic residue can be expressed as $x^2 + xy + 3y^2.$ If $p equiv 1 pmod 3,$ we also have $p = u^2 + uv + 25 v^2.$ If $p equiv 2 pmod 3,$ we also have $p = 5s^2 + st + 5 t^2.$ Of course, $3$ does not work right, there is an imprimitive form $3x^2 + 3xy+9y^2$ of discriminant $-99$
$endgroup$
– Will Jagy
Jan 5 at 2:43
add a comment |
2
$begingroup$
You have a flipped sign... $9a^2 - 6a + 1 = 3a - 26$
$endgroup$
– Doug M
Jan 5 at 1:43
$begingroup$
@DougM thanks, fixed
$endgroup$
– user574848
Jan 5 at 1:58
$begingroup$
What this is saying is that any (odd) prime for which $-11$ is a quadratic residue can be expressed as $x^2 + xy + 3y^2.$ If $p equiv 1 pmod 3,$ we also have $p = u^2 + uv + 25 v^2.$ If $p equiv 2 pmod 3,$ we also have $p = 5s^2 + st + 5 t^2.$ Of course, $3$ does not work right, there is an imprimitive form $3x^2 + 3xy+9y^2$ of discriminant $-99$
$endgroup$
– Will Jagy
Jan 5 at 2:43
2
2
$begingroup$
You have a flipped sign... $9a^2 - 6a + 1 = 3a - 26$
$endgroup$
– Doug M
Jan 5 at 1:43
$begingroup$
You have a flipped sign... $9a^2 - 6a + 1 = 3a - 26$
$endgroup$
– Doug M
Jan 5 at 1:43
$begingroup$
@DougM thanks, fixed
$endgroup$
– user574848
Jan 5 at 1:58
$begingroup$
@DougM thanks, fixed
$endgroup$
– user574848
Jan 5 at 1:58
$begingroup$
What this is saying is that any (odd) prime for which $-11$ is a quadratic residue can be expressed as $x^2 + xy + 3y^2.$ If $p equiv 1 pmod 3,$ we also have $p = u^2 + uv + 25 v^2.$ If $p equiv 2 pmod 3,$ we also have $p = 5s^2 + st + 5 t^2.$ Of course, $3$ does not work right, there is an imprimitive form $3x^2 + 3xy+9y^2$ of discriminant $-99$
$endgroup$
– Will Jagy
Jan 5 at 2:43
$begingroup$
What this is saying is that any (odd) prime for which $-11$ is a quadratic residue can be expressed as $x^2 + xy + 3y^2.$ If $p equiv 1 pmod 3,$ we also have $p = u^2 + uv + 25 v^2.$ If $p equiv 2 pmod 3,$ we also have $p = 5s^2 + st + 5 t^2.$ Of course, $3$ does not work right, there is an imprimitive form $3x^2 + 3xy+9y^2$ of discriminant $-99$
$endgroup$
– Will Jagy
Jan 5 at 2:43
add a comment |
3 Answers
3
active
oldest
votes
$begingroup$
$3a - 1equiv bpmod p$
for any prime $p ne 3$
$3$ has a multiplicative inverse.
$a equiv 3^{-1}b + 3^{-1}pmod p$
And if $p=3$ let $a = 1$
$endgroup$
$begingroup$
What's a multiplicative inverse?
$endgroup$
– user574848
Jan 5 at 2:50
$begingroup$
The integers modulo $p$ forms a group under multiplication. ($mathbb Z_p^times$) Which means that every member of the group (excluding 0) has a counterpart such that their product equals 1.
$endgroup$
– Doug M
Jan 5 at 3:34
add a comment |
$begingroup$
$a^2-a+3equiv0pmod p$
$iff(2a-1)^2equiv-11$ for odd $p$
$4(b^2-b+25)=(2b-1)^2+99$
So, we need $(2b-1)^2equiv-99pmod p$
$implies(2b-1)^2equiv3^2(2a-1)^2pmod p$
$iff2b-1equivpm3(2a-1)$
$endgroup$
$begingroup$
@user574848, $$4(a^2-a+3)=(2a-1)^2+11$$
$endgroup$
– lab bhattacharjee
Jan 5 at 10:00
add a comment |
$begingroup$
Here is another proof, via quadratic residues. Note that, $a^2-a+3$ is odd, hence $pneq 2$. Now, $pmid a^2-a+3iff pmid (2a-1)^2+11$. Similarly, $pmid b^2-b+25 iff pmid (2b-1)^2+99$. Namely, the goal is to prove,
$$
exists a: pmid (2a-1)^2+11 iff exists b: pmid (2b-1)^2+99
$$
which is equivalent to proving,
$$
left(frac{-11}{p}right) =1 iff left(frac{-99}{p}right) =1,
$$
where, $(a/p)$ is the standard Legendre's symbol. But this last statement is obvious, since $(-99/p)=(9/p)(-11/p)=(-11/p)$, as $(9/p)=1$, due to the fact that $9$ is a quadratic residue modulo $p$.
$endgroup$
add a comment |
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
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3062320%2fproving-prime-divisibility-relation-between-a2-a3-and-b2-b25%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
$3a - 1equiv bpmod p$
for any prime $p ne 3$
$3$ has a multiplicative inverse.
$a equiv 3^{-1}b + 3^{-1}pmod p$
And if $p=3$ let $a = 1$
$endgroup$
$begingroup$
What's a multiplicative inverse?
$endgroup$
– user574848
Jan 5 at 2:50
$begingroup$
The integers modulo $p$ forms a group under multiplication. ($mathbb Z_p^times$) Which means that every member of the group (excluding 0) has a counterpart such that their product equals 1.
$endgroup$
– Doug M
Jan 5 at 3:34
add a comment |
$begingroup$
$3a - 1equiv bpmod p$
for any prime $p ne 3$
$3$ has a multiplicative inverse.
$a equiv 3^{-1}b + 3^{-1}pmod p$
And if $p=3$ let $a = 1$
$endgroup$
$begingroup$
What's a multiplicative inverse?
$endgroup$
– user574848
Jan 5 at 2:50
$begingroup$
The integers modulo $p$ forms a group under multiplication. ($mathbb Z_p^times$) Which means that every member of the group (excluding 0) has a counterpart such that their product equals 1.
$endgroup$
– Doug M
Jan 5 at 3:34
add a comment |
$begingroup$
$3a - 1equiv bpmod p$
for any prime $p ne 3$
$3$ has a multiplicative inverse.
$a equiv 3^{-1}b + 3^{-1}pmod p$
And if $p=3$ let $a = 1$
$endgroup$
$3a - 1equiv bpmod p$
for any prime $p ne 3$
$3$ has a multiplicative inverse.
$a equiv 3^{-1}b + 3^{-1}pmod p$
And if $p=3$ let $a = 1$
answered Jan 5 at 2:10
Doug MDoug M
45.3k31954
45.3k31954
$begingroup$
What's a multiplicative inverse?
$endgroup$
– user574848
Jan 5 at 2:50
$begingroup$
The integers modulo $p$ forms a group under multiplication. ($mathbb Z_p^times$) Which means that every member of the group (excluding 0) has a counterpart such that their product equals 1.
$endgroup$
– Doug M
Jan 5 at 3:34
add a comment |
$begingroup$
What's a multiplicative inverse?
$endgroup$
– user574848
Jan 5 at 2:50
$begingroup$
The integers modulo $p$ forms a group under multiplication. ($mathbb Z_p^times$) Which means that every member of the group (excluding 0) has a counterpart such that their product equals 1.
$endgroup$
– Doug M
Jan 5 at 3:34
$begingroup$
What's a multiplicative inverse?
$endgroup$
– user574848
Jan 5 at 2:50
$begingroup$
What's a multiplicative inverse?
$endgroup$
– user574848
Jan 5 at 2:50
$begingroup$
The integers modulo $p$ forms a group under multiplication. ($mathbb Z_p^times$) Which means that every member of the group (excluding 0) has a counterpart such that their product equals 1.
$endgroup$
– Doug M
Jan 5 at 3:34
$begingroup$
The integers modulo $p$ forms a group under multiplication. ($mathbb Z_p^times$) Which means that every member of the group (excluding 0) has a counterpart such that their product equals 1.
$endgroup$
– Doug M
Jan 5 at 3:34
add a comment |
$begingroup$
$a^2-a+3equiv0pmod p$
$iff(2a-1)^2equiv-11$ for odd $p$
$4(b^2-b+25)=(2b-1)^2+99$
So, we need $(2b-1)^2equiv-99pmod p$
$implies(2b-1)^2equiv3^2(2a-1)^2pmod p$
$iff2b-1equivpm3(2a-1)$
$endgroup$
$begingroup$
@user574848, $$4(a^2-a+3)=(2a-1)^2+11$$
$endgroup$
– lab bhattacharjee
Jan 5 at 10:00
add a comment |
$begingroup$
$a^2-a+3equiv0pmod p$
$iff(2a-1)^2equiv-11$ for odd $p$
$4(b^2-b+25)=(2b-1)^2+99$
So, we need $(2b-1)^2equiv-99pmod p$
$implies(2b-1)^2equiv3^2(2a-1)^2pmod p$
$iff2b-1equivpm3(2a-1)$
$endgroup$
$begingroup$
@user574848, $$4(a^2-a+3)=(2a-1)^2+11$$
$endgroup$
– lab bhattacharjee
Jan 5 at 10:00
add a comment |
$begingroup$
$a^2-a+3equiv0pmod p$
$iff(2a-1)^2equiv-11$ for odd $p$
$4(b^2-b+25)=(2b-1)^2+99$
So, we need $(2b-1)^2equiv-99pmod p$
$implies(2b-1)^2equiv3^2(2a-1)^2pmod p$
$iff2b-1equivpm3(2a-1)$
$endgroup$
$a^2-a+3equiv0pmod p$
$iff(2a-1)^2equiv-11$ for odd $p$
$4(b^2-b+25)=(2b-1)^2+99$
So, we need $(2b-1)^2equiv-99pmod p$
$implies(2b-1)^2equiv3^2(2a-1)^2pmod p$
$iff2b-1equivpm3(2a-1)$
answered Jan 5 at 2:28
lab bhattacharjeelab bhattacharjee
228k15158279
228k15158279
$begingroup$
@user574848, $$4(a^2-a+3)=(2a-1)^2+11$$
$endgroup$
– lab bhattacharjee
Jan 5 at 10:00
add a comment |
$begingroup$
@user574848, $$4(a^2-a+3)=(2a-1)^2+11$$
$endgroup$
– lab bhattacharjee
Jan 5 at 10:00
$begingroup$
@user574848, $$4(a^2-a+3)=(2a-1)^2+11$$
$endgroup$
– lab bhattacharjee
Jan 5 at 10:00
$begingroup$
@user574848, $$4(a^2-a+3)=(2a-1)^2+11$$
$endgroup$
– lab bhattacharjee
Jan 5 at 10:00
add a comment |
$begingroup$
Here is another proof, via quadratic residues. Note that, $a^2-a+3$ is odd, hence $pneq 2$. Now, $pmid a^2-a+3iff pmid (2a-1)^2+11$. Similarly, $pmid b^2-b+25 iff pmid (2b-1)^2+99$. Namely, the goal is to prove,
$$
exists a: pmid (2a-1)^2+11 iff exists b: pmid (2b-1)^2+99
$$
which is equivalent to proving,
$$
left(frac{-11}{p}right) =1 iff left(frac{-99}{p}right) =1,
$$
where, $(a/p)$ is the standard Legendre's symbol. But this last statement is obvious, since $(-99/p)=(9/p)(-11/p)=(-11/p)$, as $(9/p)=1$, due to the fact that $9$ is a quadratic residue modulo $p$.
$endgroup$
add a comment |
$begingroup$
Here is another proof, via quadratic residues. Note that, $a^2-a+3$ is odd, hence $pneq 2$. Now, $pmid a^2-a+3iff pmid (2a-1)^2+11$. Similarly, $pmid b^2-b+25 iff pmid (2b-1)^2+99$. Namely, the goal is to prove,
$$
exists a: pmid (2a-1)^2+11 iff exists b: pmid (2b-1)^2+99
$$
which is equivalent to proving,
$$
left(frac{-11}{p}right) =1 iff left(frac{-99}{p}right) =1,
$$
where, $(a/p)$ is the standard Legendre's symbol. But this last statement is obvious, since $(-99/p)=(9/p)(-11/p)=(-11/p)$, as $(9/p)=1$, due to the fact that $9$ is a quadratic residue modulo $p$.
$endgroup$
add a comment |
$begingroup$
Here is another proof, via quadratic residues. Note that, $a^2-a+3$ is odd, hence $pneq 2$. Now, $pmid a^2-a+3iff pmid (2a-1)^2+11$. Similarly, $pmid b^2-b+25 iff pmid (2b-1)^2+99$. Namely, the goal is to prove,
$$
exists a: pmid (2a-1)^2+11 iff exists b: pmid (2b-1)^2+99
$$
which is equivalent to proving,
$$
left(frac{-11}{p}right) =1 iff left(frac{-99}{p}right) =1,
$$
where, $(a/p)$ is the standard Legendre's symbol. But this last statement is obvious, since $(-99/p)=(9/p)(-11/p)=(-11/p)$, as $(9/p)=1$, due to the fact that $9$ is a quadratic residue modulo $p$.
$endgroup$
Here is another proof, via quadratic residues. Note that, $a^2-a+3$ is odd, hence $pneq 2$. Now, $pmid a^2-a+3iff pmid (2a-1)^2+11$. Similarly, $pmid b^2-b+25 iff pmid (2b-1)^2+99$. Namely, the goal is to prove,
$$
exists a: pmid (2a-1)^2+11 iff exists b: pmid (2b-1)^2+99
$$
which is equivalent to proving,
$$
left(frac{-11}{p}right) =1 iff left(frac{-99}{p}right) =1,
$$
where, $(a/p)$ is the standard Legendre's symbol. But this last statement is obvious, since $(-99/p)=(9/p)(-11/p)=(-11/p)$, as $(9/p)=1$, due to the fact that $9$ is a quadratic residue modulo $p$.
answered Jan 11 at 15:14
AaronAaron
1,992415
1,992415
add a comment |
add a comment |
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.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3062320%2fproving-prime-divisibility-relation-between-a2-a3-and-b2-b25%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
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
2
$begingroup$
You have a flipped sign... $9a^2 - 6a + 1 = 3a - 26$
$endgroup$
– Doug M
Jan 5 at 1:43
$begingroup$
@DougM thanks, fixed
$endgroup$
– user574848
Jan 5 at 1:58
$begingroup$
What this is saying is that any (odd) prime for which $-11$ is a quadratic residue can be expressed as $x^2 + xy + 3y^2.$ If $p equiv 1 pmod 3,$ we also have $p = u^2 + uv + 25 v^2.$ If $p equiv 2 pmod 3,$ we also have $p = 5s^2 + st + 5 t^2.$ Of course, $3$ does not work right, there is an imprimitive form $3x^2 + 3xy+9y^2$ of discriminant $-99$
$endgroup$
– Will Jagy
Jan 5 at 2:43