You are on page 1of 8

_____________________________________________________________________

Where Multiplication And Addition Meet


Written By Adi Cox
12th May 2015.
_____________________________________________________________________
It is a trivial example to say that 2 x 2 = 2 + 2
We can express the the example above as:
x^2 = 2x
Rearranging the equation by dividing both sides by x:
we get x = 2
With two operands we have a binary operation as with the 2 times 2
and the 2 plus 2, but what about a trinary operation where x plus x
plus x equals 3 times x. This can be expressed as follows:
x^3 = 3x
Rearranging the equation to find the value of x we divide both sides
by x and then square root both sides of the equation to get:
x = 3^(1/2)

x equals the square root of 3.

If we check the answer we will find that:


3 * 3^(1/2) = 3^(1/2) + 3^(1/2) + 3^(1/2)
= 5.196152423 to 9 d.p.
Next we look at expressing a quaternary operation:
x^4 = 4x
And get the solution for x:
x = 4^(1/3)

x equals the cube root of 4.

If we check the answer we will find that:


4 * 4^(1/3) = 4^(1/3) + 4^(1/3) + 4^(1/3)
= 6.349604208 to 9 d.p.
So x plus x plus x plus x = 4 times x when x = 4^(1/3)
So if we look we will see a pattern:
x^y = yx

=>

x^y - yx = 0

Solving the above equation we find that x = y^(1/y-1),

And so y.y^(1/y-1) = y^(y/y-1), where y is the order of operation.


_____________________________________________________________________

If we only consider positive integers then we get these results for


both multiplication and addition:
_____________________________________________________________________
order 2
{2,2} = 4
order 3
{1,2,3} = 6
order 4
{1,1,2,4} = 8
order 5
{1,1,1,2,5} = 10
{1,1,1,3,3} = 9
{1,1,2,2,2} = 8
order 6
{1,1,1,1,2,6} = 12
order 7
{1,1,1,1,1,2,7} = 14
{1,1,1,1,1,3,4} = 12
order 8
{1,1,1,1,1,1,2,8} = 16
{1,1,1,1,1,2,2,3} = 12
order 9
{1,1,1,1,1,1,1,2,9} = 18
{1,1,1,1,1,1,1,3,5} = 15
order 10
{1,1,1,1,1,1,1,1,2,10} = 20
{1,1,1,1,1,1,1,1,4,4} = 16
order 11
{1,1,1,1,1,1,1,1,1,2,11} = 22
{1,1,1,1,1,1,1,1,1,3,6} = 18
{1,1,1,1,1,1,1,1,2,2,4} = 16
order 12
{1,1,1,1,1,1,1,1,1,1,2,12} = 24
{1,1,1,1,1,1,1,1,2,2,2,2} = 16
order 13
{1,1,1,1,1,1,1,1,1,1,1,2,13} = 26
{1,1,1,1,1,1,1,1,1,1,1,3,7} = 21
{1,1,1,1,1,1,1,1,1,1,1,4,5} = 20
{1,1,1,1,1,1,1,1,1,1,2,3,3} = 18

order 14
{1,1,1,1,1,1,1,1,1,1,1,1,2,14} = 28
{1,1,1,1,1,1,1,1,1,1,1,2,2,5} = 20
order 15
{1,1,1,1,1,1,1,1,1,1,1,1,1,2,15} = 30
{1,1,1,1,1,1,1,1,1,1,1,1,1,3,8} = 24
order 16
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,16} = 32
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,6} = 24
order 17
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,17} = 34
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,9} = 27
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,5,5} = 25
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,6} = 24
order 18
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,18} = 36
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,3,4} = 24
order 19
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,19} = 38
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,10} = 30
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,7} = 28
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,3} = 24
order 20
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,20} = 40
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,7} = 28
order 21
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,21} = 42
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,11} = 33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1,1,1,1,1,6,7} = 42
order 32
{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,2,32} = 64
{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,2,2,11} = 44
{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,2,4,5} = 40
_____________________________________________________________________

Pattern 1
The most obvious pattern for any order where r is any order:
{(r-2)*1,2,r} where r is an integer > 0.
e.g. where r=5 we get {1,1,1,2,5}
It is interesting to note that order 24 only has this one pattern.

Pattern 2
{(r-2)*1,3,2+n} where r = 2n+3 and n is an integer > 0.
e.g. where r=5 we get {1,1,1,3,3}

Pattern 3
{(r-3)*1,2,2,1+n} where r = 3n+2 and n is an integer > 0.
e.g. where r=5 we get {1,1,2,2,2}

Pattern 4
{(r-2)*1,4,3+n} where r = 3n+7 and n is an integer > 0.
e.g. where r=10 we get {1,1,1,1,1,1,1,1,4,4}

Pattern 5
{(r-4)*1,2,2,2,1+n} where r = 7n+5 and n is an integer > 0.
e.g. where r=12 we get {1,1,1,1,1,1,1,1,2,2,2,2}

Pattern 6
{(r-2)*1,5,4+n}
where r = 4n+13 and n is an integer > 0.
e.g. where r=17 we get {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,5,5}

Pattern 7
{(r-3)*1,2,3,3+n}
where r = 5n+13 and n is an integer > 0.
e.g. where r=18 we get {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,3,4}

Pattern 8
{(r-3)*1,3,3,2+n}
where r = 8n+13 and n is an integer > 0.
e.g. where r=21 we get {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3}

Pattern 9
{(r-3)*1,2,4,2+n}
where r = 7n+13 and n is an integer > 0.

e.g. where r=25 we get:


{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,4,4}

Pattern 10
{(r-2)*1,6,5+n}
where r = 5n+21 and n is an integer > 0.
e.g. where r=26 we get:
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,6,6}

Pattern 11
{(r-5)*1,2,2,2,2,1+n}
where r = ? and n is an integer > 0.
e.g. where r=27 we get:
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2}

Pattern 12
{(r-4)*1,2,2,3,2+n}
where r = ? and n is an integer > 0.
e.g. where r=30 we get:
{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,2,2,3,3}

MORE MATHEMATICAL MUSINGS LATER. TIME TO END THIS SESSION : (


_____________________________________________________________________
An example of the program used to get the order 5 results:
_____________________________________________________________________
<!DOCTYPE HTML PUBLIC " - //W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>A for loop</title>
</head>

<body>
<script type="text/javascript" language="javascript">
document.write("<h3>a * b * c * d * e = a + b + c + d + e = z<h3>")
u=1;
v=9;
for (a
{
for (b
{
for (c
{
for (d
{
for (e
{

= u; a <= v; a++)
= u; b <= v; b++)
= u; c <= v; c++)
= u; d <= v; d++)
= u; e <= v; e++)

z=a+b+c+d+e;
if(((a*b*c*d*e)==(a+b+c+d+e))&&(z!=0))
{
document.write(a," * ", b," * ", c," * ", d," * ", e," = ",
a," + ", b," + ", c," + ", d," + ", e," = ", z, "<br />");
}
}
}
}
}
}
</script>
</body>
</html>
_____________________________________________________________________
Output of the above program:
_____________________________________________________________________
a * b * c * d * e = a + b + c + d + e = z
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
2
2
2
2
2
2
3
3

*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
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