Proving prime divisibility relation between $a^2-a+3$ and $b^2-b+25$.
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
add a comment |
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
2
You have a flipped sign... $9a^2 - 6a + 1 = 3a - 26$
– Doug M
yesterday
@DougM thanks, fixed
– user574848
yesterday
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$
– Will Jagy
yesterday
add a comment |
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
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 yesterday
asked yesterday
user574848
16415
16415
2
You have a flipped sign... $9a^2 - 6a + 1 = 3a - 26$
– Doug M
yesterday
@DougM thanks, fixed
– user574848
yesterday
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$
– Will Jagy
yesterday
add a comment |
2
You have a flipped sign... $9a^2 - 6a + 1 = 3a - 26$
– Doug M
yesterday
@DougM thanks, fixed
– user574848
yesterday
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$
– Will Jagy
yesterday
2
2
You have a flipped sign... $9a^2 - 6a + 1 = 3a - 26$
– Doug M
yesterday
You have a flipped sign... $9a^2 - 6a + 1 = 3a - 26$
– Doug M
yesterday
@DougM thanks, fixed
– user574848
yesterday
@DougM thanks, fixed
– user574848
yesterday
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$
– Will Jagy
yesterday
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$
– Will Jagy
yesterday
add a comment |
2 Answers
2
active
oldest
votes
$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$
What's a multiplicative inverse?
– user574848
yesterday
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.
– Doug M
yesterday
add a comment |
$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)$
@user574848, $$4(a^2-a+3)=(2a-1)^2+11$$
– lab bhattacharjee
yesterday
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
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$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$
What's a multiplicative inverse?
– user574848
yesterday
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.
– Doug M
yesterday
add a comment |
$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$
What's a multiplicative inverse?
– user574848
yesterday
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.
– Doug M
yesterday
add a comment |
$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$
$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 yesterday
Doug M
44.2k31854
44.2k31854
What's a multiplicative inverse?
– user574848
yesterday
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.
– Doug M
yesterday
add a comment |
What's a multiplicative inverse?
– user574848
yesterday
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.
– Doug M
yesterday
What's a multiplicative inverse?
– user574848
yesterday
What's a multiplicative inverse?
– user574848
yesterday
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.
– Doug M
yesterday
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.
– Doug M
yesterday
add a comment |
$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)$
@user574848, $$4(a^2-a+3)=(2a-1)^2+11$$
– lab bhattacharjee
yesterday
add a comment |
$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)$
@user574848, $$4(a^2-a+3)=(2a-1)^2+11$$
– lab bhattacharjee
yesterday
add a comment |
$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)$
$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 yesterday
lab bhattacharjee
223k15156274
223k15156274
@user574848, $$4(a^2-a+3)=(2a-1)^2+11$$
– lab bhattacharjee
yesterday
add a comment |
@user574848, $$4(a^2-a+3)=(2a-1)^2+11$$
– lab bhattacharjee
yesterday
@user574848, $$4(a^2-a+3)=(2a-1)^2+11$$
– lab bhattacharjee
yesterday
@user574848, $$4(a^2-a+3)=(2a-1)^2+11$$
– lab bhattacharjee
yesterday
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
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
You have a flipped sign... $9a^2 - 6a + 1 = 3a - 26$
– Doug M
yesterday
@DougM thanks, fixed
– user574848
yesterday
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$
– Will Jagy
yesterday