Skip to main content

Timeline for Opposite of the digital root!

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
Jan 16, 2018 at 3:55 comment added DLosc The wording could be clearer, but the question does allow starting at (e.g.) 10 instead of 1: "... all of the possible two digit numbers that have that digital root. If you need it to, it can include [the single-digit number] itself, e.g. 05." In other words, including the single-digit number in the output is permitted but not required.
Jan 15, 2018 at 21:31 comment added gastropner @DLosc myeah, but then it starts one number too late.
Jan 15, 2018 at 20:39 comment added DLosc You can save 2 bytes by putting the printf inside the loop header: Try it online!
Jan 14, 2018 at 9:47 history answered gastropner CC BY-SA 3.0