{"id":333,"date":"2011-03-15T07:01:06","date_gmt":"2011-03-14T23:01:06","guid":{"rendered":"http:\/\/www.dr-mikes-math-games-for-kids.com\/blog\/?p=333"},"modified":"2024-02-16T21:13:46","modified_gmt":"2024-02-16T13:13:46","slug":"a-toasted-bread-puzzle","status":"publish","type":"post","link":"https:\/\/www.dr-mikes-math-games-for-kids.com\/blog\/2011\/03\/a-toasted-bread-puzzle\/","title":{"rendered":"A Toasted Bread Puzzle"},"content":{"rendered":"<figure id=\"attachment_335\" aria-describedby=\"caption-attachment-335\" style=\"width: 300px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.dr-mikes-math-games-for-kids.com\/blog\/wp-content\/files\/2011\/03\/What-shall-I-have-on-my-toast.jpeg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-335\" title=\"What shall I have on my toast?\" src=\"http:\/\/www.dr-mikes-math-games-for-kids.com\/blog\/wp-content\/files\/2011\/03\/What-shall-I-have-on-my-toast-300x189.jpg\" alt=\"What shall I have on my toast?\" width=\"300\" height=\"189\" srcset=\"https:\/\/www.dr-mikes-math-games-for-kids.com\/blog\/wp-content\/files\/2011\/03\/What-shall-I-have-on-my-toast-300x189.jpg 300w, https:\/\/www.dr-mikes-math-games-for-kids.com\/blog\/wp-content\/files\/2011\/03\/What-shall-I-have-on-my-toast-1024x646.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-335\" class=\"wp-caption-text\">What shall I have on my toast?<\/figcaption><\/figure>\n<p>I have four different things I can spread on my toast. If I want to taste them all, I need four slices of toast.<\/p>\n<p><!--more-->However, as we all know, the taste of jam on toast depends on what I had before. Jam after peanut butter tastes quite different from jam after <a href=\"http:\/\/en.wikipedia.org\/wiki\/Vegemite\" target=\"_blank\" rel=\"noopener\">vegemite<\/a>. So if I have 4 different things I can spread on my toast, how many slices of toast do I need, if I want to taste every combination of X after Y ?<\/p>\n<p>32 slices of toast will do the trick. There are 16 possible pairs of X after Y (Jam after jam, jam after peanut butter, jam after vegemite, jam after just margarine, and so on). Each pair has 2 slices of toast, so that&#8217;s 32 slices of toast.<\/p>\n<p>But the thought of eating so much toast makes my stomach feel queasy. Is there a way I can try every combination, but with less toast? How many slices of toast must I eat, what should they have on them, and in what order must I eat them, so that I get to try all 16 combinations of X after Y?<\/p>\n<p>By way of a hint, if I only have 2 things to spread, I can try all four combinations with only 5 slices of toast. I either eat<\/p>\n<ul>\n<li>Jam, Jam, Vegemite, Vegemite, Jam, OR<\/li>\n<li>Vegemite, Vegemite, Jam, Jam, Vegemite<\/li>\n<\/ul>\n<p>depending on what I like more : sweetness or saltiness. As you can see, I get to try four combinations<\/p>\n<ul>\n<li>Jam after Jam,<\/li>\n<li>Jam after Vegemite,<\/li>\n<li>Vegemite after Jam, and<\/li>\n<li>Vegemite after Vegemite<\/li>\n<\/ul>\n<p>but I only have to eat five pieces of toast instead of eight.<\/p>\n<p>Have fun with the puzzle!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have four different things I can spread on my toast. If I want to taste them all, I need four slices of toast.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227,183,229,230,7,228,231],"_links":{"self":[{"href":"https:\/\/www.dr-mikes-math-games-for-kids.com\/blog\/wp-json\/wp\/v2\/posts\/333"}],"collection":[{"href":"https:\/\/www.dr-mikes-math-games-for-kids.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dr-mikes-math-games-for-kids.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dr-mikes-math-games-for-kids.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dr-mikes-math-games-for-kids.com\/blog\/wp-json\/wp\/v2\/comments?post=333"}],"version-history":[{"count":2,"href":"https:\/\/www.dr-mikes-math-games-for-kids.com\/blog\/wp-json\/wp\/v2\/posts\/333\/revisions"}],"predecessor-version":[{"id":1390,"href":"https:\/\/www.dr-mikes-math-games-for-kids.com\/blog\/wp-json\/wp\/v2\/posts\/333\/revisions\/1390"}],"wp:attachment":[{"href":"https:\/\/www.dr-mikes-math-games-for-kids.com\/blog\/wp-json\/wp\/v2\/media?parent=333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-mikes-math-games-for-kids.com\/blog\/wp-json\/wp\/v2\/categories?post=333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-mikes-math-games-for-kids.com\/blog\/wp-json\/wp\/v2\/tags?post=333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}