Operations +, -, *, /, %, parenthesis ( ).
x%y is x modulo y (remainder of division of x by |y|, with the sign of x). x%1 is the fractional part, alias frac(x)
Note : the x^y operation must be written pow(x, y). "x^y" meaning the binary exclusive or (rejected) !
Constants : pi = π = 3.1415..., e = 2.71828...
Numbers as signed integers or floating point values [+/-]xxx[.yyy][E[+/-]nn], ex : 3.14, 1.54E-4, -12345 ...
(note that 'e' is understood as constant e, you must use capital E in numbers)
log( ) = base 10 logarithm, ln( ) = natural, base e logarithm, log2( ) = base 2 logarithm
exp(x) = ex, pow(x, y) = xy, sqrt(x) = √x
sin( ), cos( ), tan( ), asin( ), acos( ), atan( ), abs(x), max(x, y), min(x, y)
ceil(x) is the smallest relative integer (in Z) ≥ x,
floor(x) the largest relative integer ≤x
round(x) the nearest relative integer to x
are not granted.
|P[i] = a[i]P[i-1] + b[i]P[i-2], Q[i] = a[i]P[i-1] + b[i]Q[i-2]
a[i] = i+1 = 1,2,3,4,5,6,...
b = x, b[i] = floor((i+1)/2)²x = x, x, x, 4x, 4x, 9x, 9x, 16x, 16x, 25x, 25x,...