Smoo,
Is 5 and self-contained number?
I'd say yes.All complicated math expressions like 254^(45/2)+2*10^(-432) can ultimately be described as adding or subtracting the number one to itself a bunch of times (or fractions of times).
In that sense, 5 = 1+1+1+1+1.
Moreover, 25 = (2*10)+(5*1) = (1+1)(1+1+1+1+1+1+1+1+1+1)+(1+1+1+1+1) = (1+1)+(1+1)+(1+1)+(1+1)+(1+1)+(1+1)+(1+1)+(1+1)+(1+1)+(1+1)+(1+1+1+1+1).
In that sense, everything is an operation, and everything thereofre comes down to order of operations.
The
first operation is to convert consecutive numerals into values by multiplying the last in the string by one, the second-to-last by ten, the third-to-last by a hundred, etc., and summing the respective products.
Once that's done, you apply operators such as ^, *, /, +, and -.
I would define "self-contained number" in Smoo's sense as any group of characters that are dealt with
before any of the explicit operators.
So "5" is definitely a self-contained number in that sense.
Smoo was arguing that "-5" should also be a self-contained number in that sense (converting "-5" into the value of negative five before doing anything else with it, like squaring it).
By standard convention, though, "-5" is not a self-contained number in the Smoo sense because of fact the "-5" is not resolved into negative five before any operators are applied to it. The "5" is resolved into the value of five before any operators are applied, but then any "^" would take priority over the "-". Which means "-5" isn't self-contained.
But certainly "5" would be self-contained.