number_factorization 1.0.0 copy "number_factorization: ^1.0.0" to clipboard
number_factorization: ^1.0.0 copied to clipboard

Dart package to find Greatest Common Divisor(GCD), Least Common Multiple(LCM) and integer factorization.

example/number_factorization_example.dart

import 'package:number_factorization/number_factorization.dart';

void main() {
  print(gcd(3 * 4, 3 * 4 * 17));
  print(lcm(12, 8));
  print(integerFactorization(24));
  print(integerFactorization(16));
}
0
likes
160
points
11
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dart package to find Greatest Common Divisor(GCD), Least Common Multiple(LCM) and integer factorization.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

More

Packages that depend on number_factorization