Fibonacci[n] gives the Fibonacci number F_n. Fibonacci[n, x] gives the Fibonacci polynomial F_n (x).
PowerMod[a, b, m] gives a^b mod m. PowerMod[a, -1, m] finds the modular inverse of a modulo m.PowerMod[a, 1/r, m] finds a modular r\[Null]^th root of a.
Primes
(Built-in Mathematica Symbol) Primes represents the domain of prime numbers, as in x \[Element] Primes.
RandomInteger[{i_min, i_max}] gives a pseudorandom integer in the range {i_min, i_max}. RandomInteger[i_max] gives a pseudorandom integer in the range {0, ...
SetAttributes[s, attr] adds attr to the list of attributes of the symbol s.
While
(Built-in Mathematica Symbol) While[test, body] evaluates test, then body, repetitively, until test first fails to give True.
In many computations you are concerned only with the final result of evaluating the expression given as input. But sometimes you also want to collect expressions that were ...
Extension is an option for various polynomial and algebraic functions that specifies generators for the algebraic number field to be used.
Array
(Built-in Mathematica Symbol) Array[f, n] generates a list of length n, with elements f[i]. Array[f, {n_1, n_2, ...}] generates an n_1*n_2*... array of nested lists, with elements f[i_1, i_2, ...]. ...
TrigReduce[expr] rewrites products and powers of trigonometric functions in expr in terms of trigonometric functions with combined arguments.