Custom Math JS Demo

Explanation
  1. Factorial:
    math.factorial(n)
  2. Combination:
    math.combination(n, k)
  3. Permutation:
    math.permutation(n, k)
  4. Add Comma:
    math.addcomma(integer)
  5. Fibonacci:
    math.fibonacci(1st_num, 2nd_num, how_many)
  6. Get Factors:
    math.factorof(integer, flag)
  7. Prime Check:
    math.prime_check(integer)
  8. Generating Primes:
    math.generate_prime(start, how_many)
  9. Pascal's Triangle:
    math.pascal_triangle(how_many, flag)
  10. Least Common Multiple:
    math.lcm(num_1, num_2[, num_3])
  11. Greatest Common Factor:
    math.gcf(num_1, num_2[, num_3])