text: /*
   2018 [object Object]
   @version 0.0.0
  */
  'use strict';(function(a){function b(a,c){if(a=parseInt(a,10),c=parseInt(c,10),isNaN(a)||isNaN(c))throw new Error('Invalid arguments');else return 0>c?b(a,-c):a<c?b(c,a):0===c?a:b(c,a%c)}function c(d,e){if(d=parseInt(d,10),e=parseInt(e,10),isNaN(d)||isNaN(e))throw new Error('Invalid arguments');if(0===d)return{x:0,y:1,g:e};const f=c(e%d,d);return{x:f.y-Math.floor(e/d)*f.x,y:f.x,g:f.g}}function d(a,b){for(let c of b){if(c*c>a)return!0;if(0==a%c)return!1}return!0}function e(a){if(a=parseInt(a,10),isNaN(a))throw new Error('Invalid argument');else if(2>=a)return[];let b=[2];for(let c=3;c<a;c+=2)d(c,b)&&b.push(c);return b}function f(a){if(a=parseInt(a,10),isNaN(a)||2>a)throw new Error('Invalid argument');for(let b=[],c=[],e=2,f=1;;){if(e*e>a)return c.push(a),c;if(d(e,b))for(b.push(e);0==a%e;)if(a/=e,c.push(e),1===a)return c;e+=f,f=2}}function g(a){let b={};return a.forEach(a=>{b[a]=(b[a]||0)+1}),b}function h(a,b,c,d,e){if(c>=d)return[e];const f=b[c];let g=[];for(let i=0;i<=a[f];i++){const d=h(a,b,c+1,b.length,e);g=g.concat(d),e*=f}return g}function i(a){const b=g(f(a)),c=Object.keys(b).map(a=>parseInt(a,10));return h(b,c,0,c.length,1).sort((c,a)=>c-a)}function j(a){return a.reduce((a,b)=>a+b,0)}function k(a){return j(i(a))===2*a}function l(a){return Array.from(new Set(a))}function m(a){if(a=parseInt(a,10),isNaN(a)||2>a)throw new Error('Invalid argument');return l(f(a)).reduce((a,b)=>a*(b-1)/b,a)}b.partial=a=>c=>b(a,c);'undefined'==typeof exports?'function'==typeof define&&void 0!==define.amd?define(()=>({version:'0.0.0',gcd:b,gcdExtended:c,sieve:e,factorize:f,condenseFactorList:g,divisors:i,isPerfect:k,totient:m})):(a.gcd=b,a.gcdExtended=c,a.sieve=e,a.factorize=f,a.condenseFactorList=g,a.divisors=i,a.isPerfect=k,a.totient=m):module.exports={version:'0.0.0',gcd:b,gcdExtended:c,sieve:e,factorize:f,condenseFactorList:g,divisors:i,isPerfect:k,totient:m}})('undefined'==typeof window?global:window);
  //# sourceMappingURL=number-theory-js.min.js.map