nums listlengths 4 4 | target int64 10 100 | solution listlengths 3 3 | optimal_path stringlengths 282 529 | start_size int64 4 4 | search_path stringlengths 505 16.8k | rating float64 0 0.99 | search_type stringclasses 5
values | heuristic stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
[
49,
22,
28,
41
] | 15 | [
"49+41=90",
"28-22=6",
"90/6=15"
] | Current State: 15:[49, 22, 28, 41], Operations: []
Exploring Operation: 49+41=90, Resulting Numbers: [22, 28, 90]
Generated Node #2: [22, 28, 90] from Operation: 49+41=90
Current State: 15:[22, 28, 90], Operations: ['49+41=90']
Exploring Operation: 28-22=6, Resulting Numbers: [90, 6]
Generated Node #3: [90, 6] from Operation: 28-22=6
Current State: 15:[90, 6], Operations: ['49+41=90', '28-22=6']
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[49, 22, 28, 41], Operations: []
Exploring Operation: 49-41=8, Resulting Numbers: [22, 28, 8]
Generated Node #0,0: 15:[22, 28, 8] Operation: 49-41=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[22, 28, 8], Operations: ['49-41=8']
Exploring Operation: 28-22=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 15:[8, 6] Operation: 28-22=6
Moving to Node #0,0,0
Current State: 15:[8, 6], Operations: ['49-41=8', '28-22=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
10,
45,
55,
74
] | 74 | [
"10+45=55",
"55+74=129",
"129-55=74"
] | Current State: 74:[10, 45, 55, 74], Operations: []
Exploring Operation: 10+45=55, Resulting Numbers: [55, 74, 55]
Generated Node #2: [55, 74, 55] from Operation: 10+45=55
Current State: 74:[55, 74, 55], Operations: ['10+45=55']
Exploring Operation: 55+74=129, Resulting Numbers: [129]
129,74 equal: Goal Reached
Exploring Operation: 129-55=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[10, 45, 55, 74], Operations: []
Exploring Operation: 55-10=45, Resulting Numbers: [45, 74, 45]
Generated Node #0,0: 74:[45, 74, 45] Operation: 55-10=45
Exploring Operation: 55-45=10, Resulting Numbers: [10, 74, 10]
Generated Node #0,1: 74:[10, 74, 10] Operation: 55-45=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[45, 74, 45], Operations: ['55-10=45']
Exploring Operation: 45/45=1, Resulting Numbers: [74, 1]
Generated Node #0,0,0: 74:[74, 1] Operation: 45/45=1
Exploring Operation: 45-45=0, Resulting Numbers: [74, 0]
Generated Node #0,0,1: 74:[74, 0] Operation: 45-45=0
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[74, 1], Operations: ['55-10=45', '45/45=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[10, 45, 55, 74], Operations: []
Exploring Operation: 55-10=45, Resulting Numbers: [45, 74, 45]
Generated Node #0,0: 74:[45, 74, 45] Operation: 55-10=45
Moving to Node #0,0
Current State: 74:[45, 74, 45], Operations: ['55-10=45']
Exploring Operation: 45/45=1, Resulting Numbers: [74, 1]
Generated Node #0,0,0: 74:[74, 1] Operation: 45/45=1
Moving to Node #0,0,0
Current State: 74:[74, 1], Operations: ['55-10=45', '45/45=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
3,
7,
20,
88
] | 83 | [
"7-3=4",
"20/4=5",
"88-5=83"
] | Current State: 83:[3, 7, 20, 88], Operations: []
Exploring Operation: 7-3=4, Resulting Numbers: [20, 88, 4]
Generated Node #2: [20, 88, 4] from Operation: 7-3=4
Current State: 83:[20, 88, 4], Operations: ['7-3=4']
Exploring Operation: 20/4=5, Resulting Numbers: [88, 5]
Generated Node #3: [88, 5] from Operation: 20/4=5
Current State: 83:[88, 5], Operations: ['7-3=4', '20/4=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[3, 7, 20, 88], Operations: []
Exploring Operation: 3+20=23, Resulting Numbers: [7, 88, 23]
Generated Node #0,0: 83:[7, 88, 23] Operation: 3+20=23
Exploring Operation: 3*7=21, Resulting Numbers: [20, 88, 21]
Generated Node #0,1: 83:[20, 88, 21] Operation: 3*7=21
Exploring Operation: 3*20=60, Resulting Numbers: [7, 88, 60]
Generated Node #0,2: 83:[7, 88, 60] Operation: 3*20=60
Exploring Operation: 3+7=10, Resulting Numbers: [20, 88, 10]
Generated Node #0,3: 83:[20, 88, 10] Operation: 3+7=10
Moving to Node #0,2
Current State: 83:[7, 88, 60], Operations: ['3*20=60']
Exploring Operation: 60-7=53, Resulting Numbers: [88, 53]
Generated Node #0,2,0: 83:[88, 53] Operation: 60-7=53
Exploring Operation: 7+88=95, Resulting Numbers: [60, 95]
Generated Node #0,2,1: 83:[60, 95] Operation: 7+88=95
Exploring Operation: 7+60=67, Resulting Numbers: [88, 67]
Generated Node #0,2,2: 83:[88, 67] Operation: 7+60=67
Exploring Operation: 88-7=81, Resulting Numbers: [60, 81]
Generated Node #0,2,3: 83:[60, 81] Operation: 88-7=81
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[88, 67], Operations: ['3*20=60', '7+60=67']
Exploring Operation: 88*67=5896, Resulting Numbers: [5896]
5896,83 unequal: No Solution
Exploring Operation: 88-67=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 88+67=155, Resulting Numbers: [155]
155,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 83:[60, 81], Operations: ['3*20=60', '88-7=81']
Exploring Operation: 81-60=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 60*81=4860, Resulting Numbers: [4860]
4860,83 unequal: No Solution
Exploring Operation: 60+81=141, Resulting Numbers: [141]
141,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[88, 53], Operations: ['3*20=60', '60-7=53']
Exploring Operation: 88+53=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Exploring Operation: 88-53=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 88*53=4664, Resulting Numbers: [4664]
4664,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[60, 95], Operations: ['3*20=60', '7+88=95']
Exploring Operation: 60*95=5700, Resulting Numbers: [5700]
5700,83 unequal: No Solution
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,83 unequal: No Solution
Exploring Operation: 60+95=155, Resulting Numbers: [155]
155,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 83:[20, 88, 21], Operations: ['3*7=21']
Exploring Operation: 88-20=68, Resulting Numbers: [21, 68]
Generated Node #0,1,0: 83:[21, 68] Operation: 88-20=68
Exploring Operation: 20+88=108, Resulting Numbers: [21, 108]
Generated Node #0,1,1: 83:[21, 108] Operation: 20+88=108
Exploring Operation: 88-21=67, Resulting Numbers: [20, 67]
Generated Node #0,1,2: 83:[20, 67] Operation: 88-21=67
Exploring Operation: 20+21=41, Resulting Numbers: [88, 41]
Generated Node #0,1,3: 83:[88, 41] Operation: 20+21=41
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 83:[88, 41], Operations: ['3*7=21', '20+21=41']
Exploring Operation: 88+41=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Exploring Operation: 88*41=3608, Resulting Numbers: [3608]
3608,83 unequal: No Solution
Exploring Operation: 88-41=47, Resulting Numbers: [47]
47,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[21, 68], Operations: ['3*7=21', '88-20=68']
Exploring Operation: 21*68=1428, Resulting Numbers: [1428]
1428,83 unequal: No Solution
Exploring Operation: 21+68=89, Resulting Numbers: [89]
89,83 unequal: No Solution
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[20, 67], Operations: ['3*7=21', '88-21=67']
Exploring Operation: 20+67=87, Resulting Numbers: [87]
87,83 unequal: No Solution
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Exploring Operation: 20*67=1340, Resulting Numbers: [1340]
1340,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[21, 108], Operations: ['3*7=21', '20+88=108']
Exploring Operation: 21*108=2268, Resulting Numbers: [2268]
2268,83 unequal: No Solution
Exploring Operation: 21+108=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Exploring Operation: 108-21=87, Resulting Numbers: [87]
87,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 83:[20, 88, 10], Operations: ['3+7=10']
Exploring Operation: 88-10=78, Resulting Numbers: [20, 78]
Generated Node #0,3,0: 83:[20, 78] Operation: 88-10=78
Exploring Operation: 20-10=10, Resulting Numbers: [88, 10]
Generated Node #0,3,1: 83:[88, 10] Operation: 20-10=10
Exploring Operation: 88+10=98, Resulting Numbers: [20, 98]
Generated Node #0,3,2: 83:[20, 98] Operation: 88+10=98
Exploring Operation: 20+10=30, Resulting Numbers: [88, 30]
Generated Node #0,3,3: 83:[88, 30] Operation: 20+10=30
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 83:[88, 30], Operations: ['3+7=10', '20+10=30']
Exploring Operation: 88*30=2640, Resulting Numbers: [2640]
2640,83 unequal: No Solution
Exploring Operation: 88+30=118, Resulting Numbers: [118]
118,83 unequal: No Solution
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 83:[20, 78], Operations: ['3+7=10', '88-10=78']
Exploring Operation: 78-20=58, Resulting Numbers: [58]
58,83 unequal: No Solution
Exploring Operation: 20+78=98, Resulting Numbers: [98]
98,83 unequal: No Solution
Exploring Operation: 20*78=1560, Resulting Numbers: [1560]
1560,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 83:[88, 10], Operations: ['3+7=10', '20-10=10']
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,83 unequal: No Solution
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,83 unequal: No Solution
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 83:[20, 98], Operations: ['3+7=10', '88+10=98']
Exploring Operation: 20+98=118, Resulting Numbers: [118]
118,83 unequal: No Solution
Exploring Operation: 20*98=1960, Resulting Numbers: [1960]
1960,83 unequal: No Solution
Exploring Operation: 98-20=78, Resulting Numbers: [78]
78,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 83:[7, 88, 23], Operations: ['3+20=23']
Exploring Operation: 7+88=95, Resulting Numbers: [23, 95]
Generated Node #0,0,0: 83:[23, 95] Operation: 7+88=95
Exploring Operation: 88-7=81, Resulting Numbers: [23, 81]
Generated Node #0,0,1: 83:[23, 81] Operation: 88-7=81
Exploring Operation: 7+23=30, Resulting Numbers: [88, 30]
Generated Node #0,0,2: 83:[88, 30] Operation: 7+23=30
Exploring Operation: 23-7=16, Resulting Numbers: [88, 16]
Generated Node #0,0,3: 83:[88, 16] Operation: 23-7=16
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[88, 30], Operations: ['3+20=23', '7+23=30']
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,83 unequal: No Solution
Exploring Operation: 88+30=118, Resulting Numbers: [118]
118,83 unequal: No Solution
Exploring Operation: 88*30=2640, Resulting Numbers: [2640]
2640,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[23, 81], Operations: ['3+20=23', '88-7=81']
Exploring Operation: 23+81=104, Resulting Numbers: [104]
104,83 unequal: No Solution
Exploring Operation: 23*81=1863, Resulting Numbers: [1863]
1863,83 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[23, 95], Operations: ['3+20=23', '7+88=95']
Exploring Operation: 23*95=2185, Resulting Numbers: [2185]
2185,83 unequal: No Solution
Exploring Operation: 23+95=118, Resulting Numbers: [118]
118,83 unequal: No Solution
Exploring Operation: 95-23=72, Resulting Numbers: [72]
72,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[88, 16], Operations: ['3+20=23', '23-7=16']
Exploring Operation: 88*16=1408, Resulting Numbers: [1408]
1408,83 unequal: No Solution
Exploring Operation: 88+16=104, Resulting Numbers: [104]
104,83 unequal: No Solution
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
36,
29,
42,
45
] | 62 | [
"36+29=65",
"45-42=3",
"65-3=62"
] | Current State: 62:[36, 29, 42, 45], Operations: []
Exploring Operation: 36+29=65, Resulting Numbers: [42, 45, 65]
Generated Node #2: [42, 45, 65] from Operation: 36+29=65
Current State: 62:[42, 45, 65], Operations: ['36+29=65']
Exploring Operation: 45-42=3, Resulting Numbers: [65, 3]
Generated Node #3: [65, 3] from Operation: 45-42=3
Current State: 62:[65, 3], Operations: ['36+29=65', '45-42=3']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[36, 29, 42, 45], Operations: []
Exploring Operation: 45-36=9, Resulting Numbers: [29, 42, 9]
Generated Node #0,0: 62:[29, 42, 9] Operation: 45-36=9
Exploring Operation: 42-36=6, Resulting Numbers: [29, 45, 6]
Generated Node #0,1: 62:[29, 45, 6] Operation: 42-36=6
Exploring Operation: 36+29=65, Resulting Numbers: [42, 45, 65]
Generated Node #0,2: 62:[42, 45, 65] Operation: 36+29=65
Exploring Operation: 45-42=3, Resulting Numbers: [36, 29, 3]
Generated Node #0,3: 62:[36, 29, 3] Operation: 45-42=3
Exploring Operation: 29+42=71, Resulting Numbers: [36, 45, 71]
Generated Node #0,4: 62:[36, 45, 71] Operation: 29+42=71
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[36, 29, 3], Operations: ['45-42=3']
Exploring Operation: 36+3=39, Resulting Numbers: [29, 39]
Generated Node #0,3,0: 62:[29, 39] Operation: 36+3=39
Exploring Operation: 36-3=33, Resulting Numbers: [29, 33]
Generated Node #0,3,1: 62:[29, 33] Operation: 36-3=33
Exploring Operation: 36-29=7, Resulting Numbers: [3, 7]
Generated Node #0,3,2: 62:[3, 7] Operation: 36-29=7
Exploring Operation: 29+3=32, Resulting Numbers: [36, 32]
Generated Node #0,3,3: 62:[36, 32] Operation: 29+3=32
Exploring Operation: 36+29=65, Resulting Numbers: [3, 65]
Generated Node #0,3,4: 62:[3, 65] Operation: 36+29=65
Moving to Node #0,3,1
Current State: 62:[29, 33], Operations: ['45-42=3', '36-3=33']
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[36, 29, 42, 45], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [36, 29, 3]
Generated Node #0,3: 62:[36, 29, 3] Operation: 45-42=3
Moving to Node #0,3
Current State: 62:[36, 29, 3], Operations: ['45-42=3']
Exploring Operation: 36-3=33, Resulting Numbers: [29, 33]
Generated Node #0,3,1: 62:[29, 33] Operation: 36-3=33
Moving to Node #0,3,1
Current State: 62:[29, 33], Operations: ['45-42=3', '36-3=33']
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
24,
17,
55,
93
] | 26 | [
"17+93=110",
"110/55=2",
"24+2=26"
] | Current State: 26:[24, 17, 55, 93], Operations: []
Exploring Operation: 17+93=110, Resulting Numbers: [24, 55, 110]
Generated Node #2: [24, 55, 110] from Operation: 17+93=110
Current State: 26:[24, 55, 110], Operations: ['17+93=110']
Exploring Operation: 110/55=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 110/55=2
Current State: 26:[24, 2], Operations: ['17+93=110', '110/55=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[24, 17, 55, 93], Operations: []
Exploring Operation: 55-17=38, Resulting Numbers: [24, 93, 38]
Generated Node #0,0: 26:[24, 93, 38] Operation: 55-17=38
Exploring Operation: 55-24=31, Resulting Numbers: [17, 93, 31]
Generated Node #0,1: 26:[17, 93, 31] Operation: 55-24=31
Exploring Operation: 93-24=69, Resulting Numbers: [17, 55, 69]
Generated Node #0,2: 26:[17, 55, 69] Operation: 93-24=69
Exploring Operation: 93-55=38, Resulting Numbers: [24, 17, 38]
Generated Node #0,3: 26:[24, 17, 38] Operation: 93-55=38
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[24, 17, 38], Operations: ['93-55=38']
Exploring Operation: 38-24=14, Resulting Numbers: [17, 14]
Generated Node #0,3,0: 26:[17, 14] Operation: 38-24=14
Exploring Operation: 38-17=21, Resulting Numbers: [24, 21]
Generated Node #0,3,1: 26:[24, 21] Operation: 38-17=21
Exploring Operation: 24+17=41, Resulting Numbers: [38, 41]
Generated Node #0,3,2: 26:[38, 41] Operation: 24+17=41
Exploring Operation: 24-17=7, Resulting Numbers: [38, 7]
Generated Node #0,3,3: 26:[38, 7] Operation: 24-17=7
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 26:[17, 14], Operations: ['93-55=38', '38-24=14']
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Exploring Operation: 17*14=238, Resulting Numbers: [238]
238,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 26:[24, 21], Operations: ['93-55=38', '38-17=21']
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 24*21=504, Resulting Numbers: [504]
504,26 unequal: No Solution
Exploring Operation: 24+21=45, Resulting Numbers: [45]
45,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 26:[38, 7], Operations: ['93-55=38', '24-17=7']
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,26 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 26:[38, 41], Operations: ['93-55=38', '24+17=41']
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 38*41=1558, Resulting Numbers: [1558]
1558,26 unequal: No Solution
Exploring Operation: 38+41=79, Resulting Numbers: [79]
79,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[17, 93, 31], Operations: ['55-24=31']
Exploring Operation: 31-17=14, Resulting Numbers: [93, 14]
Generated Node #0,1,0: 26:[93, 14] Operation: 31-17=14
Exploring Operation: 93-31=62, Resulting Numbers: [17, 62]
Generated Node #0,1,1: 26:[17, 62] Operation: 93-31=62
Exploring Operation: 93-17=76, Resulting Numbers: [31, 76]
Generated Node #0,1,2: 26:[31, 76] Operation: 93-17=76
Exploring Operation: 93/31=3, Resulting Numbers: [17, 3]
Generated Node #0,1,3: 26:[17, 3] Operation: 93/31=3
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 26:[17, 3], Operations: ['55-24=31', '93/31=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,26 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 26:[17, 62], Operations: ['55-24=31', '93-31=62']
Exploring Operation: 17*62=1054, Resulting Numbers: [1054]
1054,26 unequal: No Solution
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,26 unequal: No Solution
Exploring Operation: 17+62=79, Resulting Numbers: [79]
79,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 26:[31, 76], Operations: ['55-24=31', '93-17=76']
Exploring Operation: 31*76=2356, Resulting Numbers: [2356]
2356,26 unequal: No Solution
Exploring Operation: 31+76=107, Resulting Numbers: [107]
107,26 unequal: No Solution
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 26:[93, 14], Operations: ['55-24=31', '31-17=14']
Exploring Operation: 93+14=107, Resulting Numbers: [107]
107,26 unequal: No Solution
Exploring Operation: 93*14=1302, Resulting Numbers: [1302]
1302,26 unequal: No Solution
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[17, 55, 69], Operations: ['93-24=69']
Exploring Operation: 69-17=52, Resulting Numbers: [55, 52]
Generated Node #0,2,0: 26:[55, 52] Operation: 69-17=52
Exploring Operation: 17+55=72, Resulting Numbers: [69, 72]
Generated Node #0,2,1: 26:[69, 72] Operation: 17+55=72
Exploring Operation: 69-55=14, Resulting Numbers: [17, 14]
Generated Node #0,2,2: 26:[17, 14] Operation: 69-55=14
Exploring Operation: 55-17=38, Resulting Numbers: [69, 38]
Generated Node #0,2,3: 26:[69, 38] Operation: 55-17=38
Moving to Node #0,2,2
Current State: 26:[17, 14], Operations: ['93-24=69', '69-55=14']
Exploring Operation: 17*14=238, Resulting Numbers: [238]
238,26 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[69, 38], Operations: ['93-24=69', '55-17=38']
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Exploring Operation: 69*38=2622, Resulting Numbers: [2622]
2622,26 unequal: No Solution
Exploring Operation: 69+38=107, Resulting Numbers: [107]
107,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[55, 52], Operations: ['93-24=69', '69-17=52']
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 55*52=2860, Resulting Numbers: [2860]
2860,26 unequal: No Solution
Exploring Operation: 55+52=107, Resulting Numbers: [107]
107,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[69, 72], Operations: ['93-24=69', '17+55=72']
Exploring Operation: 69*72=4968, Resulting Numbers: [4968]
4968,26 unequal: No Solution
Exploring Operation: 72-69=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 69+72=141, Resulting Numbers: [141]
141,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[24, 93, 38], Operations: ['55-17=38']
Exploring Operation: 93-38=55, Resulting Numbers: [24, 55]
Generated Node #0,0,0: 26:[24, 55] Operation: 93-38=55
Exploring Operation: 24+93=117, Resulting Numbers: [38, 117]
Generated Node #0,0,1: 26:[38, 117] Operation: 24+93=117
Exploring Operation: 38-24=14, Resulting Numbers: [93, 14]
Generated Node #0,0,2: 26:[93, 14] Operation: 38-24=14
Exploring Operation: 93-24=69, Resulting Numbers: [38, 69]
Generated Node #0,0,3: 26:[38, 69] Operation: 93-24=69
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[24, 55], Operations: ['55-17=38', '93-38=55']
Exploring Operation: 24*55=1320, Resulting Numbers: [1320]
1320,26 unequal: No Solution
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Exploring Operation: 24+55=79, Resulting Numbers: [79]
79,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 26:[38, 69], Operations: ['55-17=38', '93-24=69']
Exploring Operation: 38*69=2622, Resulting Numbers: [2622]
2622,26 unequal: No Solution
Exploring Operation: 38+69=107, Resulting Numbers: [107]
107,26 unequal: No Solution
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 26:[93, 14], Operations: ['55-17=38', '38-24=14']
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,26 unequal: No Solution
Exploring Operation: 93*14=1302, Resulting Numbers: [1302]
1302,26 unequal: No Solution
Exploring Operation: 93+14=107, Resulting Numbers: [107]
107,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[38, 117], Operations: ['55-17=38', '24+93=117']
Exploring Operation: 38+117=155, Resulting Numbers: [155]
155,26 unequal: No Solution
Exploring Operation: 117-38=79, Resulting Numbers: [79]
79,26 unequal: No Solution
Exploring Operation: 38*117=4446, Resulting Numbers: [4446]
4446,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
61,
42,
77,
3
] | 61 | [
"61-42=19",
"77+3=80",
"80-19=61"
] | Current State: 61:[61, 42, 77, 3], Operations: []
Exploring Operation: 61-42=19, Resulting Numbers: [77, 3, 19]
Generated Node #2: [77, 3, 19] from Operation: 61-42=19
Current State: 61:[77, 3, 19], Operations: ['61-42=19']
Exploring Operation: 77+3=80, Resulting Numbers: [19, 80]
Generated Node #3: [19, 80] from Operation: 77+3=80
Current State: 61:[19, 80], Operations: ['61-42=19', '77+3=80']
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[61, 42, 77, 3], Operations: []
Exploring Operation: 61-3=58, Resulting Numbers: [42, 77, 58]
Generated Node #0,0: 61:[42, 77, 58] Operation: 61-3=58
Exploring Operation: 77-3=74, Resulting Numbers: [61, 42, 74]
Generated Node #0,1: 61:[61, 42, 74] Operation: 77-3=74
Exploring Operation: 42+3=45, Resulting Numbers: [61, 77, 45]
Generated Node #0,2: 61:[61, 77, 45] Operation: 42+3=45
Exploring Operation: 61+3=64, Resulting Numbers: [42, 77, 64]
Generated Node #0,3: 61:[42, 77, 64] Operation: 61+3=64
Moving to Node #0,1
Current State: 61:[61, 42, 74], Operations: ['77-3=74']
Exploring Operation: 74-42=32, Resulting Numbers: [61, 32]
Generated Node #0,1,0: 61:[61, 32] Operation: 74-42=32
Exploring Operation: 42+74=116, Resulting Numbers: [61, 116]
Generated Node #0,1,1: 61:[61, 116] Operation: 42+74=116
Exploring Operation: 61-42=19, Resulting Numbers: [74, 19]
Generated Node #0,1,2: 61:[74, 19] Operation: 61-42=19
Exploring Operation: 61+42=103, Resulting Numbers: [74, 103]
Generated Node #0,1,3: 61:[74, 103] Operation: 61+42=103
Moving to Node #0,2
Current State: 61:[61, 77, 45], Operations: ['42+3=45']
Exploring Operation: 61+45=106, Resulting Numbers: [77, 106]
Generated Node #0,2,0: 61:[77, 106] Operation: 61+45=106
Exploring Operation: 77-61=16, Resulting Numbers: [45, 16]
Generated Node #0,2,1: 61:[45, 16] Operation: 77-61=16
Exploring Operation: 77-45=32, Resulting Numbers: [61, 32]
Generated Node #0,2,2: 61:[61, 32] Operation: 77-45=32
Exploring Operation: 61-45=16, Resulting Numbers: [77, 16]
Generated Node #0,2,3: 61:[77, 16] Operation: 61-45=16
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[61, 32], Operations: ['42+3=45', '77-45=32']
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 61*32=1952, Resulting Numbers: [1952]
1952,61 unequal: No Solution
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[77, 106], Operations: ['42+3=45', '61+45=106']
Exploring Operation: 106-77=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 77+106=183, Resulting Numbers: [183]
183,61 unequal: No Solution
Exploring Operation: 77*106=8162, Resulting Numbers: [8162]
8162,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[45, 16], Operations: ['42+3=45', '77-61=16']
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[61, 42, 77, 3], Operations: []
Exploring Operation: 42+3=45, Resulting Numbers: [61, 77, 45]
Generated Node #0,2: 61:[61, 77, 45] Operation: 42+3=45
Moving to Node #0,2
Current State: 61:[61, 77, 45], Operations: ['42+3=45']
Exploring Operation: 77-61=16, Resulting Numbers: [45, 16]
Generated Node #0,2,1: 61:[45, 16] Operation: 77-61=16
Moving to Node #0,2,1
Current State: 61:[45, 16], Operations: ['42+3=45', '77-61=16']
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
24,
92,
26,
46
] | 37 | [
"92/46=2",
"26/2=13",
"24+13=37"
] | Current State: 37:[24, 92, 26, 46], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [24, 26, 2]
Generated Node #2: [24, 26, 2] from Operation: 92/46=2
Current State: 37:[24, 26, 2], Operations: ['92/46=2']
Exploring Operation: 26/2=13, Resulting Numbers: [24, 13]
Generated Node #3: [24, 13] from Operation: 26/2=13
Current State: 37:[24, 13], Operations: ['92/46=2', '26/2=13']
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[24, 92, 26, 46], Operations: []
Exploring Operation: 92-24=68, Resulting Numbers: [26, 46, 68]
Generated Node #0,0: 37:[26, 46, 68] Operation: 92-24=68
Exploring Operation: 92-26=66, Resulting Numbers: [24, 46, 66]
Generated Node #0,1: 37:[24, 46, 66] Operation: 92-26=66
Exploring Operation: 24+26=50, Resulting Numbers: [92, 46, 50]
Generated Node #0,2: 37:[92, 46, 50] Operation: 24+26=50
Exploring Operation: 92-46=46, Resulting Numbers: [24, 26, 46]
Generated Node #0,3: 37:[24, 26, 46] Operation: 92-46=46
Exploring Operation: 92/46=2, Resulting Numbers: [24, 26, 2]
Generated Node #0,4: 37:[24, 26, 2] Operation: 92/46=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[24, 26, 46], Operations: ['92-46=46']
Exploring Operation: 26-24=2, Resulting Numbers: [46, 2]
Generated Node #0,3,0: 37:[46, 2] Operation: 26-24=2
Exploring Operation: 24+26=50, Resulting Numbers: [46, 50]
Generated Node #0,3,1: 37:[46, 50] Operation: 24+26=50
Exploring Operation: 24+46=70, Resulting Numbers: [26, 70]
Generated Node #0,3,2: 37:[26, 70] Operation: 24+46=70
Exploring Operation: 46-26=20, Resulting Numbers: [24, 20]
Generated Node #0,3,3: 37:[24, 20] Operation: 46-26=20
Exploring Operation: 46-24=22, Resulting Numbers: [26, 22]
Generated Node #0,3,4: 37:[26, 22] Operation: 46-24=22
Moving to Node #0,3,1
Current State: 37:[46, 50], Operations: ['92-46=46', '24+26=50']
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 46+50=96, Resulting Numbers: [96]
96,37 unequal: No Solution
Exploring Operation: 46*50=2300, Resulting Numbers: [2300]
2300,37 unequal: No Solution
Moving to Node #0,3,4
Current State: 37:[26, 22], Operations: ['92-46=46', '46-24=22']
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,37 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[24, 20], Operations: ['92-46=46', '46-26=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,37 unequal: No Solution
Moving to Node #0,3,0
Current State: 37:[46, 2], Operations: ['92-46=46', '26-24=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,37 unequal: No Solution
Moving to Node #0,3,2
Current State: 37:[26, 70], Operations: ['92-46=46', '24+46=70']
Exploring Operation: 26+70=96, Resulting Numbers: [96]
96,37 unequal: No Solution
Exploring Operation: 26*70=1820, Resulting Numbers: [1820]
1820,37 unequal: No Solution
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[26, 46, 68], Operations: ['92-24=68']
Exploring Operation: 26+68=94, Resulting Numbers: [46, 94]
Generated Node #0,0,0: 37:[46, 94] Operation: 26+68=94
Exploring Operation: 68-26=42, Resulting Numbers: [46, 42]
Generated Node #0,0,1: 37:[46, 42] Operation: 68-26=42
Exploring Operation: 26+46=72, Resulting Numbers: [68, 72]
Generated Node #0,0,2: 37:[68, 72] Operation: 26+46=72
Exploring Operation: 46-26=20, Resulting Numbers: [68, 20]
Generated Node #0,0,3: 37:[68, 20] Operation: 46-26=20
Exploring Operation: 68-46=22, Resulting Numbers: [26, 22]
Generated Node #0,0,4: 37:[26, 22] Operation: 68-46=22
Moving to Node #0,0,1
Current State: 37:[46, 42], Operations: ['92-24=68', '68-26=42']
Exploring Operation: 46*42=1932, Resulting Numbers: [1932]
1932,37 unequal: No Solution
Exploring Operation: 46+42=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Moving to Node #0,0,4
Current State: 37:[26, 22], Operations: ['92-24=68', '68-46=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[68, 20], Operations: ['92-24=68', '46-26=20']
Exploring Operation: 68+20=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Exploring Operation: 68*20=1360, Resulting Numbers: [1360]
1360,37 unequal: No Solution
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[46, 94], Operations: ['92-24=68', '26+68=94']
Exploring Operation: 46*94=4324, Resulting Numbers: [4324]
4324,37 unequal: No Solution
Exploring Operation: 94-46=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 46+94=140, Resulting Numbers: [140]
140,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[68, 72], Operations: ['92-24=68', '26+46=72']
Exploring Operation: 72-68=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 68*72=4896, Resulting Numbers: [4896]
4896,37 unequal: No Solution
Exploring Operation: 68+72=140, Resulting Numbers: [140]
140,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[24, 46, 66], Operations: ['92-26=66']
Exploring Operation: 24+66=90, Resulting Numbers: [46, 90]
Generated Node #0,1,0: 37:[46, 90] Operation: 24+66=90
Exploring Operation: 24+46=70, Resulting Numbers: [66, 70]
Generated Node #0,1,1: 37:[66, 70] Operation: 24+46=70
Exploring Operation: 66-24=42, Resulting Numbers: [46, 42]
Generated Node #0,1,2: 37:[46, 42] Operation: 66-24=42
Exploring Operation: 46-24=22, Resulting Numbers: [66, 22]
Generated Node #0,1,3: 37:[66, 22] Operation: 46-24=22
Exploring Operation: 66-46=20, Resulting Numbers: [24, 20]
Generated Node #0,1,4: 37:[24, 20] Operation: 66-46=20
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 37:[46, 42], Operations: ['92-26=66', '66-24=42']
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 46+42=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Exploring Operation: 46*42=1932, Resulting Numbers: [1932]
1932,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 37:[24, 20], Operations: ['92-26=66', '66-46=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,37 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 37:[66, 22], Operations: ['92-26=66', '46-24=22']
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 66*22=1452, Resulting Numbers: [1452]
1452,37 unequal: No Solution
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 66+22=88, Resulting Numbers: [88]
88,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[46, 90], Operations: ['92-26=66', '24+66=90']
Exploring Operation: 46*90=4140, Resulting Numbers: [4140]
4140,37 unequal: No Solution
Exploring Operation: 46+90=136, Resulting Numbers: [136]
136,37 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[66, 70], Operations: ['92-26=66', '24+46=70']
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 66*70=4620, Resulting Numbers: [4620]
4620,37 unequal: No Solution
Exploring Operation: 66+70=136, Resulting Numbers: [136]
136,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 37:[24, 26, 2], Operations: ['92/46=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26, 26]
Generated Node #0,4,0: 37:[26, 26] Operation: 24+2=26
Exploring Operation: 26+2=28, Resulting Numbers: [24, 28]
Generated Node #0,4,1: 37:[24, 28] Operation: 26+2=28
Exploring Operation: 26-2=24, Resulting Numbers: [24, 24]
Generated Node #0,4,2: 37:[24, 24] Operation: 26-2=24
Exploring Operation: 24*2=48, Resulting Numbers: [26, 48]
Generated Node #0,4,3: 37:[26, 48] Operation: 24*2=48
Exploring Operation: 24-2=22, Resulting Numbers: [26, 22]
Generated Node #0,4,4: 37:[26, 22] Operation: 24-2=22
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 37:[26, 26], Operations: ['92/46=2', '24+2=26']
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 26*26=676, Resulting Numbers: [676]
676,37 unequal: No Solution
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 37:[24, 28], Operations: ['92/46=2', '26+2=28']
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 37:[26, 48], Operations: ['92/46=2', '24*2=48']
Exploring Operation: 26*48=1248, Resulting Numbers: [1248]
1248,37 unequal: No Solution
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,37 unequal: No Solution
Exploring Operation: 26+48=74, Resulting Numbers: [74]
74,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 37:[24, 24], Operations: ['92/46=2', '26-2=24']
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 24*24=576, Resulting Numbers: [576]
576,37 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 37:[26, 22], Operations: ['92/46=2', '24-2=22']
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,37 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[92, 46, 50], Operations: ['24+26=50']
Exploring Operation: 92-50=42, Resulting Numbers: [46, 42]
Generated Node #0,2,0: 37:[46, 42] Operation: 92-50=42
Exploring Operation: 92+46=138, Resulting Numbers: [50, 138]
Generated Node #0,2,1: 37:[50, 138] Operation: 92+46=138
Exploring Operation: 92/46=2, Resulting Numbers: [50, 2]
Generated Node #0,2,2: 37:[50, 2] Operation: 92/46=2
Exploring Operation: 92-46=46, Resulting Numbers: [50, 46]
Generated Node #0,2,3: 37:[50, 46] Operation: 92-46=46
Exploring Operation: 50-46=4, Resulting Numbers: [92, 4]
Generated Node #0,2,4: 37:[92, 4] Operation: 50-46=4
Moving to Node #0,2,0
Current State: 37:[46, 42], Operations: ['24+26=50', '92-50=42']
Exploring Operation: 46+42=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Exploring Operation: 46*42=1932, Resulting Numbers: [1932]
1932,37 unequal: No Solution
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Moving to Node #0,2,3
Current State: 37:[50, 46], Operations: ['24+26=50', '92-46=46']
Exploring Operation: 50+46=96, Resulting Numbers: [96]
96,37 unequal: No Solution
Exploring Operation: 50*46=2300, Resulting Numbers: [2300]
2300,37 unequal: No Solution
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[50, 2], Operations: ['24+26=50', '92/46=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Moving to Node #0,2,4
Current State: 37:[92, 4], Operations: ['24+26=50', '50-46=4']
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Exploring Operation: 92*4=368, Resulting Numbers: [368]
368,37 unequal: No Solution
Exploring Operation: 92+4=96, Resulting Numbers: [96]
96,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[50, 138], Operations: ['24+26=50', '92+46=138']
Exploring Operation: 138-50=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Exploring Operation: 50+138=188, Resulting Numbers: [188]
188,37 unequal: No Solution
Exploring Operation: 50*138=6900, Resulting Numbers: [6900]
6900,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
36,
54,
44,
10
] | 26 | [
"44-36=8",
"10*8=80",
"80-54=26"
] | Current State: 26:[36, 54, 44, 10], Operations: []
Exploring Operation: 44-36=8, Resulting Numbers: [54, 10, 8]
Generated Node #2: [54, 10, 8] from Operation: 44-36=8
Current State: 26:[54, 10, 8], Operations: ['44-36=8']
Exploring Operation: 10*8=80, Resulting Numbers: [54, 80]
Generated Node #3: [54, 80] from Operation: 10*8=80
Current State: 26:[54, 80], Operations: ['44-36=8', '10*8=80']
Exploring Operation: 80-54=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[36, 54, 44, 10], Operations: []
Exploring Operation: 54-44=10, Resulting Numbers: [36, 10, 10]
Generated Node #0,0: 26:[36, 10, 10] Operation: 54-44=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[36, 10, 10], Operations: ['54-44=10']
Exploring Operation: 36-10=26, Resulting Numbers: [10, 26]
Generated Node #0,0,0: 26:[10, 26] Operation: 36-10=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[10, 26], Operations: ['54-44=10', '36-10=26']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
33,
77,
20,
37
] | 93 | [
"33+77=110",
"37-20=17",
"110-17=93"
] | Current State: 93:[33, 77, 20, 37], Operations: []
Exploring Operation: 33+77=110, Resulting Numbers: [20, 37, 110]
Generated Node #2: [20, 37, 110] from Operation: 33+77=110
Current State: 93:[20, 37, 110], Operations: ['33+77=110']
Exploring Operation: 37-20=17, Resulting Numbers: [110, 17]
Generated Node #3: [110, 17] from Operation: 37-20=17
Current State: 93:[110, 17], Operations: ['33+77=110', '37-20=17']
Exploring Operation: 110-17=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[33, 77, 20, 37], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [77, 20, 4]
Generated Node #0,0: 93:[77, 20, 4] Operation: 37-33=4
Exploring Operation: 77-37=40, Resulting Numbers: [33, 20, 40]
Generated Node #0,1: 93:[33, 20, 40] Operation: 77-37=40
Exploring Operation: 77+20=97, Resulting Numbers: [33, 37, 97]
Generated Node #0,2: 93:[33, 37, 97] Operation: 77+20=97
Moving to Node #0,2
Current State: 93:[33, 37, 97], Operations: ['77+20=97']
Exploring Operation: 33+37=70, Resulting Numbers: [97, 70]
Generated Node #0,2,0: 93:[97, 70] Operation: 33+37=70
Exploring Operation: 37-33=4, Resulting Numbers: [97, 4]
Generated Node #0,2,1: 93:[97, 4] Operation: 37-33=4
Exploring Operation: 97-37=60, Resulting Numbers: [33, 60]
Generated Node #0,2,2: 93:[33, 60] Operation: 97-37=60
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[97, 4], Operations: ['77+20=97', '37-33=4']
Exploring Operation: 97+4=101, Resulting Numbers: [101]
101,93 unequal: No Solution
Exploring Operation: 97*4=388, Resulting Numbers: [388]
388,93 unequal: No Solution
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[33, 77, 20, 37], Operations: []
Exploring Operation: 77+20=97, Resulting Numbers: [33, 37, 97]
Generated Node #0,2: 93:[33, 37, 97] Operation: 77+20=97
Moving to Node #0,2
Current State: 93:[33, 37, 97], Operations: ['77+20=97']
Exploring Operation: 37-33=4, Resulting Numbers: [97, 4]
Generated Node #0,2,1: 93:[97, 4] Operation: 37-33=4
Moving to Node #0,2,1
Current State: 93:[97, 4], Operations: ['77+20=97', '37-33=4']
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
5,
39,
42,
37
] | 29 | [
"39-5=34",
"42-37=5",
"34-5=29"
] | Current State: 29:[5, 39, 42, 37], Operations: []
Exploring Operation: 39-5=34, Resulting Numbers: [42, 37, 34]
Generated Node #2: [42, 37, 34] from Operation: 39-5=34
Current State: 29:[42, 37, 34], Operations: ['39-5=34']
Exploring Operation: 42-37=5, Resulting Numbers: [34, 5]
Generated Node #3: [34, 5] from Operation: 42-37=5
Current State: 29:[34, 5], Operations: ['39-5=34', '42-37=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[5, 39, 42, 37], Operations: []
Exploring Operation: 37-5=32, Resulting Numbers: [39, 42, 32]
Generated Node #0,0: 29:[39, 42, 32] Operation: 37-5=32
Exploring Operation: 39-5=34, Resulting Numbers: [42, 37, 34]
Generated Node #0,1: 29:[42, 37, 34] Operation: 39-5=34
Exploring Operation: 42-5=37, Resulting Numbers: [39, 37, 37]
Generated Node #0,2: 29:[39, 37, 37] Operation: 42-5=37
Exploring Operation: 5+39=44, Resulting Numbers: [42, 37, 44]
Generated Node #0,3: 29:[42, 37, 44] Operation: 5+39=44
Moving to Node #0,0
Current State: 29:[39, 42, 32], Operations: ['37-5=32']
Exploring Operation: 39-32=7, Resulting Numbers: [42, 7]
Generated Node #0,0,0: 29:[42, 7] Operation: 39-32=7
Exploring Operation: 39+42=81, Resulting Numbers: [32, 81]
Generated Node #0,0,1: 29:[32, 81] Operation: 39+42=81
Exploring Operation: 42-32=10, Resulting Numbers: [39, 10]
Generated Node #0,0,2: 29:[39, 10] Operation: 42-32=10
Exploring Operation: 42-39=3, Resulting Numbers: [32, 3]
Generated Node #0,0,3: 29:[32, 3] Operation: 42-39=3
Moving to Node #0,2
Current State: 29:[39, 37, 37], Operations: ['42-5=37']
Exploring Operation: 39-37=2, Resulting Numbers: [37, 2]
Generated Node #0,2,0: 29:[37, 2] Operation: 39-37=2
Exploring Operation: 39-37=2, Resulting Numbers: [37, 2]
Generated Node #0,2,1: 29:[37, 2] Operation: 39-37=2
Exploring Operation: 37/37=1, Resulting Numbers: [39, 1]
Generated Node #0,2,2: 29:[39, 1] Operation: 37/37=1
Exploring Operation: 37-37=0, Resulting Numbers: [39, 0]
Generated Node #0,2,3: 29:[39, 0] Operation: 37-37=0
Moving to Node #0,1
Current State: 29:[42, 37, 34], Operations: ['39-5=34']
Exploring Operation: 42-37=5, Resulting Numbers: [34, 5]
Generated Node #0,1,0: 29:[34, 5] Operation: 42-37=5
Exploring Operation: 42-34=8, Resulting Numbers: [37, 8]
Generated Node #0,1,1: 29:[37, 8] Operation: 42-34=8
Exploring Operation: 42+37=79, Resulting Numbers: [34, 79]
Generated Node #0,1,2: 29:[34, 79] Operation: 42+37=79
Exploring Operation: 37-34=3, Resulting Numbers: [42, 3]
Generated Node #0,1,3: 29:[42, 3] Operation: 37-34=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[34, 5], Operations: ['39-5=34', '42-37=5']
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,29 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[5, 39, 42, 37], Operations: []
Exploring Operation: 39-5=34, Resulting Numbers: [42, 37, 34]
Generated Node #0,1: 29:[42, 37, 34] Operation: 39-5=34
Moving to Node #0,1
Current State: 29:[42, 37, 34], Operations: ['39-5=34']
Exploring Operation: 42-37=5, Resulting Numbers: [34, 5]
Generated Node #0,1,0: 29:[34, 5] Operation: 42-37=5
Moving to Node #0,1,0
Current State: 29:[34, 5], Operations: ['39-5=34', '42-37=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
66,
31,
48,
48
] | 35 | [
"66-31=35",
"48-48=0",
"35+0=35"
] | Current State: 35:[66, 31, 48, 48], Operations: []
Exploring Operation: 66-31=35, Resulting Numbers: [48, 48, 35]
Generated Node #2: [48, 48, 35] from Operation: 66-31=35
Current State: 35:[48, 48, 35], Operations: ['66-31=35']
Exploring Operation: 48-48=0, Resulting Numbers: [35, 0]
Generated Node #3: [35, 0] from Operation: 48-48=0
Current State: 35:[35, 0], Operations: ['66-31=35', '48-48=0']
Exploring Operation: 35+0=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[66, 31, 48, 48], Operations: []
Exploring Operation: 66-31=35, Resulting Numbers: [48, 48, 35]
Generated Node #0,0: 35:[48, 48, 35] Operation: 66-31=35
Exploring Operation: 66-48=18, Resulting Numbers: [31, 48, 18]
Generated Node #0,1: 35:[31, 48, 18] Operation: 66-48=18
Exploring Operation: 66-48=18, Resulting Numbers: [31, 48, 18]
Generated Node #0,2: 35:[31, 48, 18] Operation: 66-48=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[48, 48, 35], Operations: ['66-31=35']
Exploring Operation: 48-48=0, Resulting Numbers: [35, 0]
Generated Node #0,0,0: 35:[35, 0] Operation: 48-48=0
Exploring Operation: 48/48=1, Resulting Numbers: [35, 1]
Generated Node #0,0,1: 35:[35, 1] Operation: 48/48=1
Exploring Operation: 48-35=13, Resulting Numbers: [48, 13]
Generated Node #0,0,2: 35:[48, 13] Operation: 48-35=13
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[35, 1], Operations: ['66-31=35', '48/48=1']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[66, 31, 48, 48], Operations: []
Exploring Operation: 66-31=35, Resulting Numbers: [48, 48, 35]
Generated Node #0,0: 35:[48, 48, 35] Operation: 66-31=35
Moving to Node #0,0
Current State: 35:[48, 48, 35], Operations: ['66-31=35']
Exploring Operation: 48/48=1, Resulting Numbers: [35, 1]
Generated Node #0,0,1: 35:[35, 1] Operation: 48/48=1
Moving to Node #0,0,1
Current State: 35:[35, 1], Operations: ['66-31=35', '48/48=1']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
44,
68,
28,
56
] | 22 | [
"68-44=24",
"56/28=2",
"24-2=22"
] | Current State: 22:[44, 68, 28, 56], Operations: []
Exploring Operation: 68-44=24, Resulting Numbers: [28, 56, 24]
Generated Node #2: [28, 56, 24] from Operation: 68-44=24
Current State: 22:[28, 56, 24], Operations: ['68-44=24']
Exploring Operation: 56/28=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 56/28=2
Current State: 22:[24, 2], Operations: ['68-44=24', '56/28=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[44, 68, 28, 56], Operations: []
Exploring Operation: 68-44=24, Resulting Numbers: [28, 56, 24]
Generated Node #0,0: 22:[28, 56, 24] Operation: 68-44=24
Exploring Operation: 68-56=12, Resulting Numbers: [44, 28, 12]
Generated Node #0,1: 22:[44, 28, 12] Operation: 68-56=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[44, 28, 12], Operations: ['68-56=12']
Exploring Operation: 44-12=32, Resulting Numbers: [28, 32]
Generated Node #0,1,0: 22:[28, 32] Operation: 44-12=32
Exploring Operation: 44-28=16, Resulting Numbers: [12, 16]
Generated Node #0,1,1: 22:[12, 16] Operation: 44-28=16
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 22:[12, 16], Operations: ['68-56=12', '44-28=16']
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[28, 32], Operations: ['68-56=12', '44-12=32']
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,22 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[28, 56, 24], Operations: ['68-44=24']
Exploring Operation: 56-28=28, Resulting Numbers: [24, 28]
Generated Node #0,0,0: 22:[24, 28] Operation: 56-28=28
Exploring Operation: 56/28=2, Resulting Numbers: [24, 2]
Generated Node #0,0,1: 22:[24, 2] Operation: 56/28=2
Moving to Node #0,0,1
Current State: 22:[24, 2], Operations: ['68-44=24', '56/28=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[44, 68, 28, 56], Operations: []
Exploring Operation: 68-44=24, Resulting Numbers: [28, 56, 24]
Generated Node #0,0: 22:[28, 56, 24] Operation: 68-44=24
Moving to Node #0,0
Current State: 22:[28, 56, 24], Operations: ['68-44=24']
Exploring Operation: 56/28=2, Resulting Numbers: [24, 2]
Generated Node #0,0,1: 22:[24, 2] Operation: 56/28=2
Moving to Node #0,0,1
Current State: 22:[24, 2], Operations: ['68-44=24', '56/28=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
62,
6,
62,
12
] | 78 | [
"62/62=1",
"12+1=13",
"6*13=78"
] | Current State: 78:[62, 6, 62, 12], Operations: []
Exploring Operation: 62/62=1, Resulting Numbers: [6, 12, 1]
Generated Node #2: [6, 12, 1] from Operation: 62/62=1
Current State: 78:[6, 12, 1], Operations: ['62/62=1']
Exploring Operation: 12+1=13, Resulting Numbers: [6, 13]
Generated Node #3: [6, 13] from Operation: 12+1=13
Current State: 78:[6, 13], Operations: ['62/62=1', '12+1=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[62, 6, 62, 12], Operations: []
Exploring Operation: 62/62=1, Resulting Numbers: [6, 12, 1]
Generated Node #0,0: 78:[6, 12, 1] Operation: 62/62=1
Exploring Operation: 62-62=0, Resulting Numbers: [6, 12, 0]
Generated Node #0,1: 78:[6, 12, 0] Operation: 62-62=0
Exploring Operation: 62+12=74, Resulting Numbers: [6, 62, 74]
Generated Node #0,2: 78:[6, 62, 74] Operation: 62+12=74
Moving to Node #0,0
Current State: 78:[6, 12, 1], Operations: ['62/62=1']
Exploring Operation: 12-6=6, Resulting Numbers: [1, 6]
Generated Node #0,0,0: 78:[1, 6] Operation: 12-6=6
Exploring Operation: 12/6=2, Resulting Numbers: [1, 2]
Generated Node #0,0,1: 78:[1, 2] Operation: 12/6=2
Exploring Operation: 12+1=13, Resulting Numbers: [6, 13]
Generated Node #0,0,2: 78:[6, 13] Operation: 12+1=13
Moving to Node #0,1
Current State: 78:[6, 12, 0], Operations: ['62-62=0']
Exploring Operation: 6-0=6, Resulting Numbers: [12, 6]
Generated Node #0,1,0: 78:[12, 6] Operation: 6-0=6
Exploring Operation: 6+0=6, Resulting Numbers: [12, 6]
Generated Node #0,1,1: 78:[12, 6] Operation: 6+0=6
Exploring Operation: 12+0=12, Resulting Numbers: [6, 12]
Generated Node #0,1,2: 78:[6, 12] Operation: 12+0=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[12, 6], Operations: ['62-62=0', '6-0=6']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,78 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[12, 6], Operations: ['62-62=0', '6+0=6']
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,78 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 78:[6, 12], Operations: ['62-62=0', '12+0=12']
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,78 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 78:[6, 62, 74], Operations: ['62+12=74']
Exploring Operation: 74-62=12, Resulting Numbers: [6, 12]
Generated Node #0,2,0: 78:[6, 12] Operation: 74-62=12
Exploring Operation: 6+62=68, Resulting Numbers: [74, 68]
Generated Node #0,2,1: 78:[74, 68] Operation: 6+62=68
Exploring Operation: 6+74=80, Resulting Numbers: [62, 80]
Generated Node #0,2,2: 78:[62, 80] Operation: 6+74=80
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 78:[6, 12], Operations: ['62+12=74', '74-62=12']
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,78 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 78:[74, 68], Operations: ['62+12=74', '6+62=68']
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 74+68=142, Resulting Numbers: [142]
142,78 unequal: No Solution
Exploring Operation: 74*68=5032, Resulting Numbers: [5032]
5032,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 78:[62, 80], Operations: ['62+12=74', '6+74=80']
Exploring Operation: 62+80=142, Resulting Numbers: [142]
142,78 unequal: No Solution
Exploring Operation: 62*80=4960, Resulting Numbers: [4960]
4960,78 unequal: No Solution
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 78:[6, 13], Operations: ['62/62=1', '12+1=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[62, 6, 62, 12], Operations: []
Exploring Operation: 62/62=1, Resulting Numbers: [6, 12, 1]
Generated Node #0,0: 78:[6, 12, 1] Operation: 62/62=1
Moving to Node #0,0
Current State: 78:[6, 12, 1], Operations: ['62/62=1']
Exploring Operation: 12+1=13, Resulting Numbers: [6, 13]
Generated Node #0,0,2: 78:[6, 13] Operation: 12+1=13
Moving to Node #0,0,2
Current State: 78:[6, 13], Operations: ['62/62=1', '12+1=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.967882 | hs_3 | sum_heuristic |
[
27,
54,
70,
50
] | 95 | [
"54/27=2",
"50/2=25",
"70+25=95"
] | Current State: 95:[27, 54, 70, 50], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [70, 50, 2]
Generated Node #2: [70, 50, 2] from Operation: 54/27=2
Current State: 95:[70, 50, 2], Operations: ['54/27=2']
Exploring Operation: 50/2=25, Resulting Numbers: [70, 25]
Generated Node #3: [70, 25] from Operation: 50/2=25
Current State: 95:[70, 25], Operations: ['54/27=2', '50/2=25']
Exploring Operation: 70+25=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[27, 54, 70, 50], Operations: []
Exploring Operation: 54+50=104, Resulting Numbers: [27, 70, 104]
Generated Node #0,0: 95:[27, 70, 104] Operation: 54+50=104
Exploring Operation: 70-54=16, Resulting Numbers: [27, 50, 16]
Generated Node #0,1: 95:[27, 50, 16] Operation: 70-54=16
Exploring Operation: 54-50=4, Resulting Numbers: [27, 70, 4]
Generated Node #0,2: 95:[27, 70, 4] Operation: 54-50=4
Moving to Node #0,2
Current State: 95:[27, 70, 4], Operations: ['54-50=4']
Exploring Operation: 70-27=43, Resulting Numbers: [4, 43]
Generated Node #0,2,0: 95:[4, 43] Operation: 70-27=43
Exploring Operation: 27-4=23, Resulting Numbers: [70, 23]
Generated Node #0,2,1: 95:[70, 23] Operation: 27-4=23
Exploring Operation: 27+70=97, Resulting Numbers: [4, 97]
Generated Node #0,2,2: 95:[4, 97] Operation: 27+70=97
Moving to Node #0,0
Current State: 95:[27, 70, 104], Operations: ['54+50=104']
Exploring Operation: 27+70=97, Resulting Numbers: [104, 97]
Generated Node #0,0,0: 95:[104, 97] Operation: 27+70=97
Exploring Operation: 104-70=34, Resulting Numbers: [27, 34]
Generated Node #0,0,1: 95:[27, 34] Operation: 104-70=34
Exploring Operation: 70-27=43, Resulting Numbers: [104, 43]
Generated Node #0,0,2: 95:[104, 43] Operation: 70-27=43
Moving to Node #0,1
Current State: 95:[27, 50, 16], Operations: ['70-54=16']
Exploring Operation: 50-16=34, Resulting Numbers: [27, 34]
Generated Node #0,1,0: 95:[27, 34] Operation: 50-16=34
Exploring Operation: 27+50=77, Resulting Numbers: [16, 77]
Generated Node #0,1,1: 95:[16, 77] Operation: 27+50=77
Exploring Operation: 50-27=23, Resulting Numbers: [16, 23]
Generated Node #0,1,2: 95:[16, 23] Operation: 50-27=23
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[16, 23], Operations: ['70-54=16', '50-27=23']
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,95 unequal: No Solution
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[16, 77], Operations: ['70-54=16', '27+50=77']
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,95 unequal: No Solution
Exploring Operation: 16*77=1232, Resulting Numbers: [1232]
1232,95 unequal: No Solution
Exploring Operation: 16+77=93, Resulting Numbers: [93]
93,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[27, 34], Operations: ['70-54=16', '50-16=34']
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,95 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,95 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 95:[4, 97], Operations: ['54-50=4', '27+70=97']
Exploring Operation: 4+97=101, Resulting Numbers: [101]
101,95 unequal: No Solution
Exploring Operation: 4*97=388, Resulting Numbers: [388]
388,95 unequal: No Solution
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[104, 97], Operations: ['54+50=104', '27+70=97']
Exploring Operation: 104*97=10088, Resulting Numbers: [10088]
10088,95 unequal: No Solution
Exploring Operation: 104-97=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 104+97=201, Resulting Numbers: [201]
201,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[27, 34], Operations: ['54+50=104', '104-70=34']
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,95 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,95 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[4, 43], Operations: ['54-50=4', '70-27=43']
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,95 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,95 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[70, 23], Operations: ['54-50=4', '27-4=23']
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,95 unequal: No Solution
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,95 unequal: No Solution
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[104, 43], Operations: ['54+50=104', '70-27=43']
Exploring Operation: 104*43=4472, Resulting Numbers: [4472]
4472,95 unequal: No Solution
Exploring Operation: 104-43=61, Resulting Numbers: [61]
61,95 unequal: No Solution
Exploring Operation: 104+43=147, Resulting Numbers: [147]
147,95 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
37,
53,
88,
4
] | 76 | [
"53-37=16",
"88+4=92",
"92-16=76"
] | Current State: 76:[37, 53, 88, 4], Operations: []
Exploring Operation: 53-37=16, Resulting Numbers: [88, 4, 16]
Generated Node #2: [88, 4, 16] from Operation: 53-37=16
Current State: 76:[88, 4, 16], Operations: ['53-37=16']
Exploring Operation: 88+4=92, Resulting Numbers: [16, 92]
Generated Node #3: [16, 92] from Operation: 88+4=92
Current State: 76:[16, 92], Operations: ['53-37=16', '88+4=92']
Exploring Operation: 92-16=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[37, 53, 88, 4], Operations: []
Exploring Operation: 88-4=84, Resulting Numbers: [37, 53, 84]
Generated Node #0,0: 76:[37, 53, 84] Operation: 88-4=84
Exploring Operation: 53-4=49, Resulting Numbers: [37, 88, 49]
Generated Node #0,1: 76:[37, 88, 49] Operation: 53-4=49
Exploring Operation: 53-37=16, Resulting Numbers: [88, 4, 16]
Generated Node #0,2: 76:[88, 4, 16] Operation: 53-37=16
Exploring Operation: 88-53=35, Resulting Numbers: [37, 4, 35]
Generated Node #0,3: 76:[37, 4, 35] Operation: 88-53=35
Exploring Operation: 88/4=22, Resulting Numbers: [37, 53, 22]
Generated Node #0,4: 76:[37, 53, 22] Operation: 88/4=22
Moving to Node #0,3
Current State: 76:[37, 4, 35], Operations: ['88-53=35']
Exploring Operation: 37+4=41, Resulting Numbers: [35, 41]
Generated Node #0,3,0: 76:[35, 41] Operation: 37+4=41
Exploring Operation: 37-4=33, Resulting Numbers: [35, 33]
Generated Node #0,3,1: 76:[35, 33] Operation: 37-4=33
Exploring Operation: 37+35=72, Resulting Numbers: [4, 72]
Generated Node #0,3,2: 76:[4, 72] Operation: 37+35=72
Exploring Operation: 4+35=39, Resulting Numbers: [37, 39]
Generated Node #0,3,3: 76:[37, 39] Operation: 4+35=39
Exploring Operation: 37-35=2, Resulting Numbers: [4, 2]
Generated Node #0,3,4: 76:[4, 2] Operation: 37-35=2
Moving to Node #0,2
Current State: 76:[88, 4, 16], Operations: ['53-37=16']
Exploring Operation: 16/4=4, Resulting Numbers: [88, 4]
Generated Node #0,2,0: 76:[88, 4] Operation: 16/4=4
Exploring Operation: 88/4=22, Resulting Numbers: [16, 22]
Generated Node #0,2,1: 76:[16, 22] Operation: 88/4=22
Exploring Operation: 88-4=84, Resulting Numbers: [16, 84]
Generated Node #0,2,2: 76:[16, 84] Operation: 88-4=84
Exploring Operation: 4+16=20, Resulting Numbers: [88, 20]
Generated Node #0,2,3: 76:[88, 20] Operation: 4+16=20
Exploring Operation: 88-16=72, Resulting Numbers: [4, 72]
Generated Node #0,2,4: 76:[4, 72] Operation: 88-16=72
Moving to Node #0,4
Current State: 76:[37, 53, 22], Operations: ['88/4=22']
Exploring Operation: 37-22=15, Resulting Numbers: [53, 15]
Generated Node #0,4,0: 76:[53, 15] Operation: 37-22=15
Exploring Operation: 37+53=90, Resulting Numbers: [22, 90]
Generated Node #0,4,1: 76:[22, 90] Operation: 37+53=90
Exploring Operation: 53+22=75, Resulting Numbers: [37, 75]
Generated Node #0,4,2: 76:[37, 75] Operation: 53+22=75
Exploring Operation: 53-22=31, Resulting Numbers: [37, 31]
Generated Node #0,4,3: 76:[37, 31] Operation: 53-22=31
Exploring Operation: 53-37=16, Resulting Numbers: [22, 16]
Generated Node #0,4,4: 76:[22, 16] Operation: 53-37=16
Moving to Node #0,0
Current State: 76:[37, 53, 84], Operations: ['88-4=84']
Exploring Operation: 37+84=121, Resulting Numbers: [53, 121]
Generated Node #0,0,0: 76:[53, 121] Operation: 37+84=121
Exploring Operation: 53-37=16, Resulting Numbers: [84, 16]
Generated Node #0,0,1: 76:[84, 16] Operation: 53-37=16
Exploring Operation: 84-37=47, Resulting Numbers: [53, 47]
Generated Node #0,0,2: 76:[53, 47] Operation: 84-37=47
Exploring Operation: 84-53=31, Resulting Numbers: [37, 31]
Generated Node #0,0,3: 76:[37, 31] Operation: 84-53=31
Exploring Operation: 37+53=90, Resulting Numbers: [84, 90]
Generated Node #0,0,4: 76:[84, 90] Operation: 37+53=90
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 76:[37, 31], Operations: ['88-4=84', '84-53=31']
Exploring Operation: 37+31=68, Resulting Numbers: [68]
68,76 unequal: No Solution
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 37*31=1147, Resulting Numbers: [1147]
1147,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[84, 16], Operations: ['88-4=84', '53-37=16']
Exploring Operation: 84*16=1344, Resulting Numbers: [1344]
1344,76 unequal: No Solution
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,76 unequal: No Solution
Exploring Operation: 84+16=100, Resulting Numbers: [100]
100,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 76:[84, 90], Operations: ['88-4=84', '37+53=90']
Exploring Operation: 84*90=7560, Resulting Numbers: [7560]
7560,76 unequal: No Solution
Exploring Operation: 84+90=174, Resulting Numbers: [174]
174,76 unequal: No Solution
Exploring Operation: 90-84=6, Resulting Numbers: [6]
6,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 76:[53, 47], Operations: ['88-4=84', '84-37=47']
Exploring Operation: 53+47=100, Resulting Numbers: [100]
100,76 unequal: No Solution
Exploring Operation: 53*47=2491, Resulting Numbers: [2491]
2491,76 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[53, 121], Operations: ['88-4=84', '37+84=121']
Exploring Operation: 121-53=68, Resulting Numbers: [68]
68,76 unequal: No Solution
Exploring Operation: 53*121=6413, Resulting Numbers: [6413]
6413,76 unequal: No Solution
Exploring Operation: 53+121=174, Resulting Numbers: [174]
174,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 76:[37, 88, 49], Operations: ['53-4=49']
Exploring Operation: 88-37=51, Resulting Numbers: [49, 51]
Generated Node #0,1,0: 76:[49, 51] Operation: 88-37=51
Exploring Operation: 37+88=125, Resulting Numbers: [49, 125]
Generated Node #0,1,1: 76:[49, 125] Operation: 37+88=125
Exploring Operation: 37+49=86, Resulting Numbers: [88, 86]
Generated Node #0,1,2: 76:[88, 86] Operation: 37+49=86
Exploring Operation: 88-49=39, Resulting Numbers: [37, 39]
Generated Node #0,1,3: 76:[37, 39] Operation: 88-49=39
Exploring Operation: 49-37=12, Resulting Numbers: [88, 12]
Generated Node #0,1,4: 76:[88, 12] Operation: 49-37=12
Moving to Node #0,3,4
Current State: 76:[4, 2], Operations: ['88-53=35', '37-35=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,76 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[37, 39], Operations: ['88-53=35', '4+35=39']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[37, 53, 88, 4], Operations: []
Exploring Operation: 88-53=35, Resulting Numbers: [37, 4, 35]
Generated Node #0,3: 76:[37, 4, 35] Operation: 88-53=35
Moving to Node #0,3
Current State: 76:[37, 4, 35], Operations: ['88-53=35']
Exploring Operation: 4+35=39, Resulting Numbers: [37, 39]
Generated Node #0,3,3: 76:[37, 39] Operation: 4+35=39
Moving to Node #0,3,3
Current State: 76:[37, 39], Operations: ['88-53=35', '4+35=39']
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.952257 | hs_5 | mult_heuristic |
[
15,
48,
53,
7
] | 30 | [
"53-48=5",
"7-5=2",
"15*2=30"
] | Current State: 30:[15, 48, 53, 7], Operations: []
Exploring Operation: 53-48=5, Resulting Numbers: [15, 7, 5]
Generated Node #2: [15, 7, 5] from Operation: 53-48=5
Current State: 30:[15, 7, 5], Operations: ['53-48=5']
Exploring Operation: 7-5=2, Resulting Numbers: [15, 2]
Generated Node #3: [15, 2] from Operation: 7-5=2
Current State: 30:[15, 2], Operations: ['53-48=5', '7-5=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[15, 48, 53, 7], Operations: []
Exploring Operation: 53-48=5, Resulting Numbers: [15, 7, 5]
Generated Node #0,0: 30:[15, 7, 5] Operation: 53-48=5
Moving to Node #0,0
Current State: 30:[15, 7, 5], Operations: ['53-48=5']
Exploring Operation: 7-5=2, Resulting Numbers: [15, 2]
Generated Node #0,0,0: 30:[15, 2] Operation: 7-5=2
Moving to Node #0,0,0
Current State: 30:[15, 2], Operations: ['53-48=5', '7-5=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[15, 48, 53, 7], Operations: []
Exploring Operation: 53-48=5, Resulting Numbers: [15, 7, 5]
Generated Node #0,0: 30:[15, 7, 5] Operation: 53-48=5
Moving to Node #0,0
Current State: 30:[15, 7, 5], Operations: ['53-48=5']
Exploring Operation: 7-5=2, Resulting Numbers: [15, 2]
Generated Node #0,0,0: 30:[15, 2] Operation: 7-5=2
Moving to Node #0,0,0
Current State: 30:[15, 2], Operations: ['53-48=5', '7-5=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
72,
27,
7,
43
] | 81 | [
"72-27=45",
"43-7=36",
"45+36=81"
] | Current State: 81:[72, 27, 7, 43], Operations: []
Exploring Operation: 72-27=45, Resulting Numbers: [7, 43, 45]
Generated Node #2: [7, 43, 45] from Operation: 72-27=45
Current State: 81:[7, 43, 45], Operations: ['72-27=45']
Exploring Operation: 43-7=36, Resulting Numbers: [45, 36]
Generated Node #3: [45, 36] from Operation: 43-7=36
Current State: 81:[45, 36], Operations: ['72-27=45', '43-7=36']
Exploring Operation: 45+36=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[72, 27, 7, 43], Operations: []
Exploring Operation: 72-43=29, Resulting Numbers: [27, 7, 29]
Generated Node #0,0: 81:[27, 7, 29] Operation: 72-43=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[27, 7, 29], Operations: ['72-43=29']
Exploring Operation: 29-27=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 81:[7, 2] Operation: 29-27=2
Moving to Node #0,0,0
Current State: 81:[7, 2], Operations: ['72-43=29', '29-27=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
31,
48,
50,
12
] | 46 | [
"50+12=62",
"62/31=2",
"48-2=46"
] | Current State: 46:[31, 48, 50, 12], Operations: []
Exploring Operation: 50+12=62, Resulting Numbers: [31, 48, 62]
Generated Node #2: [31, 48, 62] from Operation: 50+12=62
Current State: 46:[31, 48, 62], Operations: ['50+12=62']
Exploring Operation: 62/31=2, Resulting Numbers: [48, 2]
Generated Node #3: [48, 2] from Operation: 62/31=2
Current State: 46:[48, 2], Operations: ['50+12=62', '62/31=2']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[31, 48, 50, 12], Operations: []
Exploring Operation: 31+12=43, Resulting Numbers: [48, 50, 43]
Generated Node #0,0: 46:[48, 50, 43] Operation: 31+12=43
Exploring Operation: 48/12=4, Resulting Numbers: [31, 50, 4]
Generated Node #0,1: 46:[31, 50, 4] Operation: 48/12=4
Exploring Operation: 31-12=19, Resulting Numbers: [48, 50, 19]
Generated Node #0,2: 46:[48, 50, 19] Operation: 31-12=19
Exploring Operation: 50-31=19, Resulting Numbers: [48, 12, 19]
Generated Node #0,3: 46:[48, 12, 19] Operation: 50-31=19
Moving to Node #0,0
Current State: 46:[48, 50, 43], Operations: ['31+12=43']
Exploring Operation: 48+43=91, Resulting Numbers: [50, 91]
Generated Node #0,0,0: 46:[50, 91] Operation: 48+43=91
Exploring Operation: 50-43=7, Resulting Numbers: [48, 7]
Generated Node #0,0,1: 46:[48, 7] Operation: 50-43=7
Exploring Operation: 48-43=5, Resulting Numbers: [50, 5]
Generated Node #0,0,2: 46:[50, 5] Operation: 48-43=5
Exploring Operation: 50-48=2, Resulting Numbers: [43, 2]
Generated Node #0,0,3: 46:[43, 2] Operation: 50-48=2
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 46:[43, 2], Operations: ['31+12=43', '50-48=2']
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[48, 7], Operations: ['31+12=43', '50-43=7']
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,46 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,46 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 46:[50, 5], Operations: ['31+12=43', '48-43=5']
Exploring Operation: 50*5=250, Resulting Numbers: [250]
250,46 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[50, 91], Operations: ['31+12=43', '48+43=91']
Exploring Operation: 50*91=4550, Resulting Numbers: [4550]
4550,46 unequal: No Solution
Exploring Operation: 50+91=141, Resulting Numbers: [141]
141,46 unequal: No Solution
Exploring Operation: 91-50=41, Resulting Numbers: [41]
41,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 46:[48, 50, 19], Operations: ['31-12=19']
Exploring Operation: 50-48=2, Resulting Numbers: [19, 2]
Generated Node #0,2,0: 46:[19, 2] Operation: 50-48=2
Exploring Operation: 48-19=29, Resulting Numbers: [50, 29]
Generated Node #0,2,1: 46:[50, 29] Operation: 48-19=29
Exploring Operation: 50-19=31, Resulting Numbers: [48, 31]
Generated Node #0,2,2: 46:[48, 31] Operation: 50-19=31
Exploring Operation: 48+19=67, Resulting Numbers: [50, 67]
Generated Node #0,2,3: 46:[50, 67] Operation: 48+19=67
Moving to Node #0,1
Current State: 46:[31, 50, 4], Operations: ['48/12=4']
Exploring Operation: 31-4=27, Resulting Numbers: [50, 27]
Generated Node #0,1,0: 46:[50, 27] Operation: 31-4=27
Exploring Operation: 50-31=19, Resulting Numbers: [4, 19]
Generated Node #0,1,1: 46:[4, 19] Operation: 50-31=19
Exploring Operation: 50-4=46, Resulting Numbers: [31, 46]
Generated Node #0,1,2: 46:[31, 46] Operation: 50-4=46
Exploring Operation: 31+4=35, Resulting Numbers: [50, 35]
Generated Node #0,1,3: 46:[50, 35] Operation: 31+4=35
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[4, 19], Operations: ['48/12=4', '50-31=19']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,46 unequal: No Solution
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,46 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[50, 27], Operations: ['48/12=4', '31-4=27']
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 50+27=77, Resulting Numbers: [77]
77,46 unequal: No Solution
Exploring Operation: 50*27=1350, Resulting Numbers: [1350]
1350,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[31, 46], Operations: ['48/12=4', '50-4=46']
Exploring Operation: 31+46=77, Resulting Numbers: [77]
77,46 unequal: No Solution
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,46 unequal: No Solution
Exploring Operation: 31*46=1426, Resulting Numbers: [1426]
1426,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 46:[50, 35], Operations: ['48/12=4', '31+4=35']
Exploring Operation: 50*35=1750, Resulting Numbers: [1750]
1750,46 unequal: No Solution
Exploring Operation: 50+35=85, Resulting Numbers: [85]
85,46 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 46:[48, 12, 19], Operations: ['50-31=19']
Exploring Operation: 12+19=31, Resulting Numbers: [48, 31]
Generated Node #0,3,0: 46:[48, 31] Operation: 12+19=31
Exploring Operation: 19-12=7, Resulting Numbers: [48, 7]
Generated Node #0,3,1: 46:[48, 7] Operation: 19-12=7
Exploring Operation: 48/12=4, Resulting Numbers: [19, 4]
Generated Node #0,3,2: 46:[19, 4] Operation: 48/12=4
Exploring Operation: 48-12=36, Resulting Numbers: [19, 36]
Generated Node #0,3,3: 46:[19, 36] Operation: 48-12=36
Moving to Node #0,2,0
Current State: 46:[19, 2], Operations: ['31-12=19', '50-48=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,3,2
Current State: 46:[19, 4], Operations: ['50-31=19', '48/12=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,46 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[48, 7], Operations: ['50-31=19', '19-12=7']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,46 unequal: No Solution
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,46 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[48, 31], Operations: ['31-12=19', '50-19=31']
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Exploring Operation: 48*31=1488, Resulting Numbers: [1488]
1488,46 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,3,0
Current State: 46:[48, 31], Operations: ['50-31=19', '12+19=31']
Exploring Operation: 48*31=1488, Resulting Numbers: [1488]
1488,46 unequal: No Solution
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[50, 29], Operations: ['31-12=19', '48-19=29']
Exploring Operation: 50+29=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Exploring Operation: 50*29=1450, Resulting Numbers: [1450]
1450,46 unequal: No Solution
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Moving to Node #0,3,3
Current State: 46:[19, 36], Operations: ['50-31=19', '48-12=36']
Exploring Operation: 19*36=684, Resulting Numbers: [684]
684,46 unequal: No Solution
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,2,3
Current State: 46:[50, 67], Operations: ['31-12=19', '48+19=67']
Exploring Operation: 50+67=117, Resulting Numbers: [117]
117,46 unequal: No Solution
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 50*67=3350, Resulting Numbers: [3350]
3350,46 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
91,
63,
99,
32
] | 87 | [
"91+63=154",
"99-32=67",
"154-67=87"
] | Current State: 87:[91, 63, 99, 32], Operations: []
Exploring Operation: 91+63=154, Resulting Numbers: [99, 32, 154]
Generated Node #2: [99, 32, 154] from Operation: 91+63=154
Current State: 87:[99, 32, 154], Operations: ['91+63=154']
Exploring Operation: 99-32=67, Resulting Numbers: [154, 67]
Generated Node #3: [154, 67] from Operation: 99-32=67
Current State: 87:[154, 67], Operations: ['91+63=154', '99-32=67']
Exploring Operation: 154-67=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[91, 63, 99, 32], Operations: []
Exploring Operation: 99-63=36, Resulting Numbers: [91, 32, 36]
Generated Node #0,0: 87:[91, 32, 36] Operation: 99-63=36
Exploring Operation: 63-32=31, Resulting Numbers: [91, 99, 31]
Generated Node #0,1: 87:[91, 99, 31] Operation: 63-32=31
Exploring Operation: 91-63=28, Resulting Numbers: [99, 32, 28]
Generated Node #0,2: 87:[99, 32, 28] Operation: 91-63=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[91, 32, 36], Operations: ['99-63=36']
Exploring Operation: 32+36=68, Resulting Numbers: [91, 68]
Generated Node #0,0,0: 87:[91, 68] Operation: 32+36=68
Exploring Operation: 36-32=4, Resulting Numbers: [91, 4]
Generated Node #0,0,1: 87:[91, 4] Operation: 36-32=4
Exploring Operation: 91-36=55, Resulting Numbers: [32, 55]
Generated Node #0,0,2: 87:[32, 55] Operation: 91-36=55
Moving to Node #0,0,1
Current State: 87:[91, 4], Operations: ['99-63=36', '36-32=4']
Exploring Operation: 91*4=364, Resulting Numbers: [364]
364,87 unequal: No Solution
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[91, 63, 99, 32], Operations: []
Exploring Operation: 99-63=36, Resulting Numbers: [91, 32, 36]
Generated Node #0,0: 87:[91, 32, 36] Operation: 99-63=36
Moving to Node #0,0
Current State: 87:[91, 32, 36], Operations: ['99-63=36']
Exploring Operation: 36-32=4, Resulting Numbers: [91, 4]
Generated Node #0,0,1: 87:[91, 4] Operation: 36-32=4
Moving to Node #0,0,1
Current State: 87:[91, 4], Operations: ['99-63=36', '36-32=4']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
73,
37,
53,
6
] | 88 | [
"37+53=90",
"90/6=15",
"73+15=88"
] | Current State: 88:[73, 37, 53, 6], Operations: []
Exploring Operation: 37+53=90, Resulting Numbers: [73, 6, 90]
Generated Node #2: [73, 6, 90] from Operation: 37+53=90
Current State: 88:[73, 6, 90], Operations: ['37+53=90']
Exploring Operation: 90/6=15, Resulting Numbers: [73, 15]
Generated Node #3: [73, 15] from Operation: 90/6=15
Current State: 88:[73, 15], Operations: ['37+53=90', '90/6=15']
Exploring Operation: 73+15=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[73, 37, 53, 6], Operations: []
Exploring Operation: 73-53=20, Resulting Numbers: [37, 6, 20]
Generated Node #0,0: 88:[37, 6, 20] Operation: 73-53=20
Exploring Operation: 73-37=36, Resulting Numbers: [53, 6, 36]
Generated Node #0,1: 88:[53, 6, 36] Operation: 73-37=36
Moving to Node #0,0
Current State: 88:[37, 6, 20], Operations: ['73-53=20']
Exploring Operation: 37+6=43, Resulting Numbers: [20, 43]
Generated Node #0,0,0: 88:[20, 43] Operation: 37+6=43
Exploring Operation: 37-20=17, Resulting Numbers: [6, 17]
Generated Node #0,0,1: 88:[6, 17] Operation: 37-20=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[20, 43], Operations: ['73-53=20', '37+6=43']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 20+43=63, Resulting Numbers: [63]
63,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[6, 17], Operations: ['73-53=20', '37-20=17']
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 88:[53, 6, 36], Operations: ['73-37=36']
Exploring Operation: 53+36=89, Resulting Numbers: [6, 89]
Generated Node #0,1,0: 88:[6, 89] Operation: 53+36=89
Exploring Operation: 53-36=17, Resulting Numbers: [6, 17]
Generated Node #0,1,1: 88:[6, 17] Operation: 53-36=17
Moving to Node #0,1,0
Current State: 88:[6, 89], Operations: ['73-37=36', '53+36=89']
Exploring Operation: 6+89=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[6, 17], Operations: ['73-37=36', '53-36=17']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,88 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
27,
12,
17
] | 76 | [
"17-12=5",
"27*5=135",
"135-59=76"
] | Current State: 76:[59, 27, 12, 17], Operations: []
Exploring Operation: 17-12=5, Resulting Numbers: [59, 27, 5]
Generated Node #2: [59, 27, 5] from Operation: 17-12=5
Current State: 76:[59, 27, 5], Operations: ['17-12=5']
Exploring Operation: 27*5=135, Resulting Numbers: [59, 135]
Generated Node #3: [59, 135] from Operation: 27*5=135
Current State: 76:[59, 135], Operations: ['17-12=5', '27*5=135']
Exploring Operation: 135-59=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[59, 27, 12, 17], Operations: []
Exploring Operation: 59-27=32, Resulting Numbers: [12, 17, 32]
Generated Node #0,0: 76:[12, 17, 32] Operation: 59-27=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[12, 17, 32], Operations: ['59-27=32']
Exploring Operation: 32-12=20, Resulting Numbers: [17, 20]
Generated Node #0,0,0: 76:[17, 20] Operation: 32-12=20
Moving to Node #0,0,0
Current State: 76:[17, 20], Operations: ['59-27=32', '32-12=20']
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
85,
15,
96,
4
] | 16 | [
"85+15=100",
"100-96=4",
"4*4=16"
] | Current State: 16:[85, 15, 96, 4], Operations: []
Exploring Operation: 85+15=100, Resulting Numbers: [96, 4, 100]
Generated Node #2: [96, 4, 100] from Operation: 85+15=100
Current State: 16:[96, 4, 100], Operations: ['85+15=100']
Exploring Operation: 100-96=4, Resulting Numbers: [4, 4]
Generated Node #3: [4, 4] from Operation: 100-96=4
Current State: 16:[4, 4], Operations: ['85+15=100', '100-96=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[85, 15, 96, 4], Operations: []
Exploring Operation: 96-85=11, Resulting Numbers: [15, 4, 11]
Generated Node #0,0: 16:[15, 4, 11] Operation: 96-85=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[15, 4, 11], Operations: ['96-85=11']
Exploring Operation: 15-11=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 16:[4, 4] Operation: 15-11=4
Moving to Node #0,0,0
Current State: 16:[4, 4], Operations: ['96-85=11', '15-11=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
51,
38,
18,
55
] | 51 | [
"38+18=56",
"56-55=1",
"51*1=51"
] | Current State: 51:[51, 38, 18, 55], Operations: []
Exploring Operation: 38+18=56, Resulting Numbers: [51, 55, 56]
Generated Node #2: [51, 55, 56] from Operation: 38+18=56
Current State: 51:[51, 55, 56], Operations: ['38+18=56']
Exploring Operation: 56-55=1, Resulting Numbers: [51, 1]
Generated Node #3: [51, 1] from Operation: 56-55=1
Current State: 51:[51, 1], Operations: ['38+18=56', '56-55=1']
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[51, 38, 18, 55], Operations: []
Exploring Operation: 55-38=17, Resulting Numbers: [51, 18, 17]
Generated Node #0,0: 51:[51, 18, 17] Operation: 55-38=17
Exploring Operation: 38-18=20, Resulting Numbers: [51, 55, 20]
Generated Node #0,1: 51:[51, 55, 20] Operation: 38-18=20
Exploring Operation: 51-38=13, Resulting Numbers: [18, 55, 13]
Generated Node #0,2: 51:[18, 55, 13] Operation: 51-38=13
Exploring Operation: 38+18=56, Resulting Numbers: [51, 55, 56]
Generated Node #0,3: 51:[51, 55, 56] Operation: 38+18=56
Moving to Node #0,0
Current State: 51:[51, 18, 17], Operations: ['55-38=17']
Exploring Operation: 18-17=1, Resulting Numbers: [51, 1]
Generated Node #0,0,0: 51:[51, 1] Operation: 18-17=1
Exploring Operation: 51-18=33, Resulting Numbers: [17, 33]
Generated Node #0,0,1: 51:[17, 33] Operation: 51-18=33
Exploring Operation: 51/17=3, Resulting Numbers: [18, 3]
Generated Node #0,0,2: 51:[18, 3] Operation: 51/17=3
Exploring Operation: 18+17=35, Resulting Numbers: [51, 35]
Generated Node #0,0,3: 51:[51, 35] Operation: 18+17=35
Moving to Node #0,1
Current State: 51:[51, 55, 20], Operations: ['38-18=20']
Exploring Operation: 55-20=35, Resulting Numbers: [51, 35]
Generated Node #0,1,0: 51:[51, 35] Operation: 55-20=35
Exploring Operation: 51-20=31, Resulting Numbers: [55, 31]
Generated Node #0,1,1: 51:[55, 31] Operation: 51-20=31
Exploring Operation: 51+20=71, Resulting Numbers: [55, 71]
Generated Node #0,1,2: 51:[55, 71] Operation: 51+20=71
Exploring Operation: 55-51=4, Resulting Numbers: [20, 4]
Generated Node #0,1,3: 51:[20, 4] Operation: 55-51=4
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 51:[20, 4], Operations: ['38-18=20', '55-51=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[51, 35], Operations: ['38-18=20', '55-20=35']
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 51+35=86, Resulting Numbers: [86]
86,51 unequal: No Solution
Exploring Operation: 51*35=1785, Resulting Numbers: [1785]
1785,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[55, 31], Operations: ['38-18=20', '51-20=31']
Exploring Operation: 55*31=1705, Resulting Numbers: [1705]
1705,51 unequal: No Solution
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,51 unequal: No Solution
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[55, 71], Operations: ['38-18=20', '51+20=71']
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 55*71=3905, Resulting Numbers: [3905]
3905,51 unequal: No Solution
Exploring Operation: 55+71=126, Resulting Numbers: [126]
126,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 51:[51, 55, 56], Operations: ['38+18=56']
Exploring Operation: 56-55=1, Resulting Numbers: [51, 1]
Generated Node #0,3,0: 51:[51, 1] Operation: 56-55=1
Exploring Operation: 55-51=4, Resulting Numbers: [56, 4]
Generated Node #0,3,1: 51:[56, 4] Operation: 55-51=4
Exploring Operation: 51+55=106, Resulting Numbers: [56, 106]
Generated Node #0,3,2: 51:[56, 106] Operation: 51+55=106
Exploring Operation: 56-51=5, Resulting Numbers: [55, 5]
Generated Node #0,3,3: 51:[55, 5] Operation: 56-51=5
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 51:[51, 1], Operations: ['38+18=56', '56-55=1']
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[51, 38, 18, 55], Operations: []
Exploring Operation: 38+18=56, Resulting Numbers: [51, 55, 56]
Generated Node #0,3: 51:[51, 55, 56] Operation: 38+18=56
Moving to Node #0,3
Current State: 51:[51, 55, 56], Operations: ['38+18=56']
Exploring Operation: 56-55=1, Resulting Numbers: [51, 1]
Generated Node #0,3,0: 51:[51, 1] Operation: 56-55=1
Moving to Node #0,3,0
Current State: 51:[51, 1], Operations: ['38+18=56', '56-55=1']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
64,
33,
66,
52
] | 84 | [
"64*33=2112",
"2112/66=32",
"52+32=84"
] | Current State: 84:[64, 33, 66, 52], Operations: []
Exploring Operation: 64*33=2112, Resulting Numbers: [66, 52, 2112]
Generated Node #2: [66, 52, 2112] from Operation: 64*33=2112
Current State: 84:[66, 52, 2112], Operations: ['64*33=2112']
Exploring Operation: 2112/66=32, Resulting Numbers: [52, 32]
Generated Node #3: [52, 32] from Operation: 2112/66=32
Current State: 84:[52, 32], Operations: ['64*33=2112', '2112/66=32']
Exploring Operation: 52+32=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[64, 33, 66, 52], Operations: []
Exploring Operation: 64-33=31, Resulting Numbers: [66, 52, 31]
Generated Node #0,0: 84:[66, 52, 31] Operation: 64-33=31
Exploring Operation: 66/33=2, Resulting Numbers: [64, 52, 2]
Generated Node #0,1: 84:[64, 52, 2] Operation: 66/33=2
Exploring Operation: 64-52=12, Resulting Numbers: [33, 66, 12]
Generated Node #0,2: 84:[33, 66, 12] Operation: 64-52=12
Exploring Operation: 66-64=2, Resulting Numbers: [33, 52, 2]
Generated Node #0,3: 84:[33, 52, 2] Operation: 66-64=2
Exploring Operation: 66-52=14, Resulting Numbers: [64, 33, 14]
Generated Node #0,4: 84:[64, 33, 14] Operation: 66-52=14
Moving to Node #0,3
Current State: 84:[33, 52, 2], Operations: ['66-64=2']
Exploring Operation: 52-33=19, Resulting Numbers: [2, 19]
Generated Node #0,3,0: 84:[2, 19] Operation: 52-33=19
Exploring Operation: 52/2=26, Resulting Numbers: [33, 26]
Generated Node #0,3,1: 84:[33, 26] Operation: 52/2=26
Exploring Operation: 52-2=50, Resulting Numbers: [33, 50]
Generated Node #0,3,2: 84:[33, 50] Operation: 52-2=50
Exploring Operation: 33-2=31, Resulting Numbers: [52, 31]
Generated Node #0,3,3: 84:[52, 31] Operation: 33-2=31
Exploring Operation: 33+52=85, Resulting Numbers: [2, 85]
Generated Node #0,3,4: 84:[2, 85] Operation: 33+52=85
Moving to Node #0,2
Current State: 84:[33, 66, 12], Operations: ['64-52=12']
Exploring Operation: 33+66=99, Resulting Numbers: [12, 99]
Generated Node #0,2,0: 84:[12, 99] Operation: 33+66=99
Exploring Operation: 66-33=33, Resulting Numbers: [12, 33]
Generated Node #0,2,1: 84:[12, 33] Operation: 66-33=33
Exploring Operation: 66-12=54, Resulting Numbers: [33, 54]
Generated Node #0,2,2: 84:[33, 54] Operation: 66-12=54
Exploring Operation: 66+12=78, Resulting Numbers: [33, 78]
Generated Node #0,2,3: 84:[33, 78] Operation: 66+12=78
Exploring Operation: 66/33=2, Resulting Numbers: [12, 2]
Generated Node #0,2,4: 84:[12, 2] Operation: 66/33=2
Moving to Node #0,4
Current State: 84:[64, 33, 14], Operations: ['66-52=14']
Exploring Operation: 64-14=50, Resulting Numbers: [33, 50]
Generated Node #0,4,0: 84:[33, 50] Operation: 64-14=50
Exploring Operation: 64+14=78, Resulting Numbers: [33, 78]
Generated Node #0,4,1: 84:[33, 78] Operation: 64+14=78
Exploring Operation: 64-33=31, Resulting Numbers: [14, 31]
Generated Node #0,4,2: 84:[14, 31] Operation: 64-33=31
Exploring Operation: 33-14=19, Resulting Numbers: [64, 19]
Generated Node #0,4,3: 84:[64, 19] Operation: 33-14=19
Exploring Operation: 64+33=97, Resulting Numbers: [14, 97]
Generated Node #0,4,4: 84:[14, 97] Operation: 64+33=97
Moving to Node #0,1
Current State: 84:[64, 52, 2], Operations: ['66/33=2']
Exploring Operation: 52-2=50, Resulting Numbers: [64, 50]
Generated Node #0,1,0: 84:[64, 50] Operation: 52-2=50
Exploring Operation: 64/2=32, Resulting Numbers: [52, 32]
Generated Node #0,1,1: 84:[52, 32] Operation: 64/2=32
Exploring Operation: 52/2=26, Resulting Numbers: [64, 26]
Generated Node #0,1,2: 84:[64, 26] Operation: 52/2=26
Exploring Operation: 64+2=66, Resulting Numbers: [52, 66]
Generated Node #0,1,3: 84:[52, 66] Operation: 64+2=66
Exploring Operation: 64-52=12, Resulting Numbers: [2, 12]
Generated Node #0,1,4: 84:[2, 12] Operation: 64-52=12
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 84:[2, 12], Operations: ['66/33=2', '64-52=12']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[52, 32], Operations: ['66/33=2', '64/2=32']
Exploring Operation: 52*32=1664, Resulting Numbers: [1664]
1664,84 unequal: No Solution
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 52+32=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[64, 33, 66, 52], Operations: []
Exploring Operation: 66/33=2, Resulting Numbers: [64, 52, 2]
Generated Node #0,1: 84:[64, 52, 2] Operation: 66/33=2
Moving to Node #0,1
Current State: 84:[64, 52, 2], Operations: ['66/33=2']
Exploring Operation: 64/2=32, Resulting Numbers: [52, 32]
Generated Node #0,1,1: 84:[52, 32] Operation: 64/2=32
Moving to Node #0,1,1
Current State: 84:[52, 32], Operations: ['66/33=2', '64/2=32']
Exploring Operation: 52+32=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
17,
88,
83,
4
] | 88 | [
"17+88=105",
"105-83=22",
"4*22=88"
] | Current State: 88:[17, 88, 83, 4], Operations: []
Exploring Operation: 17+88=105, Resulting Numbers: [83, 4, 105]
Generated Node #2: [83, 4, 105] from Operation: 17+88=105
Current State: 88:[83, 4, 105], Operations: ['17+88=105']
Exploring Operation: 105-83=22, Resulting Numbers: [4, 22]
Generated Node #3: [4, 22] from Operation: 105-83=22
Current State: 88:[4, 22], Operations: ['17+88=105', '105-83=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[17, 88, 83, 4], Operations: []
Exploring Operation: 83+4=87, Resulting Numbers: [17, 88, 87]
Generated Node #0,0: 88:[17, 88, 87] Operation: 83+4=87
Exploring Operation: 88-83=5, Resulting Numbers: [17, 4, 5]
Generated Node #0,1: 88:[17, 4, 5] Operation: 88-83=5
Exploring Operation: 17+4=21, Resulting Numbers: [88, 83, 21]
Generated Node #0,2: 88:[88, 83, 21] Operation: 17+4=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[17, 88, 87], Operations: ['83+4=87']
Exploring Operation: 17+88=105, Resulting Numbers: [87, 105]
Generated Node #0,0,0: 88:[87, 105] Operation: 17+88=105
Exploring Operation: 17+87=104, Resulting Numbers: [88, 104]
Generated Node #0,0,1: 88:[88, 104] Operation: 17+87=104
Exploring Operation: 88-87=1, Resulting Numbers: [17, 1]
Generated Node #0,0,2: 88:[17, 1] Operation: 88-87=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 88:[17, 1], Operations: ['83+4=87', '88-87=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[88, 104], Operations: ['83+4=87', '17+87=104']
Exploring Operation: 104-88=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 88+104=192, Resulting Numbers: [192]
192,88 unequal: No Solution
Exploring Operation: 88*104=9152, Resulting Numbers: [9152]
9152,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[87, 105], Operations: ['83+4=87', '17+88=105']
Exploring Operation: 87+105=192, Resulting Numbers: [192]
192,88 unequal: No Solution
Exploring Operation: 105-87=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 87*105=9135, Resulting Numbers: [9135]
9135,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[17, 4, 5], Operations: ['88-83=5']
Exploring Operation: 17-5=12, Resulting Numbers: [4, 12]
Generated Node #0,1,0: 88:[4, 12] Operation: 17-5=12
Exploring Operation: 17+4=21, Resulting Numbers: [5, 21]
Generated Node #0,1,1: 88:[5, 21] Operation: 17+4=21
Exploring Operation: 17+5=22, Resulting Numbers: [4, 22]
Generated Node #0,1,2: 88:[4, 22] Operation: 17+5=22
Moving to Node #0,1,2
Current State: 88:[4, 22], Operations: ['88-83=5', '17+5=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[17, 88, 83, 4], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [17, 4, 5]
Generated Node #0,1: 88:[17, 4, 5] Operation: 88-83=5
Moving to Node #0,1
Current State: 88:[17, 4, 5], Operations: ['88-83=5']
Exploring Operation: 17+5=22, Resulting Numbers: [4, 22]
Generated Node #0,1,2: 88:[4, 22] Operation: 17+5=22
Moving to Node #0,1,2
Current State: 88:[4, 22], Operations: ['88-83=5', '17+5=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
10,
65,
4,
18
] | 47 | [
"10+18=28",
"4*28=112",
"112-65=47"
] | Current State: 47:[10, 65, 4, 18], Operations: []
Exploring Operation: 10+18=28, Resulting Numbers: [65, 4, 28]
Generated Node #2: [65, 4, 28] from Operation: 10+18=28
Current State: 47:[65, 4, 28], Operations: ['10+18=28']
Exploring Operation: 4*28=112, Resulting Numbers: [65, 112]
Generated Node #3: [65, 112] from Operation: 4*28=112
Current State: 47:[65, 112], Operations: ['10+18=28', '4*28=112']
Exploring Operation: 112-65=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[10, 65, 4, 18], Operations: []
Exploring Operation: 65-10=55, Resulting Numbers: [4, 18, 55]
Generated Node #0,0: 47:[4, 18, 55] Operation: 65-10=55
Exploring Operation: 10*4=40, Resulting Numbers: [65, 18, 40]
Generated Node #0,1: 47:[65, 18, 40] Operation: 10*4=40
Exploring Operation: 10+4=14, Resulting Numbers: [65, 18, 14]
Generated Node #0,2: 47:[65, 18, 14] Operation: 10+4=14
Moving to Node #0,1
Current State: 47:[65, 18, 40], Operations: ['10*4=40']
Exploring Operation: 65-18=47, Resulting Numbers: [40, 47]
Generated Node #0,1,0: 47:[40, 47] Operation: 65-18=47
Exploring Operation: 18+40=58, Resulting Numbers: [65, 58]
Generated Node #0,1,1: 47:[65, 58] Operation: 18+40=58
Exploring Operation: 65+18=83, Resulting Numbers: [40, 83]
Generated Node #0,1,2: 47:[40, 83] Operation: 65+18=83
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[40, 47], Operations: ['10*4=40', '65-18=47']
Exploring Operation: 40*47=1880, Resulting Numbers: [1880]
1880,47 unequal: No Solution
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 40+47=87, Resulting Numbers: [87]
87,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[65, 58], Operations: ['10*4=40', '18+40=58']
Exploring Operation: 65+58=123, Resulting Numbers: [123]
123,47 unequal: No Solution
Exploring Operation: 65*58=3770, Resulting Numbers: [3770]
3770,47 unequal: No Solution
Exploring Operation: 65-58=7, Resulting Numbers: [7]
7,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 47:[40, 83], Operations: ['10*4=40', '65+18=83']
Exploring Operation: 40+83=123, Resulting Numbers: [123]
123,47 unequal: No Solution
Exploring Operation: 83-40=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 40*83=3320, Resulting Numbers: [3320]
3320,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 47:[4, 18, 55], Operations: ['65-10=55']
Exploring Operation: 4*18=72, Resulting Numbers: [55, 72]
Generated Node #0,0,0: 47:[55, 72] Operation: 4*18=72
Exploring Operation: 55-4=51, Resulting Numbers: [18, 51]
Generated Node #0,0,1: 47:[18, 51] Operation: 55-4=51
Exploring Operation: 4+18=22, Resulting Numbers: [55, 22]
Generated Node #0,0,2: 47:[55, 22] Operation: 4+18=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[55, 72], Operations: ['65-10=55', '4*18=72']
Exploring Operation: 55*72=3960, Resulting Numbers: [3960]
3960,47 unequal: No Solution
Exploring Operation: 55+72=127, Resulting Numbers: [127]
127,47 unequal: No Solution
Exploring Operation: 72-55=17, Resulting Numbers: [17]
17,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[18, 51], Operations: ['65-10=55', '55-4=51']
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,47 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[55, 22], Operations: ['65-10=55', '4+18=22']
Exploring Operation: 55*22=1210, Resulting Numbers: [1210]
1210,47 unequal: No Solution
Exploring Operation: 55+22=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 47:[65, 18, 14], Operations: ['10+4=14']
Exploring Operation: 18+14=32, Resulting Numbers: [65, 32]
Generated Node #0,2,0: 47:[65, 32] Operation: 18+14=32
Exploring Operation: 65-18=47, Resulting Numbers: [14, 47]
Generated Node #0,2,1: 47:[14, 47] Operation: 65-18=47
Exploring Operation: 65-14=51, Resulting Numbers: [18, 51]
Generated Node #0,2,2: 47:[18, 51] Operation: 65-14=51
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[65, 32], Operations: ['10+4=14', '18+14=32']
Exploring Operation: 65*32=2080, Resulting Numbers: [2080]
2080,47 unequal: No Solution
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,47 unequal: No Solution
Exploring Operation: 65+32=97, Resulting Numbers: [97]
97,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[14, 47], Operations: ['10+4=14', '65-18=47']
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,47 unequal: No Solution
Exploring Operation: 14*47=658, Resulting Numbers: [658]
658,47 unequal: No Solution
Exploring Operation: 14+47=61, Resulting Numbers: [61]
61,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[18, 51], Operations: ['10+4=14', '65-14=51']
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,47 unequal: No Solution
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,47 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
45,
53,
14,
20
] | 27 | [
"45+53=98",
"98/14=7",
"20+7=27"
] | Current State: 27:[45, 53, 14, 20], Operations: []
Exploring Operation: 45+53=98, Resulting Numbers: [14, 20, 98]
Generated Node #2: [14, 20, 98] from Operation: 45+53=98
Current State: 27:[14, 20, 98], Operations: ['45+53=98']
Exploring Operation: 98/14=7, Resulting Numbers: [20, 7]
Generated Node #3: [20, 7] from Operation: 98/14=7
Current State: 27:[20, 7], Operations: ['45+53=98', '98/14=7']
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[45, 53, 14, 20], Operations: []
Exploring Operation: 53-45=8, Resulting Numbers: [14, 20, 8]
Generated Node #0,0: 27:[14, 20, 8] Operation: 53-45=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[14, 20, 8], Operations: ['53-45=8']
Exploring Operation: 20-14=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 27:[8, 6] Operation: 20-14=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[8, 6], Operations: ['53-45=8', '20-14=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
89,
31,
71
] | 52 | [
"3+89=92",
"71-31=40",
"92-40=52"
] | Current State: 52:[3, 89, 31, 71], Operations: []
Exploring Operation: 3+89=92, Resulting Numbers: [31, 71, 92]
Generated Node #2: [31, 71, 92] from Operation: 3+89=92
Current State: 52:[31, 71, 92], Operations: ['3+89=92']
Exploring Operation: 71-31=40, Resulting Numbers: [92, 40]
Generated Node #3: [92, 40] from Operation: 71-31=40
Current State: 52:[92, 40], Operations: ['3+89=92', '71-31=40']
Exploring Operation: 92-40=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[3, 89, 31, 71], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [3, 31, 18]
Generated Node #0,0: 52:[3, 31, 18] Operation: 89-71=18
Exploring Operation: 89-31=58, Resulting Numbers: [3, 71, 58]
Generated Node #0,1: 52:[3, 71, 58] Operation: 89-31=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[3, 31, 18], Operations: ['89-71=18']
Exploring Operation: 31+18=49, Resulting Numbers: [3, 49]
Generated Node #0,0,0: 52:[3, 49] Operation: 31+18=49
Exploring Operation: 31-18=13, Resulting Numbers: [3, 13]
Generated Node #0,0,1: 52:[3, 13] Operation: 31-18=13
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[3, 13], Operations: ['89-71=18', '31-18=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[3, 49], Operations: ['89-71=18', '31+18=49']
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[3, 89, 31, 71], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [3, 31, 18]
Generated Node #0,0: 52:[3, 31, 18] Operation: 89-71=18
Moving to Node #0,0
Current State: 52:[3, 31, 18], Operations: ['89-71=18']
Exploring Operation: 31+18=49, Resulting Numbers: [3, 49]
Generated Node #0,0,0: 52:[3, 49] Operation: 31+18=49
Moving to Node #0,0,0
Current State: 52:[3, 49], Operations: ['89-71=18', '31+18=49']
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
44,
55,
13,
74
] | 69 | [
"55-44=11",
"13*11=143",
"143-74=69"
] | Current State: 69:[44, 55, 13, 74], Operations: []
Exploring Operation: 55-44=11, Resulting Numbers: [13, 74, 11]
Generated Node #2: [13, 74, 11] from Operation: 55-44=11
Current State: 69:[13, 74, 11], Operations: ['55-44=11']
Exploring Operation: 13*11=143, Resulting Numbers: [74, 143]
Generated Node #3: [74, 143] from Operation: 13*11=143
Current State: 69:[74, 143], Operations: ['55-44=11', '13*11=143']
Exploring Operation: 143-74=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[44, 55, 13, 74], Operations: []
Exploring Operation: 55+13=68, Resulting Numbers: [44, 74, 68]
Generated Node #0,0: 69:[44, 74, 68] Operation: 55+13=68
Exploring Operation: 44-13=31, Resulting Numbers: [55, 74, 31]
Generated Node #0,1: 69:[55, 74, 31] Operation: 44-13=31
Exploring Operation: 55-44=11, Resulting Numbers: [13, 74, 11]
Generated Node #0,2: 69:[13, 74, 11] Operation: 55-44=11
Moving to Node #0,2
Current State: 69:[13, 74, 11], Operations: ['55-44=11']
Exploring Operation: 13-11=2, Resulting Numbers: [74, 2]
Generated Node #0,2,0: 69:[74, 2] Operation: 13-11=2
Exploring Operation: 13+11=24, Resulting Numbers: [74, 24]
Generated Node #0,2,1: 69:[74, 24] Operation: 13+11=24
Exploring Operation: 74-13=61, Resulting Numbers: [11, 61]
Generated Node #0,2,2: 69:[11, 61] Operation: 74-13=61
Moving to Node #0,0
Current State: 69:[44, 74, 68], Operations: ['55+13=68']
Exploring Operation: 74-44=30, Resulting Numbers: [68, 30]
Generated Node #0,0,0: 69:[68, 30] Operation: 74-44=30
Exploring Operation: 68-44=24, Resulting Numbers: [74, 24]
Generated Node #0,0,1: 69:[74, 24] Operation: 68-44=24
Exploring Operation: 74-68=6, Resulting Numbers: [44, 6]
Generated Node #0,0,2: 69:[44, 6] Operation: 74-68=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[74, 24], Operations: ['55+13=68', '68-44=24']
Exploring Operation: 74*24=1776, Resulting Numbers: [1776]
1776,69 unequal: No Solution
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Exploring Operation: 74+24=98, Resulting Numbers: [98]
98,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[68, 30], Operations: ['55+13=68', '74-44=30']
Exploring Operation: 68*30=2040, Resulting Numbers: [2040]
2040,69 unequal: No Solution
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,69 unequal: No Solution
Exploring Operation: 68+30=98, Resulting Numbers: [98]
98,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[44, 6], Operations: ['55+13=68', '74-68=6']
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,69 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 69:[55, 74, 31], Operations: ['44-13=31']
Exploring Operation: 55+31=86, Resulting Numbers: [74, 86]
Generated Node #0,1,0: 69:[74, 86] Operation: 55+31=86
Exploring Operation: 74-55=19, Resulting Numbers: [31, 19]
Generated Node #0,1,1: 69:[31, 19] Operation: 74-55=19
Exploring Operation: 55-31=24, Resulting Numbers: [74, 24]
Generated Node #0,1,2: 69:[74, 24] Operation: 55-31=24
Moving to Node #0,2,0
Current State: 69:[74, 2], Operations: ['55-44=11', '13-11=2']
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,69 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,69 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[74, 24], Operations: ['55-44=11', '13+11=24']
Exploring Operation: 74*24=1776, Resulting Numbers: [1776]
1776,69 unequal: No Solution
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Exploring Operation: 74+24=98, Resulting Numbers: [98]
98,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[74, 24], Operations: ['44-13=31', '55-31=24']
Exploring Operation: 74*24=1776, Resulting Numbers: [1776]
1776,69 unequal: No Solution
Exploring Operation: 74+24=98, Resulting Numbers: [98]
98,69 unequal: No Solution
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[31, 19], Operations: ['44-13=31', '74-55=19']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 31*19=589, Resulting Numbers: [589]
589,69 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[11, 61], Operations: ['55-44=11', '74-13=61']
Exploring Operation: 11+61=72, Resulting Numbers: [72]
72,69 unequal: No Solution
Exploring Operation: 11*61=671, Resulting Numbers: [671]
671,69 unequal: No Solution
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[74, 86], Operations: ['44-13=31', '55+31=86']
Exploring Operation: 74+86=160, Resulting Numbers: [160]
160,69 unequal: No Solution
Exploring Operation: 74*86=6364, Resulting Numbers: [6364]
6364,69 unequal: No Solution
Exploring Operation: 86-74=12, Resulting Numbers: [12]
12,69 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
50,
88,
53,
81
] | 66 | [
"88-50=38",
"81-53=28",
"38+28=66"
] | Current State: 66:[50, 88, 53, 81], Operations: []
Exploring Operation: 88-50=38, Resulting Numbers: [53, 81, 38]
Generated Node #2: [53, 81, 38] from Operation: 88-50=38
Current State: 66:[53, 81, 38], Operations: ['88-50=38']
Exploring Operation: 81-53=28, Resulting Numbers: [38, 28]
Generated Node #3: [38, 28] from Operation: 81-53=28
Current State: 66:[38, 28], Operations: ['88-50=38', '81-53=28']
Exploring Operation: 38+28=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[50, 88, 53, 81], Operations: []
Exploring Operation: 53-50=3, Resulting Numbers: [88, 81, 3]
Generated Node #0,0: 66:[88, 81, 3] Operation: 53-50=3
Exploring Operation: 88-81=7, Resulting Numbers: [50, 53, 7]
Generated Node #0,1: 66:[50, 53, 7] Operation: 88-81=7
Exploring Operation: 88-50=38, Resulting Numbers: [53, 81, 38]
Generated Node #0,2: 66:[53, 81, 38] Operation: 88-50=38
Exploring Operation: 88-53=35, Resulting Numbers: [50, 81, 35]
Generated Node #0,3: 66:[50, 81, 35] Operation: 88-53=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[50, 53, 7], Operations: ['88-81=7']
Exploring Operation: 53-50=3, Resulting Numbers: [7, 3]
Generated Node #0,1,0: 66:[7, 3] Operation: 53-50=3
Exploring Operation: 50+7=57, Resulting Numbers: [53, 57]
Generated Node #0,1,1: 66:[53, 57] Operation: 50+7=57
Exploring Operation: 50-7=43, Resulting Numbers: [53, 43]
Generated Node #0,1,2: 66:[53, 43] Operation: 50-7=43
Exploring Operation: 53+7=60, Resulting Numbers: [50, 60]
Generated Node #0,1,3: 66:[50, 60] Operation: 53+7=60
Moving to Node #0,1,0
Current State: 66:[7, 3], Operations: ['88-81=7', '53-50=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[50, 60], Operations: ['88-81=7', '53+7=60']
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 50*60=3000, Resulting Numbers: [3000]
3000,66 unequal: No Solution
Exploring Operation: 50+60=110, Resulting Numbers: [110]
110,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[53, 57], Operations: ['88-81=7', '50+7=57']
Exploring Operation: 53*57=3021, Resulting Numbers: [3021]
3021,66 unequal: No Solution
Exploring Operation: 53+57=110, Resulting Numbers: [110]
110,66 unequal: No Solution
Exploring Operation: 57-53=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[53, 43], Operations: ['88-81=7', '50-7=43']
Exploring Operation: 53*43=2279, Resulting Numbers: [2279]
2279,66 unequal: No Solution
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,66 unequal: No Solution
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[53, 81, 38], Operations: ['88-50=38']
Exploring Operation: 53+38=91, Resulting Numbers: [81, 91]
Generated Node #0,2,0: 66:[81, 91] Operation: 53+38=91
Exploring Operation: 53-38=15, Resulting Numbers: [81, 15]
Generated Node #0,2,1: 66:[81, 15] Operation: 53-38=15
Exploring Operation: 81-53=28, Resulting Numbers: [38, 28]
Generated Node #0,2,2: 66:[38, 28] Operation: 81-53=28
Exploring Operation: 81-38=43, Resulting Numbers: [53, 43]
Generated Node #0,2,3: 66:[53, 43] Operation: 81-38=43
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[38, 28], Operations: ['88-50=38', '81-53=28']
Exploring Operation: 38+28=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[50, 88, 53, 81], Operations: []
Exploring Operation: 88-50=38, Resulting Numbers: [53, 81, 38]
Generated Node #0,2: 66:[53, 81, 38] Operation: 88-50=38
Moving to Node #0,2
Current State: 66:[53, 81, 38], Operations: ['88-50=38']
Exploring Operation: 81-53=28, Resulting Numbers: [38, 28]
Generated Node #0,2,2: 66:[38, 28] Operation: 81-53=28
Moving to Node #0,2,2
Current State: 66:[38, 28], Operations: ['88-50=38', '81-53=28']
Exploring Operation: 38+28=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
10,
74,
67,
79
] | 52 | [
"74-10=64",
"79-67=12",
"64-12=52"
] | Current State: 52:[10, 74, 67, 79], Operations: []
Exploring Operation: 74-10=64, Resulting Numbers: [67, 79, 64]
Generated Node #2: [67, 79, 64] from Operation: 74-10=64
Current State: 52:[67, 79, 64], Operations: ['74-10=64']
Exploring Operation: 79-67=12, Resulting Numbers: [64, 12]
Generated Node #3: [64, 12] from Operation: 79-67=12
Current State: 52:[64, 12], Operations: ['74-10=64', '79-67=12']
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[10, 74, 67, 79], Operations: []
Exploring Operation: 67-10=57, Resulting Numbers: [74, 79, 57]
Generated Node #0,0: 52:[74, 79, 57] Operation: 67-10=57
Exploring Operation: 79-67=12, Resulting Numbers: [10, 74, 12]
Generated Node #0,1: 52:[10, 74, 12] Operation: 79-67=12
Exploring Operation: 74-10=64, Resulting Numbers: [67, 79, 64]
Generated Node #0,2: 52:[67, 79, 64] Operation: 74-10=64
Exploring Operation: 79-74=5, Resulting Numbers: [10, 67, 5]
Generated Node #0,3: 52:[10, 67, 5] Operation: 79-74=5
Exploring Operation: 74-67=7, Resulting Numbers: [10, 79, 7]
Generated Node #0,4: 52:[10, 79, 7] Operation: 74-67=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 52:[10, 67, 5], Operations: ['79-74=5']
Exploring Operation: 10/5=2, Resulting Numbers: [67, 2]
Generated Node #0,3,0: 52:[67, 2] Operation: 10/5=2
Exploring Operation: 67-5=62, Resulting Numbers: [10, 62]
Generated Node #0,3,1: 52:[10, 62] Operation: 67-5=62
Exploring Operation: 67-10=57, Resulting Numbers: [5, 57]
Generated Node #0,3,2: 52:[5, 57] Operation: 67-10=57
Exploring Operation: 10-5=5, Resulting Numbers: [67, 5]
Generated Node #0,3,3: 52:[67, 5] Operation: 10-5=5
Exploring Operation: 10+5=15, Resulting Numbers: [67, 15]
Generated Node #0,3,4: 52:[67, 15] Operation: 10+5=15
Moving to Node #0,3,2
Current State: 52:[5, 57], Operations: ['79-74=5', '67-10=57']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[10, 74, 67, 79], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [10, 67, 5]
Generated Node #0,3: 52:[10, 67, 5] Operation: 79-74=5
Moving to Node #0,3
Current State: 52:[10, 67, 5], Operations: ['79-74=5']
Exploring Operation: 67-10=57, Resulting Numbers: [5, 57]
Generated Node #0,3,2: 52:[5, 57] Operation: 67-10=57
Moving to Node #0,3,2
Current State: 52:[5, 57], Operations: ['79-74=5', '67-10=57']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
27,
52,
86,
29
] | 69 | [
"29-27=2",
"52+86=138",
"138/2=69"
] | Current State: 69:[27, 52, 86, 29], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [52, 86, 2]
Generated Node #2: [52, 86, 2] from Operation: 29-27=2
Current State: 69:[52, 86, 2], Operations: ['29-27=2']
Exploring Operation: 52+86=138, Resulting Numbers: [2, 138]
Generated Node #3: [2, 138] from Operation: 52+86=138
Current State: 69:[2, 138], Operations: ['29-27=2', '52+86=138']
Exploring Operation: 138/2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[27, 52, 86, 29], Operations: []
Exploring Operation: 86-52=34, Resulting Numbers: [27, 29, 34]
Generated Node #0,0: 69:[27, 29, 34] Operation: 86-52=34
Moving to Node #0,0
Current State: 69:[27, 29, 34], Operations: ['86-52=34']
Exploring Operation: 34-29=5, Resulting Numbers: [27, 5]
Generated Node #0,0,0: 69:[27, 5] Operation: 34-29=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[27, 5], Operations: ['86-52=34', '34-29=5']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
87,
3,
44,
56
] | 41 | [
"87/3=29",
"56-44=12",
"29+12=41"
] | Current State: 41:[87, 3, 44, 56], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [44, 56, 29]
Generated Node #2: [44, 56, 29] from Operation: 87/3=29
Current State: 41:[44, 56, 29], Operations: ['87/3=29']
Exploring Operation: 56-44=12, Resulting Numbers: [29, 12]
Generated Node #3: [29, 12] from Operation: 56-44=12
Current State: 41:[29, 12], Operations: ['87/3=29', '56-44=12']
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[87, 3, 44, 56], Operations: []
Exploring Operation: 87-44=43, Resulting Numbers: [3, 56, 43]
Generated Node #0,0: 41:[3, 56, 43] Operation: 87-44=43
Exploring Operation: 87/3=29, Resulting Numbers: [44, 56, 29]
Generated Node #0,1: 41:[44, 56, 29] Operation: 87/3=29
Exploring Operation: 87-56=31, Resulting Numbers: [3, 44, 31]
Generated Node #0,2: 41:[3, 44, 31] Operation: 87-56=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[44, 56, 29], Operations: ['87/3=29']
Exploring Operation: 44-29=15, Resulting Numbers: [56, 15]
Generated Node #0,1,0: 41:[56, 15] Operation: 44-29=15
Exploring Operation: 56-29=27, Resulting Numbers: [44, 27]
Generated Node #0,1,1: 41:[44, 27] Operation: 56-29=27
Exploring Operation: 56-44=12, Resulting Numbers: [29, 12]
Generated Node #0,1,2: 41:[29, 12] Operation: 56-44=12
Moving to Node #0,1,1
Current State: 41:[44, 27], Operations: ['87/3=29', '56-29=27']
Exploring Operation: 44*27=1188, Resulting Numbers: [1188]
1188,41 unequal: No Solution
Exploring Operation: 44+27=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[56, 15], Operations: ['87/3=29', '44-29=15']
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[87, 3, 44, 56], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [44, 56, 29]
Generated Node #0,1: 41:[44, 56, 29] Operation: 87/3=29
Moving to Node #0,1
Current State: 41:[44, 56, 29], Operations: ['87/3=29']
Exploring Operation: 44-29=15, Resulting Numbers: [56, 15]
Generated Node #0,1,0: 41:[56, 15] Operation: 44-29=15
Moving to Node #0,1,0
Current State: 41:[56, 15], Operations: ['87/3=29', '44-29=15']
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
15,
68,
1,
22
] | 75 | [
"68-15=53",
"1*22=22",
"53+22=75"
] | Current State: 75:[15, 68, 1, 22], Operations: []
Exploring Operation: 68-15=53, Resulting Numbers: [1, 22, 53]
Generated Node #2: [1, 22, 53] from Operation: 68-15=53
Current State: 75:[1, 22, 53], Operations: ['68-15=53']
Exploring Operation: 1*22=22, Resulting Numbers: [53, 22]
Generated Node #3: [53, 22] from Operation: 1*22=22
Current State: 75:[53, 22], Operations: ['68-15=53', '1*22=22']
Exploring Operation: 53+22=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[15, 68, 1, 22], Operations: []
Exploring Operation: 68+1=69, Resulting Numbers: [15, 22, 69]
Generated Node #0,0: 75:[15, 22, 69] Operation: 68+1=69
Exploring Operation: 1+22=23, Resulting Numbers: [15, 68, 23]
Generated Node #0,1: 75:[15, 68, 23] Operation: 1+22=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[15, 22, 69], Operations: ['68+1=69']
Exploring Operation: 22-15=7, Resulting Numbers: [69, 7]
Generated Node #0,0,0: 75:[69, 7] Operation: 22-15=7
Exploring Operation: 15+69=84, Resulting Numbers: [22, 84]
Generated Node #0,0,1: 75:[22, 84] Operation: 15+69=84
Moving to Node #0,0,0
Current State: 75:[69, 7], Operations: ['68+1=69', '22-15=7']
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Exploring Operation: 69+7=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[22, 84], Operations: ['68+1=69', '15+69=84']
Exploring Operation: 22+84=106, Resulting Numbers: [106]
106,75 unequal: No Solution
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[15, 68, 23], Operations: ['1+22=23']
Exploring Operation: 15+68=83, Resulting Numbers: [23, 83]
Generated Node #0,1,0: 75:[23, 83] Operation: 15+68=83
Exploring Operation: 23-15=8, Resulting Numbers: [68, 8]
Generated Node #0,1,1: 75:[68, 8] Operation: 23-15=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[23, 83], Operations: ['1+22=23', '15+68=83']
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 23+83=106, Resulting Numbers: [106]
106,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[68, 8], Operations: ['1+22=23', '23-15=8']
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Exploring Operation: 68+8=76, Resulting Numbers: [76]
76,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
6,
75,
45,
27
] | 62 | [
"75+27=102",
"102/6=17",
"45+17=62"
] | Current State: 62:[6, 75, 45, 27], Operations: []
Exploring Operation: 75+27=102, Resulting Numbers: [6, 45, 102]
Generated Node #2: [6, 45, 102] from Operation: 75+27=102
Current State: 62:[6, 45, 102], Operations: ['75+27=102']
Exploring Operation: 102/6=17, Resulting Numbers: [45, 17]
Generated Node #3: [45, 17] from Operation: 102/6=17
Current State: 62:[45, 17], Operations: ['75+27=102', '102/6=17']
Exploring Operation: 45+17=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[6, 75, 45, 27], Operations: []
Exploring Operation: 75-6=69, Resulting Numbers: [45, 27, 69]
Generated Node #0,0: 62:[45, 27, 69] Operation: 75-6=69
Exploring Operation: 45-6=39, Resulting Numbers: [75, 27, 39]
Generated Node #0,1: 62:[75, 27, 39] Operation: 45-6=39
Exploring Operation: 45+27=72, Resulting Numbers: [6, 75, 72]
Generated Node #0,2: 62:[6, 75, 72] Operation: 45+27=72
Exploring Operation: 6+45=51, Resulting Numbers: [75, 27, 51]
Generated Node #0,3: 62:[75, 27, 51] Operation: 6+45=51
Exploring Operation: 75-45=30, Resulting Numbers: [6, 27, 30]
Generated Node #0,4: 62:[6, 27, 30] Operation: 75-45=30
Moving to Node #0,4
Current State: 62:[6, 27, 30], Operations: ['75-45=30']
Exploring Operation: 6+30=36, Resulting Numbers: [27, 36]
Generated Node #0,4,0: 62:[27, 36] Operation: 6+30=36
Exploring Operation: 30-27=3, Resulting Numbers: [6, 3]
Generated Node #0,4,1: 62:[6, 3] Operation: 30-27=3
Exploring Operation: 30/6=5, Resulting Numbers: [27, 5]
Generated Node #0,4,2: 62:[27, 5] Operation: 30/6=5
Exploring Operation: 27+30=57, Resulting Numbers: [6, 57]
Generated Node #0,4,3: 62:[6, 57] Operation: 27+30=57
Exploring Operation: 6+27=33, Resulting Numbers: [30, 33]
Generated Node #0,4,4: 62:[30, 33] Operation: 6+27=33
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 62:[30, 33], Operations: ['75-45=30', '6+27=33']
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 30*33=990, Resulting Numbers: [990]
990,62 unequal: No Solution
Exploring Operation: 30+33=63, Resulting Numbers: [63]
63,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 62:[6, 3], Operations: ['75-45=30', '30-27=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,62 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 62:[27, 5], Operations: ['75-45=30', '30/6=5']
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,62 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 62:[27, 36], Operations: ['75-45=30', '6+30=36']
Exploring Operation: 27+36=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 27*36=972, Resulting Numbers: [972]
972,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 62:[6, 57], Operations: ['75-45=30', '27+30=57']
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 6*57=342, Resulting Numbers: [342]
342,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 62:[75, 27, 39], Operations: ['45-6=39']
Exploring Operation: 75-39=36, Resulting Numbers: [27, 36]
Generated Node #0,1,0: 62:[27, 36] Operation: 75-39=36
Exploring Operation: 27+39=66, Resulting Numbers: [75, 66]
Generated Node #0,1,1: 62:[75, 66] Operation: 27+39=66
Exploring Operation: 39-27=12, Resulting Numbers: [75, 12]
Generated Node #0,1,2: 62:[75, 12] Operation: 39-27=12
Exploring Operation: 75+27=102, Resulting Numbers: [39, 102]
Generated Node #0,1,3: 62:[39, 102] Operation: 75+27=102
Exploring Operation: 75-27=48, Resulting Numbers: [39, 48]
Generated Node #0,1,4: 62:[39, 48] Operation: 75-27=48
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[27, 36], Operations: ['45-6=39', '75-39=36']
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 27+36=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 27*36=972, Resulting Numbers: [972]
972,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[75, 66], Operations: ['45-6=39', '27+39=66']
Exploring Operation: 75+66=141, Resulting Numbers: [141]
141,62 unequal: No Solution
Exploring Operation: 75*66=4950, Resulting Numbers: [4950]
4950,62 unequal: No Solution
Exploring Operation: 75-66=9, Resulting Numbers: [9]
9,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 62:[39, 48], Operations: ['45-6=39', '75-27=48']
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 39+48=87, Resulting Numbers: [87]
87,62 unequal: No Solution
Exploring Operation: 39*48=1872, Resulting Numbers: [1872]
1872,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 62:[75, 12], Operations: ['45-6=39', '39-27=12']
Exploring Operation: 75*12=900, Resulting Numbers: [900]
900,62 unequal: No Solution
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 75+12=87, Resulting Numbers: [87]
87,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 62:[39, 102], Operations: ['45-6=39', '75+27=102']
Exploring Operation: 39+102=141, Resulting Numbers: [141]
141,62 unequal: No Solution
Exploring Operation: 39*102=3978, Resulting Numbers: [3978]
3978,62 unequal: No Solution
Exploring Operation: 102-39=63, Resulting Numbers: [63]
63,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 62:[45, 27, 69], Operations: ['75-6=69']
Exploring Operation: 45-27=18, Resulting Numbers: [69, 18]
Generated Node #0,0,0: 62:[69, 18] Operation: 45-27=18
Exploring Operation: 69-27=42, Resulting Numbers: [45, 42]
Generated Node #0,0,1: 62:[45, 42] Operation: 69-27=42
Exploring Operation: 45+27=72, Resulting Numbers: [69, 72]
Generated Node #0,0,2: 62:[69, 72] Operation: 45+27=72
Exploring Operation: 27+69=96, Resulting Numbers: [45, 96]
Generated Node #0,0,3: 62:[45, 96] Operation: 27+69=96
Exploring Operation: 69-45=24, Resulting Numbers: [27, 24]
Generated Node #0,0,4: 62:[27, 24] Operation: 69-45=24
Moving to Node #0,2
Current State: 62:[6, 75, 72], Operations: ['45+27=72']
Exploring Operation: 75-72=3, Resulting Numbers: [6, 3]
Generated Node #0,2,0: 62:[6, 3] Operation: 75-72=3
Exploring Operation: 72-6=66, Resulting Numbers: [75, 66]
Generated Node #0,2,1: 62:[75, 66] Operation: 72-6=66
Exploring Operation: 72/6=12, Resulting Numbers: [75, 12]
Generated Node #0,2,2: 62:[75, 12] Operation: 72/6=12
Exploring Operation: 75-6=69, Resulting Numbers: [72, 69]
Generated Node #0,2,3: 62:[72, 69] Operation: 75-6=69
Exploring Operation: 6+75=81, Resulting Numbers: [72, 81]
Generated Node #0,2,4: 62:[72, 81] Operation: 6+75=81
Moving to Node #0,3
Current State: 62:[75, 27, 51], Operations: ['6+45=51']
Exploring Operation: 51-27=24, Resulting Numbers: [75, 24]
Generated Node #0,3,0: 62:[75, 24] Operation: 51-27=24
Exploring Operation: 27+51=78, Resulting Numbers: [75, 78]
Generated Node #0,3,1: 62:[75, 78] Operation: 27+51=78
Exploring Operation: 75-27=48, Resulting Numbers: [51, 48]
Generated Node #0,3,2: 62:[51, 48] Operation: 75-27=48
Exploring Operation: 75-51=24, Resulting Numbers: [27, 24]
Generated Node #0,3,3: 62:[27, 24] Operation: 75-51=24
Exploring Operation: 75+27=102, Resulting Numbers: [51, 102]
Generated Node #0,3,4: 62:[51, 102] Operation: 75+27=102
Moving to Node #0,2,0
Current State: 62:[6, 3], Operations: ['45+27=72', '75-72=3']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,62 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Moving to Node #0,0,4
Current State: 62:[27, 24], Operations: ['75-6=69', '69-45=24']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[27, 24], Operations: ['6+45=51', '75-51=24']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[75, 66], Operations: ['45+27=72', '72-6=66']
Exploring Operation: 75*66=4950, Resulting Numbers: [4950]
4950,62 unequal: No Solution
Exploring Operation: 75+66=141, Resulting Numbers: [141]
141,62 unequal: No Solution
Exploring Operation: 75-66=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[69, 72], Operations: ['75-6=69', '45+27=72']
Exploring Operation: 69*72=4968, Resulting Numbers: [4968]
4968,62 unequal: No Solution
Exploring Operation: 69+72=141, Resulting Numbers: [141]
141,62 unequal: No Solution
Exploring Operation: 72-69=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Moving to Node #0,2,3
Current State: 62:[72, 69], Operations: ['45+27=72', '75-6=69']
Exploring Operation: 72*69=4968, Resulting Numbers: [4968]
4968,62 unequal: No Solution
Exploring Operation: 72+69=141, Resulting Numbers: [141]
141,62 unequal: No Solution
Exploring Operation: 72-69=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[69, 18], Operations: ['75-6=69', '45-27=18']
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 69*18=1242, Resulting Numbers: [1242]
1242,62 unequal: No Solution
Exploring Operation: 69+18=87, Resulting Numbers: [87]
87,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[75, 24], Operations: ['6+45=51', '51-27=24']
Exploring Operation: 75-24=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 75*24=1800, Resulting Numbers: [1800]
1800,62 unequal: No Solution
Exploring Operation: 75+24=99, Resulting Numbers: [99]
99,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[75, 12], Operations: ['45+27=72', '72/6=12']
Exploring Operation: 75+12=87, Resulting Numbers: [87]
87,62 unequal: No Solution
Exploring Operation: 75*12=900, Resulting Numbers: [900]
900,62 unequal: No Solution
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[51, 48], Operations: ['6+45=51', '75-27=48']
Exploring Operation: 51+48=99, Resulting Numbers: [99]
99,62 unequal: No Solution
Exploring Operation: 51*48=2448, Resulting Numbers: [2448]
2448,62 unequal: No Solution
Exploring Operation: 51-48=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[45, 42], Operations: ['75-6=69', '69-27=42']
Exploring Operation: 45*42=1890, Resulting Numbers: [1890]
1890,62 unequal: No Solution
Exploring Operation: 45+42=87, Resulting Numbers: [87]
87,62 unequal: No Solution
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[75, 78], Operations: ['6+45=51', '27+51=78']
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 75*78=5850, Resulting Numbers: [5850]
5850,62 unequal: No Solution
Exploring Operation: 75+78=153, Resulting Numbers: [153]
153,62 unequal: No Solution
Moving to Node #0,2,4
Current State: 62:[72, 81], Operations: ['45+27=72', '6+75=81']
Exploring Operation: 81-72=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 72*81=5832, Resulting Numbers: [5832]
5832,62 unequal: No Solution
Exploring Operation: 72+81=153, Resulting Numbers: [153]
153,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[45, 96], Operations: ['75-6=69', '27+69=96']
Exploring Operation: 45*96=4320, Resulting Numbers: [4320]
4320,62 unequal: No Solution
Exploring Operation: 96-45=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 45+96=141, Resulting Numbers: [141]
141,62 unequal: No Solution
Moving to Node #0,3,4
Current State: 62:[51, 102], Operations: ['6+45=51', '75+27=102']
Exploring Operation: 51+102=153, Resulting Numbers: [153]
153,62 unequal: No Solution
Exploring Operation: 102-51=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 51*102=5202, Resulting Numbers: [5202]
5202,62 unequal: No Solution
Exploring Operation: 102/51=2, Resulting Numbers: [2]
2,62 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
5,
38,
89,
24
] | 51 | [
"89-24=65",
"65/5=13",
"38+13=51"
] | Current State: 51:[5, 38, 89, 24], Operations: []
Exploring Operation: 89-24=65, Resulting Numbers: [5, 38, 65]
Generated Node #2: [5, 38, 65] from Operation: 89-24=65
Current State: 51:[5, 38, 65], Operations: ['89-24=65']
Exploring Operation: 65/5=13, Resulting Numbers: [38, 13]
Generated Node #3: [38, 13] from Operation: 65/5=13
Current State: 51:[38, 13], Operations: ['89-24=65', '65/5=13']
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[5, 38, 89, 24], Operations: []
Exploring Operation: 38-24=14, Resulting Numbers: [5, 89, 14]
Generated Node #0,0: 51:[5, 89, 14] Operation: 38-24=14
Exploring Operation: 5+38=43, Resulting Numbers: [89, 24, 43]
Generated Node #0,1: 51:[89, 24, 43] Operation: 5+38=43
Exploring Operation: 89-38=51, Resulting Numbers: [5, 24, 51]
Generated Node #0,2: 51:[5, 24, 51] Operation: 89-38=51
Exploring Operation: 89-24=65, Resulting Numbers: [5, 38, 65]
Generated Node #0,3: 51:[5, 38, 65] Operation: 89-24=65
Exploring Operation: 38+24=62, Resulting Numbers: [5, 89, 62]
Generated Node #0,4: 51:[5, 89, 62] Operation: 38+24=62
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[5, 24, 51], Operations: ['89-38=51']
Exploring Operation: 5+51=56, Resulting Numbers: [24, 56]
Generated Node #0,2,0: 51:[24, 56] Operation: 5+51=56
Exploring Operation: 51-5=46, Resulting Numbers: [24, 46]
Generated Node #0,2,1: 51:[24, 46] Operation: 51-5=46
Exploring Operation: 24-5=19, Resulting Numbers: [51, 19]
Generated Node #0,2,2: 51:[51, 19] Operation: 24-5=19
Exploring Operation: 5+24=29, Resulting Numbers: [51, 29]
Generated Node #0,2,3: 51:[51, 29] Operation: 5+24=29
Exploring Operation: 51-24=27, Resulting Numbers: [5, 27]
Generated Node #0,2,4: 51:[5, 27] Operation: 51-24=27
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[51, 19], Operations: ['89-38=51', '24-5=19']
Exploring Operation: 51*19=969, Resulting Numbers: [969]
969,51 unequal: No Solution
Exploring Operation: 51+19=70, Resulting Numbers: [70]
70,51 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[24, 56], Operations: ['89-38=51', '5+51=56']
Exploring Operation: 24+56=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 24*56=1344, Resulting Numbers: [1344]
1344,51 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 51:[24, 46], Operations: ['89-38=51', '51-5=46']
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 24*46=1104, Resulting Numbers: [1104]
1104,51 unequal: No Solution
Exploring Operation: 24+46=70, Resulting Numbers: [70]
70,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 51:[51, 29], Operations: ['89-38=51', '5+24=29']
Exploring Operation: 51*29=1479, Resulting Numbers: [1479]
1479,51 unequal: No Solution
Exploring Operation: 51+29=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 51:[5, 27], Operations: ['89-38=51', '51-24=27']
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,51 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[5, 38, 65], Operations: ['89-24=65']
Exploring Operation: 65-38=27, Resulting Numbers: [5, 27]
Generated Node #0,3,0: 51:[5, 27] Operation: 65-38=27
Exploring Operation: 38-5=33, Resulting Numbers: [65, 33]
Generated Node #0,3,1: 51:[65, 33] Operation: 38-5=33
Exploring Operation: 5+38=43, Resulting Numbers: [65, 43]
Generated Node #0,3,2: 51:[65, 43] Operation: 5+38=43
Exploring Operation: 65-5=60, Resulting Numbers: [38, 60]
Generated Node #0,3,3: 51:[38, 60] Operation: 65-5=60
Exploring Operation: 65/5=13, Resulting Numbers: [38, 13]
Generated Node #0,3,4: 51:[38, 13] Operation: 65/5=13
Moving to Node #0,3,0
Current State: 51:[5, 27], Operations: ['89-24=65', '65-38=27']
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,51 unequal: No Solution
Moving to Node #0,3,4
Current State: 51:[38, 13], Operations: ['89-24=65', '65/5=13']
Exploring Operation: 38*13=494, Resulting Numbers: [494]
494,51 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[5, 38, 89, 24], Operations: []
Exploring Operation: 89-24=65, Resulting Numbers: [5, 38, 65]
Generated Node #0,3: 51:[5, 38, 65] Operation: 89-24=65
Moving to Node #0,3
Current State: 51:[5, 38, 65], Operations: ['89-24=65']
Exploring Operation: 65/5=13, Resulting Numbers: [38, 13]
Generated Node #0,3,4: 51:[38, 13] Operation: 65/5=13
Moving to Node #0,3,4
Current State: 51:[38, 13], Operations: ['89-24=65', '65/5=13']
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | sum_heuristic |
[
65,
23,
29,
36
] | 81 | [
"65+23=88",
"36-29=7",
"88-7=81"
] | Current State: 81:[65, 23, 29, 36], Operations: []
Exploring Operation: 65+23=88, Resulting Numbers: [29, 36, 88]
Generated Node #2: [29, 36, 88] from Operation: 65+23=88
Current State: 81:[29, 36, 88], Operations: ['65+23=88']
Exploring Operation: 36-29=7, Resulting Numbers: [88, 7]
Generated Node #3: [88, 7] from Operation: 36-29=7
Current State: 81:[88, 7], Operations: ['65+23=88', '36-29=7']
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[65, 23, 29, 36], Operations: []
Exploring Operation: 65-36=29, Resulting Numbers: [23, 29, 29]
Generated Node #0,0: 81:[23, 29, 29] Operation: 65-36=29
Exploring Operation: 65+23=88, Resulting Numbers: [29, 36, 88]
Generated Node #0,1: 81:[29, 36, 88] Operation: 65+23=88
Exploring Operation: 36-23=13, Resulting Numbers: [65, 29, 13]
Generated Node #0,2: 81:[65, 29, 13] Operation: 36-23=13
Exploring Operation: 65-29=36, Resulting Numbers: [23, 36, 36]
Generated Node #0,3: 81:[23, 36, 36] Operation: 65-29=36
Moving to Node #0,0
Current State: 81:[23, 29, 29], Operations: ['65-36=29']
Exploring Operation: 29-29=0, Resulting Numbers: [23, 0]
Generated Node #0,0,0: 81:[23, 0] Operation: 29-29=0
Exploring Operation: 29-23=6, Resulting Numbers: [29, 6]
Generated Node #0,0,1: 81:[29, 6] Operation: 29-23=6
Exploring Operation: 29-23=6, Resulting Numbers: [29, 6]
Generated Node #0,0,2: 81:[29, 6] Operation: 29-23=6
Exploring Operation: 29/29=1, Resulting Numbers: [23, 1]
Generated Node #0,0,3: 81:[23, 1] Operation: 29/29=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[29, 6], Operations: ['65-36=29', '29-23=6']
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,81 unequal: No Solution
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,81 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[29, 6], Operations: ['65-36=29', '29-23=6']
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,81 unequal: No Solution
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,81 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 81:[23, 1], Operations: ['65-36=29', '29/29=1']
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,81 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,81 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Exploring Operation: 23+1=24, Resulting Numbers: [24]
24,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[23, 0], Operations: ['65-36=29', '29-29=0']
Exploring Operation: 23*0=0, Resulting Numbers: [0]
0,81 unequal: No Solution
Exploring Operation: 23-0=23, Resulting Numbers: [23]
23,81 unequal: No Solution
Exploring Operation: 23+0=23, Resulting Numbers: [23]
23,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 81:[29, 36, 88], Operations: ['65+23=88']
Exploring Operation: 36-29=7, Resulting Numbers: [88, 7]
Generated Node #0,1,0: 81:[88, 7] Operation: 36-29=7
Exploring Operation: 29+36=65, Resulting Numbers: [88, 65]
Generated Node #0,1,1: 81:[88, 65] Operation: 29+36=65
Exploring Operation: 88-36=52, Resulting Numbers: [29, 52]
Generated Node #0,1,2: 81:[29, 52] Operation: 88-36=52
Exploring Operation: 88-29=59, Resulting Numbers: [36, 59]
Generated Node #0,1,3: 81:[36, 59] Operation: 88-29=59
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[88, 7], Operations: ['65+23=88', '36-29=7']
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[65, 23, 29, 36], Operations: []
Exploring Operation: 65+23=88, Resulting Numbers: [29, 36, 88]
Generated Node #0,1: 81:[29, 36, 88] Operation: 65+23=88
Moving to Node #0,1
Current State: 81:[29, 36, 88], Operations: ['65+23=88']
Exploring Operation: 36-29=7, Resulting Numbers: [88, 7]
Generated Node #0,1,0: 81:[88, 7] Operation: 36-29=7
Moving to Node #0,1,0
Current State: 81:[88, 7], Operations: ['65+23=88', '36-29=7']
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
46,
79,
66,
25
] | 34 | [
"46+79=125",
"66+25=91",
"125-91=34"
] | Current State: 34:[46, 79, 66, 25], Operations: []
Exploring Operation: 46+79=125, Resulting Numbers: [66, 25, 125]
Generated Node #2: [66, 25, 125] from Operation: 46+79=125
Current State: 34:[66, 25, 125], Operations: ['46+79=125']
Exploring Operation: 66+25=91, Resulting Numbers: [125, 91]
Generated Node #3: [125, 91] from Operation: 66+25=91
Current State: 34:[125, 91], Operations: ['46+79=125', '66+25=91']
Exploring Operation: 125-91=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[46, 79, 66, 25], Operations: []
Exploring Operation: 79-66=13, Resulting Numbers: [46, 25, 13]
Generated Node #0,0: 34:[46, 25, 13] Operation: 79-66=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[46, 25, 13], Operations: ['79-66=13']
Exploring Operation: 46-25=21, Resulting Numbers: [13, 21]
Generated Node #0,0,0: 34:[13, 21] Operation: 46-25=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[13, 21], Operations: ['79-66=13', '46-25=21']
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[46, 79, 66, 25], Operations: []
Exploring Operation: 79-66=13, Resulting Numbers: [46, 25, 13]
Generated Node #0,0: 34:[46, 25, 13] Operation: 79-66=13
Moving to Node #0,0
Current State: 34:[46, 25, 13], Operations: ['79-66=13']
Exploring Operation: 46-25=21, Resulting Numbers: [13, 21]
Generated Node #0,0,0: 34:[13, 21] Operation: 46-25=21
Moving to Node #0,0,0
Current State: 34:[13, 21], Operations: ['79-66=13', '46-25=21']
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
79,
20,
91,
74
] | 95 | [
"79-74=5",
"20/5=4",
"91+4=95"
] | Current State: 95:[79, 20, 91, 74], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [20, 91, 5]
Generated Node #2: [20, 91, 5] from Operation: 79-74=5
Current State: 95:[20, 91, 5], Operations: ['79-74=5']
Exploring Operation: 20/5=4, Resulting Numbers: [91, 4]
Generated Node #3: [91, 4] from Operation: 20/5=4
Current State: 95:[91, 4], Operations: ['79-74=5', '20/5=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[79, 20, 91, 74], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [20, 91, 5]
Generated Node #0,0: 95:[20, 91, 5] Operation: 79-74=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[20, 91, 5], Operations: ['79-74=5']
Exploring Operation: 91+5=96, Resulting Numbers: [20, 96]
Generated Node #0,0,0: 95:[20, 96] Operation: 91+5=96
Moving to Node #0,0,0
Current State: 95:[20, 96], Operations: ['79-74=5', '91+5=96']
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
15,
77,
43
] | 99 | [
"6+15=21",
"77+43=120",
"120-21=99"
] | Current State: 99:[6, 15, 77, 43], Operations: []
Exploring Operation: 6+15=21, Resulting Numbers: [77, 43, 21]
Generated Node #2: [77, 43, 21] from Operation: 6+15=21
Current State: 99:[77, 43, 21], Operations: ['6+15=21']
Exploring Operation: 77+43=120, Resulting Numbers: [21, 120]
Generated Node #3: [21, 120] from Operation: 77+43=120
Current State: 99:[21, 120], Operations: ['6+15=21', '77+43=120']
Exploring Operation: 120-21=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[6, 15, 77, 43], Operations: []
Exploring Operation: 15+77=92, Resulting Numbers: [6, 43, 92]
Generated Node #0,0: 99:[6, 43, 92] Operation: 15+77=92
Exploring Operation: 77-43=34, Resulting Numbers: [6, 15, 34]
Generated Node #0,1: 99:[6, 15, 34] Operation: 77-43=34
Exploring Operation: 77+43=120, Resulting Numbers: [6, 15, 120]
Generated Node #0,2: 99:[6, 15, 120] Operation: 77+43=120
Moving to Node #0,1
Current State: 99:[6, 15, 34], Operations: ['77-43=34']
Exploring Operation: 34-6=28, Resulting Numbers: [15, 28]
Generated Node #0,1,0: 99:[15, 28] Operation: 34-6=28
Exploring Operation: 15-6=9, Resulting Numbers: [34, 9]
Generated Node #0,1,1: 99:[34, 9] Operation: 15-6=9
Exploring Operation: 6*15=90, Resulting Numbers: [34, 90]
Generated Node #0,1,2: 99:[34, 90] Operation: 6*15=90
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[34, 9], Operations: ['77-43=34', '15-6=9']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,99 unequal: No Solution
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[15, 28], Operations: ['77-43=34', '34-6=28']
Exploring Operation: 15*28=420, Resulting Numbers: [420]
420,99 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 99:[34, 90], Operations: ['77-43=34', '6*15=90']
Exploring Operation: 34+90=124, Resulting Numbers: [124]
124,99 unequal: No Solution
Exploring Operation: 34*90=3060, Resulting Numbers: [3060]
3060,99 unequal: No Solution
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 99:[6, 43, 92], Operations: ['15+77=92']
Exploring Operation: 92-43=49, Resulting Numbers: [6, 49]
Generated Node #0,0,0: 99:[6, 49] Operation: 92-43=49
Exploring Operation: 6+92=98, Resulting Numbers: [43, 98]
Generated Node #0,0,1: 99:[43, 98] Operation: 6+92=98
Exploring Operation: 43-6=37, Resulting Numbers: [92, 37]
Generated Node #0,0,2: 99:[92, 37] Operation: 43-6=37
Moving to Node #0,2
Current State: 99:[6, 15, 120], Operations: ['77+43=120']
Exploring Operation: 120-15=105, Resulting Numbers: [6, 105]
Generated Node #0,2,0: 99:[6, 105] Operation: 120-15=105
Exploring Operation: 120/6=20, Resulting Numbers: [15, 20]
Generated Node #0,2,1: 99:[15, 20] Operation: 120/6=20
Exploring Operation: 120/15=8, Resulting Numbers: [6, 8]
Generated Node #0,2,2: 99:[6, 8] Operation: 120/15=8
Moving to Node #0,2,2
Current State: 99:[6, 8], Operations: ['77+43=120', '120/15=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,99 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Moving to Node #0,2,0
Current State: 99:[6, 105], Operations: ['77+43=120', '120-15=105']
Exploring Operation: 6*105=630, Resulting Numbers: [630]
630,99 unequal: No Solution
Exploring Operation: 6+105=111, Resulting Numbers: [111]
111,99 unequal: No Solution
Exploring Operation: 105-6=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[6, 15, 77, 43], Operations: []
Exploring Operation: 77+43=120, Resulting Numbers: [6, 15, 120]
Generated Node #0,2: 99:[6, 15, 120] Operation: 77+43=120
Moving to Node #0,2
Current State: 99:[6, 15, 120], Operations: ['77+43=120']
Exploring Operation: 120-15=105, Resulting Numbers: [6, 105]
Generated Node #0,2,0: 99:[6, 105] Operation: 120-15=105
Moving to Node #0,2,0
Current State: 99:[6, 105], Operations: ['77+43=120', '120-15=105']
Exploring Operation: 105-6=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.97309 | hs_3 | sum_heuristic |
[
42,
15,
53,
69
] | 65 | [
"42+15=57",
"53+69=122",
"122-57=65"
] | Current State: 65:[42, 15, 53, 69], Operations: []
Exploring Operation: 42+15=57, Resulting Numbers: [53, 69, 57]
Generated Node #2: [53, 69, 57] from Operation: 42+15=57
Current State: 65:[53, 69, 57], Operations: ['42+15=57']
Exploring Operation: 53+69=122, Resulting Numbers: [57, 122]
Generated Node #3: [57, 122] from Operation: 53+69=122
Current State: 65:[57, 122], Operations: ['42+15=57', '53+69=122']
Exploring Operation: 122-57=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[42, 15, 53, 69], Operations: []
Exploring Operation: 42+15=57, Resulting Numbers: [53, 69, 57]
Generated Node #0,0: 65:[53, 69, 57] Operation: 42+15=57
Exploring Operation: 69-53=16, Resulting Numbers: [42, 15, 16]
Generated Node #0,1: 65:[42, 15, 16] Operation: 69-53=16
Exploring Operation: 69-42=27, Resulting Numbers: [15, 53, 27]
Generated Node #0,2: 65:[15, 53, 27] Operation: 69-42=27
Exploring Operation: 53-42=11, Resulting Numbers: [15, 69, 11]
Generated Node #0,3: 65:[15, 69, 11] Operation: 53-42=11
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[15, 69, 11], Operations: ['53-42=11']
Exploring Operation: 15-11=4, Resulting Numbers: [69, 4]
Generated Node #0,3,0: 65:[69, 4] Operation: 15-11=4
Exploring Operation: 69-15=54, Resulting Numbers: [11, 54]
Generated Node #0,3,1: 65:[11, 54] Operation: 69-15=54
Exploring Operation: 69-11=58, Resulting Numbers: [15, 58]
Generated Node #0,3,2: 65:[15, 58] Operation: 69-11=58
Exploring Operation: 15+11=26, Resulting Numbers: [69, 26]
Generated Node #0,3,3: 65:[69, 26] Operation: 15+11=26
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 65:[69, 4], Operations: ['53-42=11', '15-11=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[42, 15, 53, 69], Operations: []
Exploring Operation: 53-42=11, Resulting Numbers: [15, 69, 11]
Generated Node #0,3: 65:[15, 69, 11] Operation: 53-42=11
Moving to Node #0,3
Current State: 65:[15, 69, 11], Operations: ['53-42=11']
Exploring Operation: 15-11=4, Resulting Numbers: [69, 4]
Generated Node #0,3,0: 65:[69, 4] Operation: 15-11=4
Moving to Node #0,3,0
Current State: 65:[69, 4], Operations: ['53-42=11', '15-11=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
15,
43,
94,
76
] | 46 | [
"43-15=28",
"94-76=18",
"28+18=46"
] | Current State: 46:[15, 43, 94, 76], Operations: []
Exploring Operation: 43-15=28, Resulting Numbers: [94, 76, 28]
Generated Node #2: [94, 76, 28] from Operation: 43-15=28
Current State: 46:[94, 76, 28], Operations: ['43-15=28']
Exploring Operation: 94-76=18, Resulting Numbers: [28, 18]
Generated Node #3: [28, 18] from Operation: 94-76=18
Current State: 46:[28, 18], Operations: ['43-15=28', '94-76=18']
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[15, 43, 94, 76], Operations: []
Exploring Operation: 94-43=51, Resulting Numbers: [15, 76, 51]
Generated Node #0,0: 46:[15, 76, 51] Operation: 94-43=51
Exploring Operation: 94-76=18, Resulting Numbers: [15, 43, 18]
Generated Node #0,1: 46:[15, 43, 18] Operation: 94-76=18
Exploring Operation: 94-15=79, Resulting Numbers: [43, 76, 79]
Generated Node #0,2: 46:[43, 76, 79] Operation: 94-15=79
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[15, 43, 18], Operations: ['94-76=18']
Exploring Operation: 18-15=3, Resulting Numbers: [43, 3]
Generated Node #0,1,0: 46:[43, 3] Operation: 18-15=3
Exploring Operation: 43-15=28, Resulting Numbers: [18, 28]
Generated Node #0,1,1: 46:[18, 28] Operation: 43-15=28
Exploring Operation: 43-18=25, Resulting Numbers: [15, 25]
Generated Node #0,1,2: 46:[15, 25] Operation: 43-18=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 46:[43, 3], Operations: ['94-76=18', '18-15=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,46 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[15, 43, 94, 76], Operations: []
Exploring Operation: 94-76=18, Resulting Numbers: [15, 43, 18]
Generated Node #0,1: 46:[15, 43, 18] Operation: 94-76=18
Moving to Node #0,1
Current State: 46:[15, 43, 18], Operations: ['94-76=18']
Exploring Operation: 18-15=3, Resulting Numbers: [43, 3]
Generated Node #0,1,0: 46:[43, 3] Operation: 18-15=3
Moving to Node #0,1,0
Current State: 46:[43, 3], Operations: ['94-76=18', '18-15=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
59,
6,
3,
84
] | 27 | [
"84-59=25",
"6/3=2",
"25+2=27"
] | Current State: 27:[59, 6, 3, 84], Operations: []
Exploring Operation: 84-59=25, Resulting Numbers: [6, 3, 25]
Generated Node #2: [6, 3, 25] from Operation: 84-59=25
Current State: 27:[6, 3, 25], Operations: ['84-59=25']
Exploring Operation: 6/3=2, Resulting Numbers: [25, 2]
Generated Node #3: [25, 2] from Operation: 6/3=2
Current State: 27:[25, 2], Operations: ['84-59=25', '6/3=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[59, 6, 3, 84], Operations: []
Exploring Operation: 84/6=14, Resulting Numbers: [59, 3, 14]
Generated Node #0,0: 27:[59, 3, 14] Operation: 84/6=14
Exploring Operation: 84-59=25, Resulting Numbers: [6, 3, 25]
Generated Node #0,1: 27:[6, 3, 25] Operation: 84-59=25
Exploring Operation: 84/3=28, Resulting Numbers: [59, 6, 28]
Generated Node #0,2: 27:[59, 6, 28] Operation: 84/3=28
Exploring Operation: 59-6=53, Resulting Numbers: [3, 84, 53]
Generated Node #0,3: 27:[3, 84, 53] Operation: 59-6=53
Exploring Operation: 84-6=78, Resulting Numbers: [59, 3, 78]
Generated Node #0,4: 27:[59, 3, 78] Operation: 84-6=78
Moving to Node #0,1
Current State: 27:[6, 3, 25], Operations: ['84-59=25']
Exploring Operation: 6+25=31, Resulting Numbers: [3, 31]
Generated Node #0,1,0: 27:[3, 31] Operation: 6+25=31
Exploring Operation: 6+3=9, Resulting Numbers: [25, 9]
Generated Node #0,1,1: 27:[25, 9] Operation: 6+3=9
Exploring Operation: 6/3=2, Resulting Numbers: [25, 2]
Generated Node #0,1,2: 27:[25, 2] Operation: 6/3=2
Exploring Operation: 3+25=28, Resulting Numbers: [6, 28]
Generated Node #0,1,3: 27:[6, 28] Operation: 3+25=28
Exploring Operation: 6-3=3, Resulting Numbers: [25, 3]
Generated Node #0,1,4: 27:[25, 3] Operation: 6-3=3
Moving to Node #0,2
Current State: 27:[59, 6, 28], Operations: ['84/3=28']
Exploring Operation: 59+6=65, Resulting Numbers: [28, 65]
Generated Node #0,2,0: 27:[28, 65] Operation: 59+6=65
Exploring Operation: 6+28=34, Resulting Numbers: [59, 34]
Generated Node #0,2,1: 27:[59, 34] Operation: 6+28=34
Exploring Operation: 59-28=31, Resulting Numbers: [6, 31]
Generated Node #0,2,2: 27:[6, 31] Operation: 59-28=31
Exploring Operation: 59-6=53, Resulting Numbers: [28, 53]
Generated Node #0,2,3: 27:[28, 53] Operation: 59-6=53
Exploring Operation: 28-6=22, Resulting Numbers: [59, 22]
Generated Node #0,2,4: 27:[59, 22] Operation: 28-6=22
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 27:[6, 31], Operations: ['84/3=28', '59-28=31']
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,27 unequal: No Solution
Exploring Operation: 6*31=186, Resulting Numbers: [186]
186,27 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 27:[28, 53], Operations: ['84/3=28', '59-6=53']
Exploring Operation: 28+53=81, Resulting Numbers: [81]
81,27 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 28*53=1484, Resulting Numbers: [1484]
1484,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 27:[59, 22], Operations: ['84/3=28', '28-6=22']
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,27 unequal: No Solution
Exploring Operation: 59*22=1298, Resulting Numbers: [1298]
1298,27 unequal: No Solution
Exploring Operation: 59+22=81, Resulting Numbers: [81]
81,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 27:[28, 65], Operations: ['84/3=28', '59+6=65']
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,27 unequal: No Solution
Exploring Operation: 28+65=93, Resulting Numbers: [93]
93,27 unequal: No Solution
Exploring Operation: 28*65=1820, Resulting Numbers: [1820]
1820,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 27:[59, 34], Operations: ['84/3=28', '6+28=34']
Exploring Operation: 59+34=93, Resulting Numbers: [93]
93,27 unequal: No Solution
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 59*34=2006, Resulting Numbers: [2006]
2006,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 27:[59, 3, 14], Operations: ['84/6=14']
Exploring Operation: 14-3=11, Resulting Numbers: [59, 11]
Generated Node #0,0,0: 27:[59, 11] Operation: 14-3=11
Exploring Operation: 59+3=62, Resulting Numbers: [14, 62]
Generated Node #0,0,1: 27:[14, 62] Operation: 59+3=62
Exploring Operation: 59-3=56, Resulting Numbers: [14, 56]
Generated Node #0,0,2: 27:[14, 56] Operation: 59-3=56
Exploring Operation: 3+14=17, Resulting Numbers: [59, 17]
Generated Node #0,0,3: 27:[59, 17] Operation: 3+14=17
Exploring Operation: 59-14=45, Resulting Numbers: [3, 45]
Generated Node #0,0,4: 27:[3, 45] Operation: 59-14=45
Moving to Node #0,3
Current State: 27:[3, 84, 53], Operations: ['59-6=53']
Exploring Operation: 84/3=28, Resulting Numbers: [53, 28]
Generated Node #0,3,0: 27:[53, 28] Operation: 84/3=28
Exploring Operation: 84-53=31, Resulting Numbers: [3, 31]
Generated Node #0,3,1: 27:[3, 31] Operation: 84-53=31
Exploring Operation: 53-3=50, Resulting Numbers: [84, 50]
Generated Node #0,3,2: 27:[84, 50] Operation: 53-3=50
Exploring Operation: 3+84=87, Resulting Numbers: [53, 87]
Generated Node #0,3,3: 27:[53, 87] Operation: 3+84=87
Exploring Operation: 84-3=81, Resulting Numbers: [53, 81]
Generated Node #0,3,4: 27:[53, 81] Operation: 84-3=81
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 27:[3, 31], Operations: ['59-6=53', '84-53=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,27 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 27:[53, 28], Operations: ['59-6=53', '84/3=28']
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,27 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 27:[84, 50], Operations: ['59-6=53', '53-3=50']
Exploring Operation: 84*50=4200, Resulting Numbers: [4200]
4200,27 unequal: No Solution
Exploring Operation: 84+50=134, Resulting Numbers: [134]
134,27 unequal: No Solution
Exploring Operation: 84-50=34, Resulting Numbers: [34]
34,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 27:[53, 81], Operations: ['59-6=53', '84-3=81']
Exploring Operation: 53*81=4293, Resulting Numbers: [4293]
4293,27 unequal: No Solution
Exploring Operation: 53+81=134, Resulting Numbers: [134]
134,27 unequal: No Solution
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 27:[53, 87], Operations: ['59-6=53', '3+84=87']
Exploring Operation: 53*87=4611, Resulting Numbers: [4611]
4611,27 unequal: No Solution
Exploring Operation: 53+87=140, Resulting Numbers: [140]
140,27 unequal: No Solution
Exploring Operation: 87-53=34, Resulting Numbers: [34]
34,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 27:[59, 3, 78], Operations: ['84-6=78']
Exploring Operation: 78-59=19, Resulting Numbers: [3, 19]
Generated Node #0,4,0: 27:[3, 19] Operation: 78-59=19
Exploring Operation: 59+3=62, Resulting Numbers: [78, 62]
Generated Node #0,4,1: 27:[78, 62] Operation: 59+3=62
Exploring Operation: 78/3=26, Resulting Numbers: [59, 26]
Generated Node #0,4,2: 27:[59, 26] Operation: 78/3=26
Exploring Operation: 59-3=56, Resulting Numbers: [78, 56]
Generated Node #0,4,3: 27:[78, 56] Operation: 59-3=56
Exploring Operation: 78-3=75, Resulting Numbers: [59, 75]
Generated Node #0,4,4: 27:[59, 75] Operation: 78-3=75
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 27:[3, 19], Operations: ['84-6=78', '78-59=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,27 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 27:[59, 26], Operations: ['84-6=78', '78/3=26']
Exploring Operation: 59+26=85, Resulting Numbers: [85]
85,27 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 59*26=1534, Resulting Numbers: [1534]
1534,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 27:[78, 56], Operations: ['84-6=78', '59-3=56']
Exploring Operation: 78*56=4368, Resulting Numbers: [4368]
4368,27 unequal: No Solution
Exploring Operation: 78+56=134, Resulting Numbers: [134]
134,27 unequal: No Solution
Exploring Operation: 78-56=22, Resulting Numbers: [22]
22,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 27:[59, 75], Operations: ['84-6=78', '78-3=75']
Exploring Operation: 59+75=134, Resulting Numbers: [134]
134,27 unequal: No Solution
Exploring Operation: 59*75=4425, Resulting Numbers: [4425]
4425,27 unequal: No Solution
Exploring Operation: 75-59=16, Resulting Numbers: [16]
16,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 27:[78, 62], Operations: ['84-6=78', '59+3=62']
Exploring Operation: 78*62=4836, Resulting Numbers: [4836]
4836,27 unequal: No Solution
Exploring Operation: 78+62=140, Resulting Numbers: [140]
140,27 unequal: No Solution
Exploring Operation: 78-62=16, Resulting Numbers: [16]
16,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 27:[25, 9], Operations: ['84-59=25', '6+3=9']
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,27 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Moving to Node #0,1,4
Current State: 27:[25, 3], Operations: ['84-59=25', '6-3=3']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,27 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,27 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[25, 2], Operations: ['84-59=25', '6/3=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,27 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[59, 6, 3, 84], Operations: []
Exploring Operation: 84-59=25, Resulting Numbers: [6, 3, 25]
Generated Node #0,1: 27:[6, 3, 25] Operation: 84-59=25
Moving to Node #0,1
Current State: 27:[6, 3, 25], Operations: ['84-59=25']
Exploring Operation: 6/3=2, Resulting Numbers: [25, 2]
Generated Node #0,1,2: 27:[25, 2] Operation: 6/3=2
Moving to Node #0,1,2
Current State: 27:[25, 2], Operations: ['84-59=25', '6/3=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.923611 | hs_5 | mult_heuristic |
[
57,
90,
98,
43
] | 97 | [
"57-43=14",
"98/14=7",
"90+7=97"
] | Current State: 97:[57, 90, 98, 43], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [90, 98, 14]
Generated Node #2: [90, 98, 14] from Operation: 57-43=14
Current State: 97:[90, 98, 14], Operations: ['57-43=14']
Exploring Operation: 98/14=7, Resulting Numbers: [90, 7]
Generated Node #3: [90, 7] from Operation: 98/14=7
Current State: 97:[90, 7], Operations: ['57-43=14', '98/14=7']
Exploring Operation: 90+7=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[57, 90, 98, 43], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [90, 98, 14]
Generated Node #0,0: 97:[90, 98, 14] Operation: 57-43=14
Exploring Operation: 57+43=100, Resulting Numbers: [90, 98, 100]
Generated Node #0,1: 97:[90, 98, 100] Operation: 57+43=100
Exploring Operation: 90+43=133, Resulting Numbers: [57, 98, 133]
Generated Node #0,2: 97:[57, 98, 133] Operation: 90+43=133
Exploring Operation: 98-43=55, Resulting Numbers: [57, 90, 55]
Generated Node #0,3: 97:[57, 90, 55] Operation: 98-43=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[90, 98, 100], Operations: ['57+43=100']
Exploring Operation: 100-90=10, Resulting Numbers: [98, 10]
Generated Node #0,1,0: 97:[98, 10] Operation: 100-90=10
Exploring Operation: 90+100=190, Resulting Numbers: [98, 190]
Generated Node #0,1,1: 97:[98, 190] Operation: 90+100=190
Exploring Operation: 98-90=8, Resulting Numbers: [100, 8]
Generated Node #0,1,2: 97:[100, 8] Operation: 98-90=8
Exploring Operation: 90+98=188, Resulting Numbers: [100, 188]
Generated Node #0,1,3: 97:[100, 188] Operation: 90+98=188
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[98, 10], Operations: ['57+43=100', '100-90=10']
Exploring Operation: 98-10=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Exploring Operation: 98+10=108, Resulting Numbers: [108]
108,97 unequal: No Solution
Exploring Operation: 98*10=980, Resulting Numbers: [980]
980,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[100, 8], Operations: ['57+43=100', '98-90=8']
Exploring Operation: 100+8=108, Resulting Numbers: [108]
108,97 unequal: No Solution
Exploring Operation: 100*8=800, Resulting Numbers: [800]
800,97 unequal: No Solution
Exploring Operation: 100-8=92, Resulting Numbers: [92]
92,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[98, 190], Operations: ['57+43=100', '90+100=190']
Exploring Operation: 98+190=288, Resulting Numbers: [288]
288,97 unequal: No Solution
Exploring Operation: 98*190=18620, Resulting Numbers: [18620]
18620,97 unequal: No Solution
Exploring Operation: 190-98=92, Resulting Numbers: [92]
92,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 97:[100, 188], Operations: ['57+43=100', '90+98=188']
Exploring Operation: 100*188=18800, Resulting Numbers: [18800]
18800,97 unequal: No Solution
Exploring Operation: 100+188=288, Resulting Numbers: [288]
288,97 unequal: No Solution
Exploring Operation: 188-100=88, Resulting Numbers: [88]
88,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[57, 98, 133], Operations: ['90+43=133']
Exploring Operation: 57+133=190, Resulting Numbers: [98, 190]
Generated Node #0,2,0: 97:[98, 190] Operation: 57+133=190
Exploring Operation: 98-57=41, Resulting Numbers: [133, 41]
Generated Node #0,2,1: 97:[133, 41] Operation: 98-57=41
Exploring Operation: 57+98=155, Resulting Numbers: [133, 155]
Generated Node #0,2,2: 97:[133, 155] Operation: 57+98=155
Exploring Operation: 133-57=76, Resulting Numbers: [98, 76]
Generated Node #0,2,3: 97:[98, 76] Operation: 133-57=76
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 97:[98, 76], Operations: ['90+43=133', '133-57=76']
Exploring Operation: 98-76=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 98*76=7448, Resulting Numbers: [7448]
7448,97 unequal: No Solution
Exploring Operation: 98+76=174, Resulting Numbers: [174]
174,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 97:[133, 41], Operations: ['90+43=133', '98-57=41']
Exploring Operation: 133+41=174, Resulting Numbers: [174]
174,97 unequal: No Solution
Exploring Operation: 133-41=92, Resulting Numbers: [92]
92,97 unequal: No Solution
Exploring Operation: 133*41=5453, Resulting Numbers: [5453]
5453,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[98, 190], Operations: ['90+43=133', '57+133=190']
Exploring Operation: 98*190=18620, Resulting Numbers: [18620]
18620,97 unequal: No Solution
Exploring Operation: 98+190=288, Resulting Numbers: [288]
288,97 unequal: No Solution
Exploring Operation: 190-98=92, Resulting Numbers: [92]
92,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[133, 155], Operations: ['90+43=133', '57+98=155']
Exploring Operation: 133*155=20615, Resulting Numbers: [20615]
20615,97 unequal: No Solution
Exploring Operation: 133+155=288, Resulting Numbers: [288]
288,97 unequal: No Solution
Exploring Operation: 155-133=22, Resulting Numbers: [22]
22,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[57, 90, 55], Operations: ['98-43=55']
Exploring Operation: 57+90=147, Resulting Numbers: [55, 147]
Generated Node #0,3,0: 97:[55, 147] Operation: 57+90=147
Exploring Operation: 90+55=145, Resulting Numbers: [57, 145]
Generated Node #0,3,1: 97:[57, 145] Operation: 90+55=145
Exploring Operation: 57-55=2, Resulting Numbers: [90, 2]
Generated Node #0,3,2: 97:[90, 2] Operation: 57-55=2
Exploring Operation: 57+55=112, Resulting Numbers: [90, 112]
Generated Node #0,3,3: 97:[90, 112] Operation: 57+55=112
Moving to Node #0,3,3
Current State: 97:[90, 112], Operations: ['98-43=55', '57+55=112']
Exploring Operation: 112-90=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 90*112=10080, Resulting Numbers: [10080]
10080,97 unequal: No Solution
Exploring Operation: 90+112=202, Resulting Numbers: [202]
202,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[57, 145], Operations: ['98-43=55', '90+55=145']
Exploring Operation: 57*145=8265, Resulting Numbers: [8265]
8265,97 unequal: No Solution
Exploring Operation: 57+145=202, Resulting Numbers: [202]
202,97 unequal: No Solution
Exploring Operation: 145-57=88, Resulting Numbers: [88]
88,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[55, 147], Operations: ['98-43=55', '57+90=147']
Exploring Operation: 55+147=202, Resulting Numbers: [202]
202,97 unequal: No Solution
Exploring Operation: 147-55=92, Resulting Numbers: [92]
92,97 unequal: No Solution
Exploring Operation: 55*147=8085, Resulting Numbers: [8085]
8085,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[90, 2], Operations: ['98-43=55', '57-55=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,97 unequal: No Solution
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Exploring Operation: 90*2=180, Resulting Numbers: [180]
180,97 unequal: No Solution
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[90, 98, 14], Operations: ['57-43=14']
Exploring Operation: 90-14=76, Resulting Numbers: [98, 76]
Generated Node #0,0,0: 97:[98, 76] Operation: 90-14=76
Exploring Operation: 90+14=104, Resulting Numbers: [98, 104]
Generated Node #0,0,1: 97:[98, 104] Operation: 90+14=104
Exploring Operation: 98+14=112, Resulting Numbers: [90, 112]
Generated Node #0,0,2: 97:[90, 112] Operation: 98+14=112
Exploring Operation: 98-14=84, Resulting Numbers: [90, 84]
Generated Node #0,0,3: 97:[90, 84] Operation: 98-14=84
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[98, 104], Operations: ['57-43=14', '90+14=104']
Exploring Operation: 104-98=6, Resulting Numbers: [6]
6,97 unequal: No Solution
Exploring Operation: 98+104=202, Resulting Numbers: [202]
202,97 unequal: No Solution
Exploring Operation: 98*104=10192, Resulting Numbers: [10192]
10192,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 97:[90, 84], Operations: ['57-43=14', '98-14=84']
Exploring Operation: 90-84=6, Resulting Numbers: [6]
6,97 unequal: No Solution
Exploring Operation: 90+84=174, Resulting Numbers: [174]
174,97 unequal: No Solution
Exploring Operation: 90*84=7560, Resulting Numbers: [7560]
7560,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[98, 76], Operations: ['57-43=14', '90-14=76']
Exploring Operation: 98+76=174, Resulting Numbers: [174]
174,97 unequal: No Solution
Exploring Operation: 98*76=7448, Resulting Numbers: [7448]
7448,97 unequal: No Solution
Exploring Operation: 98-76=22, Resulting Numbers: [22]
22,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[90, 112], Operations: ['57-43=14', '98+14=112']
Exploring Operation: 90+112=202, Resulting Numbers: [202]
202,97 unequal: No Solution
Exploring Operation: 90*112=10080, Resulting Numbers: [10080]
10080,97 unequal: No Solution
Exploring Operation: 112-90=22, Resulting Numbers: [22]
22,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
65,
84,
54,
44
] | 51 | [
"65+84=149",
"54+44=98",
"149-98=51"
] | Current State: 51:[65, 84, 54, 44], Operations: []
Exploring Operation: 65+84=149, Resulting Numbers: [54, 44, 149]
Generated Node #2: [54, 44, 149] from Operation: 65+84=149
Current State: 51:[54, 44, 149], Operations: ['65+84=149']
Exploring Operation: 54+44=98, Resulting Numbers: [149, 98]
Generated Node #3: [149, 98] from Operation: 54+44=98
Current State: 51:[149, 98], Operations: ['65+84=149', '54+44=98']
Exploring Operation: 149-98=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[65, 84, 54, 44], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [65, 44, 30]
Generated Node #0,0: 51:[65, 44, 30] Operation: 84-54=30
Exploring Operation: 65-44=21, Resulting Numbers: [84, 54, 21]
Generated Node #0,1: 51:[84, 54, 21] Operation: 65-44=21
Exploring Operation: 84-65=19, Resulting Numbers: [54, 44, 19]
Generated Node #0,2: 51:[54, 44, 19] Operation: 84-65=19
Exploring Operation: 84-44=40, Resulting Numbers: [65, 54, 40]
Generated Node #0,3: 51:[65, 54, 40] Operation: 84-44=40
Exploring Operation: 65-54=11, Resulting Numbers: [84, 44, 11]
Generated Node #0,4: 51:[84, 44, 11] Operation: 65-54=11
Moving to Node #0,2
Current State: 51:[54, 44, 19], Operations: ['84-65=19']
Exploring Operation: 54-19=35, Resulting Numbers: [44, 35]
Generated Node #0,2,0: 51:[44, 35] Operation: 54-19=35
Exploring Operation: 44+19=63, Resulting Numbers: [54, 63]
Generated Node #0,2,1: 51:[54, 63] Operation: 44+19=63
Exploring Operation: 54+19=73, Resulting Numbers: [44, 73]
Generated Node #0,2,2: 51:[44, 73] Operation: 54+19=73
Exploring Operation: 44-19=25, Resulting Numbers: [54, 25]
Generated Node #0,2,3: 51:[54, 25] Operation: 44-19=25
Exploring Operation: 54-44=10, Resulting Numbers: [19, 10]
Generated Node #0,2,4: 51:[19, 10] Operation: 54-44=10
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 51:[19, 10], Operations: ['84-65=19', '54-44=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 51:[54, 25], Operations: ['84-65=19', '44-19=25']
Exploring Operation: 54+25=79, Resulting Numbers: [79]
79,51 unequal: No Solution
Exploring Operation: 54-25=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 54*25=1350, Resulting Numbers: [1350]
1350,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 51:[54, 63], Operations: ['84-65=19', '44+19=63']
Exploring Operation: 54+63=117, Resulting Numbers: [117]
117,51 unequal: No Solution
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 54*63=3402, Resulting Numbers: [3402]
3402,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[44, 35], Operations: ['84-65=19', '54-19=35']
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,51 unequal: No Solution
Exploring Operation: 44*35=1540, Resulting Numbers: [1540]
1540,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[44, 73], Operations: ['84-65=19', '54+19=73']
Exploring Operation: 73-44=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 44+73=117, Resulting Numbers: [117]
117,51 unequal: No Solution
Exploring Operation: 44*73=3212, Resulting Numbers: [3212]
3212,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 51:[65, 54, 40], Operations: ['84-44=40']
Exploring Operation: 65-54=11, Resulting Numbers: [40, 11]
Generated Node #0,3,0: 51:[40, 11] Operation: 65-54=11
Exploring Operation: 65-40=25, Resulting Numbers: [54, 25]
Generated Node #0,3,1: 51:[54, 25] Operation: 65-40=25
Exploring Operation: 54-40=14, Resulting Numbers: [65, 14]
Generated Node #0,3,2: 51:[65, 14] Operation: 54-40=14
Exploring Operation: 54+40=94, Resulting Numbers: [65, 94]
Generated Node #0,3,3: 51:[65, 94] Operation: 54+40=94
Exploring Operation: 65+40=105, Resulting Numbers: [54, 105]
Generated Node #0,3,4: 51:[54, 105] Operation: 65+40=105
Moving to Node #0,0
Current State: 51:[65, 44, 30], Operations: ['84-54=30']
Exploring Operation: 65-44=21, Resulting Numbers: [30, 21]
Generated Node #0,0,0: 51:[30, 21] Operation: 65-44=21
Exploring Operation: 65+30=95, Resulting Numbers: [44, 95]
Generated Node #0,0,1: 51:[44, 95] Operation: 65+30=95
Exploring Operation: 44-30=14, Resulting Numbers: [65, 14]
Generated Node #0,0,2: 51:[65, 14] Operation: 44-30=14
Exploring Operation: 44+30=74, Resulting Numbers: [65, 74]
Generated Node #0,0,3: 51:[65, 74] Operation: 44+30=74
Exploring Operation: 65-30=35, Resulting Numbers: [44, 35]
Generated Node #0,0,4: 51:[44, 35] Operation: 65-30=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[30, 21], Operations: ['84-54=30', '65-44=21']
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[65, 84, 54, 44], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [65, 44, 30]
Generated Node #0,0: 51:[65, 44, 30] Operation: 84-54=30
Moving to Node #0,0
Current State: 51:[65, 44, 30], Operations: ['84-54=30']
Exploring Operation: 65-44=21, Resulting Numbers: [30, 21]
Generated Node #0,0,0: 51:[30, 21] Operation: 65-44=21
Moving to Node #0,0,0
Current State: 51:[30, 21], Operations: ['84-54=30', '65-44=21']
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
9,
40,
45,
30
] | 51 | [
"40*45=1800",
"1800/30=60",
"60-9=51"
] | Current State: 51:[9, 40, 45, 30], Operations: []
Exploring Operation: 40*45=1800, Resulting Numbers: [9, 30, 1800]
Generated Node #2: [9, 30, 1800] from Operation: 40*45=1800
Current State: 51:[9, 30, 1800], Operations: ['40*45=1800']
Exploring Operation: 1800/30=60, Resulting Numbers: [9, 60]
Generated Node #3: [9, 60] from Operation: 1800/30=60
Current State: 51:[9, 60], Operations: ['40*45=1800', '1800/30=60']
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[9, 40, 45, 30], Operations: []
Exploring Operation: 30-9=21, Resulting Numbers: [40, 45, 21]
Generated Node #0,0: 51:[40, 45, 21] Operation: 30-9=21
Exploring Operation: 9+40=49, Resulting Numbers: [45, 30, 49]
Generated Node #0,1: 51:[45, 30, 49] Operation: 9+40=49
Exploring Operation: 45-30=15, Resulting Numbers: [9, 40, 15]
Generated Node #0,2: 51:[9, 40, 15] Operation: 45-30=15
Exploring Operation: 40-30=10, Resulting Numbers: [9, 45, 10]
Generated Node #0,3: 51:[9, 45, 10] Operation: 40-30=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[9, 40, 15], Operations: ['45-30=15']
Exploring Operation: 9+40=49, Resulting Numbers: [15, 49]
Generated Node #0,2,0: 51:[15, 49] Operation: 9+40=49
Exploring Operation: 15-9=6, Resulting Numbers: [40, 6]
Generated Node #0,2,1: 51:[40, 6] Operation: 15-9=6
Exploring Operation: 40-15=25, Resulting Numbers: [9, 25]
Generated Node #0,2,2: 51:[9, 25] Operation: 40-15=25
Exploring Operation: 40+15=55, Resulting Numbers: [9, 55]
Generated Node #0,2,3: 51:[9, 55] Operation: 40+15=55
Moving to Node #0,2,0
Current State: 51:[15, 49], Operations: ['45-30=15', '9+40=49']
Exploring Operation: 15*49=735, Resulting Numbers: [735]
735,51 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[9, 55], Operations: ['45-30=15', '40+15=55']
Exploring Operation: 9*55=495, Resulting Numbers: [495]
495,51 unequal: No Solution
Exploring Operation: 9+55=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[9, 25], Operations: ['45-30=15', '40-15=25']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,51 unequal: No Solution
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[40, 6], Operations: ['45-30=15', '15-9=6']
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,51 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[9, 45, 10], Operations: ['40-30=10']
Exploring Operation: 9+10=19, Resulting Numbers: [45, 19]
Generated Node #0,3,0: 51:[45, 19] Operation: 9+10=19
Exploring Operation: 9+45=54, Resulting Numbers: [10, 54]
Generated Node #0,3,1: 51:[10, 54] Operation: 9+45=54
Exploring Operation: 10-9=1, Resulting Numbers: [45, 1]
Generated Node #0,3,2: 51:[45, 1] Operation: 10-9=1
Exploring Operation: 45/9=5, Resulting Numbers: [10, 5]
Generated Node #0,3,3: 51:[10, 5] Operation: 45/9=5
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 51:[45, 19], Operations: ['40-30=10', '9+10=19']
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,51 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 51:[45, 1], Operations: ['40-30=10', '10-9=1']
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,51 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,51 unequal: No Solution
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 51:[10, 5], Operations: ['40-30=10', '45/9=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 51:[10, 54], Operations: ['40-30=10', '9+45=54']
Exploring Operation: 10+54=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,51 unequal: No Solution
Exploring Operation: 10*54=540, Resulting Numbers: [540]
540,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[40, 45, 21], Operations: ['30-9=21']
Exploring Operation: 40-21=19, Resulting Numbers: [45, 19]
Generated Node #0,0,0: 51:[45, 19] Operation: 40-21=19
Exploring Operation: 40+21=61, Resulting Numbers: [45, 61]
Generated Node #0,0,1: 51:[45, 61] Operation: 40+21=61
Exploring Operation: 45-40=5, Resulting Numbers: [21, 5]
Generated Node #0,0,2: 51:[21, 5] Operation: 45-40=5
Exploring Operation: 45-21=24, Resulting Numbers: [40, 24]
Generated Node #0,0,3: 51:[40, 24] Operation: 45-21=24
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[21, 5], Operations: ['30-9=21', '45-40=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[45, 19], Operations: ['30-9=21', '40-21=19']
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[45, 61], Operations: ['30-9=21', '40+21=61']
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 45+61=106, Resulting Numbers: [106]
106,51 unequal: No Solution
Exploring Operation: 45*61=2745, Resulting Numbers: [2745]
2745,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 51:[40, 24], Operations: ['30-9=21', '45-21=24']
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 40*24=960, Resulting Numbers: [960]
960,51 unequal: No Solution
Exploring Operation: 40+24=64, Resulting Numbers: [64]
64,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[45, 30, 49], Operations: ['9+40=49']
Exploring Operation: 45-30=15, Resulting Numbers: [49, 15]
Generated Node #0,1,0: 51:[49, 15] Operation: 45-30=15
Exploring Operation: 49-45=4, Resulting Numbers: [30, 4]
Generated Node #0,1,1: 51:[30, 4] Operation: 49-45=4
Exploring Operation: 45+30=75, Resulting Numbers: [49, 75]
Generated Node #0,1,2: 51:[49, 75] Operation: 45+30=75
Exploring Operation: 49-30=19, Resulting Numbers: [45, 19]
Generated Node #0,1,3: 51:[45, 19] Operation: 49-30=19
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[49, 15], Operations: ['9+40=49', '45-30=15']
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 49*15=735, Resulting Numbers: [735]
735,51 unequal: No Solution
Exploring Operation: 49+15=64, Resulting Numbers: [64]
64,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 51:[45, 19], Operations: ['9+40=49', '49-30=19']
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,51 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[30, 4], Operations: ['9+40=49', '49-45=4']
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,51 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 51:[49, 75], Operations: ['9+40=49', '45+30=75']
Exploring Operation: 49*75=3675, Resulting Numbers: [3675]
3675,51 unequal: No Solution
Exploring Operation: 75-49=26, Resulting Numbers: [26]
26,51 unequal: No Solution
Exploring Operation: 49+75=124, Resulting Numbers: [124]
124,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
71,
1,
80,
81
] | 10 | [
"80-71=9",
"81/9=9",
"1+9=10"
] | Current State: 10:[71, 1, 80, 81], Operations: []
Exploring Operation: 80-71=9, Resulting Numbers: [1, 81, 9]
Generated Node #2: [1, 81, 9] from Operation: 80-71=9
Current State: 10:[1, 81, 9], Operations: ['80-71=9']
Exploring Operation: 81/9=9, Resulting Numbers: [1, 9]
Generated Node #3: [1, 9] from Operation: 81/9=9
Current State: 10:[1, 9], Operations: ['80-71=9', '81/9=9']
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[71, 1, 80, 81], Operations: []
Exploring Operation: 81-71=10, Resulting Numbers: [1, 80, 10]
Generated Node #0,0: 10:[1, 80, 10] Operation: 81-71=10
Exploring Operation: 81-80=1, Resulting Numbers: [71, 1, 1]
Generated Node #0,1: 10:[71, 1, 1] Operation: 81-80=1
Exploring Operation: 80-71=9, Resulting Numbers: [1, 81, 9]
Generated Node #0,2: 10:[1, 81, 9] Operation: 80-71=9
Exploring Operation: 71-1=70, Resulting Numbers: [80, 81, 70]
Generated Node #0,3: 10:[80, 81, 70] Operation: 71-1=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[71, 1, 1], Operations: ['81-80=1']
Exploring Operation: 71-1=70, Resulting Numbers: [1, 70]
Generated Node #0,1,0: 10:[1, 70] Operation: 71-1=70
Exploring Operation: 71-1=70, Resulting Numbers: [1, 70]
Generated Node #0,1,1: 10:[1, 70] Operation: 71-1=70
Exploring Operation: 1+1=2, Resulting Numbers: [71, 2]
Generated Node #0,1,2: 10:[71, 2] Operation: 1+1=2
Exploring Operation: 71*1=71, Resulting Numbers: [1, 71]
Generated Node #0,1,3: 10:[1, 71] Operation: 71*1=71
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[1, 70], Operations: ['81-80=1', '71-1=70']
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 1*70=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 1+70=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[1, 70], Operations: ['81-80=1', '71-1=70']
Exploring Operation: 1*70=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 1+70=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 10:[71, 2], Operations: ['81-80=1', '1+1=2']
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,10 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 10:[1, 71], Operations: ['81-80=1', '71*1=71']
Exploring Operation: 1*71=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 1+71=72, Resulting Numbers: [72]
72,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[1, 80, 10], Operations: ['81-71=10']
Exploring Operation: 80-1=79, Resulting Numbers: [10, 79]
Generated Node #0,0,0: 10:[10, 79] Operation: 80-1=79
Exploring Operation: 80-10=70, Resulting Numbers: [1, 70]
Generated Node #0,0,1: 10:[1, 70] Operation: 80-10=70
Exploring Operation: 1*80=80, Resulting Numbers: [10, 80]
Generated Node #0,0,2: 10:[10, 80] Operation: 1*80=80
Exploring Operation: 80/10=8, Resulting Numbers: [1, 8]
Generated Node #0,0,3: 10:[1, 8] Operation: 80/10=8
Moving to Node #0,0,3
Current State: 10:[1, 8], Operations: ['81-71=10', '80/10=8']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[1, 70], Operations: ['81-71=10', '80-10=70']
Exploring Operation: 1+70=71, Resulting Numbers: [71]
71,10 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 1*70=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[10, 79], Operations: ['81-71=10', '80-1=79']
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Exploring Operation: 10*79=790, Resulting Numbers: [790]
790,10 unequal: No Solution
Exploring Operation: 10+79=89, Resulting Numbers: [89]
89,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[10, 80], Operations: ['81-71=10', '1*80=80']
Exploring Operation: 10+80=90, Resulting Numbers: [90]
90,10 unequal: No Solution
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 10*80=800, Resulting Numbers: [800]
800,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[1, 81, 9], Operations: ['80-71=9']
Exploring Operation: 81-9=72, Resulting Numbers: [1, 72]
Generated Node #0,2,0: 10:[1, 72] Operation: 81-9=72
Exploring Operation: 1+9=10, Resulting Numbers: [81, 10]
Generated Node #0,2,1: 10:[81, 10] Operation: 1+9=10
Exploring Operation: 81/9=9, Resulting Numbers: [1, 9]
Generated Node #0,2,2: 10:[1, 9] Operation: 81/9=9
Exploring Operation: 81-1=80, Resulting Numbers: [9, 80]
Generated Node #0,2,3: 10:[9, 80] Operation: 81-1=80
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 10:[1, 9], Operations: ['80-71=9', '81/9=9']
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[71, 1, 80, 81], Operations: []
Exploring Operation: 80-71=9, Resulting Numbers: [1, 81, 9]
Generated Node #0,2: 10:[1, 81, 9] Operation: 80-71=9
Moving to Node #0,2
Current State: 10:[1, 81, 9], Operations: ['80-71=9']
Exploring Operation: 81/9=9, Resulting Numbers: [1, 9]
Generated Node #0,2,2: 10:[1, 9] Operation: 81/9=9
Moving to Node #0,2,2
Current State: 10:[1, 9], Operations: ['80-71=9', '81/9=9']
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.954861 | hs_4 | sum_heuristic |
[
84,
69,
92,
41
] | 95 | [
"69-41=28",
"84/28=3",
"92+3=95"
] | Current State: 95:[84, 69, 92, 41], Operations: []
Exploring Operation: 69-41=28, Resulting Numbers: [84, 92, 28]
Generated Node #2: [84, 92, 28] from Operation: 69-41=28
Current State: 95:[84, 92, 28], Operations: ['69-41=28']
Exploring Operation: 84/28=3, Resulting Numbers: [92, 3]
Generated Node #3: [92, 3] from Operation: 84/28=3
Current State: 95:[92, 3], Operations: ['69-41=28', '84/28=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[84, 69, 92, 41], Operations: []
Exploring Operation: 92-69=23, Resulting Numbers: [84, 41, 23]
Generated Node #0,0: 95:[84, 41, 23] Operation: 92-69=23
Exploring Operation: 69+41=110, Resulting Numbers: [84, 92, 110]
Generated Node #0,1: 95:[84, 92, 110] Operation: 69+41=110
Exploring Operation: 92-84=8, Resulting Numbers: [69, 41, 8]
Generated Node #0,2: 95:[69, 41, 8] Operation: 92-84=8
Exploring Operation: 69-41=28, Resulting Numbers: [84, 92, 28]
Generated Node #0,3: 95:[84, 92, 28] Operation: 69-41=28
Exploring Operation: 84-69=15, Resulting Numbers: [92, 41, 15]
Generated Node #0,4: 95:[92, 41, 15] Operation: 84-69=15
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[84, 92, 28], Operations: ['69-41=28']
Exploring Operation: 84+28=112, Resulting Numbers: [92, 112]
Generated Node #0,3,0: 95:[92, 112] Operation: 84+28=112
Exploring Operation: 84/28=3, Resulting Numbers: [92, 3]
Generated Node #0,3,1: 95:[92, 3] Operation: 84/28=3
Exploring Operation: 84-28=56, Resulting Numbers: [92, 56]
Generated Node #0,3,2: 95:[92, 56] Operation: 84-28=56
Exploring Operation: 92+28=120, Resulting Numbers: [84, 120]
Generated Node #0,3,3: 95:[84, 120] Operation: 92+28=120
Exploring Operation: 92-84=8, Resulting Numbers: [28, 8]
Generated Node #0,3,4: 95:[28, 8] Operation: 92-84=8
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 95:[92, 3], Operations: ['69-41=28', '84/28=3']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,95 unequal: No Solution
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,95 unequal: No Solution
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[84, 69, 92, 41], Operations: []
Exploring Operation: 69-41=28, Resulting Numbers: [84, 92, 28]
Generated Node #0,3: 95:[84, 92, 28] Operation: 69-41=28
Moving to Node #0,3
Current State: 95:[84, 92, 28], Operations: ['69-41=28']
Exploring Operation: 84/28=3, Resulting Numbers: [92, 3]
Generated Node #0,3,1: 95:[92, 3] Operation: 84/28=3
Moving to Node #0,3,1
Current State: 95:[92, 3], Operations: ['69-41=28', '84/28=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
58,
5,
43,
24
] | 41 | [
"5+24=29",
"58/29=2",
"43-2=41"
] | Current State: 41:[58, 5, 43, 24], Operations: []
Exploring Operation: 5+24=29, Resulting Numbers: [58, 43, 29]
Generated Node #2: [58, 43, 29] from Operation: 5+24=29
Current State: 41:[58, 43, 29], Operations: ['5+24=29']
Exploring Operation: 58/29=2, Resulting Numbers: [43, 2]
Generated Node #3: [43, 2] from Operation: 58/29=2
Current State: 41:[43, 2], Operations: ['5+24=29', '58/29=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[58, 5, 43, 24], Operations: []
Exploring Operation: 58-5=53, Resulting Numbers: [43, 24, 53]
Generated Node #0,0: 41:[43, 24, 53] Operation: 58-5=53
Exploring Operation: 5+24=29, Resulting Numbers: [58, 43, 29]
Generated Node #0,1: 41:[58, 43, 29] Operation: 5+24=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[43, 24, 53], Operations: ['58-5=53']
Exploring Operation: 43-24=19, Resulting Numbers: [53, 19]
Generated Node #0,0,0: 41:[53, 19] Operation: 43-24=19
Exploring Operation: 53-24=29, Resulting Numbers: [43, 29]
Generated Node #0,0,1: 41:[43, 29] Operation: 53-24=29
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[43, 29], Operations: ['58-5=53', '53-24=29']
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 43+29=72, Resulting Numbers: [72]
72,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[53, 19], Operations: ['58-5=53', '43-24=19']
Exploring Operation: 53+19=72, Resulting Numbers: [72]
72,41 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[58, 43, 29], Operations: ['5+24=29']
Exploring Operation: 58-29=29, Resulting Numbers: [43, 29]
Generated Node #0,1,0: 41:[43, 29] Operation: 58-29=29
Exploring Operation: 58-43=15, Resulting Numbers: [29, 15]
Generated Node #0,1,1: 41:[29, 15] Operation: 58-43=15
Moving to Node #0,1,0
Current State: 41:[43, 29], Operations: ['5+24=29', '58-29=29']
Exploring Operation: 43+29=72, Resulting Numbers: [72]
72,41 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[29, 15], Operations: ['5+24=29', '58-43=15']
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
71,
27,
46,
55
] | 57 | [
"71-27=44",
"46+55=101",
"101-44=57"
] | Current State: 57:[71, 27, 46, 55], Operations: []
Exploring Operation: 71-27=44, Resulting Numbers: [46, 55, 44]
Generated Node #2: [46, 55, 44] from Operation: 71-27=44
Current State: 57:[46, 55, 44], Operations: ['71-27=44']
Exploring Operation: 46+55=101, Resulting Numbers: [44, 101]
Generated Node #3: [44, 101] from Operation: 46+55=101
Current State: 57:[44, 101], Operations: ['71-27=44', '46+55=101']
Exploring Operation: 101-44=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[71, 27, 46, 55], Operations: []
Exploring Operation: 71-27=44, Resulting Numbers: [46, 55, 44]
Generated Node #0,0: 57:[46, 55, 44] Operation: 71-27=44
Exploring Operation: 71-55=16, Resulting Numbers: [27, 46, 16]
Generated Node #0,1: 57:[27, 46, 16] Operation: 71-55=16
Exploring Operation: 71-46=25, Resulting Numbers: [27, 55, 25]
Generated Node #0,2: 57:[27, 55, 25] Operation: 71-46=25
Exploring Operation: 46-27=19, Resulting Numbers: [71, 55, 19]
Generated Node #0,3: 57:[71, 55, 19] Operation: 46-27=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[27, 55, 25], Operations: ['71-46=25']
Exploring Operation: 55-25=30, Resulting Numbers: [27, 30]
Generated Node #0,2,0: 57:[27, 30] Operation: 55-25=30
Exploring Operation: 27+25=52, Resulting Numbers: [55, 52]
Generated Node #0,2,1: 57:[55, 52] Operation: 27+25=52
Exploring Operation: 55-27=28, Resulting Numbers: [25, 28]
Generated Node #0,2,2: 57:[25, 28] Operation: 55-27=28
Exploring Operation: 27-25=2, Resulting Numbers: [55, 2]
Generated Node #0,2,3: 57:[55, 2] Operation: 27-25=2
Moving to Node #0,2,3
Current State: 57:[55, 2], Operations: ['71-46=25', '27-25=2']
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,57 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[71, 27, 46, 55], Operations: []
Exploring Operation: 71-46=25, Resulting Numbers: [27, 55, 25]
Generated Node #0,2: 57:[27, 55, 25] Operation: 71-46=25
Moving to Node #0,2
Current State: 57:[27, 55, 25], Operations: ['71-46=25']
Exploring Operation: 27-25=2, Resulting Numbers: [55, 2]
Generated Node #0,2,3: 57:[55, 2] Operation: 27-25=2
Moving to Node #0,2,3
Current State: 57:[55, 2], Operations: ['71-46=25', '27-25=2']
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
39,
10,
97,
18
] | 66 | [
"39+10=49",
"97+18=115",
"115-49=66"
] | Current State: 66:[39, 10, 97, 18], Operations: []
Exploring Operation: 39+10=49, Resulting Numbers: [97, 18, 49]
Generated Node #2: [97, 18, 49] from Operation: 39+10=49
Current State: 66:[97, 18, 49], Operations: ['39+10=49']
Exploring Operation: 97+18=115, Resulting Numbers: [49, 115]
Generated Node #3: [49, 115] from Operation: 97+18=115
Current State: 66:[49, 115], Operations: ['39+10=49', '97+18=115']
Exploring Operation: 115-49=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[39, 10, 97, 18], Operations: []
Exploring Operation: 97-39=58, Resulting Numbers: [10, 18, 58]
Generated Node #0,0: 66:[10, 18, 58] Operation: 97-39=58
Exploring Operation: 97-10=87, Resulting Numbers: [39, 18, 87]
Generated Node #0,1: 66:[39, 18, 87] Operation: 97-10=87
Exploring Operation: 39-18=21, Resulting Numbers: [10, 97, 21]
Generated Node #0,2: 66:[10, 97, 21] Operation: 39-18=21
Exploring Operation: 97-18=79, Resulting Numbers: [39, 10, 79]
Generated Node #0,3: 66:[39, 10, 79] Operation: 97-18=79
Moving to Node #0,0
Current State: 66:[10, 18, 58], Operations: ['97-39=58']
Exploring Operation: 18-10=8, Resulting Numbers: [58, 8]
Generated Node #0,0,0: 66:[58, 8] Operation: 18-10=8
Exploring Operation: 10+58=68, Resulting Numbers: [18, 68]
Generated Node #0,0,1: 66:[18, 68] Operation: 10+58=68
Exploring Operation: 58-18=40, Resulting Numbers: [10, 40]
Generated Node #0,0,2: 66:[10, 40] Operation: 58-18=40
Exploring Operation: 18+58=76, Resulting Numbers: [10, 76]
Generated Node #0,0,3: 66:[10, 76] Operation: 18+58=76
Moving to Node #0,3
Current State: 66:[39, 10, 79], Operations: ['97-18=79']
Exploring Operation: 79-10=69, Resulting Numbers: [39, 69]
Generated Node #0,3,0: 66:[39, 69] Operation: 79-10=69
Exploring Operation: 39+10=49, Resulting Numbers: [79, 49]
Generated Node #0,3,1: 66:[79, 49] Operation: 39+10=49
Exploring Operation: 39-10=29, Resulting Numbers: [79, 29]
Generated Node #0,3,2: 66:[79, 29] Operation: 39-10=29
Exploring Operation: 79-39=40, Resulting Numbers: [10, 40]
Generated Node #0,3,3: 66:[10, 40] Operation: 79-39=40
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 66:[10, 40], Operations: ['97-18=79', '79-39=40']
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,66 unequal: No Solution
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 66:[39, 69], Operations: ['97-18=79', '79-10=69']
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 39*69=2691, Resulting Numbers: [2691]
2691,66 unequal: No Solution
Exploring Operation: 39+69=108, Resulting Numbers: [108]
108,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 66:[79, 29], Operations: ['97-18=79', '39-10=29']
Exploring Operation: 79*29=2291, Resulting Numbers: [2291]
2291,66 unequal: No Solution
Exploring Operation: 79+29=108, Resulting Numbers: [108]
108,66 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[79, 49], Operations: ['97-18=79', '39+10=49']
Exploring Operation: 79+49=128, Resulting Numbers: [128]
128,66 unequal: No Solution
Exploring Operation: 79-49=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 79*49=3871, Resulting Numbers: [3871]
3871,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 66:[39, 18, 87], Operations: ['97-10=87']
Exploring Operation: 39-18=21, Resulting Numbers: [87, 21]
Generated Node #0,1,0: 66:[87, 21] Operation: 39-18=21
Exploring Operation: 87-18=69, Resulting Numbers: [39, 69]
Generated Node #0,1,1: 66:[39, 69] Operation: 87-18=69
Exploring Operation: 39+18=57, Resulting Numbers: [87, 57]
Generated Node #0,1,2: 66:[87, 57] Operation: 39+18=57
Exploring Operation: 87-39=48, Resulting Numbers: [18, 48]
Generated Node #0,1,3: 66:[18, 48] Operation: 87-39=48
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[39, 69], Operations: ['97-10=87', '87-18=69']
Exploring Operation: 39*69=2691, Resulting Numbers: [2691]
2691,66 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 39+69=108, Resulting Numbers: [108]
108,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[18, 48], Operations: ['97-10=87', '87-39=48']
Exploring Operation: 18+48=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[39, 10, 97, 18], Operations: []
Exploring Operation: 97-10=87, Resulting Numbers: [39, 18, 87]
Generated Node #0,1: 66:[39, 18, 87] Operation: 97-10=87
Moving to Node #0,1
Current State: 66:[39, 18, 87], Operations: ['97-10=87']
Exploring Operation: 87-39=48, Resulting Numbers: [18, 48]
Generated Node #0,1,3: 66:[18, 48] Operation: 87-39=48
Moving to Node #0,1,3
Current State: 66:[18, 48], Operations: ['97-10=87', '87-39=48']
Exploring Operation: 18+48=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | mult_heuristic |
[
82,
95,
19,
62
] | 96 | [
"82+95=177",
"19+62=81",
"177-81=96"
] | Current State: 96:[82, 95, 19, 62], Operations: []
Exploring Operation: 82+95=177, Resulting Numbers: [19, 62, 177]
Generated Node #2: [19, 62, 177] from Operation: 82+95=177
Current State: 96:[19, 62, 177], Operations: ['82+95=177']
Exploring Operation: 19+62=81, Resulting Numbers: [177, 81]
Generated Node #3: [177, 81] from Operation: 19+62=81
Current State: 96:[177, 81], Operations: ['82+95=177', '19+62=81']
Exploring Operation: 177-81=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[82, 95, 19, 62], Operations: []
Exploring Operation: 95-62=33, Resulting Numbers: [82, 19, 33]
Generated Node #0,0: 96:[82, 19, 33] Operation: 95-62=33
Exploring Operation: 62-19=43, Resulting Numbers: [82, 95, 43]
Generated Node #0,1: 96:[82, 95, 43] Operation: 62-19=43
Exploring Operation: 95-82=13, Resulting Numbers: [19, 62, 13]
Generated Node #0,2: 96:[19, 62, 13] Operation: 95-82=13
Exploring Operation: 82+19=101, Resulting Numbers: [95, 62, 101]
Generated Node #0,3: 96:[95, 62, 101] Operation: 82+19=101
Exploring Operation: 82-62=20, Resulting Numbers: [95, 19, 20]
Generated Node #0,4: 96:[95, 19, 20] Operation: 82-62=20
Start Sub Search at level 1: Moving to Node #0,4
Current State: 96:[95, 19, 20], Operations: ['82-62=20']
Exploring Operation: 20-19=1, Resulting Numbers: [95, 1]
Generated Node #0,4,0: 96:[95, 1] Operation: 20-19=1
Exploring Operation: 19+20=39, Resulting Numbers: [95, 39]
Generated Node #0,4,1: 96:[95, 39] Operation: 19+20=39
Exploring Operation: 95+20=115, Resulting Numbers: [19, 115]
Generated Node #0,4,2: 96:[19, 115] Operation: 95+20=115
Exploring Operation: 95+19=114, Resulting Numbers: [20, 114]
Generated Node #0,4,3: 96:[20, 114] Operation: 95+19=114
Exploring Operation: 95/19=5, Resulting Numbers: [20, 5]
Generated Node #0,4,4: 96:[20, 5] Operation: 95/19=5
Moving to Node #0,4,0
Current State: 96:[95, 1], Operations: ['82-62=20', '20-19=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,96 unequal: No Solution
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,96 unequal: No Solution
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,96 unequal: No Solution
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[82, 95, 19, 62], Operations: []
Exploring Operation: 82-62=20, Resulting Numbers: [95, 19, 20]
Generated Node #0,4: 96:[95, 19, 20] Operation: 82-62=20
Moving to Node #0,4
Current State: 96:[95, 19, 20], Operations: ['82-62=20']
Exploring Operation: 20-19=1, Resulting Numbers: [95, 1]
Generated Node #0,4,0: 96:[95, 1] Operation: 20-19=1
Moving to Node #0,4,0
Current State: 96:[95, 1], Operations: ['82-62=20', '20-19=1']
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
80,
66,
39,
41
] | 12 | [
"80-66=14",
"41-39=2",
"14-2=12"
] | Current State: 12:[80, 66, 39, 41], Operations: []
Exploring Operation: 80-66=14, Resulting Numbers: [39, 41, 14]
Generated Node #2: [39, 41, 14] from Operation: 80-66=14
Current State: 12:[39, 41, 14], Operations: ['80-66=14']
Exploring Operation: 41-39=2, Resulting Numbers: [14, 2]
Generated Node #3: [14, 2] from Operation: 41-39=2
Current State: 12:[14, 2], Operations: ['80-66=14', '41-39=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[80, 66, 39, 41], Operations: []
Exploring Operation: 66-41=25, Resulting Numbers: [80, 39, 25]
Generated Node #0,0: 12:[80, 39, 25] Operation: 66-41=25
Exploring Operation: 80-41=39, Resulting Numbers: [66, 39, 39]
Generated Node #0,1: 12:[66, 39, 39] Operation: 80-41=39
Exploring Operation: 80-39=41, Resulting Numbers: [66, 41, 41]
Generated Node #0,2: 12:[66, 41, 41] Operation: 80-39=41
Exploring Operation: 80-66=14, Resulting Numbers: [39, 41, 14]
Generated Node #0,3: 12:[39, 41, 14] Operation: 80-66=14
Moving to Node #0,3
Current State: 12:[39, 41, 14], Operations: ['80-66=14']
Exploring Operation: 41-14=27, Resulting Numbers: [39, 27]
Generated Node #0,3,0: 12:[39, 27] Operation: 41-14=27
Exploring Operation: 39+41=80, Resulting Numbers: [14, 80]
Generated Node #0,3,1: 12:[14, 80] Operation: 39+41=80
Exploring Operation: 41-39=2, Resulting Numbers: [14, 2]
Generated Node #0,3,2: 12:[14, 2] Operation: 41-39=2
Exploring Operation: 39-14=25, Resulting Numbers: [41, 25]
Generated Node #0,3,3: 12:[41, 25] Operation: 39-14=25
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 12:[14, 2], Operations: ['80-66=14', '41-39=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[80, 66, 39, 41], Operations: []
Exploring Operation: 80-66=14, Resulting Numbers: [39, 41, 14]
Generated Node #0,3: 12:[39, 41, 14] Operation: 80-66=14
Moving to Node #0,3
Current State: 12:[39, 41, 14], Operations: ['80-66=14']
Exploring Operation: 41-39=2, Resulting Numbers: [14, 2]
Generated Node #0,3,2: 12:[14, 2] Operation: 41-39=2
Moving to Node #0,3,2
Current State: 12:[14, 2], Operations: ['80-66=14', '41-39=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
38,
76,
71,
91
] | 99 | [
"76-71=5",
"38*5=190",
"190-91=99"
] | Current State: 99:[38, 76, 71, 91], Operations: []
Exploring Operation: 76-71=5, Resulting Numbers: [38, 91, 5]
Generated Node #2: [38, 91, 5] from Operation: 76-71=5
Current State: 99:[38, 91, 5], Operations: ['76-71=5']
Exploring Operation: 38*5=190, Resulting Numbers: [91, 190]
Generated Node #3: [91, 190] from Operation: 38*5=190
Current State: 99:[91, 190], Operations: ['76-71=5', '38*5=190']
Exploring Operation: 190-91=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[38, 76, 71, 91], Operations: []
Exploring Operation: 76-71=5, Resulting Numbers: [38, 91, 5]
Generated Node #0,0: 99:[38, 91, 5] Operation: 76-71=5
Exploring Operation: 76/38=2, Resulting Numbers: [71, 91, 2]
Generated Node #0,1: 99:[71, 91, 2] Operation: 76/38=2
Exploring Operation: 71-38=33, Resulting Numbers: [76, 91, 33]
Generated Node #0,2: 99:[76, 91, 33] Operation: 71-38=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[38, 91, 5], Operations: ['76-71=5']
Exploring Operation: 91+5=96, Resulting Numbers: [38, 96]
Generated Node #0,0,0: 99:[38, 96] Operation: 91+5=96
Exploring Operation: 38+5=43, Resulting Numbers: [91, 43]
Generated Node #0,0,1: 99:[91, 43] Operation: 38+5=43
Exploring Operation: 38-5=33, Resulting Numbers: [91, 33]
Generated Node #0,0,2: 99:[91, 33] Operation: 38-5=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[38, 96], Operations: ['76-71=5', '91+5=96']
Exploring Operation: 96-38=58, Resulting Numbers: [58]
58,99 unequal: No Solution
Exploring Operation: 38+96=134, Resulting Numbers: [134]
134,99 unequal: No Solution
Exploring Operation: 38*96=3648, Resulting Numbers: [3648]
3648,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 99:[91, 33], Operations: ['76-71=5', '38-5=33']
Exploring Operation: 91*33=3003, Resulting Numbers: [3003]
3003,99 unequal: No Solution
Exploring Operation: 91-33=58, Resulting Numbers: [58]
58,99 unequal: No Solution
Exploring Operation: 91+33=124, Resulting Numbers: [124]
124,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[91, 43], Operations: ['76-71=5', '38+5=43']
Exploring Operation: 91+43=134, Resulting Numbers: [134]
134,99 unequal: No Solution
Exploring Operation: 91-43=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 91*43=3913, Resulting Numbers: [3913]
3913,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[76, 91, 33], Operations: ['71-38=33']
Exploring Operation: 76-33=43, Resulting Numbers: [91, 43]
Generated Node #0,2,0: 99:[91, 43] Operation: 76-33=43
Exploring Operation: 76+33=109, Resulting Numbers: [91, 109]
Generated Node #0,2,1: 99:[91, 109] Operation: 76+33=109
Exploring Operation: 91-76=15, Resulting Numbers: [33, 15]
Generated Node #0,2,2: 99:[33, 15] Operation: 91-76=15
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 99:[33, 15], Operations: ['71-38=33', '91-76=15']
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,99 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 99:[91, 43], Operations: ['71-38=33', '76-33=43']
Exploring Operation: 91*43=3913, Resulting Numbers: [3913]
3913,99 unequal: No Solution
Exploring Operation: 91-43=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 91+43=134, Resulting Numbers: [134]
134,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[91, 109], Operations: ['71-38=33', '76+33=109']
Exploring Operation: 91+109=200, Resulting Numbers: [200]
200,99 unequal: No Solution
Exploring Operation: 91*109=9919, Resulting Numbers: [9919]
9919,99 unequal: No Solution
Exploring Operation: 109-91=18, Resulting Numbers: [18]
18,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[71, 91, 2], Operations: ['76/38=2']
Exploring Operation: 71+2=73, Resulting Numbers: [91, 73]
Generated Node #0,1,0: 99:[91, 73] Operation: 71+2=73
Exploring Operation: 91-71=20, Resulting Numbers: [2, 20]
Generated Node #0,1,1: 99:[2, 20] Operation: 91-71=20
Exploring Operation: 91+2=93, Resulting Numbers: [71, 93]
Generated Node #0,1,2: 99:[71, 93] Operation: 91+2=93
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[2, 20], Operations: ['76/38=2', '91-71=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,99 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[91, 73], Operations: ['76/38=2', '71+2=73']
Exploring Operation: 91*73=6643, Resulting Numbers: [6643]
6643,99 unequal: No Solution
Exploring Operation: 91+73=164, Resulting Numbers: [164]
164,99 unequal: No Solution
Exploring Operation: 91-73=18, Resulting Numbers: [18]
18,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 99:[71, 93], Operations: ['76/38=2', '91+2=93']
Exploring Operation: 71+93=164, Resulting Numbers: [164]
164,99 unequal: No Solution
Exploring Operation: 93-71=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 71*93=6603, Resulting Numbers: [6603]
6603,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
53,
51,
16,
58
] | 100 | [
"53-51=2",
"58*2=116",
"116-16=100"
] | Current State: 100:[53, 51, 16, 58], Operations: []
Exploring Operation: 53-51=2, Resulting Numbers: [16, 58, 2]
Generated Node #2: [16, 58, 2] from Operation: 53-51=2
Current State: 100:[16, 58, 2], Operations: ['53-51=2']
Exploring Operation: 58*2=116, Resulting Numbers: [16, 116]
Generated Node #3: [16, 116] from Operation: 58*2=116
Current State: 100:[16, 116], Operations: ['53-51=2', '58*2=116']
Exploring Operation: 116-16=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[53, 51, 16, 58], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [51, 16, 5]
Generated Node #0,0: 100:[51, 16, 5] Operation: 58-53=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[51, 16, 5], Operations: ['58-53=5']
Exploring Operation: 16+5=21, Resulting Numbers: [51, 21]
Generated Node #0,0,0: 100:[51, 21] Operation: 16+5=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[51, 21], Operations: ['58-53=5', '16+5=21']
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
37,
30,
71,
68
] | 15 | [
"71-37=34",
"30*34=1020",
"1020/68=15"
] | Current State: 15:[37, 30, 71, 68], Operations: []
Exploring Operation: 71-37=34, Resulting Numbers: [30, 68, 34]
Generated Node #2: [30, 68, 34] from Operation: 71-37=34
Current State: 15:[30, 68, 34], Operations: ['71-37=34']
Exploring Operation: 30*34=1020, Resulting Numbers: [68, 1020]
Generated Node #3: [68, 1020] from Operation: 30*34=1020
Current State: 15:[68, 1020], Operations: ['71-37=34', '30*34=1020']
Exploring Operation: 1020/68=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[37, 30, 71, 68], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [37, 30, 3]
Generated Node #0,0: 15:[37, 30, 3] Operation: 71-68=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[37, 30, 3], Operations: ['71-68=3']
Exploring Operation: 37-30=7, Resulting Numbers: [3, 7]
Generated Node #0,0,0: 15:[3, 7] Operation: 37-30=7
Moving to Node #0,0,0
Current State: 15:[3, 7], Operations: ['71-68=3', '37-30=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
30,
87,
15,
5
] | 54 | [
"87-30=57",
"15/5=3",
"57-3=54"
] | Current State: 54:[30, 87, 15, 5], Operations: []
Exploring Operation: 87-30=57, Resulting Numbers: [15, 5, 57]
Generated Node #2: [15, 5, 57] from Operation: 87-30=57
Current State: 54:[15, 5, 57], Operations: ['87-30=57']
Exploring Operation: 15/5=3, Resulting Numbers: [57, 3]
Generated Node #3: [57, 3] from Operation: 15/5=3
Current State: 54:[57, 3], Operations: ['87-30=57', '15/5=3']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[30, 87, 15, 5], Operations: []
Exploring Operation: 87-15=72, Resulting Numbers: [30, 5, 72]
Generated Node #0,0: 54:[30, 5, 72] Operation: 87-15=72
Exploring Operation: 87-5=82, Resulting Numbers: [30, 15, 82]
Generated Node #0,1: 54:[30, 15, 82] Operation: 87-5=82
Exploring Operation: 30/15=2, Resulting Numbers: [87, 5, 2]
Generated Node #0,2: 54:[87, 5, 2] Operation: 30/15=2
Exploring Operation: 30/5=6, Resulting Numbers: [87, 15, 6]
Generated Node #0,3: 54:[87, 15, 6] Operation: 30/5=6
Exploring Operation: 87-30=57, Resulting Numbers: [15, 5, 57]
Generated Node #0,4: 54:[15, 5, 57] Operation: 87-30=57
Start Sub Search at level 1: Moving to Node #0,4
Current State: 54:[15, 5, 57], Operations: ['87-30=57']
Exploring Operation: 15+5=20, Resulting Numbers: [57, 20]
Generated Node #0,4,0: 54:[57, 20] Operation: 15+5=20
Exploring Operation: 5+57=62, Resulting Numbers: [15, 62]
Generated Node #0,4,1: 54:[15, 62] Operation: 5+57=62
Exploring Operation: 15/5=3, Resulting Numbers: [57, 3]
Generated Node #0,4,2: 54:[57, 3] Operation: 15/5=3
Exploring Operation: 57-5=52, Resulting Numbers: [15, 52]
Generated Node #0,4,3: 54:[15, 52] Operation: 57-5=52
Exploring Operation: 15-5=10, Resulting Numbers: [57, 10]
Generated Node #0,4,4: 54:[57, 10] Operation: 15-5=10
Moving to Node #0,4,2
Current State: 54:[57, 3], Operations: ['87-30=57', '15/5=3']
Exploring Operation: 57*3=171, Resulting Numbers: [171]
171,54 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[30, 87, 15, 5], Operations: []
Exploring Operation: 87-30=57, Resulting Numbers: [15, 5, 57]
Generated Node #0,4: 54:[15, 5, 57] Operation: 87-30=57
Moving to Node #0,4
Current State: 54:[15, 5, 57], Operations: ['87-30=57']
Exploring Operation: 15/5=3, Resulting Numbers: [57, 3]
Generated Node #0,4,2: 54:[57, 3] Operation: 15/5=3
Moving to Node #0,4,2
Current State: 54:[57, 3], Operations: ['87-30=57', '15/5=3']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
13,
68,
45,
93
] | 83 | [
"68-13=55",
"45+93=138",
"138-55=83"
] | Current State: 83:[13, 68, 45, 93], Operations: []
Exploring Operation: 68-13=55, Resulting Numbers: [45, 93, 55]
Generated Node #2: [45, 93, 55] from Operation: 68-13=55
Current State: 83:[45, 93, 55], Operations: ['68-13=55']
Exploring Operation: 45+93=138, Resulting Numbers: [55, 138]
Generated Node #3: [55, 138] from Operation: 45+93=138
Current State: 83:[55, 138], Operations: ['68-13=55', '45+93=138']
Exploring Operation: 138-55=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[13, 68, 45, 93], Operations: []
Exploring Operation: 13+68=81, Resulting Numbers: [45, 93, 81]
Generated Node #0,0: 83:[45, 93, 81] Operation: 13+68=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[45, 93, 81], Operations: ['13+68=81']
Exploring Operation: 93-45=48, Resulting Numbers: [81, 48]
Generated Node #0,0,0: 83:[81, 48] Operation: 93-45=48
Moving to Node #0,0,0
Current State: 83:[81, 48], Operations: ['13+68=81', '93-45=48']
Exploring Operation: 81+48=129, Resulting Numbers: [129]
129,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
61,
18,
36,
27
] | 59 | [
"18+36=54",
"54/27=2",
"61-2=59"
] | Current State: 59:[61, 18, 36, 27], Operations: []
Exploring Operation: 18+36=54, Resulting Numbers: [61, 27, 54]
Generated Node #2: [61, 27, 54] from Operation: 18+36=54
Current State: 59:[61, 27, 54], Operations: ['18+36=54']
Exploring Operation: 54/27=2, Resulting Numbers: [61, 2]
Generated Node #3: [61, 2] from Operation: 54/27=2
Current State: 59:[61, 2], Operations: ['18+36=54', '54/27=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[61, 18, 36, 27], Operations: []
Exploring Operation: 18+27=45, Resulting Numbers: [61, 36, 45]
Generated Node #0,0: 59:[61, 36, 45] Operation: 18+27=45
Exploring Operation: 36+27=63, Resulting Numbers: [61, 18, 63]
Generated Node #0,1: 59:[61, 18, 63] Operation: 36+27=63
Exploring Operation: 18+36=54, Resulting Numbers: [61, 27, 54]
Generated Node #0,2: 59:[61, 27, 54] Operation: 18+36=54
Moving to Node #0,0
Current State: 59:[61, 36, 45], Operations: ['18+27=45']
Exploring Operation: 61+36=97, Resulting Numbers: [45, 97]
Generated Node #0,0,0: 59:[45, 97] Operation: 61+36=97
Exploring Operation: 36+45=81, Resulting Numbers: [61, 81]
Generated Node #0,0,1: 59:[61, 81] Operation: 36+45=81
Exploring Operation: 61-36=25, Resulting Numbers: [45, 25]
Generated Node #0,0,2: 59:[45, 25] Operation: 61-36=25
Moving to Node #0,2
Current State: 59:[61, 27, 54], Operations: ['18+36=54']
Exploring Operation: 27+54=81, Resulting Numbers: [61, 81]
Generated Node #0,2,0: 59:[61, 81] Operation: 27+54=81
Exploring Operation: 61-27=34, Resulting Numbers: [54, 34]
Generated Node #0,2,1: 59:[54, 34] Operation: 61-27=34
Exploring Operation: 61+27=88, Resulting Numbers: [54, 88]
Generated Node #0,2,2: 59:[54, 88] Operation: 61+27=88
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 59:[61, 81], Operations: ['18+36=54', '27+54=81']
Exploring Operation: 61+81=142, Resulting Numbers: [142]
142,59 unequal: No Solution
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 61*81=4941, Resulting Numbers: [4941]
4941,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[54, 34], Operations: ['18+36=54', '61-27=34']
Exploring Operation: 54+34=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 54*34=1836, Resulting Numbers: [1836]
1836,59 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 59:[54, 88], Operations: ['18+36=54', '61+27=88']
Exploring Operation: 54*88=4752, Resulting Numbers: [4752]
4752,59 unequal: No Solution
Exploring Operation: 54+88=142, Resulting Numbers: [142]
142,59 unequal: No Solution
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 59:[61, 18, 63], Operations: ['36+27=63']
Exploring Operation: 63-18=45, Resulting Numbers: [61, 45]
Generated Node #0,1,0: 59:[61, 45] Operation: 63-18=45
Exploring Operation: 61+18=79, Resulting Numbers: [63, 79]
Generated Node #0,1,1: 59:[63, 79] Operation: 61+18=79
Exploring Operation: 61-18=43, Resulting Numbers: [63, 43]
Generated Node #0,1,2: 59:[63, 43] Operation: 61-18=43
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[61, 45], Operations: ['36+27=63', '63-18=45']
Exploring Operation: 61*45=2745, Resulting Numbers: [2745]
2745,59 unequal: No Solution
Exploring Operation: 61+45=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[63, 43], Operations: ['36+27=63', '61-18=43']
Exploring Operation: 63*43=2709, Resulting Numbers: [2709]
2709,59 unequal: No Solution
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 63+43=106, Resulting Numbers: [106]
106,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[63, 79], Operations: ['36+27=63', '61+18=79']
Exploring Operation: 79-63=16, Resulting Numbers: [16]
16,59 unequal: No Solution
Exploring Operation: 63+79=142, Resulting Numbers: [142]
142,59 unequal: No Solution
Exploring Operation: 63*79=4977, Resulting Numbers: [4977]
4977,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 59:[61, 81], Operations: ['18+27=45', '36+45=81']
Exploring Operation: 61+81=142, Resulting Numbers: [142]
142,59 unequal: No Solution
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 61*81=4941, Resulting Numbers: [4941]
4941,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[45, 25], Operations: ['18+27=45', '61-36=25']
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,59 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[45, 97], Operations: ['18+27=45', '61+36=97']
Exploring Operation: 45*97=4365, Resulting Numbers: [4365]
4365,59 unequal: No Solution
Exploring Operation: 45+97=142, Resulting Numbers: [142]
142,59 unequal: No Solution
Exploring Operation: 97-45=52, Resulting Numbers: [52]
52,59 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
12,
15,
15,
75
] | 75 | [
"12*75=900",
"900/15=60",
"15+60=75"
] | Current State: 75:[12, 15, 15, 75], Operations: []
Exploring Operation: 12*75=900, Resulting Numbers: [15, 15, 900]
Generated Node #2: [15, 15, 900] from Operation: 12*75=900
Current State: 75:[15, 15, 900], Operations: ['12*75=900']
Exploring Operation: 900/15=60, Resulting Numbers: [60]
60,75 equal: Goal Reached
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[12, 15, 15, 75], Operations: []
Exploring Operation: 12+15=27, Resulting Numbers: [15, 75, 27]
Generated Node #0,0: 75:[15, 75, 27] Operation: 12+15=27
Exploring Operation: 75/15=5, Resulting Numbers: [12, 15, 5]
Generated Node #0,1: 75:[12, 15, 5] Operation: 75/15=5
Exploring Operation: 15-12=3, Resulting Numbers: [15, 75, 3]
Generated Node #0,2: 75:[15, 75, 3] Operation: 15-12=3
Exploring Operation: 12+15=27, Resulting Numbers: [15, 75, 27]
Generated Node #0,3: 75:[15, 75, 27] Operation: 12+15=27
Exploring Operation: 15-12=3, Resulting Numbers: [15, 75, 3]
Generated Node #0,4: 75:[15, 75, 3] Operation: 15-12=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[15, 75, 3], Operations: ['15-12=3']
Exploring Operation: 15+3=18, Resulting Numbers: [75, 18]
Generated Node #0,2,0: 75:[75, 18] Operation: 15+3=18
Exploring Operation: 15/3=5, Resulting Numbers: [75, 5]
Generated Node #0,2,1: 75:[75, 5] Operation: 15/3=5
Exploring Operation: 75/15=5, Resulting Numbers: [3, 5]
Generated Node #0,2,2: 75:[3, 5] Operation: 75/15=5
Exploring Operation: 75/3=25, Resulting Numbers: [15, 25]
Generated Node #0,2,3: 75:[15, 25] Operation: 75/3=25
Exploring Operation: 15-3=12, Resulting Numbers: [75, 12]
Generated Node #0,2,4: 75:[75, 12] Operation: 15-3=12
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[75, 5], Operations: ['15-12=3', '15/3=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 75*5=375, Resulting Numbers: [375]
375,75 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,75 unequal: No Solution
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 75:[3, 5], Operations: ['15-12=3', '75/15=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 75:[15, 25], Operations: ['15-12=3', '75/3=25']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 75:[75, 18], Operations: ['15-12=3', '15+3=18']
Exploring Operation: 75*18=1350, Resulting Numbers: [1350]
1350,75 unequal: No Solution
Exploring Operation: 75+18=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 75:[75, 12], Operations: ['15-12=3', '15-3=12']
Exploring Operation: 75*12=900, Resulting Numbers: [900]
900,75 unequal: No Solution
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 75+12=87, Resulting Numbers: [87]
87,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[15, 75, 3], Operations: ['15-12=3']
Exploring Operation: 15-3=12, Resulting Numbers: [75, 12]
Generated Node #0,4,0: 75:[75, 12] Operation: 15-3=12
Exploring Operation: 75/3=25, Resulting Numbers: [15, 25]
Generated Node #0,4,1: 75:[15, 25] Operation: 75/3=25
Exploring Operation: 15+3=18, Resulting Numbers: [75, 18]
Generated Node #0,4,2: 75:[75, 18] Operation: 15+3=18
Exploring Operation: 75/15=5, Resulting Numbers: [3, 5]
Generated Node #0,4,3: 75:[3, 5] Operation: 75/15=5
Exploring Operation: 15/3=5, Resulting Numbers: [75, 5]
Generated Node #0,4,4: 75:[75, 5] Operation: 15/3=5
Moving to Node #0,4,1
Current State: 75:[15, 25], Operations: ['15-12=3', '75/3=25']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,75 unequal: No Solution
Moving to Node #0,4,4
Current State: 75:[75, 5], Operations: ['15-12=3', '15/3=5']
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,75 unequal: No Solution
Exploring Operation: 75*5=375, Resulting Numbers: [375]
375,75 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,75 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Moving to Node #0,4,3
Current State: 75:[3, 5], Operations: ['15-12=3', '75/15=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Moving to Node #0,4,0
Current State: 75:[75, 12], Operations: ['15-12=3', '15-3=12']
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 75+12=87, Resulting Numbers: [87]
87,75 unequal: No Solution
Exploring Operation: 75*12=900, Resulting Numbers: [900]
900,75 unequal: No Solution
Moving to Node #0,4,2
Current State: 75:[75, 18], Operations: ['15-12=3', '15+3=18']
Exploring Operation: 75+18=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 75*18=1350, Resulting Numbers: [1350]
1350,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[15, 75, 27], Operations: ['12+15=27']
Exploring Operation: 15+27=42, Resulting Numbers: [75, 42]
Generated Node #0,0,0: 75:[75, 42] Operation: 15+27=42
Exploring Operation: 75-15=60, Resulting Numbers: [27, 60]
Generated Node #0,0,1: 75:[27, 60] Operation: 75-15=60
Exploring Operation: 15+75=90, Resulting Numbers: [27, 90]
Generated Node #0,0,2: 75:[27, 90] Operation: 15+75=90
Exploring Operation: 27-15=12, Resulting Numbers: [75, 12]
Generated Node #0,0,3: 75:[75, 12] Operation: 27-15=12
Exploring Operation: 75/15=5, Resulting Numbers: [27, 5]
Generated Node #0,0,4: 75:[27, 5] Operation: 75/15=5
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 75:[27, 5], Operations: ['12+15=27', '75/15=5']
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,75 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 75:[75, 12], Operations: ['12+15=27', '27-15=12']
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 75*12=900, Resulting Numbers: [900]
900,75 unequal: No Solution
Exploring Operation: 75+12=87, Resulting Numbers: [87]
87,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[75, 42], Operations: ['12+15=27', '15+27=42']
Exploring Operation: 75*42=3150, Resulting Numbers: [3150]
3150,75 unequal: No Solution
Exploring Operation: 75+42=117, Resulting Numbers: [117]
117,75 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[27, 60], Operations: ['12+15=27', '75-15=60']
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,75 unequal: No Solution
Exploring Operation: 27*60=1620, Resulting Numbers: [1620]
1620,75 unequal: No Solution
Exploring Operation: 27+60=87, Resulting Numbers: [87]
87,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[27, 90], Operations: ['12+15=27', '15+75=90']
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 27+90=117, Resulting Numbers: [117]
117,75 unequal: No Solution
Exploring Operation: 27*90=2430, Resulting Numbers: [2430]
2430,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[15, 75, 27], Operations: ['12+15=27']
Exploring Operation: 27-15=12, Resulting Numbers: [75, 12]
Generated Node #0,3,0: 75:[75, 12] Operation: 27-15=12
Exploring Operation: 15+27=42, Resulting Numbers: [75, 42]
Generated Node #0,3,1: 75:[75, 42] Operation: 15+27=42
Exploring Operation: 15+75=90, Resulting Numbers: [27, 90]
Generated Node #0,3,2: 75:[27, 90] Operation: 15+75=90
Exploring Operation: 75-15=60, Resulting Numbers: [27, 60]
Generated Node #0,3,3: 75:[27, 60] Operation: 75-15=60
Exploring Operation: 75/15=5, Resulting Numbers: [27, 5]
Generated Node #0,3,4: 75:[27, 5] Operation: 75/15=5
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 75:[27, 5], Operations: ['12+15=27', '75/15=5']
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 75:[75, 12], Operations: ['12+15=27', '27-15=12']
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 75*12=900, Resulting Numbers: [900]
900,75 unequal: No Solution
Exploring Operation: 75+12=87, Resulting Numbers: [87]
87,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 75:[75, 42], Operations: ['12+15=27', '15+27=42']
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,75 unequal: No Solution
Exploring Operation: 75+42=117, Resulting Numbers: [117]
117,75 unequal: No Solution
Exploring Operation: 75*42=3150, Resulting Numbers: [3150]
3150,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 75:[27, 90], Operations: ['12+15=27', '15+75=90']
Exploring Operation: 27+90=117, Resulting Numbers: [117]
117,75 unequal: No Solution
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 27*90=2430, Resulting Numbers: [2430]
2430,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 75:[27, 60], Operations: ['12+15=27', '75-15=60']
Exploring Operation: 27*60=1620, Resulting Numbers: [1620]
1620,75 unequal: No Solution
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,75 unequal: No Solution
Exploring Operation: 27+60=87, Resulting Numbers: [87]
87,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[12, 15, 5], Operations: ['75/15=5']
Exploring Operation: 12+15=27, Resulting Numbers: [5, 27]
Generated Node #0,1,0: 75:[5, 27] Operation: 12+15=27
Exploring Operation: 12-5=7, Resulting Numbers: [15, 7]
Generated Node #0,1,1: 75:[15, 7] Operation: 12-5=7
Exploring Operation: 15*5=75, Resulting Numbers: [12, 75]
Generated Node #0,1,2: 75:[12, 75] Operation: 15*5=75
Exploring Operation: 15-12=3, Resulting Numbers: [5, 3]
Generated Node #0,1,3: 75:[5, 3] Operation: 15-12=3
Exploring Operation: 12+5=17, Resulting Numbers: [15, 17]
Generated Node #0,1,4: 75:[15, 17] Operation: 12+5=17
Moving to Node #0,1,3
Current State: 75:[5, 3], Operations: ['75/15=5', '15-12=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[15, 7], Operations: ['75/15=5', '12-5=7']
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,75 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[5, 27], Operations: ['75/15=5', '12+15=27']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,75 unequal: No Solution
Moving to Node #0,1,4
Current State: 75:[15, 17], Operations: ['75/15=5', '12+5=17']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,75 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[12, 75], Operations: ['75/15=5', '15*5=75']
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 12+75=87, Resulting Numbers: [87]
87,75 unequal: No Solution
Exploring Operation: 12*75=900, Resulting Numbers: [900]
900,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
24,
92,
90,
18
] | 84 | [
"24+18=42",
"92-90=2",
"42*2=84"
] | Current State: 84:[24, 92, 90, 18], Operations: []
Exploring Operation: 24+18=42, Resulting Numbers: [92, 90, 42]
Generated Node #2: [92, 90, 42] from Operation: 24+18=42
Current State: 84:[92, 90, 42], Operations: ['24+18=42']
Exploring Operation: 92-90=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 92-90=2
Current State: 84:[42, 2], Operations: ['24+18=42', '92-90=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[24, 92, 90, 18], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [24, 18, 2]
Generated Node #0,0: 84:[24, 18, 2] Operation: 92-90=2
Exploring Operation: 24+18=42, Resulting Numbers: [92, 90, 42]
Generated Node #0,1: 84:[92, 90, 42] Operation: 24+18=42
Exploring Operation: 90/18=5, Resulting Numbers: [24, 92, 5]
Generated Node #0,2: 84:[24, 92, 5] Operation: 90/18=5
Exploring Operation: 24-18=6, Resulting Numbers: [92, 90, 6]
Generated Node #0,3: 84:[92, 90, 6] Operation: 24-18=6
Moving to Node #0,0
Current State: 84:[24, 18, 2], Operations: ['92-90=2']
Exploring Operation: 24-2=22, Resulting Numbers: [18, 22]
Generated Node #0,0,0: 84:[18, 22] Operation: 24-2=22
Exploring Operation: 24/2=12, Resulting Numbers: [18, 12]
Generated Node #0,0,1: 84:[18, 12] Operation: 24/2=12
Exploring Operation: 24+18=42, Resulting Numbers: [2, 42]
Generated Node #0,0,2: 84:[2, 42] Operation: 24+18=42
Exploring Operation: 24-18=6, Resulting Numbers: [2, 6]
Generated Node #0,0,3: 84:[2, 6] Operation: 24-18=6
Moving to Node #0,2
Current State: 84:[24, 92, 5], Operations: ['90/18=5']
Exploring Operation: 92-5=87, Resulting Numbers: [24, 87]
Generated Node #0,2,0: 84:[24, 87] Operation: 92-5=87
Exploring Operation: 24-5=19, Resulting Numbers: [92, 19]
Generated Node #0,2,1: 84:[92, 19] Operation: 24-5=19
Exploring Operation: 92+5=97, Resulting Numbers: [24, 97]
Generated Node #0,2,2: 84:[24, 97] Operation: 92+5=97
Exploring Operation: 24+5=29, Resulting Numbers: [92, 29]
Generated Node #0,2,3: 84:[92, 29] Operation: 24+5=29
Moving to Node #0,3
Current State: 84:[92, 90, 6], Operations: ['24-18=6']
Exploring Operation: 92-90=2, Resulting Numbers: [6, 2]
Generated Node #0,3,0: 84:[6, 2] Operation: 92-90=2
Exploring Operation: 92-6=86, Resulting Numbers: [90, 86]
Generated Node #0,3,1: 84:[90, 86] Operation: 92-6=86
Exploring Operation: 90/6=15, Resulting Numbers: [92, 15]
Generated Node #0,3,2: 84:[92, 15] Operation: 90/6=15
Exploring Operation: 90-6=84, Resulting Numbers: [92, 84]
Generated Node #0,3,3: 84:[92, 84] Operation: 90-6=84
Moving to Node #0,1
Current State: 84:[92, 90, 42], Operations: ['24+18=42']
Exploring Operation: 92-90=2, Resulting Numbers: [42, 2]
Generated Node #0,1,0: 84:[42, 2] Operation: 92-90=2
Exploring Operation: 92+42=134, Resulting Numbers: [90, 134]
Generated Node #0,1,1: 84:[90, 134] Operation: 92+42=134
Exploring Operation: 90-42=48, Resulting Numbers: [92, 48]
Generated Node #0,1,2: 84:[92, 48] Operation: 90-42=48
Exploring Operation: 92-42=50, Resulting Numbers: [90, 50]
Generated Node #0,1,3: 84:[90, 50] Operation: 92-42=50
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[42, 2], Operations: ['24+18=42', '92-90=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[24, 92, 90, 18], Operations: []
Exploring Operation: 24+18=42, Resulting Numbers: [92, 90, 42]
Generated Node #0,1: 84:[92, 90, 42] Operation: 24+18=42
Moving to Node #0,1
Current State: 84:[92, 90, 42], Operations: ['24+18=42']
Exploring Operation: 92-90=2, Resulting Numbers: [42, 2]
Generated Node #0,1,0: 84:[42, 2] Operation: 92-90=2
Moving to Node #0,1,0
Current State: 84:[42, 2], Operations: ['24+18=42', '92-90=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | mult_heuristic |
[
48,
16,
39,
82
] | 57 | [
"48+16=64",
"39+82=121",
"121-64=57"
] | Current State: 57:[48, 16, 39, 82], Operations: []
Exploring Operation: 48+16=64, Resulting Numbers: [39, 82, 64]
Generated Node #2: [39, 82, 64] from Operation: 48+16=64
Current State: 57:[39, 82, 64], Operations: ['48+16=64']
Exploring Operation: 39+82=121, Resulting Numbers: [64, 121]
Generated Node #3: [64, 121] from Operation: 39+82=121
Current State: 57:[64, 121], Operations: ['48+16=64', '39+82=121']
Exploring Operation: 121-64=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[48, 16, 39, 82], Operations: []
Exploring Operation: 82-39=43, Resulting Numbers: [48, 16, 43]
Generated Node #0,0: 57:[48, 16, 43] Operation: 82-39=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[48, 16, 43], Operations: ['82-39=43']
Exploring Operation: 48-43=5, Resulting Numbers: [16, 5]
Generated Node #0,0,0: 57:[16, 5] Operation: 48-43=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[16, 5], Operations: ['82-39=43', '48-43=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
4,
64,
1,
36
] | 33 | [
"4+64=68",
"36-1=35",
"68-35=33"
] | Current State: 33:[4, 64, 1, 36], Operations: []
Exploring Operation: 4+64=68, Resulting Numbers: [1, 36, 68]
Generated Node #2: [1, 36, 68] from Operation: 4+64=68
Current State: 33:[1, 36, 68], Operations: ['4+64=68']
Exploring Operation: 36-1=35, Resulting Numbers: [68, 35]
Generated Node #3: [68, 35] from Operation: 36-1=35
Current State: 33:[68, 35], Operations: ['4+64=68', '36-1=35']
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[4, 64, 1, 36], Operations: []
Exploring Operation: 64-36=28, Resulting Numbers: [4, 1, 28]
Generated Node #0,0: 33:[4, 1, 28] Operation: 64-36=28
Exploring Operation: 36-4=32, Resulting Numbers: [64, 1, 32]
Generated Node #0,1: 33:[64, 1, 32] Operation: 36-4=32
Exploring Operation: 64/4=16, Resulting Numbers: [1, 36, 16]
Generated Node #0,2: 33:[1, 36, 16] Operation: 64/4=16
Exploring Operation: 64-4=60, Resulting Numbers: [1, 36, 60]
Generated Node #0,3: 33:[1, 36, 60] Operation: 64-4=60
Exploring Operation: 4-1=3, Resulting Numbers: [64, 36, 3]
Generated Node #0,4: 33:[64, 36, 3] Operation: 4-1=3
Moving to Node #0,0
Current State: 33:[4, 1, 28], Operations: ['64-36=28']
Exploring Operation: 4-1=3, Resulting Numbers: [28, 3]
Generated Node #0,0,0: 33:[28, 3] Operation: 4-1=3
Exploring Operation: 4/1=4, Resulting Numbers: [28, 4]
Generated Node #0,0,1: 33:[28, 4] Operation: 4/1=4
Exploring Operation: 4*1=4, Resulting Numbers: [28, 4]
Generated Node #0,0,2: 33:[28, 4] Operation: 4*1=4
Exploring Operation: 4+28=32, Resulting Numbers: [1, 32]
Generated Node #0,0,3: 33:[1, 32] Operation: 4+28=32
Exploring Operation: 1+28=29, Resulting Numbers: [4, 29]
Generated Node #0,0,4: 33:[4, 29] Operation: 1+28=29
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 33:[1, 32], Operations: ['64-36=28', '4+28=32']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[4, 64, 1, 36], Operations: []
Exploring Operation: 64-36=28, Resulting Numbers: [4, 1, 28]
Generated Node #0,0: 33:[4, 1, 28] Operation: 64-36=28
Moving to Node #0,0
Current State: 33:[4, 1, 28], Operations: ['64-36=28']
Exploring Operation: 4+28=32, Resulting Numbers: [1, 32]
Generated Node #0,0,3: 33:[1, 32] Operation: 4+28=32
Moving to Node #0,0,3
Current State: 33:[1, 32], Operations: ['64-36=28', '4+28=32']
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
46,
44,
28,
84
] | 58 | [
"46-44=2",
"84-28=56",
"2+56=58"
] | Current State: 58:[46, 44, 28, 84], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [28, 84, 2]
Generated Node #2: [28, 84, 2] from Operation: 46-44=2
Current State: 58:[28, 84, 2], Operations: ['46-44=2']
Exploring Operation: 84-28=56, Resulting Numbers: [2, 56]
Generated Node #3: [2, 56] from Operation: 84-28=56
Current State: 58:[2, 56], Operations: ['46-44=2', '84-28=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[46, 44, 28, 84], Operations: []
Exploring Operation: 84-44=40, Resulting Numbers: [46, 28, 40]
Generated Node #0,0: 58:[46, 28, 40] Operation: 84-44=40
Exploring Operation: 46-44=2, Resulting Numbers: [28, 84, 2]
Generated Node #0,1: 58:[28, 84, 2] Operation: 46-44=2
Exploring Operation: 84-46=38, Resulting Numbers: [44, 28, 38]
Generated Node #0,2: 58:[44, 28, 38] Operation: 84-46=38
Moving to Node #0,0
Current State: 58:[46, 28, 40], Operations: ['84-44=40']
Exploring Operation: 46-28=18, Resulting Numbers: [40, 18]
Generated Node #0,0,0: 58:[40, 18] Operation: 46-28=18
Exploring Operation: 28+40=68, Resulting Numbers: [46, 68]
Generated Node #0,0,1: 58:[46, 68] Operation: 28+40=68
Exploring Operation: 46-40=6, Resulting Numbers: [28, 6]
Generated Node #0,0,2: 58:[28, 6] Operation: 46-40=6
Moving to Node #0,2
Current State: 58:[44, 28, 38], Operations: ['84-46=38']
Exploring Operation: 44-38=6, Resulting Numbers: [28, 6]
Generated Node #0,2,0: 58:[28, 6] Operation: 44-38=6
Exploring Operation: 28+38=66, Resulting Numbers: [44, 66]
Generated Node #0,2,1: 58:[44, 66] Operation: 28+38=66
Exploring Operation: 44-28=16, Resulting Numbers: [38, 16]
Generated Node #0,2,2: 58:[38, 16] Operation: 44-28=16
Moving to Node #0,1
Current State: 58:[28, 84, 2], Operations: ['46-44=2']
Exploring Operation: 84/28=3, Resulting Numbers: [2, 3]
Generated Node #0,1,0: 58:[2, 3] Operation: 84/28=3
Exploring Operation: 84-28=56, Resulting Numbers: [2, 56]
Generated Node #0,1,1: 58:[2, 56] Operation: 84-28=56
Exploring Operation: 84/2=42, Resulting Numbers: [28, 42]
Generated Node #0,1,2: 58:[28, 42] Operation: 84/2=42
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[2, 3], Operations: ['46-44=2', '84/28=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[2, 56], Operations: ['46-44=2', '84-28=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[46, 44, 28, 84], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [28, 84, 2]
Generated Node #0,1: 58:[28, 84, 2] Operation: 46-44=2
Moving to Node #0,1
Current State: 58:[28, 84, 2], Operations: ['46-44=2']
Exploring Operation: 84-28=56, Resulting Numbers: [2, 56]
Generated Node #0,1,1: 58:[2, 56] Operation: 84-28=56
Moving to Node #0,1,1
Current State: 58:[2, 56], Operations: ['46-44=2', '84-28=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_3 | mult_heuristic |
[
15,
75,
89,
10
] | 95 | [
"75-15=60",
"60/10=6",
"89+6=95"
] | Current State: 95:[15, 75, 89, 10], Operations: []
Exploring Operation: 75-15=60, Resulting Numbers: [89, 10, 60]
Generated Node #2: [89, 10, 60] from Operation: 75-15=60
Current State: 95:[89, 10, 60], Operations: ['75-15=60']
Exploring Operation: 60/10=6, Resulting Numbers: [89, 6]
Generated Node #3: [89, 6] from Operation: 60/10=6
Current State: 95:[89, 6], Operations: ['75-15=60', '60/10=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[15, 75, 89, 10], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [89, 10, 5]
Generated Node #0,0: 95:[89, 10, 5] Operation: 75/15=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[89, 10, 5], Operations: ['75/15=5']
Exploring Operation: 89+10=99, Resulting Numbers: [5, 99]
Generated Node #0,0,0: 95:[5, 99] Operation: 89+10=99
Moving to Node #0,0,0
Current State: 95:[5, 99], Operations: ['75/15=5', '89+10=99']
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
95,
68,
97,
39
] | 85 | [
"95-68=27",
"97-39=58",
"27+58=85"
] | Current State: 85:[95, 68, 97, 39], Operations: []
Exploring Operation: 95-68=27, Resulting Numbers: [97, 39, 27]
Generated Node #2: [97, 39, 27] from Operation: 95-68=27
Current State: 85:[97, 39, 27], Operations: ['95-68=27']
Exploring Operation: 97-39=58, Resulting Numbers: [27, 58]
Generated Node #3: [27, 58] from Operation: 97-39=58
Current State: 85:[27, 58], Operations: ['95-68=27', '97-39=58']
Exploring Operation: 27+58=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[95, 68, 97, 39], Operations: []
Exploring Operation: 68-39=29, Resulting Numbers: [95, 97, 29]
Generated Node #0,0: 85:[95, 97, 29] Operation: 68-39=29
Exploring Operation: 97-95=2, Resulting Numbers: [68, 39, 2]
Generated Node #0,1: 85:[68, 39, 2] Operation: 97-95=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[95, 97, 29], Operations: ['68-39=29']
Exploring Operation: 97-29=68, Resulting Numbers: [95, 68]
Generated Node #0,0,0: 85:[95, 68] Operation: 97-29=68
Exploring Operation: 97-95=2, Resulting Numbers: [29, 2]
Generated Node #0,0,1: 85:[29, 2] Operation: 97-95=2
Moving to Node #0,0,1
Current State: 85:[29, 2], Operations: ['68-39=29', '97-95=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,85 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[95, 68], Operations: ['68-39=29', '97-29=68']
Exploring Operation: 95+68=163, Resulting Numbers: [163]
163,85 unequal: No Solution
Exploring Operation: 95-68=27, Resulting Numbers: [27]
27,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[68, 39, 2], Operations: ['97-95=2']
Exploring Operation: 39*2=78, Resulting Numbers: [68, 78]
Generated Node #0,1,0: 85:[68, 78] Operation: 39*2=78
Exploring Operation: 68-39=29, Resulting Numbers: [2, 29]
Generated Node #0,1,1: 85:[2, 29] Operation: 68-39=29
Moving to Node #0,1,1
Current State: 85:[2, 29], Operations: ['97-95=2', '68-39=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,85 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[68, 78], Operations: ['97-95=2', '39*2=78']
Exploring Operation: 68+78=146, Resulting Numbers: [146]
146,85 unequal: No Solution
Exploring Operation: 78-68=10, Resulting Numbers: [10]
10,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
61,
3,
11,
60
] | 70 | [
"61-11=50",
"60/3=20",
"50+20=70"
] | Current State: 70:[61, 3, 11, 60], Operations: []
Exploring Operation: 61-11=50, Resulting Numbers: [3, 60, 50]
Generated Node #2: [3, 60, 50] from Operation: 61-11=50
Current State: 70:[3, 60, 50], Operations: ['61-11=50']
Exploring Operation: 60/3=20, Resulting Numbers: [50, 20]
Generated Node #3: [50, 20] from Operation: 60/3=20
Current State: 70:[50, 20], Operations: ['61-11=50', '60/3=20']
Exploring Operation: 50+20=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[61, 3, 11, 60], Operations: []
Exploring Operation: 61-60=1, Resulting Numbers: [3, 11, 1]
Generated Node #0,0: 70:[3, 11, 1] Operation: 61-60=1
Exploring Operation: 11+60=71, Resulting Numbers: [61, 3, 71]
Generated Node #0,1: 70:[61, 3, 71] Operation: 11+60=71
Moving to Node #0,0
Current State: 70:[3, 11, 1], Operations: ['61-60=1']
Exploring Operation: 3+11=14, Resulting Numbers: [1, 14]
Generated Node #0,0,0: 70:[1, 14] Operation: 3+11=14
Exploring Operation: 3-1=2, Resulting Numbers: [11, 2]
Generated Node #0,0,1: 70:[11, 2] Operation: 3-1=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[1, 14], Operations: ['61-60=1', '3+11=14']
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[11, 2], Operations: ['61-60=1', '3-1=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 70:[61, 3, 71], Operations: ['11+60=71']
Exploring Operation: 71-61=10, Resulting Numbers: [3, 10]
Generated Node #0,1,0: 70:[3, 10] Operation: 71-61=10
Exploring Operation: 61+3=64, Resulting Numbers: [71, 64]
Generated Node #0,1,1: 70:[71, 64] Operation: 61+3=64
Moving to Node #0,1,0
Current State: 70:[3, 10], Operations: ['11+60=71', '71-61=10']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[71, 64], Operations: ['11+60=71', '61+3=64']
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 71+64=135, Resulting Numbers: [135]
135,70 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
2,
97,
10,
54
] | 96 | [
"97-54=43",
"2*43=86",
"10+86=96"
] | Current State: 96:[2, 97, 10, 54], Operations: []
Exploring Operation: 97-54=43, Resulting Numbers: [2, 10, 43]
Generated Node #2: [2, 10, 43] from Operation: 97-54=43
Current State: 96:[2, 10, 43], Operations: ['97-54=43']
Exploring Operation: 2*43=86, Resulting Numbers: [10, 86]
Generated Node #3: [10, 86] from Operation: 2*43=86
Current State: 96:[10, 86], Operations: ['97-54=43', '2*43=86']
Exploring Operation: 10+86=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[2, 97, 10, 54], Operations: []
Exploring Operation: 54/2=27, Resulting Numbers: [97, 10, 27]
Generated Node #0,0: 96:[97, 10, 27] Operation: 54/2=27
Exploring Operation: 54-10=44, Resulting Numbers: [2, 97, 44]
Generated Node #0,1: 96:[2, 97, 44] Operation: 54-10=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[2, 97, 44], Operations: ['54-10=44']
Exploring Operation: 44/2=22, Resulting Numbers: [97, 22]
Generated Node #0,1,0: 96:[97, 22] Operation: 44/2=22
Exploring Operation: 2+44=46, Resulting Numbers: [97, 46]
Generated Node #0,1,1: 96:[97, 46] Operation: 2+44=46
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[97, 22], Operations: ['54-10=44', '44/2=22']
Exploring Operation: 97+22=119, Resulting Numbers: [119]
119,96 unequal: No Solution
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[97, 46], Operations: ['54-10=44', '2+44=46']
Exploring Operation: 97+46=143, Resulting Numbers: [143]
143,96 unequal: No Solution
Exploring Operation: 97-46=51, Resulting Numbers: [51]
51,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[97, 10, 27], Operations: ['54/2=27']
Exploring Operation: 10+27=37, Resulting Numbers: [97, 37]
Generated Node #0,0,0: 96:[97, 37] Operation: 10+27=37
Exploring Operation: 27-10=17, Resulting Numbers: [97, 17]
Generated Node #0,0,1: 96:[97, 17] Operation: 27-10=17
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[97, 17], Operations: ['54/2=27', '27-10=17']
Exploring Operation: 97+17=114, Resulting Numbers: [114]
114,96 unequal: No Solution
Exploring Operation: 97-17=80, Resulting Numbers: [80]
80,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[97, 37], Operations: ['54/2=27', '10+27=37']
Exploring Operation: 97-37=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 97+37=134, Resulting Numbers: [134]
134,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
95,
97,
2,
10
] | 24 | [
"95+97=192",
"10-2=8",
"192/8=24"
] | Current State: 24:[95, 97, 2, 10], Operations: []
Exploring Operation: 95+97=192, Resulting Numbers: [2, 10, 192]
Generated Node #2: [2, 10, 192] from Operation: 95+97=192
Current State: 24:[2, 10, 192], Operations: ['95+97=192']
Exploring Operation: 10-2=8, Resulting Numbers: [192, 8]
Generated Node #3: [192, 8] from Operation: 10-2=8
Current State: 24:[192, 8], Operations: ['95+97=192', '10-2=8']
Exploring Operation: 192/8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[95, 97, 2, 10], Operations: []
Exploring Operation: 95-2=93, Resulting Numbers: [97, 10, 93]
Generated Node #0,0: 24:[97, 10, 93] Operation: 95-2=93
Exploring Operation: 97-10=87, Resulting Numbers: [95, 2, 87]
Generated Node #0,1: 24:[95, 2, 87] Operation: 97-10=87
Exploring Operation: 97-95=2, Resulting Numbers: [2, 10, 2]
Generated Node #0,2: 24:[2, 10, 2] Operation: 97-95=2
Exploring Operation: 95-10=85, Resulting Numbers: [97, 2, 85]
Generated Node #0,3: 24:[97, 2, 85] Operation: 95-10=85
Moving to Node #0,2
Current State: 24:[2, 10, 2], Operations: ['97-95=2']
Exploring Operation: 10+2=12, Resulting Numbers: [2, 12]
Generated Node #0,2,0: 24:[2, 12] Operation: 10+2=12
Exploring Operation: 10-2=8, Resulting Numbers: [2, 8]
Generated Node #0,2,1: 24:[2, 8] Operation: 10-2=8
Exploring Operation: 2+10=12, Resulting Numbers: [2, 12]
Generated Node #0,2,2: 24:[2, 12] Operation: 2+10=12
Exploring Operation: 10-2=8, Resulting Numbers: [2, 8]
Generated Node #0,2,3: 24:[2, 8] Operation: 10-2=8
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[2, 12], Operations: ['97-95=2', '10+2=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[95, 97, 2, 10], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [2, 10, 2]
Generated Node #0,2: 24:[2, 10, 2] Operation: 97-95=2
Moving to Node #0,2
Current State: 24:[2, 10, 2], Operations: ['97-95=2']
Exploring Operation: 10+2=12, Resulting Numbers: [2, 12]
Generated Node #0,2,0: 24:[2, 12] Operation: 10+2=12
Moving to Node #0,2,0
Current State: 24:[2, 12], Operations: ['97-95=2', '10+2=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
84,
8,
3,
12
] | 27 | [
"84-12=72",
"72/8=9",
"3*9=27"
] | Current State: 27:[84, 8, 3, 12], Operations: []
Exploring Operation: 84-12=72, Resulting Numbers: [8, 3, 72]
Generated Node #2: [8, 3, 72] from Operation: 84-12=72
Current State: 27:[8, 3, 72], Operations: ['84-12=72']
Exploring Operation: 72/8=9, Resulting Numbers: [3, 9]
Generated Node #3: [3, 9] from Operation: 72/8=9
Current State: 27:[3, 9], Operations: ['84-12=72', '72/8=9']
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[84, 8, 3, 12], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [8, 12, 28]
Generated Node #0,0: 27:[8, 12, 28] Operation: 84/3=28
Exploring Operation: 84/12=7, Resulting Numbers: [8, 3, 7]
Generated Node #0,1: 27:[8, 3, 7] Operation: 84/12=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[8, 3, 7], Operations: ['84/12=7']
Exploring Operation: 8-7=1, Resulting Numbers: [3, 1]
Generated Node #0,1,0: 27:[3, 1] Operation: 8-7=1
Exploring Operation: 3+7=10, Resulting Numbers: [8, 10]
Generated Node #0,1,1: 27:[8, 10] Operation: 3+7=10
Moving to Node #0,1,0
Current State: 27:[3, 1], Operations: ['84/12=7', '8-7=1']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[8, 10], Operations: ['84/12=7', '3+7=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[8, 12, 28], Operations: ['84/3=28']
Exploring Operation: 12-8=4, Resulting Numbers: [28, 4]
Generated Node #0,0,0: 27:[28, 4] Operation: 12-8=4
Exploring Operation: 8+12=20, Resulting Numbers: [28, 20]
Generated Node #0,0,1: 27:[28, 20] Operation: 8+12=20
Moving to Node #0,0,0
Current State: 27:[28, 4], Operations: ['84/3=28', '12-8=4']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[28, 20], Operations: ['84/3=28', '8+12=20']
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,27 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
93,
45,
39,
96
] | 32 | [
"96-93=3",
"39/3=13",
"45-13=32"
] | Current State: 32:[93, 45, 39, 96], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [45, 39, 3]
Generated Node #2: [45, 39, 3] from Operation: 96-93=3
Current State: 32:[45, 39, 3], Operations: ['96-93=3']
Exploring Operation: 39/3=13, Resulting Numbers: [45, 13]
Generated Node #3: [45, 13] from Operation: 39/3=13
Current State: 32:[45, 13], Operations: ['96-93=3', '39/3=13']
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[93, 45, 39, 96], Operations: []
Exploring Operation: 96-45=51, Resulting Numbers: [93, 39, 51]
Generated Node #0,0: 32:[93, 39, 51] Operation: 96-45=51
Exploring Operation: 93-45=48, Resulting Numbers: [39, 96, 48]
Generated Node #0,1: 32:[39, 96, 48] Operation: 93-45=48
Exploring Operation: 96-93=3, Resulting Numbers: [45, 39, 3]
Generated Node #0,2: 32:[45, 39, 3] Operation: 96-93=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[45, 39, 3], Operations: ['96-93=3']
Exploring Operation: 45/3=15, Resulting Numbers: [39, 15]
Generated Node #0,2,0: 32:[39, 15] Operation: 45/3=15
Exploring Operation: 39/3=13, Resulting Numbers: [45, 13]
Generated Node #0,2,1: 32:[45, 13] Operation: 39/3=13
Exploring Operation: 45-39=6, Resulting Numbers: [3, 6]
Generated Node #0,2,2: 32:[3, 6] Operation: 45-39=6
Moving to Node #0,2,2
Current State: 32:[3, 6], Operations: ['96-93=3', '45-39=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[39, 15], Operations: ['96-93=3', '45/3=15']
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,32 unequal: No Solution
Exploring Operation: 39*15=585, Resulting Numbers: [585]
585,32 unequal: No Solution
Exploring Operation: 39+15=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[45, 13], Operations: ['96-93=3', '39/3=13']
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,32 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[93, 45, 39, 96], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [45, 39, 3]
Generated Node #0,2: 32:[45, 39, 3] Operation: 96-93=3
Moving to Node #0,2
Current State: 32:[45, 39, 3], Operations: ['96-93=3']
Exploring Operation: 39/3=13, Resulting Numbers: [45, 13]
Generated Node #0,2,1: 32:[45, 13] Operation: 39/3=13
Moving to Node #0,2,1
Current State: 32:[45, 13], Operations: ['96-93=3', '39/3=13']
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
2,
93,
70,
24
] | 23 | [
"2*70=140",
"93+24=117",
"140-117=23"
] | Current State: 23:[2, 93, 70, 24], Operations: []
Exploring Operation: 2*70=140, Resulting Numbers: [93, 24, 140]
Generated Node #2: [93, 24, 140] from Operation: 2*70=140
Current State: 23:[93, 24, 140], Operations: ['2*70=140']
Exploring Operation: 93+24=117, Resulting Numbers: [140, 117]
Generated Node #3: [140, 117] from Operation: 93+24=117
Current State: 23:[140, 117], Operations: ['2*70=140', '93+24=117']
Exploring Operation: 140-117=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[2, 93, 70, 24], Operations: []
Exploring Operation: 93-24=69, Resulting Numbers: [2, 70, 69]
Generated Node #0,0: 23:[2, 70, 69] Operation: 93-24=69
Exploring Operation: 70/2=35, Resulting Numbers: [93, 24, 35]
Generated Node #0,1: 23:[93, 24, 35] Operation: 70/2=35
Exploring Operation: 70-24=46, Resulting Numbers: [2, 93, 46]
Generated Node #0,2: 23:[2, 93, 46] Operation: 70-24=46
Exploring Operation: 93-70=23, Resulting Numbers: [2, 24, 23]
Generated Node #0,3: 23:[2, 24, 23] Operation: 93-70=23
Exploring Operation: 93-2=91, Resulting Numbers: [70, 24, 91]
Generated Node #0,4: 23:[70, 24, 91] Operation: 93-2=91
Moving to Node #0,3
Current State: 23:[2, 24, 23], Operations: ['93-70=23']
Exploring Operation: 2+23=25, Resulting Numbers: [24, 25]
Generated Node #0,3,0: 23:[24, 25] Operation: 2+23=25
Exploring Operation: 24-2=22, Resulting Numbers: [23, 22]
Generated Node #0,3,1: 23:[23, 22] Operation: 24-2=22
Exploring Operation: 2+24=26, Resulting Numbers: [23, 26]
Generated Node #0,3,2: 23:[23, 26] Operation: 2+24=26
Exploring Operation: 24/2=12, Resulting Numbers: [23, 12]
Generated Node #0,3,3: 23:[23, 12] Operation: 24/2=12
Exploring Operation: 23-2=21, Resulting Numbers: [24, 21]
Generated Node #0,3,4: 23:[24, 21] Operation: 23-2=21
Moving to Node #0,1
Current State: 23:[93, 24, 35], Operations: ['70/2=35']
Exploring Operation: 35-24=11, Resulting Numbers: [93, 11]
Generated Node #0,1,0: 23:[93, 11] Operation: 35-24=11
Exploring Operation: 93-35=58, Resulting Numbers: [24, 58]
Generated Node #0,1,1: 23:[24, 58] Operation: 93-35=58
Exploring Operation: 93+35=128, Resulting Numbers: [24, 128]
Generated Node #0,1,2: 23:[24, 128] Operation: 93+35=128
Exploring Operation: 93-24=69, Resulting Numbers: [35, 69]
Generated Node #0,1,3: 23:[35, 69] Operation: 93-24=69
Exploring Operation: 93+24=117, Resulting Numbers: [35, 117]
Generated Node #0,1,4: 23:[35, 117] Operation: 93+24=117
Moving to Node #0,0
Current State: 23:[2, 70, 69], Operations: ['93-24=69']
Exploring Operation: 70/2=35, Resulting Numbers: [69, 35]
Generated Node #0,0,0: 23:[69, 35] Operation: 70/2=35
Exploring Operation: 70-2=68, Resulting Numbers: [69, 68]
Generated Node #0,0,1: 23:[69, 68] Operation: 70-2=68
Exploring Operation: 2+70=72, Resulting Numbers: [69, 72]
Generated Node #0,0,2: 23:[69, 72] Operation: 2+70=72
Exploring Operation: 69-2=67, Resulting Numbers: [70, 67]
Generated Node #0,0,3: 23:[70, 67] Operation: 69-2=67
Exploring Operation: 70-69=1, Resulting Numbers: [2, 1]
Generated Node #0,0,4: 23:[2, 1] Operation: 70-69=1
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 23:[2, 1], Operations: ['93-24=69', '70-69=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[69, 35], Operations: ['93-24=69', '70/2=35']
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 69*35=2415, Resulting Numbers: [2415]
2415,23 unequal: No Solution
Exploring Operation: 69+35=104, Resulting Numbers: [104]
104,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[69, 68], Operations: ['93-24=69', '70-2=68']
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 69+68=137, Resulting Numbers: [137]
137,23 unequal: No Solution
Exploring Operation: 69*68=4692, Resulting Numbers: [4692]
4692,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 23:[70, 67], Operations: ['93-24=69', '69-2=67']
Exploring Operation: 70+67=137, Resulting Numbers: [137]
137,23 unequal: No Solution
Exploring Operation: 70-67=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 70*67=4690, Resulting Numbers: [4690]
4690,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[69, 72], Operations: ['93-24=69', '2+70=72']
Exploring Operation: 72-69=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 69+72=141, Resulting Numbers: [141]
141,23 unequal: No Solution
Exploring Operation: 69*72=4968, Resulting Numbers: [4968]
4968,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 23:[2, 93, 46], Operations: ['70-24=46']
Exploring Operation: 93-46=47, Resulting Numbers: [2, 47]
Generated Node #0,2,0: 23:[2, 47] Operation: 93-46=47
Exploring Operation: 93-2=91, Resulting Numbers: [46, 91]
Generated Node #0,2,1: 23:[46, 91] Operation: 93-2=91
Exploring Operation: 46-2=44, Resulting Numbers: [93, 44]
Generated Node #0,2,2: 23:[93, 44] Operation: 46-2=44
Exploring Operation: 46/2=23, Resulting Numbers: [93, 23]
Generated Node #0,2,3: 23:[93, 23] Operation: 46/2=23
Exploring Operation: 2+93=95, Resulting Numbers: [46, 95]
Generated Node #0,2,4: 23:[46, 95] Operation: 2+93=95
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[2, 47], Operations: ['70-24=46', '93-46=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,23 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 23:[93, 23], Operations: ['70-24=46', '46/2=23']
Exploring Operation: 93*23=2139, Resulting Numbers: [2139]
2139,23 unequal: No Solution
Exploring Operation: 93+23=116, Resulting Numbers: [116]
116,23 unequal: No Solution
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[46, 91], Operations: ['70-24=46', '93-2=91']
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 46+91=137, Resulting Numbers: [137]
137,23 unequal: No Solution
Exploring Operation: 46*91=4186, Resulting Numbers: [4186]
4186,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[93, 44], Operations: ['70-24=46', '46-2=44']
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 93*44=4092, Resulting Numbers: [4092]
4092,23 unequal: No Solution
Exploring Operation: 93+44=137, Resulting Numbers: [137]
137,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 23:[46, 95], Operations: ['70-24=46', '2+93=95']
Exploring Operation: 46*95=4370, Resulting Numbers: [4370]
4370,23 unequal: No Solution
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 46+95=141, Resulting Numbers: [141]
141,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 23:[70, 24, 91], Operations: ['93-2=91']
Exploring Operation: 91-70=21, Resulting Numbers: [24, 21]
Generated Node #0,4,0: 23:[24, 21] Operation: 91-70=21
Exploring Operation: 70-24=46, Resulting Numbers: [91, 46]
Generated Node #0,4,1: 23:[91, 46] Operation: 70-24=46
Exploring Operation: 91-24=67, Resulting Numbers: [70, 67]
Generated Node #0,4,2: 23:[70, 67] Operation: 91-24=67
Exploring Operation: 70+91=161, Resulting Numbers: [24, 161]
Generated Node #0,4,3: 23:[24, 161] Operation: 70+91=161
Exploring Operation: 70+24=94, Resulting Numbers: [91, 94]
Generated Node #0,4,4: 23:[91, 94] Operation: 70+24=94
Moving to Node #0,3,1
Current State: 23:[23, 22], Operations: ['93-70=23', '24-2=22']
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,23 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[23, 26], Operations: ['93-70=23', '2+24=26']
Exploring Operation: 23+26=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 23*26=598, Resulting Numbers: [598]
598,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[24, 25], Operations: ['93-70=23', '2+23=25']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,23 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Moving to Node #0,4,0
Current State: 23:[24, 21], Operations: ['93-2=91', '91-70=21']
Exploring Operation: 24*21=504, Resulting Numbers: [504]
504,23 unequal: No Solution
Exploring Operation: 24+21=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Moving to Node #0,3,4
Current State: 23:[24, 21], Operations: ['93-70=23', '23-2=21']
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 24+21=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 24*21=504, Resulting Numbers: [504]
504,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[23, 12], Operations: ['93-70=23', '24/2=12']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,23 unequal: No Solution
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[24, 58], Operations: ['70/2=35', '93-35=58']
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 24*58=1392, Resulting Numbers: [1392]
1392,23 unequal: No Solution
Exploring Operation: 24+58=82, Resulting Numbers: [82]
82,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[35, 69], Operations: ['70/2=35', '93-24=69']
Exploring Operation: 35+69=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 35*69=2415, Resulting Numbers: [2415]
2415,23 unequal: No Solution
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[93, 11], Operations: ['70/2=35', '35-24=11']
Exploring Operation: 93*11=1023, Resulting Numbers: [1023]
1023,23 unequal: No Solution
Exploring Operation: 93+11=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,23 unequal: No Solution
Moving to Node #0,4,2
Current State: 23:[70, 67], Operations: ['93-2=91', '91-24=67']
Exploring Operation: 70*67=4690, Resulting Numbers: [4690]
4690,23 unequal: No Solution
Exploring Operation: 70-67=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 70+67=137, Resulting Numbers: [137]
137,23 unequal: No Solution
Moving to Node #0,4,1
Current State: 23:[91, 46], Operations: ['93-2=91', '70-24=46']
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 91*46=4186, Resulting Numbers: [4186]
4186,23 unequal: No Solution
Exploring Operation: 91+46=137, Resulting Numbers: [137]
137,23 unequal: No Solution
Moving to Node #0,1,4
Current State: 23:[35, 117], Operations: ['70/2=35', '93+24=117']
Exploring Operation: 35+117=152, Resulting Numbers: [152]
152,23 unequal: No Solution
Exploring Operation: 35*117=4095, Resulting Numbers: [4095]
4095,23 unequal: No Solution
Exploring Operation: 117-35=82, Resulting Numbers: [82]
82,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[24, 128], Operations: ['70/2=35', '93+35=128']
Exploring Operation: 128-24=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 24+128=152, Resulting Numbers: [152]
152,23 unequal: No Solution
Exploring Operation: 24*128=3072, Resulting Numbers: [3072]
3072,23 unequal: No Solution
Moving to Node #0,4,3
Current State: 23:[24, 161], Operations: ['93-2=91', '70+91=161']
Exploring Operation: 161-24=137, Resulting Numbers: [137]
137,23 unequal: No Solution
Exploring Operation: 24*161=3864, Resulting Numbers: [3864]
3864,23 unequal: No Solution
Exploring Operation: 24+161=185, Resulting Numbers: [185]
185,23 unequal: No Solution
Moving to Node #0,4,4
Current State: 23:[91, 94], Operations: ['93-2=91', '70+24=94']
Exploring Operation: 91+94=185, Resulting Numbers: [185]
185,23 unequal: No Solution
Exploring Operation: 94-91=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 91*94=8554, Resulting Numbers: [8554]
8554,23 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
18,
5,
36,
72
] | 16 | [
"72/18=4",
"5*4=20",
"36-20=16"
] | Current State: 16:[18, 5, 36, 72], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [5, 36, 4]
Generated Node #2: [5, 36, 4] from Operation: 72/18=4
Current State: 16:[5, 36, 4], Operations: ['72/18=4']
Exploring Operation: 5*4=20, Resulting Numbers: [36, 20]
Generated Node #3: [36, 20] from Operation: 5*4=20
Current State: 16:[36, 20], Operations: ['72/18=4', '5*4=20']
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[18, 5, 36, 72], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [18, 5, 2]
Generated Node #0,0: 16:[18, 5, 2] Operation: 72/36=2
Exploring Operation: 36/18=2, Resulting Numbers: [5, 72, 2]
Generated Node #0,1: 16:[5, 72, 2] Operation: 36/18=2
Exploring Operation: 72-36=36, Resulting Numbers: [18, 5, 36]
Generated Node #0,2: 16:[18, 5, 36] Operation: 72-36=36
Exploring Operation: 72/18=4, Resulting Numbers: [5, 36, 4]
Generated Node #0,3: 16:[5, 36, 4] Operation: 72/18=4
Moving to Node #0,0
Current State: 16:[18, 5, 2], Operations: ['72/36=2']
Exploring Operation: 18-2=16, Resulting Numbers: [5, 16]
Generated Node #0,0,0: 16:[5, 16] Operation: 18-2=16
Exploring Operation: 18-5=13, Resulting Numbers: [2, 13]
Generated Node #0,0,1: 16:[2, 13] Operation: 18-5=13
Exploring Operation: 18/2=9, Resulting Numbers: [5, 9]
Generated Node #0,0,2: 16:[5, 9] Operation: 18/2=9
Exploring Operation: 5+2=7, Resulting Numbers: [18, 7]
Generated Node #0,0,3: 16:[18, 7] Operation: 5+2=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[5, 16], Operations: ['72/36=2', '18-2=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 16:[5, 9], Operations: ['72/36=2', '18/2=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[2, 13], Operations: ['72/36=2', '18-5=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 16:[18, 7], Operations: ['72/36=2', '5+2=7']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,16 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 16:[5, 36, 4], Operations: ['72/18=4']
Exploring Operation: 36-5=31, Resulting Numbers: [4, 31]
Generated Node #0,3,0: 16:[4, 31] Operation: 36-5=31
Exploring Operation: 36/4=9, Resulting Numbers: [5, 9]
Generated Node #0,3,1: 16:[5, 9] Operation: 36/4=9
Exploring Operation: 5+4=9, Resulting Numbers: [36, 9]
Generated Node #0,3,2: 16:[36, 9] Operation: 5+4=9
Exploring Operation: 36-4=32, Resulting Numbers: [5, 32]
Generated Node #0,3,3: 16:[5, 32] Operation: 36-4=32
Moving to Node #0,2
Current State: 16:[18, 5, 36], Operations: ['72-36=36']
Exploring Operation: 36/18=2, Resulting Numbers: [5, 2]
Generated Node #0,2,0: 16:[5, 2] Operation: 36/18=2
Exploring Operation: 36-5=31, Resulting Numbers: [18, 31]
Generated Node #0,2,1: 16:[18, 31] Operation: 36-5=31
Exploring Operation: 36-18=18, Resulting Numbers: [5, 18]
Generated Node #0,2,2: 16:[5, 18] Operation: 36-18=18
Exploring Operation: 18-5=13, Resulting Numbers: [36, 13]
Generated Node #0,2,3: 16:[36, 13] Operation: 18-5=13
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[5, 2], Operations: ['72-36=36', '36/18=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[5, 18], Operations: ['72-36=36', '36-18=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,16 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,16 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[18, 31], Operations: ['72-36=36', '36-5=31']
Exploring Operation: 18*31=558, Resulting Numbers: [558]
558,16 unequal: No Solution
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 16:[36, 13], Operations: ['72-36=36', '18-5=13']
Exploring Operation: 36+13=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,16 unequal: No Solution
Exploring Operation: 36*13=468, Resulting Numbers: [468]
468,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 16:[5, 72, 2], Operations: ['36/18=2']
Exploring Operation: 72-5=67, Resulting Numbers: [2, 67]
Generated Node #0,1,0: 16:[2, 67] Operation: 72-5=67
Exploring Operation: 5+2=7, Resulting Numbers: [72, 7]
Generated Node #0,1,1: 16:[72, 7] Operation: 5+2=7
Exploring Operation: 72-2=70, Resulting Numbers: [5, 70]
Generated Node #0,1,2: 16:[5, 70] Operation: 72-2=70
Exploring Operation: 72/2=36, Resulting Numbers: [5, 36]
Generated Node #0,1,3: 16:[5, 36] Operation: 72/2=36
Moving to Node #0,3,1
Current State: 16:[5, 9], Operations: ['72/18=4', '36/4=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Moving to Node #0,3,0
Current State: 16:[4, 31], Operations: ['72/18=4', '36-5=31']
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,16 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[5, 32], Operations: ['72/18=4', '36-4=32']
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,16 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,16 unequal: No Solution
Moving to Node #0,1,3
Current State: 16:[5, 36], Operations: ['36/18=2', '72/2=36']
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,16 unequal: No Solution
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,16 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[36, 9], Operations: ['72/18=4', '5+4=9']
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,16 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Exploring Operation: 36*9=324, Resulting Numbers: [324]
324,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[2, 67], Operations: ['36/18=2', '72-5=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,16 unequal: No Solution
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[5, 70], Operations: ['36/18=2', '72-2=70']
Exploring Operation: 5*70=350, Resulting Numbers: [350]
350,16 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,16 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 5+70=75, Resulting Numbers: [75]
75,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[72, 7], Operations: ['36/18=2', '5+2=7']
Exploring Operation: 72+7=79, Resulting Numbers: [79]
79,16 unequal: No Solution
Exploring Operation: 72*7=504, Resulting Numbers: [504]
504,16 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,16 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
85,
60,
54,
25
] | 99 | [
"85+25=110",
"54*110=5940",
"5940/60=99"
] | Current State: 99:[85, 60, 54, 25], Operations: []
Exploring Operation: 85+25=110, Resulting Numbers: [60, 54, 110]
Generated Node #2: [60, 54, 110] from Operation: 85+25=110
Current State: 99:[60, 54, 110], Operations: ['85+25=110']
Exploring Operation: 54*110=5940, Resulting Numbers: [60, 5940]
Generated Node #3: [60, 5940] from Operation: 54*110=5940
Current State: 99:[60, 5940], Operations: ['85+25=110', '54*110=5940']
Exploring Operation: 5940/60=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[85, 60, 54, 25], Operations: []
Exploring Operation: 60-54=6, Resulting Numbers: [85, 25, 6]
Generated Node #0,0: 99:[85, 25, 6] Operation: 60-54=6
Exploring Operation: 85-60=25, Resulting Numbers: [54, 25, 25]
Generated Node #0,1: 99:[54, 25, 25] Operation: 85-60=25
Moving to Node #0,0
Current State: 99:[85, 25, 6], Operations: ['60-54=6']
Exploring Operation: 85+25=110, Resulting Numbers: [6, 110]
Generated Node #0,0,0: 99:[6, 110] Operation: 85+25=110
Exploring Operation: 85+6=91, Resulting Numbers: [25, 91]
Generated Node #0,0,1: 99:[25, 91] Operation: 85+6=91
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[6, 110], Operations: ['60-54=6', '85+25=110']
Exploring Operation: 6+110=116, Resulting Numbers: [116]
116,99 unequal: No Solution
Exploring Operation: 110-6=104, Resulting Numbers: [104]
104,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[25, 91], Operations: ['60-54=6', '85+6=91']
Exploring Operation: 91-25=66, Resulting Numbers: [66]
66,99 unequal: No Solution
Exploring Operation: 25+91=116, Resulting Numbers: [116]
116,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 99:[54, 25, 25], Operations: ['85-60=25']
Exploring Operation: 54-25=29, Resulting Numbers: [25, 29]
Generated Node #0,1,0: 99:[25, 29] Operation: 54-25=29
Exploring Operation: 54-25=29, Resulting Numbers: [25, 29]
Generated Node #0,1,1: 99:[25, 29] Operation: 54-25=29
Moving to Node #0,1,0
Current State: 99:[25, 29], Operations: ['85-60=25', '54-25=29']
Exploring Operation: 25+29=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[25, 29], Operations: ['85-60=25', '54-25=29']
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 25+29=54, Resulting Numbers: [54]
54,99 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
23,
54,
34,
15
] | 37 | [
"54+15=69",
"69/23=3",
"34+3=37"
] | Current State: 37:[23, 54, 34, 15], Operations: []
Exploring Operation: 54+15=69, Resulting Numbers: [23, 34, 69]
Generated Node #2: [23, 34, 69] from Operation: 54+15=69
Current State: 37:[23, 34, 69], Operations: ['54+15=69']
Exploring Operation: 69/23=3, Resulting Numbers: [34, 3]
Generated Node #3: [34, 3] from Operation: 69/23=3
Current State: 37:[34, 3], Operations: ['54+15=69', '69/23=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[23, 54, 34, 15], Operations: []
Exploring Operation: 54-15=39, Resulting Numbers: [23, 34, 39]
Generated Node #0,0: 37:[23, 34, 39] Operation: 54-15=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[23, 34, 39], Operations: ['54-15=39']
Exploring Operation: 23+34=57, Resulting Numbers: [39, 57]
Generated Node #0,0,0: 37:[39, 57] Operation: 23+34=57
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[39, 57], Operations: ['54-15=39', '23+34=57']
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
64,
5,
50,
12
] | 86 | [
"64+12=76",
"50/5=10",
"76+10=86"
] | Current State: 86:[64, 5, 50, 12], Operations: []
Exploring Operation: 64+12=76, Resulting Numbers: [5, 50, 76]
Generated Node #2: [5, 50, 76] from Operation: 64+12=76
Current State: 86:[5, 50, 76], Operations: ['64+12=76']
Exploring Operation: 50/5=10, Resulting Numbers: [76, 10]
Generated Node #3: [76, 10] from Operation: 50/5=10
Current State: 86:[76, 10], Operations: ['64+12=76', '50/5=10']
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[64, 5, 50, 12], Operations: []
Exploring Operation: 64-12=52, Resulting Numbers: [5, 50, 52]
Generated Node #0,0: 86:[5, 50, 52] Operation: 64-12=52
Exploring Operation: 64+12=76, Resulting Numbers: [5, 50, 76]
Generated Node #0,1: 86:[5, 50, 76] Operation: 64+12=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[5, 50, 52], Operations: ['64-12=52']
Exploring Operation: 52-50=2, Resulting Numbers: [5, 2]
Generated Node #0,0,0: 86:[5, 2] Operation: 52-50=2
Exploring Operation: 50-5=45, Resulting Numbers: [52, 45]
Generated Node #0,0,1: 86:[52, 45] Operation: 50-5=45
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[5, 2], Operations: ['64-12=52', '52-50=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[52, 45], Operations: ['64-12=52', '50-5=45']
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 52+45=97, Resulting Numbers: [97]
97,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[5, 50, 76], Operations: ['64+12=76']
Exploring Operation: 50-5=45, Resulting Numbers: [76, 45]
Generated Node #0,1,0: 86:[76, 45] Operation: 50-5=45
Exploring Operation: 5+76=81, Resulting Numbers: [50, 81]
Generated Node #0,1,1: 86:[50, 81] Operation: 5+76=81
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[76, 45], Operations: ['64+12=76', '50-5=45']
Exploring Operation: 76+45=121, Resulting Numbers: [121]
121,86 unequal: No Solution
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 86:[50, 81], Operations: ['64+12=76', '5+76=81']
Exploring Operation: 81-50=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 50+81=131, Resulting Numbers: [131]
131,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
29,
99,
7,
28
] | 14 | [
"99-29=70",
"28+70=98",
"98/7=14"
] | Current State: 14:[29, 99, 7, 28], Operations: []
Exploring Operation: 99-29=70, Resulting Numbers: [7, 28, 70]
Generated Node #2: [7, 28, 70] from Operation: 99-29=70
Current State: 14:[7, 28, 70], Operations: ['99-29=70']
Exploring Operation: 28+70=98, Resulting Numbers: [7, 98]
Generated Node #3: [7, 98] from Operation: 28+70=98
Current State: 14:[7, 98], Operations: ['99-29=70', '28+70=98']
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[29, 99, 7, 28], Operations: []
Exploring Operation: 29-28=1, Resulting Numbers: [99, 7, 1]
Generated Node #0,0: 14:[99, 7, 1] Operation: 29-28=1
Exploring Operation: 28/7=4, Resulting Numbers: [29, 99, 4]
Generated Node #0,1: 14:[29, 99, 4] Operation: 28/7=4
Exploring Operation: 99-29=70, Resulting Numbers: [7, 28, 70]
Generated Node #0,2: 14:[7, 28, 70] Operation: 99-29=70
Exploring Operation: 99-28=71, Resulting Numbers: [29, 7, 71]
Generated Node #0,3: 14:[29, 7, 71] Operation: 99-28=71
Moving to Node #0,2
Current State: 14:[7, 28, 70], Operations: ['99-29=70']
Exploring Operation: 28-7=21, Resulting Numbers: [70, 21]
Generated Node #0,2,0: 14:[70, 21] Operation: 28-7=21
Exploring Operation: 70-28=42, Resulting Numbers: [7, 42]
Generated Node #0,2,1: 14:[7, 42] Operation: 70-28=42
Exploring Operation: 70/7=10, Resulting Numbers: [28, 10]
Generated Node #0,2,2: 14:[28, 10] Operation: 70/7=10
Exploring Operation: 28/7=4, Resulting Numbers: [70, 4]
Generated Node #0,2,3: 14:[70, 4] Operation: 28/7=4
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 14:[28, 10], Operations: ['99-29=70', '70/7=10']
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 14:[7, 42], Operations: ['99-29=70', '70-28=42']
Exploring Operation: 7*42=294, Resulting Numbers: [294]
294,14 unequal: No Solution
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 14:[70, 4], Operations: ['99-29=70', '28/7=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,14 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 14:[70, 21], Operations: ['99-29=70', '28-7=21']
Exploring Operation: 70+21=91, Resulting Numbers: [91]
91,14 unequal: No Solution
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Exploring Operation: 70*21=1470, Resulting Numbers: [1470]
1470,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 14:[29, 7, 71], Operations: ['99-28=71']
Exploring Operation: 71-7=64, Resulting Numbers: [29, 64]
Generated Node #0,3,0: 14:[29, 64] Operation: 71-7=64
Exploring Operation: 71-29=42, Resulting Numbers: [7, 42]
Generated Node #0,3,1: 14:[7, 42] Operation: 71-29=42
Exploring Operation: 29-7=22, Resulting Numbers: [71, 22]
Generated Node #0,3,2: 14:[71, 22] Operation: 29-7=22
Exploring Operation: 29+7=36, Resulting Numbers: [71, 36]
Generated Node #0,3,3: 14:[71, 36] Operation: 29+7=36
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 14:[7, 42], Operations: ['99-28=71', '71-29=42']
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Exploring Operation: 7*42=294, Resulting Numbers: [294]
294,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 14:[29, 64], Operations: ['99-28=71', '71-7=64']
Exploring Operation: 29*64=1856, Resulting Numbers: [1856]
1856,14 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Exploring Operation: 29+64=93, Resulting Numbers: [93]
93,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 14:[71, 22], Operations: ['99-28=71', '29-7=22']
Exploring Operation: 71*22=1562, Resulting Numbers: [1562]
1562,14 unequal: No Solution
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Exploring Operation: 71+22=93, Resulting Numbers: [93]
93,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 14:[71, 36], Operations: ['99-28=71', '29+7=36']
Exploring Operation: 71+36=107, Resulting Numbers: [107]
107,14 unequal: No Solution
Exploring Operation: 71*36=2556, Resulting Numbers: [2556]
2556,14 unequal: No Solution
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 14:[99, 7, 1], Operations: ['29-28=1']
Exploring Operation: 99*1=99, Resulting Numbers: [7, 99]
Generated Node #0,0,0: 14:[7, 99] Operation: 99*1=99
Exploring Operation: 99/1=99, Resulting Numbers: [7, 99]
Generated Node #0,0,1: 14:[7, 99] Operation: 99/1=99
Exploring Operation: 99-7=92, Resulting Numbers: [1, 92]
Generated Node #0,0,2: 14:[1, 92] Operation: 99-7=92
Exploring Operation: 99-1=98, Resulting Numbers: [7, 98]
Generated Node #0,0,3: 14:[7, 98] Operation: 99-1=98
Moving to Node #0,1
Current State: 14:[29, 99, 4], Operations: ['28/7=4']
Exploring Operation: 29-4=25, Resulting Numbers: [99, 25]
Generated Node #0,1,0: 14:[99, 25] Operation: 29-4=25
Exploring Operation: 99-29=70, Resulting Numbers: [4, 70]
Generated Node #0,1,1: 14:[4, 70] Operation: 99-29=70
Exploring Operation: 29+4=33, Resulting Numbers: [99, 33]
Generated Node #0,1,2: 14:[99, 33] Operation: 29+4=33
Exploring Operation: 99-4=95, Resulting Numbers: [29, 95]
Generated Node #0,1,3: 14:[29, 95] Operation: 99-4=95
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[4, 70], Operations: ['28/7=4', '99-29=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,14 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[99, 25], Operations: ['28/7=4', '29-4=25']
Exploring Operation: 99-25=74, Resulting Numbers: [74]
74,14 unequal: No Solution
Exploring Operation: 99+25=124, Resulting Numbers: [124]
124,14 unequal: No Solution
Exploring Operation: 99*25=2475, Resulting Numbers: [2475]
2475,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 14:[29, 95], Operations: ['28/7=4', '99-4=95']
Exploring Operation: 29*95=2755, Resulting Numbers: [2755]
2755,14 unequal: No Solution
Exploring Operation: 95-29=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 29+95=124, Resulting Numbers: [124]
124,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 14:[99, 33], Operations: ['28/7=4', '29+4=33']
Exploring Operation: 99+33=132, Resulting Numbers: [132]
132,14 unequal: No Solution
Exploring Operation: 99*33=3267, Resulting Numbers: [3267]
3267,14 unequal: No Solution
Exploring Operation: 99/33=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 99-33=66, Resulting Numbers: [66]
66,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 14:[1, 92], Operations: ['29-28=1', '99-7=92']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,14 unequal: No Solution
Exploring Operation: 1*92=92, Resulting Numbers: [92]
92,14 unequal: No Solution
Exploring Operation: 1+92=93, Resulting Numbers: [93]
93,14 unequal: No Solution
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,14 unequal: No Solution
Moving to Node #0,0,3
Current State: 14:[7, 98], Operations: ['29-28=1', '99-1=98']
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,14 unequal: No Solution
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[29, 99, 7, 28], Operations: []
Exploring Operation: 29-28=1, Resulting Numbers: [99, 7, 1]
Generated Node #0,0: 14:[99, 7, 1] Operation: 29-28=1
Moving to Node #0,0
Current State: 14:[99, 7, 1], Operations: ['29-28=1']
Exploring Operation: 99-1=98, Resulting Numbers: [7, 98]
Generated Node #0,0,3: 14:[7, 98] Operation: 99-1=98
Moving to Node #0,0,3
Current State: 14:[7, 98], Operations: ['29-28=1', '99-1=98']
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.940104 | hs_4 | mult_heuristic |
[
54,
19,
58,
7
] | 83 | [
"58-54=4",
"19*4=76",
"7+76=83"
] | Current State: 83:[54, 19, 58, 7], Operations: []
Exploring Operation: 58-54=4, Resulting Numbers: [19, 7, 4]
Generated Node #2: [19, 7, 4] from Operation: 58-54=4
Current State: 83:[19, 7, 4], Operations: ['58-54=4']
Exploring Operation: 19*4=76, Resulting Numbers: [7, 76]
Generated Node #3: [7, 76] from Operation: 19*4=76
Current State: 83:[7, 76], Operations: ['58-54=4', '19*4=76']
Exploring Operation: 7+76=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[54, 19, 58, 7], Operations: []
Exploring Operation: 54+19=73, Resulting Numbers: [58, 7, 73]
Generated Node #0,0: 83:[58, 7, 73] Operation: 54+19=73
Exploring Operation: 19*7=133, Resulting Numbers: [54, 58, 133]
Generated Node #0,1: 83:[54, 58, 133] Operation: 19*7=133
Moving to Node #0,1
Current State: 83:[54, 58, 133], Operations: ['19*7=133']
Exploring Operation: 133-58=75, Resulting Numbers: [54, 75]
Generated Node #0,1,0: 83:[54, 75] Operation: 133-58=75
Exploring Operation: 133-54=79, Resulting Numbers: [58, 79]
Generated Node #0,1,1: 83:[58, 79] Operation: 133-54=79
Moving to Node #0,0
Current State: 83:[58, 7, 73], Operations: ['54+19=73']
Exploring Operation: 58+7=65, Resulting Numbers: [73, 65]
Generated Node #0,0,0: 83:[73, 65] Operation: 58+7=65
Exploring Operation: 7+73=80, Resulting Numbers: [58, 80]
Generated Node #0,0,1: 83:[58, 80] Operation: 7+73=80
Moving to Node #0,0,0
Current State: 83:[73, 65], Operations: ['54+19=73', '58+7=65']
Exploring Operation: 73+65=138, Resulting Numbers: [138]
138,83 unequal: No Solution
Exploring Operation: 73-65=8, Resulting Numbers: [8]
8,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[58, 80], Operations: ['54+19=73', '7+73=80']
Exploring Operation: 58+80=138, Resulting Numbers: [138]
138,83 unequal: No Solution
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[58, 79], Operations: ['19*7=133', '133-54=79']
Exploring Operation: 79-58=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 58+79=137, Resulting Numbers: [137]
137,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[54, 75], Operations: ['19*7=133', '133-58=75']
Exploring Operation: 54+75=129, Resulting Numbers: [129]
129,83 unequal: No Solution
Exploring Operation: 75-54=21, Resulting Numbers: [21]
21,83 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
70,
89,
5,
7
] | 45 | [
"70*7=490",
"89*5=445",
"490-445=45"
] | Current State: 45:[70, 89, 5, 7], Operations: []
Exploring Operation: 70*7=490, Resulting Numbers: [89, 5, 490]
Generated Node #2: [89, 5, 490] from Operation: 70*7=490
Current State: 45:[89, 5, 490], Operations: ['70*7=490']
Exploring Operation: 89*5=445, Resulting Numbers: [490, 445]
Generated Node #3: [490, 445] from Operation: 89*5=445
Current State: 45:[490, 445], Operations: ['70*7=490', '89*5=445']
Exploring Operation: 490-445=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[70, 89, 5, 7], Operations: []
Exploring Operation: 70/7=10, Resulting Numbers: [89, 5, 10]
Generated Node #0,0: 45:[89, 5, 10] Operation: 70/7=10
Exploring Operation: 89-70=19, Resulting Numbers: [5, 7, 19]
Generated Node #0,1: 45:[5, 7, 19] Operation: 89-70=19
Moving to Node #0,1
Current State: 45:[5, 7, 19], Operations: ['89-70=19']
Exploring Operation: 19-7=12, Resulting Numbers: [5, 12]
Generated Node #0,1,0: 45:[5, 12] Operation: 19-7=12
Exploring Operation: 19-5=14, Resulting Numbers: [7, 14]
Generated Node #0,1,1: 45:[7, 14] Operation: 19-5=14
Moving to Node #0,0
Current State: 45:[89, 5, 10], Operations: ['70/7=10']
Exploring Operation: 89-10=79, Resulting Numbers: [5, 79]
Generated Node #0,0,0: 45:[5, 79] Operation: 89-10=79
Exploring Operation: 89-5=84, Resulting Numbers: [10, 84]
Generated Node #0,0,1: 45:[10, 84] Operation: 89-5=84
Moving to Node #0,1,0
Current State: 45:[5, 12], Operations: ['89-70=19', '19-7=12']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[7, 14], Operations: ['89-70=19', '19-5=14']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[5, 79], Operations: ['70/7=10', '89-10=79']
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,45 unequal: No Solution
Exploring Operation: 5+79=84, Resulting Numbers: [84]
84,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[10, 84], Operations: ['70/7=10', '89-5=84']
Exploring Operation: 10+84=94, Resulting Numbers: [94]
94,45 unequal: No Solution
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,45 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
88,
24,
4,
3
] | 12 | [
"88-4=84",
"24*3=72",
"84-72=12"
] | Current State: 12:[88, 24, 4, 3], Operations: []
Exploring Operation: 88-4=84, Resulting Numbers: [24, 3, 84]
Generated Node #2: [24, 3, 84] from Operation: 88-4=84
Current State: 12:[24, 3, 84], Operations: ['88-4=84']
Exploring Operation: 24*3=72, Resulting Numbers: [84, 72]
Generated Node #3: [84, 72] from Operation: 24*3=72
Current State: 12:[84, 72], Operations: ['88-4=84', '24*3=72']
Exploring Operation: 84-72=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[88, 24, 4, 3], Operations: []
Exploring Operation: 24/4=6, Resulting Numbers: [88, 3, 6]
Generated Node #0,0: 12:[88, 3, 6] Operation: 24/4=6
Exploring Operation: 88/4=22, Resulting Numbers: [24, 3, 22]
Generated Node #0,1: 12:[24, 3, 22] Operation: 88/4=22
Exploring Operation: 88-24=64, Resulting Numbers: [4, 3, 64]
Generated Node #0,2: 12:[4, 3, 64] Operation: 88-24=64
Exploring Operation: 24/3=8, Resulting Numbers: [88, 4, 8]
Generated Node #0,3: 12:[88, 4, 8] Operation: 24/3=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[24, 3, 22], Operations: ['88/4=22']
Exploring Operation: 24-3=21, Resulting Numbers: [22, 21]
Generated Node #0,1,0: 12:[22, 21] Operation: 24-3=21
Exploring Operation: 24/3=8, Resulting Numbers: [22, 8]
Generated Node #0,1,1: 12:[22, 8] Operation: 24/3=8
Exploring Operation: 22-3=19, Resulting Numbers: [24, 19]
Generated Node #0,1,2: 12:[24, 19] Operation: 22-3=19
Exploring Operation: 24-22=2, Resulting Numbers: [3, 2]
Generated Node #0,1,3: 12:[3, 2] Operation: 24-22=2
Moving to Node #0,1,3
Current State: 12:[3, 2], Operations: ['88/4=22', '24-22=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[22, 8], Operations: ['88/4=22', '24/3=8']
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,12 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[24, 19], Operations: ['88/4=22', '22-3=19']
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 24*19=456, Resulting Numbers: [456]
456,12 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[22, 21], Operations: ['88/4=22', '24-3=21']
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[4, 3, 64], Operations: ['88-24=64']
Exploring Operation: 64-3=61, Resulting Numbers: [4, 61]
Generated Node #0,2,0: 12:[4, 61] Operation: 64-3=61
Exploring Operation: 64-4=60, Resulting Numbers: [3, 60]
Generated Node #0,2,1: 12:[3, 60] Operation: 64-4=60
Exploring Operation: 64/4=16, Resulting Numbers: [3, 16]
Generated Node #0,2,2: 12:[3, 16] Operation: 64/4=16
Exploring Operation: 4*3=12, Resulting Numbers: [64, 12]
Generated Node #0,2,3: 12:[64, 12] Operation: 4*3=12
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 12:[3, 16], Operations: ['88-24=64', '64/4=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 12:[3, 60], Operations: ['88-24=64', '64-4=60']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,12 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 12:[4, 61], Operations: ['88-24=64', '64-3=61']
Exploring Operation: 4+61=65, Resulting Numbers: [65]
65,12 unequal: No Solution
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,12 unequal: No Solution
Exploring Operation: 4*61=244, Resulting Numbers: [244]
244,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 12:[64, 12], Operations: ['88-24=64', '4*3=12']
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 64*12=768, Resulting Numbers: [768]
768,12 unequal: No Solution
Exploring Operation: 64+12=76, Resulting Numbers: [76]
76,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[88, 3, 6], Operations: ['24/4=6']
Exploring Operation: 6/3=2, Resulting Numbers: [88, 2]
Generated Node #0,0,0: 12:[88, 2] Operation: 6/3=2
Exploring Operation: 88-6=82, Resulting Numbers: [3, 82]
Generated Node #0,0,1: 12:[3, 82] Operation: 88-6=82
Exploring Operation: 6-3=3, Resulting Numbers: [88, 3]
Generated Node #0,0,2: 12:[88, 3] Operation: 6-3=3
Exploring Operation: 88-3=85, Resulting Numbers: [6, 85]
Generated Node #0,0,3: 12:[6, 85] Operation: 88-3=85
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 12:[3, 82], Operations: ['24/4=6', '88-6=82']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,12 unequal: No Solution
Exploring Operation: 3*82=246, Resulting Numbers: [246]
246,12 unequal: No Solution
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 12:[6, 85], Operations: ['24/4=6', '88-3=85']
Exploring Operation: 6*85=510, Resulting Numbers: [510]
510,12 unequal: No Solution
Exploring Operation: 85-6=79, Resulting Numbers: [79]
79,12 unequal: No Solution
Exploring Operation: 6+85=91, Resulting Numbers: [91]
91,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[88, 2], Operations: ['24/4=6', '6/3=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,12 unequal: No Solution
Exploring Operation: 88*2=176, Resulting Numbers: [176]
176,12 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 12:[88, 3], Operations: ['24/4=6', '6-3=3']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,12 unequal: No Solution
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,12 unequal: No Solution
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[88, 4, 8], Operations: ['24/3=8']
Exploring Operation: 88-4=84, Resulting Numbers: [8, 84]
Generated Node #0,3,0: 12:[8, 84] Operation: 88-4=84
Exploring Operation: 88/8=11, Resulting Numbers: [4, 11]
Generated Node #0,3,1: 12:[4, 11] Operation: 88/8=11
Exploring Operation: 88/4=22, Resulting Numbers: [8, 22]
Generated Node #0,3,2: 12:[8, 22] Operation: 88/4=22
Exploring Operation: 88-8=80, Resulting Numbers: [4, 80]
Generated Node #0,3,3: 12:[4, 80] Operation: 88-8=80
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 12:[4, 11], Operations: ['24/3=8', '88/8=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,12 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 12:[8, 22], Operations: ['24/3=8', '88/4=22']
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,12 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 12:[4, 80], Operations: ['24/3=8', '88-8=80']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 4*80=320, Resulting Numbers: [320]
320,12 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,12 unequal: No Solution
Exploring Operation: 4+80=84, Resulting Numbers: [84]
84,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 12:[8, 84], Operations: ['24/3=8', '88-4=84']
Exploring Operation: 8*84=672, Resulting Numbers: [672]
672,12 unequal: No Solution
Exploring Operation: 8+84=92, Resulting Numbers: [92]
92,12 unequal: No Solution
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
26,
52,
50,
74
] | 22 | [
"52/26=2",
"74-50=24",
"24-2=22"
] | Current State: 22:[26, 52, 50, 74], Operations: []
Exploring Operation: 52/26=2, Resulting Numbers: [50, 74, 2]
Generated Node #2: [50, 74, 2] from Operation: 52/26=2
Current State: 22:[50, 74, 2], Operations: ['52/26=2']
Exploring Operation: 74-50=24, Resulting Numbers: [2, 24]
Generated Node #3: [2, 24] from Operation: 74-50=24
Current State: 22:[2, 24], Operations: ['52/26=2', '74-50=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[26, 52, 50, 74], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [26, 74, 2]
Generated Node #0,0: 22:[26, 74, 2] Operation: 52-50=2
Exploring Operation: 74-52=22, Resulting Numbers: [26, 50, 22]
Generated Node #0,1: 22:[26, 50, 22] Operation: 74-52=22
Exploring Operation: 74-50=24, Resulting Numbers: [26, 52, 24]
Generated Node #0,2: 22:[26, 52, 24] Operation: 74-50=24
Exploring Operation: 52/26=2, Resulting Numbers: [50, 74, 2]
Generated Node #0,3: 22:[50, 74, 2] Operation: 52/26=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[26, 50, 22], Operations: ['74-52=22']
Exploring Operation: 50-26=24, Resulting Numbers: [22, 24]
Generated Node #0,1,0: 22:[22, 24] Operation: 50-26=24
Exploring Operation: 26-22=4, Resulting Numbers: [50, 4]
Generated Node #0,1,1: 22:[50, 4] Operation: 26-22=4
Exploring Operation: 50-22=28, Resulting Numbers: [26, 28]
Generated Node #0,1,2: 22:[26, 28] Operation: 50-22=28
Exploring Operation: 26+50=76, Resulting Numbers: [22, 76]
Generated Node #0,1,3: 22:[22, 76] Operation: 26+50=76
Moving to Node #0,1,0
Current State: 22:[22, 24], Operations: ['74-52=22', '50-26=24']
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Exploring Operation: 22*24=528, Resulting Numbers: [528]
528,22 unequal: No Solution
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[26, 28], Operations: ['74-52=22', '50-22=28']
Exploring Operation: 26*28=728, Resulting Numbers: [728]
728,22 unequal: No Solution
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[50, 4], Operations: ['74-52=22', '26-22=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,22 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Moving to Node #0,1,3
Current State: 22:[22, 76], Operations: ['74-52=22', '26+50=76']
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,22 unequal: No Solution
Exploring Operation: 22*76=1672, Resulting Numbers: [1672]
1672,22 unequal: No Solution
Exploring Operation: 22+76=98, Resulting Numbers: [98]
98,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[26, 52, 24], Operations: ['74-50=24']
Exploring Operation: 26-24=2, Resulting Numbers: [52, 2]
Generated Node #0,2,0: 22:[52, 2] Operation: 26-24=2
Exploring Operation: 52-26=26, Resulting Numbers: [24, 26]
Generated Node #0,2,1: 22:[24, 26] Operation: 52-26=26
Exploring Operation: 52/26=2, Resulting Numbers: [24, 2]
Generated Node #0,2,2: 22:[24, 2] Operation: 52/26=2
Exploring Operation: 52-24=28, Resulting Numbers: [26, 28]
Generated Node #0,2,3: 22:[26, 28] Operation: 52-24=28
Moving to Node #0,2,2
Current State: 22:[24, 2], Operations: ['74-50=24', '52/26=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[26, 52, 50, 74], Operations: []
Exploring Operation: 74-50=24, Resulting Numbers: [26, 52, 24]
Generated Node #0,2: 22:[26, 52, 24] Operation: 74-50=24
Moving to Node #0,2
Current State: 22:[26, 52, 24], Operations: ['74-50=24']
Exploring Operation: 52/26=2, Resulting Numbers: [24, 2]
Generated Node #0,2,2: 22:[24, 2] Operation: 52/26=2
Moving to Node #0,2,2
Current State: 22:[24, 2], Operations: ['74-50=24', '52/26=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
4,
3,
38,
44
] | 66 | [
"4+44=48",
"3*38=114",
"114-48=66"
] | Current State: 66:[4, 3, 38, 44], Operations: []
Exploring Operation: 4+44=48, Resulting Numbers: [3, 38, 48]
Generated Node #2: [3, 38, 48] from Operation: 4+44=48
Current State: 66:[3, 38, 48], Operations: ['4+44=48']
Exploring Operation: 3*38=114, Resulting Numbers: [48, 114]
Generated Node #3: [48, 114] from Operation: 3*38=114
Current State: 66:[48, 114], Operations: ['4+44=48', '3*38=114']
Exploring Operation: 114-48=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[4, 3, 38, 44], Operations: []
Exploring Operation: 44/4=11, Resulting Numbers: [3, 38, 11]
Generated Node #0,0: 66:[3, 38, 11] Operation: 44/4=11
Exploring Operation: 44-38=6, Resulting Numbers: [4, 3, 6]
Generated Node #0,1: 66:[4, 3, 6] Operation: 44-38=6
Exploring Operation: 38-4=34, Resulting Numbers: [3, 44, 34]
Generated Node #0,2: 66:[3, 44, 34] Operation: 38-4=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[4, 3, 6], Operations: ['44-38=6']
Exploring Operation: 6-4=2, Resulting Numbers: [3, 2]
Generated Node #0,1,0: 66:[3, 2] Operation: 6-4=2
Exploring Operation: 4+3=7, Resulting Numbers: [6, 7]
Generated Node #0,1,1: 66:[6, 7] Operation: 4+3=7
Exploring Operation: 4*3=12, Resulting Numbers: [6, 12]
Generated Node #0,1,2: 66:[6, 12] Operation: 4*3=12
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[3, 2], Operations: ['44-38=6', '6-4=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[6, 7], Operations: ['44-38=6', '4+3=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 66:[6, 12], Operations: ['44-38=6', '4*3=12']
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,66 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[3, 38, 11], Operations: ['44/4=11']
Exploring Operation: 3*11=33, Resulting Numbers: [38, 33]
Generated Node #0,0,0: 66:[38, 33] Operation: 3*11=33
Exploring Operation: 38-11=27, Resulting Numbers: [3, 27]
Generated Node #0,0,1: 66:[3, 27] Operation: 38-11=27
Exploring Operation: 38-3=35, Resulting Numbers: [11, 35]
Generated Node #0,0,2: 66:[11, 35] Operation: 38-3=35
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[11, 35], Operations: ['44/4=11', '38-3=35']
Exploring Operation: 11*35=385, Resulting Numbers: [385]
385,66 unequal: No Solution
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[38, 33], Operations: ['44/4=11', '3*11=33']
Exploring Operation: 38*33=1254, Resulting Numbers: [1254]
1254,66 unequal: No Solution
Exploring Operation: 38+33=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[3, 27], Operations: ['44/4=11', '38-11=27']
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[3, 44, 34], Operations: ['38-4=34']
Exploring Operation: 44-3=41, Resulting Numbers: [34, 41]
Generated Node #0,2,0: 66:[34, 41] Operation: 44-3=41
Exploring Operation: 44-34=10, Resulting Numbers: [3, 10]
Generated Node #0,2,1: 66:[3, 10] Operation: 44-34=10
Exploring Operation: 44+34=78, Resulting Numbers: [3, 78]
Generated Node #0,2,2: 66:[3, 78] Operation: 44+34=78
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 66:[3, 10], Operations: ['38-4=34', '44-34=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[34, 41], Operations: ['38-4=34', '44-3=41']
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[3, 78], Operations: ['38-4=34', '44+34=78']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
12,
43,
44,
83
] | 95 | [
"12+83=95",
"44-43=1",
"95*1=95"
] | Current State: 95:[12, 43, 44, 83], Operations: []
Exploring Operation: 12+83=95, Resulting Numbers: [43, 44, 95]
Generated Node #2: [43, 44, 95] from Operation: 12+83=95
Current State: 95:[43, 44, 95], Operations: ['12+83=95']
Exploring Operation: 44-43=1, Resulting Numbers: [95, 1]
Generated Node #3: [95, 1] from Operation: 44-43=1
Current State: 95:[95, 1], Operations: ['12+83=95', '44-43=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[12, 43, 44, 83], Operations: []
Exploring Operation: 43-12=31, Resulting Numbers: [44, 83, 31]
Generated Node #0,0: 95:[44, 83, 31] Operation: 43-12=31
Exploring Operation: 44-43=1, Resulting Numbers: [12, 83, 1]
Generated Node #0,1: 95:[12, 83, 1] Operation: 44-43=1
Exploring Operation: 43+44=87, Resulting Numbers: [12, 83, 87]
Generated Node #0,2: 95:[12, 83, 87] Operation: 43+44=87
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[12, 83, 1], Operations: ['44-43=1']
Exploring Operation: 12+83=95, Resulting Numbers: [1, 95]
Generated Node #0,1,0: 95:[1, 95] Operation: 12+83=95
Exploring Operation: 12-1=11, Resulting Numbers: [83, 11]
Generated Node #0,1,1: 95:[83, 11] Operation: 12-1=11
Exploring Operation: 12+1=13, Resulting Numbers: [83, 13]
Generated Node #0,1,2: 95:[83, 13] Operation: 12+1=13
Moving to Node #0,1,0
Current State: 95:[1, 95], Operations: ['44-43=1', '12+83=95']
Exploring Operation: 1*95=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[12, 43, 44, 83], Operations: []
Exploring Operation: 44-43=1, Resulting Numbers: [12, 83, 1]
Generated Node #0,1: 95:[12, 83, 1] Operation: 44-43=1
Moving to Node #0,1
Current State: 95:[12, 83, 1], Operations: ['44-43=1']
Exploring Operation: 12+83=95, Resulting Numbers: [1, 95]
Generated Node #0,1,0: 95:[1, 95] Operation: 12+83=95
Moving to Node #0,1,0
Current State: 95:[1, 95], Operations: ['44-43=1', '12+83=95']
Exploring Operation: 1*95=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
1,
41,
80,
35
] | 37 | [
"41-1=40",
"80/40=2",
"35+2=37"
] | Current State: 37:[1, 41, 80, 35], Operations: []
Exploring Operation: 41-1=40, Resulting Numbers: [80, 35, 40]
Generated Node #2: [80, 35, 40] from Operation: 41-1=40
Current State: 37:[80, 35, 40], Operations: ['41-1=40']
Exploring Operation: 80/40=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 80/40=2
Current State: 37:[35, 2], Operations: ['41-1=40', '80/40=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[1, 41, 80, 35], Operations: []
Exploring Operation: 80-41=39, Resulting Numbers: [1, 35, 39]
Generated Node #0,0: 37:[1, 35, 39] Operation: 80-41=39
Exploring Operation: 41-1=40, Resulting Numbers: [80, 35, 40]
Generated Node #0,1: 37:[80, 35, 40] Operation: 41-1=40
Exploring Operation: 80-1=79, Resulting Numbers: [41, 35, 79]
Generated Node #0,2: 37:[41, 35, 79] Operation: 80-1=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[1, 35, 39], Operations: ['80-41=39']
Exploring Operation: 39-1=38, Resulting Numbers: [35, 38]
Generated Node #0,0,0: 37:[35, 38] Operation: 39-1=38
Exploring Operation: 1*35=35, Resulting Numbers: [39, 35]
Generated Node #0,0,1: 37:[39, 35] Operation: 1*35=35
Exploring Operation: 1+35=36, Resulting Numbers: [39, 36]
Generated Node #0,0,2: 37:[39, 36] Operation: 1+35=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[35, 38], Operations: ['80-41=39', '39-1=38']
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 35*38=1330, Resulting Numbers: [1330]
1330,37 unequal: No Solution
Exploring Operation: 35+38=73, Resulting Numbers: [73]
73,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[39, 36], Operations: ['80-41=39', '1+35=36']
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,37 unequal: No Solution
Exploring Operation: 39*36=1404, Resulting Numbers: [1404]
1404,37 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[39, 35], Operations: ['80-41=39', '1*35=35']
Exploring Operation: 39*35=1365, Resulting Numbers: [1365]
1365,37 unequal: No Solution
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[80, 35, 40], Operations: ['41-1=40']
Exploring Operation: 80-40=40, Resulting Numbers: [35, 40]
Generated Node #0,1,0: 37:[35, 40] Operation: 80-40=40
Exploring Operation: 80/40=2, Resulting Numbers: [35, 2]
Generated Node #0,1,1: 37:[35, 2] Operation: 80/40=2
Exploring Operation: 80-35=45, Resulting Numbers: [40, 45]
Generated Node #0,1,2: 37:[40, 45] Operation: 80-35=45
Moving to Node #0,1,0
Current State: 37:[35, 40], Operations: ['41-1=40', '80-40=40']
Exploring Operation: 35*40=1400, Resulting Numbers: [1400]
1400,37 unequal: No Solution
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,37 unequal: No Solution
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[40, 45], Operations: ['41-1=40', '80-35=45']
Exploring Operation: 40*45=1800, Resulting Numbers: [1800]
1800,37 unequal: No Solution
Exploring Operation: 45-40=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Exploring Operation: 40+45=85, Resulting Numbers: [85]
85,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[35, 2], Operations: ['41-1=40', '80/40=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[1, 41, 80, 35], Operations: []
Exploring Operation: 41-1=40, Resulting Numbers: [80, 35, 40]
Generated Node #0,1: 37:[80, 35, 40] Operation: 41-1=40
Moving to Node #0,1
Current State: 37:[80, 35, 40], Operations: ['41-1=40']
Exploring Operation: 80/40=2, Resulting Numbers: [35, 2]
Generated Node #0,1,1: 37:[35, 2] Operation: 80/40=2
Moving to Node #0,1,1
Current State: 37:[35, 2], Operations: ['41-1=40', '80/40=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_3 | mult_heuristic |
[
3,
34,
83,
93
] | 18 | [
"93/3=31",
"83-34=49",
"49-31=18"
] | Current State: 18:[3, 34, 83, 93], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [34, 83, 31]
Generated Node #2: [34, 83, 31] from Operation: 93/3=31
Current State: 18:[34, 83, 31], Operations: ['93/3=31']
Exploring Operation: 83-34=49, Resulting Numbers: [31, 49]
Generated Node #3: [31, 49] from Operation: 83-34=49
Current State: 18:[31, 49], Operations: ['93/3=31', '83-34=49']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[3, 34, 83, 93], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [3, 34, 10]
Generated Node #0,0: 18:[3, 34, 10] Operation: 93-83=10
Exploring Operation: 83-34=49, Resulting Numbers: [3, 93, 49]
Generated Node #0,1: 18:[3, 93, 49] Operation: 83-34=49
Exploring Operation: 93/3=31, Resulting Numbers: [34, 83, 31]
Generated Node #0,2: 18:[34, 83, 31] Operation: 93/3=31
Exploring Operation: 93-34=59, Resulting Numbers: [3, 83, 59]
Generated Node #0,3: 18:[3, 83, 59] Operation: 93-34=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[3, 34, 10], Operations: ['93-83=10']
Exploring Operation: 10-3=7, Resulting Numbers: [34, 7]
Generated Node #0,0,0: 18:[34, 7] Operation: 10-3=7
Exploring Operation: 34-3=31, Resulting Numbers: [10, 31]
Generated Node #0,0,1: 18:[10, 31] Operation: 34-3=31
Exploring Operation: 3+34=37, Resulting Numbers: [10, 37]
Generated Node #0,0,2: 18:[10, 37] Operation: 3+34=37
Exploring Operation: 34-10=24, Resulting Numbers: [3, 24]
Generated Node #0,0,3: 18:[3, 24] Operation: 34-10=24
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 18:[3, 24], Operations: ['93-83=10', '34-10=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,18 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,18 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 18:[10, 31], Operations: ['93-83=10', '34-3=31']
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,18 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[34, 7], Operations: ['93-83=10', '10-3=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,18 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,18 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 18:[10, 37], Operations: ['93-83=10', '3+34=37']
Exploring Operation: 10*37=370, Resulting Numbers: [370]
370,18 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,18 unequal: No Solution
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[34, 83, 31], Operations: ['93/3=31']
Exploring Operation: 34-31=3, Resulting Numbers: [83, 3]
Generated Node #0,2,0: 18:[83, 3] Operation: 34-31=3
Exploring Operation: 83-31=52, Resulting Numbers: [34, 52]
Generated Node #0,2,1: 18:[34, 52] Operation: 83-31=52
Exploring Operation: 34+83=117, Resulting Numbers: [31, 117]
Generated Node #0,2,2: 18:[31, 117] Operation: 34+83=117
Exploring Operation: 83-34=49, Resulting Numbers: [31, 49]
Generated Node #0,2,3: 18:[31, 49] Operation: 83-34=49
Moving to Node #0,2,3
Current State: 18:[31, 49], Operations: ['93/3=31', '83-34=49']
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,18 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[3, 34, 83, 93], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [34, 83, 31]
Generated Node #0,2: 18:[34, 83, 31] Operation: 93/3=31
Moving to Node #0,2
Current State: 18:[34, 83, 31], Operations: ['93/3=31']
Exploring Operation: 83-34=49, Resulting Numbers: [31, 49]
Generated Node #0,2,3: 18:[31, 49] Operation: 83-34=49
Moving to Node #0,2,3
Current State: 18:[31, 49], Operations: ['93/3=31', '83-34=49']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
72,
4,
2,
91
] | 53 | [
"72+4=76",
"76/2=38",
"91-38=53"
] | Current State: 53:[72, 4, 2, 91], Operations: []
Exploring Operation: 72+4=76, Resulting Numbers: [2, 91, 76]
Generated Node #2: [2, 91, 76] from Operation: 72+4=76
Current State: 53:[2, 91, 76], Operations: ['72+4=76']
Exploring Operation: 76/2=38, Resulting Numbers: [91, 38]
Generated Node #3: [91, 38] from Operation: 76/2=38
Current State: 53:[91, 38], Operations: ['72+4=76', '76/2=38']
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[72, 4, 2, 91], Operations: []
Exploring Operation: 72-2=70, Resulting Numbers: [4, 91, 70]
Generated Node #0,0: 53:[4, 91, 70] Operation: 72-2=70
Exploring Operation: 72/2=36, Resulting Numbers: [4, 91, 36]
Generated Node #0,1: 53:[4, 91, 36] Operation: 72/2=36
Exploring Operation: 4+2=6, Resulting Numbers: [72, 91, 6]
Generated Node #0,2: 53:[72, 91, 6] Operation: 4+2=6
Exploring Operation: 4*2=8, Resulting Numbers: [72, 91, 8]
Generated Node #0,3: 53:[72, 91, 8] Operation: 4*2=8
Exploring Operation: 72-4=68, Resulting Numbers: [2, 91, 68]
Generated Node #0,4: 53:[2, 91, 68] Operation: 72-4=68
Start Sub Search at level 1: Moving to Node #0,3
Current State: 53:[72, 91, 8], Operations: ['4*2=8']
Exploring Operation: 72+8=80, Resulting Numbers: [91, 80]
Generated Node #0,3,0: 53:[91, 80] Operation: 72+8=80
Exploring Operation: 72-8=64, Resulting Numbers: [91, 64]
Generated Node #0,3,1: 53:[91, 64] Operation: 72-8=64
Exploring Operation: 91-72=19, Resulting Numbers: [8, 19]
Generated Node #0,3,2: 53:[8, 19] Operation: 91-72=19
Exploring Operation: 91+8=99, Resulting Numbers: [72, 99]
Generated Node #0,3,3: 53:[72, 99] Operation: 91+8=99
Exploring Operation: 91-8=83, Resulting Numbers: [72, 83]
Generated Node #0,3,4: 53:[72, 83] Operation: 91-8=83
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 53:[91, 64], Operations: ['4*2=8', '72-8=64']
Exploring Operation: 91+64=155, Resulting Numbers: [155]
155,53 unequal: No Solution
Exploring Operation: 91-64=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 91*64=5824, Resulting Numbers: [5824]
5824,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 53:[72, 83], Operations: ['4*2=8', '91-8=83']
Exploring Operation: 72*83=5976, Resulting Numbers: [5976]
5976,53 unequal: No Solution
Exploring Operation: 83-72=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 72+83=155, Resulting Numbers: [155]
155,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 53:[91, 80], Operations: ['4*2=8', '72+8=80']
Exploring Operation: 91*80=7280, Resulting Numbers: [7280]
7280,53 unequal: No Solution
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 91+80=171, Resulting Numbers: [171]
171,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 53:[72, 99], Operations: ['4*2=8', '91+8=99']
Exploring Operation: 72+99=171, Resulting Numbers: [171]
171,53 unequal: No Solution
Exploring Operation: 72*99=7128, Resulting Numbers: [7128]
7128,53 unequal: No Solution
Exploring Operation: 99-72=27, Resulting Numbers: [27]
27,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 53:[8, 19], Operations: ['4*2=8', '91-72=19']
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[4, 91, 70], Operations: ['72-2=70']
Exploring Operation: 91-4=87, Resulting Numbers: [70, 87]
Generated Node #0,0,0: 53:[70, 87] Operation: 91-4=87
Exploring Operation: 91-70=21, Resulting Numbers: [4, 21]
Generated Node #0,0,1: 53:[4, 21] Operation: 91-70=21
Exploring Operation: 4+70=74, Resulting Numbers: [91, 74]
Generated Node #0,0,2: 53:[91, 74] Operation: 4+70=74
Exploring Operation: 4+91=95, Resulting Numbers: [70, 95]
Generated Node #0,0,3: 53:[70, 95] Operation: 4+91=95
Exploring Operation: 70-4=66, Resulting Numbers: [91, 66]
Generated Node #0,0,4: 53:[91, 66] Operation: 70-4=66
Moving to Node #0,0,0
Current State: 53:[70, 87], Operations: ['72-2=70', '91-4=87']
Exploring Operation: 87-70=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 70*87=6090, Resulting Numbers: [6090]
6090,53 unequal: No Solution
Exploring Operation: 70+87=157, Resulting Numbers: [157]
157,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[91, 66], Operations: ['72-2=70', '70-4=66']
Exploring Operation: 91+66=157, Resulting Numbers: [157]
157,53 unequal: No Solution
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Exploring Operation: 91*66=6006, Resulting Numbers: [6006]
6006,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[91, 74], Operations: ['72-2=70', '4+70=74']
Exploring Operation: 91+74=165, Resulting Numbers: [165]
165,53 unequal: No Solution
Exploring Operation: 91-74=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 91*74=6734, Resulting Numbers: [6734]
6734,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[70, 95], Operations: ['72-2=70', '4+91=95']
Exploring Operation: 70*95=6650, Resulting Numbers: [6650]
6650,53 unequal: No Solution
Exploring Operation: 95-70=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Exploring Operation: 70+95=165, Resulting Numbers: [165]
165,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[4, 21], Operations: ['72-2=70', '91-70=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[4, 91, 36], Operations: ['72/2=36']
Exploring Operation: 36-4=32, Resulting Numbers: [91, 32]
Generated Node #0,1,0: 53:[91, 32] Operation: 36-4=32
Exploring Operation: 4+36=40, Resulting Numbers: [91, 40]
Generated Node #0,1,1: 53:[91, 40] Operation: 4+36=40
Exploring Operation: 91-4=87, Resulting Numbers: [36, 87]
Generated Node #0,1,2: 53:[36, 87] Operation: 91-4=87
Exploring Operation: 91-36=55, Resulting Numbers: [4, 55]
Generated Node #0,1,3: 53:[4, 55] Operation: 91-36=55
Exploring Operation: 4+91=95, Resulting Numbers: [36, 95]
Generated Node #0,1,4: 53:[36, 95] Operation: 4+91=95
Moving to Node #0,1,1
Current State: 53:[91, 40], Operations: ['72/2=36', '4+36=40']
Exploring Operation: 91*40=3640, Resulting Numbers: [3640]
3640,53 unequal: No Solution
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 91+40=131, Resulting Numbers: [131]
131,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[4, 55], Operations: ['72/2=36', '91-36=55']
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,53 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[36, 87], Operations: ['72/2=36', '91-4=87']
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 36+87=123, Resulting Numbers: [123]
123,53 unequal: No Solution
Exploring Operation: 36*87=3132, Resulting Numbers: [3132]
3132,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[91, 32], Operations: ['72/2=36', '36-4=32']
Exploring Operation: 91*32=2912, Resulting Numbers: [2912]
2912,53 unequal: No Solution
Exploring Operation: 91+32=123, Resulting Numbers: [123]
123,53 unequal: No Solution
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Moving to Node #0,1,4
Current State: 53:[36, 95], Operations: ['72/2=36', '4+91=95']
Exploring Operation: 36*95=3420, Resulting Numbers: [3420]
3420,53 unequal: No Solution
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 36+95=131, Resulting Numbers: [131]
131,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[72, 91, 6], Operations: ['4+2=6']
Exploring Operation: 72/6=12, Resulting Numbers: [91, 12]
Generated Node #0,2,0: 53:[91, 12] Operation: 72/6=12
Exploring Operation: 72+6=78, Resulting Numbers: [91, 78]
Generated Node #0,2,1: 53:[91, 78] Operation: 72+6=78
Exploring Operation: 91-6=85, Resulting Numbers: [72, 85]
Generated Node #0,2,2: 53:[72, 85] Operation: 91-6=85
Exploring Operation: 72-6=66, Resulting Numbers: [91, 66]
Generated Node #0,2,3: 53:[91, 66] Operation: 72-6=66
Exploring Operation: 91+6=97, Resulting Numbers: [72, 97]
Generated Node #0,2,4: 53:[72, 97] Operation: 91+6=97
Moving to Node #0,2,2
Current State: 53:[72, 85], Operations: ['4+2=6', '91-6=85']
Exploring Operation: 72+85=157, Resulting Numbers: [157]
157,53 unequal: No Solution
Exploring Operation: 72*85=6120, Resulting Numbers: [6120]
6120,53 unequal: No Solution
Exploring Operation: 85-72=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[91, 66], Operations: ['4+2=6', '72-6=66']
Exploring Operation: 91*66=6006, Resulting Numbers: [6006]
6006,53 unequal: No Solution
Exploring Operation: 91+66=157, Resulting Numbers: [157]
157,53 unequal: No Solution
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[91, 78], Operations: ['4+2=6', '72+6=78']
Exploring Operation: 91+78=169, Resulting Numbers: [169]
169,53 unequal: No Solution
Exploring Operation: 91-78=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 91*78=7098, Resulting Numbers: [7098]
7098,53 unequal: No Solution
Moving to Node #0,2,4
Current State: 53:[72, 97], Operations: ['4+2=6', '91+6=97']
Exploring Operation: 72+97=169, Resulting Numbers: [169]
169,53 unequal: No Solution
Exploring Operation: 97-72=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Exploring Operation: 72*97=6984, Resulting Numbers: [6984]
6984,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[91, 12], Operations: ['4+2=6', '72/6=12']
Exploring Operation: 91+12=103, Resulting Numbers: [103]
103,53 unequal: No Solution
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,53 unequal: No Solution
Exploring Operation: 91*12=1092, Resulting Numbers: [1092]
1092,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 53:[2, 91, 68], Operations: ['72-4=68']
Exploring Operation: 91-2=89, Resulting Numbers: [68, 89]
Generated Node #0,4,0: 53:[68, 89] Operation: 91-2=89
Exploring Operation: 2+68=70, Resulting Numbers: [91, 70]
Generated Node #0,4,1: 53:[91, 70] Operation: 2+68=70
Exploring Operation: 68/2=34, Resulting Numbers: [91, 34]
Generated Node #0,4,2: 53:[91, 34] Operation: 68/2=34
Exploring Operation: 68-2=66, Resulting Numbers: [91, 66]
Generated Node #0,4,3: 53:[91, 66] Operation: 68-2=66
Exploring Operation: 2+91=93, Resulting Numbers: [68, 93]
Generated Node #0,4,4: 53:[68, 93] Operation: 2+91=93
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 53:[68, 89], Operations: ['72-4=68', '91-2=89']
Exploring Operation: 68+89=157, Resulting Numbers: [157]
157,53 unequal: No Solution
Exploring Operation: 68*89=6052, Resulting Numbers: [6052]
6052,53 unequal: No Solution
Exploring Operation: 89-68=21, Resulting Numbers: [21]
21,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 53:[91, 66], Operations: ['72-4=68', '68-2=66']
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,53 unequal: No Solution
Exploring Operation: 91*66=6006, Resulting Numbers: [6006]
6006,53 unequal: No Solution
Exploring Operation: 91+66=157, Resulting Numbers: [157]
157,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 53:[91, 70], Operations: ['72-4=68', '2+68=70']
Exploring Operation: 91-70=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Exploring Operation: 91+70=161, Resulting Numbers: [161]
161,53 unequal: No Solution
Exploring Operation: 91*70=6370, Resulting Numbers: [6370]
6370,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 53:[68, 93], Operations: ['72-4=68', '2+91=93']
Exploring Operation: 68+93=161, Resulting Numbers: [161]
161,53 unequal: No Solution
Exploring Operation: 68*93=6324, Resulting Numbers: [6324]
6324,53 unequal: No Solution
Exploring Operation: 93-68=25, Resulting Numbers: [25]
25,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 53:[91, 34], Operations: ['72-4=68', '68/2=34']
Exploring Operation: 91*34=3094, Resulting Numbers: [3094]
3094,53 unequal: No Solution
Exploring Operation: 91+34=125, Resulting Numbers: [125]
125,53 unequal: No Solution
Exploring Operation: 91-34=57, Resulting Numbers: [57]
57,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
31,
84,
86,
2
] | 60 | [
"31*2=62",
"86-84=2",
"62-2=60"
] | Current State: 60:[31, 84, 86, 2], Operations: []
Exploring Operation: 31*2=62, Resulting Numbers: [84, 86, 62]
Generated Node #2: [84, 86, 62] from Operation: 31*2=62
Current State: 60:[84, 86, 62], Operations: ['31*2=62']
Exploring Operation: 86-84=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 86-84=2
Current State: 60:[62, 2], Operations: ['31*2=62', '86-84=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[31, 84, 86, 2], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [31, 2, 2]
Generated Node #0,0: 60:[31, 2, 2] Operation: 86-84=2
Exploring Operation: 86-31=55, Resulting Numbers: [84, 2, 55]
Generated Node #0,1: 60:[84, 2, 55] Operation: 86-31=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[31, 2, 2], Operations: ['86-84=2']
Exploring Operation: 31-2=29, Resulting Numbers: [2, 29]
Generated Node #0,0,0: 60:[2, 29] Operation: 31-2=29
Exploring Operation: 31-2=29, Resulting Numbers: [2, 29]
Generated Node #0,0,1: 60:[2, 29] Operation: 31-2=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[2, 29], Operations: ['86-84=2', '31-2=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[2, 29], Operations: ['86-84=2', '31-2=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[84, 2, 55], Operations: ['86-31=55']
Exploring Operation: 84/2=42, Resulting Numbers: [55, 42]
Generated Node #0,1,0: 60:[55, 42] Operation: 84/2=42
Exploring Operation: 84-55=29, Resulting Numbers: [2, 29]
Generated Node #0,1,1: 60:[2, 29] Operation: 84-55=29
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[2, 29], Operations: ['86-31=55', '84-55=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[55, 42], Operations: ['86-31=55', '84/2=42']
Exploring Operation: 55+42=97, Resulting Numbers: [97]
97,60 unequal: No Solution
Exploring Operation: 55-42=13, Resulting Numbers: [13]
13,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
84,
28,
60,
89
] | 87 | [
"84/28=3",
"89-60=29",
"3*29=87"
] | Current State: 87:[84, 28, 60, 89], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [60, 89, 3]
Generated Node #2: [60, 89, 3] from Operation: 84/28=3
Current State: 87:[60, 89, 3], Operations: ['84/28=3']
Exploring Operation: 89-60=29, Resulting Numbers: [3, 29]
Generated Node #3: [3, 29] from Operation: 89-60=29
Current State: 87:[3, 29], Operations: ['84/28=3', '89-60=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[84, 28, 60, 89], Operations: []
Exploring Operation: 89-60=29, Resulting Numbers: [84, 28, 29]
Generated Node #0,0: 87:[84, 28, 29] Operation: 89-60=29
Moving to Node #0,0
Current State: 87:[84, 28, 29], Operations: ['89-60=29']
Exploring Operation: 84/28=3, Resulting Numbers: [29, 3]
Generated Node #0,0,0: 87:[29, 3] Operation: 84/28=3
Moving to Node #0,0,0
Current State: 87:[29, 3], Operations: ['89-60=29', '84/28=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[84, 28, 60, 89], Operations: []
Exploring Operation: 89-60=29, Resulting Numbers: [84, 28, 29]
Generated Node #0,0: 87:[84, 28, 29] Operation: 89-60=29
Moving to Node #0,0
Current State: 87:[84, 28, 29], Operations: ['89-60=29']
Exploring Operation: 84/28=3, Resulting Numbers: [29, 3]
Generated Node #0,0,0: 87:[29, 3] Operation: 84/28=3
Moving to Node #0,0,0
Current State: 87:[29, 3], Operations: ['89-60=29', '84/28=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
99,
21,
69,
23
] | 84 | [
"99+69=168",
"23-21=2",
"168/2=84"
] | Current State: 84:[99, 21, 69, 23], Operations: []
Exploring Operation: 99+69=168, Resulting Numbers: [21, 23, 168]
Generated Node #2: [21, 23, 168] from Operation: 99+69=168
Current State: 84:[21, 23, 168], Operations: ['99+69=168']
Exploring Operation: 23-21=2, Resulting Numbers: [168, 2]
Generated Node #3: [168, 2] from Operation: 23-21=2
Current State: 84:[168, 2], Operations: ['99+69=168', '23-21=2']
Exploring Operation: 168/2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[99, 21, 69, 23], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [99, 21, 3]
Generated Node #0,0: 84:[99, 21, 3] Operation: 69/23=3
Exploring Operation: 99-69=30, Resulting Numbers: [21, 23, 30]
Generated Node #0,1: 84:[21, 23, 30] Operation: 99-69=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[21, 23, 30], Operations: ['99-69=30']
Exploring Operation: 30-23=7, Resulting Numbers: [21, 7]
Generated Node #0,1,0: 84:[21, 7] Operation: 30-23=7
Exploring Operation: 23-21=2, Resulting Numbers: [30, 2]
Generated Node #0,1,1: 84:[30, 2] Operation: 23-21=2
Moving to Node #0,1,0
Current State: 84:[21, 7], Operations: ['99-69=30', '30-23=7']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[30, 2], Operations: ['99-69=30', '23-21=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[99, 21, 3], Operations: ['69/23=3']
Exploring Operation: 99/3=33, Resulting Numbers: [21, 33]
Generated Node #0,0,0: 84:[21, 33] Operation: 99/3=33
Exploring Operation: 99-21=78, Resulting Numbers: [3, 78]
Generated Node #0,0,1: 84:[3, 78] Operation: 99-21=78
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[21, 33], Operations: ['69/23=3', '99/3=33']
Exploring Operation: 21+33=54, Resulting Numbers: [54]
54,84 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[3, 78], Operations: ['69/23=3', '99-21=78']
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,84 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
17,
82,
22,
92
] | 49 | [
"82-17=65",
"22+92=114",
"114-65=49"
] | Current State: 49:[17, 82, 22, 92], Operations: []
Exploring Operation: 82-17=65, Resulting Numbers: [22, 92, 65]
Generated Node #2: [22, 92, 65] from Operation: 82-17=65
Current State: 49:[22, 92, 65], Operations: ['82-17=65']
Exploring Operation: 22+92=114, Resulting Numbers: [65, 114]
Generated Node #3: [65, 114] from Operation: 22+92=114
Current State: 49:[65, 114], Operations: ['82-17=65', '22+92=114']
Exploring Operation: 114-65=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[17, 82, 22, 92], Operations: []
Exploring Operation: 82-22=60, Resulting Numbers: [17, 92, 60]
Generated Node #0,0: 49:[17, 92, 60] Operation: 82-22=60
Exploring Operation: 92-82=10, Resulting Numbers: [17, 22, 10]
Generated Node #0,1: 49:[17, 22, 10] Operation: 92-82=10
Exploring Operation: 82-17=65, Resulting Numbers: [22, 92, 65]
Generated Node #0,2: 49:[22, 92, 65] Operation: 82-17=65
Exploring Operation: 92-17=75, Resulting Numbers: [82, 22, 75]
Generated Node #0,3: 49:[82, 22, 75] Operation: 92-17=75
Exploring Operation: 92-22=70, Resulting Numbers: [17, 82, 70]
Generated Node #0,4: 49:[17, 82, 70] Operation: 92-22=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[17, 22, 10], Operations: ['92-82=10']
Exploring Operation: 17-10=7, Resulting Numbers: [22, 7]
Generated Node #0,1,0: 49:[22, 7] Operation: 17-10=7
Exploring Operation: 22+10=32, Resulting Numbers: [17, 32]
Generated Node #0,1,1: 49:[17, 32] Operation: 22+10=32
Exploring Operation: 17+22=39, Resulting Numbers: [10, 39]
Generated Node #0,1,2: 49:[10, 39] Operation: 17+22=39
Exploring Operation: 22-17=5, Resulting Numbers: [10, 5]
Generated Node #0,1,3: 49:[10, 5] Operation: 22-17=5
Exploring Operation: 22-10=12, Resulting Numbers: [17, 12]
Generated Node #0,1,4: 49:[17, 12] Operation: 22-10=12
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 49:[10, 5], Operations: ['92-82=10', '22-17=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 49:[10, 39], Operations: ['92-82=10', '17+22=39']
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[17, 82, 22, 92], Operations: []
Exploring Operation: 92-82=10, Resulting Numbers: [17, 22, 10]
Generated Node #0,1: 49:[17, 22, 10] Operation: 92-82=10
Moving to Node #0,1
Current State: 49:[17, 22, 10], Operations: ['92-82=10']
Exploring Operation: 17+22=39, Resulting Numbers: [10, 39]
Generated Node #0,1,2: 49:[10, 39] Operation: 17+22=39
Moving to Node #0,1,2
Current State: 49:[10, 39], Operations: ['92-82=10', '17+22=39']
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
17,
71,
63,
20
] | 24 | [
"20-17=3",
"71-63=8",
"3*8=24"
] | Current State: 24:[17, 71, 63, 20], Operations: []
Exploring Operation: 20-17=3, Resulting Numbers: [71, 63, 3]
Generated Node #2: [71, 63, 3] from Operation: 20-17=3
Current State: 24:[71, 63, 3], Operations: ['20-17=3']
Exploring Operation: 71-63=8, Resulting Numbers: [3, 8]
Generated Node #3: [3, 8] from Operation: 71-63=8
Current State: 24:[3, 8], Operations: ['20-17=3', '71-63=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[17, 71, 63, 20], Operations: []
Exploring Operation: 71-20=51, Resulting Numbers: [17, 63, 51]
Generated Node #0,0: 24:[17, 63, 51] Operation: 71-20=51
Exploring Operation: 63-20=43, Resulting Numbers: [17, 71, 43]
Generated Node #0,1: 24:[17, 71, 43] Operation: 63-20=43
Exploring Operation: 71-63=8, Resulting Numbers: [17, 20, 8]
Generated Node #0,2: 24:[17, 20, 8] Operation: 71-63=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[17, 20, 8], Operations: ['71-63=8']
Exploring Operation: 17-8=9, Resulting Numbers: [20, 9]
Generated Node #0,2,0: 24:[20, 9] Operation: 17-8=9
Exploring Operation: 17+8=25, Resulting Numbers: [20, 25]
Generated Node #0,2,1: 24:[20, 25] Operation: 17+8=25
Exploring Operation: 20-17=3, Resulting Numbers: [8, 3]
Generated Node #0,2,2: 24:[8, 3] Operation: 20-17=3
Moving to Node #0,2,2
Current State: 24:[8, 3], Operations: ['71-63=8', '20-17=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[17, 71, 63, 20], Operations: []
Exploring Operation: 71-63=8, Resulting Numbers: [17, 20, 8]
Generated Node #0,2: 24:[17, 20, 8] Operation: 71-63=8
Moving to Node #0,2
Current State: 24:[17, 20, 8], Operations: ['71-63=8']
Exploring Operation: 20-17=3, Resulting Numbers: [8, 3]
Generated Node #0,2,2: 24:[8, 3] Operation: 20-17=3
Moving to Node #0,2,2
Current State: 24:[8, 3], Operations: ['71-63=8', '20-17=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
99,
30,
97,
98
] | 67 | [
"99-98=1",
"97-30=67",
"1*67=67"
] | Current State: 67:[99, 30, 97, 98], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [30, 97, 1]
Generated Node #2: [30, 97, 1] from Operation: 99-98=1
Current State: 67:[30, 97, 1], Operations: ['99-98=1']
Exploring Operation: 97-30=67, Resulting Numbers: [1, 67]
Generated Node #3: [1, 67] from Operation: 97-30=67
Current State: 67:[1, 67], Operations: ['99-98=1', '97-30=67']
Exploring Operation: 1*67=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[99, 30, 97, 98], Operations: []
Exploring Operation: 99-30=69, Resulting Numbers: [97, 98, 69]
Generated Node #0,0: 67:[97, 98, 69] Operation: 99-30=69
Exploring Operation: 97-30=67, Resulting Numbers: [99, 98, 67]
Generated Node #0,1: 67:[99, 98, 67] Operation: 97-30=67
Moving to Node #0,0
Current State: 67:[97, 98, 69], Operations: ['99-30=69']
Exploring Operation: 98-97=1, Resulting Numbers: [69, 1]
Generated Node #0,0,0: 67:[69, 1] Operation: 98-97=1
Exploring Operation: 98-69=29, Resulting Numbers: [97, 29]
Generated Node #0,0,1: 67:[97, 29] Operation: 98-69=29
Moving to Node #0,1
Current State: 67:[99, 98, 67], Operations: ['97-30=67']
Exploring Operation: 99-98=1, Resulting Numbers: [67, 1]
Generated Node #0,1,0: 67:[67, 1] Operation: 99-98=1
Exploring Operation: 99-67=32, Resulting Numbers: [98, 32]
Generated Node #0,1,1: 67:[98, 32] Operation: 99-67=32
Moving to Node #0,1,0
Current State: 67:[67, 1], Operations: ['97-30=67', '99-98=1']
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[99, 30, 97, 98], Operations: []
Exploring Operation: 97-30=67, Resulting Numbers: [99, 98, 67]
Generated Node #0,1: 67:[99, 98, 67] Operation: 97-30=67
Moving to Node #0,1
Current State: 67:[99, 98, 67], Operations: ['97-30=67']
Exploring Operation: 99-98=1, Resulting Numbers: [67, 1]
Generated Node #0,1,0: 67:[67, 1] Operation: 99-98=1
Moving to Node #0,1,0
Current State: 67:[67, 1], Operations: ['97-30=67', '99-98=1']
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
13,
7,
9,
89
] | 63 | [
"9-7=2",
"13*2=26",
"89-26=63"
] | Current State: 63:[13, 7, 9, 89], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [13, 89, 2]
Generated Node #2: [13, 89, 2] from Operation: 9-7=2
Current State: 63:[13, 89, 2], Operations: ['9-7=2']
Exploring Operation: 13*2=26, Resulting Numbers: [89, 26]
Generated Node #3: [89, 26] from Operation: 13*2=26
Current State: 63:[89, 26], Operations: ['9-7=2', '13*2=26']
Exploring Operation: 89-26=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[13, 7, 9, 89], Operations: []
Exploring Operation: 89-9=80, Resulting Numbers: [13, 7, 80]
Generated Node #0,0: 63:[13, 7, 80] Operation: 89-9=80
Exploring Operation: 89-13=76, Resulting Numbers: [7, 9, 76]
Generated Node #0,1: 63:[7, 9, 76] Operation: 89-13=76
Moving to Node #0,1
Current State: 63:[7, 9, 76], Operations: ['89-13=76']
Exploring Operation: 76-7=69, Resulting Numbers: [9, 69]
Generated Node #0,1,0: 63:[9, 69] Operation: 76-7=69
Exploring Operation: 76-9=67, Resulting Numbers: [7, 67]
Generated Node #0,1,1: 63:[7, 67] Operation: 76-9=67
Moving to Node #0,0
Current State: 63:[13, 7, 80], Operations: ['89-9=80']
Exploring Operation: 80-13=67, Resulting Numbers: [7, 67]
Generated Node #0,0,0: 63:[7, 67] Operation: 80-13=67
Exploring Operation: 80-7=73, Resulting Numbers: [13, 73]
Generated Node #0,0,1: 63:[13, 73] Operation: 80-7=73
Moving to Node #0,1,1
Current State: 63:[7, 67], Operations: ['89-13=76', '76-9=67']
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,63 unequal: No Solution
Exploring Operation: 7+67=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[7, 67], Operations: ['89-9=80', '80-13=67']
Exploring Operation: 7+67=74, Resulting Numbers: [74]
74,63 unequal: No Solution
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[9, 69], Operations: ['89-13=76', '76-7=69']
Exploring Operation: 9+69=78, Resulting Numbers: [78]
78,63 unequal: No Solution
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[13, 73], Operations: ['89-9=80', '80-7=73']
Exploring Operation: 73-13=60, Resulting Numbers: [60]
60,63 unequal: No Solution
Exploring Operation: 13+73=86, Resulting Numbers: [86]
86,63 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
63,
26,
29,
10
] | 56 | [
"63-26=37",
"29-10=19",
"37+19=56"
] | Current State: 56:[63, 26, 29, 10], Operations: []
Exploring Operation: 63-26=37, Resulting Numbers: [29, 10, 37]
Generated Node #2: [29, 10, 37] from Operation: 63-26=37
Current State: 56:[29, 10, 37], Operations: ['63-26=37']
Exploring Operation: 29-10=19, Resulting Numbers: [37, 19]
Generated Node #3: [37, 19] from Operation: 29-10=19
Current State: 56:[37, 19], Operations: ['63-26=37', '29-10=19']
Exploring Operation: 37+19=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[63, 26, 29, 10], Operations: []
Exploring Operation: 63-10=53, Resulting Numbers: [26, 29, 53]
Generated Node #0,0: 56:[26, 29, 53] Operation: 63-10=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[26, 29, 53], Operations: ['63-10=53']
Exploring Operation: 53-26=27, Resulting Numbers: [29, 27]
Generated Node #0,0,0: 56:[29, 27] Operation: 53-26=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[29, 27], Operations: ['63-10=53', '53-26=27']
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[63, 26, 29, 10], Operations: []
Exploring Operation: 63-10=53, Resulting Numbers: [26, 29, 53]
Generated Node #0,0: 56:[26, 29, 53] Operation: 63-10=53
Moving to Node #0,0
Current State: 56:[26, 29, 53], Operations: ['63-10=53']
Exploring Operation: 53-26=27, Resulting Numbers: [29, 27]
Generated Node #0,0,0: 56:[29, 27] Operation: 53-26=27
Moving to Node #0,0,0
Current State: 56:[29, 27], Operations: ['63-10=53', '53-26=27']
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
66,
36,
10,
48
] | 13 | [
"66*10=660",
"660-36=624",
"624/48=13"
] | Current State: 13:[66, 36, 10, 48], Operations: []
Exploring Operation: 66*10=660, Resulting Numbers: [36, 48, 660]
Generated Node #2: [36, 48, 660] from Operation: 66*10=660
Current State: 13:[36, 48, 660], Operations: ['66*10=660']
Exploring Operation: 660-36=624, Resulting Numbers: [48, 624]
Generated Node #3: [48, 624] from Operation: 660-36=624
Current State: 13:[48, 624], Operations: ['66*10=660', '660-36=624']
Exploring Operation: 624/48=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[66, 36, 10, 48], Operations: []
Exploring Operation: 66-48=18, Resulting Numbers: [36, 10, 18]
Generated Node #0,0: 13:[36, 10, 18] Operation: 66-48=18
Moving to Node #0,0
Current State: 13:[36, 10, 18], Operations: ['66-48=18']
Exploring Operation: 36-18=18, Resulting Numbers: [10, 18]
Generated Node #0,0,0: 13:[10, 18] Operation: 36-18=18
Moving to Node #0,0,0
Current State: 13:[10, 18], Operations: ['66-48=18', '36-18=18']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,13 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
52,
3,
18
] | 50 | [
"6+3=9",
"18/9=2",
"52-2=50"
] | Current State: 50:[6, 52, 3, 18], Operations: []
Exploring Operation: 6+3=9, Resulting Numbers: [52, 18, 9]
Generated Node #2: [52, 18, 9] from Operation: 6+3=9
Current State: 50:[52, 18, 9], Operations: ['6+3=9']
Exploring Operation: 18/9=2, Resulting Numbers: [52, 2]
Generated Node #3: [52, 2] from Operation: 18/9=2
Current State: 50:[52, 2], Operations: ['6+3=9', '18/9=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[6, 52, 3, 18], Operations: []
Exploring Operation: 6+18=24, Resulting Numbers: [52, 3, 24]
Generated Node #0,0: 50:[52, 3, 24] Operation: 6+18=24
Exploring Operation: 18/6=3, Resulting Numbers: [52, 3, 3]
Generated Node #0,1: 50:[52, 3, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [52, 3, 12]
Generated Node #0,2: 50:[52, 3, 12] Operation: 18-6=12
Exploring Operation: 3+18=21, Resulting Numbers: [6, 52, 21]
Generated Node #0,3: 50:[6, 52, 21] Operation: 3+18=21
Exploring Operation: 18/3=6, Resulting Numbers: [6, 52, 6]
Generated Node #0,4: 50:[6, 52, 6] Operation: 18/3=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[52, 3, 24], Operations: ['6+18=24']
Exploring Operation: 52-24=28, Resulting Numbers: [3, 28]
Generated Node #0,0,0: 50:[3, 28] Operation: 52-24=28
Exploring Operation: 3+24=27, Resulting Numbers: [52, 27]
Generated Node #0,0,1: 50:[52, 27] Operation: 3+24=27
Exploring Operation: 24/3=8, Resulting Numbers: [52, 8]
Generated Node #0,0,2: 50:[52, 8] Operation: 24/3=8
Exploring Operation: 52+3=55, Resulting Numbers: [24, 55]
Generated Node #0,0,3: 50:[24, 55] Operation: 52+3=55
Exploring Operation: 52-3=49, Resulting Numbers: [24, 49]
Generated Node #0,0,4: 50:[24, 49] Operation: 52-3=49
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 50:[24, 49], Operations: ['6+18=24', '52-3=49']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,50 unequal: No Solution
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[3, 28], Operations: ['6+18=24', '52-24=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 50:[52, 27], Operations: ['6+18=24', '3+24=27']
Exploring Operation: 52*27=1404, Resulting Numbers: [1404]
1404,50 unequal: No Solution
Exploring Operation: 52+27=79, Resulting Numbers: [79]
79,50 unequal: No Solution
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 50:[52, 8], Operations: ['6+18=24', '24/3=8']
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,50 unequal: No Solution
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 50:[24, 55], Operations: ['6+18=24', '52+3=55']
Exploring Operation: 24+55=79, Resulting Numbers: [79]
79,50 unequal: No Solution
Exploring Operation: 24*55=1320, Resulting Numbers: [1320]
1320,50 unequal: No Solution
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[52, 3, 3], Operations: ['18/6=3']
Exploring Operation: 3+3=6, Resulting Numbers: [52, 6]
Generated Node #0,1,0: 50:[52, 6] Operation: 3+3=6
Exploring Operation: 3/3=1, Resulting Numbers: [52, 1]
Generated Node #0,1,1: 50:[52, 1] Operation: 3/3=1
Exploring Operation: 52-3=49, Resulting Numbers: [3, 49]
Generated Node #0,1,2: 50:[3, 49] Operation: 52-3=49
Exploring Operation: 3*3=9, Resulting Numbers: [52, 9]
Generated Node #0,1,3: 50:[52, 9] Operation: 3*3=9
Exploring Operation: 52-3=49, Resulting Numbers: [3, 49]
Generated Node #0,1,4: 50:[3, 49] Operation: 52-3=49
Moving to Node #0,1,2
Current State: 50:[3, 49], Operations: ['18/6=3', '52-3=49']
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,50 unequal: No Solution
Moving to Node #0,1,4
Current State: 50:[3, 49], Operations: ['18/6=3', '52-3=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[52, 6], Operations: ['18/6=3', '3+3=6']
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,50 unequal: No Solution
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,50 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[52, 1], Operations: ['18/6=3', '3/3=1']
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Moving to Node #0,1,3
Current State: 50:[52, 9], Operations: ['18/6=3', '3*3=9']
Exploring Operation: 52*9=468, Resulting Numbers: [468]
468,50 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,50 unequal: No Solution
Exploring Operation: 52+9=61, Resulting Numbers: [61]
61,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 50:[6, 52, 6], Operations: ['18/3=6']
Exploring Operation: 6+6=12, Resulting Numbers: [52, 12]
Generated Node #0,4,0: 50:[52, 12] Operation: 6+6=12
Exploring Operation: 52-6=46, Resulting Numbers: [6, 46]
Generated Node #0,4,1: 50:[6, 46] Operation: 52-6=46
Exploring Operation: 52-6=46, Resulting Numbers: [6, 46]
Generated Node #0,4,2: 50:[6, 46] Operation: 52-6=46
Exploring Operation: 6-6=0, Resulting Numbers: [52, 0]
Generated Node #0,4,3: 50:[52, 0] Operation: 6-6=0
Exploring Operation: 6/6=1, Resulting Numbers: [52, 1]
Generated Node #0,4,4: 50:[52, 1] Operation: 6/6=1
Moving to Node #0,4,4
Current State: 50:[52, 1], Operations: ['18/3=6', '6/6=1']
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Moving to Node #0,4,3
Current State: 50:[52, 0], Operations: ['18/3=6', '6-6=0']
Exploring Operation: 52*0=0, Resulting Numbers: [0]
0,50 unequal: No Solution
Exploring Operation: 52-0=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 52+0=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Moving to Node #0,4,0
Current State: 50:[52, 12], Operations: ['18/3=6', '6+6=12']
Exploring Operation: 52*12=624, Resulting Numbers: [624]
624,50 unequal: No Solution
Exploring Operation: 52+12=64, Resulting Numbers: [64]
64,50 unequal: No Solution
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Moving to Node #0,4,1
Current State: 50:[6, 46], Operations: ['18/3=6', '52-6=46']
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,50 unequal: No Solution
Moving to Node #0,4,2
Current State: 50:[6, 46], Operations: ['18/3=6', '52-6=46']
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[52, 3, 12], Operations: ['18-6=12']
Exploring Operation: 3+12=15, Resulting Numbers: [52, 15]
Generated Node #0,2,0: 50:[52, 15] Operation: 3+12=15
Exploring Operation: 52-3=49, Resulting Numbers: [12, 49]
Generated Node #0,2,1: 50:[12, 49] Operation: 52-3=49
Exploring Operation: 52+3=55, Resulting Numbers: [12, 55]
Generated Node #0,2,2: 50:[12, 55] Operation: 52+3=55
Exploring Operation: 12-3=9, Resulting Numbers: [52, 9]
Generated Node #0,2,3: 50:[52, 9] Operation: 12-3=9
Exploring Operation: 12/3=4, Resulting Numbers: [52, 4]
Generated Node #0,2,4: 50:[52, 4] Operation: 12/3=4
Moving to Node #0,2,1
Current State: 50:[12, 49], Operations: ['18-6=12', '52-3=49']
Exploring Operation: 12*49=588, Resulting Numbers: [588]
588,50 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,50 unequal: No Solution
Exploring Operation: 12+49=61, Resulting Numbers: [61]
61,50 unequal: No Solution
Moving to Node #0,2,4
Current State: 50:[52, 4], Operations: ['18-6=12', '12/3=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,50 unequal: No Solution
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Moving to Node #0,2,3
Current State: 50:[52, 9], Operations: ['18-6=12', '12-3=9']
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,50 unequal: No Solution
Exploring Operation: 52+9=61, Resulting Numbers: [61]
61,50 unequal: No Solution
Exploring Operation: 52*9=468, Resulting Numbers: [468]
468,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[52, 15], Operations: ['18-6=12', '3+12=15']
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,50 unequal: No Solution
Exploring Operation: 52*15=780, Resulting Numbers: [780]
780,50 unequal: No Solution
Exploring Operation: 52+15=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[12, 55], Operations: ['18-6=12', '52+3=55']
Exploring Operation: 12+55=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Exploring Operation: 12*55=660, Resulting Numbers: [660]
660,50 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 50:[6, 52, 21], Operations: ['3+18=21']
Exploring Operation: 6+52=58, Resulting Numbers: [21, 58]
Generated Node #0,3,0: 50:[21, 58] Operation: 6+52=58
Exploring Operation: 21-6=15, Resulting Numbers: [52, 15]
Generated Node #0,3,1: 50:[52, 15] Operation: 21-6=15
Exploring Operation: 52-6=46, Resulting Numbers: [21, 46]
Generated Node #0,3,2: 50:[21, 46] Operation: 52-6=46
Exploring Operation: 6+21=27, Resulting Numbers: [52, 27]
Generated Node #0,3,3: 50:[52, 27] Operation: 6+21=27
Exploring Operation: 52-21=31, Resulting Numbers: [6, 31]
Generated Node #0,3,4: 50:[6, 31] Operation: 52-21=31
Moving to Node #0,3,3
Current State: 50:[52, 27], Operations: ['3+18=21', '6+21=27']
Exploring Operation: 52*27=1404, Resulting Numbers: [1404]
1404,50 unequal: No Solution
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 52+27=79, Resulting Numbers: [79]
79,50 unequal: No Solution
Moving to Node #0,3,4
Current State: 50:[6, 31], Operations: ['3+18=21', '52-21=31']
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,50 unequal: No Solution
Exploring Operation: 6*31=186, Resulting Numbers: [186]
186,50 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Moving to Node #0,3,1
Current State: 50:[52, 15], Operations: ['3+18=21', '21-6=15']
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,50 unequal: No Solution
Exploring Operation: 52+15=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Exploring Operation: 52*15=780, Resulting Numbers: [780]
780,50 unequal: No Solution
Moving to Node #0,3,2
Current State: 50:[21, 46], Operations: ['3+18=21', '52-6=46']
Exploring Operation: 21*46=966, Resulting Numbers: [966]
966,50 unequal: No Solution
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 21+46=67, Resulting Numbers: [67]
67,50 unequal: No Solution
Moving to Node #0,3,0
Current State: 50:[21, 58], Operations: ['3+18=21', '6+52=58']
Exploring Operation: 21+58=79, Resulting Numbers: [79]
79,50 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,50 unequal: No Solution
Exploring Operation: 21*58=1218, Resulting Numbers: [1218]
1218,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
60,
94,
73,
47
] | 47 | [
"60*94=5640",
"73+47=120",
"5640/120=47"
] | Current State: 47:[60, 94, 73, 47], Operations: []
Exploring Operation: 60*94=5640, Resulting Numbers: [73, 47, 5640]
Generated Node #2: [73, 47, 5640] from Operation: 60*94=5640
Current State: 47:[73, 47, 5640], Operations: ['60*94=5640']
Exploring Operation: 73+47=120, Resulting Numbers: [5640, 120]
Generated Node #3: [5640, 120] from Operation: 73+47=120
Current State: 47:[5640, 120], Operations: ['60*94=5640', '73+47=120']
Exploring Operation: 5640/120=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[60, 94, 73, 47], Operations: []
Exploring Operation: 94-60=34, Resulting Numbers: [73, 47, 34]
Generated Node #0,0: 47:[73, 47, 34] Operation: 94-60=34
Exploring Operation: 73-60=13, Resulting Numbers: [94, 47, 13]
Generated Node #0,1: 47:[94, 47, 13] Operation: 73-60=13
Exploring Operation: 94-73=21, Resulting Numbers: [60, 47, 21]
Generated Node #0,2: 47:[60, 47, 21] Operation: 94-73=21
Exploring Operation: 94-47=47, Resulting Numbers: [60, 73, 47]
Generated Node #0,3: 47:[60, 73, 47] Operation: 94-47=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[73, 47, 34], Operations: ['94-60=34']
Exploring Operation: 73-34=39, Resulting Numbers: [47, 39]
Generated Node #0,0,0: 47:[47, 39] Operation: 73-34=39
Exploring Operation: 73-47=26, Resulting Numbers: [34, 26]
Generated Node #0,0,1: 47:[34, 26] Operation: 73-47=26
Exploring Operation: 47+34=81, Resulting Numbers: [73, 81]
Generated Node #0,0,2: 47:[73, 81] Operation: 47+34=81
Exploring Operation: 73+34=107, Resulting Numbers: [47, 107]
Generated Node #0,0,3: 47:[47, 107] Operation: 73+34=107
Moving to Node #0,0,0
Current State: 47:[47, 39], Operations: ['94-60=34', '73-34=39']
Exploring Operation: 47-39=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 47*39=1833, Resulting Numbers: [1833]
1833,47 unequal: No Solution
Exploring Operation: 47+39=86, Resulting Numbers: [86]
86,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[34, 26], Operations: ['94-60=34', '73-47=26']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,47 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[47, 107], Operations: ['94-60=34', '73+34=107']
Exploring Operation: 47+107=154, Resulting Numbers: [154]
154,47 unequal: No Solution
Exploring Operation: 47*107=5029, Resulting Numbers: [5029]
5029,47 unequal: No Solution
Exploring Operation: 107-47=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[73, 81], Operations: ['94-60=34', '47+34=81']
Exploring Operation: 73*81=5913, Resulting Numbers: [5913]
5913,47 unequal: No Solution
Exploring Operation: 81-73=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 73+81=154, Resulting Numbers: [154]
154,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[60, 47, 21], Operations: ['94-73=21']
Exploring Operation: 60-21=39, Resulting Numbers: [47, 39]
Generated Node #0,2,0: 47:[47, 39] Operation: 60-21=39
Exploring Operation: 47+21=68, Resulting Numbers: [60, 68]
Generated Node #0,2,1: 47:[60, 68] Operation: 47+21=68
Exploring Operation: 47-21=26, Resulting Numbers: [60, 26]
Generated Node #0,2,2: 47:[60, 26] Operation: 47-21=26
Exploring Operation: 60+21=81, Resulting Numbers: [47, 81]
Generated Node #0,2,3: 47:[47, 81] Operation: 60+21=81
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[47, 39], Operations: ['94-73=21', '60-21=39']
Exploring Operation: 47+39=86, Resulting Numbers: [86]
86,47 unequal: No Solution
Exploring Operation: 47*39=1833, Resulting Numbers: [1833]
1833,47 unequal: No Solution
Exploring Operation: 47-39=8, Resulting Numbers: [8]
8,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[60, 68], Operations: ['94-73=21', '47+21=68']
Exploring Operation: 60+68=128, Resulting Numbers: [128]
128,47 unequal: No Solution
Exploring Operation: 60*68=4080, Resulting Numbers: [4080]
4080,47 unequal: No Solution
Exploring Operation: 68-60=8, Resulting Numbers: [8]
8,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[60, 26], Operations: ['94-73=21', '47-21=26']
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 60*26=1560, Resulting Numbers: [1560]
1560,47 unequal: No Solution
Exploring Operation: 60+26=86, Resulting Numbers: [86]
86,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 47:[47, 81], Operations: ['94-73=21', '60+21=81']
Exploring Operation: 47+81=128, Resulting Numbers: [128]
128,47 unequal: No Solution
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 47*81=3807, Resulting Numbers: [3807]
3807,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[60, 73, 47], Operations: ['94-47=47']
Exploring Operation: 73-47=26, Resulting Numbers: [60, 26]
Generated Node #0,3,0: 47:[60, 26] Operation: 73-47=26
Exploring Operation: 60-47=13, Resulting Numbers: [73, 13]
Generated Node #0,3,1: 47:[73, 13] Operation: 60-47=13
Exploring Operation: 60+73=133, Resulting Numbers: [47, 133]
Generated Node #0,3,2: 47:[47, 133] Operation: 60+73=133
Exploring Operation: 73-60=13, Resulting Numbers: [47, 13]
Generated Node #0,3,3: 47:[47, 13] Operation: 73-60=13
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 47:[60, 26], Operations: ['94-47=47', '73-47=26']
Exploring Operation: 60*26=1560, Resulting Numbers: [1560]
1560,47 unequal: No Solution
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 60+26=86, Resulting Numbers: [86]
86,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 47:[47, 13], Operations: ['94-47=47', '73-60=13']
Exploring Operation: 47*13=611, Resulting Numbers: [611]
611,47 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 47+13=60, Resulting Numbers: [60]
60,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 47:[73, 13], Operations: ['94-47=47', '60-47=13']
Exploring Operation: 73-13=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 73*13=949, Resulting Numbers: [949]
949,47 unequal: No Solution
Exploring Operation: 73+13=86, Resulting Numbers: [86]
86,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 47:[47, 133], Operations: ['94-47=47', '60+73=133']
Exploring Operation: 133-47=86, Resulting Numbers: [86]
86,47 unequal: No Solution
Exploring Operation: 47*133=6251, Resulting Numbers: [6251]
6251,47 unequal: No Solution
Exploring Operation: 47+133=180, Resulting Numbers: [180]
180,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[94, 47, 13], Operations: ['73-60=13']
Exploring Operation: 94-13=81, Resulting Numbers: [47, 81]
Generated Node #0,1,0: 47:[47, 81] Operation: 94-13=81
Exploring Operation: 94+13=107, Resulting Numbers: [47, 107]
Generated Node #0,1,1: 47:[47, 107] Operation: 94+13=107
Exploring Operation: 94-47=47, Resulting Numbers: [13, 47]
Generated Node #0,1,2: 47:[13, 47] Operation: 94-47=47
Exploring Operation: 47+13=60, Resulting Numbers: [94, 60]
Generated Node #0,1,3: 47:[94, 60] Operation: 47+13=60
Moving to Node #0,1,0
Current State: 47:[47, 81], Operations: ['73-60=13', '94-13=81']
Exploring Operation: 47*81=3807, Resulting Numbers: [3807]
3807,47 unequal: No Solution
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 47+81=128, Resulting Numbers: [128]
128,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[13, 47], Operations: ['73-60=13', '94-47=47']
Exploring Operation: 13+47=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 13*47=611, Resulting Numbers: [611]
611,47 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[94, 60], Operations: ['73-60=13', '47+13=60']
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,47 unequal: No Solution
Exploring Operation: 94+60=154, Resulting Numbers: [154]
154,47 unequal: No Solution
Exploring Operation: 94*60=5640, Resulting Numbers: [5640]
5640,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[47, 107], Operations: ['73-60=13', '94+13=107']
Exploring Operation: 47*107=5029, Resulting Numbers: [5029]
5029,47 unequal: No Solution
Exploring Operation: 107-47=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 47+107=154, Resulting Numbers: [154]
154,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
78,
9,
13,
52
] | 90 | [
"78+52=130",
"9*130=1170",
"1170/13=90"
] | Current State: 90:[78, 9, 13, 52], Operations: []
Exploring Operation: 78+52=130, Resulting Numbers: [9, 13, 130]
Generated Node #2: [9, 13, 130] from Operation: 78+52=130
Current State: 90:[9, 13, 130], Operations: ['78+52=130']
Exploring Operation: 9*130=1170, Resulting Numbers: [13, 1170]
Generated Node #3: [13, 1170] from Operation: 9*130=1170
Current State: 90:[13, 1170], Operations: ['78+52=130', '9*130=1170']
Exploring Operation: 1170/13=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[78, 9, 13, 52], Operations: []
Exploring Operation: 78-52=26, Resulting Numbers: [9, 13, 26]
Generated Node #0,0: 90:[9, 13, 26] Operation: 78-52=26
Exploring Operation: 78/13=6, Resulting Numbers: [9, 52, 6]
Generated Node #0,1: 90:[9, 52, 6] Operation: 78/13=6
Exploring Operation: 78+13=91, Resulting Numbers: [9, 52, 91]
Generated Node #0,2: 90:[9, 52, 91] Operation: 78+13=91
Exploring Operation: 78+9=87, Resulting Numbers: [13, 52, 87]
Generated Node #0,3: 90:[13, 52, 87] Operation: 78+9=87
Exploring Operation: 52/13=4, Resulting Numbers: [78, 9, 4]
Generated Node #0,4: 90:[78, 9, 4] Operation: 52/13=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[9, 13, 26], Operations: ['78-52=26']
Exploring Operation: 26/13=2, Resulting Numbers: [9, 2]
Generated Node #0,0,0: 90:[9, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [9, 13]
Generated Node #0,0,1: 90:[9, 13] Operation: 26-13=13
Exploring Operation: 13-9=4, Resulting Numbers: [26, 4]
Generated Node #0,0,2: 90:[26, 4] Operation: 13-9=4
Exploring Operation: 26-9=17, Resulting Numbers: [13, 17]
Generated Node #0,0,3: 90:[13, 17] Operation: 26-9=17
Exploring Operation: 13+26=39, Resulting Numbers: [9, 39]
Generated Node #0,0,4: 90:[9, 39] Operation: 13+26=39
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[9, 2], Operations: ['78-52=26', '26/13=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[9, 13], Operations: ['78-52=26', '26-13=13']
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,90 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 90:[13, 17], Operations: ['78-52=26', '26-9=17']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 13*17=221, Resulting Numbers: [221]
221,90 unequal: No Solution
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[26, 4], Operations: ['78-52=26', '13-9=4']
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,90 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 90:[9, 39], Operations: ['78-52=26', '13+26=39']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[9, 52, 6], Operations: ['78/13=6']
Exploring Operation: 9+6=15, Resulting Numbers: [52, 15]
Generated Node #0,1,0: 90:[52, 15] Operation: 9+6=15
Exploring Operation: 52-6=46, Resulting Numbers: [9, 46]
Generated Node #0,1,1: 90:[9, 46] Operation: 52-6=46
Exploring Operation: 9-6=3, Resulting Numbers: [52, 3]
Generated Node #0,1,2: 90:[52, 3] Operation: 9-6=3
Exploring Operation: 52+6=58, Resulting Numbers: [9, 58]
Generated Node #0,1,3: 90:[9, 58] Operation: 52+6=58
Exploring Operation: 52-9=43, Resulting Numbers: [6, 43]
Generated Node #0,1,4: 90:[6, 43] Operation: 52-9=43
Moving to Node #0,1,1
Current State: 90:[9, 46], Operations: ['78/13=6', '52-6=46']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,90 unequal: No Solution
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Exploring Operation: 9*46=414, Resulting Numbers: [414]
414,90 unequal: No Solution
Moving to Node #0,1,4
Current State: 90:[6, 43], Operations: ['78/13=6', '52-9=43']
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,90 unequal: No Solution
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,90 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[52, 15], Operations: ['78/13=6', '9+6=15']
Exploring Operation: 52*15=780, Resulting Numbers: [780]
780,90 unequal: No Solution
Exploring Operation: 52+15=67, Resulting Numbers: [67]
67,90 unequal: No Solution
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[52, 3], Operations: ['78/13=6', '9-6=3']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,90 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[9, 58], Operations: ['78/13=6', '52+6=58']
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,90 unequal: No Solution
Exploring Operation: 9*58=522, Resulting Numbers: [522]
522,90 unequal: No Solution
Exploring Operation: 9+58=67, Resulting Numbers: [67]
67,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[9, 52, 91], Operations: ['78+13=91']
Exploring Operation: 9+52=61, Resulting Numbers: [91, 61]
Generated Node #0,2,0: 90:[91, 61] Operation: 9+52=61
Exploring Operation: 9+91=100, Resulting Numbers: [52, 100]
Generated Node #0,2,1: 90:[52, 100] Operation: 9+91=100
Exploring Operation: 91-52=39, Resulting Numbers: [9, 39]
Generated Node #0,2,2: 90:[9, 39] Operation: 91-52=39
Exploring Operation: 52-9=43, Resulting Numbers: [91, 43]
Generated Node #0,2,3: 90:[91, 43] Operation: 52-9=43
Exploring Operation: 91-9=82, Resulting Numbers: [52, 82]
Generated Node #0,2,4: 90:[52, 82] Operation: 91-9=82
Moving to Node #0,2,3
Current State: 90:[91, 43], Operations: ['78+13=91', '52-9=43']
Exploring Operation: 91*43=3913, Resulting Numbers: [3913]
3913,90 unequal: No Solution
Exploring Operation: 91+43=134, Resulting Numbers: [134]
134,90 unequal: No Solution
Exploring Operation: 91-43=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[9, 39], Operations: ['78+13=91', '91-52=39']
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,90 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Moving to Node #0,2,4
Current State: 90:[52, 82], Operations: ['78+13=91', '91-9=82']
Exploring Operation: 52*82=4264, Resulting Numbers: [4264]
4264,90 unequal: No Solution
Exploring Operation: 82-52=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 52+82=134, Resulting Numbers: [134]
134,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[91, 61], Operations: ['78+13=91', '9+52=61']
Exploring Operation: 91-61=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 91+61=152, Resulting Numbers: [152]
152,90 unequal: No Solution
Exploring Operation: 91*61=5551, Resulting Numbers: [5551]
5551,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[52, 100], Operations: ['78+13=91', '9+91=100']
Exploring Operation: 52*100=5200, Resulting Numbers: [5200]
5200,90 unequal: No Solution
Exploring Operation: 52+100=152, Resulting Numbers: [152]
152,90 unequal: No Solution
Exploring Operation: 100-52=48, Resulting Numbers: [48]
48,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[13, 52, 87], Operations: ['78+9=87']
Exploring Operation: 13+52=65, Resulting Numbers: [87, 65]
Generated Node #0,3,0: 90:[87, 65] Operation: 13+52=65
Exploring Operation: 52-13=39, Resulting Numbers: [87, 39]
Generated Node #0,3,1: 90:[87, 39] Operation: 52-13=39
Exploring Operation: 52/13=4, Resulting Numbers: [87, 4]
Generated Node #0,3,2: 90:[87, 4] Operation: 52/13=4
Exploring Operation: 87-52=35, Resulting Numbers: [13, 35]
Generated Node #0,3,3: 90:[13, 35] Operation: 87-52=35
Exploring Operation: 13+87=100, Resulting Numbers: [52, 100]
Generated Node #0,3,4: 90:[52, 100] Operation: 13+87=100
Moving to Node #0,3,2
Current State: 90:[87, 4], Operations: ['78+9=87', '52/13=4']
Exploring Operation: 87+4=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 87*4=348, Resulting Numbers: [348]
348,90 unequal: No Solution
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Moving to Node #0,3,3
Current State: 90:[13, 35], Operations: ['78+9=87', '87-52=35']
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 13*35=455, Resulting Numbers: [455]
455,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[87, 39], Operations: ['78+9=87', '52-13=39']
Exploring Operation: 87*39=3393, Resulting Numbers: [3393]
3393,90 unequal: No Solution
Exploring Operation: 87+39=126, Resulting Numbers: [126]
126,90 unequal: No Solution
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Moving to Node #0,3,4
Current State: 90:[52, 100], Operations: ['78+9=87', '13+87=100']
Exploring Operation: 52*100=5200, Resulting Numbers: [5200]
5200,90 unequal: No Solution
Exploring Operation: 100-52=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 52+100=152, Resulting Numbers: [152]
152,90 unequal: No Solution
Moving to Node #0,3,0
Current State: 90:[87, 65], Operations: ['78+9=87', '13+52=65']
Exploring Operation: 87*65=5655, Resulting Numbers: [5655]
5655,90 unequal: No Solution
Exploring Operation: 87-65=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 87+65=152, Resulting Numbers: [152]
152,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 90:[78, 9, 4], Operations: ['52/13=4']
Exploring Operation: 78-4=74, Resulting Numbers: [9, 74]
Generated Node #0,4,0: 90:[9, 74] Operation: 78-4=74
Exploring Operation: 9-4=5, Resulting Numbers: [78, 5]
Generated Node #0,4,1: 90:[78, 5] Operation: 9-4=5
Exploring Operation: 78+4=82, Resulting Numbers: [9, 82]
Generated Node #0,4,2: 90:[9, 82] Operation: 78+4=82
Exploring Operation: 78+9=87, Resulting Numbers: [4, 87]
Generated Node #0,4,3: 90:[4, 87] Operation: 78+9=87
Exploring Operation: 9+4=13, Resulting Numbers: [78, 13]
Generated Node #0,4,4: 90:[78, 13] Operation: 9+4=13
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 90:[4, 87], Operations: ['52/13=4', '78+9=87']
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Exploring Operation: 4+87=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 4*87=348, Resulting Numbers: [348]
348,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 90:[9, 82], Operations: ['52/13=4', '78+4=82']
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 9*82=738, Resulting Numbers: [738]
738,90 unequal: No Solution
Exploring Operation: 9+82=91, Resulting Numbers: [91]
91,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 90:[78, 5], Operations: ['52/13=4', '9-4=5']
Exploring Operation: 78*5=390, Resulting Numbers: [390]
390,90 unequal: No Solution
Exploring Operation: 78+5=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 90:[78, 13], Operations: ['52/13=4', '9+4=13']
Exploring Operation: 78-13=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 78+13=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 78*13=1014, Resulting Numbers: [1014]
1014,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 90:[9, 74], Operations: ['52/13=4', '78-4=74']
Exploring Operation: 9*74=666, Resulting Numbers: [666]
666,90 unequal: No Solution
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 9+74=83, Resulting Numbers: [83]
83,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
51,
45,
44,
98
] | 60 | [
"51-45=6",
"98-44=54",
"6+54=60"
] | Current State: 60:[51, 45, 44, 98], Operations: []
Exploring Operation: 51-45=6, Resulting Numbers: [44, 98, 6]
Generated Node #2: [44, 98, 6] from Operation: 51-45=6
Current State: 60:[44, 98, 6], Operations: ['51-45=6']
Exploring Operation: 98-44=54, Resulting Numbers: [6, 54]
Generated Node #3: [6, 54] from Operation: 98-44=54
Current State: 60:[6, 54], Operations: ['51-45=6', '98-44=54']
Exploring Operation: 6+54=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[51, 45, 44, 98], Operations: []
Exploring Operation: 98-45=53, Resulting Numbers: [51, 44, 53]
Generated Node #0,0: 60:[51, 44, 53] Operation: 98-45=53
Moving to Node #0,0
Current State: 60:[51, 44, 53], Operations: ['98-45=53']
Exploring Operation: 51-44=7, Resulting Numbers: [53, 7]
Generated Node #0,0,0: 60:[53, 7] Operation: 51-44=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[53, 7], Operations: ['98-45=53', '51-44=7']
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[51, 45, 44, 98], Operations: []
Exploring Operation: 98-45=53, Resulting Numbers: [51, 44, 53]
Generated Node #0,0: 60:[51, 44, 53] Operation: 98-45=53
Moving to Node #0,0
Current State: 60:[51, 44, 53], Operations: ['98-45=53']
Exploring Operation: 51-44=7, Resulting Numbers: [53, 7]
Generated Node #0,0,0: 60:[53, 7] Operation: 51-44=7
Moving to Node #0,0,0
Current State: 60:[53, 7], Operations: ['98-45=53', '51-44=7']
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
69,
77,
14,
20
] | 26 | [
"77-69=8",
"14+20=34",
"34-8=26"
] | Current State: 26:[69, 77, 14, 20], Operations: []
Exploring Operation: 77-69=8, Resulting Numbers: [14, 20, 8]
Generated Node #2: [14, 20, 8] from Operation: 77-69=8
Current State: 26:[14, 20, 8], Operations: ['77-69=8']
Exploring Operation: 14+20=34, Resulting Numbers: [8, 34]
Generated Node #3: [8, 34] from Operation: 14+20=34
Current State: 26:[8, 34], Operations: ['77-69=8', '14+20=34']
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[69, 77, 14, 20], Operations: []
Exploring Operation: 77-69=8, Resulting Numbers: [14, 20, 8]
Generated Node #0,0: 26:[14, 20, 8] Operation: 77-69=8
Moving to Node #0,0
Current State: 26:[14, 20, 8], Operations: ['77-69=8']
Exploring Operation: 20-8=12, Resulting Numbers: [14, 12]
Generated Node #0,0,0: 26:[14, 12] Operation: 20-8=12
Moving to Node #0,0,0
Current State: 26:[14, 12], Operations: ['77-69=8', '20-8=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[69, 77, 14, 20], Operations: []
Exploring Operation: 77-69=8, Resulting Numbers: [14, 20, 8]
Generated Node #0,0: 26:[14, 20, 8] Operation: 77-69=8
Moving to Node #0,0
Current State: 26:[14, 20, 8], Operations: ['77-69=8']
Exploring Operation: 20-8=12, Resulting Numbers: [14, 12]
Generated Node #0,0,0: 26:[14, 12] Operation: 20-8=12
Moving to Node #0,0,0
Current State: 26:[14, 12], Operations: ['77-69=8', '20-8=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.