Minimal steps down to 1: Difference between revisions
Content added Content deleted
m (→Python: Tabulated: English) |
m (sp.) |
||
Line 5: | Line 5: | ||
Given: |
Given: |
||
* A starting, positive integer (greater than one), N. |
* A starting, positive integer (greater than one), N. |
||
* A selection of possible integer perfect |
* A selection of possible integer perfect divisors, D. |
||
* And a selection of possible subtractors, S. |
* And a selection of possible subtractors, S. |
||
The goal is find the minimum number of steps necessary to reduce N down to one. |
The goal is find the minimum number of steps necessary to reduce N down to one. |