Professional Documents
Culture Documents
=>
x^y - yx = 0
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
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,5,6} = 30
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,3,3,3} = 27
order 22
{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,22} = 44
{1,1,1,1,1,1,1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,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.
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}
<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
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
1
1
1
2
2
2
3
3
5
5
1
1
1
2
2
5
1
1
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
2
3
5
1
2
5
1
3
1
2
1
2
5
1
2
1
1
3
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
5
3
2
5
2
1
3
1
2
1
5
2
1
2
1
1
3
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
2
2
2
2
3
3
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
1
1
1
2
2
2
3
3
5
5
1
1
1
2
2
5
1
1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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