Result:

 Syntax Input Type(s) Description base(x,b1,b2) Base-10 Integers converts x from base b1 to b2 (x can be an array) factor(x) Integer >1 returns an array of prime factors of x factorial(x,n)pfactorial(x) Integer >0 computes the n-factorial of xmultiplies all primes ≤ x isprime(x) Integer >1 tests whether an integer is prime fibonacci(x) Integer >0 computes the xth term of the Fibonacci sequence gcd([a,b,c,...])lcm([a,b,c,...]) Array of NumbersArray of Numbers computes the greatest common factor of a,b,c,...computes the least common multiple of a,b,c,... product([a,b,c,...])sum([a,b,c,...]) Array of NumbersArray of Numbers computes a*b*c*...sums a+b+c+... sign(x) Number returns the sign of x: either –1, 0, or 1 csc(x)sec(x)cot(x) NumberNumberNumber computes the cosecant of xcomputes the secant of xcomputes the cotangent of x arccsc(x)arcsec(x)arccot(x) NumberNumberNumber computes the inverse cosecant of xcomputes the inverse secant of xcomputes the inverse cotangent of x sinh(x)cosh(x)tanh(x) NumberNumberNumber computes the hyperbolic sine of xcomputes the hyperbolic cosine of xcomputes the hyperbolic tangent of x csch(x)sech(x)coth(x) NumberNumberNumber computes the hyperbolic cosecant of xcomputes the hyperbolic secant of xcomputes the hyperbolic cotangent of x arcsinh(x)arccosh(x)arctanh(x) NumberNumberNumber computes the inverse hyperbolic sine of xcomputes the inverse hyperbolic cosine of xcomputes the inverse hyperbolic tangent of x arccsch(x)arcsech(x)arccoth(x) NumberNumberNumber computes the inverse hyperbolic cosecant of xcomputes the inverse hyperbolic secant of xcomputes the inverse hyperbolic cotangent of x

## Basic Functions

 Notation JavaScript Syntax PlayGround Syntax |x| Math.abs(x) abs(x) xyex√xx2 Math.pow(x,y)Math.exp(x)Math.sqrt(x) pow(x,y)exp(x)sqrt(x)sq(x) ln x Math.log(x) ln(x) or log(x,b) sin xcos xtan x Math.sin(x)Math.cos(x)Math.tan(x) sin(x)cos(x)tan(x) arcsin xarccos xarctan x Math.asin(x)Math.acos(x)Math.atan(x) arcsin(x)arccos(x)arctan(x) xx Math.floor(x)Math.ceil(x)Math.round(x) floor(x)ceil(x)round(x,n) Math.min(a,b)Math.max(a,b) min([a,b,c,...])max([a,b,c,...]) pi, e Math.random() random(b1,b2,n)

Computation Examples
abs(–17)=17
arccos(0)=1.5707963267948965
arccosh(1)=0
base(5,2)=101
ceil(pi/2)=2
exp(2)=7.38905609893065
factor(60)=[2,2,3,5]
factorial(5)=120
factorial(5,2)=15
fibonacci(17)=1597
floor(pi/2)=1
gcd(20,25)=5
lcm(20,25)=100
log(100,10)=2
ln(2)=0.6931471805599453
max([5,65,1105])=1105
min([5,65,1105])=5
pow(2,3)=8
product([1,3,5,7,9])=945
random(1,4,5) could equal 1.61803, 2.71828, 3.14159, and many other values
round(pi/2)=2
round(pi/2,2)=1.57
sign(3)=1
sign(–3)=–1
sin(pi/2)=1
sinh(ln(2))=.75
sqrt(289)=17
sum([1,2,3,4,5,6,7,8,9])=45

The above are courtesy E Rowland of http://math.rutgers.edu/