0
Operations countdown
code-golf
Given a non negative integer number n output how many steps to reach zero using radicals, divisions and subtractions.
The algorithm
n -> d = digits count.
Try the following operations in order: d√n , n/d , n-d
Take the first that produces an integer result not equ...