{"id":2539,"date":"2021-01-07T23:03:25","date_gmt":"2021-01-08T02:03:25","guid":{"rendered":"https:\/\/www.blogs.unicamp.br\/zero\/?p=2539"},"modified":"2022-05-23T17:42:53","modified_gmt":"2022-05-23T20:42:53","slug":"it-is-easier-to-win-the-lottery-than-to-guess-the-next-term-in-the-number-sequence-2-3-5-7-11","status":"publish","type":"post","link":"https:\/\/www.blogs.unicamp.br\/zero\/2539\/","title":{"rendered":"It is easier to win the lottery than to guess the next term in the number sequence [2, 3, 5, 7, 11, ?]"},"content":{"rendered":"\n<p>One thing that I have come to loathe are those so-called \u2018logic challenges\u2019 in which some values \u200b\u200bare given in sequence and ask you to \u2018find out\u2019 which one is next. A very popular example in Brazil is this:<\/p>\n\n\n\n<p class=\"has-text-align-center\">2, 10, 12, 16, 17, 18, 19, ?<\/p>\n\n\n\n<p>The &#8216;right&#8217; answer to this challenge would be 200, as the expected &#8216;standard&#8217; involves Natural numbers starting with the letter D. The point is that without a rule behind how this sequence works, guessing the next term is less than unlikely, but impossible. Like, I give you seven terms in a row and challenge you to find the eighth term:<\/p>\n\n\n\n<p class=\"has-text-align-center\">0, 25, 50, 70, 86, 96, 100, ?<\/p>\n\n\n\n<p>I&#8217;ll even plot these points on a graph to see if it helps us to have any ideas.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"605\" height=\"340\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/01\/adivinhando-o-proximo-valor.jpg\" alt=\"\" class=\"wp-image-2532\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/01\/adivinhando-o-proximo-valor.jpg 605w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/01\/adivinhando-o-proximo-valor-300x169.jpg 300w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/figure><\/div>\n\n\n\n<p>It is a growing curve, but it seems that its growth is greater at the beginning than at the end, so thinking it could guess that the answer is somewhere between 101 and 103. And it would certainly be wrong, because the answer thinking about the &#8216;correct pattern&#8217; would be 96. After all, this is the 100 * sen (x) function with x varying by 15 degrees.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"714\" height=\"487\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/01\/2021-01-05-092350_1366x768_scrot.png\" alt=\"\" class=\"wp-image-2533\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/01\/2021-01-05-092350_1366x768_scrot.png 714w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/01\/2021-01-05-092350_1366x768_scrot-300x205.png 300w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/01\/2021-01-05-092350_1366x768_scrot-130x90.png 130w\" sizes=\"(max-width: 714px) 100vw, 714px\" \/><\/figure><\/div>\n\n\n\n<p>That is, after reaching 100, the function will decrease until it reaches -100. Realize that \u2018discovering\u2019 this pattern is not as simple as they say.<\/p>\n\n\n\n<p>Another legal example, think about the following sequence:<\/p>\n\n\n\n<p class=\"has-text-align-center\">2, 3, 5, 7, 11<\/p>\n\n\n\n<p>It looks like the sequence of prime numbers. But it can also be the set of roots of the following polynomial:<\/p>\n\n\n\n<p class=\"has-text-align-center\">-2310 + 2927.x &#8211; 1358.x\u00b2 + 288.x\u00b3 &#8211; 28.x\u2074 + x\u2075<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"628\" height=\"391\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/01\/2021-01-05-093406_1366x768_scrot.png\" alt=\"\" class=\"wp-image-2534\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/01\/2021-01-05-093406_1366x768_scrot.png 628w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/01\/2021-01-05-093406_1366x768_scrot-300x187.png 300w\" sizes=\"(max-width: 628px) 100vw, 628px\" \/><\/figure><\/div>\n\n\n\n<p>If we think that the challenge asks for the next term without informing us which &#8216;function&#8217; controls the sequence, we are at a crossroads, after all we cannot decide if we are considering the sequence of the prime numbers, in which case the next term would be 13, or a polynomial function of degree 6 with 6 real roots, which implies the existence of non-enumerable solutions represented as a surface in the three-dimensional space of all possible graphs.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"461\" height=\"456\" src=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/01\/2021-01-05-093829_1366x768_scrot.png\" alt=\"\" class=\"wp-image-2535\" srcset=\"https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/01\/2021-01-05-093829_1366x768_scrot.png 461w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/01\/2021-01-05-093829_1366x768_scrot-300x297.png 300w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/01\/2021-01-05-093829_1366x768_scrot-24x24.png 24w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/01\/2021-01-05-093829_1366x768_scrot-48x48.png 48w, https:\/\/www.blogs.unicamp.br\/zero\/wp-content\/uploads\/sites\/187\/2021\/01\/2021-01-05-093829_1366x768_scrot-96x96.png 96w\" sizes=\"(max-width: 461px) 100vw, 461px\" \/><\/figure><\/div>\n\n\n\n<p>Or in fact, any other mathematical function (bizarre or not) that intercepts at least the 5 known points could be given as a &#8216;challenge&#8217;. This is somewhat unfair even in a world where people believe they have \u2018great chances\u2019 of winning in a famous Brazilian lottery called the Mega-Sena. Because your chance of winning at Mega-Sena with a single ticket that is 1\/50.063.860 (approximately 0,000002%), and I can say, that your chance of guessing the sixth term in this sequence is much less than that amount .<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One thing that I have come to loathe are those so-called \u2018logic challenges\u2019 in which some values \u200b\u200bare given in<\/p>\n","protected":false},"author":434,"featured_media":2517,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"pgc_sgb_lightbox_settings":"","_vp_format_video_url":"","_vp_image_focal_point":[],"footnotes":""},"categories":[1218],"tags":[],"class_list":["post-2539","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-v-5-ed-2"],"_links":{"self":[{"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/posts\/2539","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/users\/434"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/comments?post=2539"}],"version-history":[{"count":3,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/posts\/2539\/revisions"}],"predecessor-version":[{"id":2542,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/posts\/2539\/revisions\/2542"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/media\/2517"}],"wp:attachment":[{"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/media?parent=2539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/categories?post=2539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blogs.unicamp.br\/zero\/wp-json\/wp\/v2\/tags?post=2539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}