{"id":222566,"date":"2024-10-18T14:42:56","date_gmt":"2024-10-18T17:42:56","guid":{"rendered":"http:\/\/clubes.obmep.org.br\/blog\/?page_id=222566"},"modified":"2024-10-18T14:52:14","modified_gmt":"2024-10-18T17:52:14","slug":"problemao-acrescentando-algarismos-em-x","status":"publish","type":"page","link":"https:\/\/clubes.obmep.org.br\/blog\/problemao-acrescentando-algarismos-em-x\/","title":{"rendered":".Problem\u00e3o: Acrescentando algarismos em X"},"content":{"rendered":"<p style=\"margin:10px\">\n<div class=\"g1n\" style=\"line-height:25px;padding-bottom:15px\">\n<p class=\"tit\" style=\"line-height:25px;margin:10px\">Problema<br \/>\n<span style=\"font-size:12px;color:#800000\"> (Indicado a partir do 1\u00ba ano do E. M.)<\/span><\/p>\n<hr style=\"height:1px; width:100%;background-color:#800000; margin-top: 10px; margin-bottom: 20px;border: 0 none\"\/>\nSeja [tex]X[\/tex] o menor n\u00famero natural com a propriedade de que, ao inserir qualquer algarismo n\u00e3o nulo [tex]c[\/tex] ap\u00f3s o \u00faltimo algarismo de [tex]X[\/tex] (ou seja, \u00e0 direita de [tex]X[\/tex]), o n\u00famero resultante \u00e9 sempre divis\u00edvel por [tex]c[\/tex].<br \/>\nQual \u00e9 o valor de [tex]X[\/tex]?<\/p>\n<p style=\"font-size: 12px;text-align:right;line-height:1px;\">Adaptado de <strong> 2\u00ba TME\u00b2<\/strong>.<\/p>\n<\/div>\n<p style=\"margin:40px\">\n<div class=\"g1n\" style=\"line-height:28px;\">\n<p class=\"tit\" style=\"line-height:28px;margin:10px\">Solu\u00e7\u00e3o 1<\/p>\n<hr style=\"height:1px; width:100%;background-color:#800000; margin-top: 1px; margin-bottom: 20px;border: 0 none\"\/>\nAp\u00f3s acrescentarmos o algarismo [tex]c[\/tex] \u00e0 direita de [tex]X[\/tex], o novo n\u00famero poder\u00e1 ser escrito da forma [tex]10X+c[\/tex]. Precisamos, portanto, que o algarismo [tex]c[\/tex] divida a express\u00e3o [tex]10X+c[\/tex]. Agora observe que [tex]c[\/tex] j\u00e1 divide a parcela [tex]c[\/tex] dessa express\u00e3o. Assim, nos resta impor condi\u00e7\u00f5es a [tex]X[\/tex] para que [tex]c[\/tex] divida a outra parcela ([tex]10X[\/tex]). Como [tex]c[\/tex] pode ser qualquer algarismo de [tex]1[\/tex] a [tex]9[\/tex], ent\u00e3o precisamos que [tex]10X[\/tex] seja m\u00faltiplo de qualquer um desses nove algarismos e, al\u00e9m disso, seja o menor poss\u00edvel. Portanto, devemos ter [tex]10X = mmc(1,2,3,4,5,6,7,8,9) = 2520\\Rightarrow \\boxed{X = 252}[\/tex].<\/p>\n<hr style=\"height:1px; width:100%;background-color:#800000; margin-top: 10px; margin-bottom: 15px;border: 0 none\"\/>\n<p class=\"g2\" >Solu\u00e7\u00e3o elaborada pelos <strong>Moderadores do Blog<\/strong>.<\/p>\n<\/div>\n<p style=\"margin:40px\">\n<div class=\"cb36 g1\" style=\"margin: 30px; line-height: 25px; width: 80%; margin-left: auto; margin-right: auto;\">\nA segunda solu\u00e7\u00e3o utiliza congru\u00eancia modular. Este n\u00e3o \u00e9 um assunto curricular do ensino b\u00e1sico, mas \u00e9 muito \u00fatil em olimp\u00edadas. Assim, n\u00e3o deixe de dar uma passadinha na nossa Sala sobre a <a href=\"http:\/\/clubes.obmep.org.br\/blog\/sala-de-estudo-aritmetica-dos-restos\/\" rel=\"noopener\" target=\"_blank\">Aritm\u00e9tica dos Restos<\/a>.\n<\/div>\n<div class=\"g1n\" style=\"line-height:28px;\">\n<p class=\"tit\" style=\"line-height:28px;margin:10px\">Solu\u00e7\u00e3o 2<\/p>\n<hr style=\"height:1px; width:100%;background-color:#800000; margin-top: 1px; margin-bottom: 20px;border: 0 none\"\/>\n\tNote que, quando inserimos um algarismo adicional [tex]c[\/tex] ap\u00f3s o \u00faltimo algarismo de um n\u00famero [tex]X[\/tex], estamos fazendo [tex]10\\cdot X+c[\/tex]. <\/p>\n<p>Pelo enunciado, temos que [tex]c \\mid 10 \\cdot X + c[\/tex], isto \u00e9, [tex]c[\/tex] divide esse novo n\u00famero para qualquer [tex]c\\in\\{1,2,\u2026,9\\}[\/tex]. Usando que [tex]c \\mid c[\/tex], obtemos, por combina\u00e7\u00e3o linear:<\/p>\n<p>[tex]c \\mid 10 \\cdot X + c &#8211; c[\/tex], e portanto, [tex]c \\mid 10 \\cdot X[\/tex].<\/p>\n<p>Basta, ent\u00e3o, que satisfa\u00e7amos essa divisibilidade.<\/p>\n<p>Para [tex]c=1[\/tex], a rela\u00e7\u00e3o [tex]c \\mid 10 \\cdot X[\/tex] se satisfaz, pois 1 divide todo n\u00famero natural.<\/p>\n<p>Note que podemos escrever [tex]10 = 2 \\cdot 5[\/tex], e portanto [tex]c \\mid 2 \\cdot 5 \\cdot X[\/tex].<\/p>\n<p>Isso significa que, quando [tex]c = 2[\/tex] ou [tex]c = 5[\/tex], a rela\u00e7\u00e3o [tex]c \\mid  2\\cdot 5  \\cdot X[\/tex] tamb\u00e9m se satisfaz, pois [tex]10\\cdot X[\/tex] \u00e9 m\u00faltiplo de 5 e de 2 para todo [tex]X[\/tex] natural.<\/p>\n<p>Observe, agora, que [tex]10\\cdot X[\/tex] tamb\u00e9m deve ser m\u00faltiplo de 3, 6 e 9.<\/p>\n<p>Com isso em mente, repare que se [tex]10\\cdot X[\/tex] for m\u00faltiplo de 9, ele tamb\u00e9m \u00e9 m\u00faltiplo de 3 e de 6. Isso ocorre pois todo m\u00faltiplo de 9 \u00e9 tamb\u00e9m m\u00faltiplo de 3, e sendo assim, como [tex]10\\cdot X[\/tex] deve ser m\u00faltiplo de 3 e possui um fator 2 (do n\u00famero 10), ele tamb\u00e9m \u00e9 m\u00faltiplo de 6. Sendo assim, podemos escrever que:<\/p>\n<p>[tex]X \\equiv 0 \\pmod 9[\/tex], mostrando que [tex]X[\/tex] deve ser m\u00faltiplo de 9.<\/p>\n<p>Devemos ter tamb\u00e9m que [tex]10\\cdot X[\/tex] \u00e9 m\u00faltiplo de 4 e de 8. Como, novamente, [tex]10\\cdot X[\/tex] j\u00e1 possui um fator 2 na multiplica\u00e7\u00e3o, precisamos apenas que [tex]X[\/tex] seja m\u00faltiplo de 4, pois assim, [tex]10\\cdot X[\/tex] ser\u00e1 m\u00faltiplo de 4 e de 8.<\/p>\n<p>Logo, temos que [tex]X \\equiv 0 \\pmod 4[\/tex].<\/p>\n<p>Por fim, devemos ter que [tex]10\\cdot X[\/tex] \u00e9 um m\u00faltiplo de 7, e a \u00fanica forma que temos de fazer isso \u00e9 fazendo [tex]X \\equiv 0 \\pmod 7[\/tex].<br \/>\nLogo, para satisfazermos o enunciado, o seguinte sistema de congru\u00eancias deve ser solucionado:<\/p>\n<p>[tex]\\qquad \\begin{cases}<br \/>\nX\\equiv 0 \\pmod 9 \\\\<br \/>\nX \\equiv 0 \\pmod 4 \\\\<br \/>\nX \\equiv 0 \\pmod 7<br \/>\n\\end{cases}[\/tex]<\/p>\n<p>Como 9, 4 e 7 s\u00e3o todos primos entre si e [tex]X[\/tex] \u00e9 m\u00faltiplo de todos eles, basta que [tex]X[\/tex] seja o m\u00ednimo m\u00faltiplo comum entre eles, isto \u00e9, [tex]X=4\\cdot 7 \\cdot 9 = 252[\/tex].<\/p>\n<p>Essa minimalidade nos garante que [tex]X[\/tex] \u00e9 o menor n\u00famero com tal propriedade, que pode ser verificada:<\/p>\n<p>[tex]\\qquad \\begin{align}&#038;2521\\div 1=2521;  &#038;2524\\div 4 &#038;=631; &#038;  2527\\div 7 &#038;=361;\\\\<br \/>\n&#038;2522\\div 2 =1261;  &#038;2525\\div 5 &#038;=505; &#038;  2528\\div 8 &#038;=316;\\\\<br \/>\n&#038;2523\\div 3 =841;  &#038;2526\\div 6&#038; =421; &#038;  2529\\div 9 &#038;=281.<br \/>\n\\end{align}[\/tex]<\/p>\n<hr style=\"height:1px; width:100%;background-color:#800000; margin-top: 10px; margin-bottom: 15px;border: 0 none\"\/>\n<p class=\"g2\" >Solu\u00e7\u00e3o elaborada pelo Clube <strong>Phidias<\/strong>.<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"g3\">\nParticipou da discuss\u00e3o o Clube <strong>Phidias<\/strong>.<\/div>\n<p style=\"margin:10px\">\n","protected":false},"excerpt":{"rendered":"<p>Problema (Indicado a partir do 1\u00ba ano do E. M.) Seja [tex]X[\/tex] o menor n\u00famero natural com a propriedade de que, ao inserir qualquer algarismo n\u00e3o nulo [tex]c[\/tex] ap\u00f3s o \u00faltimo algarismo de [tex]X[\/tex] (ou seja, \u00e0 direita de [tex]X[\/tex]), o n\u00famero resultante \u00e9 sempre divis\u00edvel por [tex]c[\/tex]. Qual \u00e9 o valor de [tex]X[\/tex]? Adaptado &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/clubes.obmep.org.br\/blog\/problemao-acrescentando-algarismos-em-x\/\">Continue lendo<\/a><\/p>\n","protected":false},"author":254,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-onecolumn.php","meta":{"footnotes":""},"class_list":["post-222566","page","type-page","status-publish","hentry","nodate","item-wrap"],"_links":{"self":[{"href":"https:\/\/clubes.obmep.org.br\/blog\/wp-json\/wp\/v2\/pages\/222566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clubes.obmep.org.br\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/clubes.obmep.org.br\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/clubes.obmep.org.br\/blog\/wp-json\/wp\/v2\/users\/254"}],"replies":[{"embeddable":true,"href":"https:\/\/clubes.obmep.org.br\/blog\/wp-json\/wp\/v2\/comments?post=222566"}],"version-history":[{"count":7,"href":"https:\/\/clubes.obmep.org.br\/blog\/wp-json\/wp\/v2\/pages\/222566\/revisions"}],"predecessor-version":[{"id":222902,"href":"https:\/\/clubes.obmep.org.br\/blog\/wp-json\/wp\/v2\/pages\/222566\/revisions\/222902"}],"wp:attachment":[{"href":"https:\/\/clubes.obmep.org.br\/blog\/wp-json\/wp\/v2\/media?parent=222566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}