{"id":20754,"date":"2024-12-19T23:46:39","date_gmt":"2024-12-19T23:46:39","guid":{"rendered":"https:\/\/www.mathsweek.ie\/2024\/?p=20754"},"modified":"2026-01-13T16:05:50","modified_gmt":"2026-01-13T16:05:50","slug":"d20-programming","status":"publish","type":"post","link":"https:\/\/www.mathsweek.ie\/2025\/d20-programming\/","title":{"rendered":"D20 \u2013 programming"},"content":{"rendered":"<p><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-flex-container nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"background-color: rgba(255,255,255,0);background-position: center center;background-repeat: no-repeat;border-width: 0px 0px 0px 0px;border-color:#eaeaea;border-style:solid;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-center fusion-flex-justify-content-space-evenly\" style=\"max-width:1289.6px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_2_3 2_3 fusion-flex-column\"><div class=\"fusion-column-wrapper fusion-flex-justify-content-center fusion-content-layout-row\" style=\"background-position:left top;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;padding: 0px 0px 0px 0px;\"><style type=\"text\/css\">@media only screen and (max-width:1024px) {.fusion-title.fusion-title-1{margin-top:0%!important; margin-right:0px!important;margin-bottom:30px!important;margin-left:0px!important;}}@media only screen and (max-width:640px) {.fusion-title.fusion-title-1{margin-top:0px!important; margin-right:0px!important;margin-bottom:20px!important; margin-left:0px!important;}}<\/style><div class=\"fusion-title title fusion-title-1 fusion-title-text fusion-title-size-one\" style=\"margin-top:0%;margin-right:0px;margin-bottom:30px;margin-left:0px;\"><div class=\"title-sep-container title-sep-container-left fusion-no-large-visibility fusion-no-medium-visibility fusion-no-small-visibility\"><div class=\"title-sep sep-single sep-solid\" style=\"border-color:#eaeaea;\"><\/div><\/div><h1 class=\"title-heading-left fusion-responsive-typography-calculated\" style=\"margin:0;--fontSize:50;line-height:1.2;\">Flower watering programme<\/h1><div class=\"title-sep-container title-sep-container-right\"><div class=\"title-sep sep-single sep-solid\" style=\"border-color:#eaeaea;\"><\/div><\/div><\/div><\/div><style type=\"text\/css\">.fusion-body .fusion-builder-column-0{width:66.666666666667% !important;margin-top : 0px;margin-bottom : 20px;}.fusion-builder-column-0 > .fusion-column-wrapper {padding-top : 0px !important;padding-right : 0px !important;margin-right : 2.88%;padding-bottom : 0px !important;padding-left : 0px !important;margin-left : 2.88%;}@media only screen and (max-width:1024px) {.fusion-body .fusion-builder-column-0{width:100% !important;order : 0;}.fusion-builder-column-0 > .fusion-column-wrapper {margin-right : 1.92%;margin-left : 1.92%;}}@media only screen and (max-width:640px) {.fusion-body .fusion-builder-column-0{width:100% !important;order : 0;}.fusion-builder-column-0 > .fusion-column-wrapper {margin-right : 1.92%;margin-left : 1.92%;}}<\/style><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-1 fusion_builder_column_1_3 1_3 fusion-flex-column\"><div class=\"fusion-column-wrapper fusion-flex-justify-content-flex-start fusion-content-layout-column\" style=\"background-position:left top;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;padding: 0px 0px 0px 0px;\"><div ><a class=\"fusion-button button-flat fusion-button-default-size button-orange button-1 fusion-button-default-span fusion-button-default-type\" target=\"_self\" href=\"https:\/\/www.mathsweek.ie\/2025\/00resources\/\"><span class=\"fusion-button-text\">Back to Resources<\/span><\/a><\/div><\/div><style type=\"text\/css\">.fusion-body .fusion-builder-column-1{width:33.333333333333% !important;margin-top : 0px;margin-bottom : 20px;}.fusion-builder-column-1 > .fusion-column-wrapper {padding-top : 0px !important;padding-right : 0px !important;margin-right : 5.76%;padding-bottom : 0px !important;padding-left : 0px !important;margin-left : 5.76%;}@media only screen and (max-width:1024px) {.fusion-body .fusion-builder-column-1{width:100% !important;order : 0;}.fusion-builder-column-1 > .fusion-column-wrapper {margin-right : 1.92%;margin-left : 1.92%;}}@media only screen and (max-width:640px) {.fusion-body .fusion-builder-column-1{width:100% !important;order : 0;}.fusion-builder-column-1 > .fusion-column-wrapper {margin-right : 1.92%;margin-left : 1.92%;}}<\/style><\/div><\/div><style type=\"text\/css\">.fusion-body .fusion-flex-container.fusion-builder-row-1{ padding-top : 0px;margin-top : 0px;padding-right : 0px;padding-bottom : 0px;margin-bottom : 0px;padding-left : 0px;}<\/style><\/div><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-2 fusion-flex-container nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"background-color: rgba(255,255,255,0);background-position: center center;background-repeat: no-repeat;border-width: 0px 0px 0px 0px;border-color:#eaeaea;border-style:solid;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-center fusion-flex-justify-content-space-evenly\" style=\"max-width:1289.6px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-2 fusion_builder_column_1_1 1_1 fusion-flex-column\"><div class=\"fusion-column-wrapper fusion-flex-justify-content-center fusion-content-layout-row\" style=\"background-position:left top;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;padding: 0px 0px 0px 0px;\"><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;flex-grow:5;width:100%;\"><\/div><div class=\"fusion-text fusion-text-1\" style=\"text-align:center;margin-top:10px;\"><p style=\"text-align: center;\">A lazy but clever elf wants to program his robot to take a nap while the robot waters his plants.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-20766 size-full\" src=\"https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_D20-robot-display.webp\" alt=\"\" width=\"541\" height=\"71\" srcset=\"https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_D20-robot-display-200x26.webp 200w, https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_D20-robot-display-300x39.webp 300w, https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_D20-robot-display-400x52.webp 400w, https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_D20-robot-display-500x66.webp 500w, https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_D20-robot-display.webp 541w\" sizes=\"(max-width: 541px) 100vw, 541px\" \/><\/p>\n<p style=\"text-align: center;\">Help him by correctly ordering the different commands.<\/p>\n<p style=\"text-align: center;\">Use the \u2018Check\u2019 button to verify your answers.<\/p>\n<p style=\"text-align: center;\"><span style=\"background-color: rgba(255, 255, 255, 0); color: var(--body_typography-color); font-family: var(--body_typography-font-family); font-size: var(--body_typography-font-size); font-style: var(--body_typography-font-style,normal); letter-spacing: var(--body_typography-letter-spacing);\"><a href=\"#to-print\"><u><b style=\"color: #005eed;\">Download<\/b><\/u><\/a><span style=\"font-weight: var(--body_typography-font-weight);\"> the activity at the bottom of the page.<\/span><\/span><\/p>\n<p style=\"text-align: center;\"><em>An idea from concours.castor-informatique.fr<\/em><\/p>\n<\/div><\/div><style type=\"text\/css\">.fusion-body .fusion-builder-column-2{width:100% !important;margin-top : 0px;margin-bottom : 20px;}.fusion-builder-column-2 > .fusion-column-wrapper {padding-top : 0px !important;padding-right : 0px !important;margin-right : 1.92%;padding-bottom : 0px !important;padding-left : 0px !important;margin-left : 1.92%;}@media only screen and (max-width:1024px) {.fusion-body .fusion-builder-column-2{width:100% !important;order : 0;}.fusion-builder-column-2 > .fusion-column-wrapper {margin-right : 1.92%;margin-left : 1.92%;}}@media only screen and (max-width:640px) {.fusion-body .fusion-builder-column-2{width:100% !important;order : 0;}.fusion-builder-column-2 > .fusion-column-wrapper {margin-right : 1.92%;margin-left : 1.92%;}}<\/style><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-3 fusion_builder_column_3_4 3_4 fusion-flex-column\"><div class=\"fusion-column-wrapper fusion-flex-justify-content-flex-start fusion-content-layout-column\" style=\"background-position:left top;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;padding: 0px 0px 0px 0px;\"><div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-53\" class=\"h5p-iframe\" data-content-id=\"53\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Flower watering programme\"><\/iframe><\/div>\n\n<\/div><style type=\"text\/css\">.fusion-body .fusion-builder-column-3{width:75% !important;margin-top : 0px;margin-bottom : 20px;}.fusion-builder-column-3 > .fusion-column-wrapper {padding-top : 0px !important;padding-right : 0px !important;margin-right : 2.56%;padding-bottom : 0px !important;padding-left : 0px !important;margin-left : 2.56%;}@media only screen and (max-width:1024px) {.fusion-body .fusion-builder-column-3{width:100% !important;order : 0;}.fusion-builder-column-3 > .fusion-column-wrapper {margin-right : 1.92%;margin-left : 1.92%;}}@media only screen and (max-width:640px) {.fusion-body .fusion-builder-column-3{width:100% !important;order : 0;}.fusion-builder-column-3 > .fusion-column-wrapper {margin-right : 1.92%;margin-left : 1.92%;}}<\/style><\/div><\/div><style type=\"text\/css\">.fusion-body .fusion-flex-container.fusion-builder-row-2{ padding-top : 0px;margin-top : 0px;padding-right : 0px;padding-bottom : 0px;margin-bottom : 0px;padding-left : 0px;}<\/style><\/div><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-3 fusion-flex-container nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"background-color: rgba(255,255,255,0);background-position: center center;background-repeat: no-repeat;border-width: 0px 0px 0px 0px;border-color:#eaeaea;border-style:solid;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-justify-content-center\" style=\"max-width:1289.6px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-4 fusion_builder_column_3_5 3_5 fusion-flex-column\"><div class=\"fusion-column-wrapper fusion-flex-justify-content-flex-start fusion-content-layout-column\" style=\"background-position:left top;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;padding: 0px 0px 0px 0px;\"><div class=\"fusion-separator fusion-full-width-sep\" style=\"align-self: center;margin-left: auto;margin-right: auto;margin-top:10px;width:100%;\"><div class=\"fusion-separator-border sep-single sep-solid\" style=\"border-color:#d23f1a;border-top-width:3px;\"><\/div><\/div><\/div><style type=\"text\/css\">.fusion-body .fusion-builder-column-4{width:60% !important;margin-top : 0px;margin-bottom : 29px;}.fusion-builder-column-4 > .fusion-column-wrapper {padding-top : 0px !important;padding-right : 0px !important;margin-right : 3.2%;padding-bottom : 0px !important;padding-left : 0px !important;margin-left : 3.2%;}@media only screen and (max-width:1024px) {.fusion-body .fusion-builder-column-4{width:100% !important;order : 0;}.fusion-builder-column-4 > .fusion-column-wrapper {margin-right : 1.92%;margin-left : 1.92%;}}@media only screen and (max-width:640px) {.fusion-body .fusion-builder-column-4{width:100% !important;order : 0;}.fusion-builder-column-4 > .fusion-column-wrapper {margin-right : 1.92%;margin-left : 1.92%;}}<\/style><\/div><\/div><style type=\"text\/css\">.fusion-body .fusion-flex-container.fusion-builder-row-3{ padding-top : 0px;margin-top : 0px;padding-right : 0px;padding-bottom : 0px;margin-bottom : 0px;padding-left : 0px;}<\/style><\/div><div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-4 fusion-flex-container nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"background-color: rgba(255,255,255,0);background-position: center center;background-repeat: no-repeat;border-width: 0px 0px 0px 0px;border-color:#eaeaea;border-style:solid;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-justify-content-space-evenly\" style=\"max-width:1289.6px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-5 fusion_builder_column_1_1 1_1 fusion-flex-column\"><div class=\"fusion-column-wrapper fusion-flex-justify-content-flex-start fusion-content-layout-column\" style=\"background-position:left top;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;padding: 0px 0px 0px 0px;\"><style type=\"text\/css\">@media only screen and (max-width:1024px) {.fusion-title.fusion-title-2{margin-top:0%!important; margin-right:0px!important;margin-bottom:30px!important;margin-left:0px!important;}}@media only screen and (max-width:640px) {.fusion-title.fusion-title-2{margin-top:0px!important; margin-right:0px!important;margin-bottom:20px!important; margin-left:0px!important;}}<\/style><div class=\"fusion-title title fusion-title-2 fusion-title-text fusion-title-size-one\" style=\"margin-top:0%;margin-right:0px;margin-bottom:30px;margin-left:0px;\" id=\"to-print\"><div class=\"title-sep-container title-sep-container-left fusion-no-large-visibility fusion-no-medium-visibility fusion-no-small-visibility\"><div class=\"title-sep sep-single sep-solid\" style=\"border-color:#eaeaea;\"><\/div><\/div><h1 class=\"title-heading-left fusion-responsive-typography-calculated\" style=\"margin:0;--fontSize:50;line-height:1.2;\">To Print<\/h1><div class=\"title-sep-container title-sep-container-right\"><div class=\"title-sep sep-single sep-solid\" style=\"border-color:#eaeaea;\"><\/div><\/div><\/div><\/div><style type=\"text\/css\">.fusion-body .fusion-builder-column-5{width:100% !important;margin-top : 0px;margin-bottom : 20px;}.fusion-builder-column-5 > .fusion-column-wrapper {padding-top : 0px !important;padding-right : 0px !important;margin-right : 1.92%;padding-bottom : 0px !important;padding-left : 0px !important;margin-left : 1.92%;}@media only screen and (max-width:1024px) {.fusion-body .fusion-builder-column-5{width:100% !important;order : 0;}.fusion-builder-column-5 > .fusion-column-wrapper {margin-right : 1.92%;margin-left : 1.92%;}}@media only screen and (max-width:640px) {.fusion-body .fusion-builder-column-5{width:100% !important;order : 0;}.fusion-builder-column-5 > .fusion-column-wrapper {margin-right : 1.92%;margin-left : 1.92%;}}<\/style><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-6 fusion_builder_column_2_5 2_5 fusion-flex-column\"><div class=\"fusion-column-wrapper fusion-flex-justify-content-flex-start fusion-content-layout-column\" style=\"background-position:left top;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;padding: 0px 0px 0px 0px;\"><div ><span class=\" fusion-imageframe imageframe-none imageframe-1 hover-type-none\"><a class=\"fusion-no-lightbox\" href=\"https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_D20-Programming-print.pdf\" target=\"_blank\" aria-label=\"christmas24_D20 Programming print\" rel=\"noopener noreferrer\"><img decoding=\"async\" width=\"596\" height=\"843\" src=\"https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_D20-Programming-print.webp\" class=\"img-responsive wp-image-20763\" srcset=\"https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_D20-Programming-print-200x283.webp 200w, https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_D20-Programming-print-212x300.webp 212w, https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_D20-Programming-print-400x566.webp 400w, https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_D20-Programming-print-500x707.webp 500w, https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_D20-Programming-print.webp 596w\" sizes=\"(max-width: 1024px) 100vw, (max-width: 640px) 100vw, 596px\" \/><\/a><\/span><\/div><div style=\"text-align:center;\"><a class=\"fusion-button button-flat fusion-button-default-size button-darkgreen button-2 fusion-button-default-span fusion-button-default-type\" target=\"lightbox\" rel=\"iLightbox\" href=\"https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_D20-Programming-solution.pdf\" style=\"margin-top:30px;\"><span class=\"fusion-button-text\">Solution<\/span><\/a><\/div><\/div><style type=\"text\/css\">.fusion-body .fusion-builder-column-6{width:40% !important;margin-top : 0px;margin-bottom : 20px;}.fusion-builder-column-6 > .fusion-column-wrapper {padding-top : 0px !important;padding-right : 0px !important;margin-right : 4.8%;padding-bottom : 0px !important;padding-left : 0px !important;margin-left : 4.8%;}@media only screen and (max-width:1024px) {.fusion-body .fusion-builder-column-6{width:100% !important;order : 0;}.fusion-builder-column-6 > .fusion-column-wrapper {margin-right : 1.92%;margin-left : 1.92%;}}@media only screen and (max-width:640px) {.fusion-body .fusion-builder-column-6{width:100% !important;order : 0;}.fusion-builder-column-6 > .fusion-column-wrapper {margin-right : 1.92%;margin-left : 1.92%;}}<\/style><\/div><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-7 fusion_builder_column_1_3 1_3 fusion-flex-column\"><div class=\"fusion-column-wrapper fusion-flex-justify-content-flex-start fusion-content-layout-column\" style=\"background-position:left top;background-repeat:no-repeat;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;background-size:cover;padding: 0px 0px 0px 0px;\"><div class=\"fusion-flip-boxes flip-boxes row fusion-columns-1 flip-effect-classic equal-heights\"><div class=\"fusion-flip-box-wrapper fusion-column col-lg-12 col-md-12 col-sm-12\"><div class=\"fusion-flip-box flip-right\" tabindex=\"0\"><div class=\"flip-box-inner-wrapper\"><div class=\"flip-box-front\" style=\"background-color:#d1664b;border-color:rgba(255,255,255,0);border-radius:4px;border-style:solid;border-width:1px;color:#eae5e5;transition-duration:0.4s;\"><div class=\"flip-box-front-inner\"><div class=\"flip-box-grafix flip-box-circle\" style=\"background-color:#ffffff;border-color:rgba(255,255,255,0);\"><i aria-hidden=\"true\" class=\"fa-calculator fas\" style=\"color:#f44336;\"><\/i><\/div><h2 class=\"flip-box-heading\" style=\"color:#ffffff;\">BEHIND<\/h2>What\u2019s the Maths behind this activity?<\/div><\/div><div class=\"flip-box-back\" style=\"background-color:#89ba99;border-color:rgba(255,255,255,0);border-radius:4px;border-style:solid;border-width:1px;color:#ffffff;transition-duration:0.4s;\"><div class=\"flip-box-back-inner\"><h3 class=\"flip-box-heading-back\" style=\"color:#eaeaea;\">What\u2019s behind? Maths tips<\/h3>\n<p>Participants develop problem-solving skills. Maths concepts involved: sequences, informatics, algorithms, scheduling.<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><style type=\"text\/css\">.fusion-body .fusion-builder-column-7{width:33.333333333333% !important;margin-top : 0px;margin-bottom : 20px;}.fusion-builder-column-7 > .fusion-column-wrapper {padding-top : 0px !important;padding-right : 0px !important;margin-right : 5.76%;padding-bottom : 0px !important;padding-left : 0px !important;margin-left : 5.76%;}@media only screen and (max-width:1024px) {.fusion-body .fusion-builder-column-7{width:100% !important;order : 0;}.fusion-builder-column-7 > .fusion-column-wrapper {margin-right : 1.92%;margin-left : 1.92%;}}@media only screen and (max-width:640px) {.fusion-body .fusion-builder-column-7{width:100% !important;order : 0;}.fusion-builder-column-7 > .fusion-column-wrapper {margin-right : 1.92%;margin-left : 1.92%;}}<\/style><\/div><\/div><style type=\"text\/css\">.fusion-body .fusion-flex-container.fusion-builder-row-4{ padding-top : 0px;margin-top : 0px;padding-right : 0px;padding-bottom : 0px;margin-bottom : 0px;padding-left : 0px;}<\/style><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":601,"featured_media":20758,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_vp_format_video_url":"","_vp_image_focal_point":[],"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[364,285,286,261,44],"tags":[338,565,387,567,976,957,250,977,397,612,956],"class_list":["post-20754","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-advent","category-age-6-8","category-age-8-12","category-primary","category-resources","tag-maths","tag-advent-calendar","tag-algorithms","tag-christmas","tag-flower-watering","tag-informatics","tag-problem-solving","tag-programming","tag-puzzle","tag-scheduling","tag-sequences"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>D20 \u2013 programming &#8211; MATHS WEEK IRELAND<\/title>\n<meta name=\"description\" content=\"We have some great Christmas activities for all ages to keep hands and minds busy this festive season. Each day of Advent there will be a new maths activity for you to try out. MATHS WEEK IRELAND\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mathsweek.ie\/2025\/d20-programming\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"D20 \u2013 programming &#8211; MATHS WEEK IRELAND\" \/>\n<meta property=\"og:description\" content=\"We have some great Christmas activities for all ages to keep hands and minds busy this festive season. Each day of Advent there will be a new maths activity for you to try out. MATHS WEEK IRELAND\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mathsweek.ie\/2025\/d20-programming\/\" \/>\n<meta property=\"og:site_name\" content=\"MATHS WEEK IRELAND\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MathsWeek\" \/>\n<meta property=\"article:published_time\" content=\"2024-12-19T23:46:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-13T16:05:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_FeatureImage-D20.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1170\" \/>\n\t<meta property=\"og:image:height\" content=\"251\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Nora Salaberry\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@mathsweek\" \/>\n<meta name=\"twitter:site\" content=\"@mathsweek\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/d20-programming\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/d20-programming\\\/\"},\"author\":{\"name\":\"Nora Salaberry\",\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/#\\\/schema\\\/person\\\/b40d5cf4742770dc31745eccca05352b\"},\"headline\":\"D20 \u2013 programming\",\"datePublished\":\"2024-12-19T23:46:39+00:00\",\"dateModified\":\"2026-01-13T16:05:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/d20-programming\\\/\"},\"wordCount\":4694,\"publisher\":{\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/d20-programming\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/christmas24_FeatureImage-D20.webp\",\"keywords\":[\"#maths\",\"Advent Calendar\",\"algorithms\",\"Christmas\",\"flower watering\",\"informatics\",\"Problem Solving\",\"programming\",\"Puzzle\",\"scheduling\",\"sequences\"],\"articleSection\":[\"ADVENT\",\"Age 06-8\",\"Age 08-12\",\"Primary\",\"Resources\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/d20-programming\\\/\",\"url\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/d20-programming\\\/\",\"name\":\"D20 \u2013 programming &#8211; MATHS WEEK IRELAND\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/d20-programming\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/d20-programming\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/christmas24_FeatureImage-D20.webp\",\"datePublished\":\"2024-12-19T23:46:39+00:00\",\"dateModified\":\"2026-01-13T16:05:50+00:00\",\"description\":\"We have some great Christmas activities for all ages to keep hands and minds busy this festive season. Each day of Advent there will be a new maths activity for you to try out. MATHS WEEK IRELAND\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/d20-programming\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/d20-programming\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/d20-programming\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/christmas24_FeatureImage-D20.webp\",\"contentUrl\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/christmas24_FeatureImage-D20.webp\",\"width\":1170,\"height\":251},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/d20-programming\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"#maths\",\"item\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/tag\\\/maths\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"D20 \u2013 programming\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/#website\",\"url\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/\",\"name\":\"MATHS WEEK IRELAND\",\"description\":\"Maths for All\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/#organization\",\"name\":\"Maths Week Ireland\",\"url\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/wp-content\\\/uploads\\\/2018\\\/03\\\/MW-logo-cropped-e1521418465216.png\",\"contentUrl\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/wp-content\\\/uploads\\\/2018\\\/03\\\/MW-logo-cropped-e1521418465216.png\",\"width\":20,\"height\":20,\"caption\":\"Maths Week Ireland\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/MathsWeek\",\"https:\\\/\\\/x.com\\\/mathsweek\",\"https:\\\/\\\/www.instagram.com\\\/mathsireland\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/maths-week-ireland\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCNWgrcdn2mGzKqhXJDI_-Pg?disable_polymer=true\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/#\\\/schema\\\/person\\\/b40d5cf4742770dc31745eccca05352b\",\"name\":\"Nora Salaberry\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c068c845651e77dfead4b6d407f2209d1d39f7836aacba3edf3596c83ed3b5ad?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c068c845651e77dfead4b6d407f2209d1d39f7836aacba3edf3596c83ed3b5ad?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c068c845651e77dfead4b6d407f2209d1d39f7836aacba3edf3596c83ed3b5ad?s=96&d=mm&r=g\",\"caption\":\"Nora Salaberry\"},\"url\":\"https:\\\/\\\/www.mathsweek.ie\\\/2025\\\/author\\\/nora\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"D20 \u2013 programming &#8211; MATHS WEEK IRELAND","description":"We have some great Christmas activities for all ages to keep hands and minds busy this festive season. Each day of Advent there will be a new maths activity for you to try out. MATHS WEEK IRELAND","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mathsweek.ie\/2025\/d20-programming\/","og_locale":"en_GB","og_type":"article","og_title":"D20 \u2013 programming &#8211; MATHS WEEK IRELAND","og_description":"We have some great Christmas activities for all ages to keep hands and minds busy this festive season. Each day of Advent there will be a new maths activity for you to try out. MATHS WEEK IRELAND","og_url":"https:\/\/www.mathsweek.ie\/2025\/d20-programming\/","og_site_name":"MATHS WEEK IRELAND","article_publisher":"https:\/\/www.facebook.com\/MathsWeek","article_published_time":"2024-12-19T23:46:39+00:00","article_modified_time":"2026-01-13T16:05:50+00:00","og_image":[{"width":1170,"height":251,"url":"https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_FeatureImage-D20.webp","type":"image\/webp"}],"author":"Nora Salaberry","twitter_card":"summary_large_image","twitter_creator":"@mathsweek","twitter_site":"@mathsweek","twitter_misc":{"Written by":false,"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mathsweek.ie\/2025\/d20-programming\/#article","isPartOf":{"@id":"https:\/\/www.mathsweek.ie\/2025\/d20-programming\/"},"author":{"name":"Nora Salaberry","@id":"https:\/\/www.mathsweek.ie\/2025\/#\/schema\/person\/b40d5cf4742770dc31745eccca05352b"},"headline":"D20 \u2013 programming","datePublished":"2024-12-19T23:46:39+00:00","dateModified":"2026-01-13T16:05:50+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mathsweek.ie\/2025\/d20-programming\/"},"wordCount":4694,"publisher":{"@id":"https:\/\/www.mathsweek.ie\/2025\/#organization"},"image":{"@id":"https:\/\/www.mathsweek.ie\/2025\/d20-programming\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_FeatureImage-D20.webp","keywords":["#maths","Advent Calendar","algorithms","Christmas","flower watering","informatics","Problem Solving","programming","Puzzle","scheduling","sequences"],"articleSection":["ADVENT","Age 06-8","Age 08-12","Primary","Resources"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/www.mathsweek.ie\/2025\/d20-programming\/","url":"https:\/\/www.mathsweek.ie\/2025\/d20-programming\/","name":"D20 \u2013 programming &#8211; MATHS WEEK IRELAND","isPartOf":{"@id":"https:\/\/www.mathsweek.ie\/2025\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mathsweek.ie\/2025\/d20-programming\/#primaryimage"},"image":{"@id":"https:\/\/www.mathsweek.ie\/2025\/d20-programming\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_FeatureImage-D20.webp","datePublished":"2024-12-19T23:46:39+00:00","dateModified":"2026-01-13T16:05:50+00:00","description":"We have some great Christmas activities for all ages to keep hands and minds busy this festive season. Each day of Advent there will be a new maths activity for you to try out. MATHS WEEK IRELAND","breadcrumb":{"@id":"https:\/\/www.mathsweek.ie\/2025\/d20-programming\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mathsweek.ie\/2025\/d20-programming\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.mathsweek.ie\/2025\/d20-programming\/#primaryimage","url":"https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_FeatureImage-D20.webp","contentUrl":"https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_FeatureImage-D20.webp","width":1170,"height":251},{"@type":"BreadcrumbList","@id":"https:\/\/www.mathsweek.ie\/2025\/d20-programming\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mathsweek.ie\/2025\/"},{"@type":"ListItem","position":2,"name":"#maths","item":"https:\/\/www.mathsweek.ie\/2025\/tag\/maths\/"},{"@type":"ListItem","position":3,"name":"D20 \u2013 programming"}]},{"@type":"WebSite","@id":"https:\/\/www.mathsweek.ie\/2025\/#website","url":"https:\/\/www.mathsweek.ie\/2025\/","name":"MATHS WEEK IRELAND","description":"Maths for All","publisher":{"@id":"https:\/\/www.mathsweek.ie\/2025\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mathsweek.ie\/2025\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.mathsweek.ie\/2025\/#organization","name":"Maths Week Ireland","url":"https:\/\/www.mathsweek.ie\/2025\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.mathsweek.ie\/2025\/#\/schema\/logo\/image\/","url":"https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2018\/03\/MW-logo-cropped-e1521418465216.png","contentUrl":"https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2018\/03\/MW-logo-cropped-e1521418465216.png","width":20,"height":20,"caption":"Maths Week Ireland"},"image":{"@id":"https:\/\/www.mathsweek.ie\/2025\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/MathsWeek","https:\/\/x.com\/mathsweek","https:\/\/www.instagram.com\/mathsireland\/","https:\/\/www.linkedin.com\/company\/maths-week-ireland\/","https:\/\/www.youtube.com\/channel\/UCNWgrcdn2mGzKqhXJDI_-Pg?disable_polymer=true"]},{"@type":"Person","@id":"https:\/\/www.mathsweek.ie\/2025\/#\/schema\/person\/b40d5cf4742770dc31745eccca05352b","name":"Nora Salaberry","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/c068c845651e77dfead4b6d407f2209d1d39f7836aacba3edf3596c83ed3b5ad?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c068c845651e77dfead4b6d407f2209d1d39f7836aacba3edf3596c83ed3b5ad?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c068c845651e77dfead4b6d407f2209d1d39f7836aacba3edf3596c83ed3b5ad?s=96&d=mm&r=g","caption":"Nora Salaberry"},"url":"https:\/\/www.mathsweek.ie\/2025\/author\/nora\/"}]}},"jetpack_featured_media_url":"https:\/\/www.mathsweek.ie\/2025\/wp-content\/uploads\/2024\/12\/christmas24_FeatureImage-D20.webp","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.mathsweek.ie\/2025\/wp-json\/wp\/v2\/posts\/20754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mathsweek.ie\/2025\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mathsweek.ie\/2025\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mathsweek.ie\/2025\/wp-json\/wp\/v2\/users\/601"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mathsweek.ie\/2025\/wp-json\/wp\/v2\/comments?post=20754"}],"version-history":[{"count":3,"href":"https:\/\/www.mathsweek.ie\/2025\/wp-json\/wp\/v2\/posts\/20754\/revisions"}],"predecessor-version":[{"id":23921,"href":"https:\/\/www.mathsweek.ie\/2025\/wp-json\/wp\/v2\/posts\/20754\/revisions\/23921"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mathsweek.ie\/2025\/wp-json\/wp\/v2\/media\/20758"}],"wp:attachment":[{"href":"https:\/\/www.mathsweek.ie\/2025\/wp-json\/wp\/v2\/media?parent=20754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mathsweek.ie\/2025\/wp-json\/wp\/v2\/categories?post=20754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mathsweek.ie\/2025\/wp-json\/wp\/v2\/tags?post=20754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}