{"id":63184,"date":"2016-06-15T23:14:10","date_gmt":"2016-06-16T02:14:10","guid":{"rendered":"http:\/\/clubes.obmep.org.br\/blog\/?page_id=63184"},"modified":"2025-08-22T15:53:06","modified_gmt":"2025-08-22T18:53:06","slug":"problema-de-olimpiada-cordilheiras","status":"publish","type":"page","link":"https:\/\/clubes.obmep.org.br\/blog\/problema-de-olimpiada-cordilheiras\/","title":{"rendered":".Problema de Olimp\u00edada: Cordilheiras num\u00e9ricas"},"content":{"rendered":"<p style=\"margin:30px\">\n<div class=\"g1n\">\n<p class=\"tit\" style=\"line-height:25px;margin:10px\">Problema<\/p>\n<hr style=\"height:1px; width:100%;background-color:#800000; margin-top: 10px; margin-bottom: 20px;border: 0 none\"\/>\nUm n\u00famero de cinco algarismos  [tex]abcde[\/tex] diz-se uma <strong><em>cordilheira<\/em><\/strong> se os seus algarismos verificarem as desigualdades [tex] \\,  \\, a \\lt  b \\gt c \\lt d \\gt e[\/tex].<br \/>\nPor exemplo, [tex]37452[\/tex] \u00e9 uma cordilheira.<br \/>\n<strong>Quantas cordilheiras existem?<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/clubes.obmep.org.br\/blog\/wp-content\/uploads\/2016\/06\/cordilheira.png\" style=\"border:0px;\" alt=\"cordilheira\" width=\"273\" height=\"124\" class=\"aligncenter size-full wp-image-63086\" \/><br \/>\n<span style=font-size:12px;\"> (Aqui, a nota\u00e7\u00e3o  [tex]abcde[\/tex] n\u00e3o indicar\u00e1 um produto e sim a representa\u00e7\u00e3o de um n\u00famero de cinco algarismos no sistema decimal.)<\/span>\n<\/div>\n<p style=\"margin:30px\">\n<div class=\"g1n\">\n<p class=\"tit\" style=\"line-height:30px;margin:10px\">Solu\u00e7\u00e3o<\/p>\n<hr style=\"height:1px; width:100%;background-color:#800000; margin-top: 10px; margin-bottom: 20px;border: 0 none\"\/>\nConsidere uma cordilheira [tex]abcde[\/tex].<br \/>\n<strong>(1)<\/strong> Observamos, inicialmente, que  [tex]a, \\, b, \\, c, \\, d, \\, e[\/tex] s\u00e3o algarismos; logo podem assumir, apenas, os valores:<br \/>\n<span style=\"padding-left:40px; color: #1E90FF;\">[tex]0, \\, 1, \\, 2, \\, 3, \\, 4, \\, 5, \\, 6, \\, 7, \\, 8, \\, 9.[\/tex]<\/span><br \/>\n<strong>(2)<\/strong> Pelas exig\u00eancias do problema, [tex]c[\/tex] \u00e9 estritamente menor do que [tex] \\, b \\, [\/tex] e [tex] \\, d[\/tex], assim [tex]c[\/tex] n\u00e3o pode ser [tex]9[\/tex], caso contr\u00e1rio n\u00e3o ter\u00edamos valores para [tex] \\, b \\, [\/tex] e [tex] \\, d[\/tex]. Assim:<br \/>\n<span style=\"padding-left:40px; color: #1E90FF;\"><strong>o algarismo central [tex]c[\/tex] de uma cordilheira pode variar de [tex]0 \\, [\/tex] a [tex] \\, 8[\/tex].<\/strong><\/span><br \/>\n<strong>(3)<\/strong> Como j\u00e1 sabemos que [tex]c \\, [\/tex] \u00e9 estritamente menor do que [tex]b \\, [\/tex] e [tex] \\, d[\/tex], ent\u00e3o:<br \/>\n<span style=\"padding-left:40px; color: #1E90FF;\"><strong>para cada valor de [tex]c[\/tex], os algarismos [tex]b \\, [\/tex] e [tex] \\, d[\/tex] podem variar de [tex]c+1[\/tex] at\u00e9 [tex]9[\/tex].<\/strong> <\/span><br \/>\n<strong>(4)<\/strong> Por outro lado, [tex]a[\/tex] \u00e9 estritamente menor do que [tex]b \\, [\/tex] e, tamb\u00e9m, [tex]a\\ne 0[\/tex], pois a cordilheira tem cinco algarismos. Com isso, para cada valor de [tex]b[\/tex], o algarismo [tex]a[\/tex] pode variar de [tex]1[\/tex] at\u00e9 [tex]b-1[\/tex], ou seja:<br \/>\n<span style=\"padding-left:40px; color: #1E90FF;\"><strong>para cada valor de [tex]b[\/tex], existem [tex]b-1[\/tex] possibilidades para [tex]a[\/tex]<\/strong>. <\/span><br \/>\n<strong>(5)<\/strong> Finalmente, sabemos que [tex]e[\/tex] \u00e9 estritamente menor do que [tex]d[\/tex]; portanto, para cada  valor de [tex]d[\/tex], o algarismo [tex]e[\/tex] pode variar de [tex]0[\/tex] at\u00e9 [tex]d-1[\/tex]. Assim:<br \/>\n<span style=\"padding-left:40px; color: #1E90FF;\"><strong>para cada valor de [tex]d[\/tex], existem [tex]d[\/tex] possibilidades para [tex]e[\/tex]<\/strong>. <\/span><br \/>\nVamos reunir essas informa\u00e7\u00f5es em um quadro, para ajudar na an\u00e1lise.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/clubes.obmep.org.br\/blog\/wp-content\/uploads\/2016\/06\/f005.png\" style=\"border:0px;\" alt=\"f005\" width=\"757\" height=\"347\" class=\"aligncenter size-full wp-image-63177\" srcset=\"https:\/\/clubes.obmep.org.br\/blog\/wp-content\/uploads\/2016\/06\/f005.png 757w, https:\/\/clubes.obmep.org.br\/blog\/wp-content\/uploads\/2016\/06\/f005-300x138.png 300w\" sizes=\"auto, (max-width: 757px) 100vw, 757px\" \/><\/p>\n<p> Assim, para um dado valor de [tex]c[\/tex] ent\u00e3o:<\/p>\n<ul>\n<li>existem [tex]c + (c + 1) + \\dots + 8[\/tex] possibilidades para a escolha dos algarismos [tex]a \\, [\/tex] e [tex] \\, b[\/tex];<\/li>\n<li>existem [tex](c + 1) + (c + 2) + \\dots + 9[\/tex] possibilidades para a escolha dos algarismos [tex]d \\, [\/tex] e [tex] \\, e[\/tex].<\/li>\n<\/ul>\n<p>Dessa forma:<\/p>\n<p style=\"margin:10px 10px 10px 20px;\">\n<span style=\"color:#1E90FF;\">&#9658; <\/span> se [tex]c = 0[\/tex], h\u00e1<br \/>\n<span style=\"font-size:13.5px\">[tex]\\quad (0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8) \u00d7 (1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9) = 1620[\/tex]<\/span> possibilidades<br \/>\npara os algarismos [tex]a, \\, b, \\, d, \\, e[\/tex] (lembre que [tex]a[\/tex] n\u00e3o pode ser [tex]0[\/tex], por isso aparece um [tex]0[\/tex] na primeira parcela do primeiro fator);<br \/>\n<span style=\"color:#1E90FF;\">&#9658; <\/span> se [tex]c = 1[\/tex], h\u00e1<br \/>\n[tex]\\quad (1 + 2 + 3 + 4 + 5 + 6 + 7 + 8) \u00d7 (2 + 3 + 4 + 5 + 6 + 7 + 8 + 9) = 1584[\/tex] possibilidades<br \/>\npara os algarismos [tex]a, \\, b, \\, d, \\, e[\/tex];<br \/>\n<span style=\"color:#1E90FF;\">&#9658; <\/span> se [tex]c = 2[\/tex], h\u00e1<br \/>\n[tex]\\quad (2 + 3 + 4 + 5 + 6 + 7 + 8) \u00d7 (3 + 4 + 5 + 6 + 7 + 8 + 9) = 1470[\/tex] possibilidades<br \/>\npara os algarismos [tex]a, \\, b, \\, d, \\, e[\/tex];<br \/>\n<span style=\"color:#1E90FF;\">&#9658; <\/span> se [tex]c = 3[\/tex], h\u00e1<br \/>\n[tex]\\quad (3 + 4 + 5 + 6 + 7 + 8)\u00d7(4 + 5 + 6 + 7 + 8 + 9) = 1287[\/tex] possibilidades<br \/>\npara os algarismos [tex]a, \\, b, \\, d, \\, e[\/tex];<br \/>\n<span style=\"color:#1E90FF;\">&#9658; <\/span> se [tex]c = 4[\/tex], h\u00e1<br \/>\n[tex]\\quad (4 + 5 + 6 + 7 + 8) \u00d7 (5 + 6 + 7 + 8 + 9) = 1050[\/tex] possibilidades<br \/>\npara os algarismos [tex]a, \\, b, \\, d, \\, e[\/tex];<br \/>\n<span style=\"color:#1E90FF;\">&#9658; <\/span> se [tex]c = 5[\/tex], h\u00e1<br \/>\n[tex]\\quad (5 + 6 + 7 + 8) \u00d7 (6 + 7 + 8 + 9) = 780[\/tex] possibilidades<br \/>\npara os algarismos [tex]a, \\, b, \\, d, \\, e[\/tex];<br \/>\n<span style=\"color:#1E90FF;\">&#9658; <\/span> se [tex]c = 6[\/tex], h\u00e1<br \/>\n[tex]\\quad (6 + 7 + 8) \u00d7 (7 + 8 + 9) = 504[\/tex]<br \/>\npossibilidades para os algarismos [tex]a, \\, b, \\, d, \\, e[\/tex];<br \/>\n<span style=\"color:#1E90FF;\">&#9658; <\/span> se [tex]c = 7[\/tex], h\u00e1<br \/>\n[tex]\\quad (7 + 8) \u00d7 (8 + 9) = 255[\/tex] possibilidades<br \/>\npara os algarismos [tex]a, \\, b, \\, d, \\, e[\/tex];<br \/>\n<span style=\"color:#1E90FF;\">&#9658; <\/span> se [tex]c = 8[\/tex], h\u00e1<br \/>\n[tex]\\quad 8 \u00d7 9 = 72[\/tex] possibilidades<br \/>\npara os algarismos [tex]a, \\, b, \\, d, \\, e[\/tex]. <\/p>\n<p>Portanto, como<br \/>\n<span style=\"padding-left:40px;\"><\/span> ou [tex]c = 0[\/tex], ou [tex]c = 1[\/tex], ou [tex]c = 2[\/tex], ou [tex]c = 3[\/tex], ou [tex]c = 4[\/tex], ou [tex]c = 5[\/tex], ou [tex]c = 6[\/tex], ou [tex]c = 7[\/tex], ou [tex]c = 8[\/tex],<br \/>\nexistem<br \/>\n<span style=\"padding-left:40px;\"><\/span>[tex]\\boxed{1620 + 1584 + 1470 + 1287 + 1050 + 780 + 504 + 255 + 72 = 8622}[\/tex] cordilheiras.<\/p>\n<hr style=\"height:1px; width:100%;background-color:#800000; margin-top: 10px; margin-bottom: 15px;border: 0 none\"\/>\n<p class=\"g2\" style=\"line-height:20px;\">Solu\u00e7\u00e3o elaborada pelos <strong>Moderadores do Blog<\/strong>.<\/p>\n<\/div>\n<p style=\"margin:30px\">\n<div class=\"gg\">\n<strong>XXX OPM &#8211; 2012<\/strong> &#8211; Olimp\u00edadas Portuguesas de Matem\u00e1tica<br \/>\nFinal &#8211; Categoria B<br \/>\n10\u00ba\/12\u00ba anos\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Problema Um n\u00famero de cinco algarismos [tex]abcde[\/tex] diz-se uma cordilheira se os seus algarismos verificarem as desigualdades [tex] \\, \\, a \\lt b \\gt c \\lt d \\gt e[\/tex]. Por exemplo, [tex]37452[\/tex] \u00e9 uma cordilheira. Quantas cordilheiras existem?<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-onecolumn.php","meta":{"footnotes":""},"class_list":["post-63184","page","type-page","status-publish","hentry","nodate","item-wrap"],"_links":{"self":[{"href":"https:\/\/clubes.obmep.org.br\/blog\/wp-json\/wp\/v2\/pages\/63184","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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/clubes.obmep.org.br\/blog\/wp-json\/wp\/v2\/comments?post=63184"}],"version-history":[{"count":21,"href":"https:\/\/clubes.obmep.org.br\/blog\/wp-json\/wp\/v2\/pages\/63184\/revisions"}],"predecessor-version":[{"id":226350,"href":"https:\/\/clubes.obmep.org.br\/blog\/wp-json\/wp\/v2\/pages\/63184\/revisions\/226350"}],"wp:attachment":[{"href":"https:\/\/clubes.obmep.org.br\/blog\/wp-json\/wp\/v2\/media?parent=63184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}