Concatenation being the joining of two integers by their numerals, or, more plainly, just smooshing the numbers together (denoted $a \ || \ b$ .) Examples: $5 \ || \ 2 = 52$, and $20 \ || \ 17 = 2017$.
My question is where do you think concatenation should go in the order of operations? And why?
Or, how would you evaluate $5 \times 1 \ || \ 2 + 4$ ? And why?
- $5 \times 1 \ || \ 2 + 4 = (5 \times 1) \ || \ 2 + 4 = 5 \ || \ 2 + 4= 52 + 4 = 56$,
- $5 \times 1 \ || \ 2 + 4 = 5 \times (1 \ || \ 2) + 4 = 5 \times 12 + 4= 60 + 4 = 64$.
Edit: I intend on using concatenation in expressions with exponentiation, multiplication/division, and addition/subtraction. No parenthesis, that would be too obvious, since concatenation would probably have to come after parenthesis in the order of operations.
In the video The 10958 Problem by Numberphile, Parker uses concatenations to solve the problem. As he does this, he treats concatinations as after multiplication and division, but before addition and subtraction. So I believe the Order of Operations would be PEMDCAS.
However, concatenations are not really well used, so it really wouldn't go into the order of operations properly :D