For which $n$ is $37|1underbrace0cdots 0_textn-times1underbrace0cdots 0_textn-times1$

The name of the pictureThe name of the pictureThe name of the pictureClash 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$



enter image description here




Solution



enter image description here







share|cite|improve this question

















  • 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















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$



enter image description here




Solution



enter image description here







share|cite|improve this question

















  • 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













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$



enter image description here




Solution



enter image description here







share|cite|improve this question













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$



enter image description here




Solution



enter image description here









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








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













  • 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
















active

oldest

votes











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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
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%2f2870206%2ffor-which-n-is-371-underbrace0-cdots-0-textn-times1-underbrace0-cdots%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Comments

Popular posts from this blog

What is the equation of a 3D cone with generalised tilt?

Color the edges and diagonals of a regular polygon

Relationship between determinant of matrix and determinant of adjoint?