News for hackers. Stuff that matters.
Re:Making any integer with four 2s by grayfaced on Sunday February 23, 2025 @12:38PM (#43151237)
The problem is allowing arbitrary numbers of unary operators. If you allowed ++ increment it would be trivialized even easier. Could even do all complex numbers with only 2 twos.
Re:Making any integer with four 2s by account42 on Tuesday February 25, 2025 @08:42AM (#43171726)
If you don't allow arbitrary numbers of unary operators and only a finite set of binary operators then you will only be able to represent a finite number of numbers. You need at least one "useful" unary operator for the problem to remain interesting.