For which $n$ is $37|1underbrace0cdots 0_textn-times1underbrace0cdots 0_textn-times1$
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I want to understand the solution to part b) of this problem that I have posted below. Part a) was solved by showing that $x^2+x+1 | x^2n+x^n+1$ iff $3 nmid n$. Since we are using the expression of part a) evaluated at $x=10$ to prove the divisibility of $37|1underbrace0cdots 0_textn-times1underbrace0cdots 0_textn-times1$ it seems to me that we can only conclude for which $n$, $3cdot 37|1underbrace0cdots 0_textn-times1underbrace0cdots 0_textn-times1$. Since the digital sum on the right is always divisible by $3$ how can we conclude for which $n$ the expression is divisible by $37$
Solution
elementary-number-theory proof-explanation
 |Â
show 5 more comments
up vote
2
down vote
favorite
I want to understand the solution to part b) of this problem that I have posted below. Part a) was solved by showing that $x^2+x+1 | x^2n+x^n+1$ iff $3 nmid n$. Since we are using the expression of part a) evaluated at $x=10$ to prove the divisibility of $37|1underbrace0cdots 0_textn-times1underbrace0cdots 0_textn-times1$ it seems to me that we can only conclude for which $n$, $3cdot 37|1underbrace0cdots 0_textn-times1underbrace0cdots 0_textn-times1$. Since the digital sum on the right is always divisible by $3$ how can we conclude for which $n$ the expression is divisible by $37$
Solution
elementary-number-theory proof-explanation
1
What's your question. You asked a question. Explained everything you knew. And posted an answer that gave the complete answer in coherent explanation. So.... what's your question.
– fleablood
Aug 2 at 15:47
1
I said that my interpretation of the solution was we only proved divisibility by $111$ not $37$, which is what the question is asking
– john fowles
Aug 2 at 15:49
3
$37|111$ so if $111|M$ then $37|M$.
– fleablood
Aug 2 at 15:49
1
Did you do something wrong? Shouldn't it be "$x^2+x+1 nmid x^2n+x^n+1$ if and only if $3mid n$"? For every integer $n$ divisible by $3$, $$x^2n+x^n+1equiv 3pmodx^2+x+1,.$$
– Batominovski
Aug 2 at 15:52
@Batominovski In the book it has $x^2+x+1 | x^2n+x^n+1$ iff $3nmid n$. The solution proved it by checking each case: $n=3k$, $n=3k+1$ and $n=3k+2$. Using the property that $x^3-1 | x^3m-1$, and factoring using difference of cubes.
– john fowles
Aug 2 at 15:56
 |Â
show 5 more comments
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I want to understand the solution to part b) of this problem that I have posted below. Part a) was solved by showing that $x^2+x+1 | x^2n+x^n+1$ iff $3 nmid n$. Since we are using the expression of part a) evaluated at $x=10$ to prove the divisibility of $37|1underbrace0cdots 0_textn-times1underbrace0cdots 0_textn-times1$ it seems to me that we can only conclude for which $n$, $3cdot 37|1underbrace0cdots 0_textn-times1underbrace0cdots 0_textn-times1$. Since the digital sum on the right is always divisible by $3$ how can we conclude for which $n$ the expression is divisible by $37$
Solution
elementary-number-theory proof-explanation
I want to understand the solution to part b) of this problem that I have posted below. Part a) was solved by showing that $x^2+x+1 | x^2n+x^n+1$ iff $3 nmid n$. Since we are using the expression of part a) evaluated at $x=10$ to prove the divisibility of $37|1underbrace0cdots 0_textn-times1underbrace0cdots 0_textn-times1$ it seems to me that we can only conclude for which $n$, $3cdot 37|1underbrace0cdots 0_textn-times1underbrace0cdots 0_textn-times1$. Since the digital sum on the right is always divisible by $3$ how can we conclude for which $n$ the expression is divisible by $37$
Solution
elementary-number-theory proof-explanation
edited Aug 2 at 16:00
asked Aug 2 at 15:43
john fowles
1,066817
1,066817
1
What's your question. You asked a question. Explained everything you knew. And posted an answer that gave the complete answer in coherent explanation. So.... what's your question.
– fleablood
Aug 2 at 15:47
1
I said that my interpretation of the solution was we only proved divisibility by $111$ not $37$, which is what the question is asking
– john fowles
Aug 2 at 15:49
3
$37|111$ so if $111|M$ then $37|M$.
– fleablood
Aug 2 at 15:49
1
Did you do something wrong? Shouldn't it be "$x^2+x+1 nmid x^2n+x^n+1$ if and only if $3mid n$"? For every integer $n$ divisible by $3$, $$x^2n+x^n+1equiv 3pmodx^2+x+1,.$$
– Batominovski
Aug 2 at 15:52
@Batominovski In the book it has $x^2+x+1 | x^2n+x^n+1$ iff $3nmid n$. The solution proved it by checking each case: $n=3k$, $n=3k+1$ and $n=3k+2$. Using the property that $x^3-1 | x^3m-1$, and factoring using difference of cubes.
– john fowles
Aug 2 at 15:56
 |Â
