by Ricardo FernĂˇndez Serrata

Version 9 (August 27, 2020)

Download (7 downloads)

đź—’Log-Appends the âž•Additive, âś–Multiplicative, or đź”˘Collatz Persistence Value (in Steps) of n and its corresponding Sequence. Steps = Persistence (EXCEPT "Reduced Collatz").

â„ąAbout Persistence and Collatz:

en.wikipedia.org/wiki/Persistence_of_a_number

en.wikipedia.org/wiki/Collatz_conjecture

â„ąDocumentation:

âš ď¸ŹThis Flow is EXTREMELY minified.

{mode} The most fundamental array variable. Is a wildcard/joker. Controls most of the algorithm, ensures math is done correctly, allows to have 2 main "unified" algorithms, and allows to have less blocks than it normally would (also responsible for most of the Nested Conditional Statements)

{int} variable is also like a wildcard/joker. Used as: 1st original input, array of characters (that will be converted to digits), iteration output, and input for another iteration. All related directly or indirectly to integers.

{log} Makes flow faster and use less storage when giving output. Works like DRAM. It does that by storing and appending all numbers of a sequence, then the Log Append block gives a batch/bulk output. Thus, the log is not filled with extra data that Automate logs by default, and decreases delays when running the flow.

{step} Counts the number of steps that n had to take for the sequence to end. Notice that "Reduced Collatz" has less steps because it skips some Even numbers. The total Persistence value cannot be obtained directly by the number of steps when selecting "Reduced Collatz".

Variables {foo} and {digit} probably don't need explanation.

When selecting âś–, đź”€Random đź”˘Inputâžˇď¸Ź âťŽavoids numbers containing the digit "0" (to increase Persistence probability).

Default đź‘¤User âŚ¨Inputsâžˇď¸Ź are highly Persistent and are optimized for every mode.

5 stars | 0 | |

4 stars | 1 | |

3 stars | 0 | |

2 stars | 0 | |

1 star | 0 | |

Reports | 0 |

Reviews and ratings can be submitted in the app.