/expressionfinder

Tool for solving math problems involving finding an expression for a given value. (like numberphile's 10958 problem)

Primary LanguageC++MIT LicenseMIT

expressionfinder

Tool for solving math problems involving finding an expression for a given value. (like numberphile's 10958 problem)

background

The Numberphile video's

Discussion

Similar tools

The papers discussed in the numberphile youtube video

using addition, subtraction, multiplication, division, 'potentiation' ( == exponentiation ), concatenation, negation where concatenation and negation are not explicitly mentioned

findexpr

Findexpr is a tool which will generate all possible equations using the above operations and numbers, except for negation.

findexpr -t 10958

Will take about 3 hours to search all, and report each which results in 10958.

Just typing findexpr by itself, will report all values.

See the sourcecode for further explanation.

Dependencies