Digital Root (Custom Block, concise)

  scripts
  sprites
See inside
Instructions

A concise way to calculate the digital root of any number using a custom block with only 2 if/else statements and no variables or lists.

Notes and Credits

The digital root (also repeated digital sum) of a non-negative integer is the (single digit) value obtained by an iterative process of summing digits, on each iteration using the result from the previous iteration to compute a digit sum. The process continues until a single-digit number is reached.

For example, the digital root of 65,536 is 7, because 6 + 5 + 5 + 3 + 6 = 25 and 2 + 5 = 7.

Shared: 28 Jul 2016 Modified: 10 Mar 2017
Favorite this project 0
Love this project 0
Total views 4
View the remix tree  1
  
More projects by micycle2