Choose a number. Use 4, 4, 4, and 4, with any operators and parentheses, to equal your chosen number. For example:
0 = (4 + 4) – (4 + 4)
1 = (4 + 4) / (4 + 4)
You can use:
+
–
*
/
x^n
, where you make x and n using the other rules()
Use rules for 0 to 20, and:
!
, like 4!
for 24sqrt(4)
for 2.4~
for 0.444…You cannot use:
%
, like 44%
for 0.44.(
anything)
, like .(4!)
for 0.241
directly, like 4-1 or 1/4
for 0.25int()
, ceil()
, floor()
, frac()
, as these are approximationslog
, which you could use to find every solution by nesting log
and sqrt
4
, like π
, or e