show 5 more comments
1
What's your question. You asked a question. Explained everything you knew. And posted an answer that gave the complete answer in coherent explanation. So.... what's your question.
– fleablood
Aug 2 at 15:47
1
I said that my interpretation of the solution was we only proved divisibility by $111$ not $37$, which is what the question is asking
– john fowles
Aug 2 at 15:49
3
$37|111$ so if $111|M$ then $37|M$.
– fleablood
Aug 2 at 15:49
1
Did you do something wrong? Shouldn't it be "$x^2+x+1 nmid x^2n+x^n+1$ if and only if $3mid n$"? For every integer $n$ divisible by $3$, $$x^2n+x^n+1equiv 3pmodx^2+x+1,.$$
– Batominovski
Aug 2 at 15:52
@Batominovski In the book it has $x^2+x+1 | x^2n+x^n+1$ iff $3nmid n$. The solution proved it by checking each case: $n=3k$, $n=3k+1$ and $n=3k+2$. Using the property that $x^3-1 | x^3m-1$, and factoring using difference of cubes.
– john fowles
Aug 2 at 15:56
1
1
What's your question. You asked a question. Explained everything you knew. And posted an answer that gave the complete answer in coherent explanation. So.... what's your question.
– fleablood
Aug 2 at 15:47
What's your question. You asked a question. Explained everything you knew. And posted an answer that gave the complete answer in coherent explanation. So.... what's your question.
– fleablood
Aug 2 at 15:47
1
1
I said that my interpretation of the solution was we only proved divisibility by $111$ not $37$, which is what the question is asking
– john fowles
Aug 2 at 15:49
I said that my interpretation of the solution was we only proved divisibility by $111$ not $37$, which is what the question is asking
– john fowles
Aug 2 at 15:49
3
3
$37|111$ so if $111|M$ then $37|M$.
– fleablood
Aug 2 at 15:49
$37|111$ so if $111|M$ then $37|M$.
– fleablood
Aug 2 at 15:49
1
1
Did you do something wrong? Shouldn't it be "$x^2+x+1 nmid x^2n+x^n+1$ if and only if $3mid n$"? For every integer $n$ divisible by $3$, $$x^2n+x^n+1equiv 3pmodx^2+x+1,.$$
– Batominovski
Aug 2 at 15:52
Did you do something wrong? Shouldn't it be "$x^2+x+1 nmid x^2n+x^n+1$ if and only if $3mid n$"? For every integer $n$ divisible by $3$, $$x^2n+x^n+1equiv 3pmodx^2+x+1,.$$
– Batominovski
Aug 2 at 15:52
@Batominovski In the book it has $x^2+x+1 | x^2n+x^n+1$ iff $3nmid n$. The solution proved it by checking each case: $n=3k$, $n=3k+1$ and $n=3k+2$. Using the property that $x^3-1 | x^3m-1$, and factoring using difference of cubes.
– john fowles
Aug 2 at 15:56
@Batominovski In the book it has $x^2+x+1 | x^2n+x^n+1$ iff $3nmid n$. The solution proved it by checking each case: $n=3k$, $n=3k+1$ and $n=3k+2$. Using the property that $x^3-1 | x^3m-1$, and factoring using difference of cubes.
– john fowles
Aug 2 at 15:56
 |Â
show 5 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f2870206%2ffor-which-n-is-371-underbrace0-cdots-0-textn-times1-underbrace0-cdots%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
1
What's your question. You asked a question. Explained everything you knew. And posted an answer that gave the complete answer in coherent explanation. So.... what's your question.
– fleablood
Aug 2 at 15:47
1
I said that my interpretation of the solution was we only proved divisibility by $111$ not $37$, which is what the question is asking
– john fowles
Aug 2 at 15:49
3
$37|111$ so if $111|M$ then $37|M$.
– fleablood
Aug 2 at 15:49
1
Did you do something wrong? Shouldn't it be "$x^2+x+1 nmid x^2n+x^n+1$ if and only if $3mid n$"? For every integer $n$ divisible by $3$, $$x^2n+x^n+1equiv 3pmodx^2+x+1,.$$
– Batominovski
Aug 2 at 15:52
@Batominovski In the book it has $x^2+x+1 | x^2n+x^n+1$ iff $3nmid n$. The solution proved it by checking each case: $n=3k$, $n=3k+1$ and $n=3k+2$. Using the property that $x^3-1 | x^3m-1$, and factoring using difference of cubes.
– john fowles
Aug 2 at 15:56