From bafd62d039b633a192f73d7e778d1ca0ebe5c543 Mon Sep 17 00:00:00 2001 From: Alexander Munch-Hansen Date: Sat, 2 Dec 2017 00:16:13 +0100 Subject: [PATCH] Fixed math in readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dce34e4..b6ebafc 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,6 @@ This repository is dedicated to my attempts at advent of code anno 2017. Some of the code will be somewhat quick and dirty when I first upload it, since it might be an initial attempt, however things should become somewhat clean after I've rewritten the attempts later. ## The 1st of December -For the first challenge, part one, one had to review a sequence of digits and find the `sum` of all the digits, which match the next digit in the list. This list is circular, thus the last digit will be able to match with the first digit, such that $1221$ will have a `sum` of $3$. +For the first challenge, part one, one had to review a sequence of digits and find the `sum` of all the digits, which match the next digit in the list. This list is circular, thus the last digit will be able to match with the first digit, such that $`1221`$ will have a `sum` of $`3`$. -For the second part, one now had to, instead of considering the next digit in the list, consider the digit *halfway around* the circular list, so $1212$ would produce a `sum` of $6$. +For the second part, one now had to, instead of considering the next digit in the list, consider the digit *halfway around* the circular list, so $`1212`$ would produce a `sum` of $`6`$.