by Ricardo “Rudxain” Fernández Serrata
Version 4 (June 8, 2025)
Download (45 downloads)
Efficiently finds and returns an array of divisors of n (except 1 and n, because those are trivial)
⚠️ warning: Don't pass big numbers, as those will generate an extremely long list. If you have a flow that needs to iterate over divisors, do it on the fly (like a generator/coroutine), don't push to an array.
Tags: math arithmetic primes square root sqrt algorithm
LICENSE: https://unlicense.org
| 5 stars | 1 | |
| 4 stars | 1 | |
| 3 stars | 0 | |
| 2 stars | 0 | |
| 1 star | 0 | |
| Reports | 0 |
Rate and review within the app in the Community section.