Sep-29-2020, 05:58 PM
(Sep-29-2020, 05:27 PM)DPaul Wrote: For the time being it works only for 3 and 5, perhaps with some work it will do all odd numbers.
If you are using "peeling the onion" approach then number of layers (cycles) can be determined with:
cycles = sum(divmod(n, 2)) # n = 5 -> 3 # n = 3 -> 2
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.