2.0.27 • Published 3 years ago

@extra-number/proper-divisors.min v2.0.27

Weekly downloads
12
License
MIT
Repository
github
Last release
3 years ago

Gives a list of numbers that n is divisible by, except itself (see proper divisors).

This is part of package extra-number.

This is browserified, minified version of @extra-number/proper-divisors. It is exported as global variable number_properDivisors. CDN: unpkg, jsDelivr.

number.properDivisors(n);
// n: a number
// --> [proper divisor/factor...]
const number = require('extra-number');

number.properDivisors(6);
// [1, 2, 3]

number.properDivisors(1);
// []

number.properDivisors(0);
// []

number.properDivisors(-24);
// [1, 2, 3, 4, 6, 8, 12]
2.0.27

3 years ago

2.0.26

4 years ago

1.3.9

4 years ago

1.3.8

4 years ago

1.3.7

4 years ago

1.3.6

4 years ago

1.3.5

4 years ago

1.3.4

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.2.19

4 years ago

1.2.18

4 years ago