Density of the set of numbers of the form $x^2+2y^2$
Clash Royale CLAN TAG#URR8PPP
up vote
4
down vote
favorite
Is there a natural number $k$ such that for all intervals (of positive numbers) of length $k$, there is at least one element of the form $x^2+2y^2,$ where $x$ and $y$ are integers?
number-theory
add a comment |Â
up vote
4
down vote
favorite
Is there a natural number $k$ such that for all intervals (of positive numbers) of length $k$, there is at least one element of the form $x^2+2y^2,$ where $x$ and $y$ are integers?
number-theory
add a comment |Â
up vote
4
down vote
favorite
up vote
4
down vote
favorite
Is there a natural number $k$ such that for all intervals (of positive numbers) of length $k$, there is at least one element of the form $x^2+2y^2,$ where $x$ and $y$ are integers?
number-theory
Is there a natural number $k$ such that for all intervals (of positive numbers) of length $k$, there is at least one element of the form $x^2+2y^2,$ where $x$ and $y$ are integers?
number-theory
asked Jul 18 at 17:57


Danut Preda
312
312
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
Let $p$ be a prime congruent to $5$ or $7$ modulo $8$. Then $p$
can only divide $x^2+2y^2$ if $pmid x$ and $pmid y$, so that then
$p^2mid(x^2+2y^2)$. Therefore if $mequiv ppmodp^2$ then
$m$ cannot be of the form $x^2+2y^2$.
Let $p_1,ldots,p_k$ be $k$ distinct primes of this form
(there are infinitely many by Dirichlet). By the Chinese remainder theorem
there is some $zinBbb N$ with $zequiv p_j-jpmodp_j^2$
for all $j$. Then $z+j$ cannot be an $x^2+ny^2$. Then none
of $z+1,ldots,z+k$ is an $x^2+ny^2$.
1
Just for the record, since Dirichlet's theorem is rather advanced: One can elementarily show that there are infinitely many primes $equiv 5,7 pmod8$. If $p_1,dotsc,p_k$ are odd primes, then $(p_1cdot dotsc cdot p_k)^2 + 4$ has a prime factor $equiv 5 pmod8$, and that is different from the $p_kappa$. And for $p equiv 7 pmod8$ one considers $(p_1cdot dotsc cdot p_k)^2 - 2$.
– Daniel Fischer♦
Jul 18 at 18:27
@DanielFischer One can be even more elementary: consider the prime factorisation of $8p_1cdots p_k-1$. It has a prime factor $qequiv 5$ or $7pmod 8$ distinct from the $p_j$.
– Lord Shark the Unknown
Jul 19 at 5:06
Good point. $5$ or $7$ is enough for the purpose at hand.
– Daniel Fischer♦
Jul 19 at 8:10
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
Let $p$ be a prime congruent to $5$ or $7$ modulo $8$. Then $p$
can only divide $x^2+2y^2$ if $pmid x$ and $pmid y$, so that then
$p^2mid(x^2+2y^2)$. Therefore if $mequiv ppmodp^2$ then
$m$ cannot be of the form $x^2+2y^2$.
Let $p_1,ldots,p_k$ be $k$ distinct primes of this form
(there are infinitely many by Dirichlet). By the Chinese remainder theorem
there is some $zinBbb N$ with $zequiv p_j-jpmodp_j^2$
for all $j$. Then $z+j$ cannot be an $x^2+ny^2$. Then none
of $z+1,ldots,z+k$ is an $x^2+ny^2$.
1
Just for the record, since Dirichlet's theorem is rather advanced: One can elementarily show that there are infinitely many primes $equiv 5,7 pmod8$. If $p_1,dotsc,p_k$ are odd primes, then $(p_1cdot dotsc cdot p_k)^2 + 4$ has a prime factor $equiv 5 pmod8$, and that is different from the $p_kappa$. And for $p equiv 7 pmod8$ one considers $(p_1cdot dotsc cdot p_k)^2 - 2$.
– Daniel Fischer♦
Jul 18 at 18:27
@DanielFischer One can be even more elementary: consider the prime factorisation of $8p_1cdots p_k-1$. It has a prime factor $qequiv 5$ or $7pmod 8$ distinct from the $p_j$.
– Lord Shark the Unknown
Jul 19 at 5:06
Good point. $5$ or $7$ is enough for the purpose at hand.
– Daniel Fischer♦
Jul 19 at 8:10
add a comment |Â
up vote
3
down vote
Let $p$ be a prime congruent to $5$ or $7$ modulo $8$. Then $p$
can only divide $x^2+2y^2$ if $pmid x$ and $pmid y$, so that then
$p^2mid(x^2+2y^2)$. Therefore if $mequiv ppmodp^2$ then
$m$ cannot be of the form $x^2+2y^2$.
Let $p_1,ldots,p_k$ be $k$ distinct primes of this form
(there are infinitely many by Dirichlet). By the Chinese remainder theorem
there is some $zinBbb N$ with $zequiv p_j-jpmodp_j^2$
for all $j$. Then $z+j$ cannot be an $x^2+ny^2$. Then none
of $z+1,ldots,z+k$ is an $x^2+ny^2$.
1
Just for the record, since Dirichlet's theorem is rather advanced: One can elementarily show that there are infinitely many primes $equiv 5,7 pmod8$. If $p_1,dotsc,p_k$ are odd primes, then $(p_1cdot dotsc cdot p_k)^2 + 4$ has a prime factor $equiv 5 pmod8$, and that is different from the $p_kappa$. And for $p equiv 7 pmod8$ one considers $(p_1cdot dotsc cdot p_k)^2 - 2$.
– Daniel Fischer♦
Jul 18 at 18:27
@DanielFischer One can be even more elementary: consider the prime factorisation of $8p_1cdots p_k-1$. It has a prime factor $qequiv 5$ or $7pmod 8$ distinct from the $p_j$.
– Lord Shark the Unknown
Jul 19 at 5:06
Good point. $5$ or $7$ is enough for the purpose at hand.
– Daniel Fischer♦
Jul 19 at 8:10
add a comment |Â
up vote
3
down vote
up vote
3
down vote
Let $p$ be a prime congruent to $5$ or $7$ modulo $8$. Then $p$
can only divide $x^2+2y^2$ if $pmid x$ and $pmid y$, so that then
$p^2mid(x^2+2y^2)$. Therefore if $mequiv ppmodp^2$ then
$m$ cannot be of the form $x^2+2y^2$.
Let $p_1,ldots,p_k$ be $k$ distinct primes of this form
(there are infinitely many by Dirichlet). By the Chinese remainder theorem
there is some $zinBbb N$ with $zequiv p_j-jpmodp_j^2$
for all $j$. Then $z+j$ cannot be an $x^2+ny^2$. Then none
of $z+1,ldots,z+k$ is an $x^2+ny^2$.
Let $p$ be a prime congruent to $5$ or $7$ modulo $8$. Then $p$
can only divide $x^2+2y^2$ if $pmid x$ and $pmid y$, so that then
$p^2mid(x^2+2y^2)$. Therefore if $mequiv ppmodp^2$ then
$m$ cannot be of the form $x^2+2y^2$.
Let $p_1,ldots,p_k$ be $k$ distinct primes of this form
(there are infinitely many by Dirichlet). By the Chinese remainder theorem
there is some $zinBbb N$ with $zequiv p_j-jpmodp_j^2$
for all $j$. Then $z+j$ cannot be an $x^2+ny^2$. Then none
of $z+1,ldots,z+k$ is an $x^2+ny^2$.
edited Jul 18 at 18:24
answered Jul 18 at 18:21
Lord Shark the Unknown
85.5k951112
85.5k951112
1
Just for the record, since Dirichlet's theorem is rather advanced: One can elementarily show that there are infinitely many primes $equiv 5,7 pmod8$. If $p_1,dotsc,p_k$ are odd primes, then $(p_1cdot dotsc cdot p_k)^2 + 4$ has a prime factor $equiv 5 pmod8$, and that is different from the $p_kappa$. And for $p equiv 7 pmod8$ one considers $(p_1cdot dotsc cdot p_k)^2 - 2$.
– Daniel Fischer♦
Jul 18 at 18:27
@DanielFischer One can be even more elementary: consider the prime factorisation of $8p_1cdots p_k-1$. It has a prime factor $qequiv 5$ or $7pmod 8$ distinct from the $p_j$.
– Lord Shark the Unknown
Jul 19 at 5:06
Good point. $5$ or $7$ is enough for the purpose at hand.
– Daniel Fischer♦
Jul 19 at 8:10
add a comment |Â
1
Just for the record, since Dirichlet's theorem is rather advanced: One can elementarily show that there are infinitely many primes $equiv 5,7 pmod8$. If $p_1,dotsc,p_k$ are odd primes, then $(p_1cdot dotsc cdot p_k)^2 + 4$ has a prime factor $equiv 5 pmod8$, and that is different from the $p_kappa$. And for $p equiv 7 pmod8$ one considers $(p_1cdot dotsc cdot p_k)^2 - 2$.
– Daniel Fischer♦
Jul 18 at 18:27
@DanielFischer One can be even more elementary: consider the prime factorisation of $8p_1cdots p_k-1$. It has a prime factor $qequiv 5$ or $7pmod 8$ distinct from the $p_j$.
– Lord Shark the Unknown
Jul 19 at 5:06
Good point. $5$ or $7$ is enough for the purpose at hand.
– Daniel Fischer♦
Jul 19 at 8:10
1
1
Just for the record, since Dirichlet's theorem is rather advanced: One can elementarily show that there are infinitely many primes $equiv 5,7 pmod8$. If $p_1,dotsc,p_k$ are odd primes, then $(p_1cdot dotsc cdot p_k)^2 + 4$ has a prime factor $equiv 5 pmod8$, and that is different from the $p_kappa$. And for $p equiv 7 pmod8$ one considers $(p_1cdot dotsc cdot p_k)^2 - 2$.
– Daniel Fischer♦
Jul 18 at 18:27
Just for the record, since Dirichlet's theorem is rather advanced: One can elementarily show that there are infinitely many primes $equiv 5,7 pmod8$. If $p_1,dotsc,p_k$ are odd primes, then $(p_1cdot dotsc cdot p_k)^2 + 4$ has a prime factor $equiv 5 pmod8$, and that is different from the $p_kappa$. And for $p equiv 7 pmod8$ one considers $(p_1cdot dotsc cdot p_k)^2 - 2$.
– Daniel Fischer♦
Jul 18 at 18:27
@DanielFischer One can be even more elementary: consider the prime factorisation of $8p_1cdots p_k-1$. It has a prime factor $qequiv 5$ or $7pmod 8$ distinct from the $p_j$.
– Lord Shark the Unknown
Jul 19 at 5:06
@DanielFischer One can be even more elementary: consider the prime factorisation of $8p_1cdots p_k-1$. It has a prime factor $qequiv 5$ or $7pmod 8$ distinct from the $p_j$.
– Lord Shark the Unknown
Jul 19 at 5:06
Good point. $5$ or $7$ is enough for the purpose at hand.
– Daniel Fischer♦
Jul 19 at 8:10
Good point. $5$ or $7$ is enough for the purpose at hand.
– Daniel Fischer♦
Jul 19 at 8:10
add a comment |Â
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%2f2855838%2fdensity-of-the-set-of-numbers-of-the-form-x22y2%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