{"id":26328,"date":"2025-06-19T12:29:11","date_gmt":"2025-06-19T12:29:11","guid":{"rendered":"https:\/\/gaviki.com\/blog\/?p=26328"},"modified":"2025-06-19T12:29:16","modified_gmt":"2025-06-19T12:29:16","slug":"a-leprechaun-places-a-magic-penny-under-a-girls-pillow","status":"publish","type":"post","link":"https:\/\/gaviki.com\/blog\/a-leprechaun-places-a-magic-penny-under-a-girls-pillow\/","title":{"rendered":"A leprechaun places a magic penny under a girl&#8217;s pillow."},"content":{"rendered":"\n<p>A leprechaun places a magic penny under a girl&#8217;s pillow. The next night there are 2 magic pennies under her pillow. The following morning she finds four pennies. Apparently, while she sleeps, each penny turns into two magic pennies. The total number of pennies seen under the pillow each day is the grand total; that is, the pennies from each of the previous days are not being stored away until more pennies magically appear. How many days would elapse before she has a total of more than $21 billion? (Proceed by trial and error.)<\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-green-cyan-color\">The Correct Answer and Explanation is:<\/mark><\/strong><\/p>\n\n\n\n<p>We are given a scenario where each night, every magic penny doubles in number. This is an example of exponential growth. The total number of pennies under the pillow each morning follows this pattern:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Day 1: 1 penny<\/li>\n\n\n\n<li>Day 2: 2 pennies<\/li>\n\n\n\n<li>Day 3: 4 pennies<\/li>\n\n\n\n<li>Day 4: 8 pennies<\/li>\n\n\n\n<li>And so on&#8230;<\/li>\n<\/ul>\n\n\n\n<p>This follows the pattern:<br><strong>Total pennies on day <em>n<\/em> = 2^(n &#8211; 1)<\/strong><\/p>\n\n\n\n<p>We want to find the <strong>smallest day <em>n<\/em><\/strong> such that the total number of pennies is <strong>more than 21 billion<\/strong>, or:<br>2n\u22121&gt;21,\u2009\u2063000,\u2009\u2063000,\u2009\u20630002^{n &#8211; 1} &gt; 21,\\!000,\\!000,\\!0002n\u22121&gt;21,000,000,000<\/p>\n\n\n\n<p>Let\u2019s try a few values by trial and error:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>2\u00b9\u2070 = 1,024<\/li>\n\n\n\n<li>2\u00b2\u2070 = 1,048,576<\/li>\n\n\n\n<li>2\u00b3\u2070 \u2248 1.07 billion<\/li>\n\n\n\n<li>2\u00b3\u00b9 \u2248 2.15 billion<\/li>\n\n\n\n<li>2\u00b3\u00b2 \u2248 4.29 billion<\/li>\n\n\n\n<li>2\u00b3\u00b3 \u2248 8.59 billion<\/li>\n\n\n\n<li>2\u00b3\u2074 \u2248 17.18 billion<\/li>\n\n\n\n<li>2\u00b3\u2075 \u2248 34.36 billion<\/li>\n<\/ul>\n\n\n\n<p>So, <strong>2\u00b3\u2075 is the first power that exceeds 21 billion<\/strong>.<\/p>\n\n\n\n<p>Since 2^(n &#8211; 1) = 2\u00b3\u2075, then<br><strong>n &#8211; 1 = 35 \u2192 n = 36<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u2705 Final Answer: <strong>36 days<\/strong><\/h3>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Explanation <\/h3>\n\n\n\n<p>This problem involves exponential growth where the number of pennies doubles each night. On the first night, the girl has 1 magic penny. The next night, each penny turns into 2 pennies. Therefore, the growth follows powers of 2. The total number of pennies after <em>n<\/em> days is given by the expression 2^(n &#8211; 1), since we start with 1 penny on the first day (2\u2070).<\/p>\n\n\n\n<p>To find when the total exceeds 21 billion, we need to find the smallest power of 2 greater than 21,000,000,000. By testing successive values of 2 raised to increasing powers, we find that 2\u00b3\u2074 equals approximately 17.18 billion, which is still under 21 billion. However, 2\u00b3\u2075 equals around 34.36 billion, which is more than 21 billion. That means on the 35th day, the total number of pennies is still under the limit, but on the 36th day, the count exceeds 21 billion.<\/p>\n\n\n\n<p>This trial and error approach is effective for problems with exponential growth where a formula is known but the goal is to determine when a threshold is crossed. It is important to track the powers carefully and check values systematically. The key is understanding that doubling every day leads to rapid growth \u2014 in just over a month, the number can go from a single penny to billions.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"722\" height=\"1024\" src=\"https:\/\/gaviki.com\/blog\/wp-content\/uploads\/2025\/06\/learnexams-banner10-98.jpeg\" alt=\"\" class=\"wp-image-26329\" srcset=\"https:\/\/gaviki.com\/blog\/wp-content\/uploads\/2025\/06\/learnexams-banner10-98.jpeg 722w, https:\/\/gaviki.com\/blog\/wp-content\/uploads\/2025\/06\/learnexams-banner10-98-212x300.jpeg 212w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>A leprechaun places a magic penny under a girl&#8217;s pillow. The next night there are 2 magic pennies under her pillow. The following morning she finds four pennies. Apparently, while she sleeps, each penny turns into two magic pennies. The total number of pennies seen under the pillow each day is the grand total; that [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-26328","post","type-post","status-publish","format-standard","hentry","category-quiz-questions"],"_links":{"self":[{"href":"https:\/\/gaviki.com\/blog\/wp-json\/wp\/v2\/posts\/26328","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gaviki.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gaviki.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gaviki.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gaviki.com\/blog\/wp-json\/wp\/v2\/comments?post=26328"}],"version-history":[{"count":1,"href":"https:\/\/gaviki.com\/blog\/wp-json\/wp\/v2\/posts\/26328\/revisions"}],"predecessor-version":[{"id":26330,"href":"https:\/\/gaviki.com\/blog\/wp-json\/wp\/v2\/posts\/26328\/revisions\/26330"}],"wp:attachment":[{"href":"https:\/\/gaviki.com\/blog\/wp-json\/wp\/v2\/media?parent=26328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gaviki.com\/blog\/wp-json\/wp\/v2\/categories?post=26328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gaviki.com\/blog\/wp-json\/wp\/v2\/tags?post=26328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}