Integer Explorer Help

Expression Analyzer

operationnotationremarks
positive+aunary plus
negative-aunary minus
additiona+bplus
substractiona-bminus
multiplicationa*btimes
remaindera%bmodulo
integer divisiona/bover (integer result)
exponentiona^bpower

functionnotationremarks
factorialn!up to n = 170
permutation or arrangementP(n, r)n ⩾ r
combination or binomial coefficient (choose)C(n, r)n ⩾ r
Greatest Common DivisorGCD(a, b, …)at least one parameter
Least Common MultipleLCM(a, b, …)at least one parameter
minimumMin(a, b, …)at least one parameter
maximumMax(a, b, …)at least one parameter
sumSum(a, b, …)at least one parameter
productProd(a, b, …)at least one parameter
integer square rootSqRt(a)integer result
integer cubic rootCbRt(a)integer result
random integerRand(n)between 1 and n included
For functions taking one parameter or more, parentheses are mandatory.
For functions taking exactly one parameter, they are optional.

sequencenotationremarks
primePrime(n)up to n = 1000
repunit (Rn is written with n repeated 1s in decimal numeral system)R(n)up to n = 309
Mersenne (Mn = 2n-1)M(n)up to n = 1024
Fermat (Fermatn = 22n+1)Fermat(n)up to n = 9
Fibonacci (F0 = 0, F1 = 1 and Fn = Fn-1 + Fn-2)F(n)up to n = 299
triangular numbers (Tn = n(n+1)/2)T(n)up to n = 2512
For sequences, parentheses are optional.

Examples

r(r2)
r15/r3/r5
gcd(r6, 142857)
prime200*prime201semi-prime
18!+7can take more than 1 second but not much more
170!huge number but very fast to factorize!
f60+f61the sum of 2 consecutive Fibonacci numbers is a Fibonacci number
P(123456, 4)+1P(n, 4)+1 = n×(n+1)×(n+2)×(n+3)+1 is always a square
318665857834031151167461Miller-Rabin strong pseudoprime
7323711140672471990827043rather large semiprime