(a, b)
| 161 | ]; |
| 162 | |
| 163 | function getPow(a, b) { |
| 164 | if(a < b) return 0; |
| 165 | var n = 0; |
| 166 | while(Math.floor(a % b) === 0) { |
| 167 | a /= b; |
| 168 | n++; |
| 169 | } |
| 170 | return n; |
| 171 | } |
| 172 | |
| 173 | function getFactors(a) { |
| 174 | var powers = []; |
no outgoing calls
no test coverage detected
searching dependent graphs…