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 |
|---|---|---|---|---|---|---|---|---|
[
32,
61,
77,
24
] | 22 | [
"77-61=16",
"32/16=2",
"24-2=22"
] | Current State: 22:[32, 61, 77, 24], Operations: []
Exploring Operation: 77-61=16, Resulting Numbers: [32, 24, 16]
Generated Node #2: [32, 24, 16] from Operation: 77-61=16
Current State: 22:[32, 24, 16], Operations: ['77-61=16']
Exploring Operation: 32/16=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 32/16=2
Current State: 22:[24, 2], Operations: ['77-61=16', '32/16=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[32, 61, 77, 24], Operations: []
Exploring Operation: 77-32=45, Resulting Numbers: [61, 24, 45]
Generated Node #0,0: 22:[61, 24, 45] Operation: 77-32=45
Exploring Operation: 77-61=16, Resulting Numbers: [32, 24, 16]
Generated Node #0,1: 22:[32, 24, 16] Operation: 77-61=16
Exploring Operation: 61-32=29, Resulting Numbers: [77, 24, 29]
Generated Node #0,2: 22:[77, 24, 29] Operation: 61-32=29
Exploring Operation: 61-24=37, Resulting Numbers: [32, 77, 37]
Generated Node #0,3: 22:[32, 77, 37] Operation: 61-24=37
Moving to Node #0,1
Current State: 22:[32, 24, 16], Operations: ['77-61=16']
Exploring Operation: 24-16=8, Resulting Numbers: [32, 8]
Generated Node #0,1,0: 22:[32, 8] Operation: 24-16=8
Exploring Operation: 32-24=8, Resulting Numbers: [16, 8]
Generated Node #0,1,1: 22:[16, 8] Operation: 32-24=8
Exploring Operation: 32-16=16, Resulting Numbers: [24, 16]
Generated Node #0,1,2: 22:[24, 16] Operation: 32-16=16
Exploring Operation: 32/16=2, Resulting Numbers: [24, 2]
Generated Node #0,1,3: 22:[24, 2] Operation: 32/16=2
Moving to Node #0,2
Current State: 22:[77, 24, 29], Operations: ['61-32=29']
Exploring Operation: 77+24=101, Resulting Numbers: [29, 101]
Generated Node #0,2,0: 22:[29, 101] Operation: 77+24=101
Exploring Operation: 29-24=5, Resulting Numbers: [77, 5]
Generated Node #0,2,1: 22:[77, 5] Operation: 29-24=5
Exploring Operation: 77-24=53, Resulting Numbers: [29, 53]
Generated Node #0,2,2: 22:[29, 53] Operation: 77-24=53
Exploring Operation: 77-29=48, Resulting Numbers: [24, 48]
Generated Node #0,2,3: 22:[24, 48] Operation: 77-29=48
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 22:[24, 48], Operations: ['61-32=29', '77-29=48']
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 24+48=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Exploring Operation: 24*48=1152, Resulting Numbers: [1152]
1152,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,2
Current State: 22:[29, 53], Operations: ['61-32=29', '77-24=53']
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,22 unequal: No Solution
Exploring Operation: 29+53=82, Resulting Numbers: [82]
82,22 unequal: No Solution
Exploring Operation: 29*53=1537, Resulting Numbers: [1537]
1537,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,1
Current State: 22:[77, 5], Operations: ['61-32=29', '29-24=5']
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Exploring Operation: 77*5=385, Resulting Numbers: [385]
385,22 unequal: No Solution
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,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,0
Current State: 22:[29, 101], Operations: ['61-32=29', '77+24=101']
Exploring Operation: 101-29=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Exploring Operation: 29+101=130, Resulting Numbers: [130]
130,22 unequal: No Solution
Exploring Operation: 29*101=2929, Resulting Numbers: [2929]
2929,22 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: 22:[61, 24, 45], Operations: ['77-32=45']
Exploring Operation: 61-45=16, Resulting Numbers: [24, 16]
Generated Node #0,0,0: 22:[24, 16] Operation: 61-45=16
Exploring Operation: 45-24=21, Resulting Numbers: [61, 21]
Generated Node #0,0,1: 22:[61, 21] Operation: 45-24=21
Exploring Operation: 61+24=85, Resulting Numbers: [45, 85]
Generated Node #0,0,2: 22:[45, 85] Operation: 61+24=85
Exploring Operation: 61-24=37, Resulting Numbers: [45, 37]
Generated Node #0,0,3: 22:[45, 37] Operation: 61-24=37
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[24, 16], Operations: ['77-32=45', '61-45=16']
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,22 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,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,0,3
Current State: 22:[45, 37], Operations: ['77-32=45', '61-24=37']
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,22 unequal: No Solution
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 45*37=1665, Resulting Numbers: [1665]
1665,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,0,1
Current State: 22:[61, 21], Operations: ['77-32=45', '45-24=21']
Exploring Operation: 61+21=82, Resulting Numbers: [82]
82,22 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,22 unequal: No Solution
Exploring Operation: 61*21=1281, Resulting Numbers: [1281]
1281,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,0,2
Current State: 22:[45, 85], Operations: ['77-32=45', '61+24=85']
Exploring Operation: 45+85=130, Resulting Numbers: [130]
130,22 unequal: No Solution
Exploring Operation: 45*85=3825, Resulting Numbers: [3825]
3825,22 unequal: No Solution
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,22 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: 22:[32, 77, 37], Operations: ['61-24=37']
Exploring Operation: 77-32=45, Resulting Numbers: [37, 45]
Generated Node #0,3,0: 22:[37, 45] Operation: 77-32=45
Exploring Operation: 77-37=40, Resulting Numbers: [32, 40]
Generated Node #0,3,1: 22:[32, 40] Operation: 77-37=40
Exploring Operation: 32+77=109, Resulting Numbers: [37, 109]
Generated Node #0,3,2: 22:[37, 109] Operation: 32+77=109
Exploring Operation: 37-32=5, Resulting Numbers: [77, 5]
Generated Node #0,3,3: 22:[77, 5] Operation: 37-32=5
Moving to Node #0,1,3
Current State: 22:[24, 2], Operations: ['77-61=16', '32/16=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[32, 61, 77, 24], Operations: []
Exploring Operation: 77-61=16, Resulting Numbers: [32, 24, 16]
Generated Node #0,1: 22:[32, 24, 16] Operation: 77-61=16
Moving to Node #0,1
Current State: 22:[32, 24, 16], Operations: ['77-61=16']
Exploring Operation: 32/16=2, Resulting Numbers: [24, 2]
Generated Node #0,1,3: 22:[24, 2] Operation: 32/16=2
Moving to Node #0,1,3
Current State: 22:[24, 2], Operations: ['77-61=16', '32/16=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.956597 | hs_4 | sum_heuristic |
[
79,
38,
6,
57
] | 10 | [
"79+38=117",
"117-57=60",
"60/6=10"
] | Current State: 10:[79, 38, 6, 57], Operations: []
Exploring Operation: 79+38=117, Resulting Numbers: [6, 57, 117]
Generated Node #2: [6, 57, 117] from Operation: 79+38=117
Current State: 10:[6, 57, 117], Operations: ['79+38=117']
Exploring Operation: 117-57=60, Resulting Numbers: [6, 60]
Generated Node #3: [6, 60] from Operation: 117-57=60
Current State: 10:[6, 60], Operations: ['79+38=117', '117-57=60']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[79, 38, 6, 57], Operations: []
Exploring Operation: 79-57=22, Resulting Numbers: [38, 6, 22]
Generated Node #0,0: 10:[38, 6, 22] Operation: 79-57=22
Moving to Node #0,0
Current State: 10:[38, 6, 22], Operations: ['79-57=22']
Exploring Operation: 38-22=16, Resulting Numbers: [6, 16]
Generated Node #0,0,0: 10:[6, 16] Operation: 38-22=16
Moving to Node #0,0,0
Current State: 10:[6, 16], Operations: ['79-57=22', '38-22=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[79, 38, 6, 57], Operations: []
Exploring Operation: 79-57=22, Resulting Numbers: [38, 6, 22]
Generated Node #0,0: 10:[38, 6, 22] Operation: 79-57=22
Moving to Node #0,0
Current State: 10:[38, 6, 22], Operations: ['79-57=22']
Exploring Operation: 38-22=16, Resulting Numbers: [6, 16]
Generated Node #0,0,0: 10:[6, 16] Operation: 38-22=16
Moving to Node #0,0,0
Current State: 10:[6, 16], Operations: ['79-57=22', '38-22=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
66,
70,
3,
23
] | 66 | [
"3*23=69",
"70-69=1",
"66*1=66"
] | Current State: 66:[66, 70, 3, 23], Operations: []
Exploring Operation: 3*23=69, Resulting Numbers: [66, 70, 69]
Generated Node #2: [66, 70, 69] from Operation: 3*23=69
Current State: 66:[66, 70, 69], Operations: ['3*23=69']
Exploring Operation: 70-69=1, Resulting Numbers: [66, 1]
Generated Node #3: [66, 1] from Operation: 70-69=1
Current State: 66:[66, 1], Operations: ['3*23=69', '70-69=1']
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[66, 70, 3, 23], Operations: []
Exploring Operation: 70-66=4, Resulting Numbers: [3, 23, 4]
Generated Node #0,0: 66:[3, 23, 4] Operation: 70-66=4
Exploring Operation: 70-3=67, Resulting Numbers: [66, 23, 67]
Generated Node #0,1: 66:[66, 23, 67] Operation: 70-3=67
Moving to Node #0,0
Current State: 66:[3, 23, 4], Operations: ['70-66=4']
Exploring Operation: 3*4=12, Resulting Numbers: [23, 12]
Generated Node #0,0,0: 66:[23, 12] Operation: 3*4=12
Exploring Operation: 3+4=7, Resulting Numbers: [23, 7]
Generated Node #0,0,1: 66:[23, 7] Operation: 3+4=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[23, 12], Operations: ['70-66=4', '3*4=12']
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,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,0,1
Current State: 66:[23, 7], Operations: ['70-66=4', '3+4=7']
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,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:[66, 23, 67], Operations: ['70-3=67']
Exploring Operation: 66-23=43, Resulting Numbers: [67, 43]
Generated Node #0,1,0: 66:[67, 43] Operation: 66-23=43
Exploring Operation: 67-66=1, Resulting Numbers: [23, 1]
Generated Node #0,1,1: 66:[23, 1] Operation: 67-66=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[23, 1], Operations: ['70-3=67', '67-66=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 23*1=23, Resulting Numbers: [23]
23,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,0
Current State: 66:[67, 43], Operations: ['70-3=67', '66-23=43']
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,66 unequal: No Solution
Exploring Operation: 67+43=110, Resulting Numbers: [110]
110,66 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 |
[
32,
14,
99,
41
] | 42 | [
"99+41=140",
"140/14=10",
"32+10=42"
] | Current State: 42:[32, 14, 99, 41], Operations: []
Exploring Operation: 99+41=140, Resulting Numbers: [32, 14, 140]
Generated Node #2: [32, 14, 140] from Operation: 99+41=140
Current State: 42:[32, 14, 140], Operations: ['99+41=140']
Exploring Operation: 140/14=10, Resulting Numbers: [32, 10]
Generated Node #3: [32, 10] from Operation: 140/14=10
Current State: 42:[32, 10], Operations: ['99+41=140', '140/14=10']
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[32, 14, 99, 41], Operations: []
Exploring Operation: 99-41=58, Resulting Numbers: [32, 14, 58]
Generated Node #0,0: 42:[32, 14, 58] Operation: 99-41=58
Exploring Operation: 41-32=9, Resulting Numbers: [14, 99, 9]
Generated Node #0,1: 42:[14, 99, 9] Operation: 41-32=9
Exploring Operation: 99-32=67, Resulting Numbers: [14, 41, 67]
Generated Node #0,2: 42:[14, 41, 67] Operation: 99-32=67
Exploring Operation: 32-14=18, Resulting Numbers: [99, 41, 18]
Generated Node #0,3: 42:[99, 41, 18] Operation: 32-14=18
Exploring Operation: 99-14=85, Resulting Numbers: [32, 41, 85]
Generated Node #0,4: 42:[32, 41, 85] Operation: 99-14=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[32, 14, 58], Operations: ['99-41=58']
Exploring Operation: 58-32=26, Resulting Numbers: [14, 26]
Generated Node #0,0,0: 42:[14, 26] Operation: 58-32=26
Exploring Operation: 58-14=44, Resulting Numbers: [32, 44]
Generated Node #0,0,1: 42:[32, 44] Operation: 58-14=44
Exploring Operation: 14+58=72, Resulting Numbers: [32, 72]
Generated Node #0,0,2: 42:[32, 72] Operation: 14+58=72
Exploring Operation: 32+14=46, Resulting Numbers: [58, 46]
Generated Node #0,0,3: 42:[58, 46] Operation: 32+14=46
Exploring Operation: 32-14=18, Resulting Numbers: [58, 18]
Generated Node #0,0,4: 42:[58, 18] Operation: 32-14=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[14, 26], Operations: ['99-41=58', '58-32=26']
Exploring Operation: 14*26=364, Resulting Numbers: [364]
364,42 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,42 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: 42:[32, 44], Operations: ['99-41=58', '58-14=44']
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,42 unequal: No Solution
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,42 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: 42:[58, 18], Operations: ['99-41=58', '32-14=18']
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,42 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: 42:[58, 46], Operations: ['99-41=58', '32+14=46']
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 58+46=104, Resulting Numbers: [104]
104,42 unequal: No Solution
Exploring Operation: 58*46=2668, Resulting Numbers: [2668]
2668,42 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: 42:[32, 72], Operations: ['99-41=58', '14+58=72']
Exploring Operation: 32*72=2304, Resulting Numbers: [2304]
2304,42 unequal: No Solution
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 32+72=104, Resulting Numbers: [104]
104,42 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: 42:[14, 41, 67], Operations: ['99-32=67']
Exploring Operation: 41-14=27, Resulting Numbers: [67, 27]
Generated Node #0,2,0: 42:[67, 27] Operation: 41-14=27
Exploring Operation: 14+67=81, Resulting Numbers: [41, 81]
Generated Node #0,2,1: 42:[41, 81] Operation: 14+67=81
Exploring Operation: 67-14=53, Resulting Numbers: [41, 53]
Generated Node #0,2,2: 42:[41, 53] Operation: 67-14=53
Exploring Operation: 67-41=26, Resulting Numbers: [14, 26]
Generated Node #0,2,3: 42:[14, 26] Operation: 67-41=26
Exploring Operation: 14+41=55, Resulting Numbers: [67, 55]
Generated Node #0,2,4: 42:[67, 55] Operation: 14+41=55
Moving to Node #0,2,3
Current State: 42:[14, 26], Operations: ['99-32=67', '67-41=26']
Exploring Operation: 14*26=364, Resulting Numbers: [364]
364,42 unequal: No Solution
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[41, 53], Operations: ['99-32=67', '67-14=53']
Exploring Operation: 41+53=94, Resulting Numbers: [94]
94,42 unequal: No Solution
Exploring Operation: 41*53=2173, Resulting Numbers: [2173]
2173,42 unequal: No Solution
Exploring Operation: 53-41=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[67, 27], Operations: ['99-32=67', '41-14=27']
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 67+27=94, Resulting Numbers: [94]
94,42 unequal: No Solution
Exploring Operation: 67*27=1809, Resulting Numbers: [1809]
1809,42 unequal: No Solution
Moving to Node #0,2,4
Current State: 42:[67, 55], Operations: ['99-32=67', '14+41=55']
Exploring Operation: 67-55=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 67+55=122, Resulting Numbers: [122]
122,42 unequal: No Solution
Exploring Operation: 67*55=3685, Resulting Numbers: [3685]
3685,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[41, 81], Operations: ['99-32=67', '14+67=81']
Exploring Operation: 81-41=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 41+81=122, Resulting Numbers: [122]
122,42 unequal: No Solution
Exploring Operation: 41*81=3321, Resulting Numbers: [3321]
3321,42 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: 42:[32, 41, 85], Operations: ['99-14=85']
Exploring Operation: 32+85=117, Resulting Numbers: [41, 117]
Generated Node #0,4,0: 42:[41, 117] Operation: 32+85=117
Exploring Operation: 85-41=44, Resulting Numbers: [32, 44]
Generated Node #0,4,1: 42:[32, 44] Operation: 85-41=44
Exploring Operation: 85-32=53, Resulting Numbers: [41, 53]
Generated Node #0,4,2: 42:[41, 53] Operation: 85-32=53
Exploring Operation: 41-32=9, Resulting Numbers: [85, 9]
Generated Node #0,4,3: 42:[85, 9] Operation: 41-32=9
Exploring Operation: 32+41=73, Resulting Numbers: [85, 73]
Generated Node #0,4,4: 42:[85, 73] Operation: 32+41=73
Moving to Node #0,4,1
Current State: 42:[32, 44], Operations: ['99-14=85', '85-41=44']
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,42 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Moving to Node #0,4,2
Current State: 42:[41, 53], Operations: ['99-14=85', '85-32=53']
Exploring Operation: 41+53=94, Resulting Numbers: [94]
94,42 unequal: No Solution
Exploring Operation: 53-41=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 41*53=2173, Resulting Numbers: [2173]
2173,42 unequal: No Solution
Moving to Node #0,4,3
Current State: 42:[85, 9], Operations: ['99-14=85', '41-32=9']
Exploring Operation: 85+9=94, Resulting Numbers: [94]
94,42 unequal: No Solution
Exploring Operation: 85*9=765, Resulting Numbers: [765]
765,42 unequal: No Solution
Exploring Operation: 85-9=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Moving to Node #0,4,4
Current State: 42:[85, 73], Operations: ['99-14=85', '32+41=73']
Exploring Operation: 85+73=158, Resulting Numbers: [158]
158,42 unequal: No Solution
Exploring Operation: 85*73=6205, Resulting Numbers: [6205]
6205,42 unequal: No Solution
Exploring Operation: 85-73=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Moving to Node #0,4,0
Current State: 42:[41, 117], Operations: ['99-14=85', '32+85=117']
Exploring Operation: 117-41=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 41*117=4797, Resulting Numbers: [4797]
4797,42 unequal: No Solution
Exploring Operation: 41+117=158, Resulting Numbers: [158]
158,42 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: 42:[14, 99, 9], Operations: ['41-32=9']
Exploring Operation: 99-9=90, Resulting Numbers: [14, 90]
Generated Node #0,1,0: 42:[14, 90] Operation: 99-9=90
Exploring Operation: 99-14=85, Resulting Numbers: [9, 85]
Generated Node #0,1,1: 42:[9, 85] Operation: 99-14=85
Exploring Operation: 14-9=5, Resulting Numbers: [99, 5]
Generated Node #0,1,2: 42:[99, 5] Operation: 14-9=5
Exploring Operation: 99/9=11, Resulting Numbers: [14, 11]
Generated Node #0,1,3: 42:[14, 11] Operation: 99/9=11
Exploring Operation: 14+9=23, Resulting Numbers: [99, 23]
Generated Node #0,1,4: 42:[99, 23] Operation: 14+9=23
Moving to Node #0,1,3
Current State: 42:[14, 11], Operations: ['41-32=9', '99/9=11']
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,42 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[9, 85], Operations: ['41-32=9', '99-14=85']
Exploring Operation: 9*85=765, Resulting Numbers: [765]
765,42 unequal: No Solution
Exploring Operation: 9+85=94, Resulting Numbers: [94]
94,42 unequal: No Solution
Exploring Operation: 85-9=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[14, 90], Operations: ['41-32=9', '99-9=90']
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 14*90=1260, Resulting Numbers: [1260]
1260,42 unequal: No Solution
Exploring Operation: 14+90=104, Resulting Numbers: [104]
104,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[99, 5], Operations: ['41-32=9', '14-9=5']
Exploring Operation: 99+5=104, Resulting Numbers: [104]
104,42 unequal: No Solution
Exploring Operation: 99*5=495, Resulting Numbers: [495]
495,42 unequal: No Solution
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,42 unequal: No Solution
Moving to Node #0,1,4
Current State: 42:[99, 23], Operations: ['41-32=9', '14+9=23']
Exploring Operation: 99*23=2277, Resulting Numbers: [2277]
2277,42 unequal: No Solution
Exploring Operation: 99-23=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 99+23=122, Resulting Numbers: [122]
122,42 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: 42:[99, 41, 18], Operations: ['32-14=18']
Exploring Operation: 99-41=58, Resulting Numbers: [18, 58]
Generated Node #0,3,0: 42:[18, 58] Operation: 99-41=58
Exploring Operation: 41-18=23, Resulting Numbers: [99, 23]
Generated Node #0,3,1: 42:[99, 23] Operation: 41-18=23
Exploring Operation: 99-18=81, Resulting Numbers: [41, 81]
Generated Node #0,3,2: 42:[41, 81] Operation: 99-18=81
Exploring Operation: 99+18=117, Resulting Numbers: [41, 117]
Generated Node #0,3,3: 42:[41, 117] Operation: 99+18=117
Exploring Operation: 41+18=59, Resulting Numbers: [99, 59]
Generated Node #0,3,4: 42:[99, 59] Operation: 41+18=59
Moving to Node #0,3,0
Current State: 42:[18, 58], Operations: ['32-14=18', '99-41=58']
Exploring Operation: 18*58=1044, Resulting Numbers: [1044]
1044,42 unequal: No Solution
Exploring Operation: 18+58=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Moving to Node #0,3,2
Current State: 42:[41, 81], Operations: ['32-14=18', '99-18=81']
Exploring Operation: 81-41=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 41*81=3321, Resulting Numbers: [3321]
3321,42 unequal: No Solution
Exploring Operation: 41+81=122, Resulting Numbers: [122]
122,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[99, 23], Operations: ['32-14=18', '41-18=23']
Exploring Operation: 99+23=122, Resulting Numbers: [122]
122,42 unequal: No Solution
Exploring Operation: 99*23=2277, Resulting Numbers: [2277]
2277,42 unequal: No Solution
Exploring Operation: 99-23=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Moving to Node #0,3,4
Current State: 42:[99, 59], Operations: ['32-14=18', '41+18=59']
Exploring Operation: 99*59=5841, Resulting Numbers: [5841]
5841,42 unequal: No Solution
Exploring Operation: 99-59=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 99+59=158, Resulting Numbers: [158]
158,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[41, 117], Operations: ['32-14=18', '99+18=117']
Exploring Operation: 117-41=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 41+117=158, Resulting Numbers: [158]
158,42 unequal: No Solution
Exploring Operation: 41*117=4797, Resulting Numbers: [4797]
4797,42 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 |
[
9,
7,
71,
97
] | 15 | [
"71+97=168",
"168/7=24",
"24-9=15"
] | Current State: 15:[9, 7, 71, 97], Operations: []
Exploring Operation: 71+97=168, Resulting Numbers: [9, 7, 168]
Generated Node #2: [9, 7, 168] from Operation: 71+97=168
Current State: 15:[9, 7, 168], Operations: ['71+97=168']
Exploring Operation: 168/7=24, Resulting Numbers: [9, 24]
Generated Node #3: [9, 24] from Operation: 168/7=24
Current State: 15:[9, 24], Operations: ['71+97=168', '168/7=24']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[9, 7, 71, 97], Operations: []
Exploring Operation: 71-7=64, Resulting Numbers: [9, 97, 64]
Generated Node #0,0: 15:[9, 97, 64] Operation: 71-7=64
Exploring Operation: 97-9=88, Resulting Numbers: [7, 71, 88]
Generated Node #0,1: 15:[7, 71, 88] Operation: 97-9=88
Exploring Operation: 97-71=26, Resulting Numbers: [9, 7, 26]
Generated Node #0,2: 15:[9, 7, 26] Operation: 97-71=26
Exploring Operation: 97-7=90, Resulting Numbers: [9, 71, 90]
Generated Node #0,3: 15:[9, 71, 90] Operation: 97-7=90
Exploring Operation: 71-9=62, Resulting Numbers: [7, 97, 62]
Generated Node #0,4: 15:[7, 97, 62] Operation: 71-9=62
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[9, 7, 26], Operations: ['97-71=26']
Exploring Operation: 26-9=17, Resulting Numbers: [7, 17]
Generated Node #0,2,0: 15:[7, 17] Operation: 26-9=17
Exploring Operation: 26-7=19, Resulting Numbers: [9, 19]
Generated Node #0,2,1: 15:[9, 19] Operation: 26-7=19
Exploring Operation: 9-7=2, Resulting Numbers: [26, 2]
Generated Node #0,2,2: 15:[26, 2] Operation: 9-7=2
Exploring Operation: 9+26=35, Resulting Numbers: [7, 35]
Generated Node #0,2,3: 15:[7, 35] Operation: 9+26=35
Exploring Operation: 9+7=16, Resulting Numbers: [26, 16]
Generated Node #0,2,4: 15:[26, 16] Operation: 9+7=16
Moving to Node #0,2,0
Current State: 15:[7, 17], Operations: ['97-71=26', '26-9=17']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,15 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[9, 19], Operations: ['97-71=26', '26-7=19']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,15 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[26, 2], Operations: ['97-71=26', '9-7=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,15 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Moving to Node #0,2,4
Current State: 15:[26, 16], Operations: ['97-71=26', '9+7=16']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 26*16=416, Resulting Numbers: [416]
416,15 unequal: No Solution
Moving to Node #0,2,3
Current State: 15:[7, 35], Operations: ['97-71=26', '9+26=35']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 7*35=245, Resulting Numbers: [245]
245,15 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: 15:[7, 71, 88], Operations: ['97-9=88']
Exploring Operation: 88-71=17, Resulting Numbers: [7, 17]
Generated Node #0,1,0: 15:[7, 17] Operation: 88-71=17
Exploring Operation: 71-7=64, Resulting Numbers: [88, 64]
Generated Node #0,1,1: 15:[88, 64] Operation: 71-7=64
Exploring Operation: 88-7=81, Resulting Numbers: [71, 81]
Generated Node #0,1,2: 15:[71, 81] Operation: 88-7=81
Exploring Operation: 7+71=78, Resulting Numbers: [88, 78]
Generated Node #0,1,3: 15:[88, 78] Operation: 7+71=78
Exploring Operation: 7+88=95, Resulting Numbers: [71, 95]
Generated Node #0,1,4: 15:[71, 95] Operation: 7+88=95
Moving to Node #0,1,0
Current State: 15:[7, 17], Operations: ['97-9=88', '88-71=17']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,15 unequal: No Solution
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[71, 81], Operations: ['97-9=88', '88-7=81']
Exploring Operation: 81-71=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 71*81=5751, Resulting Numbers: [5751]
5751,15 unequal: No Solution
Exploring Operation: 71+81=152, Resulting Numbers: [152]
152,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[88, 64], Operations: ['97-9=88', '71-7=64']
Exploring Operation: 88+64=152, Resulting Numbers: [152]
152,15 unequal: No Solution
Exploring Operation: 88*64=5632, Resulting Numbers: [5632]
5632,15 unequal: No Solution
Exploring Operation: 88-64=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[88, 78], Operations: ['97-9=88', '7+71=78']
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 88+78=166, Resulting Numbers: [166]
166,15 unequal: No Solution
Exploring Operation: 88*78=6864, Resulting Numbers: [6864]
6864,15 unequal: No Solution
Moving to Node #0,1,4
Current State: 15:[71, 95], Operations: ['97-9=88', '7+88=95']
Exploring Operation: 71*95=6745, Resulting Numbers: [6745]
6745,15 unequal: No Solution
Exploring Operation: 95-71=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 71+95=166, Resulting Numbers: [166]
166,15 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: 15:[7, 97, 62], Operations: ['71-9=62']
Exploring Operation: 97-7=90, Resulting Numbers: [62, 90]
Generated Node #0,4,0: 15:[62, 90] Operation: 97-7=90
Exploring Operation: 97-62=35, Resulting Numbers: [7, 35]
Generated Node #0,4,1: 15:[7, 35] Operation: 97-62=35
Exploring Operation: 7+62=69, Resulting Numbers: [97, 69]
Generated Node #0,4,2: 15:[97, 69] Operation: 7+62=69
Exploring Operation: 62-7=55, Resulting Numbers: [97, 55]
Generated Node #0,4,3: 15:[97, 55] Operation: 62-7=55
Exploring Operation: 7+97=104, Resulting Numbers: [62, 104]
Generated Node #0,4,4: 15:[62, 104] Operation: 7+97=104
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 15:[7, 35], Operations: ['71-9=62', '97-62=35']
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 7*35=245, Resulting Numbers: [245]
245,15 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: 15:[62, 90], Operations: ['71-9=62', '97-7=90']
Exploring Operation: 90-62=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 62+90=152, Resulting Numbers: [152]
152,15 unequal: No Solution
Exploring Operation: 62*90=5580, Resulting Numbers: [5580]
5580,15 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: 15:[97, 55], Operations: ['71-9=62', '62-7=55']
Exploring Operation: 97*55=5335, Resulting Numbers: [5335]
5335,15 unequal: No Solution
Exploring Operation: 97-55=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 97+55=152, Resulting Numbers: [152]
152,15 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: 15:[97, 69], Operations: ['71-9=62', '7+62=69']
Exploring Operation: 97+69=166, Resulting Numbers: [166]
166,15 unequal: No Solution
Exploring Operation: 97-69=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 97*69=6693, Resulting Numbers: [6693]
6693,15 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: 15:[62, 104], Operations: ['71-9=62', '7+97=104']
Exploring Operation: 62*104=6448, Resulting Numbers: [6448]
6448,15 unequal: No Solution
Exploring Operation: 62+104=166, Resulting Numbers: [166]
166,15 unequal: No Solution
Exploring Operation: 104-62=42, Resulting Numbers: [42]
42,15 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: 15:[9, 97, 64], Operations: ['71-7=64']
Exploring Operation: 97-64=33, Resulting Numbers: [9, 33]
Generated Node #0,0,0: 15:[9, 33] Operation: 97-64=33
Exploring Operation: 64-9=55, Resulting Numbers: [97, 55]
Generated Node #0,0,1: 15:[97, 55] Operation: 64-9=55
Exploring Operation: 9+64=73, Resulting Numbers: [97, 73]
Generated Node #0,0,2: 15:[97, 73] Operation: 9+64=73
Exploring Operation: 9+97=106, Resulting Numbers: [64, 106]
Generated Node #0,0,3: 15:[64, 106] Operation: 9+97=106
Exploring Operation: 97-9=88, Resulting Numbers: [64, 88]
Generated Node #0,0,4: 15:[64, 88] Operation: 97-9=88
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[9, 33], Operations: ['71-7=64', '97-64=33']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 9*33=297, Resulting Numbers: [297]
297,15 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: 15:[97, 55], Operations: ['71-7=64', '64-9=55']
Exploring Operation: 97-55=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 97+55=152, Resulting Numbers: [152]
152,15 unequal: No Solution
Exploring Operation: 97*55=5335, Resulting Numbers: [5335]
5335,15 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: 15:[64, 88], Operations: ['71-7=64', '97-9=88']
Exploring Operation: 64*88=5632, Resulting Numbers: [5632]
5632,15 unequal: No Solution
Exploring Operation: 64+88=152, Resulting Numbers: [152]
152,15 unequal: No Solution
Exploring Operation: 88-64=24, Resulting Numbers: [24]
24,15 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: 15:[97, 73], Operations: ['71-7=64', '9+64=73']
Exploring Operation: 97+73=170, Resulting Numbers: [170]
170,15 unequal: No Solution
Exploring Operation: 97*73=7081, Resulting Numbers: [7081]
7081,15 unequal: No Solution
Exploring Operation: 97-73=24, Resulting Numbers: [24]
24,15 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: 15:[64, 106], Operations: ['71-7=64', '9+97=106']
Exploring Operation: 64*106=6784, Resulting Numbers: [6784]
6784,15 unequal: No Solution
Exploring Operation: 106-64=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 64+106=170, Resulting Numbers: [170]
170,15 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: 15:[9, 71, 90], Operations: ['97-7=90']
Exploring Operation: 90-9=81, Resulting Numbers: [71, 81]
Generated Node #0,3,0: 15:[71, 81] Operation: 90-9=81
Exploring Operation: 9+71=80, Resulting Numbers: [90, 80]
Generated Node #0,3,1: 15:[90, 80] Operation: 9+71=80
Exploring Operation: 90/9=10, Resulting Numbers: [71, 10]
Generated Node #0,3,2: 15:[71, 10] Operation: 90/9=10
Exploring Operation: 90-71=19, Resulting Numbers: [9, 19]
Generated Node #0,3,3: 15:[9, 19] Operation: 90-71=19
Exploring Operation: 71-9=62, Resulting Numbers: [90, 62]
Generated Node #0,3,4: 15:[90, 62] Operation: 71-9=62
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 15:[9, 19], Operations: ['97-7=90', '90-71=19']
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,15 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,15 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: 15:[71, 10], Operations: ['97-7=90', '90/9=10']
Exploring Operation: 71+10=81, Resulting Numbers: [81]
81,15 unequal: No Solution
Exploring Operation: 71*10=710, Resulting Numbers: [710]
710,15 unequal: No Solution
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,15 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: 15:[71, 81], Operations: ['97-7=90', '90-9=81']
Exploring Operation: 71*81=5751, Resulting Numbers: [5751]
5751,15 unequal: No Solution
Exploring Operation: 81-71=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 71+81=152, Resulting Numbers: [152]
152,15 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: 15:[90, 62], Operations: ['97-7=90', '71-9=62']
Exploring Operation: 90-62=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 90+62=152, Resulting Numbers: [152]
152,15 unequal: No Solution
Exploring Operation: 90*62=5580, Resulting Numbers: [5580]
5580,15 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: 15:[90, 80], Operations: ['97-7=90', '9+71=80']
Exploring Operation: 90+80=170, Resulting Numbers: [170]
170,15 unequal: No Solution
Exploring Operation: 90*80=7200, Resulting Numbers: [7200]
7200,15 unequal: No Solution
Exploring Operation: 90-80=10, Resulting Numbers: [10]
10,15 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 | sum_heuristic |
[
39,
71,
88,
78
] | 56 | [
"39+71=110",
"88+78=166",
"166-110=56"
] | Current State: 56:[39, 71, 88, 78], Operations: []
Exploring Operation: 39+71=110, Resulting Numbers: [88, 78, 110]
Generated Node #2: [88, 78, 110] from Operation: 39+71=110
Current State: 56:[88, 78, 110], Operations: ['39+71=110']
Exploring Operation: 88+78=166, Resulting Numbers: [110, 166]
Generated Node #3: [110, 166] from Operation: 88+78=166
Current State: 56:[110, 166], Operations: ['39+71=110', '88+78=166']
Exploring Operation: 166-110=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[39, 71, 88, 78], Operations: []
Exploring Operation: 88-71=17, Resulting Numbers: [39, 78, 17]
Generated Node #0,0: 56:[39, 78, 17] Operation: 88-71=17
Exploring Operation: 88-78=10, Resulting Numbers: [39, 71, 10]
Generated Node #0,1: 56:[39, 71, 10] Operation: 88-78=10
Exploring Operation: 88-39=49, Resulting Numbers: [71, 78, 49]
Generated Node #0,2: 56:[71, 78, 49] Operation: 88-39=49
Exploring Operation: 78-71=7, Resulting Numbers: [39, 88, 7]
Generated Node #0,3: 56:[39, 88, 7] Operation: 78-71=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[39, 71, 10], Operations: ['88-78=10']
Exploring Operation: 39-10=29, Resulting Numbers: [71, 29]
Generated Node #0,1,0: 56:[71, 29] Operation: 39-10=29
Exploring Operation: 71-10=61, Resulting Numbers: [39, 61]
Generated Node #0,1,1: 56:[39, 61] Operation: 71-10=61
Exploring Operation: 39+10=49, Resulting Numbers: [71, 49]
Generated Node #0,1,2: 56:[71, 49] Operation: 39+10=49
Exploring Operation: 71-39=32, Resulting Numbers: [10, 32]
Generated Node #0,1,3: 56:[10, 32] Operation: 71-39=32
Moving to Node #0,1,3
Current State: 56:[10, 32], Operations: ['88-78=10', '71-39=32']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,56 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[39, 61], Operations: ['88-78=10', '71-10=61']
Exploring Operation: 39+61=100, Resulting Numbers: [100]
100,56 unequal: No Solution
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 39*61=2379, Resulting Numbers: [2379]
2379,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[71, 29], Operations: ['88-78=10', '39-10=29']
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,56 unequal: No Solution
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,56 unequal: No Solution
Exploring Operation: 71*29=2059, Resulting Numbers: [2059]
2059,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[71, 49], Operations: ['88-78=10', '39+10=49']
Exploring Operation: 71*49=3479, Resulting Numbers: [3479]
3479,56 unequal: No Solution
Exploring Operation: 71-49=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 71+49=120, Resulting Numbers: [120]
120,56 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: 56:[39, 78, 17], Operations: ['88-71=17']
Exploring Operation: 78-39=39, Resulting Numbers: [17, 39]
Generated Node #0,0,0: 56:[17, 39] Operation: 78-39=39
Exploring Operation: 78/39=2, Resulting Numbers: [17, 2]
Generated Node #0,0,1: 56:[17, 2] Operation: 78/39=2
Exploring Operation: 78-17=61, Resulting Numbers: [39, 61]
Generated Node #0,0,2: 56:[39, 61] Operation: 78-17=61
Exploring Operation: 39+17=56, Resulting Numbers: [78, 56]
Generated Node #0,0,3: 56:[78, 56] Operation: 39+17=56
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[17, 2], Operations: ['88-71=17', '78/39=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,56 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: 56:[17, 39], Operations: ['88-71=17', '78-39=39']
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[39, 71, 88, 78], Operations: []
Exploring Operation: 88-71=17, Resulting Numbers: [39, 78, 17]
Generated Node #0,0: 56:[39, 78, 17] Operation: 88-71=17
Moving to Node #0,0
Current State: 56:[39, 78, 17], Operations: ['88-71=17']
Exploring Operation: 78-39=39, Resulting Numbers: [17, 39]
Generated Node #0,0,0: 56:[17, 39] Operation: 78-39=39
Moving to Node #0,0,0
Current State: 56:[17, 39], Operations: ['88-71=17', '78-39=39']
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
12,
56,
57,
19
] | 92 | [
"12*57=684",
"684/19=36",
"56+36=92"
] | Current State: 92:[12, 56, 57, 19], Operations: []
Exploring Operation: 12*57=684, Resulting Numbers: [56, 19, 684]
Generated Node #2: [56, 19, 684] from Operation: 12*57=684
Current State: 92:[56, 19, 684], Operations: ['12*57=684']
Exploring Operation: 684/19=36, Resulting Numbers: [56, 36]
Generated Node #3: [56, 36] from Operation: 684/19=36
Current State: 92:[56, 36], Operations: ['12*57=684', '684/19=36']
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[12, 56, 57, 19], Operations: []
Exploring Operation: 57-12=45, Resulting Numbers: [56, 19, 45]
Generated Node #0,0: 92:[56, 19, 45] Operation: 57-12=45
Exploring Operation: 57-56=1, Resulting Numbers: [12, 19, 1]
Generated Node #0,1: 92:[12, 19, 1] Operation: 57-56=1
Moving to Node #0,1
Current State: 92:[12, 19, 1], Operations: ['57-56=1']
Exploring Operation: 12+19=31, Resulting Numbers: [1, 31]
Generated Node #0,1,0: 92:[1, 31] Operation: 12+19=31
Exploring Operation: 19-12=7, Resulting Numbers: [1, 7]
Generated Node #0,1,1: 92:[1, 7] Operation: 19-12=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 92:[1, 7], Operations: ['57-56=1', '19-12=7']
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,92 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: 92:[1, 31], Operations: ['57-56=1', '12+19=31']
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,92 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,92 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: 92:[56, 19, 45], Operations: ['57-12=45']
Exploring Operation: 56-19=37, Resulting Numbers: [45, 37]
Generated Node #0,0,0: 92:[45, 37] Operation: 56-19=37
Exploring Operation: 56-45=11, Resulting Numbers: [19, 11]
Generated Node #0,0,1: 92:[19, 11] Operation: 56-45=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[45, 37], Operations: ['57-12=45', '56-19=37']
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,92 unequal: No Solution
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,92 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: 92:[19, 11], Operations: ['57-12=45', '56-45=11']
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,92 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 |
[
48,
64,
98,
45
] | 59 | [
"48+64=112",
"98-45=53",
"112-53=59"
] | Current State: 59:[48, 64, 98, 45], Operations: []
Exploring Operation: 48+64=112, Resulting Numbers: [98, 45, 112]
Generated Node #2: [98, 45, 112] from Operation: 48+64=112
Current State: 59:[98, 45, 112], Operations: ['48+64=112']
Exploring Operation: 98-45=53, Resulting Numbers: [112, 53]
Generated Node #3: [112, 53] from Operation: 98-45=53
Current State: 59:[112, 53], Operations: ['48+64=112', '98-45=53']
Exploring Operation: 112-53=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[48, 64, 98, 45], Operations: []
Exploring Operation: 98-45=53, Resulting Numbers: [48, 64, 53]
Generated Node #0,0: 59:[48, 64, 53] Operation: 98-45=53
Moving to Node #0,0
Current State: 59:[48, 64, 53], Operations: ['98-45=53']
Exploring Operation: 48+53=101, Resulting Numbers: [64, 101]
Generated Node #0,0,0: 59:[64, 101] Operation: 48+53=101
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[64, 101], Operations: ['98-45=53', '48+53=101']
Exploring Operation: 101-64=37, Resulting Numbers: [37]
37,59 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 |
[
32,
66,
65,
4
] | 35 | [
"66-32=34",
"65+4=69",
"69-34=35"
] | Current State: 35:[32, 66, 65, 4], Operations: []
Exploring Operation: 66-32=34, Resulting Numbers: [65, 4, 34]
Generated Node #2: [65, 4, 34] from Operation: 66-32=34
Current State: 35:[65, 4, 34], Operations: ['66-32=34']
Exploring Operation: 65+4=69, Resulting Numbers: [34, 69]
Generated Node #3: [34, 69] from Operation: 65+4=69
Current State: 35:[34, 69], Operations: ['66-32=34', '65+4=69']
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[32, 66, 65, 4], Operations: []
Exploring Operation: 66-65=1, Resulting Numbers: [32, 4, 1]
Generated Node #0,0: 35:[32, 4, 1] Operation: 66-65=1
Exploring Operation: 66-4=62, Resulting Numbers: [32, 65, 62]
Generated Node #0,1: 35:[32, 65, 62] Operation: 66-4=62
Exploring Operation: 66-32=34, Resulting Numbers: [65, 4, 34]
Generated Node #0,2: 35:[65, 4, 34] Operation: 66-32=34
Exploring Operation: 65-32=33, Resulting Numbers: [66, 4, 33]
Generated Node #0,3: 35:[66, 4, 33] Operation: 65-32=33
Moving to Node #0,0
Current State: 35:[32, 4, 1], Operations: ['66-65=1']
Exploring Operation: 32/1=32, Resulting Numbers: [4, 32]
Generated Node #0,0,0: 35:[4, 32] Operation: 32/1=32
Exploring Operation: 32*1=32, Resulting Numbers: [4, 32]
Generated Node #0,0,1: 35:[4, 32] Operation: 32*1=32
Exploring Operation: 32+1=33, Resulting Numbers: [4, 33]
Generated Node #0,0,2: 35:[4, 33] Operation: 32+1=33
Exploring Operation: 4+1=5, Resulting Numbers: [32, 5]
Generated Node #0,0,3: 35:[32, 5] Operation: 4+1=5
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[4, 33], Operations: ['66-65=1', '32+1=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,35 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,35 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: 35:[32, 5], Operations: ['66-65=1', '4+1=5']
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,35 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,35 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: 35:[4, 32], Operations: ['66-65=1', '32/1=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,35 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,35 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: 35:[4, 32], Operations: ['66-65=1', '32*1=32']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,35 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,35 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: 35:[65, 4, 34], Operations: ['66-32=34']
Exploring Operation: 65+4=69, Resulting Numbers: [34, 69]
Generated Node #0,2,0: 35:[34, 69] Operation: 65+4=69
Exploring Operation: 65-4=61, Resulting Numbers: [34, 61]
Generated Node #0,2,1: 35:[34, 61] Operation: 65-4=61
Exploring Operation: 65-34=31, Resulting Numbers: [4, 31]
Generated Node #0,2,2: 35:[4, 31] Operation: 65-34=31
Exploring Operation: 4+34=38, Resulting Numbers: [65, 38]
Generated Node #0,2,3: 35:[65, 38] Operation: 4+34=38
Moving to Node #0,3
Current State: 35:[66, 4, 33], Operations: ['65-32=33']
Exploring Operation: 4+33=37, Resulting Numbers: [66, 37]
Generated Node #0,3,0: 35:[66, 37] Operation: 4+33=37
Exploring Operation: 66-33=33, Resulting Numbers: [4, 33]
Generated Node #0,3,1: 35:[4, 33] Operation: 66-33=33
Exploring Operation: 66/33=2, Resulting Numbers: [4, 2]
Generated Node #0,3,2: 35:[4, 2] Operation: 66/33=2
Exploring Operation: 66-4=62, Resulting Numbers: [33, 62]
Generated Node #0,3,3: 35:[33, 62] Operation: 66-4=62
Moving to Node #0,1
Current State: 35:[32, 65, 62], Operations: ['66-4=62']
Exploring Operation: 65-62=3, Resulting Numbers: [32, 3]
Generated Node #0,1,0: 35:[32, 3] Operation: 65-62=3
Exploring Operation: 65-32=33, Resulting Numbers: [62, 33]
Generated Node #0,1,1: 35:[62, 33] Operation: 65-32=33
Exploring Operation: 32+65=97, Resulting Numbers: [62, 97]
Generated Node #0,1,2: 35:[62, 97] Operation: 32+65=97
Exploring Operation: 62-32=30, Resulting Numbers: [65, 30]
Generated Node #0,1,3: 35:[65, 30] Operation: 62-32=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[32, 3], Operations: ['66-4=62', '65-62=3']
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,35 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[32, 66, 65, 4], Operations: []
Exploring Operation: 66-4=62, Resulting Numbers: [32, 65, 62]
Generated Node #0,1: 35:[32, 65, 62] Operation: 66-4=62
Moving to Node #0,1
Current State: 35:[32, 65, 62], Operations: ['66-4=62']
Exploring Operation: 65-62=3, Resulting Numbers: [32, 3]
Generated Node #0,1,0: 35:[32, 3] Operation: 65-62=3
Moving to Node #0,1,0
Current State: 35:[32, 3], Operations: ['66-4=62', '65-62=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_4 | sum_heuristic |
[
10,
4,
64,
40
] | 30 | [
"10-4=6",
"64-40=24",
"6+24=30"
] | Current State: 30:[10, 4, 64, 40], Operations: []
Exploring Operation: 10-4=6, Resulting Numbers: [64, 40, 6]
Generated Node #2: [64, 40, 6] from Operation: 10-4=6
Current State: 30:[64, 40, 6], Operations: ['10-4=6']
Exploring Operation: 64-40=24, Resulting Numbers: [6, 24]
Generated Node #3: [6, 24] from Operation: 64-40=24
Current State: 30:[6, 24], Operations: ['10-4=6', '64-40=24']
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[10, 4, 64, 40], Operations: []
Exploring Operation: 64-40=24, Resulting Numbers: [10, 4, 24]
Generated Node #0,0: 30:[10, 4, 24] Operation: 64-40=24
Moving to Node #0,0
Current State: 30:[10, 4, 24], Operations: ['64-40=24']
Exploring Operation: 24/4=6, Resulting Numbers: [10, 6]
Generated Node #0,0,0: 30:[10, 6] Operation: 24/4=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[10, 6], Operations: ['64-40=24', '24/4=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,30 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 |
[
97,
9,
20,
1
] | 84 | [
"97-1=96",
"9*20=180",
"180-96=84"
] | Current State: 84:[97, 9, 20, 1], Operations: []
Exploring Operation: 97-1=96, Resulting Numbers: [9, 20, 96]
Generated Node #2: [9, 20, 96] from Operation: 97-1=96
Current State: 84:[9, 20, 96], Operations: ['97-1=96']
Exploring Operation: 9*20=180, Resulting Numbers: [96, 180]
Generated Node #3: [96, 180] from Operation: 9*20=180
Current State: 84:[96, 180], Operations: ['97-1=96', '9*20=180']
Exploring Operation: 180-96=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[97, 9, 20, 1], Operations: []
Exploring Operation: 97-9=88, Resulting Numbers: [20, 1, 88]
Generated Node #0,0: 84:[20, 1, 88] Operation: 97-9=88
Exploring Operation: 97-20=77, Resulting Numbers: [9, 1, 77]
Generated Node #0,1: 84:[9, 1, 77] Operation: 97-20=77
Moving to Node #0,0
Current State: 84:[20, 1, 88], Operations: ['97-9=88']
Exploring Operation: 88-1=87, Resulting Numbers: [20, 87]
Generated Node #0,0,0: 84:[20, 87] Operation: 88-1=87
Exploring Operation: 20+1=21, Resulting Numbers: [88, 21]
Generated Node #0,0,1: 84:[88, 21] Operation: 20+1=21
Moving to Node #0,1
Current State: 84:[9, 1, 77], Operations: ['97-20=77']
Exploring Operation: 9+77=86, Resulting Numbers: [1, 86]
Generated Node #0,1,0: 84:[1, 86] Operation: 9+77=86
Exploring Operation: 9-1=8, Resulting Numbers: [77, 8]
Generated Node #0,1,1: 84:[77, 8] Operation: 9-1=8
Moving to Node #0,1,0
Current State: 84:[1, 86], Operations: ['97-20=77', '9+77=86']
Exploring Operation: 1*86=86, Resulting Numbers: [86]
86,84 unequal: No Solution
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[20, 87], Operations: ['97-9=88', '88-1=87']
Exploring Operation: 87-20=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 20+87=107, Resulting Numbers: [107]
107,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[88, 21], Operations: ['97-9=88', '20+1=21']
Exploring Operation: 88+21=109, Resulting Numbers: [109]
109,84 unequal: No Solution
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[77, 8], Operations: ['97-20=77', '9-1=8']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,84 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
12,
1,
66,
9
] | 22 | [
"12*1=12",
"12-9=3",
"66/3=22"
] | Current State: 22:[12, 1, 66, 9], Operations: []
Exploring Operation: 12*1=12, Resulting Numbers: [66, 9, 12]
Generated Node #2: [66, 9, 12] from Operation: 12*1=12
Current State: 22:[66, 9, 12], Operations: ['12*1=12']
Exploring Operation: 12-9=3, Resulting Numbers: [66, 3]
Generated Node #3: [66, 3] from Operation: 12-9=3
Current State: 22:[66, 3], Operations: ['12*1=12', '12-9=3']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[12, 1, 66, 9], Operations: []
Exploring Operation: 66-12=54, Resulting Numbers: [1, 9, 54]
Generated Node #0,0: 22:[1, 9, 54] Operation: 66-12=54
Moving to Node #0,0
Current State: 22:[1, 9, 54], Operations: ['66-12=54']
Exploring Operation: 54/9=6, Resulting Numbers: [1, 6]
Generated Node #0,0,0: 22:[1, 6] Operation: 54/9=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[1, 6], Operations: ['66-12=54', '54/9=6']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,22 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 |
[
90,
30,
76,
15
] | 80 | [
"90-30=60",
"60/15=4",
"76+4=80"
] | Current State: 80:[90, 30, 76, 15], Operations: []
Exploring Operation: 90-30=60, Resulting Numbers: [76, 15, 60]
Generated Node #2: [76, 15, 60] from Operation: 90-30=60
Current State: 80:[76, 15, 60], Operations: ['90-30=60']
Exploring Operation: 60/15=4, Resulting Numbers: [76, 4]
Generated Node #3: [76, 4] from Operation: 60/15=4
Current State: 80:[76, 4], Operations: ['90-30=60', '60/15=4']
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[90, 30, 76, 15], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [76, 15, 3]
Generated Node #0,0: 80:[76, 15, 3] Operation: 90/30=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[76, 15, 3], Operations: ['90/30=3']
Exploring Operation: 76+3=79, Resulting Numbers: [15, 79]
Generated Node #0,0,0: 80:[15, 79] Operation: 76+3=79
Moving to Node #0,0,0
Current State: 80:[15, 79], Operations: ['90/30=3', '76+3=79']
Exploring Operation: 15+79=94, Resulting Numbers: [94]
94,80 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 |
[
2,
26,
37,
11
] | 39 | [
"26/2=13",
"37-11=26",
"13+26=39"
] | Current State: 39:[2, 26, 37, 11], Operations: []
Exploring Operation: 26/2=13, Resulting Numbers: [37, 11, 13]
Generated Node #2: [37, 11, 13] from Operation: 26/2=13
Current State: 39:[37, 11, 13], Operations: ['26/2=13']
Exploring Operation: 37-11=26, Resulting Numbers: [13, 26]
Generated Node #3: [13, 26] from Operation: 37-11=26
Current State: 39:[13, 26], Operations: ['26/2=13', '37-11=26']
Exploring Operation: 13+26=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[2, 26, 37, 11], Operations: []
Exploring Operation: 37-26=11, Resulting Numbers: [2, 11, 11]
Generated Node #0,0: 39:[2, 11, 11] Operation: 37-26=11
Exploring Operation: 26/2=13, Resulting Numbers: [37, 11, 13]
Generated Node #0,1: 39:[37, 11, 13] Operation: 26/2=13
Exploring Operation: 26+11=37, Resulting Numbers: [2, 37, 37]
Generated Node #0,2: 39:[2, 37, 37] Operation: 26+11=37
Exploring Operation: 26-11=15, Resulting Numbers: [2, 37, 15]
Generated Node #0,3: 39:[2, 37, 15] Operation: 26-11=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[37, 11, 13], Operations: ['26/2=13']
Exploring Operation: 37+11=48, Resulting Numbers: [13, 48]
Generated Node #0,1,0: 39:[13, 48] Operation: 37+11=48
Exploring Operation: 37+13=50, Resulting Numbers: [11, 50]
Generated Node #0,1,1: 39:[11, 50] Operation: 37+13=50
Exploring Operation: 13-11=2, Resulting Numbers: [37, 2]
Generated Node #0,1,2: 39:[37, 2] Operation: 13-11=2
Exploring Operation: 37-11=26, Resulting Numbers: [13, 26]
Generated Node #0,1,3: 39:[13, 26] Operation: 37-11=26
Moving to Node #0,1,2
Current State: 39:[37, 2], Operations: ['26/2=13', '13-11=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[2, 26, 37, 11], Operations: []
Exploring Operation: 26/2=13, Resulting Numbers: [37, 11, 13]
Generated Node #0,1: 39:[37, 11, 13] Operation: 26/2=13
Moving to Node #0,1
Current State: 39:[37, 11, 13], Operations: ['26/2=13']
Exploring Operation: 13-11=2, Resulting Numbers: [37, 2]
Generated Node #0,1,2: 39:[37, 2] Operation: 13-11=2
Moving to Node #0,1,2
Current State: 39:[37, 2], Operations: ['26/2=13', '13-11=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
32,
31,
29,
9
] | 73 | [
"31-29=2",
"32*2=64",
"9+64=73"
] | Current State: 73:[32, 31, 29, 9], Operations: []
Exploring Operation: 31-29=2, Resulting Numbers: [32, 9, 2]
Generated Node #2: [32, 9, 2] from Operation: 31-29=2
Current State: 73:[32, 9, 2], Operations: ['31-29=2']
Exploring Operation: 32*2=64, Resulting Numbers: [9, 64]
Generated Node #3: [9, 64] from Operation: 32*2=64
Current State: 73:[9, 64], Operations: ['31-29=2', '32*2=64']
Exploring Operation: 9+64=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[32, 31, 29, 9], Operations: []
Exploring Operation: 31+29=60, Resulting Numbers: [32, 9, 60]
Generated Node #0,0: 73:[32, 9, 60] Operation: 31+29=60
Exploring Operation: 32+31=63, Resulting Numbers: [29, 9, 63]
Generated Node #0,1: 73:[29, 9, 63] Operation: 32+31=63
Exploring Operation: 32+9=41, Resulting Numbers: [31, 29, 41]
Generated Node #0,2: 73:[31, 29, 41] Operation: 32+9=41
Exploring Operation: 32+29=61, Resulting Numbers: [31, 9, 61]
Generated Node #0,3: 73:[31, 9, 61] Operation: 32+29=61
Moving to Node #0,0
Current State: 73:[32, 9, 60], Operations: ['31+29=60']
Exploring Operation: 32-9=23, Resulting Numbers: [60, 23]
Generated Node #0,0,0: 73:[60, 23] Operation: 32-9=23
Exploring Operation: 9+60=69, Resulting Numbers: [32, 69]
Generated Node #0,0,1: 73:[32, 69] Operation: 9+60=69
Exploring Operation: 32+9=41, Resulting Numbers: [60, 41]
Generated Node #0,0,2: 73:[60, 41] Operation: 32+9=41
Exploring Operation: 60-9=51, Resulting Numbers: [32, 51]
Generated Node #0,0,3: 73:[32, 51] Operation: 60-9=51
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[32, 69], Operations: ['31+29=60', '9+60=69']
Exploring Operation: 32*69=2208, Resulting Numbers: [2208]
2208,73 unequal: No Solution
Exploring Operation: 32+69=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Exploring Operation: 69-32=37, Resulting Numbers: [37]
37,73 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: 73:[60, 41], Operations: ['31+29=60', '32+9=41']
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,73 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,73 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: 73:[60, 23], Operations: ['31+29=60', '32-9=23']
Exploring Operation: 60+23=83, Resulting Numbers: [83]
83,73 unequal: No Solution
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 60*23=1380, Resulting Numbers: [1380]
1380,73 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: 73:[32, 51], Operations: ['31+29=60', '60-9=51']
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,73 unequal: No Solution
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,73 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: 73:[31, 29, 41], Operations: ['32+9=41']
Exploring Operation: 31-29=2, Resulting Numbers: [41, 2]
Generated Node #0,2,0: 73:[41, 2] Operation: 31-29=2
Exploring Operation: 29+41=70, Resulting Numbers: [31, 70]
Generated Node #0,2,1: 73:[31, 70] Operation: 29+41=70
Exploring Operation: 31+41=72, Resulting Numbers: [29, 72]
Generated Node #0,2,2: 73:[29, 72] Operation: 31+41=72
Exploring Operation: 31+29=60, Resulting Numbers: [41, 60]
Generated Node #0,2,3: 73:[41, 60] Operation: 31+29=60
Moving to Node #0,1
Current State: 73:[29, 9, 63], Operations: ['32+31=63']
Exploring Operation: 63-9=54, Resulting Numbers: [29, 54]
Generated Node #0,1,0: 73:[29, 54] Operation: 63-9=54
Exploring Operation: 29+9=38, Resulting Numbers: [63, 38]
Generated Node #0,1,1: 73:[63, 38] Operation: 29+9=38
Exploring Operation: 29-9=20, Resulting Numbers: [63, 20]
Generated Node #0,1,2: 73:[63, 20] Operation: 29-9=20
Exploring Operation: 9+63=72, Resulting Numbers: [29, 72]
Generated Node #0,1,3: 73:[29, 72] Operation: 9+63=72
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[63, 38], Operations: ['32+31=63', '29+9=38']
Exploring Operation: 63+38=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Exploring Operation: 63*38=2394, Resulting Numbers: [2394]
2394,73 unequal: No Solution
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,73 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: 73:[29, 72], Operations: ['32+31=63', '9+63=72']
Exploring Operation: 29*72=2088, Resulting Numbers: [2088]
2088,73 unequal: No Solution
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 29+72=101, Resulting Numbers: [101]
101,73 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: 73:[29, 54], Operations: ['32+31=63', '63-9=54']
Exploring Operation: 29*54=1566, Resulting Numbers: [1566]
1566,73 unequal: No Solution
Exploring Operation: 29+54=83, Resulting Numbers: [83]
83,73 unequal: No Solution
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,73 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: 73:[63, 20], Operations: ['32+31=63', '29-9=20']
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,73 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 63*20=1260, Resulting Numbers: [1260]
1260,73 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: 73:[31, 9, 61], Operations: ['32+29=61']
Exploring Operation: 31+9=40, Resulting Numbers: [61, 40]
Generated Node #0,3,0: 73:[61, 40] Operation: 31+9=40
Exploring Operation: 61-9=52, Resulting Numbers: [31, 52]
Generated Node #0,3,1: 73:[31, 52] Operation: 61-9=52
Exploring Operation: 9+61=70, Resulting Numbers: [31, 70]
Generated Node #0,3,2: 73:[31, 70] Operation: 9+61=70
Exploring Operation: 31-9=22, Resulting Numbers: [61, 22]
Generated Node #0,3,3: 73:[61, 22] Operation: 31-9=22
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 73:[61, 40], Operations: ['32+29=61', '31+9=40']
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,73 unequal: No Solution
Exploring Operation: 61+40=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Exploring Operation: 61*40=2440, Resulting Numbers: [2440]
2440,73 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: 73:[31, 70], Operations: ['32+29=61', '9+61=70']
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 31*70=2170, Resulting Numbers: [2170]
2170,73 unequal: No Solution
Exploring Operation: 31+70=101, Resulting Numbers: [101]
101,73 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: 73:[31, 52], Operations: ['32+29=61', '61-9=52']
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,73 unequal: No Solution
Exploring Operation: 31+52=83, Resulting Numbers: [83]
83,73 unequal: No Solution
Exploring Operation: 31*52=1612, Resulting Numbers: [1612]
1612,73 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: 73:[61, 22], Operations: ['32+29=61', '31-9=22']
Exploring Operation: 61*22=1342, Resulting Numbers: [1342]
1342,73 unequal: No Solution
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 61+22=83, Resulting Numbers: [83]
83,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 73:[31, 70], Operations: ['32+9=41', '29+41=70']
Exploring Operation: 31*70=2170, Resulting Numbers: [2170]
2170,73 unequal: No Solution
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 31+70=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[41, 60], Operations: ['32+9=41', '31+29=60']
Exploring Operation: 41*60=2460, Resulting Numbers: [2460]
2460,73 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 41+60=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[29, 72], Operations: ['32+9=41', '31+41=72']
Exploring Operation: 29*72=2088, Resulting Numbers: [2088]
2088,73 unequal: No Solution
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 29+72=101, Resulting Numbers: [101]
101,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[41, 2], Operations: ['32+9=41', '31-29=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,73 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
53,
2,
48,
16
] | 83 | [
"53-2=51",
"48-16=32",
"51+32=83"
] | Current State: 83:[53, 2, 48, 16], Operations: []
Exploring Operation: 53-2=51, Resulting Numbers: [48, 16, 51]
Generated Node #2: [48, 16, 51] from Operation: 53-2=51
Current State: 83:[48, 16, 51], Operations: ['53-2=51']
Exploring Operation: 48-16=32, Resulting Numbers: [51, 32]
Generated Node #3: [51, 32] from Operation: 48-16=32
Current State: 83:[51, 32], Operations: ['53-2=51', '48-16=32']
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[53, 2, 48, 16], Operations: []
Exploring Operation: 2*48=96, Resulting Numbers: [53, 16, 96]
Generated Node #0,0: 83:[53, 16, 96] Operation: 2*48=96
Exploring Operation: 2*16=32, Resulting Numbers: [53, 48, 32]
Generated Node #0,1: 83:[53, 48, 32] Operation: 2*16=32
Moving to Node #0,0
Current State: 83:[53, 16, 96], Operations: ['2*48=96']
Exploring Operation: 53+16=69, Resulting Numbers: [96, 69]
Generated Node #0,0,0: 83:[96, 69] Operation: 53+16=69
Exploring Operation: 96-16=80, Resulting Numbers: [53, 80]
Generated Node #0,0,1: 83:[53, 80] Operation: 96-16=80
Moving to Node #0,1
Current State: 83:[53, 48, 32], Operations: ['2*16=32']
Exploring Operation: 48+32=80, Resulting Numbers: [53, 80]
Generated Node #0,1,0: 83:[53, 80] Operation: 48+32=80
Exploring Operation: 53+32=85, Resulting Numbers: [48, 85]
Generated Node #0,1,1: 83:[48, 85] Operation: 53+32=85
Moving to Node #0,0,0
Current State: 83:[96, 69], Operations: ['2*48=96', '53+16=69']
Exploring Operation: 96-69=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 96+69=165, Resulting Numbers: [165]
165,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[53, 80], Operations: ['2*16=32', '48+32=80']
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 53+80=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[53, 80], Operations: ['2*48=96', '96-16=80']
Exploring Operation: 53+80=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[48, 85], Operations: ['2*16=32', '53+32=85']
Exploring Operation: 48+85=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,83 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
25,
49,
1,
39
] | 63 | [
"49-25=24",
"1*39=39",
"24+39=63"
] | Current State: 63:[25, 49, 1, 39], Operations: []
Exploring Operation: 49-25=24, Resulting Numbers: [1, 39, 24]
Generated Node #2: [1, 39, 24] from Operation: 49-25=24
Current State: 63:[1, 39, 24], Operations: ['49-25=24']
Exploring Operation: 1*39=39, Resulting Numbers: [24, 39]
Generated Node #3: [24, 39] from Operation: 1*39=39
Current State: 63:[24, 39], Operations: ['49-25=24', '1*39=39']
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[25, 49, 1, 39], Operations: []
Exploring Operation: 49-39=10, Resulting Numbers: [25, 1, 10]
Generated Node #0,0: 63:[25, 1, 10] Operation: 49-39=10
Exploring Operation: 25+39=64, Resulting Numbers: [49, 1, 64]
Generated Node #0,1: 63:[49, 1, 64] Operation: 25+39=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[25, 1, 10], Operations: ['49-39=10']
Exploring Operation: 10-1=9, Resulting Numbers: [25, 9]
Generated Node #0,0,0: 63:[25, 9] Operation: 10-1=9
Exploring Operation: 25-1=24, Resulting Numbers: [10, 24]
Generated Node #0,0,1: 63:[10, 24] Operation: 25-1=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[25, 9], Operations: ['49-39=10', '10-1=9']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,63 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: 63:[10, 24], Operations: ['49-39=10', '25-1=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,63 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,63 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: 63:[49, 1, 64], Operations: ['25+39=64']
Exploring Operation: 64-49=15, Resulting Numbers: [1, 15]
Generated Node #0,1,0: 63:[1, 15] Operation: 64-49=15
Exploring Operation: 49+1=50, Resulting Numbers: [64, 50]
Generated Node #0,1,1: 63:[64, 50] Operation: 49+1=50
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 63:[1, 15], Operations: ['25+39=64', '64-49=15']
Exploring Operation: 1+15=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,63 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: 63:[64, 50], Operations: ['25+39=64', '49+1=50']
Exploring Operation: 64+50=114, Resulting Numbers: [114]
114,63 unequal: No Solution
Exploring Operation: 64-50=14, Resulting Numbers: [14]
14,63 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 |
[
92,
29,
99,
98
] | 75 | [
"98-92=6",
"29*6=174",
"174-99=75"
] | Current State: 75:[92, 29, 99, 98], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [29, 99, 6]
Generated Node #2: [29, 99, 6] from Operation: 98-92=6
Current State: 75:[29, 99, 6], Operations: ['98-92=6']
Exploring Operation: 29*6=174, Resulting Numbers: [99, 174]
Generated Node #3: [99, 174] from Operation: 29*6=174
Current State: 75:[99, 174], Operations: ['98-92=6', '29*6=174']
Exploring Operation: 174-99=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[92, 29, 99, 98], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [92, 29, 1]
Generated Node #0,0: 75:[92, 29, 1] Operation: 99-98=1
Moving to Node #0,0
Current State: 75:[92, 29, 1], Operations: ['99-98=1']
Exploring Operation: 92-29=63, Resulting Numbers: [1, 63]
Generated Node #0,0,0: 75:[1, 63] Operation: 92-29=63
Moving to Node #0,0,0
Current State: 75:[1, 63], Operations: ['99-98=1', '92-29=63']
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,75 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
8,
72,
65,
50
] | 48 | [
"65-50=15",
"8*15=120",
"120-72=48"
] | Current State: 48:[8, 72, 65, 50], Operations: []
Exploring Operation: 65-50=15, Resulting Numbers: [8, 72, 15]
Generated Node #2: [8, 72, 15] from Operation: 65-50=15
Current State: 48:[8, 72, 15], Operations: ['65-50=15']
Exploring Operation: 8*15=120, Resulting Numbers: [72, 120]
Generated Node #3: [72, 120] from Operation: 8*15=120
Current State: 48:[72, 120], Operations: ['65-50=15', '8*15=120']
Exploring Operation: 120-72=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[8, 72, 65, 50], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [8, 50, 7]
Generated Node #0,0: 48:[8, 50, 7] Operation: 72-65=7
Moving to Node #0,0
Current State: 48:[8, 50, 7], Operations: ['72-65=7']
Exploring Operation: 8+7=15, Resulting Numbers: [50, 15]
Generated Node #0,0,0: 48:[50, 15] Operation: 8+7=15
Moving to Node #0,0,0
Current State: 48:[50, 15], Operations: ['72-65=7', '8+7=15']
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,48 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
5,
10,
11,
71
] | 80 | [
"10/5=2",
"11+71=82",
"82-2=80"
] | Current State: 80:[5, 10, 11, 71], Operations: []
Exploring Operation: 10/5=2, Resulting Numbers: [11, 71, 2]
Generated Node #2: [11, 71, 2] from Operation: 10/5=2
Current State: 80:[11, 71, 2], Operations: ['10/5=2']
Exploring Operation: 11+71=82, Resulting Numbers: [2, 82]
Generated Node #3: [2, 82] from Operation: 11+71=82
Current State: 80:[2, 82], Operations: ['10/5=2', '11+71=82']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[5, 10, 11, 71], Operations: []
Exploring Operation: 10+71=81, Resulting Numbers: [5, 11, 81]
Generated Node #0,0: 80:[5, 11, 81] Operation: 10+71=81
Exploring Operation: 11+71=82, Resulting Numbers: [5, 10, 82]
Generated Node #0,1: 80:[5, 10, 82] Operation: 11+71=82
Exploring Operation: 5+71=76, Resulting Numbers: [10, 11, 76]
Generated Node #0,2: 80:[10, 11, 76] Operation: 5+71=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[5, 11, 81], Operations: ['10+71=81']
Exploring Operation: 11-5=6, Resulting Numbers: [81, 6]
Generated Node #0,0,0: 80:[81, 6] Operation: 11-5=6
Exploring Operation: 5+11=16, Resulting Numbers: [81, 16]
Generated Node #0,0,1: 80:[81, 16] Operation: 5+11=16
Exploring Operation: 81-5=76, Resulting Numbers: [11, 76]
Generated Node #0,0,2: 80:[11, 76] Operation: 81-5=76
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[81, 16], Operations: ['10+71=81', '5+11=16']
Exploring Operation: 81*16=1296, Resulting Numbers: [1296]
1296,80 unequal: No Solution
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,80 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: 80:[81, 6], Operations: ['10+71=81', '11-5=6']
Exploring Operation: 81*6=486, Resulting Numbers: [486]
486,80 unequal: No Solution
Exploring Operation: 81+6=87, Resulting Numbers: [87]
87,80 unequal: No Solution
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,80 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: 80:[11, 76], Operations: ['10+71=81', '81-5=76']
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,80 unequal: No Solution
Exploring Operation: 11+76=87, Resulting Numbers: [87]
87,80 unequal: No Solution
Exploring Operation: 11*76=836, Resulting Numbers: [836]
836,80 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: 80:[5, 10, 82], Operations: ['11+71=82']
Exploring Operation: 10-5=5, Resulting Numbers: [82, 5]
Generated Node #0,1,0: 80:[82, 5] Operation: 10-5=5
Exploring Operation: 5+10=15, Resulting Numbers: [82, 15]
Generated Node #0,1,1: 80:[82, 15] Operation: 5+10=15
Exploring Operation: 10/5=2, Resulting Numbers: [82, 2]
Generated Node #0,1,2: 80:[82, 2] Operation: 10/5=2
Moving to Node #0,1,0
Current State: 80:[82, 5], Operations: ['11+71=82', '10-5=5']
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,80 unequal: No Solution
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,80 unequal: No Solution
Exploring Operation: 82*5=410, Resulting Numbers: [410]
410,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[82, 2], Operations: ['11+71=82', '10/5=2']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[5, 10, 11, 71], Operations: []
Exploring Operation: 11+71=82, Resulting Numbers: [5, 10, 82]
Generated Node #0,1: 80:[5, 10, 82] Operation: 11+71=82
Moving to Node #0,1
Current State: 80:[5, 10, 82], Operations: ['11+71=82']
Exploring Operation: 10/5=2, Resulting Numbers: [82, 2]
Generated Node #0,1,2: 80:[82, 2] Operation: 10/5=2
Moving to Node #0,1,2
Current State: 80:[82, 2], Operations: ['11+71=82', '10/5=2']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
15,
18,
22,
5
] | 77 | [
"15+18=33",
"22*5=110",
"110-33=77"
] | Current State: 77:[15, 18, 22, 5], Operations: []
Exploring Operation: 15+18=33, Resulting Numbers: [22, 5, 33]
Generated Node #2: [22, 5, 33] from Operation: 15+18=33
Current State: 77:[22, 5, 33], Operations: ['15+18=33']
Exploring Operation: 22*5=110, Resulting Numbers: [33, 110]
Generated Node #3: [33, 110] from Operation: 22*5=110
Current State: 77:[33, 110], Operations: ['15+18=33', '22*5=110']
Exploring Operation: 110-33=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[15, 18, 22, 5], Operations: []
Exploring Operation: 22-18=4, Resulting Numbers: [15, 5, 4]
Generated Node #0,0: 77:[15, 5, 4] Operation: 22-18=4
Exploring Operation: 22-15=7, Resulting Numbers: [18, 5, 7]
Generated Node #0,1: 77:[18, 5, 7] Operation: 22-15=7
Exploring Operation: 22-5=17, Resulting Numbers: [15, 18, 17]
Generated Node #0,2: 77:[15, 18, 17] Operation: 22-5=17
Exploring Operation: 18-15=3, Resulting Numbers: [22, 5, 3]
Generated Node #0,3: 77:[22, 5, 3] Operation: 18-15=3
Exploring Operation: 18-5=13, Resulting Numbers: [15, 22, 13]
Generated Node #0,4: 77:[15, 22, 13] Operation: 18-5=13
Moving to Node #0,0
Current State: 77:[15, 5, 4], Operations: ['22-18=4']
Exploring Operation: 15*5=75, Resulting Numbers: [4, 75]
Generated Node #0,0,0: 77:[4, 75] Operation: 15*5=75
Exploring Operation: 15-5=10, Resulting Numbers: [4, 10]
Generated Node #0,0,1: 77:[4, 10] Operation: 15-5=10
Exploring Operation: 15/5=3, Resulting Numbers: [4, 3]
Generated Node #0,0,2: 77:[4, 3] Operation: 15/5=3
Exploring Operation: 5+4=9, Resulting Numbers: [15, 9]
Generated Node #0,0,3: 77:[15, 9] Operation: 5+4=9
Exploring Operation: 15-4=11, Resulting Numbers: [5, 11]
Generated Node #0,0,4: 77:[5, 11] Operation: 15-4=11
Moving to Node #0,1
Current State: 77:[18, 5, 7], Operations: ['22-15=7']
Exploring Operation: 18-5=13, Resulting Numbers: [7, 13]
Generated Node #0,1,0: 77:[7, 13] Operation: 18-5=13
Exploring Operation: 5+7=12, Resulting Numbers: [18, 12]
Generated Node #0,1,1: 77:[18, 12] Operation: 5+7=12
Exploring Operation: 18-7=11, Resulting Numbers: [5, 11]
Generated Node #0,1,2: 77:[5, 11] Operation: 18-7=11
Exploring Operation: 18+5=23, Resulting Numbers: [7, 23]
Generated Node #0,1,3: 77:[7, 23] Operation: 18+5=23
Exploring Operation: 7-5=2, Resulting Numbers: [18, 2]
Generated Node #0,1,4: 77:[18, 2] Operation: 7-5=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[7, 13], Operations: ['22-15=7', '18-5=13']
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,77 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,77 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: 77:[5, 11], Operations: ['22-15=7', '18-7=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,77 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: 77:[18, 12], Operations: ['22-15=7', '5+7=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,77 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: 77:[7, 23], Operations: ['22-15=7', '18+5=23']
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,77 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,77 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: 77:[18, 2], Operations: ['22-15=7', '7-5=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,77 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,77 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: 77:[15, 18, 17], Operations: ['22-5=17']
Exploring Operation: 18-15=3, Resulting Numbers: [17, 3]
Generated Node #0,2,0: 77:[17, 3] Operation: 18-15=3
Exploring Operation: 15+18=33, Resulting Numbers: [17, 33]
Generated Node #0,2,1: 77:[17, 33] Operation: 15+18=33
Exploring Operation: 15+17=32, Resulting Numbers: [18, 32]
Generated Node #0,2,2: 77:[18, 32] Operation: 15+17=32
Exploring Operation: 18-17=1, Resulting Numbers: [15, 1]
Generated Node #0,2,3: 77:[15, 1] Operation: 18-17=1
Exploring Operation: 17-15=2, Resulting Numbers: [18, 2]
Generated Node #0,2,4: 77:[18, 2] Operation: 17-15=2
Moving to Node #0,3
Current State: 77:[22, 5, 3], Operations: ['18-15=3']
Exploring Operation: 5*3=15, Resulting Numbers: [22, 15]
Generated Node #0,3,0: 77:[22, 15] Operation: 5*3=15
Exploring Operation: 5+3=8, Resulting Numbers: [22, 8]
Generated Node #0,3,1: 77:[22, 8] Operation: 5+3=8
Exploring Operation: 22-5=17, Resulting Numbers: [3, 17]
Generated Node #0,3,2: 77:[3, 17] Operation: 22-5=17
Exploring Operation: 22*3=66, Resulting Numbers: [5, 66]
Generated Node #0,3,3: 77:[5, 66] Operation: 22*3=66
Exploring Operation: 22-3=19, Resulting Numbers: [5, 19]
Generated Node #0,3,4: 77:[5, 19] Operation: 22-3=19
Moving to Node #0,4
Current State: 77:[15, 22, 13], Operations: ['18-5=13']
Exploring Operation: 15-13=2, Resulting Numbers: [22, 2]
Generated Node #0,4,0: 77:[22, 2] Operation: 15-13=2
Exploring Operation: 15+22=37, Resulting Numbers: [13, 37]
Generated Node #0,4,1: 77:[13, 37] Operation: 15+22=37
Exploring Operation: 22-13=9, Resulting Numbers: [15, 9]
Generated Node #0,4,2: 77:[15, 9] Operation: 22-13=9
Exploring Operation: 15+13=28, Resulting Numbers: [22, 28]
Generated Node #0,4,3: 77:[22, 28] Operation: 15+13=28
Exploring Operation: 22-15=7, Resulting Numbers: [13, 7]
Generated Node #0,4,4: 77:[13, 7] Operation: 22-15=7
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 77:[13, 7], Operations: ['18-5=13', '22-15=7']
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,77 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: 77:[15, 9], Operations: ['18-5=13', '22-13=9']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,77 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,77 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: 77:[22, 2], Operations: ['18-5=13', '15-13=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,77 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: 77:[13, 37], Operations: ['18-5=13', '15+22=37']
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 13*37=481, Resulting Numbers: [481]
481,77 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: 77:[22, 28], Operations: ['18-5=13', '15+13=28']
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 22*28=616, Resulting Numbers: [616]
616,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 77:[5, 11], Operations: ['22-18=4', '15-4=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,77 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[4, 10], Operations: ['22-18=4', '15-5=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,77 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[4, 75], Operations: ['22-18=4', '15*5=75']
Exploring Operation: 4+75=79, Resulting Numbers: [79]
79,77 unequal: No Solution
Exploring Operation: 4*75=300, Resulting Numbers: [300]
300,77 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Moving to Node #0,0,3
Current State: 77:[15, 9], Operations: ['22-18=4', '5+4=9']
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,77 unequal: No Solution
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[4, 3], Operations: ['22-18=4', '15/5=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Moving to Node #0,2,3
Current State: 77:[15, 1], Operations: ['22-5=17', '18-17=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,77 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[17, 3], Operations: ['22-5=17', '18-15=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,77 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[3, 17], Operations: ['18-15=3', '22-5=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,77 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,77 unequal: No Solution
Moving to Node #0,3,4
Current State: 77:[5, 19], Operations: ['18-15=3', '22-3=19']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,77 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[22, 8], Operations: ['18-15=3', '5+3=8']
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,77 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,77 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,77 unequal: No Solution
Moving to Node #0,2,4
Current State: 77:[18, 2], Operations: ['22-5=17', '17-15=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,77 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[5, 66], Operations: ['18-15=3', '22*3=66']
Exploring Operation: 5*66=330, Resulting Numbers: [330]
330,77 unequal: No Solution
Exploring Operation: 5+66=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[22, 15], Operations: ['18-15=3', '5*3=15']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 22*15=330, Resulting Numbers: [330]
330,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[18, 32], Operations: ['22-5=17', '15+17=32']
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,77 unequal: No Solution
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,77 unequal: No Solution
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[17, 33], Operations: ['22-5=17', '15+18=33']
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 17*33=561, Resulting Numbers: [561]
561,77 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,77 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
30,
94,
62,
8
] | 26 | [
"94-62=32",
"32/8=4",
"30-4=26"
] | Current State: 26:[30, 94, 62, 8], Operations: []
Exploring Operation: 94-62=32, Resulting Numbers: [30, 8, 32]
Generated Node #2: [30, 8, 32] from Operation: 94-62=32
Current State: 26:[30, 8, 32], Operations: ['94-62=32']
Exploring Operation: 32/8=4, Resulting Numbers: [30, 4]
Generated Node #3: [30, 4] from Operation: 32/8=4
Current State: 26:[30, 4], Operations: ['94-62=32', '32/8=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[30, 94, 62, 8], Operations: []
Exploring Operation: 94-30=64, Resulting Numbers: [62, 8, 64]
Generated Node #0,0: 26:[62, 8, 64] Operation: 94-30=64
Exploring Operation: 62-30=32, Resulting Numbers: [94, 8, 32]
Generated Node #0,1: 26:[94, 8, 32] Operation: 62-30=32
Exploring Operation: 94-62=32, Resulting Numbers: [30, 8, 32]
Generated Node #0,2: 26:[30, 8, 32] Operation: 94-62=32
Exploring Operation: 94-8=86, Resulting Numbers: [30, 62, 86]
Generated Node #0,3: 26:[30, 62, 86] Operation: 94-8=86
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[30, 8, 32], Operations: ['94-62=32']
Exploring Operation: 32/8=4, Resulting Numbers: [30, 4]
Generated Node #0,2,0: 26:[30, 4] Operation: 32/8=4
Exploring Operation: 32-30=2, Resulting Numbers: [8, 2]
Generated Node #0,2,1: 26:[8, 2] Operation: 32-30=2
Exploring Operation: 30-8=22, Resulting Numbers: [32, 22]
Generated Node #0,2,2: 26:[32, 22] Operation: 30-8=22
Exploring Operation: 32-8=24, Resulting Numbers: [30, 24]
Generated Node #0,2,3: 26:[30, 24] Operation: 32-8=24
Moving to Node #0,2,1
Current State: 26:[8, 2], Operations: ['94-62=32', '32-30=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[30, 24], Operations: ['94-62=32', '32-8=24']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[30, 4], Operations: ['94-62=32', '32/8=4']
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,26 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[30, 94, 62, 8], Operations: []
Exploring Operation: 94-62=32, Resulting Numbers: [30, 8, 32]
Generated Node #0,2: 26:[30, 8, 32] Operation: 94-62=32
Moving to Node #0,2
Current State: 26:[30, 8, 32], Operations: ['94-62=32']
Exploring Operation: 32/8=4, Resulting Numbers: [30, 4]
Generated Node #0,2,0: 26:[30, 4] Operation: 32/8=4
Moving to Node #0,2,0
Current State: 26:[30, 4], Operations: ['94-62=32', '32/8=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
4,
67,
60,
49
] | 89 | [
"67+49=116",
"116/4=29",
"60+29=89"
] | Current State: 89:[4, 67, 60, 49], Operations: []
Exploring Operation: 67+49=116, Resulting Numbers: [4, 60, 116]
Generated Node #2: [4, 60, 116] from Operation: 67+49=116
Current State: 89:[4, 60, 116], Operations: ['67+49=116']
Exploring Operation: 116/4=29, Resulting Numbers: [60, 29]
Generated Node #3: [60, 29] from Operation: 116/4=29
Current State: 89:[60, 29], Operations: ['67+49=116', '116/4=29']
Exploring Operation: 60+29=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[4, 67, 60, 49], Operations: []
Exploring Operation: 4+49=53, Resulting Numbers: [67, 60, 53]
Generated Node #0,0: 89:[67, 60, 53] Operation: 4+49=53
Exploring Operation: 4+67=71, Resulting Numbers: [60, 49, 71]
Generated Node #0,1: 89:[60, 49, 71] Operation: 4+67=71
Exploring Operation: 4+60=64, Resulting Numbers: [67, 49, 64]
Generated Node #0,2: 89:[67, 49, 64] Operation: 4+60=64
Moving to Node #0,0
Current State: 89:[67, 60, 53], Operations: ['4+49=53']
Exploring Operation: 67+60=127, Resulting Numbers: [53, 127]
Generated Node #0,0,0: 89:[53, 127] Operation: 67+60=127
Exploring Operation: 67+53=120, Resulting Numbers: [60, 120]
Generated Node #0,0,1: 89:[60, 120] Operation: 67+53=120
Exploring Operation: 60+53=113, Resulting Numbers: [67, 113]
Generated Node #0,0,2: 89:[67, 113] Operation: 60+53=113
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[67, 113], Operations: ['4+49=53', '60+53=113']
Exploring Operation: 67*113=7571, Resulting Numbers: [7571]
7571,89 unequal: No Solution
Exploring Operation: 67+113=180, Resulting Numbers: [180]
180,89 unequal: No Solution
Exploring Operation: 113-67=46, Resulting Numbers: [46]
46,89 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: 89:[60, 120], Operations: ['4+49=53', '67+53=120']
Exploring Operation: 60+120=180, Resulting Numbers: [180]
180,89 unequal: No Solution
Exploring Operation: 120/60=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 120-60=60, Resulting Numbers: [60]
60,89 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: 89:[53, 127], Operations: ['4+49=53', '67+60=127']
Exploring Operation: 53*127=6731, Resulting Numbers: [6731]
6731,89 unequal: No Solution
Exploring Operation: 53+127=180, Resulting Numbers: [180]
180,89 unequal: No Solution
Exploring Operation: 127-53=74, Resulting Numbers: [74]
74,89 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: 89:[60, 49, 71], Operations: ['4+67=71']
Exploring Operation: 60+49=109, Resulting Numbers: [71, 109]
Generated Node #0,1,0: 89:[71, 109] Operation: 60+49=109
Exploring Operation: 49+71=120, Resulting Numbers: [60, 120]
Generated Node #0,1,1: 89:[60, 120] Operation: 49+71=120
Exploring Operation: 60+71=131, Resulting Numbers: [49, 131]
Generated Node #0,1,2: 89:[49, 131] Operation: 60+71=131
Moving to Node #0,2
Current State: 89:[67, 49, 64], Operations: ['4+60=64']
Exploring Operation: 49+64=113, Resulting Numbers: [67, 113]
Generated Node #0,2,0: 89:[67, 113] Operation: 49+64=113
Exploring Operation: 67+49=116, Resulting Numbers: [64, 116]
Generated Node #0,2,1: 89:[64, 116] Operation: 67+49=116
Exploring Operation: 67+64=131, Resulting Numbers: [49, 131]
Generated Node #0,2,2: 89:[49, 131] Operation: 67+64=131
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[67, 113], Operations: ['4+60=64', '49+64=113']
Exploring Operation: 67*113=7571, Resulting Numbers: [7571]
7571,89 unequal: No Solution
Exploring Operation: 67+113=180, Resulting Numbers: [180]
180,89 unequal: No Solution
Exploring Operation: 113-67=46, Resulting Numbers: [46]
46,89 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: 89:[64, 116], Operations: ['4+60=64', '67+49=116']
Exploring Operation: 64+116=180, Resulting Numbers: [180]
180,89 unequal: No Solution
Exploring Operation: 116-64=52, Resulting Numbers: [52]
52,89 unequal: No Solution
Exploring Operation: 64*116=7424, Resulting Numbers: [7424]
7424,89 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: 89:[49, 131], Operations: ['4+60=64', '67+64=131']
Exploring Operation: 131-49=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 49*131=6419, Resulting Numbers: [6419]
6419,89 unequal: No Solution
Exploring Operation: 49+131=180, Resulting Numbers: [180]
180,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 89:[71, 109], Operations: ['4+67=71', '60+49=109']
Exploring Operation: 71*109=7739, Resulting Numbers: [7739]
7739,89 unequal: No Solution
Exploring Operation: 71+109=180, Resulting Numbers: [180]
180,89 unequal: No Solution
Exploring Operation: 109-71=38, Resulting Numbers: [38]
38,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[60, 120], Operations: ['4+67=71', '49+71=120']
Exploring Operation: 60+120=180, Resulting Numbers: [180]
180,89 unequal: No Solution
Exploring Operation: 120/60=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 120-60=60, Resulting Numbers: [60]
60,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[49, 131], Operations: ['4+67=71', '60+71=131']
Exploring Operation: 49*131=6419, Resulting Numbers: [6419]
6419,89 unequal: No Solution
Exploring Operation: 131-49=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 49+131=180, Resulting Numbers: [180]
180,89 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
67,
43,
40,
82
] | 98 | [
"67-43=24",
"40+82=122",
"122-24=98"
] | Current State: 98:[67, 43, 40, 82], Operations: []
Exploring Operation: 67-43=24, Resulting Numbers: [40, 82, 24]
Generated Node #2: [40, 82, 24] from Operation: 67-43=24
Current State: 98:[40, 82, 24], Operations: ['67-43=24']
Exploring Operation: 40+82=122, Resulting Numbers: [24, 122]
Generated Node #3: [24, 122] from Operation: 40+82=122
Current State: 98:[24, 122], Operations: ['67-43=24', '40+82=122']
Exploring Operation: 122-24=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[67, 43, 40, 82], Operations: []
Exploring Operation: 67+40=107, Resulting Numbers: [43, 82, 107]
Generated Node #0,0: 98:[43, 82, 107] Operation: 67+40=107
Exploring Operation: 82-67=15, Resulting Numbers: [43, 40, 15]
Generated Node #0,1: 98:[43, 40, 15] Operation: 82-67=15
Moving to Node #0,1
Current State: 98:[43, 40, 15], Operations: ['82-67=15']
Exploring Operation: 40+15=55, Resulting Numbers: [43, 55]
Generated Node #0,1,0: 98:[43, 55] Operation: 40+15=55
Exploring Operation: 43-40=3, Resulting Numbers: [15, 3]
Generated Node #0,1,1: 98:[15, 3] Operation: 43-40=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[15, 3], Operations: ['82-67=15', '43-40=3']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,98 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,98 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: 98:[43, 55], Operations: ['82-67=15', '40+15=55']
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[67, 43, 40, 82], Operations: []
Exploring Operation: 82-67=15, Resulting Numbers: [43, 40, 15]
Generated Node #0,1: 98:[43, 40, 15] Operation: 82-67=15
Moving to Node #0,1
Current State: 98:[43, 40, 15], Operations: ['82-67=15']
Exploring Operation: 40+15=55, Resulting Numbers: [43, 55]
Generated Node #0,1,0: 98:[43, 55] Operation: 40+15=55
Moving to Node #0,1,0
Current State: 98:[43, 55], Operations: ['82-67=15', '40+15=55']
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
15,
42,
12,
4
] | 96 | [
"42-15=27",
"4*27=108",
"108-12=96"
] | Current State: 96:[15, 42, 12, 4], Operations: []
Exploring Operation: 42-15=27, Resulting Numbers: [12, 4, 27]
Generated Node #2: [12, 4, 27] from Operation: 42-15=27
Current State: 96:[12, 4, 27], Operations: ['42-15=27']
Exploring Operation: 4*27=108, Resulting Numbers: [12, 108]
Generated Node #3: [12, 108] from Operation: 4*27=108
Current State: 96:[12, 108], Operations: ['42-15=27', '4*27=108']
Exploring Operation: 108-12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[15, 42, 12, 4], Operations: []
Exploring Operation: 42-15=27, Resulting Numbers: [12, 4, 27]
Generated Node #0,0: 96:[12, 4, 27] Operation: 42-15=27
Exploring Operation: 42-12=30, Resulting Numbers: [15, 4, 30]
Generated Node #0,1: 96:[15, 4, 30] Operation: 42-12=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[12, 4, 27], Operations: ['42-15=27']
Exploring Operation: 4+27=31, Resulting Numbers: [12, 31]
Generated Node #0,0,0: 96:[12, 31] Operation: 4+27=31
Exploring Operation: 27-12=15, Resulting Numbers: [4, 15]
Generated Node #0,0,1: 96:[4, 15] Operation: 27-12=15
Moving to Node #0,0,0
Current State: 96:[12, 31], Operations: ['42-15=27', '4+27=31']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[4, 15], Operations: ['42-15=27', '27-12=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,96 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: 96:[15, 4, 30], Operations: ['42-12=30']
Exploring Operation: 30-15=15, Resulting Numbers: [4, 15]
Generated Node #0,1,0: 96:[4, 15] Operation: 30-15=15
Exploring Operation: 30/15=2, Resulting Numbers: [4, 2]
Generated Node #0,1,1: 96:[4, 2] Operation: 30/15=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[4, 2], Operations: ['42-12=30', '30/15=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,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,0
Current State: 96:[4, 15], Operations: ['42-12=30', '30-15=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,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 | sum_heuristic |
[
56,
52,
39,
65
] | 51 | [
"52-39=13",
"65/13=5",
"56-5=51"
] | Current State: 51:[56, 52, 39, 65], Operations: []
Exploring Operation: 52-39=13, Resulting Numbers: [56, 65, 13]
Generated Node #2: [56, 65, 13] from Operation: 52-39=13
Current State: 51:[56, 65, 13], Operations: ['52-39=13']
Exploring Operation: 65/13=5, Resulting Numbers: [56, 5]
Generated Node #3: [56, 5] from Operation: 65/13=5
Current State: 51:[56, 5], Operations: ['52-39=13', '65/13=5']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[56, 52, 39, 65], Operations: []
Exploring Operation: 65-52=13, Resulting Numbers: [56, 39, 13]
Generated Node #0,0: 51:[56, 39, 13] Operation: 65-52=13
Exploring Operation: 65-56=9, Resulting Numbers: [52, 39, 9]
Generated Node #0,1: 51:[52, 39, 9] Operation: 65-56=9
Exploring Operation: 52-39=13, Resulting Numbers: [56, 65, 13]
Generated Node #0,2: 51:[56, 65, 13] Operation: 52-39=13
Exploring Operation: 65-39=26, Resulting Numbers: [56, 52, 26]
Generated Node #0,3: 51:[56, 52, 26] Operation: 65-39=26
Exploring Operation: 56-39=17, Resulting Numbers: [52, 65, 17]
Generated Node #0,4: 51:[52, 65, 17] Operation: 56-39=17
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[56, 52, 26], Operations: ['65-39=26']
Exploring Operation: 52-26=26, Resulting Numbers: [56, 26]
Generated Node #0,3,0: 51:[56, 26] Operation: 52-26=26
Exploring Operation: 56-26=30, Resulting Numbers: [52, 30]
Generated Node #0,3,1: 51:[52, 30] Operation: 56-26=30
Exploring Operation: 56-52=4, Resulting Numbers: [26, 4]
Generated Node #0,3,2: 51:[26, 4] Operation: 56-52=4
Exploring Operation: 56+26=82, Resulting Numbers: [52, 82]
Generated Node #0,3,3: 51:[52, 82] Operation: 56+26=82
Exploring Operation: 52/26=2, Resulting Numbers: [56, 2]
Generated Node #0,3,4: 51:[56, 2] Operation: 52/26=2
Moving to Node #0,3,4
Current State: 51:[56, 2], Operations: ['65-39=26', '52/26=2']
Exploring Operation: 56*2=112, Resulting Numbers: [112]
112,51 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,51 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[26, 4], Operations: ['65-39=26', '56-52=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,51 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[56, 26], Operations: ['65-39=26', '52-26=26']
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 56*26=1456, Resulting Numbers: [1456]
1456,51 unequal: No Solution
Exploring Operation: 56+26=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[52, 30], Operations: ['65-39=26', '56-26=30']
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 52*30=1560, Resulting Numbers: [1560]
1560,51 unequal: No Solution
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Moving to Node #0,3,3
Current State: 51:[52, 82], Operations: ['65-39=26', '56+26=82']
Exploring Operation: 52*82=4264, Resulting Numbers: [4264]
4264,51 unequal: No Solution
Exploring Operation: 52+82=134, Resulting Numbers: [134]
134,51 unequal: No Solution
Exploring Operation: 82-52=30, Resulting Numbers: [30]
30,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,4
Current State: 51:[52, 65, 17], Operations: ['56-39=17']
Exploring Operation: 52-17=35, Resulting Numbers: [65, 35]
Generated Node #0,4,0: 51:[65, 35] Operation: 52-17=35
Exploring Operation: 65-17=48, Resulting Numbers: [52, 48]
Generated Node #0,4,1: 51:[52, 48] Operation: 65-17=48
Exploring Operation: 52+17=69, Resulting Numbers: [65, 69]
Generated Node #0,4,2: 51:[65, 69] Operation: 52+17=69
Exploring Operation: 65-52=13, Resulting Numbers: [17, 13]
Generated Node #0,4,3: 51:[17, 13] Operation: 65-52=13
Exploring Operation: 65+17=82, Resulting Numbers: [52, 82]
Generated Node #0,4,4: 51:[52, 82] Operation: 65+17=82
Moving to Node #0,4,1
Current State: 51:[52, 48], Operations: ['56-39=17', '65-17=48']
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 52+48=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 52*48=2496, Resulting Numbers: [2496]
2496,51 unequal: No Solution
Moving to Node #0,4,3
Current State: 51:[17, 13], Operations: ['56-39=17', '65-52=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,51 unequal: No Solution
Moving to Node #0,4,0
Current State: 51:[65, 35], Operations: ['56-39=17', '52-17=35']
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 65*35=2275, Resulting Numbers: [2275]
2275,51 unequal: No Solution
Exploring Operation: 65+35=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Moving to Node #0,4,2
Current State: 51:[65, 69], Operations: ['56-39=17', '52+17=69']
Exploring Operation: 65+69=134, Resulting Numbers: [134]
134,51 unequal: No Solution
Exploring Operation: 69-65=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 65*69=4485, Resulting Numbers: [4485]
4485,51 unequal: No Solution
Moving to Node #0,4,4
Current State: 51:[52, 82], Operations: ['56-39=17', '65+17=82']
Exploring Operation: 82-52=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 52+82=134, Resulting Numbers: [134]
134,51 unequal: No Solution
Exploring Operation: 52*82=4264, Resulting Numbers: [4264]
4264,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
Current State: 51:[52, 39, 9], Operations: ['65-56=9']
Exploring Operation: 52-9=43, Resulting Numbers: [39, 43]
Generated Node #0,1,0: 51:[39, 43] Operation: 52-9=43
Exploring Operation: 39-9=30, Resulting Numbers: [52, 30]
Generated Node #0,1,1: 51:[52, 30] Operation: 39-9=30
Exploring Operation: 39+9=48, Resulting Numbers: [52, 48]
Generated Node #0,1,2: 51:[52, 48] Operation: 39+9=48
Exploring Operation: 52-39=13, Resulting Numbers: [9, 13]
Generated Node #0,1,3: 51:[9, 13] Operation: 52-39=13
Exploring Operation: 52+9=61, Resulting Numbers: [39, 61]
Generated Node #0,1,4: 51:[39, 61] Operation: 52+9=61
Moving to Node #0,1,2
Current State: 51:[52, 48], Operations: ['65-56=9', '39+9=48']
Exploring Operation: 52+48=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 52*48=2496, Resulting Numbers: [2496]
2496,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[9, 13], Operations: ['65-56=9', '52-39=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,51 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[52, 30], Operations: ['65-56=9', '39-9=30']
Exploring Operation: 52*30=1560, Resulting Numbers: [1560]
1560,51 unequal: No Solution
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[39, 43], Operations: ['65-56=9', '52-9=43']
Exploring Operation: 39*43=1677, Resulting Numbers: [1677]
1677,51 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 39+43=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Moving to Node #0,1,4
Current State: 51:[39, 61], Operations: ['65-56=9', '52+9=61']
Exploring Operation: 39+61=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 39*61=2379, Resulting Numbers: [2379]
2379,51 unequal: No Solution
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,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,0
Current State: 51:[56, 39, 13], Operations: ['65-52=13']
Exploring Operation: 56-39=17, Resulting Numbers: [13, 17]
Generated Node #0,0,0: 51:[13, 17] Operation: 56-39=17
Exploring Operation: 39-13=26, Resulting Numbers: [56, 26]
Generated Node #0,0,1: 51:[56, 26] Operation: 39-13=26
Exploring Operation: 56-13=43, Resulting Numbers: [39, 43]
Generated Node #0,0,2: 51:[39, 43] Operation: 56-13=43
Exploring Operation: 39/13=3, Resulting Numbers: [56, 3]
Generated Node #0,0,3: 51:[56, 3] Operation: 39/13=3
Exploring Operation: 39+13=52, Resulting Numbers: [56, 52]
Generated Node #0,0,4: 51:[56, 52] Operation: 39+13=52
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[13, 17], Operations: ['65-52=13', '56-39=17']
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 13*17=221, Resulting Numbers: [221]
221,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:[56, 3], Operations: ['65-52=13', '39/13=3']
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,51 unequal: No Solution
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,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,4
Current State: 51:[56, 52], Operations: ['65-52=13', '39+13=52']
Exploring Operation: 56*52=2912, Resulting Numbers: [2912]
2912,51 unequal: No Solution
Exploring Operation: 56+52=108, Resulting Numbers: [108]
108,51 unequal: No Solution
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,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:[56, 26], Operations: ['65-52=13', '39-13=26']
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 56+26=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 56*26=1456, Resulting Numbers: [1456]
1456,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,2
Current State: 51:[39, 43], Operations: ['65-52=13', '56-13=43']
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 39*43=1677, Resulting Numbers: [1677]
1677,51 unequal: No Solution
Exploring Operation: 39+43=82, Resulting Numbers: [82]
82,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,2
Current State: 51:[56, 65, 13], Operations: ['52-39=13']
Exploring Operation: 65-56=9, Resulting Numbers: [13, 9]
Generated Node #0,2,0: 51:[13, 9] Operation: 65-56=9
Exploring Operation: 56-13=43, Resulting Numbers: [65, 43]
Generated Node #0,2,1: 51:[65, 43] Operation: 56-13=43
Exploring Operation: 65/13=5, Resulting Numbers: [56, 5]
Generated Node #0,2,2: 51:[56, 5] Operation: 65/13=5
Exploring Operation: 56+13=69, Resulting Numbers: [65, 69]
Generated Node #0,2,3: 51:[65, 69] Operation: 56+13=69
Exploring Operation: 65-13=52, Resulting Numbers: [56, 52]
Generated Node #0,2,4: 51:[56, 52] Operation: 65-13=52
Moving to Node #0,2,4
Current State: 51:[56, 52], Operations: ['52-39=13', '65-13=52']
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 56*52=2912, Resulting Numbers: [2912]
2912,51 unequal: No Solution
Exploring Operation: 56+52=108, Resulting Numbers: [108]
108,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[56, 5], Operations: ['52-39=13', '65/13=5']
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,51 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[56, 52, 39, 65], Operations: []
Exploring Operation: 52-39=13, Resulting Numbers: [56, 65, 13]
Generated Node #0,2: 51:[56, 65, 13] Operation: 52-39=13
Moving to Node #0,2
Current State: 51:[56, 65, 13], Operations: ['52-39=13']
Exploring Operation: 65/13=5, Resulting Numbers: [56, 5]
Generated Node #0,2,2: 51:[56, 5] Operation: 65/13=5
Moving to Node #0,2,2
Current State: 51:[56, 5], Operations: ['52-39=13', '65/13=5']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.913194 | hs_5 | mult_heuristic |
[
82,
64,
68,
75
] | 62 | [
"82+68=150",
"150/75=2",
"64-2=62"
] | Current State: 62:[82, 64, 68, 75], Operations: []
Exploring Operation: 82+68=150, Resulting Numbers: [64, 75, 150]
Generated Node #2: [64, 75, 150] from Operation: 82+68=150
Current State: 62:[64, 75, 150], Operations: ['82+68=150']
Exploring Operation: 150/75=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 150/75=2
Current State: 62:[64, 2], Operations: ['82+68=150', '150/75=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[82, 64, 68, 75], Operations: []
Exploring Operation: 82-68=14, Resulting Numbers: [64, 75, 14]
Generated Node #0,0: 62:[64, 75, 14] Operation: 82-68=14
Exploring Operation: 75-68=7, Resulting Numbers: [82, 64, 7]
Generated Node #0,1: 62:[82, 64, 7] Operation: 75-68=7
Exploring Operation: 82-75=7, Resulting Numbers: [64, 68, 7]
Generated Node #0,2: 62:[64, 68, 7] Operation: 82-75=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[64, 68, 7], Operations: ['82-75=7']
Exploring Operation: 64-7=57, Resulting Numbers: [68, 57]
Generated Node #0,2,0: 62:[68, 57] Operation: 64-7=57
Exploring Operation: 68-7=61, Resulting Numbers: [64, 61]
Generated Node #0,2,1: 62:[64, 61] Operation: 68-7=61
Exploring Operation: 68-64=4, Resulting Numbers: [7, 4]
Generated Node #0,2,2: 62:[7, 4] Operation: 68-64=4
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 62:[64, 61], Operations: ['82-75=7', '68-7=61']
Exploring Operation: 64-61=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 64*61=3904, Resulting Numbers: [3904]
3904,62 unequal: No Solution
Exploring Operation: 64+61=125, Resulting Numbers: [125]
125,62 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: 62:[7, 4], Operations: ['82-75=7', '68-64=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,62 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: 62:[68, 57], Operations: ['82-75=7', '64-7=57']
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 68*57=3876, Resulting Numbers: [3876]
3876,62 unequal: No Solution
Exploring Operation: 68+57=125, Resulting Numbers: [125]
125,62 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: 62:[64, 75, 14], Operations: ['82-68=14']
Exploring Operation: 75-64=11, Resulting Numbers: [14, 11]
Generated Node #0,0,0: 62:[14, 11] Operation: 75-64=11
Exploring Operation: 75-14=61, Resulting Numbers: [64, 61]
Generated Node #0,0,1: 62:[64, 61] Operation: 75-14=61
Exploring Operation: 64-14=50, Resulting Numbers: [75, 50]
Generated Node #0,0,2: 62:[75, 50] Operation: 64-14=50
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 62:[64, 61], Operations: ['82-68=14', '75-14=61']
Exploring Operation: 64-61=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 64*61=3904, Resulting Numbers: [3904]
3904,62 unequal: No Solution
Exploring Operation: 64+61=125, Resulting Numbers: [125]
125,62 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: 62:[14, 11], Operations: ['82-68=14', '75-64=11']
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,62 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,62 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: 62:[75, 50], Operations: ['82-68=14', '64-14=50']
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 75*50=3750, Resulting Numbers: [3750]
3750,62 unequal: No Solution
Exploring Operation: 75+50=125, Resulting Numbers: [125]
125,62 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: 62:[82, 64, 7], Operations: ['75-68=7']
Exploring Operation: 82-7=75, Resulting Numbers: [64, 75]
Generated Node #0,1,0: 62:[64, 75] Operation: 82-7=75
Exploring Operation: 82-64=18, Resulting Numbers: [7, 18]
Generated Node #0,1,1: 62:[7, 18] Operation: 82-64=18
Exploring Operation: 64-7=57, Resulting Numbers: [82, 57]
Generated Node #0,1,2: 62:[82, 57] Operation: 64-7=57
Moving to Node #0,1,0
Current State: 62:[64, 75], Operations: ['75-68=7', '82-7=75']
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 64+75=139, Resulting Numbers: [139]
139,62 unequal: No Solution
Exploring Operation: 64*75=4800, Resulting Numbers: [4800]
4800,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[7, 18], Operations: ['75-68=7', '82-64=18']
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,62 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[82, 57], Operations: ['75-68=7', '64-7=57']
Exploring Operation: 82+57=139, Resulting Numbers: [139]
139,62 unequal: No Solution
Exploring Operation: 82-57=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 82*57=4674, Resulting Numbers: [4674]
4674,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
51,
80,
87,
32
] | 84 | [
"80-51=29",
"87-32=55",
"29+55=84"
] | Current State: 84:[51, 80, 87, 32], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [87, 32, 29]
Generated Node #2: [87, 32, 29] from Operation: 80-51=29
Current State: 84:[87, 32, 29], Operations: ['80-51=29']
Exploring Operation: 87-32=55, Resulting Numbers: [29, 55]
Generated Node #3: [29, 55] from Operation: 87-32=55
Current State: 84:[29, 55], Operations: ['80-51=29', '87-32=55']
Exploring Operation: 29+55=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[51, 80, 87, 32], Operations: []
Exploring Operation: 51+32=83, Resulting Numbers: [80, 87, 83]
Generated Node #0,0: 84:[80, 87, 83] Operation: 51+32=83
Exploring Operation: 80-51=29, Resulting Numbers: [87, 32, 29]
Generated Node #0,1: 84:[87, 32, 29] Operation: 80-51=29
Exploring Operation: 51-32=19, Resulting Numbers: [80, 87, 19]
Generated Node #0,2: 84:[80, 87, 19] Operation: 51-32=19
Moving to Node #0,0
Current State: 84:[80, 87, 83], Operations: ['51+32=83']
Exploring Operation: 83-80=3, Resulting Numbers: [87, 3]
Generated Node #0,0,0: 84:[87, 3] Operation: 83-80=3
Exploring Operation: 87-80=7, Resulting Numbers: [83, 7]
Generated Node #0,0,1: 84:[83, 7] Operation: 87-80=7
Exploring Operation: 87-83=4, Resulting Numbers: [80, 4]
Generated Node #0,0,2: 84:[80, 4] Operation: 87-83=4
Moving to Node #0,1
Current State: 84:[87, 32, 29], Operations: ['80-51=29']
Exploring Operation: 32-29=3, Resulting Numbers: [87, 3]
Generated Node #0,1,0: 84:[87, 3] Operation: 32-29=3
Exploring Operation: 87-32=55, Resulting Numbers: [29, 55]
Generated Node #0,1,1: 84:[29, 55] Operation: 87-32=55
Exploring Operation: 87/29=3, Resulting Numbers: [32, 3]
Generated Node #0,1,2: 84:[32, 3] Operation: 87/29=3
Moving to Node #0,2
Current State: 84:[80, 87, 19], Operations: ['51-32=19']
Exploring Operation: 87-19=68, Resulting Numbers: [80, 68]
Generated Node #0,2,0: 84:[80, 68] Operation: 87-19=68
Exploring Operation: 80+19=99, Resulting Numbers: [87, 99]
Generated Node #0,2,1: 84:[87, 99] Operation: 80+19=99
Exploring Operation: 87-80=7, Resulting Numbers: [19, 7]
Generated Node #0,2,2: 84:[19, 7] Operation: 87-80=7
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 84:[19, 7], Operations: ['51-32=19', '87-80=7']
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,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,2,1
Current State: 84:[87, 99], Operations: ['51-32=19', '80+19=99']
Exploring Operation: 99-87=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 87+99=186, Resulting Numbers: [186]
186,84 unequal: No Solution
Exploring Operation: 87*99=8613, Resulting Numbers: [8613]
8613,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,2,0
Current State: 84:[80, 68], Operations: ['51-32=19', '87-19=68']
Exploring Operation: 80+68=148, Resulting Numbers: [148]
148,84 unequal: No Solution
Exploring Operation: 80-68=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 80*68=5440, Resulting Numbers: [5440]
5440,84 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: 84:[83, 7], Operations: ['51+32=83', '87-80=7']
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,84 unequal: No Solution
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[87, 3], Operations: ['51+32=83', '83-80=3']
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,84 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[51, 80, 87, 32], Operations: []
Exploring Operation: 51+32=83, Resulting Numbers: [80, 87, 83]
Generated Node #0,0: 84:[80, 87, 83] Operation: 51+32=83
Moving to Node #0,0
Current State: 84:[80, 87, 83], Operations: ['51+32=83']
Exploring Operation: 83-80=3, Resulting Numbers: [87, 3]
Generated Node #0,0,0: 84:[87, 3] Operation: 83-80=3
Moving to Node #0,0,0
Current State: 84:[87, 3], Operations: ['51+32=83', '83-80=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.97309 | hs_3 | mult_heuristic |
[
97,
70,
85,
5
] | 53 | [
"97-70=27",
"85-5=80",
"80-27=53"
] | Current State: 53:[97, 70, 85, 5], Operations: []
Exploring Operation: 97-70=27, Resulting Numbers: [85, 5, 27]
Generated Node #2: [85, 5, 27] from Operation: 97-70=27
Current State: 53:[85, 5, 27], Operations: ['97-70=27']
Exploring Operation: 85-5=80, Resulting Numbers: [27, 80]
Generated Node #3: [27, 80] from Operation: 85-5=80
Current State: 53:[27, 80], Operations: ['97-70=27', '85-5=80']
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[97, 70, 85, 5], Operations: []
Exploring Operation: 70-5=65, Resulting Numbers: [97, 85, 65]
Generated Node #0,0: 53:[97, 85, 65] Operation: 70-5=65
Exploring Operation: 97-5=92, Resulting Numbers: [70, 85, 92]
Generated Node #0,1: 53:[70, 85, 92] Operation: 97-5=92
Exploring Operation: 85-5=80, Resulting Numbers: [97, 70, 80]
Generated Node #0,2: 53:[97, 70, 80] Operation: 85-5=80
Moving to Node #0,0
Current State: 53:[97, 85, 65], Operations: ['70-5=65']
Exploring Operation: 97-65=32, Resulting Numbers: [85, 32]
Generated Node #0,0,0: 53:[85, 32] Operation: 97-65=32
Exploring Operation: 97-85=12, Resulting Numbers: [65, 12]
Generated Node #0,0,1: 53:[65, 12] Operation: 97-85=12
Exploring Operation: 85-65=20, Resulting Numbers: [97, 20]
Generated Node #0,0,2: 53:[97, 20] Operation: 85-65=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[85, 32], Operations: ['70-5=65', '97-65=32']
Exploring Operation: 85+32=117, Resulting Numbers: [117]
117,53 unequal: No Solution
Exploring Operation: 85*32=2720, Resulting Numbers: [2720]
2720,53 unequal: No Solution
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[97, 70, 85, 5], Operations: []
Exploring Operation: 70-5=65, Resulting Numbers: [97, 85, 65]
Generated Node #0,0: 53:[97, 85, 65] Operation: 70-5=65
Moving to Node #0,0
Current State: 53:[97, 85, 65], Operations: ['70-5=65']
Exploring Operation: 97-65=32, Resulting Numbers: [85, 32]
Generated Node #0,0,0: 53:[85, 32] Operation: 97-65=32
Moving to Node #0,0,0
Current State: 53:[85, 32], Operations: ['70-5=65', '97-65=32']
Exploring Operation: 85-32=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
78,
29,
86,
87
] | 50 | [
"78-29=49",
"87-86=1",
"49+1=50"
] | Current State: 50:[78, 29, 86, 87], Operations: []
Exploring Operation: 78-29=49, Resulting Numbers: [86, 87, 49]
Generated Node #2: [86, 87, 49] from Operation: 78-29=49
Current State: 50:[86, 87, 49], Operations: ['78-29=49']
Exploring Operation: 87-86=1, Resulting Numbers: [49, 1]
Generated Node #3: [49, 1] from Operation: 87-86=1
Current State: 50:[49, 1], Operations: ['78-29=49', '87-86=1']
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[78, 29, 86, 87], Operations: []
Exploring Operation: 86-78=8, Resulting Numbers: [29, 87, 8]
Generated Node #0,0: 50:[29, 87, 8] Operation: 86-78=8
Exploring Operation: 87-86=1, Resulting Numbers: [78, 29, 1]
Generated Node #0,1: 50:[78, 29, 1] Operation: 87-86=1
Exploring Operation: 87/29=3, Resulting Numbers: [78, 86, 3]
Generated Node #0,2: 50:[78, 86, 3] Operation: 87/29=3
Exploring Operation: 86-29=57, Resulting Numbers: [78, 87, 57]
Generated Node #0,3: 50:[78, 87, 57] Operation: 86-29=57
Exploring Operation: 87-78=9, Resulting Numbers: [29, 86, 9]
Generated Node #0,4: 50:[29, 86, 9] Operation: 87-78=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[78, 29, 1], Operations: ['87-86=1']
Exploring Operation: 78-1=77, Resulting Numbers: [29, 77]
Generated Node #0,1,0: 50:[29, 77] Operation: 78-1=77
Exploring Operation: 78*1=78, Resulting Numbers: [29, 78]
Generated Node #0,1,1: 50:[29, 78] Operation: 78*1=78
Exploring Operation: 78/1=78, Resulting Numbers: [29, 78]
Generated Node #0,1,2: 50:[29, 78] Operation: 78/1=78
Exploring Operation: 29-1=28, Resulting Numbers: [78, 28]
Generated Node #0,1,3: 50:[78, 28] Operation: 29-1=28
Exploring Operation: 78-29=49, Resulting Numbers: [1, 49]
Generated Node #0,1,4: 50:[1, 49] Operation: 78-29=49
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 50:[1, 49], Operations: ['87-86=1', '78-29=49']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[78, 29, 86, 87], Operations: []
Exploring Operation: 87-86=1, Resulting Numbers: [78, 29, 1]
Generated Node #0,1: 50:[78, 29, 1] Operation: 87-86=1
Moving to Node #0,1
Current State: 50:[78, 29, 1], Operations: ['87-86=1']
Exploring Operation: 78-29=49, Resulting Numbers: [1, 49]
Generated Node #0,1,4: 50:[1, 49] Operation: 78-29=49
Moving to Node #0,1,4
Current State: 50:[1, 49], Operations: ['87-86=1', '78-29=49']
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
19,
7,
88,
23
] | 28 | [
"7+88=95",
"95/19=5",
"23+5=28"
] | Current State: 28:[19, 7, 88, 23], Operations: []
Exploring Operation: 7+88=95, Resulting Numbers: [19, 23, 95]
Generated Node #2: [19, 23, 95] from Operation: 7+88=95
Current State: 28:[19, 23, 95], Operations: ['7+88=95']
Exploring Operation: 95/19=5, Resulting Numbers: [23, 5]
Generated Node #3: [23, 5] from Operation: 95/19=5
Current State: 28:[23, 5], Operations: ['7+88=95', '95/19=5']
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[19, 7, 88, 23], Operations: []
Exploring Operation: 88-23=65, Resulting Numbers: [19, 7, 65]
Generated Node #0,0: 28:[19, 7, 65] Operation: 88-23=65
Moving to Node #0,0
Current State: 28:[19, 7, 65], Operations: ['88-23=65']
Exploring Operation: 65-19=46, Resulting Numbers: [7, 46]
Generated Node #0,0,0: 28:[7, 46] Operation: 65-19=46
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[7, 46], Operations: ['88-23=65', '65-19=46']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,28 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 |
[
8,
64,
10,
66
] | 26 | [
"66-64=2",
"8*2=16",
"10+16=26"
] | Current State: 26:[8, 64, 10, 66], Operations: []
Exploring Operation: 66-64=2, Resulting Numbers: [8, 10, 2]
Generated Node #2: [8, 10, 2] from Operation: 66-64=2
Current State: 26:[8, 10, 2], Operations: ['66-64=2']
Exploring Operation: 8*2=16, Resulting Numbers: [10, 16]
Generated Node #3: [10, 16] from Operation: 8*2=16
Current State: 26:[10, 16], Operations: ['66-64=2', '8*2=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[8, 64, 10, 66], Operations: []
Exploring Operation: 64/8=8, Resulting Numbers: [10, 66, 8]
Generated Node #0,0: 26:[10, 66, 8] Operation: 64/8=8
Exploring Operation: 66-64=2, Resulting Numbers: [8, 10, 2]
Generated Node #0,1: 26:[8, 10, 2] Operation: 66-64=2
Moving to Node #0,1
Current State: 26:[8, 10, 2], Operations: ['66-64=2']
Exploring Operation: 8+10=18, Resulting Numbers: [2, 18]
Generated Node #0,1,0: 26:[2, 18] Operation: 8+10=18
Exploring Operation: 10-8=2, Resulting Numbers: [2, 2]
Generated Node #0,1,1: 26:[2, 2] Operation: 10-8=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[2, 2], Operations: ['66-64=2', '10-8=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,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,1,0
Current State: 26:[2, 18], Operations: ['66-64=2', '8+10=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,26 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: 26:[10, 66, 8], Operations: ['64/8=8']
Exploring Operation: 66-10=56, Resulting Numbers: [8, 56]
Generated Node #0,0,0: 26:[8, 56] Operation: 66-10=56
Exploring Operation: 66-8=58, Resulting Numbers: [10, 58]
Generated Node #0,0,1: 26:[10, 58] Operation: 66-8=58
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[8, 56], Operations: ['64/8=8', '66-10=56']
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,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,1
Current State: 26:[10, 58], Operations: ['64/8=8', '66-8=58']
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,26 unequal: No Solution
Exploring Operation: 10+58=68, Resulting Numbers: [68]
68,26 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,
97,
82,
98
] | 52 | [
"97-61=36",
"98-82=16",
"36+16=52"
] | Current State: 52:[61, 97, 82, 98], Operations: []
Exploring Operation: 97-61=36, Resulting Numbers: [82, 98, 36]
Generated Node #2: [82, 98, 36] from Operation: 97-61=36
Current State: 52:[82, 98, 36], Operations: ['97-61=36']
Exploring Operation: 98-82=16, Resulting Numbers: [36, 16]
Generated Node #3: [36, 16] from Operation: 98-82=16
Current State: 52:[36, 16], Operations: ['97-61=36', '98-82=16']
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[61, 97, 82, 98], Operations: []
Exploring Operation: 98-97=1, Resulting Numbers: [61, 82, 1]
Generated Node #0,0: 52:[61, 82, 1] Operation: 98-97=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[61, 82, 1], Operations: ['98-97=1']
Exploring Operation: 82-61=21, Resulting Numbers: [1, 21]
Generated Node #0,0,0: 52:[1, 21] Operation: 82-61=21
Moving to Node #0,0,0
Current State: 52:[1, 21], Operations: ['98-97=1', '82-61=21']
Exploring Operation: 1+21=22, Resulting Numbers: [22]
22,52 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 |
[
11,
84,
39,
80
] | 32 | [
"84-11=73",
"80-39=41",
"73-41=32"
] | Current State: 32:[11, 84, 39, 80], Operations: []
Exploring Operation: 84-11=73, Resulting Numbers: [39, 80, 73]
Generated Node #2: [39, 80, 73] from Operation: 84-11=73
Current State: 32:[39, 80, 73], Operations: ['84-11=73']
Exploring Operation: 80-39=41, Resulting Numbers: [73, 41]
Generated Node #3: [73, 41] from Operation: 80-39=41
Current State: 32:[73, 41], Operations: ['84-11=73', '80-39=41']
Exploring Operation: 73-41=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[11, 84, 39, 80], Operations: []
Exploring Operation: 84-39=45, Resulting Numbers: [11, 80, 45]
Generated Node #0,0: 32:[11, 80, 45] Operation: 84-39=45
Exploring Operation: 84-11=73, Resulting Numbers: [39, 80, 73]
Generated Node #0,1: 32:[39, 80, 73] Operation: 84-11=73
Exploring Operation: 80-39=41, Resulting Numbers: [11, 84, 41]
Generated Node #0,2: 32:[11, 84, 41] Operation: 80-39=41
Exploring Operation: 84-80=4, Resulting Numbers: [11, 39, 4]
Generated Node #0,3: 32:[11, 39, 4] Operation: 84-80=4
Exploring Operation: 80-11=69, Resulting Numbers: [84, 39, 69]
Generated Node #0,4: 32:[84, 39, 69] Operation: 80-11=69
Start Sub Search at level 1: Moving to Node #0,3
Current State: 32:[11, 39, 4], Operations: ['84-80=4']
Exploring Operation: 11+4=15, Resulting Numbers: [39, 15]
Generated Node #0,3,0: 32:[39, 15] Operation: 11+4=15
Exploring Operation: 39+4=43, Resulting Numbers: [11, 43]
Generated Node #0,3,1: 32:[11, 43] Operation: 39+4=43
Exploring Operation: 11-4=7, Resulting Numbers: [39, 7]
Generated Node #0,3,2: 32:[39, 7] Operation: 11-4=7
Exploring Operation: 39-11=28, Resulting Numbers: [4, 28]
Generated Node #0,3,3: 32:[4, 28] Operation: 39-11=28
Exploring Operation: 39-4=35, Resulting Numbers: [11, 35]
Generated Node #0,3,4: 32:[11, 35] Operation: 39-4=35
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 32:[4, 28], Operations: ['84-80=4', '39-11=28']
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,32 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[11, 84, 39, 80], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [11, 39, 4]
Generated Node #0,3: 32:[11, 39, 4] Operation: 84-80=4
Moving to Node #0,3
Current State: 32:[11, 39, 4], Operations: ['84-80=4']
Exploring Operation: 39-11=28, Resulting Numbers: [4, 28]
Generated Node #0,3,3: 32:[4, 28] Operation: 39-11=28
Moving to Node #0,3,3
Current State: 32:[4, 28], Operations: ['84-80=4', '39-11=28']
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
23,
63,
32,
4
] | 50 | [
"23+63=86",
"32+4=36",
"86-36=50"
] | Current State: 50:[23, 63, 32, 4], Operations: []
Exploring Operation: 23+63=86, Resulting Numbers: [32, 4, 86]
Generated Node #2: [32, 4, 86] from Operation: 23+63=86
Current State: 50:[32, 4, 86], Operations: ['23+63=86']
Exploring Operation: 32+4=36, Resulting Numbers: [86, 36]
Generated Node #3: [86, 36] from Operation: 32+4=36
Current State: 50:[86, 36], Operations: ['23+63=86', '32+4=36']
Exploring Operation: 86-36=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[23, 63, 32, 4], Operations: []
Exploring Operation: 63-23=40, Resulting Numbers: [32, 4, 40]
Generated Node #0,0: 50:[32, 4, 40] Operation: 63-23=40
Exploring Operation: 63-4=59, Resulting Numbers: [23, 32, 59]
Generated Node #0,1: 50:[23, 32, 59] Operation: 63-4=59
Exploring Operation: 63-32=31, Resulting Numbers: [23, 4, 31]
Generated Node #0,2: 50:[23, 4, 31] Operation: 63-32=31
Exploring Operation: 32-23=9, Resulting Numbers: [63, 4, 9]
Generated Node #0,3: 50:[63, 4, 9] Operation: 32-23=9
Exploring Operation: 32/4=8, Resulting Numbers: [23, 63, 8]
Generated Node #0,4: 50:[23, 63, 8] Operation: 32/4=8
Moving to Node #0,2
Current State: 50:[23, 4, 31], Operations: ['63-32=31']
Exploring Operation: 23+31=54, Resulting Numbers: [4, 54]
Generated Node #0,2,0: 50:[4, 54] Operation: 23+31=54
Exploring Operation: 23-4=19, Resulting Numbers: [31, 19]
Generated Node #0,2,1: 50:[31, 19] Operation: 23-4=19
Exploring Operation: 23+4=27, Resulting Numbers: [31, 27]
Generated Node #0,2,2: 50:[31, 27] Operation: 23+4=27
Exploring Operation: 31-4=27, Resulting Numbers: [23, 27]
Generated Node #0,2,3: 50:[23, 27] Operation: 31-4=27
Exploring Operation: 31-23=8, Resulting Numbers: [4, 8]
Generated Node #0,2,4: 50:[4, 8] Operation: 31-23=8
Moving to Node #0,3
Current State: 50:[63, 4, 9], Operations: ['32-23=9']
Exploring Operation: 63-9=54, Resulting Numbers: [4, 54]
Generated Node #0,3,0: 50:[4, 54] Operation: 63-9=54
Exploring Operation: 4+9=13, Resulting Numbers: [63, 13]
Generated Node #0,3,1: 50:[63, 13] Operation: 4+9=13
Exploring Operation: 63-4=59, Resulting Numbers: [9, 59]
Generated Node #0,3,2: 50:[9, 59] Operation: 63-4=59
Exploring Operation: 9-4=5, Resulting Numbers: [63, 5]
Generated Node #0,3,3: 50:[63, 5] Operation: 9-4=5
Exploring Operation: 63/9=7, Resulting Numbers: [4, 7]
Generated Node #0,3,4: 50:[4, 7] Operation: 63/9=7
Moving to Node #0,4
Current State: 50:[23, 63, 8], Operations: ['32/4=8']
Exploring Operation: 23+8=31, Resulting Numbers: [63, 31]
Generated Node #0,4,0: 50:[63, 31] Operation: 23+8=31
Exploring Operation: 63-23=40, Resulting Numbers: [8, 40]
Generated Node #0,4,1: 50:[8, 40] Operation: 63-23=40
Exploring Operation: 23-8=15, Resulting Numbers: [63, 15]
Generated Node #0,4,2: 50:[63, 15] Operation: 23-8=15
Exploring Operation: 63-8=55, Resulting Numbers: [23, 55]
Generated Node #0,4,3: 50:[23, 55] Operation: 63-8=55
Exploring Operation: 63+8=71, Resulting Numbers: [23, 71]
Generated Node #0,4,4: 50:[23, 71] Operation: 63+8=71
Moving to Node #0,0
Current State: 50:[32, 4, 40], Operations: ['63-23=40']
Exploring Operation: 40-32=8, Resulting Numbers: [4, 8]
Generated Node #0,0,0: 50:[4, 8] Operation: 40-32=8
Exploring Operation: 32/4=8, Resulting Numbers: [40, 8]
Generated Node #0,0,1: 50:[40, 8] Operation: 32/4=8
Exploring Operation: 32-4=28, Resulting Numbers: [40, 28]
Generated Node #0,0,2: 50:[40, 28] Operation: 32-4=28
Exploring Operation: 40/4=10, Resulting Numbers: [32, 10]
Generated Node #0,0,3: 50:[32, 10] Operation: 40/4=10
Exploring Operation: 4+40=44, Resulting Numbers: [32, 44]
Generated Node #0,0,4: 50:[32, 44] Operation: 4+40=44
Moving to Node #0,1
Current State: 50:[23, 32, 59], Operations: ['63-4=59']
Exploring Operation: 23+59=82, Resulting Numbers: [32, 82]
Generated Node #0,1,0: 50:[32, 82] Operation: 23+59=82
Exploring Operation: 59-32=27, Resulting Numbers: [23, 27]
Generated Node #0,1,1: 50:[23, 27] Operation: 59-32=27
Exploring Operation: 32-23=9, Resulting Numbers: [59, 9]
Generated Node #0,1,2: 50:[59, 9] Operation: 32-23=9
Exploring Operation: 23+32=55, Resulting Numbers: [59, 55]
Generated Node #0,1,3: 50:[59, 55] Operation: 23+32=55
Exploring Operation: 59-23=36, Resulting Numbers: [32, 36]
Generated Node #0,1,4: 50:[32, 36] Operation: 59-23=36
Moving to Node #0,2,4
Current State: 50:[4, 8], Operations: ['63-32=31', '31-23=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,50 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Moving to Node #0,3,4
Current State: 50:[4, 7], Operations: ['32-23=9', '63/9=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[4, 8], Operations: ['63-23=40', '40-32=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,50 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[23, 27], Operations: ['63-4=59', '59-32=27']
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 23+27=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[23, 63, 32, 4], Operations: []
Exploring Operation: 63-4=59, Resulting Numbers: [23, 32, 59]
Generated Node #0,1: 50:[23, 32, 59] Operation: 63-4=59
Moving to Node #0,1
Current State: 50:[23, 32, 59], Operations: ['63-4=59']
Exploring Operation: 59-32=27, Resulting Numbers: [23, 27]
Generated Node #0,1,1: 50:[23, 27] Operation: 59-32=27
Moving to Node #0,1,1
Current State: 50:[23, 27], Operations: ['63-4=59', '59-32=27']
Exploring Operation: 23+27=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.959201 | hs_5 | sum_heuristic |
[
5,
22,
20,
93
] | 86 | [
"5+22=27",
"20+93=113",
"113-27=86"
] | Current State: 86:[5, 22, 20, 93], Operations: []
Exploring Operation: 5+22=27, Resulting Numbers: [20, 93, 27]
Generated Node #2: [20, 93, 27] from Operation: 5+22=27
Current State: 86:[20, 93, 27], Operations: ['5+22=27']
Exploring Operation: 20+93=113, Resulting Numbers: [27, 113]
Generated Node #3: [27, 113] from Operation: 20+93=113
Current State: 86:[27, 113], Operations: ['5+22=27', '20+93=113']
Exploring Operation: 113-27=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[5, 22, 20, 93], Operations: []
Exploring Operation: 22+20=42, Resulting Numbers: [5, 93, 42]
Generated Node #0,0: 86:[5, 93, 42] Operation: 22+20=42
Exploring Operation: 20/5=4, Resulting Numbers: [22, 93, 4]
Generated Node #0,1: 86:[22, 93, 4] Operation: 20/5=4
Exploring Operation: 93-22=71, Resulting Numbers: [5, 20, 71]
Generated Node #0,2: 86:[5, 20, 71] Operation: 93-22=71
Exploring Operation: 22-20=2, Resulting Numbers: [5, 93, 2]
Generated Node #0,3: 86:[5, 93, 2] Operation: 22-20=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[5, 93, 2], Operations: ['22-20=2']
Exploring Operation: 5+93=98, Resulting Numbers: [2, 98]
Generated Node #0,3,0: 86:[2, 98] Operation: 5+93=98
Exploring Operation: 5-2=3, Resulting Numbers: [93, 3]
Generated Node #0,3,1: 86:[93, 3] Operation: 5-2=3
Exploring Operation: 93-5=88, Resulting Numbers: [2, 88]
Generated Node #0,3,2: 86:[2, 88] Operation: 93-5=88
Exploring Operation: 93-2=91, Resulting Numbers: [5, 91]
Generated Node #0,3,3: 86:[5, 91] Operation: 93-2=91
Moving to Node #0,3,2
Current State: 86:[2, 88], Operations: ['22-20=2', '93-5=88']
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,86 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[5, 22, 20, 93], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [5, 93, 2]
Generated Node #0,3: 86:[5, 93, 2] Operation: 22-20=2
Moving to Node #0,3
Current State: 86:[5, 93, 2], Operations: ['22-20=2']
Exploring Operation: 93-5=88, Resulting Numbers: [2, 88]
Generated Node #0,3,2: 86:[2, 88] Operation: 93-5=88
Moving to Node #0,3,2
Current State: 86:[2, 88], Operations: ['22-20=2', '93-5=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
31,
78,
86,
92
] | 69 | [
"31+78=109",
"86+92=178",
"178-109=69"
] | Current State: 69:[31, 78, 86, 92], Operations: []
Exploring Operation: 31+78=109, Resulting Numbers: [86, 92, 109]
Generated Node #2: [86, 92, 109] from Operation: 31+78=109
Current State: 69:[86, 92, 109], Operations: ['31+78=109']
Exploring Operation: 86+92=178, Resulting Numbers: [109, 178]
Generated Node #3: [109, 178] from Operation: 86+92=178
Current State: 69:[109, 178], Operations: ['31+78=109', '86+92=178']
Exploring Operation: 178-109=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[31, 78, 86, 92], Operations: []
Exploring Operation: 92-78=14, Resulting Numbers: [31, 86, 14]
Generated Node #0,0: 69:[31, 86, 14] Operation: 92-78=14
Exploring Operation: 92-86=6, Resulting Numbers: [31, 78, 6]
Generated Node #0,1: 69:[31, 78, 6] Operation: 92-86=6
Exploring Operation: 92-31=61, Resulting Numbers: [78, 86, 61]
Generated Node #0,2: 69:[78, 86, 61] Operation: 92-31=61
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[31, 78, 6], Operations: ['92-86=6']
Exploring Operation: 78/6=13, Resulting Numbers: [31, 13]
Generated Node #0,1,0: 69:[31, 13] Operation: 78/6=13
Exploring Operation: 31-6=25, Resulting Numbers: [78, 25]
Generated Node #0,1,1: 69:[78, 25] Operation: 31-6=25
Exploring Operation: 78-6=72, Resulting Numbers: [31, 72]
Generated Node #0,1,2: 69:[31, 72] Operation: 78-6=72
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[78, 25], Operations: ['92-86=6', '31-6=25']
Exploring Operation: 78*25=1950, Resulting Numbers: [1950]
1950,69 unequal: No Solution
Exploring Operation: 78+25=103, Resulting Numbers: [103]
103,69 unequal: No Solution
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,69 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: 69:[31, 72], Operations: ['92-86=6', '78-6=72']
Exploring Operation: 72-31=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Exploring Operation: 31+72=103, Resulting Numbers: [103]
103,69 unequal: No Solution
Exploring Operation: 31*72=2232, Resulting Numbers: [2232]
2232,69 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: 69:[31, 13], Operations: ['92-86=6', '78/6=13']
Exploring Operation: 31*13=403, Resulting Numbers: [403]
403,69 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 31+13=44, Resulting Numbers: [44]
44,69 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: 69:[31, 86, 14], Operations: ['92-78=14']
Exploring Operation: 86-14=72, Resulting Numbers: [31, 72]
Generated Node #0,0,0: 69:[31, 72] Operation: 86-14=72
Exploring Operation: 86-31=55, Resulting Numbers: [14, 55]
Generated Node #0,0,1: 69:[14, 55] Operation: 86-31=55
Exploring Operation: 31-14=17, Resulting Numbers: [86, 17]
Generated Node #0,0,2: 69:[86, 17] Operation: 31-14=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[31, 72], Operations: ['92-78=14', '86-14=72']
Exploring Operation: 31*72=2232, Resulting Numbers: [2232]
2232,69 unequal: No Solution
Exploring Operation: 31+72=103, Resulting Numbers: [103]
103,69 unequal: No Solution
Exploring Operation: 72-31=41, Resulting Numbers: [41]
41,69 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: 69:[14, 55], Operations: ['92-78=14', '86-31=55']
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Exploring Operation: 14+55=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[31, 78, 86, 92], Operations: []
Exploring Operation: 92-78=14, Resulting Numbers: [31, 86, 14]
Generated Node #0,0: 69:[31, 86, 14] Operation: 92-78=14
Moving to Node #0,0
Current State: 69:[31, 86, 14], Operations: ['92-78=14']
Exploring Operation: 86-31=55, Resulting Numbers: [14, 55]
Generated Node #0,0,1: 69:[14, 55] Operation: 86-31=55
Moving to Node #0,0,1
Current State: 69:[14, 55], Operations: ['92-78=14', '86-31=55']
Exploring Operation: 14+55=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
77,
89,
3,
70
] | 40 | [
"77+70=147",
"147/3=49",
"89-49=40"
] | Current State: 40:[77, 89, 3, 70], Operations: []
Exploring Operation: 77+70=147, Resulting Numbers: [89, 3, 147]
Generated Node #2: [89, 3, 147] from Operation: 77+70=147
Current State: 40:[89, 3, 147], Operations: ['77+70=147']
Exploring Operation: 147/3=49, Resulting Numbers: [89, 49]
Generated Node #3: [89, 49] from Operation: 147/3=49
Current State: 40:[89, 49], Operations: ['77+70=147', '147/3=49']
Exploring Operation: 89-49=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[77, 89, 3, 70], Operations: []
Exploring Operation: 89-70=19, Resulting Numbers: [77, 3, 19]
Generated Node #0,0: 40:[77, 3, 19] Operation: 89-70=19
Exploring Operation: 77-70=7, Resulting Numbers: [89, 3, 7]
Generated Node #0,1: 40:[89, 3, 7] Operation: 77-70=7
Exploring Operation: 89-77=12, Resulting Numbers: [3, 70, 12]
Generated Node #0,2: 40:[3, 70, 12] Operation: 89-77=12
Moving to Node #0,2
Current State: 40:[3, 70, 12], Operations: ['89-77=12']
Exploring Operation: 70-12=58, Resulting Numbers: [3, 58]
Generated Node #0,2,0: 40:[3, 58] Operation: 70-12=58
Exploring Operation: 12/3=4, Resulting Numbers: [70, 4]
Generated Node #0,2,1: 40:[70, 4] Operation: 12/3=4
Exploring Operation: 70-3=67, Resulting Numbers: [12, 67]
Generated Node #0,2,2: 40:[12, 67] Operation: 70-3=67
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[3, 58], Operations: ['89-77=12', '70-12=58']
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,40 unequal: No Solution
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,40 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: 40:[12, 67], Operations: ['89-77=12', '70-3=67']
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 12+67=79, Resulting Numbers: [79]
79,40 unequal: No Solution
Exploring Operation: 12*67=804, Resulting Numbers: [804]
804,40 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: 40:[70, 4], Operations: ['89-77=12', '12/3=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,40 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,40 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,40 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: 40:[77, 3, 19], Operations: ['89-70=19']
Exploring Operation: 77-19=58, Resulting Numbers: [3, 58]
Generated Node #0,0,0: 40:[3, 58] Operation: 77-19=58
Exploring Operation: 77-3=74, Resulting Numbers: [19, 74]
Generated Node #0,0,1: 40:[19, 74] Operation: 77-3=74
Exploring Operation: 3+19=22, Resulting Numbers: [77, 22]
Generated Node #0,0,2: 40:[77, 22] Operation: 3+19=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[3, 58], Operations: ['89-70=19', '77-19=58']
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,40 unequal: No Solution
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,40 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: 40:[19, 74], Operations: ['89-70=19', '77-3=74']
Exploring Operation: 19*74=1406, Resulting Numbers: [1406]
1406,40 unequal: No Solution
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 19+74=93, Resulting Numbers: [93]
93,40 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: 40:[77, 22], Operations: ['89-70=19', '3+19=22']
Exploring Operation: 77*22=1694, Resulting Numbers: [1694]
1694,40 unequal: No Solution
Exploring Operation: 77+22=99, Resulting Numbers: [99]
99,40 unequal: No Solution
Exploring Operation: 77-22=55, Resulting Numbers: [55]
55,40 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: 40:[89, 3, 7], Operations: ['77-70=7']
Exploring Operation: 3+7=10, Resulting Numbers: [89, 10]
Generated Node #0,1,0: 40:[89, 10] Operation: 3+7=10
Exploring Operation: 89-7=82, Resulting Numbers: [3, 82]
Generated Node #0,1,1: 40:[3, 82] Operation: 89-7=82
Exploring Operation: 89-3=86, Resulting Numbers: [7, 86]
Generated Node #0,1,2: 40:[7, 86] Operation: 89-3=86
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[3, 82], Operations: ['77-70=7', '89-7=82']
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,40 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,40 unequal: No Solution
Exploring Operation: 3*82=246, Resulting Numbers: [246]
246,40 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: 40:[7, 86], Operations: ['77-70=7', '89-3=86']
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,40 unequal: No Solution
Exploring Operation: 7*86=602, Resulting Numbers: [602]
602,40 unequal: No Solution
Exploring Operation: 7+86=93, Resulting Numbers: [93]
93,40 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: 40:[89, 10], Operations: ['77-70=7', '3+7=10']
Exploring Operation: 89+10=99, Resulting Numbers: [99]
99,40 unequal: No Solution
Exploring Operation: 89*10=890, Resulting Numbers: [890]
890,40 unequal: No Solution
Exploring Operation: 89-10=79, Resulting Numbers: [79]
79,40 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 |
[
86,
19,
27,
47
] | 86 | [
"19+27=46",
"47-46=1",
"86*1=86"
] | Current State: 86:[86, 19, 27, 47], Operations: []
Exploring Operation: 19+27=46, Resulting Numbers: [86, 47, 46]
Generated Node #2: [86, 47, 46] from Operation: 19+27=46
Current State: 86:[86, 47, 46], Operations: ['19+27=46']
Exploring Operation: 47-46=1, Resulting Numbers: [86, 1]
Generated Node #3: [86, 1] from Operation: 47-46=1
Current State: 86:[86, 1], Operations: ['19+27=46', '47-46=1']
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[86, 19, 27, 47], Operations: []
Exploring Operation: 19+27=46, Resulting Numbers: [86, 47, 46]
Generated Node #0,0: 86:[86, 47, 46] Operation: 19+27=46
Exploring Operation: 47-19=28, Resulting Numbers: [86, 27, 28]
Generated Node #0,1: 86:[86, 27, 28] Operation: 47-19=28
Exploring Operation: 27-19=8, Resulting Numbers: [86, 47, 8]
Generated Node #0,2: 86:[86, 47, 8] Operation: 27-19=8
Exploring Operation: 47-27=20, Resulting Numbers: [86, 19, 20]
Generated Node #0,3: 86:[86, 19, 20] Operation: 47-27=20
Exploring Operation: 27+47=74, Resulting Numbers: [86, 19, 74]
Generated Node #0,4: 86:[86, 19, 74] Operation: 27+47=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[86, 47, 46], Operations: ['19+27=46']
Exploring Operation: 86+47=133, Resulting Numbers: [46, 133]
Generated Node #0,0,0: 86:[46, 133] Operation: 86+47=133
Exploring Operation: 47+46=93, Resulting Numbers: [86, 93]
Generated Node #0,0,1: 86:[86, 93] Operation: 47+46=93
Exploring Operation: 86-46=40, Resulting Numbers: [47, 40]
Generated Node #0,0,2: 86:[47, 40] Operation: 86-46=40
Exploring Operation: 86-47=39, Resulting Numbers: [46, 39]
Generated Node #0,0,3: 86:[46, 39] Operation: 86-47=39
Exploring Operation: 47-46=1, Resulting Numbers: [86, 1]
Generated Node #0,0,4: 86:[86, 1] Operation: 47-46=1
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 86:[86, 1], Operations: ['19+27=46', '47-46=1']
Exploring Operation: 86+1=87, Resulting Numbers: [87]
87,86 unequal: No Solution
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[86, 19, 27, 47], Operations: []
Exploring Operation: 19+27=46, Resulting Numbers: [86, 47, 46]
Generated Node #0,0: 86:[86, 47, 46] Operation: 19+27=46
Moving to Node #0,0
Current State: 86:[86, 47, 46], Operations: ['19+27=46']
Exploring Operation: 47-46=1, Resulting Numbers: [86, 1]
Generated Node #0,0,4: 86:[86, 1] Operation: 47-46=1
Moving to Node #0,0,4
Current State: 86:[86, 1], Operations: ['19+27=46', '47-46=1']
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
54,
90,
99,
71
] | 26 | [
"54+90=144",
"99+71=170",
"170-144=26"
] | Current State: 26:[54, 90, 99, 71], Operations: []
Exploring Operation: 54+90=144, Resulting Numbers: [99, 71, 144]
Generated Node #2: [99, 71, 144] from Operation: 54+90=144
Current State: 26:[99, 71, 144], Operations: ['54+90=144']
Exploring Operation: 99+71=170, Resulting Numbers: [144, 170]
Generated Node #3: [144, 170] from Operation: 99+71=170
Current State: 26:[144, 170], Operations: ['54+90=144', '99+71=170']
Exploring Operation: 170-144=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[54, 90, 99, 71], Operations: []
Exploring Operation: 99-71=28, Resulting Numbers: [54, 90, 28]
Generated Node #0,0: 26:[54, 90, 28] Operation: 99-71=28
Exploring Operation: 90-71=19, Resulting Numbers: [54, 99, 19]
Generated Node #0,1: 26:[54, 99, 19] Operation: 90-71=19
Exploring Operation: 99-90=9, Resulting Numbers: [54, 71, 9]
Generated Node #0,2: 26:[54, 71, 9] Operation: 99-90=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[54, 71, 9], Operations: ['99-90=9']
Exploring Operation: 71-54=17, Resulting Numbers: [9, 17]
Generated Node #0,2,0: 26:[9, 17] Operation: 71-54=17
Exploring Operation: 54/9=6, Resulting Numbers: [71, 6]
Generated Node #0,2,1: 26:[71, 6] Operation: 54/9=6
Exploring Operation: 54-9=45, Resulting Numbers: [71, 45]
Generated Node #0,2,2: 26:[71, 45] Operation: 54-9=45
Moving to Node #0,2,0
Current State: 26:[9, 17], Operations: ['99-90=9', '71-54=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,26 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[54, 90, 99, 71], Operations: []
Exploring Operation: 99-90=9, Resulting Numbers: [54, 71, 9]
Generated Node #0,2: 26:[54, 71, 9] Operation: 99-90=9
Moving to Node #0,2
Current State: 26:[54, 71, 9], Operations: ['99-90=9']
Exploring Operation: 71-54=17, Resulting Numbers: [9, 17]
Generated Node #0,2,0: 26:[9, 17] Operation: 71-54=17
Moving to Node #0,2,0
Current State: 26:[9, 17], Operations: ['99-90=9', '71-54=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
8,
90,
65,
78
] | 83 | [
"90*65=5850",
"5850/78=75",
"8+75=83"
] | Current State: 83:[8, 90, 65, 78], Operations: []
Exploring Operation: 90*65=5850, Resulting Numbers: [8, 78, 5850]
Generated Node #2: [8, 78, 5850] from Operation: 90*65=5850
Current State: 83:[8, 78, 5850], Operations: ['90*65=5850']
Exploring Operation: 5850/78=75, Resulting Numbers: [8, 75]
Generated Node #3: [8, 75] from Operation: 5850/78=75
Current State: 83:[8, 75], Operations: ['90*65=5850', '5850/78=75']
Exploring Operation: 8+75=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[8, 90, 65, 78], Operations: []
Exploring Operation: 8+78=86, Resulting Numbers: [90, 65, 86]
Generated Node #0,0: 83:[90, 65, 86] Operation: 8+78=86
Exploring Operation: 8+90=98, Resulting Numbers: [65, 78, 98]
Generated Node #0,1: 83:[65, 78, 98] Operation: 8+90=98
Exploring Operation: 90-8=82, Resulting Numbers: [65, 78, 82]
Generated Node #0,2: 83:[65, 78, 82] Operation: 90-8=82
Exploring Operation: 8+65=73, Resulting Numbers: [90, 78, 73]
Generated Node #0,3: 83:[90, 78, 73] Operation: 8+65=73
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[90, 78, 73], Operations: ['8+65=73']
Exploring Operation: 78+73=151, Resulting Numbers: [90, 151]
Generated Node #0,3,0: 83:[90, 151] Operation: 78+73=151
Exploring Operation: 90-73=17, Resulting Numbers: [78, 17]
Generated Node #0,3,1: 83:[78, 17] Operation: 90-73=17
Exploring Operation: 90+73=163, Resulting Numbers: [78, 163]
Generated Node #0,3,2: 83:[78, 163] Operation: 90+73=163
Exploring Operation: 90-78=12, Resulting Numbers: [73, 12]
Generated Node #0,3,3: 83:[73, 12] Operation: 90-78=12
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 83:[78, 17], Operations: ['8+65=73', '90-73=17']
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,83 unequal: No Solution
Exploring Operation: 78*17=1326, Resulting Numbers: [1326]
1326,83 unequal: No Solution
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,83 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: 83:[90, 151], Operations: ['8+65=73', '78+73=151']
Exploring Operation: 90*151=13590, Resulting Numbers: [13590]
13590,83 unequal: No Solution
Exploring Operation: 90+151=241, Resulting Numbers: [241]
241,83 unequal: No Solution
Exploring Operation: 151-90=61, Resulting Numbers: [61]
61,83 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: 83:[73, 12], Operations: ['8+65=73', '90-78=12']
Exploring Operation: 73*12=876, Resulting Numbers: [876]
876,83 unequal: No Solution
Exploring Operation: 73+12=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,83 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: 83:[78, 163], Operations: ['8+65=73', '90+73=163']
Exploring Operation: 78+163=241, Resulting Numbers: [241]
241,83 unequal: No Solution
Exploring Operation: 78*163=12714, Resulting Numbers: [12714]
12714,83 unequal: No Solution
Exploring Operation: 163-78=85, Resulting Numbers: [85]
85,83 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: 83:[65, 78, 82], Operations: ['90-8=82']
Exploring Operation: 78-65=13, Resulting Numbers: [82, 13]
Generated Node #0,2,0: 83:[82, 13] Operation: 78-65=13
Exploring Operation: 65+82=147, Resulting Numbers: [78, 147]
Generated Node #0,2,1: 83:[78, 147] Operation: 65+82=147
Exploring Operation: 82-65=17, Resulting Numbers: [78, 17]
Generated Node #0,2,2: 83:[78, 17] Operation: 82-65=17
Exploring Operation: 65+78=143, Resulting Numbers: [82, 143]
Generated Node #0,2,3: 83:[82, 143] Operation: 65+78=143
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 83:[82, 143], Operations: ['90-8=82', '65+78=143']
Exploring Operation: 143-82=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 82*143=11726, Resulting Numbers: [11726]
11726,83 unequal: No Solution
Exploring Operation: 82+143=225, Resulting Numbers: [225]
225,83 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: 83:[78, 147], Operations: ['90-8=82', '65+82=147']
Exploring Operation: 78*147=11466, Resulting Numbers: [11466]
11466,83 unequal: No Solution
Exploring Operation: 78+147=225, Resulting Numbers: [225]
225,83 unequal: No Solution
Exploring Operation: 147-78=69, Resulting Numbers: [69]
69,83 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: 83:[82, 13], Operations: ['90-8=82', '78-65=13']
Exploring Operation: 82*13=1066, Resulting Numbers: [1066]
1066,83 unequal: No Solution
Exploring Operation: 82-13=69, Resulting Numbers: [69]
69,83 unequal: No Solution
Exploring Operation: 82+13=95, Resulting Numbers: [95]
95,83 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: 83:[78, 17], Operations: ['90-8=82', '82-65=17']
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 78*17=1326, Resulting Numbers: [1326]
1326,83 unequal: No Solution
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,83 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: 83:[90, 65, 86], Operations: ['8+78=86']
Exploring Operation: 65+86=151, Resulting Numbers: [90, 151]
Generated Node #0,0,0: 83:[90, 151] Operation: 65+86=151
Exploring Operation: 90-65=25, Resulting Numbers: [86, 25]
Generated Node #0,0,1: 83:[86, 25] Operation: 90-65=25
Exploring Operation: 86-65=21, Resulting Numbers: [90, 21]
Generated Node #0,0,2: 83:[90, 21] Operation: 86-65=21
Exploring Operation: 90+65=155, Resulting Numbers: [86, 155]
Generated Node #0,0,3: 83:[86, 155] Operation: 90+65=155
Moving to Node #0,0,1
Current State: 83:[86, 25], Operations: ['8+78=86', '90-65=25']
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 86+25=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 86*25=2150, Resulting Numbers: [2150]
2150,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[90, 21], Operations: ['8+78=86', '86-65=21']
Exploring Operation: 90*21=1890, Resulting Numbers: [1890]
1890,83 unequal: No Solution
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,83 unequal: No Solution
Exploring Operation: 90+21=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[86, 155], Operations: ['8+78=86', '90+65=155']
Exploring Operation: 86+155=241, Resulting Numbers: [241]
241,83 unequal: No Solution
Exploring Operation: 86*155=13330, Resulting Numbers: [13330]
13330,83 unequal: No Solution
Exploring Operation: 155-86=69, Resulting Numbers: [69]
69,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[90, 151], Operations: ['8+78=86', '65+86=151']
Exploring Operation: 151-90=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 90+151=241, Resulting Numbers: [241]
241,83 unequal: No Solution
Exploring Operation: 90*151=13590, Resulting Numbers: [13590]
13590,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
Current State: 83:[65, 78, 98], Operations: ['8+90=98']
Exploring Operation: 98-78=20, Resulting Numbers: [65, 20]
Generated Node #0,1,0: 83:[65, 20] Operation: 98-78=20
Exploring Operation: 98-65=33, Resulting Numbers: [78, 33]
Generated Node #0,1,1: 83:[78, 33] Operation: 98-65=33
Exploring Operation: 65+78=143, Resulting Numbers: [98, 143]
Generated Node #0,1,2: 83:[98, 143] Operation: 65+78=143
Exploring Operation: 78-65=13, Resulting Numbers: [98, 13]
Generated Node #0,1,3: 83:[98, 13] Operation: 78-65=13
Moving to Node #0,1,1
Current State: 83:[78, 33], Operations: ['8+90=98', '98-65=33']
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Exploring Operation: 78+33=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 78*33=2574, Resulting Numbers: [2574]
2574,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[98, 143], Operations: ['8+90=98', '65+78=143']
Exploring Operation: 98+143=241, Resulting Numbers: [241]
241,83 unequal: No Solution
Exploring Operation: 98*143=14014, Resulting Numbers: [14014]
14014,83 unequal: No Solution
Exploring Operation: 143-98=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[65, 20], Operations: ['8+90=98', '98-78=20']
Exploring Operation: 65+20=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 65*20=1300, Resulting Numbers: [1300]
1300,83 unequal: No Solution
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[98, 13], Operations: ['8+90=98', '78-65=13']
Exploring Operation: 98+13=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 98*13=1274, Resulting Numbers: [1274]
1274,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 |
[
50,
89,
35,
91
] | 17 | [
"89-50=39",
"91-35=56",
"56-39=17"
] | Current State: 17:[50, 89, 35, 91], Operations: []
Exploring Operation: 89-50=39, Resulting Numbers: [35, 91, 39]
Generated Node #2: [35, 91, 39] from Operation: 89-50=39
Current State: 17:[35, 91, 39], Operations: ['89-50=39']
Exploring Operation: 91-35=56, Resulting Numbers: [39, 56]
Generated Node #3: [39, 56] from Operation: 91-35=56
Current State: 17:[39, 56], Operations: ['89-50=39', '91-35=56']
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[50, 89, 35, 91], Operations: []
Exploring Operation: 89-50=39, Resulting Numbers: [35, 91, 39]
Generated Node #0,0: 17:[35, 91, 39] Operation: 89-50=39
Exploring Operation: 91-35=56, Resulting Numbers: [50, 89, 56]
Generated Node #0,1: 17:[50, 89, 56] Operation: 91-35=56
Exploring Operation: 91-50=41, Resulting Numbers: [89, 35, 41]
Generated Node #0,2: 17:[89, 35, 41] Operation: 91-50=41
Exploring Operation: 89-35=54, Resulting Numbers: [50, 91, 54]
Generated Node #0,3: 17:[50, 91, 54] Operation: 89-35=54
Exploring Operation: 91-89=2, Resulting Numbers: [50, 35, 2]
Generated Node #0,4: 17:[50, 35, 2] Operation: 91-89=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 17:[50, 35, 2], Operations: ['91-89=2']
Exploring Operation: 35-2=33, Resulting Numbers: [50, 33]
Generated Node #0,4,0: 17:[50, 33] Operation: 35-2=33
Exploring Operation: 50-2=48, Resulting Numbers: [35, 48]
Generated Node #0,4,1: 17:[35, 48] Operation: 50-2=48
Exploring Operation: 50-35=15, Resulting Numbers: [2, 15]
Generated Node #0,4,2: 17:[2, 15] Operation: 50-35=15
Exploring Operation: 50/2=25, Resulting Numbers: [35, 25]
Generated Node #0,4,3: 17:[35, 25] Operation: 50/2=25
Exploring Operation: 50+2=52, Resulting Numbers: [35, 52]
Generated Node #0,4,4: 17:[35, 52] Operation: 50+2=52
Moving to Node #0,4,2
Current State: 17:[2, 15], Operations: ['91-89=2', '50-35=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[50, 89, 35, 91], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [50, 35, 2]
Generated Node #0,4: 17:[50, 35, 2] Operation: 91-89=2
Moving to Node #0,4
Current State: 17:[50, 35, 2], Operations: ['91-89=2']
Exploring Operation: 50-35=15, Resulting Numbers: [2, 15]
Generated Node #0,4,2: 17:[2, 15] Operation: 50-35=15
Moving to Node #0,4,2
Current State: 17:[2, 15], Operations: ['91-89=2', '50-35=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
4,
72,
79,
69
] | 97 | [
"79-72=7",
"4*7=28",
"69+28=97"
] | Current State: 97:[4, 72, 79, 69], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [4, 69, 7]
Generated Node #2: [4, 69, 7] from Operation: 79-72=7
Current State: 97:[4, 69, 7], Operations: ['79-72=7']
Exploring Operation: 4*7=28, Resulting Numbers: [69, 28]
Generated Node #3: [69, 28] from Operation: 4*7=28
Current State: 97:[69, 28], Operations: ['79-72=7', '4*7=28']
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[4, 72, 79, 69], Operations: []
Exploring Operation: 4+69=73, Resulting Numbers: [72, 79, 73]
Generated Node #0,0: 97:[72, 79, 73] Operation: 4+69=73
Exploring Operation: 4+72=76, Resulting Numbers: [79, 69, 76]
Generated Node #0,1: 97:[79, 69, 76] Operation: 4+72=76
Exploring Operation: 4+79=83, Resulting Numbers: [72, 69, 83]
Generated Node #0,2: 97:[72, 69, 83] Operation: 4+79=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[72, 79, 73], Operations: ['4+69=73']
Exploring Operation: 79+73=152, Resulting Numbers: [72, 152]
Generated Node #0,0,0: 97:[72, 152] Operation: 79+73=152
Exploring Operation: 72+79=151, Resulting Numbers: [73, 151]
Generated Node #0,0,1: 97:[73, 151] Operation: 72+79=151
Exploring Operation: 72+73=145, Resulting Numbers: [79, 145]
Generated Node #0,0,2: 97:[79, 145] Operation: 72+73=145
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[79, 145], Operations: ['4+69=73', '72+73=145']
Exploring Operation: 145-79=66, Resulting Numbers: [66]
66,97 unequal: No Solution
Exploring Operation: 79+145=224, Resulting Numbers: [224]
224,97 unequal: No Solution
Exploring Operation: 79*145=11455, Resulting Numbers: [11455]
11455,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,1
Current State: 97:[73, 151], Operations: ['4+69=73', '72+79=151']
Exploring Operation: 73*151=11023, Resulting Numbers: [11023]
11023,97 unequal: No Solution
Exploring Operation: 73+151=224, Resulting Numbers: [224]
224,97 unequal: No Solution
Exploring Operation: 151-73=78, Resulting Numbers: [78]
78,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:[72, 152], Operations: ['4+69=73', '79+73=152']
Exploring Operation: 72*152=10944, Resulting Numbers: [10944]
10944,97 unequal: No Solution
Exploring Operation: 72+152=224, Resulting Numbers: [224]
224,97 unequal: No Solution
Exploring Operation: 152-72=80, Resulting Numbers: [80]
80,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,1
Current State: 97:[79, 69, 76], Operations: ['4+72=76']
Exploring Operation: 79+69=148, Resulting Numbers: [76, 148]
Generated Node #0,1,0: 97:[76, 148] Operation: 79+69=148
Exploring Operation: 79+76=155, Resulting Numbers: [69, 155]
Generated Node #0,1,1: 97:[69, 155] Operation: 79+76=155
Exploring Operation: 69+76=145, Resulting Numbers: [79, 145]
Generated Node #0,1,2: 97:[79, 145] Operation: 69+76=145
Moving to Node #0,1,2
Current State: 97:[79, 145], Operations: ['4+72=76', '69+76=145']
Exploring Operation: 79*145=11455, Resulting Numbers: [11455]
11455,97 unequal: No Solution
Exploring Operation: 145-79=66, Resulting Numbers: [66]
66,97 unequal: No Solution
Exploring Operation: 79+145=224, Resulting Numbers: [224]
224,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[76, 148], Operations: ['4+72=76', '79+69=148']
Exploring Operation: 76*148=11248, Resulting Numbers: [11248]
11248,97 unequal: No Solution
Exploring Operation: 76+148=224, Resulting Numbers: [224]
224,97 unequal: No Solution
Exploring Operation: 148-76=72, Resulting Numbers: [72]
72,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[69, 155], Operations: ['4+72=76', '79+76=155']
Exploring Operation: 69*155=10695, Resulting Numbers: [10695]
10695,97 unequal: No Solution
Exploring Operation: 69+155=224, Resulting Numbers: [224]
224,97 unequal: No Solution
Exploring Operation: 155-69=86, Resulting Numbers: [86]
86,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,2
Current State: 97:[72, 69, 83], Operations: ['4+79=83']
Exploring Operation: 69+83=152, Resulting Numbers: [72, 152]
Generated Node #0,2,0: 97:[72, 152] Operation: 69+83=152
Exploring Operation: 72+83=155, Resulting Numbers: [69, 155]
Generated Node #0,2,1: 97:[69, 155] Operation: 72+83=155
Exploring Operation: 72+69=141, Resulting Numbers: [83, 141]
Generated Node #0,2,2: 97:[83, 141] Operation: 72+69=141
Moving to Node #0,2,2
Current State: 97:[83, 141], Operations: ['4+79=83', '72+69=141']
Exploring Operation: 83*141=11703, Resulting Numbers: [11703]
11703,97 unequal: No Solution
Exploring Operation: 83+141=224, Resulting Numbers: [224]
224,97 unequal: No Solution
Exploring Operation: 141-83=58, Resulting Numbers: [58]
58,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[72, 152], Operations: ['4+79=83', '69+83=152']
Exploring Operation: 152-72=80, Resulting Numbers: [80]
80,97 unequal: No Solution
Exploring Operation: 72+152=224, Resulting Numbers: [224]
224,97 unequal: No Solution
Exploring Operation: 72*152=10944, Resulting Numbers: [10944]
10944,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[69, 155], Operations: ['4+79=83', '72+83=155']
Exploring Operation: 155-69=86, Resulting Numbers: [86]
86,97 unequal: No Solution
Exploring Operation: 69+155=224, Resulting Numbers: [224]
224,97 unequal: No Solution
Exploring Operation: 69*155=10695, Resulting Numbers: [10695]
10695,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
17,
80,
96,
90
] | 91 | [
"17+80=97",
"96-90=6",
"97-6=91"
] | Current State: 91:[17, 80, 96, 90], Operations: []
Exploring Operation: 17+80=97, Resulting Numbers: [96, 90, 97]
Generated Node #2: [96, 90, 97] from Operation: 17+80=97
Current State: 91:[96, 90, 97], Operations: ['17+80=97']
Exploring Operation: 96-90=6, Resulting Numbers: [97, 6]
Generated Node #3: [97, 6] from Operation: 96-90=6
Current State: 91:[97, 6], Operations: ['17+80=97', '96-90=6']
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[17, 80, 96, 90], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [17, 96, 10]
Generated Node #0,0: 91:[17, 96, 10] Operation: 90-80=10
Exploring Operation: 96-80=16, Resulting Numbers: [17, 90, 16]
Generated Node #0,1: 91:[17, 90, 16] Operation: 96-80=16
Exploring Operation: 17+80=97, Resulting Numbers: [96, 90, 97]
Generated Node #0,2: 91:[96, 90, 97] Operation: 17+80=97
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[17, 90, 16], Operations: ['96-80=16']
Exploring Operation: 17-16=1, Resulting Numbers: [90, 1]
Generated Node #0,1,0: 91:[90, 1] Operation: 17-16=1
Exploring Operation: 90+16=106, Resulting Numbers: [17, 106]
Generated Node #0,1,1: 91:[17, 106] Operation: 90+16=106
Exploring Operation: 17+90=107, Resulting Numbers: [16, 107]
Generated Node #0,1,2: 91:[16, 107] Operation: 17+90=107
Moving to Node #0,1,0
Current State: 91:[90, 1], Operations: ['96-80=16', '17-16=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[17, 80, 96, 90], Operations: []
Exploring Operation: 96-80=16, Resulting Numbers: [17, 90, 16]
Generated Node #0,1: 91:[17, 90, 16] Operation: 96-80=16
Moving to Node #0,1
Current State: 91:[17, 90, 16], Operations: ['96-80=16']
Exploring Operation: 17-16=1, Resulting Numbers: [90, 1]
Generated Node #0,1,0: 91:[90, 1] Operation: 17-16=1
Moving to Node #0,1,0
Current State: 91:[90, 1], Operations: ['96-80=16', '17-16=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
12,
61,
16,
88
] | 83 | [
"16-12=4",
"88/4=22",
"61+22=83"
] | Current State: 83:[12, 61, 16, 88], Operations: []
Exploring Operation: 16-12=4, Resulting Numbers: [61, 88, 4]
Generated Node #2: [61, 88, 4] from Operation: 16-12=4
Current State: 83:[61, 88, 4], Operations: ['16-12=4']
Exploring Operation: 88/4=22, Resulting Numbers: [61, 22]
Generated Node #3: [61, 22] from Operation: 88/4=22
Current State: 83:[61, 22], Operations: ['16-12=4', '88/4=22']
Exploring Operation: 61+22=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[12, 61, 16, 88], Operations: []
Exploring Operation: 61+16=77, Resulting Numbers: [12, 88, 77]
Generated Node #0,0: 83:[12, 88, 77] Operation: 61+16=77
Exploring Operation: 88-16=72, Resulting Numbers: [12, 61, 72]
Generated Node #0,1: 83:[12, 61, 72] Operation: 88-16=72
Exploring Operation: 88-12=76, Resulting Numbers: [61, 16, 76]
Generated Node #0,2: 83:[61, 16, 76] Operation: 88-12=76
Exploring Operation: 12+61=73, Resulting Numbers: [16, 88, 73]
Generated Node #0,3: 83:[16, 88, 73] Operation: 12+61=73
Exploring Operation: 12+16=28, Resulting Numbers: [61, 88, 28]
Generated Node #0,4: 83:[61, 88, 28] Operation: 12+16=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[12, 88, 77], Operations: ['61+16=77']
Exploring Operation: 88-12=76, Resulting Numbers: [77, 76]
Generated Node #0,0,0: 83:[77, 76] Operation: 88-12=76
Exploring Operation: 12+77=89, Resulting Numbers: [88, 89]
Generated Node #0,0,1: 83:[88, 89] Operation: 12+77=89
Exploring Operation: 88-77=11, Resulting Numbers: [12, 11]
Generated Node #0,0,2: 83:[12, 11] Operation: 88-77=11
Exploring Operation: 12+88=100, Resulting Numbers: [77, 100]
Generated Node #0,0,3: 83:[77, 100] Operation: 12+88=100
Exploring Operation: 77-12=65, Resulting Numbers: [88, 65]
Generated Node #0,0,4: 83:[88, 65] Operation: 77-12=65
Moving to Node #0,0,1
Current State: 83:[88, 89], Operations: ['61+16=77', '12+77=89']
Exploring Operation: 88*89=7832, Resulting Numbers: [7832]
7832,83 unequal: No Solution
Exploring Operation: 88+89=177, Resulting Numbers: [177]
177,83 unequal: No Solution
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[77, 76], Operations: ['61+16=77', '88-12=76']
Exploring Operation: 77-76=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 77+76=153, Resulting Numbers: [153]
153,83 unequal: No Solution
Exploring Operation: 77*76=5852, Resulting Numbers: [5852]
5852,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[77, 100], Operations: ['61+16=77', '12+88=100']
Exploring Operation: 77*100=7700, Resulting Numbers: [7700]
7700,83 unequal: No Solution
Exploring Operation: 77+100=177, Resulting Numbers: [177]
177,83 unequal: No Solution
Exploring Operation: 100-77=23, Resulting Numbers: [23]
23,83 unequal: No Solution
Moving to Node #0,0,4
Current State: 83:[88, 65], Operations: ['61+16=77', '77-12=65']
Exploring Operation: 88*65=5720, Resulting Numbers: [5720]
5720,83 unequal: No Solution
Exploring Operation: 88+65=153, Resulting Numbers: [153]
153,83 unequal: No Solution
Exploring Operation: 88-65=23, Resulting Numbers: [23]
23,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[12, 11], Operations: ['61+16=77', '88-77=11']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,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
Current State: 83:[16, 88, 73], Operations: ['12+61=73']
Exploring Operation: 88-16=72, Resulting Numbers: [73, 72]
Generated Node #0,3,0: 83:[73, 72] Operation: 88-16=72
Exploring Operation: 16+73=89, Resulting Numbers: [88, 89]
Generated Node #0,3,1: 83:[88, 89] Operation: 16+73=89
Exploring Operation: 16+88=104, Resulting Numbers: [73, 104]
Generated Node #0,3,2: 83:[73, 104] Operation: 16+88=104
Exploring Operation: 73-16=57, Resulting Numbers: [88, 57]
Generated Node #0,3,3: 83:[88, 57] Operation: 73-16=57
Exploring Operation: 88-73=15, Resulting Numbers: [16, 15]
Generated Node #0,3,4: 83:[16, 15] Operation: 88-73=15
Moving to Node #0,3,1
Current State: 83:[88, 89], Operations: ['12+61=73', '16+73=89']
Exploring Operation: 88+89=177, Resulting Numbers: [177]
177,83 unequal: No Solution
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 88*89=7832, Resulting Numbers: [7832]
7832,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[73, 72], Operations: ['12+61=73', '88-16=72']
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 73*72=5256, Resulting Numbers: [5256]
5256,83 unequal: No Solution
Exploring Operation: 73+72=145, Resulting Numbers: [145]
145,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[73, 104], Operations: ['12+61=73', '16+88=104']
Exploring Operation: 104-73=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 73*104=7592, Resulting Numbers: [7592]
7592,83 unequal: No Solution
Exploring Operation: 73+104=177, Resulting Numbers: [177]
177,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[88, 57], Operations: ['12+61=73', '73-16=57']
Exploring Operation: 88*57=5016, Resulting Numbers: [5016]
5016,83 unequal: No Solution
Exploring Operation: 88-57=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 88+57=145, Resulting Numbers: [145]
145,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[16, 15], Operations: ['12+61=73', '88-73=15']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,83 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,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,4
Current State: 83:[61, 88, 28], Operations: ['12+16=28']
Exploring Operation: 88-61=27, Resulting Numbers: [28, 27]
Generated Node #0,4,0: 83:[28, 27] Operation: 88-61=27
Exploring Operation: 61+28=89, Resulting Numbers: [88, 89]
Generated Node #0,4,1: 83:[88, 89] Operation: 61+28=89
Exploring Operation: 61-28=33, Resulting Numbers: [88, 33]
Generated Node #0,4,2: 83:[88, 33] Operation: 61-28=33
Exploring Operation: 88+28=116, Resulting Numbers: [61, 116]
Generated Node #0,4,3: 83:[61, 116] Operation: 88+28=116
Exploring Operation: 88-28=60, Resulting Numbers: [61, 60]
Generated Node #0,4,4: 83:[61, 60] Operation: 88-28=60
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 83:[88, 89], Operations: ['12+16=28', '61+28=89']
Exploring Operation: 88*89=7832, Resulting Numbers: [7832]
7832,83 unequal: No Solution
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 88+89=177, Resulting Numbers: [177]
177,83 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: 83:[61, 60], Operations: ['12+16=28', '88-28=60']
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 61*60=3660, Resulting Numbers: [3660]
3660,83 unequal: No Solution
Exploring Operation: 61+60=121, Resulting Numbers: [121]
121,83 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: 83:[88, 33], Operations: ['12+16=28', '61-28=33']
Exploring Operation: 88*33=2904, Resulting Numbers: [2904]
2904,83 unequal: No Solution
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,83 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,83 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: 83:[61, 116], Operations: ['12+16=28', '88+28=116']
Exploring Operation: 61+116=177, Resulting Numbers: [177]
177,83 unequal: No Solution
Exploring Operation: 61*116=7076, Resulting Numbers: [7076]
7076,83 unequal: No Solution
Exploring Operation: 116-61=55, Resulting Numbers: [55]
55,83 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: 83:[28, 27], Operations: ['12+16=28', '88-61=27']
Exploring Operation: 28*27=756, Resulting Numbers: [756]
756,83 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,83 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: 83:[61, 16, 76], Operations: ['88-12=76']
Exploring Operation: 61-16=45, Resulting Numbers: [76, 45]
Generated Node #0,2,0: 83:[76, 45] Operation: 61-16=45
Exploring Operation: 16+76=92, Resulting Numbers: [61, 92]
Generated Node #0,2,1: 83:[61, 92] Operation: 16+76=92
Exploring Operation: 76-16=60, Resulting Numbers: [61, 60]
Generated Node #0,2,2: 83:[61, 60] Operation: 76-16=60
Exploring Operation: 61+76=137, Resulting Numbers: [16, 137]
Generated Node #0,2,3: 83:[16, 137] Operation: 61+76=137
Exploring Operation: 61+16=77, Resulting Numbers: [76, 77]
Generated Node #0,2,4: 83:[76, 77] Operation: 61+16=77
Moving to Node #0,2,4
Current State: 83:[76, 77], Operations: ['88-12=76', '61+16=77']
Exploring Operation: 76+77=153, Resulting Numbers: [153]
153,83 unequal: No Solution
Exploring Operation: 76*77=5852, Resulting Numbers: [5852]
5852,83 unequal: No Solution
Exploring Operation: 77-76=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[61, 92], Operations: ['88-12=76', '16+76=92']
Exploring Operation: 61*92=5612, Resulting Numbers: [5612]
5612,83 unequal: No Solution
Exploring Operation: 61+92=153, Resulting Numbers: [153]
153,83 unequal: No Solution
Exploring Operation: 92-61=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[76, 45], Operations: ['88-12=76', '61-16=45']
Exploring Operation: 76+45=121, Resulting Numbers: [121]
121,83 unequal: No Solution
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 76*45=3420, Resulting Numbers: [3420]
3420,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[61, 60], Operations: ['88-12=76', '76-16=60']
Exploring Operation: 61+60=121, Resulting Numbers: [121]
121,83 unequal: No Solution
Exploring Operation: 61*60=3660, Resulting Numbers: [3660]
3660,83 unequal: No Solution
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[16, 137], Operations: ['88-12=76', '61+76=137']
Exploring Operation: 137-16=121, Resulting Numbers: [121]
121,83 unequal: No Solution
Exploring Operation: 16+137=153, Resulting Numbers: [153]
153,83 unequal: No Solution
Exploring Operation: 16*137=2192, Resulting Numbers: [2192]
2192,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
Current State: 83:[12, 61, 72], Operations: ['88-16=72']
Exploring Operation: 12+72=84, Resulting Numbers: [61, 84]
Generated Node #0,1,0: 83:[61, 84] Operation: 12+72=84
Exploring Operation: 12+61=73, Resulting Numbers: [72, 73]
Generated Node #0,1,1: 83:[72, 73] Operation: 12+61=73
Exploring Operation: 72/12=6, Resulting Numbers: [61, 6]
Generated Node #0,1,2: 83:[61, 6] Operation: 72/12=6
Exploring Operation: 61-12=49, Resulting Numbers: [72, 49]
Generated Node #0,1,3: 83:[72, 49] Operation: 61-12=49
Exploring Operation: 72-12=60, Resulting Numbers: [61, 60]
Generated Node #0,1,4: 83:[61, 60] Operation: 72-12=60
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[72, 73], Operations: ['88-16=72', '12+61=73']
Exploring Operation: 72+73=145, Resulting Numbers: [145]
145,83 unequal: No Solution
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 72*73=5256, Resulting Numbers: [5256]
5256,83 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: 83:[61, 84], Operations: ['88-16=72', '12+72=84']
Exploring Operation: 61+84=145, Resulting Numbers: [145]
145,83 unequal: No Solution
Exploring Operation: 61*84=5124, Resulting Numbers: [5124]
5124,83 unequal: No Solution
Exploring Operation: 84-61=23, Resulting Numbers: [23]
23,83 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: 83:[72, 49], Operations: ['88-16=72', '61-12=49']
Exploring Operation: 72-49=23, Resulting Numbers: [23]
23,83 unequal: No Solution
Exploring Operation: 72+49=121, Resulting Numbers: [121]
121,83 unequal: No Solution
Exploring Operation: 72*49=3528, Resulting Numbers: [3528]
3528,83 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: 83:[61, 60], Operations: ['88-16=72', '72-12=60']
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 61+60=121, Resulting Numbers: [121]
121,83 unequal: No Solution
Exploring Operation: 61*60=3660, Resulting Numbers: [3660]
3660,83 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: 83:[61, 6], Operations: ['88-16=72', '72/12=6']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,83 unequal: No Solution
Exploring Operation: 61*6=366, Resulting Numbers: [366]
366,83 unequal: No Solution
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,83 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 | sum_heuristic |
[
86,
44,
45,
8
] | 95 | [
"86-44=42",
"45+8=53",
"42+53=95"
] | Current State: 95:[86, 44, 45, 8], Operations: []
Exploring Operation: 86-44=42, Resulting Numbers: [45, 8, 42]
Generated Node #2: [45, 8, 42] from Operation: 86-44=42
Current State: 95:[45, 8, 42], Operations: ['86-44=42']
Exploring Operation: 45+8=53, Resulting Numbers: [42, 53]
Generated Node #3: [42, 53] from Operation: 45+8=53
Current State: 95:[42, 53], Operations: ['86-44=42', '45+8=53']
Exploring Operation: 42+53=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[86, 44, 45, 8], Operations: []
Exploring Operation: 86-45=41, Resulting Numbers: [44, 8, 41]
Generated Node #0,0: 95:[44, 8, 41] Operation: 86-45=41
Exploring Operation: 45-44=1, Resulting Numbers: [86, 8, 1]
Generated Node #0,1: 95:[86, 8, 1] Operation: 45-44=1
Exploring Operation: 44+45=89, Resulting Numbers: [86, 8, 89]
Generated Node #0,2: 95:[86, 8, 89] Operation: 44+45=89
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[86, 8, 1], Operations: ['45-44=1']
Exploring Operation: 86+8=94, Resulting Numbers: [1, 94]
Generated Node #0,1,0: 95:[1, 94] Operation: 86+8=94
Exploring Operation: 8-1=7, Resulting Numbers: [86, 7]
Generated Node #0,1,1: 95:[86, 7] Operation: 8-1=7
Exploring Operation: 86+1=87, Resulting Numbers: [8, 87]
Generated Node #0,1,2: 95:[8, 87] Operation: 86+1=87
Moving to Node #0,1,0
Current State: 95:[1, 94], Operations: ['45-44=1', '86+8=94']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,95 unequal: No Solution
Exploring Operation: 1*94=94, Resulting Numbers: [94]
94,95 unequal: No Solution
Exploring Operation: 1+94=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[86, 44, 45, 8], Operations: []
Exploring Operation: 45-44=1, Resulting Numbers: [86, 8, 1]
Generated Node #0,1: 95:[86, 8, 1] Operation: 45-44=1
Moving to Node #0,1
Current State: 95:[86, 8, 1], Operations: ['45-44=1']
Exploring Operation: 86+8=94, Resulting Numbers: [1, 94]
Generated Node #0,1,0: 95:[1, 94] Operation: 86+8=94
Moving to Node #0,1,0
Current State: 95:[1, 94], Operations: ['45-44=1', '86+8=94']
Exploring Operation: 1+94=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
27,
10,
6,
6
] | 49 | [
"27+10=37",
"6+6=12",
"37+12=49"
] | Current State: 49:[27, 10, 6, 6], Operations: []
Exploring Operation: 27+10=37, Resulting Numbers: [6, 6, 37]
Generated Node #2: [6, 6, 37] from Operation: 27+10=37
Current State: 49:[6, 6, 37], Operations: ['27+10=37']
Exploring Operation: 6+6=12, Resulting Numbers: [37, 12]
Generated Node #3: [37, 12] from Operation: 6+6=12
Current State: 49:[37, 12], Operations: ['27+10=37', '6+6=12']
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[27, 10, 6, 6], Operations: []
Exploring Operation: 27-10=17, Resulting Numbers: [6, 6, 17]
Generated Node #0,0: 49:[6, 6, 17] Operation: 27-10=17
Exploring Operation: 27-6=21, Resulting Numbers: [10, 6, 21]
Generated Node #0,1: 49:[10, 6, 21] Operation: 27-6=21
Exploring Operation: 27-6=21, Resulting Numbers: [10, 6, 21]
Generated Node #0,2: 49:[10, 6, 21] Operation: 27-6=21
Exploring Operation: 27+10=37, Resulting Numbers: [6, 6, 37]
Generated Node #0,3: 49:[6, 6, 37] Operation: 27+10=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[6, 6, 17], Operations: ['27-10=17']
Exploring Operation: 17-6=11, Resulting Numbers: [6, 11]
Generated Node #0,0,0: 49:[6, 11] Operation: 17-6=11
Exploring Operation: 17-6=11, Resulting Numbers: [6, 11]
Generated Node #0,0,1: 49:[6, 11] Operation: 17-6=11
Exploring Operation: 6/6=1, Resulting Numbers: [17, 1]
Generated Node #0,0,2: 49:[17, 1] Operation: 6/6=1
Exploring Operation: 6+6=12, Resulting Numbers: [17, 12]
Generated Node #0,0,3: 49:[17, 12] Operation: 6+6=12
Moving to Node #0,0,0
Current State: 49:[6, 11], Operations: ['27-10=17', '17-6=11']
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[6, 11], Operations: ['27-10=17', '17-6=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[17, 12], Operations: ['27-10=17', '6+6=12']
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,49 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[17, 1], Operations: ['27-10=17', '6/6=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,49 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,49 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: 49:[6, 6, 37], Operations: ['27+10=37']
Exploring Operation: 6+37=43, Resulting Numbers: [6, 43]
Generated Node #0,3,0: 49:[6, 43] Operation: 6+37=43
Exploring Operation: 6+6=12, Resulting Numbers: [37, 12]
Generated Node #0,3,1: 49:[37, 12] Operation: 6+6=12
Exploring Operation: 6+37=43, Resulting Numbers: [6, 43]
Generated Node #0,3,2: 49:[6, 43] Operation: 6+37=43
Exploring Operation: 6/6=1, Resulting Numbers: [37, 1]
Generated Node #0,3,3: 49:[37, 1] Operation: 6/6=1
Moving to Node #0,3,0
Current State: 49:[6, 43], Operations: ['27+10=37', '6+37=43']
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[27, 10, 6, 6], Operations: []
Exploring Operation: 27+10=37, Resulting Numbers: [6, 6, 37]
Generated Node #0,3: 49:[6, 6, 37] Operation: 27+10=37
Moving to Node #0,3
Current State: 49:[6, 6, 37], Operations: ['27+10=37']
Exploring Operation: 6+37=43, Resulting Numbers: [6, 43]
Generated Node #0,3,0: 49:[6, 43] Operation: 6+37=43
Moving to Node #0,3,0
Current State: 49:[6, 43], Operations: ['27+10=37', '6+37=43']
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
17,
51,
20,
84
] | 67 | [
"51/17=3",
"84-20=64",
"3+64=67"
] | Current State: 67:[17, 51, 20, 84], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [20, 84, 3]
Generated Node #2: [20, 84, 3] from Operation: 51/17=3
Current State: 67:[20, 84, 3], Operations: ['51/17=3']
Exploring Operation: 84-20=64, Resulting Numbers: [3, 64]
Generated Node #3: [3, 64] from Operation: 84-20=64
Current State: 67:[3, 64], Operations: ['51/17=3', '84-20=64']
Exploring Operation: 3+64=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[17, 51, 20, 84], Operations: []
Exploring Operation: 17+20=37, Resulting Numbers: [51, 84, 37]
Generated Node #0,0: 67:[51, 84, 37] Operation: 17+20=37
Exploring Operation: 84-20=64, Resulting Numbers: [17, 51, 64]
Generated Node #0,1: 67:[17, 51, 64] Operation: 84-20=64
Exploring Operation: 51+20=71, Resulting Numbers: [17, 84, 71]
Generated Node #0,2: 67:[17, 84, 71] Operation: 51+20=71
Exploring Operation: 17+51=68, Resulting Numbers: [20, 84, 68]
Generated Node #0,3: 67:[20, 84, 68] Operation: 17+51=68
Exploring Operation: 84-17=67, Resulting Numbers: [51, 20, 67]
Generated Node #0,4: 67:[51, 20, 67] Operation: 84-17=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[51, 84, 37], Operations: ['17+20=37']
Exploring Operation: 84-51=33, Resulting Numbers: [37, 33]
Generated Node #0,0,0: 67:[37, 33] Operation: 84-51=33
Exploring Operation: 84+37=121, Resulting Numbers: [51, 121]
Generated Node #0,0,1: 67:[51, 121] Operation: 84+37=121
Exploring Operation: 51-37=14, Resulting Numbers: [84, 14]
Generated Node #0,0,2: 67:[84, 14] Operation: 51-37=14
Exploring Operation: 51+37=88, Resulting Numbers: [84, 88]
Generated Node #0,0,3: 67:[84, 88] Operation: 51+37=88
Exploring Operation: 84-37=47, Resulting Numbers: [51, 47]
Generated Node #0,0,4: 67:[51, 47] Operation: 84-37=47
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 67:[51, 47], Operations: ['17+20=37', '84-37=47']
Exploring Operation: 51*47=2397, Resulting Numbers: [2397]
2397,67 unequal: No Solution
Exploring Operation: 51+47=98, Resulting Numbers: [98]
98,67 unequal: No Solution
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,67 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: 67:[84, 88], Operations: ['17+20=37', '51+37=88']
Exploring Operation: 84*88=7392, Resulting Numbers: [7392]
7392,67 unequal: No Solution
Exploring Operation: 88-84=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 84+88=172, Resulting Numbers: [172]
172,67 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: 67:[37, 33], Operations: ['17+20=37', '84-51=33']
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 37*33=1221, Resulting Numbers: [1221]
1221,67 unequal: No Solution
Exploring Operation: 37+33=70, Resulting Numbers: [70]
70,67 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: 67:[51, 121], Operations: ['17+20=37', '84+37=121']
Exploring Operation: 121-51=70, Resulting Numbers: [70]
70,67 unequal: No Solution
Exploring Operation: 51*121=6171, Resulting Numbers: [6171]
6171,67 unequal: No Solution
Exploring Operation: 51+121=172, Resulting Numbers: [172]
172,67 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: 67:[84, 14], Operations: ['17+20=37', '51-37=14']
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 84+14=98, Resulting Numbers: [98]
98,67 unequal: No Solution
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,67 unequal: No Solution
Exploring Operation: 84*14=1176, Resulting Numbers: [1176]
1176,67 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: 67:[51, 20, 67], Operations: ['84-17=67']
Exploring Operation: 51-20=31, Resulting Numbers: [67, 31]
Generated Node #0,4,0: 67:[67, 31] Operation: 51-20=31
Exploring Operation: 20+67=87, Resulting Numbers: [51, 87]
Generated Node #0,4,1: 67:[51, 87] Operation: 20+67=87
Exploring Operation: 67-20=47, Resulting Numbers: [51, 47]
Generated Node #0,4,2: 67:[51, 47] Operation: 67-20=47
Exploring Operation: 51+20=71, Resulting Numbers: [67, 71]
Generated Node #0,4,3: 67:[67, 71] Operation: 51+20=71
Exploring Operation: 51+67=118, Resulting Numbers: [20, 118]
Generated Node #0,4,4: 67:[20, 118] Operation: 51+67=118
Moving to Node #0,4,3
Current State: 67:[67, 71], Operations: ['84-17=67', '51+20=71']
Exploring Operation: 71-67=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 67+71=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 67*71=4757, Resulting Numbers: [4757]
4757,67 unequal: No Solution
Moving to Node #0,4,1
Current State: 67:[51, 87], Operations: ['84-17=67', '20+67=87']
Exploring Operation: 51*87=4437, Resulting Numbers: [4437]
4437,67 unequal: No Solution
Exploring Operation: 51+87=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 87-51=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Moving to Node #0,4,0
Current State: 67:[67, 31], Operations: ['84-17=67', '51-20=31']
Exploring Operation: 67+31=98, Resulting Numbers: [98]
98,67 unequal: No Solution
Exploring Operation: 67*31=2077, Resulting Numbers: [2077]
2077,67 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Moving to Node #0,4,2
Current State: 67:[51, 47], Operations: ['84-17=67', '67-20=47']
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 51+47=98, Resulting Numbers: [98]
98,67 unequal: No Solution
Exploring Operation: 51*47=2397, Resulting Numbers: [2397]
2397,67 unequal: No Solution
Moving to Node #0,4,4
Current State: 67:[20, 118], Operations: ['84-17=67', '51+67=118']
Exploring Operation: 20*118=2360, Resulting Numbers: [2360]
2360,67 unequal: No Solution
Exploring Operation: 20+118=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 118-20=98, Resulting Numbers: [98]
98,67 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: 67:[20, 84, 68], Operations: ['17+51=68']
Exploring Operation: 20+68=88, Resulting Numbers: [84, 88]
Generated Node #0,3,0: 67:[84, 88] Operation: 20+68=88
Exploring Operation: 84-68=16, Resulting Numbers: [20, 16]
Generated Node #0,3,1: 67:[20, 16] Operation: 84-68=16
Exploring Operation: 84-20=64, Resulting Numbers: [68, 64]
Generated Node #0,3,2: 67:[68, 64] Operation: 84-20=64
Exploring Operation: 20+84=104, Resulting Numbers: [68, 104]
Generated Node #0,3,3: 67:[68, 104] Operation: 20+84=104
Exploring Operation: 68-20=48, Resulting Numbers: [84, 48]
Generated Node #0,3,4: 67:[84, 48] Operation: 68-20=48
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 67:[68, 64], Operations: ['17+51=68', '84-20=64']
Exploring Operation: 68+64=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 68*64=4352, Resulting Numbers: [4352]
4352,67 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,67 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: 67:[84, 48], Operations: ['17+51=68', '68-20=48']
Exploring Operation: 84*48=4032, Resulting Numbers: [4032]
4032,67 unequal: No Solution
Exploring Operation: 84+48=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 84-48=36, Resulting Numbers: [36]
36,67 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: 67:[84, 88], Operations: ['17+51=68', '20+68=88']
Exploring Operation: 84+88=172, Resulting Numbers: [172]
172,67 unequal: No Solution
Exploring Operation: 84*88=7392, Resulting Numbers: [7392]
7392,67 unequal: No Solution
Exploring Operation: 88-84=4, Resulting Numbers: [4]
4,67 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: 67:[68, 104], Operations: ['17+51=68', '20+84=104']
Exploring Operation: 104-68=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 68*104=7072, Resulting Numbers: [7072]
7072,67 unequal: No Solution
Exploring Operation: 68+104=172, Resulting Numbers: [172]
172,67 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: 67:[20, 16], Operations: ['17+51=68', '84-68=16']
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,67 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,67 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: 67:[17, 51, 64], Operations: ['84-20=64']
Exploring Operation: 51/17=3, Resulting Numbers: [64, 3]
Generated Node #0,1,0: 67:[64, 3] Operation: 51/17=3
Exploring Operation: 64-17=47, Resulting Numbers: [51, 47]
Generated Node #0,1,1: 67:[51, 47] Operation: 64-17=47
Exploring Operation: 51-17=34, Resulting Numbers: [64, 34]
Generated Node #0,1,2: 67:[64, 34] Operation: 51-17=34
Exploring Operation: 17+64=81, Resulting Numbers: [51, 81]
Generated Node #0,1,3: 67:[51, 81] Operation: 17+64=81
Exploring Operation: 17+51=68, Resulting Numbers: [64, 68]
Generated Node #0,1,4: 67:[64, 68] Operation: 17+51=68
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 67:[64, 68], Operations: ['84-20=64', '17+51=68']
Exploring Operation: 64*68=4352, Resulting Numbers: [4352]
4352,67 unequal: No Solution
Exploring Operation: 64+68=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,67 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: 67:[51, 81], Operations: ['84-20=64', '17+64=81']
Exploring Operation: 51+81=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 81-51=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Exploring Operation: 51*81=4131, Resulting Numbers: [4131]
4131,67 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: 67:[51, 47], Operations: ['84-20=64', '64-17=47']
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 51*47=2397, Resulting Numbers: [2397]
2397,67 unequal: No Solution
Exploring Operation: 51+47=98, Resulting Numbers: [98]
98,67 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: 67:[64, 34], Operations: ['84-20=64', '51-17=34']
Exploring Operation: 64+34=98, Resulting Numbers: [98]
98,67 unequal: No Solution
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Exploring Operation: 64*34=2176, Resulting Numbers: [2176]
2176,67 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: 67:[64, 3], Operations: ['84-20=64', '51/17=3']
Exploring Operation: 64*3=192, Resulting Numbers: [192]
192,67 unequal: No Solution
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,67 unequal: No Solution
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[17, 51, 20, 84], Operations: []
Exploring Operation: 84-20=64, Resulting Numbers: [17, 51, 64]
Generated Node #0,1: 67:[17, 51, 64] Operation: 84-20=64
Moving to Node #0,1
Current State: 67:[17, 51, 64], Operations: ['84-20=64']
Exploring Operation: 51/17=3, Resulting Numbers: [64, 3]
Generated Node #0,1,0: 67:[64, 3] Operation: 51/17=3
Moving to Node #0,1,0
Current State: 67:[64, 3], Operations: ['84-20=64', '51/17=3']
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.921875 | hs_5 | mult_heuristic |
[
66,
73,
12,
3
] | 29 | [
"73-66=7",
"12*3=36",
"36-7=29"
] | Current State: 29:[66, 73, 12, 3], Operations: []
Exploring Operation: 73-66=7, Resulting Numbers: [12, 3, 7]
Generated Node #2: [12, 3, 7] from Operation: 73-66=7
Current State: 29:[12, 3, 7], Operations: ['73-66=7']
Exploring Operation: 12*3=36, Resulting Numbers: [7, 36]
Generated Node #3: [7, 36] from Operation: 12*3=36
Current State: 29:[7, 36], Operations: ['73-66=7', '12*3=36']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[66, 73, 12, 3], Operations: []
Exploring Operation: 73-66=7, Resulting Numbers: [12, 3, 7]
Generated Node #0,0: 29:[12, 3, 7] Operation: 73-66=7
Exploring Operation: 12*3=36, Resulting Numbers: [66, 73, 36]
Generated Node #0,1: 29:[66, 73, 36] Operation: 12*3=36
Exploring Operation: 66/3=22, Resulting Numbers: [73, 12, 22]
Generated Node #0,2: 29:[73, 12, 22] Operation: 66/3=22
Moving to Node #0,0
Current State: 29:[12, 3, 7], Operations: ['73-66=7']
Exploring Operation: 12+3=15, Resulting Numbers: [7, 15]
Generated Node #0,0,0: 29:[7, 15] Operation: 12+3=15
Exploring Operation: 3*7=21, Resulting Numbers: [12, 21]
Generated Node #0,0,1: 29:[12, 21] Operation: 3*7=21
Exploring Operation: 12*3=36, Resulting Numbers: [7, 36]
Generated Node #0,0,2: 29:[7, 36] Operation: 12*3=36
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[12, 21], Operations: ['73-66=7', '3*7=21']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,29 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,29 unequal: No Solution
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,29 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: 29:[7, 36], Operations: ['73-66=7', '12*3=36']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[66, 73, 12, 3], Operations: []
Exploring Operation: 73-66=7, Resulting Numbers: [12, 3, 7]
Generated Node #0,0: 29:[12, 3, 7] Operation: 73-66=7
Moving to Node #0,0
Current State: 29:[12, 3, 7], Operations: ['73-66=7']
Exploring Operation: 12*3=36, Resulting Numbers: [7, 36]
Generated Node #0,0,2: 29:[7, 36] Operation: 12*3=36
Moving to Node #0,0,2
Current State: 29:[7, 36], Operations: ['73-66=7', '12*3=36']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
45,
54,
46,
24
] | 15 | [
"54-46=8",
"45*8=360",
"360/24=15"
] | Current State: 15:[45, 54, 46, 24], Operations: []
Exploring Operation: 54-46=8, Resulting Numbers: [45, 24, 8]
Generated Node #2: [45, 24, 8] from Operation: 54-46=8
Current State: 15:[45, 24, 8], Operations: ['54-46=8']
Exploring Operation: 45*8=360, Resulting Numbers: [24, 360]
Generated Node #3: [24, 360] from Operation: 45*8=360
Current State: 15:[24, 360], Operations: ['54-46=8', '45*8=360']
Exploring Operation: 360/24=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[45, 54, 46, 24], Operations: []
Exploring Operation: 54-46=8, Resulting Numbers: [45, 24, 8]
Generated Node #0,0: 15:[45, 24, 8] Operation: 54-46=8
Exploring Operation: 54-24=30, Resulting Numbers: [45, 46, 30]
Generated Node #0,1: 15:[45, 46, 30] Operation: 54-24=30
Exploring Operation: 54-45=9, Resulting Numbers: [46, 24, 9]
Generated Node #0,2: 15:[46, 24, 9] Operation: 54-45=9
Exploring Operation: 46-45=1, Resulting Numbers: [54, 24, 1]
Generated Node #0,3: 15:[54, 24, 1] Operation: 46-45=1
Exploring Operation: 45-24=21, Resulting Numbers: [54, 46, 21]
Generated Node #0,4: 15:[54, 46, 21] Operation: 45-24=21
Moving to Node #0,0
Current State: 15:[45, 24, 8], Operations: ['54-46=8']
Exploring Operation: 24-8=16, Resulting Numbers: [45, 16]
Generated Node #0,0,0: 15:[45, 16] Operation: 24-8=16
Exploring Operation: 45-24=21, Resulting Numbers: [8, 21]
Generated Node #0,0,1: 15:[8, 21] Operation: 45-24=21
Exploring Operation: 45+8=53, Resulting Numbers: [24, 53]
Generated Node #0,0,2: 15:[24, 53] Operation: 45+8=53
Exploring Operation: 24/8=3, Resulting Numbers: [45, 3]
Generated Node #0,0,3: 15:[45, 3] Operation: 24/8=3
Exploring Operation: 45-8=37, Resulting Numbers: [24, 37]
Generated Node #0,0,4: 15:[24, 37] Operation: 45-8=37
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[8, 21], Operations: ['54-46=8', '45-24=21']
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,15 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,15 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: 15:[45, 3], Operations: ['54-46=8', '24/8=3']
Exploring Operation: 45*3=135, Resulting Numbers: [135]
135,15 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[45, 54, 46, 24], Operations: []
Exploring Operation: 54-46=8, Resulting Numbers: [45, 24, 8]
Generated Node #0,0: 15:[45, 24, 8] Operation: 54-46=8
Moving to Node #0,0
Current State: 15:[45, 24, 8], Operations: ['54-46=8']
Exploring Operation: 24/8=3, Resulting Numbers: [45, 3]
Generated Node #0,0,3: 15:[45, 3] Operation: 24/8=3
Moving to Node #0,0,3
Current State: 15:[45, 3], Operations: ['54-46=8', '24/8=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
77,
4,
27,
33
] | 82 | [
"77-27=50",
"4*33=132",
"132-50=82"
] | Current State: 82:[77, 4, 27, 33], Operations: []
Exploring Operation: 77-27=50, Resulting Numbers: [4, 33, 50]
Generated Node #2: [4, 33, 50] from Operation: 77-27=50
Current State: 82:[4, 33, 50], Operations: ['77-27=50']
Exploring Operation: 4*33=132, Resulting Numbers: [50, 132]
Generated Node #3: [50, 132] from Operation: 4*33=132
Current State: 82:[50, 132], Operations: ['77-27=50', '4*33=132']
Exploring Operation: 132-50=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[77, 4, 27, 33], Operations: []
Exploring Operation: 77-27=50, Resulting Numbers: [4, 33, 50]
Generated Node #0,0: 82:[4, 33, 50] Operation: 77-27=50
Exploring Operation: 33-27=6, Resulting Numbers: [77, 4, 6]
Generated Node #0,1: 82:[77, 4, 6] Operation: 33-27=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[77, 4, 6], Operations: ['33-27=6']
Exploring Operation: 77+4=81, Resulting Numbers: [6, 81]
Generated Node #0,1,0: 82:[6, 81] Operation: 77+4=81
Exploring Operation: 77+6=83, Resulting Numbers: [4, 83]
Generated Node #0,1,1: 82:[4, 83] Operation: 77+6=83
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[4, 83], Operations: ['33-27=6', '77+6=83']
Exploring Operation: 4+83=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,82 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: 82:[6, 81], Operations: ['33-27=6', '77+4=81']
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,82 unequal: No Solution
Exploring Operation: 6+81=87, Resulting Numbers: [87]
87,82 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: 82:[4, 33, 50], Operations: ['77-27=50']
Exploring Operation: 33+50=83, Resulting Numbers: [4, 83]
Generated Node #0,0,0: 82:[4, 83] Operation: 33+50=83
Exploring Operation: 4+33=37, Resulting Numbers: [50, 37]
Generated Node #0,0,1: 82:[50, 37] Operation: 4+33=37
Moving to Node #0,0,0
Current State: 82:[4, 83], Operations: ['77-27=50', '33+50=83']
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Exploring Operation: 4+83=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[50, 37], Operations: ['77-27=50', '4+33=37']
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,82 unequal: No Solution
Exploring Operation: 50+37=87, Resulting Numbers: [87]
87,82 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 |
[
92,
20,
46,
94
] | 37 | [
"92/46=2",
"94-20=74",
"74/2=37"
] | Current State: 37:[92, 20, 46, 94], Operations: []
Exploring Operation: 92/46=2, Resulting Numbers: [20, 94, 2]
Generated Node #2: [20, 94, 2] from Operation: 92/46=2
Current State: 37:[20, 94, 2], Operations: ['92/46=2']
Exploring Operation: 94-20=74, Resulting Numbers: [2, 74]
Generated Node #3: [2, 74] from Operation: 94-20=74
Current State: 37:[2, 74], Operations: ['92/46=2', '94-20=74']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[92, 20, 46, 94], Operations: []
Exploring Operation: 94-46=48, Resulting Numbers: [92, 20, 48]
Generated Node #0,0: 37:[92, 20, 48] Operation: 94-46=48
Exploring Operation: 92-20=72, Resulting Numbers: [46, 94, 72]
Generated Node #0,1: 37:[46, 94, 72] Operation: 92-20=72
Exploring Operation: 92-46=46, Resulting Numbers: [20, 94, 46]
Generated Node #0,2: 37:[20, 94, 46] Operation: 92-46=46
Exploring Operation: 94-92=2, Resulting Numbers: [20, 46, 2]
Generated Node #0,3: 37:[20, 46, 2] Operation: 94-92=2
Exploring Operation: 94-20=74, Resulting Numbers: [92, 46, 74]
Generated Node #0,4: 37:[92, 46, 74] Operation: 94-20=74
Moving to Node #0,3
Current State: 37:[20, 46, 2], Operations: ['94-92=2']
Exploring Operation: 20-2=18, Resulting Numbers: [46, 18]
Generated Node #0,3,0: 37:[46, 18] Operation: 20-2=18
Exploring Operation: 46-2=44, Resulting Numbers: [20, 44]
Generated Node #0,3,1: 37:[20, 44] Operation: 46-2=44
Exploring Operation: 20*2=40, Resulting Numbers: [46, 40]
Generated Node #0,3,2: 37:[46, 40] Operation: 20*2=40
Exploring Operation: 20+2=22, Resulting Numbers: [46, 22]
Generated Node #0,3,3: 37:[46, 22] Operation: 20+2=22
Exploring Operation: 46+2=48, Resulting Numbers: [20, 48]
Generated Node #0,3,4: 37:[20, 48] Operation: 46+2=48
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 37:[46, 40], Operations: ['94-92=2', '20*2=40']
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 46+40=86, Resulting Numbers: [86]
86,37 unequal: No Solution
Exploring Operation: 46*40=1840, Resulting Numbers: [1840]
1840,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,3,1
Current State: 37:[20, 44], Operations: ['94-92=2', '46-2=44']
Exploring Operation: 20*44=880, Resulting Numbers: [880]
880,37 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,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,3,3
Current State: 37:[46, 22], Operations: ['94-92=2', '20+2=22']
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 46*22=1012, Resulting Numbers: [1012]
1012,37 unequal: No Solution
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,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,3,0
Current State: 37:[46, 18], Operations: ['94-92=2', '20-2=18']
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,37 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,37 unequal: No Solution
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,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,3,4
Current State: 37:[20, 48], Operations: ['94-92=2', '46+2=48']
Exploring Operation: 20*48=960, Resulting Numbers: [960]
960,37 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,37 unequal: No Solution
Exploring Operation: 20+48=68, Resulting Numbers: [68]
68,37 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: 37:[20, 94, 46], Operations: ['92-46=46']
Exploring Operation: 20+46=66, Resulting Numbers: [94, 66]
Generated Node #0,2,0: 37:[94, 66] Operation: 20+46=66
Exploring Operation: 94-20=74, Resulting Numbers: [46, 74]
Generated Node #0,2,1: 37:[46, 74] Operation: 94-20=74
Exploring Operation: 20+94=114, Resulting Numbers: [46, 114]
Generated Node #0,2,2: 37:[46, 114] Operation: 20+94=114
Exploring Operation: 46-20=26, Resulting Numbers: [94, 26]
Generated Node #0,2,3: 37:[94, 26] Operation: 46-20=26
Exploring Operation: 94-46=48, Resulting Numbers: [20, 48]
Generated Node #0,2,4: 37:[20, 48] Operation: 94-46=48
Moving to Node #0,0
Current State: 37:[92, 20, 48], Operations: ['94-46=48']
Exploring Operation: 20+48=68, Resulting Numbers: [92, 68]
Generated Node #0,0,0: 37:[92, 68] Operation: 20+48=68
Exploring Operation: 92+20=112, Resulting Numbers: [48, 112]
Generated Node #0,0,1: 37:[48, 112] Operation: 92+20=112
Exploring Operation: 92-48=44, Resulting Numbers: [20, 44]
Generated Node #0,0,2: 37:[20, 44] Operation: 92-48=44
Exploring Operation: 48-20=28, Resulting Numbers: [92, 28]
Generated Node #0,0,3: 37:[92, 28] Operation: 48-20=28
Exploring Operation: 92-20=72, Resulting Numbers: [48, 72]
Generated Node #0,0,4: 37:[48, 72] Operation: 92-20=72
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 37:[20, 44], Operations: ['94-46=48', '92-48=44']
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,37 unequal: No Solution
Exploring Operation: 20*44=880, Resulting Numbers: [880]
880,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,4
Current State: 37:[48, 72], Operations: ['94-46=48', '92-20=72']
Exploring Operation: 48*72=3456, Resulting Numbers: [3456]
3456,37 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 48+72=120, Resulting Numbers: [120]
120,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,3
Current State: 37:[92, 28], Operations: ['94-46=48', '48-20=28']
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,37 unequal: No Solution
Exploring Operation: 92+28=120, Resulting Numbers: [120]
120,37 unequal: No Solution
Exploring Operation: 92*28=2576, Resulting Numbers: [2576]
2576,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,0
Current State: 37:[92, 68], Operations: ['94-46=48', '20+48=68']
Exploring Operation: 92*68=6256, Resulting Numbers: [6256]
6256,37 unequal: No Solution
Exploring Operation: 92-68=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 92+68=160, Resulting Numbers: [160]
160,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,1
Current State: 37:[48, 112], Operations: ['94-46=48', '92+20=112']
Exploring Operation: 48+112=160, Resulting Numbers: [160]
160,37 unequal: No Solution
Exploring Operation: 48*112=5376, Resulting Numbers: [5376]
5376,37 unequal: No Solution
Exploring Operation: 112-48=64, Resulting Numbers: [64]
64,37 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: 37:[46, 94, 72], Operations: ['92-20=72']
Exploring Operation: 46+72=118, Resulting Numbers: [94, 118]
Generated Node #0,1,0: 37:[94, 118] Operation: 46+72=118
Exploring Operation: 46+94=140, Resulting Numbers: [72, 140]
Generated Node #0,1,1: 37:[72, 140] Operation: 46+94=140
Exploring Operation: 72-46=26, Resulting Numbers: [94, 26]
Generated Node #0,1,2: 37:[94, 26] Operation: 72-46=26
Exploring Operation: 94-46=48, Resulting Numbers: [72, 48]
Generated Node #0,1,3: 37:[72, 48] Operation: 94-46=48
Exploring Operation: 94-72=22, Resulting Numbers: [46, 22]
Generated Node #0,1,4: 37:[46, 22] Operation: 94-72=22
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 37:[46, 22], Operations: ['92-20=72', '94-72=22']
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 46*22=1012, Resulting Numbers: [1012]
1012,37 unequal: No Solution
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,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,3
Current State: 37:[72, 48], Operations: ['92-20=72', '94-46=48']
Exploring Operation: 72+48=120, Resulting Numbers: [120]
120,37 unequal: No Solution
Exploring Operation: 72*48=3456, Resulting Numbers: [3456]
3456,37 unequal: No Solution
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,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,2
Current State: 37:[94, 26], Operations: ['92-20=72', '72-46=26']
Exploring Operation: 94-26=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Exploring Operation: 94*26=2444, Resulting Numbers: [2444]
2444,37 unequal: No Solution
Exploring Operation: 94+26=120, Resulting Numbers: [120]
120,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,0
Current State: 37:[94, 118], Operations: ['92-20=72', '46+72=118']
Exploring Operation: 94+118=212, Resulting Numbers: [212]
212,37 unequal: No Solution
Exploring Operation: 118-94=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 94*118=11092, Resulting Numbers: [11092]
11092,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,1
Current State: 37:[72, 140], Operations: ['92-20=72', '46+94=140']
Exploring Operation: 72+140=212, Resulting Numbers: [212]
212,37 unequal: No Solution
Exploring Operation: 140-72=68, Resulting Numbers: [68]
68,37 unequal: No Solution
Exploring Operation: 72*140=10080, Resulting Numbers: [10080]
10080,37 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: 37:[92, 46, 74], Operations: ['94-20=74']
Exploring Operation: 74-46=28, Resulting Numbers: [92, 28]
Generated Node #0,4,0: 37:[92, 28] Operation: 74-46=28
Exploring Operation: 92-46=46, Resulting Numbers: [74, 46]
Generated Node #0,4,1: 37:[74, 46] Operation: 92-46=46
Exploring Operation: 92+46=138, Resulting Numbers: [74, 138]
Generated Node #0,4,2: 37:[74, 138] Operation: 92+46=138
Exploring Operation: 92/46=2, Resulting Numbers: [74, 2]
Generated Node #0,4,3: 37:[74, 2] Operation: 92/46=2
Exploring Operation: 92-74=18, Resulting Numbers: [46, 18]
Generated Node #0,4,4: 37:[46, 18] Operation: 92-74=18
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 37:[46, 18], Operations: ['94-20=74', '92-74=18']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,37 unequal: No Solution
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,37 unequal: No Solution
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,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,4,1
Current State: 37:[74, 46], Operations: ['94-20=74', '92-46=46']
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,37 unequal: No Solution
Exploring Operation: 74*46=3404, Resulting Numbers: [3404]
3404,37 unequal: No Solution
Exploring Operation: 74+46=120, Resulting Numbers: [120]
120,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,4,0
Current State: 37:[92, 28], Operations: ['94-20=74', '74-46=28']
Exploring Operation: 92-28=64, Resulting Numbers: [64]
64,37 unequal: No Solution
Exploring Operation: 92+28=120, Resulting Numbers: [120]
120,37 unequal: No Solution
Exploring Operation: 92*28=2576, Resulting Numbers: [2576]
2576,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,4,3
Current State: 37:[74, 2], Operations: ['94-20=74', '92/46=2']
Exploring Operation: 74*2=148, Resulting Numbers: [148]
148,37 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[92, 20, 46, 94], Operations: []
Exploring Operation: 94-20=74, Resulting Numbers: [92, 46, 74]
Generated Node #0,4: 37:[92, 46, 74] Operation: 94-20=74
Moving to Node #0,4
Current State: 37:[92, 46, 74], Operations: ['94-20=74']
Exploring Operation: 92/46=2, Resulting Numbers: [74, 2]
Generated Node #0,4,3: 37:[74, 2] Operation: 92/46=2
Moving to Node #0,4,3
Current State: 37:[74, 2], Operations: ['94-20=74', '92/46=2']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.921007 | hs_5 | mult_heuristic |
[
44,
42,
14,
15
] | 85 | [
"44+42=86",
"15-14=1",
"86-1=85"
] | Current State: 85:[44, 42, 14, 15], Operations: []
Exploring Operation: 44+42=86, Resulting Numbers: [14, 15, 86]
Generated Node #2: [14, 15, 86] from Operation: 44+42=86
Current State: 85:[14, 15, 86], Operations: ['44+42=86']
Exploring Operation: 15-14=1, Resulting Numbers: [86, 1]
Generated Node #3: [86, 1] from Operation: 15-14=1
Current State: 85:[86, 1], Operations: ['44+42=86', '15-14=1']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[44, 42, 14, 15], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [44, 15, 3]
Generated Node #0,0: 85:[44, 15, 3] Operation: 42/14=3
Exploring Operation: 44-15=29, Resulting Numbers: [42, 14, 29]
Generated Node #0,1: 85:[42, 14, 29] Operation: 44-15=29
Exploring Operation: 44-42=2, Resulting Numbers: [14, 15, 2]
Generated Node #0,2: 85:[14, 15, 2] Operation: 44-42=2
Exploring Operation: 44+42=86, Resulting Numbers: [14, 15, 86]
Generated Node #0,3: 85:[14, 15, 86] Operation: 44+42=86
Exploring Operation: 44-14=30, Resulting Numbers: [42, 15, 30]
Generated Node #0,4: 85:[42, 15, 30] Operation: 44-14=30
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[14, 15, 86], Operations: ['44+42=86']
Exploring Operation: 14+86=100, Resulting Numbers: [15, 100]
Generated Node #0,3,0: 85:[15, 100] Operation: 14+86=100
Exploring Operation: 86-15=71, Resulting Numbers: [14, 71]
Generated Node #0,3,1: 85:[14, 71] Operation: 86-15=71
Exploring Operation: 15-14=1, Resulting Numbers: [86, 1]
Generated Node #0,3,2: 85:[86, 1] Operation: 15-14=1
Exploring Operation: 14+15=29, Resulting Numbers: [86, 29]
Generated Node #0,3,3: 85:[86, 29] Operation: 14+15=29
Exploring Operation: 86-14=72, Resulting Numbers: [15, 72]
Generated Node #0,3,4: 85:[15, 72] Operation: 86-14=72
Moving to Node #0,3,2
Current State: 85:[86, 1], Operations: ['44+42=86', '15-14=1']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,85 unequal: No Solution
Exploring Operation: 86+1=87, Resulting Numbers: [87]
87,85 unequal: No Solution
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[44, 42, 14, 15], Operations: []
Exploring Operation: 44+42=86, Resulting Numbers: [14, 15, 86]
Generated Node #0,3: 85:[14, 15, 86] Operation: 44+42=86
Moving to Node #0,3
Current State: 85:[14, 15, 86], Operations: ['44+42=86']
Exploring Operation: 15-14=1, Resulting Numbers: [86, 1]
Generated Node #0,3,2: 85:[86, 1] Operation: 15-14=1
Moving to Node #0,3,2
Current State: 85:[86, 1], Operations: ['44+42=86', '15-14=1']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
3,
86,
8,
4
] | 38 | [
"86+4=90",
"90/3=30",
"8+30=38"
] | Current State: 38:[3, 86, 8, 4], Operations: []
Exploring Operation: 86+4=90, Resulting Numbers: [3, 8, 90]
Generated Node #2: [3, 8, 90] from Operation: 86+4=90
Current State: 38:[3, 8, 90], Operations: ['86+4=90']
Exploring Operation: 90/3=30, Resulting Numbers: [8, 30]
Generated Node #3: [8, 30] from Operation: 90/3=30
Current State: 38:[8, 30], Operations: ['86+4=90', '90/3=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[3, 86, 8, 4], Operations: []
Exploring Operation: 86-8=78, Resulting Numbers: [3, 4, 78]
Generated Node #0,0: 38:[3, 4, 78] Operation: 86-8=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[3, 4, 78], Operations: ['86-8=78']
Exploring Operation: 78/3=26, Resulting Numbers: [4, 26]
Generated Node #0,0,0: 38:[4, 26] Operation: 78/3=26
Moving to Node #0,0,0
Current State: 38:[4, 26], Operations: ['86-8=78', '78/3=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,38 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 |
[
48,
96,
28,
94
] | 64 | [
"96/48=2",
"94-28=66",
"66-2=64"
] | Current State: 64:[48, 96, 28, 94], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [28, 94, 2]
Generated Node #2: [28, 94, 2] from Operation: 96/48=2
Current State: 64:[28, 94, 2], Operations: ['96/48=2']
Exploring Operation: 94-28=66, Resulting Numbers: [2, 66]
Generated Node #3: [2, 66] from Operation: 94-28=66
Current State: 64:[2, 66], Operations: ['96/48=2', '94-28=66']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[48, 96, 28, 94], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [28, 94, 2]
Generated Node #0,0: 64:[28, 94, 2] Operation: 96/48=2
Exploring Operation: 96-94=2, Resulting Numbers: [48, 28, 2]
Generated Node #0,1: 64:[48, 28, 2] Operation: 96-94=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[48, 28, 2], Operations: ['96-94=2']
Exploring Operation: 48-28=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 64:[2, 20] Operation: 48-28=20
Exploring Operation: 48+28=76, Resulting Numbers: [2, 76]
Generated Node #0,1,1: 64:[2, 76] Operation: 48+28=76
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[2, 20], Operations: ['96-94=2', '48-28=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,64 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: 64:[2, 76], Operations: ['96-94=2', '48+28=76']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,64 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,64 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: 64:[28, 94, 2], Operations: ['96/48=2']
Exploring Operation: 94-28=66, Resulting Numbers: [2, 66]
Generated Node #0,0,0: 64:[2, 66] Operation: 94-28=66
Exploring Operation: 94/2=47, Resulting Numbers: [28, 47]
Generated Node #0,0,1: 64:[28, 47] Operation: 94/2=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[2, 66], Operations: ['96/48=2', '94-28=66']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[48, 96, 28, 94], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [28, 94, 2]
Generated Node #0,0: 64:[28, 94, 2] Operation: 96/48=2
Moving to Node #0,0
Current State: 64:[28, 94, 2], Operations: ['96/48=2']
Exploring Operation: 94-28=66, Resulting Numbers: [2, 66]
Generated Node #0,0,0: 64:[2, 66] Operation: 94-28=66
Moving to Node #0,0,0
Current State: 64:[2, 66], Operations: ['96/48=2', '94-28=66']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
2,
83,
52,
95
] | 92 | [
"2*52=104",
"95-83=12",
"104-12=92"
] | Current State: 92:[2, 83, 52, 95], Operations: []
Exploring Operation: 2*52=104, Resulting Numbers: [83, 95, 104]
Generated Node #2: [83, 95, 104] from Operation: 2*52=104
Current State: 92:[83, 95, 104], Operations: ['2*52=104']
Exploring Operation: 95-83=12, Resulting Numbers: [104, 12]
Generated Node #3: [104, 12] from Operation: 95-83=12
Current State: 92:[104, 12], Operations: ['2*52=104', '95-83=12']
Exploring Operation: 104-12=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[2, 83, 52, 95], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [2, 52, 12]
Generated Node #0,0: 92:[2, 52, 12] Operation: 95-83=12
Exploring Operation: 83-52=31, Resulting Numbers: [2, 95, 31]
Generated Node #0,1: 92:[2, 95, 31] Operation: 83-52=31
Exploring Operation: 95-52=43, Resulting Numbers: [2, 83, 43]
Generated Node #0,2: 92:[2, 83, 43] Operation: 95-52=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[2, 95, 31], Operations: ['83-52=31']
Exploring Operation: 31-2=29, Resulting Numbers: [95, 29]
Generated Node #0,1,0: 92:[95, 29] Operation: 31-2=29
Exploring Operation: 95-2=93, Resulting Numbers: [31, 93]
Generated Node #0,1,1: 92:[31, 93] Operation: 95-2=93
Exploring Operation: 2+95=97, Resulting Numbers: [31, 97]
Generated Node #0,1,2: 92:[31, 97] Operation: 2+95=97
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[95, 29], Operations: ['83-52=31', '31-2=29']
Exploring Operation: 95*29=2755, Resulting Numbers: [2755]
2755,92 unequal: No Solution
Exploring Operation: 95+29=124, Resulting Numbers: [124]
124,92 unequal: No Solution
Exploring Operation: 95-29=66, Resulting Numbers: [66]
66,92 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: 92:[31, 93], Operations: ['83-52=31', '95-2=93']
Exploring Operation: 31+93=124, Resulting Numbers: [124]
124,92 unequal: No Solution
Exploring Operation: 93/31=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 93-31=62, Resulting Numbers: [62]
62,92 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: 92:[31, 97], Operations: ['83-52=31', '2+95=97']
Exploring Operation: 31+97=128, Resulting Numbers: [128]
128,92 unequal: No Solution
Exploring Operation: 31*97=3007, Resulting Numbers: [3007]
3007,92 unequal: No Solution
Exploring Operation: 97-31=66, Resulting Numbers: [66]
66,92 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: 92:[2, 83, 43], Operations: ['95-52=43']
Exploring Operation: 2+83=85, Resulting Numbers: [43, 85]
Generated Node #0,2,0: 92:[43, 85] Operation: 2+83=85
Exploring Operation: 2+43=45, Resulting Numbers: [83, 45]
Generated Node #0,2,1: 92:[83, 45] Operation: 2+43=45
Exploring Operation: 83-43=40, Resulting Numbers: [2, 40]
Generated Node #0,2,2: 92:[2, 40] Operation: 83-43=40
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 92:[2, 40], Operations: ['95-52=43', '83-43=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,92 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,92 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: 92:[43, 85], Operations: ['95-52=43', '2+83=85']
Exploring Operation: 43*85=3655, Resulting Numbers: [3655]
3655,92 unequal: No Solution
Exploring Operation: 43+85=128, Resulting Numbers: [128]
128,92 unequal: No Solution
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,92 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: 92:[83, 45], Operations: ['95-52=43', '2+43=45']
Exploring Operation: 83*45=3735, Resulting Numbers: [3735]
3735,92 unequal: No Solution
Exploring Operation: 83+45=128, Resulting Numbers: [128]
128,92 unequal: No Solution
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,92 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: 92:[2, 52, 12], Operations: ['95-83=12']
Exploring Operation: 12/2=6, Resulting Numbers: [52, 6]
Generated Node #0,0,0: 92:[52, 6] Operation: 12/2=6
Exploring Operation: 52-12=40, Resulting Numbers: [2, 40]
Generated Node #0,0,1: 92:[2, 40] Operation: 52-12=40
Exploring Operation: 2*12=24, Resulting Numbers: [52, 24]
Generated Node #0,0,2: 92:[52, 24] Operation: 2*12=24
Moving to Node #0,0,1
Current State: 92:[2, 40], Operations: ['95-83=12', '52-12=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,92 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[52, 24], Operations: ['95-83=12', '2*12=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[52, 6], Operations: ['95-83=12', '12/2=6']
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,92 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,92 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 |
[
63,
21,
75,
40
] | 45 | [
"63/21=3",
"40*3=120",
"120-75=45"
] | Current State: 45:[63, 21, 75, 40], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [75, 40, 3]
Generated Node #2: [75, 40, 3] from Operation: 63/21=3
Current State: 45:[75, 40, 3], Operations: ['63/21=3']
Exploring Operation: 40*3=120, Resulting Numbers: [75, 120]
Generated Node #3: [75, 120] from Operation: 40*3=120
Current State: 45:[75, 120], Operations: ['63/21=3', '40*3=120']
Exploring Operation: 120-75=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[63, 21, 75, 40], Operations: []
Exploring Operation: 75-63=12, Resulting Numbers: [21, 40, 12]
Generated Node #0,0: 45:[21, 40, 12] Operation: 75-63=12
Exploring Operation: 75-21=54, Resulting Numbers: [63, 40, 54]
Generated Node #0,1: 45:[63, 40, 54] Operation: 75-21=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[21, 40, 12], Operations: ['75-63=12']
Exploring Operation: 21-12=9, Resulting Numbers: [40, 9]
Generated Node #0,0,0: 45:[40, 9] Operation: 21-12=9
Exploring Operation: 40-21=19, Resulting Numbers: [12, 19]
Generated Node #0,0,1: 45:[12, 19] Operation: 40-21=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[40, 9], Operations: ['75-63=12', '21-12=9']
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,45 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: 45:[12, 19], Operations: ['75-63=12', '40-21=19']
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,45 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: 45:[63, 40, 54], Operations: ['75-21=54']
Exploring Operation: 63-40=23, Resulting Numbers: [54, 23]
Generated Node #0,1,0: 45:[54, 23] Operation: 63-40=23
Exploring Operation: 63-54=9, Resulting Numbers: [40, 9]
Generated Node #0,1,1: 45:[40, 9] Operation: 63-54=9
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[40, 9], Operations: ['75-21=54', '63-54=9']
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,45 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,45 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: 45:[54, 23], Operations: ['75-21=54', '63-40=23']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,45 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 |
[
71,
20,
12,
40
] | 39 | [
"71+20=91",
"12+40=52",
"91-52=39"
] | Current State: 39:[71, 20, 12, 40], Operations: []
Exploring Operation: 71+20=91, Resulting Numbers: [12, 40, 91]
Generated Node #2: [12, 40, 91] from Operation: 71+20=91
Current State: 39:[12, 40, 91], Operations: ['71+20=91']
Exploring Operation: 12+40=52, Resulting Numbers: [91, 52]
Generated Node #3: [91, 52] from Operation: 12+40=52
Current State: 39:[91, 52], Operations: ['71+20=91', '12+40=52']
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[71, 20, 12, 40], Operations: []
Exploring Operation: 71-12=59, Resulting Numbers: [20, 40, 59]
Generated Node #0,0: 39:[20, 40, 59] Operation: 71-12=59
Exploring Operation: 40/20=2, Resulting Numbers: [71, 12, 2]
Generated Node #0,1: 39:[71, 12, 2] Operation: 40/20=2
Exploring Operation: 71-40=31, Resulting Numbers: [20, 12, 31]
Generated Node #0,2: 39:[20, 12, 31] Operation: 71-40=31
Exploring Operation: 20-12=8, Resulting Numbers: [71, 40, 8]
Generated Node #0,3: 39:[71, 40, 8] Operation: 20-12=8
Exploring Operation: 71-20=51, Resulting Numbers: [12, 40, 51]
Generated Node #0,4: 39:[12, 40, 51] Operation: 71-20=51
Moving to Node #0,4
Current State: 39:[12, 40, 51], Operations: ['71-20=51']
Exploring Operation: 12+40=52, Resulting Numbers: [51, 52]
Generated Node #0,4,0: 39:[51, 52] Operation: 12+40=52
Exploring Operation: 51-40=11, Resulting Numbers: [12, 11]
Generated Node #0,4,1: 39:[12, 11] Operation: 51-40=11
Exploring Operation: 51-12=39, Resulting Numbers: [40, 39]
Generated Node #0,4,2: 39:[40, 39] Operation: 51-12=39
Exploring Operation: 12+51=63, Resulting Numbers: [40, 63]
Generated Node #0,4,3: 39:[40, 63] Operation: 12+51=63
Exploring Operation: 40-12=28, Resulting Numbers: [51, 28]
Generated Node #0,4,4: 39:[51, 28] Operation: 40-12=28
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 39:[40, 39], Operations: ['71-20=51', '51-12=39']
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,39 unequal: No Solution
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,39 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: 39:[12, 11], Operations: ['71-20=51', '51-40=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,39 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,39 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,39 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: 39:[51, 28], Operations: ['71-20=51', '40-12=28']
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,39 unequal: No Solution
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,39 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: 39:[51, 52], Operations: ['71-20=51', '12+40=52']
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 51*52=2652, Resulting Numbers: [2652]
2652,39 unequal: No Solution
Exploring Operation: 51+52=103, Resulting Numbers: [103]
103,39 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: 39:[40, 63], Operations: ['71-20=51', '12+51=63']
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,39 unequal: No Solution
Exploring Operation: 40*63=2520, Resulting Numbers: [2520]
2520,39 unequal: No Solution
Exploring Operation: 40+63=103, Resulting Numbers: [103]
103,39 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: 39:[20, 12, 31], Operations: ['71-40=31']
Exploring Operation: 20+31=51, Resulting Numbers: [12, 51]
Generated Node #0,2,0: 39:[12, 51] Operation: 20+31=51
Exploring Operation: 12+31=43, Resulting Numbers: [20, 43]
Generated Node #0,2,1: 39:[20, 43] Operation: 12+31=43
Exploring Operation: 31-12=19, Resulting Numbers: [20, 19]
Generated Node #0,2,2: 39:[20, 19] Operation: 31-12=19
Exploring Operation: 20-12=8, Resulting Numbers: [31, 8]
Generated Node #0,2,3: 39:[31, 8] Operation: 20-12=8
Exploring Operation: 31-20=11, Resulting Numbers: [12, 11]
Generated Node #0,2,4: 39:[12, 11] Operation: 31-20=11
Moving to Node #0,0
Current State: 39:[20, 40, 59], Operations: ['71-12=59']
Exploring Operation: 59-40=19, Resulting Numbers: [20, 19]
Generated Node #0,0,0: 39:[20, 19] Operation: 59-40=19
Exploring Operation: 59-20=39, Resulting Numbers: [40, 39]
Generated Node #0,0,1: 39:[40, 39] Operation: 59-20=39
Exploring Operation: 20+40=60, Resulting Numbers: [59, 60]
Generated Node #0,0,2: 39:[59, 60] Operation: 20+40=60
Exploring Operation: 40/20=2, Resulting Numbers: [59, 2]
Generated Node #0,0,3: 39:[59, 2] Operation: 40/20=2
Exploring Operation: 40-20=20, Resulting Numbers: [59, 20]
Generated Node #0,0,4: 39:[59, 20] Operation: 40-20=20
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[40, 39], Operations: ['71-12=59', '59-20=39']
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,39 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: 39:[20, 19], Operations: ['71-12=59', '59-40=19']
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 20*19=380, Resulting Numbers: [380]
380,39 unequal: No Solution
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[71, 20, 12, 40], Operations: []
Exploring Operation: 71-12=59, Resulting Numbers: [20, 40, 59]
Generated Node #0,0: 39:[20, 40, 59] Operation: 71-12=59
Moving to Node #0,0
Current State: 39:[20, 40, 59], Operations: ['71-12=59']
Exploring Operation: 59-40=19, Resulting Numbers: [20, 19]
Generated Node #0,0,0: 39:[20, 19] Operation: 59-40=19
Moving to Node #0,0,0
Current State: 39:[20, 19], Operations: ['71-12=59', '59-40=19']
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_5 | sum_heuristic |
[
96,
72,
64,
22
] | 26 | [
"72*64=4608",
"4608/96=48",
"48-22=26"
] | Current State: 26:[96, 72, 64, 22], Operations: []
Exploring Operation: 72*64=4608, Resulting Numbers: [96, 22, 4608]
Generated Node #2: [96, 22, 4608] from Operation: 72*64=4608
Current State: 26:[96, 22, 4608], Operations: ['72*64=4608']
Exploring Operation: 4608/96=48, Resulting Numbers: [22, 48]
Generated Node #3: [22, 48] from Operation: 4608/96=48
Current State: 26:[22, 48], Operations: ['72*64=4608', '4608/96=48']
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[96, 72, 64, 22], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [96, 22, 8]
Generated Node #0,0: 26:[96, 22, 8] Operation: 72-64=8
Exploring Operation: 96-72=24, Resulting Numbers: [64, 22, 24]
Generated Node #0,1: 26:[64, 22, 24] Operation: 96-72=24
Exploring Operation: 96-64=32, Resulting Numbers: [72, 22, 32]
Generated Node #0,2: 26:[72, 22, 32] Operation: 96-64=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[64, 22, 24], Operations: ['96-72=24']
Exploring Operation: 64-22=42, Resulting Numbers: [24, 42]
Generated Node #0,1,0: 26:[24, 42] Operation: 64-22=42
Exploring Operation: 64-24=40, Resulting Numbers: [22, 40]
Generated Node #0,1,1: 26:[22, 40] Operation: 64-24=40
Exploring Operation: 24-22=2, Resulting Numbers: [64, 2]
Generated Node #0,1,2: 26:[64, 2] Operation: 24-22=2
Moving to Node #0,1,0
Current State: 26:[24, 42], Operations: ['96-72=24', '64-22=42']
Exploring Operation: 24*42=1008, Resulting Numbers: [1008]
1008,26 unequal: No Solution
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[22, 40], Operations: ['96-72=24', '64-24=40']
Exploring Operation: 22+40=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Exploring Operation: 22*40=880, Resulting Numbers: [880]
880,26 unequal: No Solution
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[64, 2], Operations: ['96-72=24', '24-22=2']
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,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,2
Current State: 26:[72, 22, 32], Operations: ['96-64=32']
Exploring Operation: 72-32=40, Resulting Numbers: [22, 40]
Generated Node #0,2,0: 26:[22, 40] Operation: 72-32=40
Exploring Operation: 72-22=50, Resulting Numbers: [32, 50]
Generated Node #0,2,1: 26:[32, 50] Operation: 72-22=50
Exploring Operation: 32-22=10, Resulting Numbers: [72, 10]
Generated Node #0,2,2: 26:[72, 10] Operation: 32-22=10
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 26:[22, 40], Operations: ['96-64=32', '72-32=40']
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,26 unequal: No Solution
Exploring Operation: 22*40=880, Resulting Numbers: [880]
880,26 unequal: No Solution
Exploring Operation: 22+40=62, Resulting Numbers: [62]
62,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,2,1
Current State: 26:[32, 50], Operations: ['96-64=32', '72-22=50']
Exploring Operation: 32*50=1600, Resulting Numbers: [1600]
1600,26 unequal: No Solution
Exploring Operation: 32+50=82, Resulting Numbers: [82]
82,26 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,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,2,2
Current State: 26:[72, 10], Operations: ['96-64=32', '32-22=10']
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,26 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,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,0
Current State: 26:[96, 22, 8], Operations: ['72-64=8']
Exploring Operation: 96-8=88, Resulting Numbers: [22, 88]
Generated Node #0,0,0: 26:[22, 88] Operation: 96-8=88
Exploring Operation: 96-22=74, Resulting Numbers: [8, 74]
Generated Node #0,0,1: 26:[8, 74] Operation: 96-22=74
Exploring Operation: 96/8=12, Resulting Numbers: [22, 12]
Generated Node #0,0,2: 26:[22, 12] Operation: 96/8=12
Moving to Node #0,0,2
Current State: 26:[22, 12], Operations: ['72-64=8', '96/8=12']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,26 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[8, 74], Operations: ['72-64=8', '96-22=74']
Exploring Operation: 8*74=592, Resulting Numbers: [592]
592,26 unequal: No Solution
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 8+74=82, Resulting Numbers: [82]
82,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[22, 88], Operations: ['72-64=8', '96-8=88']
Exploring Operation: 22+88=110, Resulting Numbers: [110]
110,26 unequal: No Solution
Exploring Operation: 88-22=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 88/22=4, Resulting Numbers: [4]
4,26 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 |
[
93,
72,
49,
93
] | 49 | [
"93-93=0",
"72*0=0",
"49+0=49"
] | Current State: 49:[93, 72, 49, 93], Operations: []
Exploring Operation: 93-93=0, Resulting Numbers: [72, 49, 0]
Generated Node #2: [72, 49, 0] from Operation: 93-93=0
Current State: 49:[72, 49, 0], Operations: ['93-93=0']
Exploring Operation: 72*0=0, Resulting Numbers: [49, 0]
Generated Node #3: [49, 0] from Operation: 72*0=0
Current State: 49:[49, 0], Operations: ['93-93=0', '72*0=0']
Exploring Operation: 49+0=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[93, 72, 49, 93], Operations: []
Exploring Operation: 93/93=1, Resulting Numbers: [72, 49, 1]
Generated Node #0,0: 49:[72, 49, 1] Operation: 93/93=1
Exploring Operation: 93-93=0, Resulting Numbers: [72, 49, 0]
Generated Node #0,1: 49:[72, 49, 0] Operation: 93-93=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[72, 49, 1], Operations: ['93/93=1']
Exploring Operation: 72-49=23, Resulting Numbers: [1, 23]
Generated Node #0,0,0: 49:[1, 23] Operation: 72-49=23
Exploring Operation: 72-1=71, Resulting Numbers: [49, 71]
Generated Node #0,0,1: 49:[49, 71] Operation: 72-1=71
Moving to Node #0,0,0
Current State: 49:[1, 23], Operations: ['93/93=1', '72-49=23']
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,49 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[49, 71], Operations: ['93/93=1', '72-1=71']
Exploring Operation: 49+71=120, Resulting Numbers: [120]
120,49 unequal: No Solution
Exploring Operation: 71-49=22, Resulting Numbers: [22]
22,49 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: 49:[72, 49, 0], Operations: ['93-93=0']
Exploring Operation: 72*0=0, Resulting Numbers: [49, 0]
Generated Node #0,1,0: 49:[49, 0] Operation: 72*0=0
Exploring Operation: 72-49=23, Resulting Numbers: [0, 23]
Generated Node #0,1,1: 49:[0, 23] Operation: 72-49=23
Moving to Node #0,1,0
Current State: 49:[49, 0], Operations: ['93-93=0', '72*0=0']
Exploring Operation: 49+0=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[93, 72, 49, 93], Operations: []
Exploring Operation: 93-93=0, Resulting Numbers: [72, 49, 0]
Generated Node #0,1: 49:[72, 49, 0] Operation: 93-93=0
Moving to Node #0,1
Current State: 49:[72, 49, 0], Operations: ['93-93=0']
Exploring Operation: 72*0=0, Resulting Numbers: [49, 0]
Generated Node #0,1,0: 49:[49, 0] Operation: 72*0=0
Moving to Node #0,1,0
Current State: 49:[49, 0], Operations: ['93-93=0', '72*0=0']
Exploring Operation: 49+0=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
43,
48,
40,
74
] | 29 | [
"48-43=5",
"74-40=34",
"34-5=29"
] | Current State: 29:[43, 48, 40, 74], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [40, 74, 5]
Generated Node #2: [40, 74, 5] from Operation: 48-43=5
Current State: 29:[40, 74, 5], Operations: ['48-43=5']
Exploring Operation: 74-40=34, Resulting Numbers: [5, 34]
Generated Node #3: [5, 34] from Operation: 74-40=34
Current State: 29:[5, 34], Operations: ['48-43=5', '74-40=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[43, 48, 40, 74], Operations: []
Exploring Operation: 74-48=26, Resulting Numbers: [43, 40, 26]
Generated Node #0,0: 29:[43, 40, 26] Operation: 74-48=26
Exploring Operation: 74-43=31, Resulting Numbers: [48, 40, 31]
Generated Node #0,1: 29:[48, 40, 31] Operation: 74-43=31
Exploring Operation: 74-40=34, Resulting Numbers: [43, 48, 34]
Generated Node #0,2: 29:[43, 48, 34] Operation: 74-40=34
Moving to Node #0,0
Current State: 29:[43, 40, 26], Operations: ['74-48=26']
Exploring Operation: 43-40=3, Resulting Numbers: [26, 3]
Generated Node #0,0,0: 29:[26, 3] Operation: 43-40=3
Exploring Operation: 40-26=14, Resulting Numbers: [43, 14]
Generated Node #0,0,1: 29:[43, 14] Operation: 40-26=14
Exploring Operation: 43-26=17, Resulting Numbers: [40, 17]
Generated Node #0,0,2: 29:[40, 17] Operation: 43-26=17
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[40, 17], Operations: ['74-48=26', '43-26=17']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,29 unequal: No Solution
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,29 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: 29:[26, 3], Operations: ['74-48=26', '43-40=3']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,29 unequal: No Solution
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,29 unequal: No Solution
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[43, 48, 40, 74], Operations: []
Exploring Operation: 74-48=26, Resulting Numbers: [43, 40, 26]
Generated Node #0,0: 29:[43, 40, 26] Operation: 74-48=26
Moving to Node #0,0
Current State: 29:[43, 40, 26], Operations: ['74-48=26']
Exploring Operation: 43-40=3, Resulting Numbers: [26, 3]
Generated Node #0,0,0: 29:[26, 3] Operation: 43-40=3
Moving to Node #0,0,0
Current State: 29:[26, 3], Operations: ['74-48=26', '43-40=3']
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
23,
87,
27,
56
] | 73 | [
"27-23=4",
"56/4=14",
"87-14=73"
] | Current State: 73:[23, 87, 27, 56], Operations: []
Exploring Operation: 27-23=4, Resulting Numbers: [87, 56, 4]
Generated Node #2: [87, 56, 4] from Operation: 27-23=4
Current State: 73:[87, 56, 4], Operations: ['27-23=4']
Exploring Operation: 56/4=14, Resulting Numbers: [87, 14]
Generated Node #3: [87, 14] from Operation: 56/4=14
Current State: 73:[87, 14], Operations: ['27-23=4', '56/4=14']
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[23, 87, 27, 56], Operations: []
Exploring Operation: 87-23=64, Resulting Numbers: [27, 56, 64]
Generated Node #0,0: 73:[27, 56, 64] Operation: 87-23=64
Exploring Operation: 23+27=50, Resulting Numbers: [87, 56, 50]
Generated Node #0,1: 73:[87, 56, 50] Operation: 23+27=50
Exploring Operation: 23+56=79, Resulting Numbers: [87, 27, 79]
Generated Node #0,2: 73:[87, 27, 79] Operation: 23+56=79
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[87, 56, 50], Operations: ['23+27=50']
Exploring Operation: 56+50=106, Resulting Numbers: [87, 106]
Generated Node #0,1,0: 73:[87, 106] Operation: 56+50=106
Exploring Operation: 87-56=31, Resulting Numbers: [50, 31]
Generated Node #0,1,1: 73:[50, 31] Operation: 87-56=31
Exploring Operation: 87-50=37, Resulting Numbers: [56, 37]
Generated Node #0,1,2: 73:[56, 37] Operation: 87-50=37
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[87, 106], Operations: ['23+27=50', '56+50=106']
Exploring Operation: 87*106=9222, Resulting Numbers: [9222]
9222,73 unequal: No Solution
Exploring Operation: 87+106=193, Resulting Numbers: [193]
193,73 unequal: No Solution
Exploring Operation: 106-87=19, Resulting Numbers: [19]
19,73 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: 73:[56, 37], Operations: ['23+27=50', '87-50=37']
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 56+37=93, Resulting Numbers: [93]
93,73 unequal: No Solution
Exploring Operation: 56*37=2072, Resulting Numbers: [2072]
2072,73 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: 73:[50, 31], Operations: ['23+27=50', '87-56=31']
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 50+31=81, Resulting Numbers: [81]
81,73 unequal: No Solution
Exploring Operation: 50*31=1550, Resulting Numbers: [1550]
1550,73 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: 73:[87, 27, 79], Operations: ['23+56=79']
Exploring Operation: 87-27=60, Resulting Numbers: [79, 60]
Generated Node #0,2,0: 73:[79, 60] Operation: 87-27=60
Exploring Operation: 79-27=52, Resulting Numbers: [87, 52]
Generated Node #0,2,1: 73:[87, 52] Operation: 79-27=52
Exploring Operation: 87+27=114, Resulting Numbers: [79, 114]
Generated Node #0,2,2: 73:[79, 114] Operation: 87+27=114
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[79, 60], Operations: ['23+56=79', '87-27=60']
Exploring Operation: 79-60=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 79+60=139, Resulting Numbers: [139]
139,73 unequal: No Solution
Exploring Operation: 79*60=4740, Resulting Numbers: [4740]
4740,73 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: 73:[87, 52], Operations: ['23+56=79', '79-27=52']
Exploring Operation: 87-52=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 87*52=4524, Resulting Numbers: [4524]
4524,73 unequal: No Solution
Exploring Operation: 87+52=139, Resulting Numbers: [139]
139,73 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: 73:[79, 114], Operations: ['23+56=79', '87+27=114']
Exploring Operation: 79*114=9006, Resulting Numbers: [9006]
9006,73 unequal: No Solution
Exploring Operation: 114-79=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 79+114=193, Resulting Numbers: [193]
193,73 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: 73:[27, 56, 64], Operations: ['87-23=64']
Exploring Operation: 27+64=91, Resulting Numbers: [56, 91]
Generated Node #0,0,0: 73:[56, 91] Operation: 27+64=91
Exploring Operation: 56-27=29, Resulting Numbers: [64, 29]
Generated Node #0,0,1: 73:[64, 29] Operation: 56-27=29
Exploring Operation: 27+56=83, Resulting Numbers: [64, 83]
Generated Node #0,0,2: 73:[64, 83] Operation: 27+56=83
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 73:[64, 83], Operations: ['87-23=64', '27+56=83']
Exploring Operation: 83-64=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 64+83=147, Resulting Numbers: [147]
147,73 unequal: No Solution
Exploring Operation: 64*83=5312, Resulting Numbers: [5312]
5312,73 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: 73:[56, 91], Operations: ['87-23=64', '27+64=91']
Exploring Operation: 56*91=5096, Resulting Numbers: [5096]
5096,73 unequal: No Solution
Exploring Operation: 56+91=147, Resulting Numbers: [147]
147,73 unequal: No Solution
Exploring Operation: 91-56=35, Resulting Numbers: [35]
35,73 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: 73:[64, 29], Operations: ['87-23=64', '56-27=29']
Exploring Operation: 64+29=93, Resulting Numbers: [93]
93,73 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 64*29=1856, Resulting Numbers: [1856]
1856,73 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 |
[
3,
23,
11,
95
] | 59 | [
"23-11=12",
"3*12=36",
"95-36=59"
] | Current State: 59:[3, 23, 11, 95], Operations: []
Exploring Operation: 23-11=12, Resulting Numbers: [3, 95, 12]
Generated Node #2: [3, 95, 12] from Operation: 23-11=12
Current State: 59:[3, 95, 12], Operations: ['23-11=12']
Exploring Operation: 3*12=36, Resulting Numbers: [95, 36]
Generated Node #3: [95, 36] from Operation: 3*12=36
Current State: 59:[95, 36], Operations: ['23-11=12', '3*12=36']
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[3, 23, 11, 95], Operations: []
Exploring Operation: 3*23=69, Resulting Numbers: [11, 95, 69]
Generated Node #0,0: 59:[11, 95, 69] Operation: 3*23=69
Exploring Operation: 3*11=33, Resulting Numbers: [23, 95, 33]
Generated Node #0,1: 59:[23, 95, 33] Operation: 3*11=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[11, 95, 69], Operations: ['3*23=69']
Exploring Operation: 69-11=58, Resulting Numbers: [95, 58]
Generated Node #0,0,0: 59:[95, 58] Operation: 69-11=58
Exploring Operation: 95-11=84, Resulting Numbers: [69, 84]
Generated Node #0,0,1: 59:[69, 84] Operation: 95-11=84
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[69, 84], Operations: ['3*23=69', '95-11=84']
Exploring Operation: 84-69=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Exploring Operation: 69+84=153, Resulting Numbers: [153]
153,59 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: 59:[95, 58], Operations: ['3*23=69', '69-11=58']
Exploring Operation: 95-58=37, Resulting Numbers: [37]
37,59 unequal: No Solution
Exploring Operation: 95+58=153, Resulting Numbers: [153]
153,59 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: 59:[23, 95, 33], Operations: ['3*11=33']
Exploring Operation: 23+33=56, Resulting Numbers: [95, 56]
Generated Node #0,1,0: 59:[95, 56] Operation: 23+33=56
Exploring Operation: 95-23=72, Resulting Numbers: [33, 72]
Generated Node #0,1,1: 59:[33, 72] Operation: 95-23=72
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[95, 56], Operations: ['3*11=33', '23+33=56']
Exploring Operation: 95+56=151, Resulting Numbers: [151]
151,59 unequal: No Solution
Exploring Operation: 95-56=39, Resulting Numbers: [39]
39,59 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: 59:[33, 72], Operations: ['3*11=33', '95-23=72']
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 33+72=105, Resulting Numbers: [105]
105,59 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 |
[
83,
88,
85,
4
] | 71 | [
"88-85=3",
"4*3=12",
"83-12=71"
] | Current State: 71:[83, 88, 85, 4], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [83, 4, 3]
Generated Node #2: [83, 4, 3] from Operation: 88-85=3
Current State: 71:[83, 4, 3], Operations: ['88-85=3']
Exploring Operation: 4*3=12, Resulting Numbers: [83, 12]
Generated Node #3: [83, 12] from Operation: 4*3=12
Current State: 71:[83, 12], Operations: ['88-85=3', '4*3=12']
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[83, 88, 85, 4], Operations: []
Exploring Operation: 83-4=79, Resulting Numbers: [88, 85, 79]
Generated Node #0,0: 71:[88, 85, 79] Operation: 83-4=79
Exploring Operation: 85-4=81, Resulting Numbers: [83, 88, 81]
Generated Node #0,1: 71:[83, 88, 81] Operation: 85-4=81
Exploring Operation: 83+4=87, Resulting Numbers: [88, 85, 87]
Generated Node #0,2: 71:[88, 85, 87] Operation: 83+4=87
Exploring Operation: 88-4=84, Resulting Numbers: [83, 85, 84]
Generated Node #0,3: 71:[83, 85, 84] Operation: 88-4=84
Moving to Node #0,0
Current State: 71:[88, 85, 79], Operations: ['83-4=79']
Exploring Operation: 85-79=6, Resulting Numbers: [88, 6]
Generated Node #0,0,0: 71:[88, 6] Operation: 85-79=6
Exploring Operation: 88+85=173, Resulting Numbers: [79, 173]
Generated Node #0,0,1: 71:[79, 173] Operation: 88+85=173
Exploring Operation: 88-85=3, Resulting Numbers: [79, 3]
Generated Node #0,0,2: 71:[79, 3] Operation: 88-85=3
Exploring Operation: 88-79=9, Resulting Numbers: [85, 9]
Generated Node #0,0,3: 71:[85, 9] Operation: 88-79=9
Moving to Node #0,3
Current State: 71:[83, 85, 84], Operations: ['88-4=84']
Exploring Operation: 83+85=168, Resulting Numbers: [84, 168]
Generated Node #0,3,0: 71:[84, 168] Operation: 83+85=168
Exploring Operation: 85-83=2, Resulting Numbers: [84, 2]
Generated Node #0,3,1: 71:[84, 2] Operation: 85-83=2
Exploring Operation: 85-84=1, Resulting Numbers: [83, 1]
Generated Node #0,3,2: 71:[83, 1] Operation: 85-84=1
Exploring Operation: 84-83=1, Resulting Numbers: [85, 1]
Generated Node #0,3,3: 71:[85, 1] Operation: 84-83=1
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[84, 2], Operations: ['88-4=84', '85-83=2']
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,71 unequal: No Solution
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,71 unequal: No Solution
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,71 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,71 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: 71:[83, 1], Operations: ['88-4=84', '85-84=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,71 unequal: No Solution
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,71 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: 71:[85, 1], Operations: ['88-4=84', '84-83=1']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,71 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,71 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,71 unequal: No Solution
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,71 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: 71:[84, 168], Operations: ['88-4=84', '83+85=168']
Exploring Operation: 84*168=14112, Resulting Numbers: [14112]
14112,71 unequal: No Solution
Exploring Operation: 168-84=84, Resulting Numbers: [84]
84,71 unequal: No Solution
Exploring Operation: 168/84=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 84+168=252, Resulting Numbers: [252]
252,71 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: 71:[83, 88, 81], Operations: ['85-4=81']
Exploring Operation: 88-81=7, Resulting Numbers: [83, 7]
Generated Node #0,1,0: 71:[83, 7] Operation: 88-81=7
Exploring Operation: 83+88=171, Resulting Numbers: [81, 171]
Generated Node #0,1,1: 71:[81, 171] Operation: 83+88=171
Exploring Operation: 83-81=2, Resulting Numbers: [88, 2]
Generated Node #0,1,2: 71:[88, 2] Operation: 83-81=2
Exploring Operation: 88-83=5, Resulting Numbers: [81, 5]
Generated Node #0,1,3: 71:[81, 5] Operation: 88-83=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[83, 7], Operations: ['85-4=81', '88-81=7']
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,71 unequal: No Solution
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,71 unequal: No Solution
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,71 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: 71:[81, 5], Operations: ['85-4=81', '88-83=5']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,71 unequal: No Solution
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,71 unequal: No Solution
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,71 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: 71:[88, 2], Operations: ['85-4=81', '83-81=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,71 unequal: No Solution
Exploring Operation: 88*2=176, Resulting Numbers: [176]
176,71 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,71 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,71 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: 71:[81, 171], Operations: ['85-4=81', '83+88=171']
Exploring Operation: 171-81=90, Resulting Numbers: [90]
90,71 unequal: No Solution
Exploring Operation: 81+171=252, Resulting Numbers: [252]
252,71 unequal: No Solution
Exploring Operation: 81*171=13851, Resulting Numbers: [13851]
13851,71 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: 71:[88, 85, 87], Operations: ['83+4=87']
Exploring Operation: 88-87=1, Resulting Numbers: [85, 1]
Generated Node #0,2,0: 71:[85, 1] Operation: 88-87=1
Exploring Operation: 87-85=2, Resulting Numbers: [88, 2]
Generated Node #0,2,1: 71:[88, 2] Operation: 87-85=2
Exploring Operation: 88-85=3, Resulting Numbers: [87, 3]
Generated Node #0,2,2: 71:[87, 3] Operation: 88-85=3
Exploring Operation: 88+85=173, Resulting Numbers: [87, 173]
Generated Node #0,2,3: 71:[87, 173] Operation: 88+85=173
Moving to Node #0,0,2
Current State: 71:[79, 3], Operations: ['83-4=79', '88-85=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,71 unequal: No Solution
Exploring Operation: 79*3=237, Resulting Numbers: [237]
237,71 unequal: No Solution
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[85, 9], Operations: ['83-4=79', '88-79=9']
Exploring Operation: 85*9=765, Resulting Numbers: [765]
765,71 unequal: No Solution
Exploring Operation: 85+9=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Exploring Operation: 85-9=76, Resulting Numbers: [76]
76,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[88, 6], Operations: ['83-4=79', '85-79=6']
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 88*6=528, Resulting Numbers: [528]
528,71 unequal: No Solution
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[87, 3], Operations: ['83+4=87', '88-85=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,71 unequal: No Solution
Exploring Operation: 87*3=261, Resulting Numbers: [261]
261,71 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[85, 1], Operations: ['83+4=87', '88-87=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,71 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,71 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,71 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[88, 2], Operations: ['83+4=87', '87-85=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,71 unequal: No Solution
Exploring Operation: 88*2=176, Resulting Numbers: [176]
176,71 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,71 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[79, 173], Operations: ['83-4=79', '88+85=173']
Exploring Operation: 173-79=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Exploring Operation: 79*173=13667, Resulting Numbers: [13667]
13667,71 unequal: No Solution
Exploring Operation: 79+173=252, Resulting Numbers: [252]
252,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[87, 173], Operations: ['83+4=87', '88+85=173']
Exploring Operation: 87*173=15051, Resulting Numbers: [15051]
15051,71 unequal: No Solution
Exploring Operation: 87+173=260, Resulting Numbers: [260]
260,71 unequal: No Solution
Exploring Operation: 173-87=86, Resulting Numbers: [86]
86,71 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
33,
4,
8,
27
] | 15 | [
"33+27=60",
"8-4=4",
"60/4=15"
] | Current State: 15:[33, 4, 8, 27], Operations: []
Exploring Operation: 33+27=60, Resulting Numbers: [4, 8, 60]
Generated Node #2: [4, 8, 60] from Operation: 33+27=60
Current State: 15:[4, 8, 60], Operations: ['33+27=60']
Exploring Operation: 8-4=4, Resulting Numbers: [60, 4]
Generated Node #3: [60, 4] from Operation: 8-4=4
Current State: 15:[60, 4], Operations: ['33+27=60', '8-4=4']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[33, 4, 8, 27], Operations: []
Exploring Operation: 33-8=25, Resulting Numbers: [4, 27, 25]
Generated Node #0,0: 15:[4, 27, 25] Operation: 33-8=25
Exploring Operation: 33-4=29, Resulting Numbers: [8, 27, 29]
Generated Node #0,1: 15:[8, 27, 29] Operation: 33-4=29
Exploring Operation: 33-27=6, Resulting Numbers: [4, 8, 6]
Generated Node #0,2: 15:[4, 8, 6] Operation: 33-27=6
Exploring Operation: 27-8=19, Resulting Numbers: [33, 4, 19]
Generated Node #0,3: 15:[33, 4, 19] Operation: 27-8=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[4, 8, 6], Operations: ['33-27=6']
Exploring Operation: 8-6=2, Resulting Numbers: [4, 2]
Generated Node #0,2,0: 15:[4, 2] Operation: 8-6=2
Exploring Operation: 8+6=14, Resulting Numbers: [4, 14]
Generated Node #0,2,1: 15:[4, 14] Operation: 8+6=14
Exploring Operation: 8-4=4, Resulting Numbers: [6, 4]
Generated Node #0,2,2: 15:[6, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [6, 2]
Generated Node #0,2,3: 15:[6, 2] Operation: 8/4=2
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 15:[4, 2], Operations: ['33-27=6', '8-6=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,15 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: 15:[4, 14], Operations: ['33-27=6', '8+6=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,15 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: 15:[6, 4], Operations: ['33-27=6', '8-4=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,15 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: 15:[6, 2], Operations: ['33-27=6', '8/4=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,15 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: 15:[4, 27, 25], Operations: ['33-8=25']
Exploring Operation: 4+27=31, Resulting Numbers: [25, 31]
Generated Node #0,0,0: 15:[25, 31] Operation: 4+27=31
Exploring Operation: 25-4=21, Resulting Numbers: [27, 21]
Generated Node #0,0,1: 15:[27, 21] Operation: 25-4=21
Exploring Operation: 27-25=2, Resulting Numbers: [4, 2]
Generated Node #0,0,2: 15:[4, 2] Operation: 27-25=2
Exploring Operation: 27-4=23, Resulting Numbers: [25, 23]
Generated Node #0,0,3: 15:[25, 23] Operation: 27-4=23
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 15:[4, 2], Operations: ['33-8=25', '27-25=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,15 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: 15:[27, 21], Operations: ['33-8=25', '25-4=21']
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 27*21=567, Resulting Numbers: [567]
567,15 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: 15:[25, 23], Operations: ['33-8=25', '27-4=23']
Exploring Operation: 25*23=575, Resulting Numbers: [575]
575,15 unequal: No Solution
Exploring Operation: 25+23=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,15 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: 15:[25, 31], Operations: ['33-8=25', '4+27=31']
Exploring Operation: 25+31=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 25*31=775, Resulting Numbers: [775]
775,15 unequal: No Solution
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,15 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: 15:[33, 4, 19], Operations: ['27-8=19']
Exploring Operation: 33-4=29, Resulting Numbers: [19, 29]
Generated Node #0,3,0: 15:[19, 29] Operation: 33-4=29
Exploring Operation: 33-19=14, Resulting Numbers: [4, 14]
Generated Node #0,3,1: 15:[4, 14] Operation: 33-19=14
Exploring Operation: 19-4=15, Resulting Numbers: [33, 15]
Generated Node #0,3,2: 15:[33, 15] Operation: 19-4=15
Exploring Operation: 33+4=37, Resulting Numbers: [19, 37]
Generated Node #0,3,3: 15:[19, 37] Operation: 33+4=37
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 15:[4, 14], Operations: ['27-8=19', '33-19=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,15 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: 15:[19, 29], Operations: ['27-8=19', '33-4=29']
Exploring Operation: 19*29=551, Resulting Numbers: [551]
551,15 unequal: No Solution
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,15 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: 15:[33, 15], Operations: ['27-8=19', '19-4=15']
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,15 unequal: No Solution
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,15 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: 15:[19, 37], Operations: ['27-8=19', '33+4=37']
Exploring Operation: 19+37=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 19*37=703, Resulting Numbers: [703]
703,15 unequal: No Solution
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,15 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: 15:[8, 27, 29], Operations: ['33-4=29']
Exploring Operation: 8+27=35, Resulting Numbers: [29, 35]
Generated Node #0,1,0: 15:[29, 35] Operation: 8+27=35
Exploring Operation: 29-27=2, Resulting Numbers: [8, 2]
Generated Node #0,1,1: 15:[8, 2] Operation: 29-27=2
Exploring Operation: 27-8=19, Resulting Numbers: [29, 19]
Generated Node #0,1,2: 15:[29, 19] Operation: 27-8=19
Exploring Operation: 29-8=21, Resulting Numbers: [27, 21]
Generated Node #0,1,3: 15:[27, 21] Operation: 29-8=21
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 15:[8, 2], Operations: ['33-4=29', '29-27=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,15 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: 15:[29, 19], Operations: ['33-4=29', '27-8=19']
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,15 unequal: No Solution
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,15 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: 15:[27, 21], Operations: ['33-4=29', '29-8=21']
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 27*21=567, Resulting Numbers: [567]
567,15 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,15 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: 15:[29, 35], Operations: ['33-4=29', '8+27=35']
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,15 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,15 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 | sum_heuristic |
[
44,
18,
32,
54
] | 99 | [
"18+54=72",
"44*72=3168",
"3168/32=99"
] | Current State: 99:[44, 18, 32, 54], Operations: []
Exploring Operation: 18+54=72, Resulting Numbers: [44, 32, 72]
Generated Node #2: [44, 32, 72] from Operation: 18+54=72
Current State: 99:[44, 32, 72], Operations: ['18+54=72']
Exploring Operation: 44*72=3168, Resulting Numbers: [32, 3168]
Generated Node #3: [32, 3168] from Operation: 44*72=3168
Current State: 99:[32, 3168], Operations: ['18+54=72', '44*72=3168']
Exploring Operation: 3168/32=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[44, 18, 32, 54], Operations: []
Exploring Operation: 44+54=98, Resulting Numbers: [18, 32, 98]
Generated Node #0,0: 99:[18, 32, 98] Operation: 44+54=98
Exploring Operation: 54/18=3, Resulting Numbers: [44, 32, 3]
Generated Node #0,1: 99:[44, 32, 3] Operation: 54/18=3
Exploring Operation: 54-44=10, Resulting Numbers: [18, 32, 10]
Generated Node #0,2: 99:[18, 32, 10] Operation: 54-44=10
Moving to Node #0,0
Current State: 99:[18, 32, 98], Operations: ['44+54=98']
Exploring Operation: 18+32=50, Resulting Numbers: [98, 50]
Generated Node #0,0,0: 99:[98, 50] Operation: 18+32=50
Exploring Operation: 18+98=116, Resulting Numbers: [32, 116]
Generated Node #0,0,1: 99:[32, 116] Operation: 18+98=116
Exploring Operation: 32-18=14, Resulting Numbers: [98, 14]
Generated Node #0,0,2: 99:[98, 14] Operation: 32-18=14
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 99:[98, 14], Operations: ['44+54=98', '32-18=14']
Exploring Operation: 98+14=112, Resulting Numbers: [112]
112,99 unequal: No Solution
Exploring Operation: 98-14=84, Resulting Numbers: [84]
84,99 unequal: No Solution
Exploring Operation: 98/14=7, Resulting Numbers: [7]
7,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,0
Current State: 99:[98, 50], Operations: ['44+54=98', '18+32=50']
Exploring Operation: 98+50=148, Resulting Numbers: [148]
148,99 unequal: No Solution
Exploring Operation: 98*50=4900, Resulting Numbers: [4900]
4900,99 unequal: No Solution
Exploring Operation: 98-50=48, Resulting Numbers: [48]
48,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:[32, 116], Operations: ['44+54=98', '18+98=116']
Exploring Operation: 32*116=3712, Resulting Numbers: [3712]
3712,99 unequal: No Solution
Exploring Operation: 32+116=148, Resulting Numbers: [148]
148,99 unequal: No Solution
Exploring Operation: 116-32=84, Resulting Numbers: [84]
84,99 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: 99:[18, 32, 10], Operations: ['54-44=10']
Exploring Operation: 18+10=28, Resulting Numbers: [32, 28]
Generated Node #0,2,0: 99:[32, 28] Operation: 18+10=28
Exploring Operation: 32-18=14, Resulting Numbers: [10, 14]
Generated Node #0,2,1: 99:[10, 14] Operation: 32-18=14
Exploring Operation: 18-10=8, Resulting Numbers: [32, 8]
Generated Node #0,2,2: 99:[32, 8] Operation: 18-10=8
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 99:[32, 8], Operations: ['54-44=10', '18-10=8']
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,99 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,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,2,1
Current State: 99:[10, 14], Operations: ['54-44=10', '32-18=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,99 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,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,2,0
Current State: 99:[32, 28], Operations: ['54-44=10', '18+10=28']
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 32*28=896, Resulting Numbers: [896]
896,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:[44, 32, 3], Operations: ['54/18=3']
Exploring Operation: 32+3=35, Resulting Numbers: [44, 35]
Generated Node #0,1,0: 99:[44, 35] Operation: 32+3=35
Exploring Operation: 44-3=41, Resulting Numbers: [32, 41]
Generated Node #0,1,1: 99:[32, 41] Operation: 44-3=41
Exploring Operation: 44-32=12, Resulting Numbers: [3, 12]
Generated Node #0,1,2: 99:[3, 12] Operation: 44-32=12
Moving to Node #0,1,2
Current State: 99:[3, 12], Operations: ['54/18=3', '44-32=12']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[32, 41], Operations: ['54/18=3', '44-3=41']
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 32+41=73, Resulting Numbers: [73]
73,99 unequal: No Solution
Exploring Operation: 32*41=1312, Resulting Numbers: [1312]
1312,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[44, 35], Operations: ['54/18=3', '32+3=35']
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 44*35=1540, Resulting Numbers: [1540]
1540,99 unequal: No Solution
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,99 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
53,
77,
72,
11
] | 37 | [
"77-53=24",
"72-11=61",
"61-24=37"
] | Current State: 37:[53, 77, 72, 11], Operations: []
Exploring Operation: 77-53=24, Resulting Numbers: [72, 11, 24]
Generated Node #2: [72, 11, 24] from Operation: 77-53=24
Current State: 37:[72, 11, 24], Operations: ['77-53=24']
Exploring Operation: 72-11=61, Resulting Numbers: [24, 61]
Generated Node #3: [24, 61] from Operation: 72-11=61
Current State: 37:[24, 61], Operations: ['77-53=24', '72-11=61']
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[53, 77, 72, 11], Operations: []
Exploring Operation: 77-53=24, Resulting Numbers: [72, 11, 24]
Generated Node #0,0: 37:[72, 11, 24] Operation: 77-53=24
Moving to Node #0,0
Current State: 37:[72, 11, 24], Operations: ['77-53=24']
Exploring Operation: 72-11=61, Resulting Numbers: [24, 61]
Generated Node #0,0,0: 37:[24, 61] Operation: 72-11=61
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[24, 61], Operations: ['77-53=24', '72-11=61']
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[53, 77, 72, 11], Operations: []
Exploring Operation: 77-53=24, Resulting Numbers: [72, 11, 24]
Generated Node #0,0: 37:[72, 11, 24] Operation: 77-53=24
Moving to Node #0,0
Current State: 37:[72, 11, 24], Operations: ['77-53=24']
Exploring Operation: 72-11=61, Resulting Numbers: [24, 61]
Generated Node #0,0,0: 37:[24, 61] Operation: 72-11=61
Moving to Node #0,0,0
Current State: 37:[24, 61], Operations: ['77-53=24', '72-11=61']
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
77,
89,
56,
74
] | 36 | [
"77+89=166",
"56+74=130",
"166-130=36"
] | Current State: 36:[77, 89, 56, 74], Operations: []
Exploring Operation: 77+89=166, Resulting Numbers: [56, 74, 166]
Generated Node #2: [56, 74, 166] from Operation: 77+89=166
Current State: 36:[56, 74, 166], Operations: ['77+89=166']
Exploring Operation: 56+74=130, Resulting Numbers: [166, 130]
Generated Node #3: [166, 130] from Operation: 56+74=130
Current State: 36:[166, 130], Operations: ['77+89=166', '56+74=130']
Exploring Operation: 166-130=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[77, 89, 56, 74], Operations: []
Exploring Operation: 89-74=15, Resulting Numbers: [77, 56, 15]
Generated Node #0,0: 36:[77, 56, 15] Operation: 89-74=15
Exploring Operation: 89-77=12, Resulting Numbers: [56, 74, 12]
Generated Node #0,1: 36:[56, 74, 12] Operation: 89-77=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[56, 74, 12], Operations: ['89-77=12']
Exploring Operation: 74-56=18, Resulting Numbers: [12, 18]
Generated Node #0,1,0: 36:[12, 18] Operation: 74-56=18
Exploring Operation: 56-12=44, Resulting Numbers: [74, 44]
Generated Node #0,1,1: 36:[74, 44] Operation: 56-12=44
Moving to Node #0,1,0
Current State: 36:[12, 18], Operations: ['89-77=12', '74-56=18']
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[74, 44], Operations: ['89-77=12', '56-12=44']
Exploring Operation: 74+44=118, Resulting Numbers: [118]
118,36 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,36 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: 36:[77, 56, 15], Operations: ['89-74=15']
Exploring Operation: 77-15=62, Resulting Numbers: [56, 62]
Generated Node #0,0,0: 36:[56, 62] Operation: 77-15=62
Exploring Operation: 77-56=21, Resulting Numbers: [15, 21]
Generated Node #0,0,1: 36:[15, 21] Operation: 77-56=21
Moving to Node #0,0,1
Current State: 36:[15, 21], Operations: ['89-74=15', '77-56=21']
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[77, 89, 56, 74], Operations: []
Exploring Operation: 89-74=15, Resulting Numbers: [77, 56, 15]
Generated Node #0,0: 36:[77, 56, 15] Operation: 89-74=15
Moving to Node #0,0
Current State: 36:[77, 56, 15], Operations: ['89-74=15']
Exploring Operation: 77-56=21, Resulting Numbers: [15, 21]
Generated Node #0,0,1: 36:[15, 21] Operation: 77-56=21
Moving to Node #0,0,1
Current State: 36:[15, 21], Operations: ['89-74=15', '77-56=21']
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
17,
2,
3,
64
] | 29 | [
"17+64=81",
"81/3=27",
"2+27=29"
] | Current State: 29:[17, 2, 3, 64], Operations: []
Exploring Operation: 17+64=81, Resulting Numbers: [2, 3, 81]
Generated Node #2: [2, 3, 81] from Operation: 17+64=81
Current State: 29:[2, 3, 81], Operations: ['17+64=81']
Exploring Operation: 81/3=27, Resulting Numbers: [2, 27]
Generated Node #3: [2, 27] from Operation: 81/3=27
Current State: 29:[2, 27], Operations: ['17+64=81', '81/3=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[17, 2, 3, 64], Operations: []
Exploring Operation: 64/2=32, Resulting Numbers: [17, 3, 32]
Generated Node #0,0: 29:[17, 3, 32] Operation: 64/2=32
Exploring Operation: 17+3=20, Resulting Numbers: [2, 64, 20]
Generated Node #0,1: 29:[2, 64, 20] Operation: 17+3=20
Exploring Operation: 17+2=19, Resulting Numbers: [3, 64, 19]
Generated Node #0,2: 29:[3, 64, 19] Operation: 17+2=19
Exploring Operation: 2*3=6, Resulting Numbers: [17, 64, 6]
Generated Node #0,3: 29:[17, 64, 6] Operation: 2*3=6
Exploring Operation: 17*2=34, Resulting Numbers: [3, 64, 34]
Generated Node #0,4: 29:[3, 64, 34] Operation: 17*2=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[17, 3, 32], Operations: ['64/2=32']
Exploring Operation: 32-3=29, Resulting Numbers: [17, 29]
Generated Node #0,0,0: 29:[17, 29] Operation: 32-3=29
Exploring Operation: 17-3=14, Resulting Numbers: [32, 14]
Generated Node #0,0,1: 29:[32, 14] Operation: 17-3=14
Exploring Operation: 17+3=20, Resulting Numbers: [32, 20]
Generated Node #0,0,2: 29:[32, 20] Operation: 17+3=20
Exploring Operation: 3+32=35, Resulting Numbers: [17, 35]
Generated Node #0,0,3: 29:[17, 35] Operation: 3+32=35
Exploring Operation: 17*3=51, Resulting Numbers: [32, 51]
Generated Node #0,0,4: 29:[32, 51] Operation: 17*3=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[17, 29], Operations: ['64/2=32', '32-3=29']
Exploring Operation: 17*29=493, Resulting Numbers: [493]
493,29 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,29 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: 29:[32, 20], Operations: ['64/2=32', '17+3=20']
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,29 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,29 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: 29:[32, 14], Operations: ['64/2=32', '17-3=14']
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,29 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,29 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: 29:[17, 35], Operations: ['64/2=32', '3+32=35']
Exploring Operation: 17+35=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 17*35=595, Resulting Numbers: [595]
595,29 unequal: No Solution
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,29 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: 29:[32, 51], Operations: ['64/2=32', '17*3=51']
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,29 unequal: No Solution
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,29 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,29 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: 29:[3, 64, 34], Operations: ['17*2=34']
Exploring Operation: 34-3=31, Resulting Numbers: [64, 31]
Generated Node #0,4,0: 29:[64, 31] Operation: 34-3=31
Exploring Operation: 3+64=67, Resulting Numbers: [34, 67]
Generated Node #0,4,1: 29:[34, 67] Operation: 3+64=67
Exploring Operation: 64-34=30, Resulting Numbers: [3, 30]
Generated Node #0,4,2: 29:[3, 30] Operation: 64-34=30
Exploring Operation: 64-3=61, Resulting Numbers: [34, 61]
Generated Node #0,4,3: 29:[34, 61] Operation: 64-3=61
Exploring Operation: 3+34=37, Resulting Numbers: [64, 37]
Generated Node #0,4,4: 29:[64, 37] Operation: 3+34=37
Moving to Node #0,4,2
Current State: 29:[3, 30], Operations: ['17*2=34', '64-34=30']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,29 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,29 unequal: No Solution
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,29 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Moving to Node #0,4,3
Current State: 29:[34, 61], Operations: ['17*2=34', '64-3=61']
Exploring Operation: 34*61=2074, Resulting Numbers: [2074]
2074,29 unequal: No Solution
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 34+61=95, Resulting Numbers: [95]
95,29 unequal: No Solution
Moving to Node #0,4,0
Current State: 29:[64, 31], Operations: ['17*2=34', '34-3=31']
Exploring Operation: 64*31=1984, Resulting Numbers: [1984]
1984,29 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,29 unequal: No Solution
Exploring Operation: 64+31=95, Resulting Numbers: [95]
95,29 unequal: No Solution
Moving to Node #0,4,1
Current State: 29:[34, 67], Operations: ['17*2=34', '3+64=67']
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,29 unequal: No Solution
Exploring Operation: 34*67=2278, Resulting Numbers: [2278]
2278,29 unequal: No Solution
Exploring Operation: 34+67=101, Resulting Numbers: [101]
101,29 unequal: No Solution
Moving to Node #0,4,4
Current State: 29:[64, 37], Operations: ['17*2=34', '3+34=37']
Exploring Operation: 64*37=2368, Resulting Numbers: [2368]
2368,29 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 64+37=101, Resulting Numbers: [101]
101,29 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: 29:[17, 64, 6], Operations: ['2*3=6']
Exploring Operation: 64+6=70, Resulting Numbers: [17, 70]
Generated Node #0,3,0: 29:[17, 70] Operation: 64+6=70
Exploring Operation: 64-17=47, Resulting Numbers: [6, 47]
Generated Node #0,3,1: 29:[6, 47] Operation: 64-17=47
Exploring Operation: 64-6=58, Resulting Numbers: [17, 58]
Generated Node #0,3,2: 29:[17, 58] Operation: 64-6=58
Exploring Operation: 17-6=11, Resulting Numbers: [64, 11]
Generated Node #0,3,3: 29:[64, 11] Operation: 17-6=11
Exploring Operation: 17+6=23, Resulting Numbers: [64, 23]
Generated Node #0,3,4: 29:[64, 23] Operation: 17+6=23
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 29:[6, 47], Operations: ['2*3=6', '64-17=47']
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 6*47=282, Resulting Numbers: [282]
282,29 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: 29:[17, 58], Operations: ['2*3=6', '64-6=58']
Exploring Operation: 17*58=986, Resulting Numbers: [986]
986,29 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,29 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: 29:[64, 23], Operations: ['2*3=6', '17+6=23']
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 64*23=1472, Resulting Numbers: [1472]
1472,29 unequal: No Solution
Exploring Operation: 64+23=87, Resulting Numbers: [87]
87,29 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: 29:[17, 70], Operations: ['2*3=6', '64+6=70']
Exploring Operation: 17*70=1190, Resulting Numbers: [1190]
1190,29 unequal: No Solution
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 17+70=87, Resulting Numbers: [87]
87,29 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: 29:[64, 11], Operations: ['2*3=6', '17-6=11']
Exploring Operation: 64*11=704, Resulting Numbers: [704]
704,29 unequal: No Solution
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,29 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,29 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: 29:[2, 64, 20], Operations: ['17+3=20']
Exploring Operation: 2+64=66, Resulting Numbers: [20, 66]
Generated Node #0,1,0: 29:[20, 66] Operation: 2+64=66
Exploring Operation: 64/2=32, Resulting Numbers: [20, 32]
Generated Node #0,1,1: 29:[20, 32] Operation: 64/2=32
Exploring Operation: 64-2=62, Resulting Numbers: [20, 62]
Generated Node #0,1,2: 29:[20, 62] Operation: 64-2=62
Exploring Operation: 64-20=44, Resulting Numbers: [2, 44]
Generated Node #0,1,3: 29:[2, 44] Operation: 64-20=44
Exploring Operation: 2+20=22, Resulting Numbers: [64, 22]
Generated Node #0,1,4: 29:[64, 22] Operation: 2+20=22
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[20, 32], Operations: ['17+3=20', '64/2=32']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,29 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,29 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: 29:[20, 62], Operations: ['17+3=20', '64-2=62']
Exploring Operation: 20*62=1240, Resulting Numbers: [1240]
1240,29 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 20+62=82, Resulting Numbers: [82]
82,29 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: 29:[2, 44], Operations: ['17+3=20', '64-20=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,29 unequal: No Solution
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,29 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,29 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: 29:[64, 22], Operations: ['17+3=20', '2+20=22']
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 64+22=86, Resulting Numbers: [86]
86,29 unequal: No Solution
Exploring Operation: 64*22=1408, Resulting Numbers: [1408]
1408,29 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: 29:[20, 66], Operations: ['17+3=20', '2+64=66']
Exploring Operation: 20*66=1320, Resulting Numbers: [1320]
1320,29 unequal: No Solution
Exploring Operation: 20+66=86, Resulting Numbers: [86]
86,29 unequal: No Solution
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,29 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: 29:[3, 64, 19], Operations: ['17+2=19']
Exploring Operation: 3+64=67, Resulting Numbers: [19, 67]
Generated Node #0,2,0: 29:[19, 67] Operation: 3+64=67
Exploring Operation: 19-3=16, Resulting Numbers: [64, 16]
Generated Node #0,2,1: 29:[64, 16] Operation: 19-3=16
Exploring Operation: 64-3=61, Resulting Numbers: [19, 61]
Generated Node #0,2,2: 29:[19, 61] Operation: 64-3=61
Exploring Operation: 3+19=22, Resulting Numbers: [64, 22]
Generated Node #0,2,3: 29:[64, 22] Operation: 3+19=22
Exploring Operation: 64-19=45, Resulting Numbers: [3, 45]
Generated Node #0,2,4: 29:[3, 45] Operation: 64-19=45
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 29:[19, 61], Operations: ['17+2=19', '64-3=61']
Exploring Operation: 19+61=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 19*61=1159, Resulting Numbers: [1159]
1159,29 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: 29:[64, 22], Operations: ['17+2=19', '3+19=22']
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 64*22=1408, Resulting Numbers: [1408]
1408,29 unequal: No Solution
Exploring Operation: 64+22=86, Resulting Numbers: [86]
86,29 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: 29:[3, 45], Operations: ['17+2=19', '64-19=45']
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,29 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,29 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: 29:[19, 67], Operations: ['17+2=19', '3+64=67']
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 19*67=1273, Resulting Numbers: [1273]
1273,29 unequal: No Solution
Exploring Operation: 19+67=86, Resulting Numbers: [86]
86,29 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: 29:[64, 16], Operations: ['17+2=19', '19-3=16']
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 64*16=1024, Resulting Numbers: [1024]
1024,29 unequal: No Solution
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 64+16=80, Resulting Numbers: [80]
80,29 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 |
[
2,
67,
99,
3
] | 16 | [
"99+3=102",
"102/2=51",
"67-51=16"
] | Current State: 16:[2, 67, 99, 3], Operations: []
Exploring Operation: 99+3=102, Resulting Numbers: [2, 67, 102]
Generated Node #2: [2, 67, 102] from Operation: 99+3=102
Current State: 16:[2, 67, 102], Operations: ['99+3=102']
Exploring Operation: 102/2=51, Resulting Numbers: [67, 51]
Generated Node #3: [67, 51] from Operation: 102/2=51
Current State: 16:[67, 51], Operations: ['99+3=102', '102/2=51']
Exploring Operation: 67-51=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[2, 67, 99, 3], Operations: []
Exploring Operation: 99-67=32, Resulting Numbers: [2, 3, 32]
Generated Node #0,0: 16:[2, 3, 32] Operation: 99-67=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[2, 3, 32], Operations: ['99-67=32']
Exploring Operation: 32/2=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 16:[3, 16] Operation: 32/2=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[3, 16], Operations: ['99-67=32', '32/2=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,16 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 |
[
39,
53,
82,
92
] | 82 | [
"39+53=92",
"82+92=174",
"174-92=82"
] | Current State: 82:[39, 53, 82, 92], Operations: []
Exploring Operation: 39+53=92, Resulting Numbers: [82, 92, 92]
Generated Node #2: [82, 92, 92] from Operation: 39+53=92
Current State: 82:[82, 92, 92], Operations: ['39+53=92']
Exploring Operation: 82+92=174, Resulting Numbers: [174]
174,82 equal: Goal Reached
Exploring Operation: 174-92=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[39, 53, 82, 92], Operations: []
Exploring Operation: 39+53=92, Resulting Numbers: [82, 92, 92]
Generated Node #0,0: 82:[82, 92, 92] Operation: 39+53=92
Exploring Operation: 92-53=39, Resulting Numbers: [39, 82, 39]
Generated Node #0,1: 82:[39, 82, 39] Operation: 92-53=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[39, 82, 39], Operations: ['92-53=39']
Exploring Operation: 39/39=1, Resulting Numbers: [82, 1]
Generated Node #0,1,0: 82:[82, 1] Operation: 39/39=1
Exploring Operation: 39-39=0, Resulting Numbers: [82, 0]
Generated Node #0,1,1: 82:[82, 0] Operation: 39-39=0
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[82, 1], Operations: ['92-53=39', '39/39=1']
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[39, 53, 82, 92], Operations: []
Exploring Operation: 92-53=39, Resulting Numbers: [39, 82, 39]
Generated Node #0,1: 82:[39, 82, 39] Operation: 92-53=39
Moving to Node #0,1
Current State: 82:[39, 82, 39], Operations: ['92-53=39']
Exploring Operation: 39/39=1, Resulting Numbers: [82, 1]
Generated Node #0,1,0: 82:[82, 1] Operation: 39/39=1
Moving to Node #0,1,0
Current State: 82:[82, 1], Operations: ['92-53=39', '39/39=1']
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
80,
44,
23,
84
] | 46 | [
"80*23=1840",
"84-44=40",
"1840/40=46"
] | Current State: 46:[80, 44, 23, 84], Operations: []
Exploring Operation: 80*23=1840, Resulting Numbers: [44, 84, 1840]
Generated Node #2: [44, 84, 1840] from Operation: 80*23=1840
Current State: 46:[44, 84, 1840], Operations: ['80*23=1840']
Exploring Operation: 84-44=40, Resulting Numbers: [1840, 40]
Generated Node #3: [1840, 40] from Operation: 84-44=40
Current State: 46:[1840, 40], Operations: ['80*23=1840', '84-44=40']
Exploring Operation: 1840/40=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[80, 44, 23, 84], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [44, 23, 4]
Generated Node #0,0: 46:[44, 23, 4] Operation: 84-80=4
Moving to Node #0,0
Current State: 46:[44, 23, 4], Operations: ['84-80=4']
Exploring Operation: 44+4=48, Resulting Numbers: [23, 48]
Generated Node #0,0,0: 46:[23, 48] Operation: 44+4=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[23, 48], Operations: ['84-80=4', '44+4=48']
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,46 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 |
[
59,
81,
3,
35
] | 12 | [
"59+81=140",
"3*140=420",
"420/35=12"
] | Current State: 12:[59, 81, 3, 35], Operations: []
Exploring Operation: 59+81=140, Resulting Numbers: [3, 35, 140]
Generated Node #2: [3, 35, 140] from Operation: 59+81=140
Current State: 12:[3, 35, 140], Operations: ['59+81=140']
Exploring Operation: 3*140=420, Resulting Numbers: [35, 420]
Generated Node #3: [35, 420] from Operation: 3*140=420
Current State: 12:[35, 420], Operations: ['59+81=140', '3*140=420']
Exploring Operation: 420/35=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[59, 81, 3, 35], Operations: []
Exploring Operation: 81-59=22, Resulting Numbers: [3, 35, 22]
Generated Node #0,0: 12:[3, 35, 22] Operation: 81-59=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[3, 35, 22], Operations: ['81-59=22']
Exploring Operation: 35-22=13, Resulting Numbers: [3, 13]
Generated Node #0,0,0: 12:[3, 13] Operation: 35-22=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[3, 13], Operations: ['81-59=22', '35-22=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,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_1 | sum_heuristic |
[
82,
71,
76,
48
] | 63 | [
"82-76=6",
"48/6=8",
"71-8=63"
] | Current State: 63:[82, 71, 76, 48], Operations: []
Exploring Operation: 82-76=6, Resulting Numbers: [71, 48, 6]
Generated Node #2: [71, 48, 6] from Operation: 82-76=6
Current State: 63:[71, 48, 6], Operations: ['82-76=6']
Exploring Operation: 48/6=8, Resulting Numbers: [71, 8]
Generated Node #3: [71, 8] from Operation: 48/6=8
Current State: 63:[71, 8], Operations: ['82-76=6', '48/6=8']
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[82, 71, 76, 48], Operations: []
Exploring Operation: 82-48=34, Resulting Numbers: [71, 76, 34]
Generated Node #0,0: 63:[71, 76, 34] Operation: 82-48=34
Exploring Operation: 82-76=6, Resulting Numbers: [71, 48, 6]
Generated Node #0,1: 63:[71, 48, 6] Operation: 82-76=6
Exploring Operation: 82-71=11, Resulting Numbers: [76, 48, 11]
Generated Node #0,2: 63:[76, 48, 11] Operation: 82-71=11
Moving to Node #0,1
Current State: 63:[71, 48, 6], Operations: ['82-76=6']
Exploring Operation: 71-6=65, Resulting Numbers: [48, 65]
Generated Node #0,1,0: 63:[48, 65] Operation: 71-6=65
Exploring Operation: 71-48=23, Resulting Numbers: [6, 23]
Generated Node #0,1,1: 63:[6, 23] Operation: 71-48=23
Exploring Operation: 48/6=8, Resulting Numbers: [71, 8]
Generated Node #0,1,2: 63:[71, 8] Operation: 48/6=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[6, 23], Operations: ['82-76=6', '71-48=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,63 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,63 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,63 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: 63:[71, 8], Operations: ['82-76=6', '48/6=8']
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[82, 71, 76, 48], Operations: []
Exploring Operation: 82-76=6, Resulting Numbers: [71, 48, 6]
Generated Node #0,1: 63:[71, 48, 6] Operation: 82-76=6
Moving to Node #0,1
Current State: 63:[71, 48, 6], Operations: ['82-76=6']
Exploring Operation: 48/6=8, Resulting Numbers: [71, 8]
Generated Node #0,1,2: 63:[71, 8] Operation: 48/6=8
Moving to Node #0,1,2
Current State: 63:[71, 8], Operations: ['82-76=6', '48/6=8']
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
2,
50,
48,
5
] | 34 | [
"48/2=24",
"50/5=10",
"24+10=34"
] | Current State: 34:[2, 50, 48, 5], Operations: []
Exploring Operation: 48/2=24, Resulting Numbers: [50, 5, 24]
Generated Node #2: [50, 5, 24] from Operation: 48/2=24
Current State: 34:[50, 5, 24], Operations: ['48/2=24']
Exploring Operation: 50/5=10, Resulting Numbers: [24, 10]
Generated Node #3: [24, 10] from Operation: 50/5=10
Current State: 34:[24, 10], Operations: ['48/2=24', '50/5=10']
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[2, 50, 48, 5], Operations: []
Exploring Operation: 50-5=45, Resulting Numbers: [2, 48, 45]
Generated Node #0,0: 34:[2, 48, 45] Operation: 50-5=45
Exploring Operation: 50-48=2, Resulting Numbers: [2, 5, 2]
Generated Node #0,1: 34:[2, 5, 2] Operation: 50-48=2
Exploring Operation: 50/2=25, Resulting Numbers: [48, 5, 25]
Generated Node #0,2: 34:[48, 5, 25] Operation: 50/2=25
Exploring Operation: 50/5=10, Resulting Numbers: [2, 48, 10]
Generated Node #0,3: 34:[2, 48, 10] Operation: 50/5=10
Exploring Operation: 48-5=43, Resulting Numbers: [2, 50, 43]
Generated Node #0,4: 34:[2, 50, 43] Operation: 48-5=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[2, 5, 2], Operations: ['50-48=2']
Exploring Operation: 2/2=1, Resulting Numbers: [5, 1]
Generated Node #0,1,0: 34:[5, 1] Operation: 2/2=1
Exploring Operation: 2+2=4, Resulting Numbers: [5, 4]
Generated Node #0,1,1: 34:[5, 4] Operation: 2+2=4
Exploring Operation: 5-2=3, Resulting Numbers: [2, 3]
Generated Node #0,1,2: 34:[2, 3] Operation: 5-2=3
Exploring Operation: 2+5=7, Resulting Numbers: [2, 7]
Generated Node #0,1,3: 34:[2, 7] Operation: 2+5=7
Exploring Operation: 5-2=3, Resulting Numbers: [2, 3]
Generated Node #0,1,4: 34:[2, 3] Operation: 5-2=3
Moving to Node #0,1,2
Current State: 34:[2, 3], Operations: ['50-48=2', '5-2=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Moving to Node #0,1,4
Current State: 34:[2, 3], Operations: ['50-48=2', '5-2=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[5, 1], Operations: ['50-48=2', '2/2=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[5, 4], Operations: ['50-48=2', '2+2=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[2, 7], Operations: ['50-48=2', '2+5=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,34 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: 34:[2, 48, 10], Operations: ['50/5=10']
Exploring Operation: 10/2=5, Resulting Numbers: [48, 5]
Generated Node #0,3,0: 34:[48, 5] Operation: 10/2=5
Exploring Operation: 48-10=38, Resulting Numbers: [2, 38]
Generated Node #0,3,1: 34:[2, 38] Operation: 48-10=38
Exploring Operation: 48-2=46, Resulting Numbers: [10, 46]
Generated Node #0,3,2: 34:[10, 46] Operation: 48-2=46
Exploring Operation: 48/2=24, Resulting Numbers: [10, 24]
Generated Node #0,3,3: 34:[10, 24] Operation: 48/2=24
Exploring Operation: 2*10=20, Resulting Numbers: [48, 20]
Generated Node #0,3,4: 34:[48, 20] Operation: 2*10=20
Moving to Node #0,3,1
Current State: 34:[2, 38], Operations: ['50/5=10', '48-10=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,34 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[10, 24], Operations: ['50/5=10', '48/2=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,34 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[2, 50, 48, 5], Operations: []
Exploring Operation: 50/5=10, Resulting Numbers: [2, 48, 10]
Generated Node #0,3: 34:[2, 48, 10] Operation: 50/5=10
Moving to Node #0,3
Current State: 34:[2, 48, 10], Operations: ['50/5=10']
Exploring Operation: 48/2=24, Resulting Numbers: [10, 24]
Generated Node #0,3,3: 34:[10, 24] Operation: 48/2=24
Moving to Node #0,3,3
Current State: 34:[10, 24], Operations: ['50/5=10', '48/2=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
33,
11,
24,
18
] | 63 | [
"33-24=9",
"18-11=7",
"9*7=63"
] | Current State: 63:[33, 11, 24, 18], Operations: []
Exploring Operation: 33-24=9, Resulting Numbers: [11, 18, 9]
Generated Node #2: [11, 18, 9] from Operation: 33-24=9
Current State: 63:[11, 18, 9], Operations: ['33-24=9']
Exploring Operation: 18-11=7, Resulting Numbers: [9, 7]
Generated Node #3: [9, 7] from Operation: 18-11=7
Current State: 63:[9, 7], Operations: ['33-24=9', '18-11=7']
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[33, 11, 24, 18], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [24, 18, 3]
Generated Node #0,0: 63:[24, 18, 3] Operation: 33/11=3
Exploring Operation: 33-24=9, Resulting Numbers: [11, 18, 9]
Generated Node #0,1: 63:[11, 18, 9] Operation: 33-24=9
Moving to Node #0,1
Current State: 63:[11, 18, 9], Operations: ['33-24=9']
Exploring Operation: 18-9=9, Resulting Numbers: [11, 9]
Generated Node #0,1,0: 63:[11, 9] Operation: 18-9=9
Exploring Operation: 18-11=7, Resulting Numbers: [9, 7]
Generated Node #0,1,1: 63:[9, 7] Operation: 18-11=7
Moving to Node #0,0
Current State: 63:[24, 18, 3], Operations: ['33/11=3']
Exploring Operation: 24-18=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 63:[3, 6] Operation: 24-18=6
Exploring Operation: 24-3=21, Resulting Numbers: [18, 21]
Generated Node #0,0,1: 63:[18, 21] Operation: 24-3=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[3, 6], Operations: ['33/11=3', '24-18=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,63 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: 63:[18, 21], Operations: ['33/11=3', '24-3=21']
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,63 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,63 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: 63:[9, 7], Operations: ['33-24=9', '18-11=7']
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[33, 11, 24, 18], Operations: []
Exploring Operation: 33-24=9, Resulting Numbers: [11, 18, 9]
Generated Node #0,1: 63:[11, 18, 9] Operation: 33-24=9
Moving to Node #0,1
Current State: 63:[11, 18, 9], Operations: ['33-24=9']
Exploring Operation: 18-11=7, Resulting Numbers: [9, 7]
Generated Node #0,1,1: 63:[9, 7] Operation: 18-11=7
Moving to Node #0,1,1
Current State: 63:[9, 7], Operations: ['33-24=9', '18-11=7']
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
69,
38,
2,
18
] | 64 | [
"69-18=51",
"2*51=102",
"102-38=64"
] | Current State: 64:[69, 38, 2, 18], Operations: []
Exploring Operation: 69-18=51, Resulting Numbers: [38, 2, 51]
Generated Node #2: [38, 2, 51] from Operation: 69-18=51
Current State: 64:[38, 2, 51], Operations: ['69-18=51']
Exploring Operation: 2*51=102, Resulting Numbers: [38, 102]
Generated Node #3: [38, 102] from Operation: 2*51=102
Current State: 64:[38, 102], Operations: ['69-18=51', '2*51=102']
Exploring Operation: 102-38=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[69, 38, 2, 18], Operations: []
Exploring Operation: 69-38=31, Resulting Numbers: [2, 18, 31]
Generated Node #0,0: 64:[2, 18, 31] Operation: 69-38=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[2, 18, 31], Operations: ['69-38=31']
Exploring Operation: 18-2=16, Resulting Numbers: [31, 16]
Generated Node #0,0,0: 64:[31, 16] Operation: 18-2=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[31, 16], Operations: ['69-38=31', '18-2=16']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,64 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 |
[
31,
88,
8,
8
] | 58 | [
"88-31=57",
"8/8=1",
"57+1=58"
] | Current State: 58:[31, 88, 8, 8], Operations: []
Exploring Operation: 88-31=57, Resulting Numbers: [8, 8, 57]
Generated Node #2: [8, 8, 57] from Operation: 88-31=57
Current State: 58:[8, 8, 57], Operations: ['88-31=57']
Exploring Operation: 8/8=1, Resulting Numbers: [57, 1]
Generated Node #3: [57, 1] from Operation: 8/8=1
Current State: 58:[57, 1], Operations: ['88-31=57', '8/8=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[31, 88, 8, 8], Operations: []
Exploring Operation: 88-31=57, Resulting Numbers: [8, 8, 57]
Generated Node #0,0: 58:[8, 8, 57] Operation: 88-31=57
Moving to Node #0,0
Current State: 58:[8, 8, 57], Operations: ['88-31=57']
Exploring Operation: 8/8=1, Resulting Numbers: [57, 1]
Generated Node #0,0,0: 58:[57, 1] Operation: 8/8=1
Moving to Node #0,0,0
Current State: 58:[57, 1], Operations: ['88-31=57', '8/8=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[31, 88, 8, 8], Operations: []
Exploring Operation: 88-31=57, Resulting Numbers: [8, 8, 57]
Generated Node #0,0: 58:[8, 8, 57] Operation: 88-31=57
Moving to Node #0,0
Current State: 58:[8, 8, 57], Operations: ['88-31=57']
Exploring Operation: 8/8=1, Resulting Numbers: [57, 1]
Generated Node #0,0,0: 58:[57, 1] Operation: 8/8=1
Moving to Node #0,0,0
Current State: 58:[57, 1], Operations: ['88-31=57', '8/8=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
15,
94,
33,
81
] | 66 | [
"94-15=79",
"81-79=2",
"33*2=66"
] | Current State: 66:[15, 94, 33, 81], Operations: []
Exploring Operation: 94-15=79, Resulting Numbers: [33, 81, 79]
Generated Node #2: [33, 81, 79] from Operation: 94-15=79
Current State: 66:[33, 81, 79], Operations: ['94-15=79']
Exploring Operation: 81-79=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 81-79=2
Current State: 66:[33, 2], Operations: ['94-15=79', '81-79=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[15, 94, 33, 81], Operations: []
Exploring Operation: 94-33=61, Resulting Numbers: [15, 81, 61]
Generated Node #0,0: 66:[15, 81, 61] Operation: 94-33=61
Exploring Operation: 94-81=13, Resulting Numbers: [15, 33, 13]
Generated Node #0,1: 66:[15, 33, 13] Operation: 94-81=13
Moving to Node #0,1
Current State: 66:[15, 33, 13], Operations: ['94-81=13']
Exploring Operation: 15+13=28, Resulting Numbers: [33, 28]
Generated Node #0,1,0: 66:[33, 28] Operation: 15+13=28
Exploring Operation: 15-13=2, Resulting Numbers: [33, 2]
Generated Node #0,1,1: 66:[33, 2] Operation: 15-13=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[33, 2], Operations: ['94-81=13', '15-13=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[15, 94, 33, 81], Operations: []
Exploring Operation: 94-81=13, Resulting Numbers: [15, 33, 13]
Generated Node #0,1: 66:[15, 33, 13] Operation: 94-81=13
Moving to Node #0,1
Current State: 66:[15, 33, 13], Operations: ['94-81=13']
Exploring Operation: 15-13=2, Resulting Numbers: [33, 2]
Generated Node #0,1,1: 66:[33, 2] Operation: 15-13=2
Moving to Node #0,1,1
Current State: 66:[33, 2], Operations: ['94-81=13', '15-13=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
7,
87,
58,
44
] | 73 | [
"87*44=3828",
"3828/58=66",
"7+66=73"
] | Current State: 73:[7, 87, 58, 44], Operations: []
Exploring Operation: 87*44=3828, Resulting Numbers: [7, 58, 3828]
Generated Node #2: [7, 58, 3828] from Operation: 87*44=3828
Current State: 73:[7, 58, 3828], Operations: ['87*44=3828']
Exploring Operation: 3828/58=66, Resulting Numbers: [7, 66]
Generated Node #3: [7, 66] from Operation: 3828/58=66
Current State: 73:[7, 66], Operations: ['87*44=3828', '3828/58=66']
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[7, 87, 58, 44], Operations: []
Exploring Operation: 87-7=80, Resulting Numbers: [58, 44, 80]
Generated Node #0,0: 73:[58, 44, 80] Operation: 87-7=80
Moving to Node #0,0
Current State: 73:[58, 44, 80], Operations: ['87-7=80']
Exploring Operation: 58+44=102, Resulting Numbers: [80, 102]
Generated Node #0,0,0: 73:[80, 102] Operation: 58+44=102
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[80, 102], Operations: ['87-7=80', '58+44=102']
Exploring Operation: 102-80=22, Resulting Numbers: [22]
22,73 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 |
[
70,
71,
12,
35
] | 73 | [
"71-35=36",
"36/12=3",
"70+3=73"
] | Current State: 73:[70, 71, 12, 35], Operations: []
Exploring Operation: 71-35=36, Resulting Numbers: [70, 12, 36]
Generated Node #2: [70, 12, 36] from Operation: 71-35=36
Current State: 73:[70, 12, 36], Operations: ['71-35=36']
Exploring Operation: 36/12=3, Resulting Numbers: [70, 3]
Generated Node #3: [70, 3] from Operation: 36/12=3
Current State: 73:[70, 3], Operations: ['71-35=36', '36/12=3']
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[70, 71, 12, 35], Operations: []
Exploring Operation: 12+35=47, Resulting Numbers: [70, 71, 47]
Generated Node #0,0: 73:[70, 71, 47] Operation: 12+35=47
Exploring Operation: 70+12=82, Resulting Numbers: [71, 35, 82]
Generated Node #0,1: 73:[71, 35, 82] Operation: 70+12=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[70, 71, 47], Operations: ['12+35=47']
Exploring Operation: 70+47=117, Resulting Numbers: [71, 117]
Generated Node #0,0,0: 73:[71, 117] Operation: 70+47=117
Exploring Operation: 71+47=118, Resulting Numbers: [70, 118]
Generated Node #0,0,1: 73:[70, 118] Operation: 71+47=118
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[71, 117], Operations: ['12+35=47', '70+47=117']
Exploring Operation: 71+117=188, Resulting Numbers: [188]
188,73 unequal: No Solution
Exploring Operation: 117-71=46, Resulting Numbers: [46]
46,73 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: 73:[70, 118], Operations: ['12+35=47', '71+47=118']
Exploring Operation: 70+118=188, Resulting Numbers: [188]
188,73 unequal: No Solution
Exploring Operation: 118-70=48, Resulting Numbers: [48]
48,73 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: 73:[71, 35, 82], Operations: ['70+12=82']
Exploring Operation: 71+35=106, Resulting Numbers: [82, 106]
Generated Node #0,1,0: 73:[82, 106] Operation: 71+35=106
Exploring Operation: 82-35=47, Resulting Numbers: [71, 47]
Generated Node #0,1,1: 73:[71, 47] Operation: 82-35=47
Moving to Node #0,1,1
Current State: 73:[71, 47], Operations: ['70+12=82', '82-35=47']
Exploring Operation: 71-47=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 71+47=118, Resulting Numbers: [118]
118,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[82, 106], Operations: ['70+12=82', '71+35=106']
Exploring Operation: 106-82=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 82+106=188, Resulting Numbers: [188]
188,73 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 |
[
76,
37,
13,
38
] | 52 | [
"76/38=2",
"37+13=50",
"2+50=52"
] | Current State: 52:[76, 37, 13, 38], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [37, 13, 2]
Generated Node #2: [37, 13, 2] from Operation: 76/38=2
Current State: 52:[37, 13, 2], Operations: ['76/38=2']
Exploring Operation: 37+13=50, Resulting Numbers: [2, 50]
Generated Node #3: [2, 50] from Operation: 37+13=50
Current State: 52:[2, 50], Operations: ['76/38=2', '37+13=50']
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[76, 37, 13, 38], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [37, 13, 2]
Generated Node #0,0: 52:[37, 13, 2] Operation: 76/38=2
Exploring Operation: 76-38=38, Resulting Numbers: [37, 13, 38]
Generated Node #0,1: 52:[37, 13, 38] Operation: 76-38=38
Moving to Node #0,0
Current State: 52:[37, 13, 2], Operations: ['76/38=2']
Exploring Operation: 37-13=24, Resulting Numbers: [2, 24]
Generated Node #0,0,0: 52:[2, 24] Operation: 37-13=24
Exploring Operation: 37+13=50, Resulting Numbers: [2, 50]
Generated Node #0,0,1: 52:[2, 50] Operation: 37+13=50
Moving to Node #0,1
Current State: 52:[37, 13, 38], Operations: ['76-38=38']
Exploring Operation: 13+38=51, Resulting Numbers: [37, 51]
Generated Node #0,1,0: 52:[37, 51] Operation: 13+38=51
Exploring Operation: 38-37=1, Resulting Numbers: [13, 1]
Generated Node #0,1,1: 52:[13, 1] Operation: 38-37=1
Moving to Node #0,1,1
Current State: 52:[13, 1], Operations: ['76-38=38', '38-37=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[2, 24], Operations: ['76/38=2', '37-13=24']
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[2, 50], Operations: ['76/38=2', '37+13=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[76, 37, 13, 38], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [37, 13, 2]
Generated Node #0,0: 52:[37, 13, 2] Operation: 76/38=2
Moving to Node #0,0
Current State: 52:[37, 13, 2], Operations: ['76/38=2']
Exploring Operation: 37+13=50, Resulting Numbers: [2, 50]
Generated Node #0,0,1: 52:[2, 50] Operation: 37+13=50
Moving to Node #0,0,1
Current State: 52:[2, 50], Operations: ['76/38=2', '37+13=50']
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
11,
16,
76,
68
] | 32 | [
"11*16=176",
"76+68=144",
"176-144=32"
] | Current State: 32:[11, 16, 76, 68], Operations: []
Exploring Operation: 11*16=176, Resulting Numbers: [76, 68, 176]
Generated Node #2: [76, 68, 176] from Operation: 11*16=176
Current State: 32:[76, 68, 176], Operations: ['11*16=176']
Exploring Operation: 76+68=144, Resulting Numbers: [176, 144]
Generated Node #3: [176, 144] from Operation: 76+68=144
Current State: 32:[176, 144], Operations: ['11*16=176', '76+68=144']
Exploring Operation: 176-144=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[11, 16, 76, 68], Operations: []
Exploring Operation: 68-16=52, Resulting Numbers: [11, 76, 52]
Generated Node #0,0: 32:[11, 76, 52] Operation: 68-16=52
Exploring Operation: 68-11=57, Resulting Numbers: [16, 76, 57]
Generated Node #0,1: 32:[16, 76, 57] Operation: 68-11=57
Exploring Operation: 76-68=8, Resulting Numbers: [11, 16, 8]
Generated Node #0,2: 32:[11, 16, 8] Operation: 76-68=8
Exploring Operation: 76-16=60, Resulting Numbers: [11, 68, 60]
Generated Node #0,3: 32:[11, 68, 60] Operation: 76-16=60
Exploring Operation: 76-11=65, Resulting Numbers: [16, 68, 65]
Generated Node #0,4: 32:[16, 68, 65] Operation: 76-11=65
Moving to Node #0,2
Current State: 32:[11, 16, 8], Operations: ['76-68=8']
Exploring Operation: 16-11=5, Resulting Numbers: [8, 5]
Generated Node #0,2,0: 32:[8, 5] Operation: 16-11=5
Exploring Operation: 16-8=8, Resulting Numbers: [11, 8]
Generated Node #0,2,1: 32:[11, 8] Operation: 16-8=8
Exploring Operation: 11-8=3, Resulting Numbers: [16, 3]
Generated Node #0,2,2: 32:[16, 3] Operation: 11-8=3
Exploring Operation: 11+8=19, Resulting Numbers: [16, 19]
Generated Node #0,2,3: 32:[16, 19] Operation: 11+8=19
Exploring Operation: 16/8=2, Resulting Numbers: [11, 2]
Generated Node #0,2,4: 32:[11, 2] Operation: 16/8=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 32:[8, 5], Operations: ['76-68=8', '16-11=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,32 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: 32:[16, 3], Operations: ['76-68=8', '11-8=3']
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,32 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: 32:[11, 8], Operations: ['76-68=8', '16-8=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,32 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,32 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: 32:[16, 19], Operations: ['76-68=8', '11+8=19']
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,32 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,32 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: 32:[11, 2], Operations: ['76-68=8', '16/8=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,32 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: 32:[11, 68, 60], Operations: ['76-16=60']
Exploring Operation: 68-11=57, Resulting Numbers: [60, 57]
Generated Node #0,3,0: 32:[60, 57] Operation: 68-11=57
Exploring Operation: 68-60=8, Resulting Numbers: [11, 8]
Generated Node #0,3,1: 32:[11, 8] Operation: 68-60=8
Exploring Operation: 11+60=71, Resulting Numbers: [68, 71]
Generated Node #0,3,2: 32:[68, 71] Operation: 11+60=71
Exploring Operation: 60-11=49, Resulting Numbers: [68, 49]
Generated Node #0,3,3: 32:[68, 49] Operation: 60-11=49
Exploring Operation: 11+68=79, Resulting Numbers: [60, 79]
Generated Node #0,3,4: 32:[60, 79] Operation: 11+68=79
Moving to Node #0,0
Current State: 32:[11, 76, 52], Operations: ['68-16=52']
Exploring Operation: 52-11=41, Resulting Numbers: [76, 41]
Generated Node #0,0,0: 32:[76, 41] Operation: 52-11=41
Exploring Operation: 11+52=63, Resulting Numbers: [76, 63]
Generated Node #0,0,1: 32:[76, 63] Operation: 11+52=63
Exploring Operation: 76-11=65, Resulting Numbers: [52, 65]
Generated Node #0,0,2: 32:[52, 65] Operation: 76-11=65
Exploring Operation: 76-52=24, Resulting Numbers: [11, 24]
Generated Node #0,0,3: 32:[11, 24] Operation: 76-52=24
Exploring Operation: 11+76=87, Resulting Numbers: [52, 87]
Generated Node #0,0,4: 32:[52, 87] Operation: 11+76=87
Moving to Node #0,1
Current State: 32:[16, 76, 57], Operations: ['68-11=57']
Exploring Operation: 16+76=92, Resulting Numbers: [57, 92]
Generated Node #0,1,0: 32:[57, 92] Operation: 16+76=92
Exploring Operation: 76-16=60, Resulting Numbers: [57, 60]
Generated Node #0,1,1: 32:[57, 60] Operation: 76-16=60
Exploring Operation: 16+57=73, Resulting Numbers: [76, 73]
Generated Node #0,1,2: 32:[76, 73] Operation: 16+57=73
Exploring Operation: 57-16=41, Resulting Numbers: [76, 41]
Generated Node #0,1,3: 32:[76, 41] Operation: 57-16=41
Exploring Operation: 76-57=19, Resulting Numbers: [16, 19]
Generated Node #0,1,4: 32:[16, 19] Operation: 76-57=19
Moving to Node #0,4
Current State: 32:[16, 68, 65], Operations: ['76-11=65']
Exploring Operation: 68-16=52, Resulting Numbers: [65, 52]
Generated Node #0,4,0: 32:[65, 52] Operation: 68-16=52
Exploring Operation: 16+65=81, Resulting Numbers: [68, 81]
Generated Node #0,4,1: 32:[68, 81] Operation: 16+65=81
Exploring Operation: 16+68=84, Resulting Numbers: [65, 84]
Generated Node #0,4,2: 32:[65, 84] Operation: 16+68=84
Exploring Operation: 68-65=3, Resulting Numbers: [16, 3]
Generated Node #0,4,3: 32:[16, 3] Operation: 68-65=3
Exploring Operation: 65-16=49, Resulting Numbers: [68, 49]
Generated Node #0,4,4: 32:[68, 49] Operation: 65-16=49
Moving to Node #0,4,3
Current State: 32:[16, 3], Operations: ['76-11=65', '68-65=3']
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Moving to Node #0,3,1
Current State: 32:[11, 8], Operations: ['76-16=60', '68-60=8']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,32 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Moving to Node #0,1,4
Current State: 32:[16, 19], Operations: ['68-11=57', '76-57=19']
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,32 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[11, 24], Operations: ['68-16=52', '76-52=24']
Exploring Operation: 11*24=264, Resulting Numbers: [264]
264,32 unequal: No Solution
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[76, 41], Operations: ['68-16=52', '52-11=41']
Exploring Operation: 76-41=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 76+41=117, Resulting Numbers: [117]
117,32 unequal: No Solution
Exploring Operation: 76*41=3116, Resulting Numbers: [3116]
3116,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[68, 49], Operations: ['76-16=60', '60-11=49']
Exploring Operation: 68-49=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 68+49=117, Resulting Numbers: [117]
117,32 unequal: No Solution
Exploring Operation: 68*49=3332, Resulting Numbers: [3332]
3332,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[76, 41], Operations: ['68-11=57', '57-16=41']
Exploring Operation: 76-41=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 76+41=117, Resulting Numbers: [117]
117,32 unequal: No Solution
Exploring Operation: 76*41=3116, Resulting Numbers: [3116]
3116,32 unequal: No Solution
Moving to Node #0,4,0
Current State: 32:[65, 52], Operations: ['76-11=65', '68-16=52']
Exploring Operation: 65*52=3380, Resulting Numbers: [3380]
3380,32 unequal: No Solution
Exploring Operation: 65+52=117, Resulting Numbers: [117]
117,32 unequal: No Solution
Exploring Operation: 65-52=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[57, 60], Operations: ['68-11=57', '76-16=60']
Exploring Operation: 57*60=3420, Resulting Numbers: [3420]
3420,32 unequal: No Solution
Exploring Operation: 57+60=117, Resulting Numbers: [117]
117,32 unequal: No Solution
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[60, 57], Operations: ['76-16=60', '68-11=57']
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 60*57=3420, Resulting Numbers: [3420]
3420,32 unequal: No Solution
Exploring Operation: 60+57=117, Resulting Numbers: [117]
117,32 unequal: No Solution
Moving to Node #0,4,4
Current State: 32:[68, 49], Operations: ['76-11=65', '65-16=49']
Exploring Operation: 68*49=3332, Resulting Numbers: [3332]
3332,32 unequal: No Solution
Exploring Operation: 68+49=117, Resulting Numbers: [117]
117,32 unequal: No Solution
Exploring Operation: 68-49=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[52, 65], Operations: ['68-16=52', '76-11=65']
Exploring Operation: 52*65=3380, Resulting Numbers: [3380]
3380,32 unequal: No Solution
Exploring Operation: 65-52=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 52+65=117, Resulting Numbers: [117]
117,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[68, 71], Operations: ['76-16=60', '11+60=71']
Exploring Operation: 68*71=4828, Resulting Numbers: [4828]
4828,32 unequal: No Solution
Exploring Operation: 71-68=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 68+71=139, Resulting Numbers: [139]
139,32 unequal: No Solution
Moving to Node #0,3,4
Current State: 32:[60, 79], Operations: ['76-16=60', '11+68=79']
Exploring Operation: 60*79=4740, Resulting Numbers: [4740]
4740,32 unequal: No Solution
Exploring Operation: 79-60=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 60+79=139, Resulting Numbers: [139]
139,32 unequal: No Solution
Moving to Node #0,0,4
Current State: 32:[52, 87], Operations: ['68-16=52', '11+76=87']
Exploring Operation: 52*87=4524, Resulting Numbers: [4524]
4524,32 unequal: No Solution
Exploring Operation: 87-52=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 52+87=139, Resulting Numbers: [139]
139,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[76, 63], Operations: ['68-16=52', '11+52=63']
Exploring Operation: 76*63=4788, Resulting Numbers: [4788]
4788,32 unequal: No Solution
Exploring Operation: 76+63=139, Resulting Numbers: [139]
139,32 unequal: No Solution
Exploring Operation: 76-63=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[76, 73], Operations: ['68-11=57', '16+57=73']
Exploring Operation: 76*73=5548, Resulting Numbers: [5548]
5548,32 unequal: No Solution
Exploring Operation: 76+73=149, Resulting Numbers: [149]
149,32 unequal: No Solution
Exploring Operation: 76-73=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Moving to Node #0,4,2
Current State: 32:[65, 84], Operations: ['76-11=65', '16+68=84']
Exploring Operation: 65+84=149, Resulting Numbers: [149]
149,32 unequal: No Solution
Exploring Operation: 84-65=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 65*84=5460, Resulting Numbers: [5460]
5460,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[57, 92], Operations: ['68-11=57', '16+76=92']
Exploring Operation: 92-57=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 57+92=149, Resulting Numbers: [149]
149,32 unequal: No Solution
Exploring Operation: 57*92=5244, Resulting Numbers: [5244]
5244,32 unequal: No Solution
Moving to Node #0,4,1
Current State: 32:[68, 81], Operations: ['76-11=65', '16+65=81']
Exploring Operation: 68+81=149, Resulting Numbers: [149]
149,32 unequal: No Solution
Exploring Operation: 68*81=5508, Resulting Numbers: [5508]
5508,32 unequal: No Solution
Exploring Operation: 81-68=13, Resulting Numbers: [13]
13,32 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
92,
92,
1,
30
] | 15 | [
"92/92=1",
"1+1=2",
"30/2=15"
] | Current State: 15:[92, 92, 1, 30], Operations: []
Exploring Operation: 92/92=1, Resulting Numbers: [1, 30, 1]
Generated Node #2: [1, 30, 1] from Operation: 92/92=1
Current State: 15:[1, 30, 1], Operations: ['92/92=1']
Exploring Operation: 1+1=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 1+1=2
Current State: 15:[30, 2], Operations: ['92/92=1', '1+1=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[92, 92, 1, 30], Operations: []
Exploring Operation: 92-30=62, Resulting Numbers: [92, 1, 62]
Generated Node #0,0: 15:[92, 1, 62] Operation: 92-30=62
Exploring Operation: 92-92=0, Resulting Numbers: [1, 30, 0]
Generated Node #0,1: 15:[1, 30, 0] Operation: 92-92=0
Exploring Operation: 92/92=1, Resulting Numbers: [1, 30, 1]
Generated Node #0,2: 15:[1, 30, 1] Operation: 92/92=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[1, 30, 1], Operations: ['92/92=1']
Exploring Operation: 30-1=29, Resulting Numbers: [1, 29]
Generated Node #0,2,0: 15:[1, 29] Operation: 30-1=29
Exploring Operation: 30-1=29, Resulting Numbers: [1, 29]
Generated Node #0,2,1: 15:[1, 29] Operation: 30-1=29
Exploring Operation: 1+1=2, Resulting Numbers: [30, 2]
Generated Node #0,2,2: 15:[30, 2] Operation: 1+1=2
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 15:[1, 29], Operations: ['92/92=1', '30-1=29']
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,15 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: 15:[1, 29], Operations: ['92/92=1', '30-1=29']
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,15 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: 15:[30, 2], Operations: ['92/92=1', '1+1=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[92, 92, 1, 30], Operations: []
Exploring Operation: 92/92=1, Resulting Numbers: [1, 30, 1]
Generated Node #0,2: 15:[1, 30, 1] Operation: 92/92=1
Moving to Node #0,2
Current State: 15:[1, 30, 1], Operations: ['92/92=1']
Exploring Operation: 1+1=2, Resulting Numbers: [30, 2]
Generated Node #0,2,2: 15:[30, 2] Operation: 1+1=2
Moving to Node #0,2,2
Current State: 15:[30, 2], Operations: ['92/92=1', '1+1=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
26,
86,
39,
85
] | 14 | [
"86-26=60",
"85-39=46",
"60-46=14"
] | Current State: 14:[26, 86, 39, 85], Operations: []
Exploring Operation: 86-26=60, Resulting Numbers: [39, 85, 60]
Generated Node #2: [39, 85, 60] from Operation: 86-26=60
Current State: 14:[39, 85, 60], Operations: ['86-26=60']
Exploring Operation: 85-39=46, Resulting Numbers: [60, 46]
Generated Node #3: [60, 46] from Operation: 85-39=46
Current State: 14:[60, 46], Operations: ['86-26=60', '85-39=46']
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[26, 86, 39, 85], Operations: []
Exploring Operation: 86-85=1, Resulting Numbers: [26, 39, 1]
Generated Node #0,0: 14:[26, 39, 1] Operation: 86-85=1
Moving to Node #0,0
Current State: 14:[26, 39, 1], Operations: ['86-85=1']
Exploring Operation: 39-26=13, Resulting Numbers: [1, 13]
Generated Node #0,0,0: 14:[1, 13] Operation: 39-26=13
Moving to Node #0,0,0
Current State: 14:[1, 13], Operations: ['86-85=1', '39-26=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[26, 86, 39, 85], Operations: []
Exploring Operation: 86-85=1, Resulting Numbers: [26, 39, 1]
Generated Node #0,0: 14:[26, 39, 1] Operation: 86-85=1
Moving to Node #0,0
Current State: 14:[26, 39, 1], Operations: ['86-85=1']
Exploring Operation: 39-26=13, Resulting Numbers: [1, 13]
Generated Node #0,0,0: 14:[1, 13] Operation: 39-26=13
Moving to Node #0,0,0
Current State: 14:[1, 13], Operations: ['86-85=1', '39-26=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
22,
20,
10,
44
] | 78 | [
"22-20=2",
"44*2=88",
"88-10=78"
] | Current State: 78:[22, 20, 10, 44], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [10, 44, 2]
Generated Node #2: [10, 44, 2] from Operation: 22-20=2
Current State: 78:[10, 44, 2], Operations: ['22-20=2']
Exploring Operation: 44*2=88, Resulting Numbers: [10, 88]
Generated Node #3: [10, 88] from Operation: 44*2=88
Current State: 78:[10, 88], Operations: ['22-20=2', '44*2=88']
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[22, 20, 10, 44], Operations: []
Exploring Operation: 44/22=2, Resulting Numbers: [20, 10, 2]
Generated Node #0,0: 78:[20, 10, 2] Operation: 44/22=2
Exploring Operation: 22-20=2, Resulting Numbers: [10, 44, 2]
Generated Node #0,1: 78:[10, 44, 2] Operation: 22-20=2
Exploring Operation: 20/10=2, Resulting Numbers: [22, 44, 2]
Generated Node #0,2: 78:[22, 44, 2] Operation: 20/10=2
Exploring Operation: 22+20=42, Resulting Numbers: [10, 44, 42]
Generated Node #0,3: 78:[10, 44, 42] Operation: 22+20=42
Exploring Operation: 44-20=24, Resulting Numbers: [22, 10, 24]
Generated Node #0,4: 78:[22, 10, 24] Operation: 44-20=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[10, 44, 2], Operations: ['22-20=2']
Exploring Operation: 44-2=42, Resulting Numbers: [10, 42]
Generated Node #0,1,0: 78:[10, 42] Operation: 44-2=42
Exploring Operation: 44-10=34, Resulting Numbers: [2, 34]
Generated Node #0,1,1: 78:[2, 34] Operation: 44-10=34
Exploring Operation: 10/2=5, Resulting Numbers: [44, 5]
Generated Node #0,1,2: 78:[44, 5] Operation: 10/2=5
Exploring Operation: 10-2=8, Resulting Numbers: [44, 8]
Generated Node #0,1,3: 78:[44, 8] Operation: 10-2=8
Exploring Operation: 10+2=12, Resulting Numbers: [44, 12]
Generated Node #0,1,4: 78:[44, 12] Operation: 10+2=12
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[2, 34], Operations: ['22-20=2', '44-10=34']
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,78 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,78 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,78 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: 78:[10, 42], Operations: ['22-20=2', '44-2=42']
Exploring Operation: 10*42=420, Resulting Numbers: [420]
420,78 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,78 unequal: No Solution
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,78 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: 78:[44, 5], Operations: ['22-20=2', '10/2=5']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,78 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,78 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: 78:[44, 12], Operations: ['22-20=2', '10+2=12']
Exploring Operation: 44+12=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Exploring Operation: 44*12=528, Resulting Numbers: [528]
528,78 unequal: No Solution
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,78 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: 78:[44, 8], Operations: ['22-20=2', '10-2=8']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,78 unequal: No Solution
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,78 unequal: No Solution
Exploring Operation: 44*8=352, Resulting Numbers: [352]
352,78 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: 78:[20, 10, 2], Operations: ['44/22=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10, 10]
Generated Node #0,0,0: 78:[10, 10] Operation: 20/2=10
Exploring Operation: 20*2=40, Resulting Numbers: [10, 40]
Generated Node #0,0,1: 78:[10, 40] Operation: 20*2=40
Exploring Operation: 20-10=10, Resulting Numbers: [2, 10]
Generated Node #0,0,2: 78:[2, 10] Operation: 20-10=10
Exploring Operation: 20+10=30, Resulting Numbers: [2, 30]
Generated Node #0,0,3: 78:[2, 30] Operation: 20+10=30
Exploring Operation: 20/10=2, Resulting Numbers: [2, 2]
Generated Node #0,0,4: 78:[2, 2] Operation: 20/10=2
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 78:[2, 2], Operations: ['44/22=2', '20/10=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,78 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: 78:[2, 10], Operations: ['44/22=2', '20-10=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,78 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: 78:[10, 40], Operations: ['44/22=2', '20*2=40']
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,78 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,78 unequal: No Solution
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,78 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: 78:[2, 30], Operations: ['44/22=2', '20+10=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,78 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,78 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: 78:[10, 10], Operations: ['44/22=2', '20/2=10']
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,78 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,78 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: 78:[22, 44, 2], Operations: ['20/10=2']
Exploring Operation: 44-22=22, Resulting Numbers: [2, 22]
Generated Node #0,2,0: 78:[2, 22] Operation: 44-22=22
Exploring Operation: 22/2=11, Resulting Numbers: [44, 11]
Generated Node #0,2,1: 78:[44, 11] Operation: 22/2=11
Exploring Operation: 22+2=24, Resulting Numbers: [44, 24]
Generated Node #0,2,2: 78:[44, 24] Operation: 22+2=24
Exploring Operation: 44/22=2, Resulting Numbers: [2, 2]
Generated Node #0,2,3: 78:[2, 2] Operation: 44/22=2
Exploring Operation: 44-2=42, Resulting Numbers: [22, 42]
Generated Node #0,2,4: 78:[22, 42] Operation: 44-2=42
Moving to Node #0,2,3
Current State: 78:[2, 2], Operations: ['20/10=2', '44/22=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Moving to Node #0,2,0
Current State: 78:[2, 22], Operations: ['20/10=2', '44-22=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,78 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,78 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Moving to Node #0,2,1
Current State: 78:[44, 11], Operations: ['20/10=2', '22/2=11']
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,78 unequal: No Solution
Exploring Operation: 44*11=484, Resulting Numbers: [484]
484,78 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[44, 24], Operations: ['20/10=2', '22+2=24']
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,78 unequal: No Solution
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,78 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Moving to Node #0,2,4
Current State: 78:[22, 42], Operations: ['20/10=2', '44-2=42']
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 22*42=924, Resulting Numbers: [924]
924,78 unequal: No Solution
Exploring Operation: 22+42=64, Resulting Numbers: [64]
64,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,4
Current State: 78:[22, 10, 24], Operations: ['44-20=24']
Exploring Operation: 22-10=12, Resulting Numbers: [24, 12]
Generated Node #0,4,0: 78:[24, 12] Operation: 22-10=12
Exploring Operation: 22+10=32, Resulting Numbers: [24, 32]
Generated Node #0,4,1: 78:[24, 32] Operation: 22+10=32
Exploring Operation: 24-10=14, Resulting Numbers: [22, 14]
Generated Node #0,4,2: 78:[22, 14] Operation: 24-10=14
Exploring Operation: 10+24=34, Resulting Numbers: [22, 34]
Generated Node #0,4,3: 78:[22, 34] Operation: 10+24=34
Exploring Operation: 24-22=2, Resulting Numbers: [10, 2]
Generated Node #0,4,4: 78:[10, 2] Operation: 24-22=2
Moving to Node #0,4,0
Current State: 78:[24, 12], Operations: ['44-20=24', '22-10=12']
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,78 unequal: No Solution
Exploring Operation: 24*12=288, Resulting Numbers: [288]
288,78 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Moving to Node #0,4,4
Current State: 78:[10, 2], Operations: ['44-20=24', '24-22=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Moving to Node #0,4,2
Current State: 78:[22, 14], Operations: ['44-20=24', '24-10=14']
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,78 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,78 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Moving to Node #0,4,1
Current State: 78:[24, 32], Operations: ['44-20=24', '22+10=32']
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,78 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Moving to Node #0,4,3
Current State: 78:[22, 34], Operations: ['44-20=24', '10+24=34']
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 22*34=748, Resulting Numbers: [748]
748,78 unequal: No Solution
Exploring Operation: 22+34=56, Resulting Numbers: [56]
56,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,3
Current State: 78:[10, 44, 42], Operations: ['22+20=42']
Exploring Operation: 42-10=32, Resulting Numbers: [44, 32]
Generated Node #0,3,0: 78:[44, 32] Operation: 42-10=32
Exploring Operation: 10+44=54, Resulting Numbers: [42, 54]
Generated Node #0,3,1: 78:[42, 54] Operation: 10+44=54
Exploring Operation: 44-42=2, Resulting Numbers: [10, 2]
Generated Node #0,3,2: 78:[10, 2] Operation: 44-42=2
Exploring Operation: 44-10=34, Resulting Numbers: [42, 34]
Generated Node #0,3,3: 78:[42, 34] Operation: 44-10=34
Exploring Operation: 44+42=86, Resulting Numbers: [10, 86]
Generated Node #0,3,4: 78:[10, 86] Operation: 44+42=86
Moving to Node #0,3,2
Current State: 78:[10, 2], Operations: ['22+20=42', '44-42=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,78 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Moving to Node #0,3,3
Current State: 78:[42, 34], Operations: ['22+20=42', '44-10=34']
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 42*34=1428, Resulting Numbers: [1428]
1428,78 unequal: No Solution
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,78 unequal: No Solution
Moving to Node #0,3,0
Current State: 78:[44, 32], Operations: ['22+20=42', '42-10=32']
Exploring Operation: 44*32=1408, Resulting Numbers: [1408]
1408,78 unequal: No Solution
Exploring Operation: 44+32=76, Resulting Numbers: [76]
76,78 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Moving to Node #0,3,4
Current State: 78:[10, 86], Operations: ['22+20=42', '44+42=86']
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,78 unequal: No Solution
Exploring Operation: 10+86=96, Resulting Numbers: [96]
96,78 unequal: No Solution
Exploring Operation: 10*86=860, Resulting Numbers: [860]
860,78 unequal: No Solution
Moving to Node #0,3,1
Current State: 78:[42, 54], Operations: ['22+20=42', '10+44=54']
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 42*54=2268, Resulting Numbers: [2268]
2268,78 unequal: No Solution
Exploring Operation: 42+54=96, Resulting Numbers: [96]
96,78 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 |
[
49,
36,
70,
74
] | 81 | [
"49+36=85",
"74-70=4",
"85-4=81"
] | Current State: 81:[49, 36, 70, 74], Operations: []
Exploring Operation: 49+36=85, Resulting Numbers: [70, 74, 85]
Generated Node #2: [70, 74, 85] from Operation: 49+36=85
Current State: 81:[70, 74, 85], Operations: ['49+36=85']
Exploring Operation: 74-70=4, Resulting Numbers: [85, 4]
Generated Node #3: [85, 4] from Operation: 74-70=4
Current State: 81:[85, 4], Operations: ['49+36=85', '74-70=4']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[49, 36, 70, 74], Operations: []
Exploring Operation: 70-49=21, Resulting Numbers: [36, 74, 21]
Generated Node #0,0: 81:[36, 74, 21] Operation: 70-49=21
Exploring Operation: 49+36=85, Resulting Numbers: [70, 74, 85]
Generated Node #0,1: 81:[70, 74, 85] Operation: 49+36=85
Exploring Operation: 49-36=13, Resulting Numbers: [70, 74, 13]
Generated Node #0,2: 81:[70, 74, 13] Operation: 49-36=13
Moving to Node #0,0
Current State: 81:[36, 74, 21], Operations: ['70-49=21']
Exploring Operation: 74-36=38, Resulting Numbers: [21, 38]
Generated Node #0,0,0: 81:[21, 38] Operation: 74-36=38
Exploring Operation: 36-21=15, Resulting Numbers: [74, 15]
Generated Node #0,0,1: 81:[74, 15] Operation: 36-21=15
Exploring Operation: 74+21=95, Resulting Numbers: [36, 95]
Generated Node #0,0,2: 81:[36, 95] Operation: 74+21=95
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[74, 15], Operations: ['70-49=21', '36-21=15']
Exploring Operation: 74*15=1110, Resulting Numbers: [1110]
1110,81 unequal: No Solution
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 74+15=89, Resulting Numbers: [89]
89,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:[21, 38], Operations: ['70-49=21', '74-36=38']
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 21*38=798, Resulting Numbers: [798]
798,81 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,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:[36, 95], Operations: ['70-49=21', '74+21=95']
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 36+95=131, Resulting Numbers: [131]
131,81 unequal: No Solution
Exploring Operation: 36*95=3420, Resulting Numbers: [3420]
3420,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:[70, 74, 85], Operations: ['49+36=85']
Exploring Operation: 85-74=11, Resulting Numbers: [70, 11]
Generated Node #0,1,0: 81:[70, 11] Operation: 85-74=11
Exploring Operation: 74-70=4, Resulting Numbers: [85, 4]
Generated Node #0,1,1: 81:[85, 4] Operation: 74-70=4
Exploring Operation: 85-70=15, Resulting Numbers: [74, 15]
Generated Node #0,1,2: 81:[74, 15] Operation: 85-70=15
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[85, 4], Operations: ['49+36=85', '74-70=4']
Exploring Operation: 85+4=89, Resulting Numbers: [89]
89,81 unequal: No Solution
Exploring Operation: 85*4=340, Resulting Numbers: [340]
340,81 unequal: No Solution
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[49, 36, 70, 74], Operations: []
Exploring Operation: 49+36=85, Resulting Numbers: [70, 74, 85]
Generated Node #0,1: 81:[70, 74, 85] Operation: 49+36=85
Moving to Node #0,1
Current State: 81:[70, 74, 85], Operations: ['49+36=85']
Exploring Operation: 74-70=4, Resulting Numbers: [85, 4]
Generated Node #0,1,1: 81:[85, 4] Operation: 74-70=4
Moving to Node #0,1,1
Current State: 81:[85, 4], Operations: ['49+36=85', '74-70=4']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
30,
49,
20,
11
] | 59 | [
"30*20=600",
"49+600=649",
"649/11=59"
] | Current State: 59:[30, 49, 20, 11], Operations: []
Exploring Operation: 30*20=600, Resulting Numbers: [49, 11, 600]
Generated Node #2: [49, 11, 600] from Operation: 30*20=600
Current State: 59:[49, 11, 600], Operations: ['30*20=600']
Exploring Operation: 49+600=649, Resulting Numbers: [11, 649]
Generated Node #3: [11, 649] from Operation: 49+600=649
Current State: 59:[11, 649], Operations: ['30*20=600', '49+600=649']
Exploring Operation: 649/11=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[30, 49, 20, 11], Operations: []
Exploring Operation: 30+20=50, Resulting Numbers: [49, 11, 50]
Generated Node #0,0: 59:[49, 11, 50] Operation: 30+20=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[49, 11, 50], Operations: ['30+20=50']
Exploring Operation: 49+11=60, Resulting Numbers: [50, 60]
Generated Node #0,0,0: 59:[50, 60] Operation: 49+11=60
Moving to Node #0,0,0
Current State: 59:[50, 60], Operations: ['30+20=50', '49+11=60']
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,59 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 |
[
4,
87,
87,
45
] | 42 | [
"45-4=41",
"87/87=1",
"41+1=42"
] | Current State: 42:[4, 87, 87, 45], Operations: []
Exploring Operation: 45-4=41, Resulting Numbers: [87, 87, 41]
Generated Node #2: [87, 87, 41] from Operation: 45-4=41
Current State: 42:[87, 87, 41], Operations: ['45-4=41']
Exploring Operation: 87/87=1, Resulting Numbers: [41, 1]
Generated Node #3: [41, 1] from Operation: 87/87=1
Current State: 42:[41, 1], Operations: ['45-4=41', '87/87=1']
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[4, 87, 87, 45], Operations: []
Exploring Operation: 87-87=0, Resulting Numbers: [4, 45, 0]
Generated Node #0,0: 42:[4, 45, 0] Operation: 87-87=0
Exploring Operation: 87-45=42, Resulting Numbers: [4, 87, 42]
Generated Node #0,1: 42:[4, 87, 42] Operation: 87-45=42
Exploring Operation: 87/87=1, Resulting Numbers: [4, 45, 1]
Generated Node #0,2: 42:[4, 45, 1] Operation: 87/87=1
Moving to Node #0,2
Current State: 42:[4, 45, 1], Operations: ['87/87=1']
Exploring Operation: 45-4=41, Resulting Numbers: [1, 41]
Generated Node #0,2,0: 42:[1, 41] Operation: 45-4=41
Exploring Operation: 4-1=3, Resulting Numbers: [45, 3]
Generated Node #0,2,1: 42:[45, 3] Operation: 4-1=3
Exploring Operation: 45-1=44, Resulting Numbers: [4, 44]
Generated Node #0,2,2: 42:[4, 44] Operation: 45-1=44
Moving to Node #0,0
Current State: 42:[4, 45, 0], Operations: ['87-87=0']
Exploring Operation: 4+0=4, Resulting Numbers: [45, 4]
Generated Node #0,0,0: 42:[45, 4] Operation: 4+0=4
Exploring Operation: 45*0=0, Resulting Numbers: [4, 0]
Generated Node #0,0,1: 42:[4, 0] Operation: 45*0=0
Exploring Operation: 45-4=41, Resulting Numbers: [0, 41]
Generated Node #0,0,2: 42:[0, 41] Operation: 45-4=41
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[4, 0], Operations: ['87-87=0', '45*0=0']
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,42 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: 42:[0, 41], Operations: ['87-87=0', '45-4=41']
Exploring Operation: 0+41=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 0*41=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 41-0=41, Resulting Numbers: [41]
41,42 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: 42:[45, 4], Operations: ['87-87=0', '4+0=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,42 unequal: No Solution
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,42 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: 42:[4, 87, 42], Operations: ['87-45=42']
Exploring Operation: 87-42=45, Resulting Numbers: [4, 45]
Generated Node #0,1,0: 42:[4, 45] Operation: 87-42=45
Exploring Operation: 4+87=91, Resulting Numbers: [42, 91]
Generated Node #0,1,1: 42:[42, 91] Operation: 4+87=91
Exploring Operation: 87-4=83, Resulting Numbers: [42, 83]
Generated Node #0,1,2: 42:[42, 83] Operation: 87-4=83
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[4, 45], Operations: ['87-45=42', '87-42=45']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,42 unequal: No Solution
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,42 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: 42:[42, 83], Operations: ['87-45=42', '87-4=83']
Exploring Operation: 42*83=3486, Resulting Numbers: [3486]
3486,42 unequal: No Solution
Exploring Operation: 42+83=125, Resulting Numbers: [125]
125,42 unequal: No Solution
Exploring Operation: 83-42=41, Resulting Numbers: [41]
41,42 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: 42:[42, 91], Operations: ['87-45=42', '4+87=91']
Exploring Operation: 91-42=49, Resulting Numbers: [49]
49,42 unequal: No Solution
Exploring Operation: 42*91=3822, Resulting Numbers: [3822]
3822,42 unequal: No Solution
Exploring Operation: 42+91=133, Resulting Numbers: [133]
133,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 42:[1, 41], Operations: ['87/87=1', '45-4=41']
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[4, 87, 87, 45], Operations: []
Exploring Operation: 87/87=1, Resulting Numbers: [4, 45, 1]
Generated Node #0,2: 42:[4, 45, 1] Operation: 87/87=1
Moving to Node #0,2
Current State: 42:[4, 45, 1], Operations: ['87/87=1']
Exploring Operation: 45-4=41, Resulting Numbers: [1, 41]
Generated Node #0,2,0: 42:[1, 41] Operation: 45-4=41
Moving to Node #0,2,0
Current State: 42:[1, 41], Operations: ['87/87=1', '45-4=41']
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.96875 | hs_3 | sum_heuristic |
[
62,
71,
55,
40
] | 57 | [
"71-40=31",
"62/31=2",
"55+2=57"
] | Current State: 57:[62, 71, 55, 40], Operations: []
Exploring Operation: 71-40=31, Resulting Numbers: [62, 55, 31]
Generated Node #2: [62, 55, 31] from Operation: 71-40=31
Current State: 57:[62, 55, 31], Operations: ['71-40=31']
Exploring Operation: 62/31=2, Resulting Numbers: [55, 2]
Generated Node #3: [55, 2] from Operation: 62/31=2
Current State: 57:[55, 2], Operations: ['71-40=31', '62/31=2']
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[62, 71, 55, 40], Operations: []
Exploring Operation: 55-40=15, Resulting Numbers: [62, 71, 15]
Generated Node #0,0: 57:[62, 71, 15] Operation: 55-40=15
Exploring Operation: 62-40=22, Resulting Numbers: [71, 55, 22]
Generated Node #0,1: 57:[71, 55, 22] Operation: 62-40=22
Exploring Operation: 71-40=31, Resulting Numbers: [62, 55, 31]
Generated Node #0,2: 57:[62, 55, 31] Operation: 71-40=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[71, 55, 22], Operations: ['62-40=22']
Exploring Operation: 71-22=49, Resulting Numbers: [55, 49]
Generated Node #0,1,0: 57:[55, 49] Operation: 71-22=49
Exploring Operation: 71-55=16, Resulting Numbers: [22, 16]
Generated Node #0,1,1: 57:[22, 16] Operation: 71-55=16
Exploring Operation: 55-22=33, Resulting Numbers: [71, 33]
Generated Node #0,1,2: 57:[71, 33] Operation: 55-22=33
Moving to Node #0,1,1
Current State: 57:[22, 16], Operations: ['62-40=22', '71-55=16']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,57 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[55, 49], Operations: ['62-40=22', '71-22=49']
Exploring Operation: 55-49=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 55+49=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Exploring Operation: 55*49=2695, Resulting Numbers: [2695]
2695,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[71, 33], Operations: ['62-40=22', '55-22=33']
Exploring Operation: 71*33=2343, Resulting Numbers: [2343]
2343,57 unequal: No Solution
Exploring Operation: 71-33=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Exploring Operation: 71+33=104, Resulting Numbers: [104]
104,57 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: 57:[62, 55, 31], Operations: ['71-40=31']
Exploring Operation: 55-31=24, Resulting Numbers: [62, 24]
Generated Node #0,2,0: 57:[62, 24] Operation: 55-31=24
Exploring Operation: 62/31=2, Resulting Numbers: [55, 2]
Generated Node #0,2,1: 57:[55, 2] Operation: 62/31=2
Exploring Operation: 62-31=31, Resulting Numbers: [55, 31]
Generated Node #0,2,2: 57:[55, 31] Operation: 62-31=31
Moving to Node #0,2,1
Current State: 57:[55, 2], Operations: ['71-40=31', '62/31=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:[62, 71, 55, 40], Operations: []
Exploring Operation: 71-40=31, Resulting Numbers: [62, 55, 31]
Generated Node #0,2: 57:[62, 55, 31] Operation: 71-40=31
Moving to Node #0,2
Current State: 57:[62, 55, 31], Operations: ['71-40=31']
Exploring Operation: 62/31=2, Resulting Numbers: [55, 2]
Generated Node #0,2,1: 57:[55, 2] Operation: 62/31=2
Moving to Node #0,2,1
Current State: 57:[55, 2], Operations: ['71-40=31', '62/31=2']
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
30,
82,
47,
4
] | 76 | [
"30+82=112",
"47*4=188",
"188-112=76"
] | Current State: 76:[30, 82, 47, 4], Operations: []
Exploring Operation: 30+82=112, Resulting Numbers: [47, 4, 112]
Generated Node #2: [47, 4, 112] from Operation: 30+82=112
Current State: 76:[47, 4, 112], Operations: ['30+82=112']
Exploring Operation: 47*4=188, Resulting Numbers: [112, 188]
Generated Node #3: [112, 188] from Operation: 47*4=188
Current State: 76:[112, 188], Operations: ['30+82=112', '47*4=188']
Exploring Operation: 188-112=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[30, 82, 47, 4], Operations: []
Exploring Operation: 47-30=17, Resulting Numbers: [82, 4, 17]
Generated Node #0,0: 76:[82, 4, 17] Operation: 47-30=17
Exploring Operation: 82-47=35, Resulting Numbers: [30, 4, 35]
Generated Node #0,1: 76:[30, 4, 35] Operation: 82-47=35
Exploring Operation: 30+4=34, Resulting Numbers: [82, 47, 34]
Generated Node #0,2: 76:[82, 47, 34] Operation: 30+4=34
Exploring Operation: 30+47=77, Resulting Numbers: [82, 4, 77]
Generated Node #0,3: 76:[82, 4, 77] Operation: 30+47=77
Moving to Node #0,3
Current State: 76:[82, 4, 77], Operations: ['30+47=77']
Exploring Operation: 82-77=5, Resulting Numbers: [4, 5]
Generated Node #0,3,0: 76:[4, 5] Operation: 82-77=5
Exploring Operation: 77-4=73, Resulting Numbers: [82, 73]
Generated Node #0,3,1: 76:[82, 73] Operation: 77-4=73
Exploring Operation: 82+4=86, Resulting Numbers: [77, 86]
Generated Node #0,3,2: 76:[77, 86] Operation: 82+4=86
Exploring Operation: 82-4=78, Resulting Numbers: [77, 78]
Generated Node #0,3,3: 76:[77, 78] Operation: 82-4=78
Moving to Node #0,0
Current State: 76:[82, 4, 17], Operations: ['47-30=17']
Exploring Operation: 4+17=21, Resulting Numbers: [82, 21]
Generated Node #0,0,0: 76:[82, 21] Operation: 4+17=21
Exploring Operation: 82+4=86, Resulting Numbers: [17, 86]
Generated Node #0,0,1: 76:[17, 86] Operation: 82+4=86
Exploring Operation: 82-17=65, Resulting Numbers: [4, 65]
Generated Node #0,0,2: 76:[4, 65] Operation: 82-17=65
Exploring Operation: 82-4=78, Resulting Numbers: [17, 78]
Generated Node #0,0,3: 76:[17, 78] Operation: 82-4=78
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 76:[17, 78], Operations: ['47-30=17', '82-4=78']
Exploring Operation: 17+78=95, Resulting Numbers: [95]
95,76 unequal: No Solution
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 17*78=1326, Resulting Numbers: [1326]
1326,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:[82, 21], Operations: ['47-30=17', '4+17=21']
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Exploring Operation: 82+21=103, Resulting Numbers: [103]
103,76 unequal: No Solution
Exploring Operation: 82*21=1722, Resulting Numbers: [1722]
1722,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:[4, 65], Operations: ['47-30=17', '82-17=65']
Exploring Operation: 4*65=260, Resulting Numbers: [260]
260,76 unequal: No Solution
Exploring Operation: 4+65=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,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:[17, 86], Operations: ['47-30=17', '82+4=86']
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 17+86=103, Resulting Numbers: [103]
103,76 unequal: No Solution
Exploring Operation: 17*86=1462, Resulting Numbers: [1462]
1462,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:[30, 4, 35], Operations: ['82-47=35']
Exploring Operation: 4+35=39, Resulting Numbers: [30, 39]
Generated Node #0,1,0: 76:[30, 39] Operation: 4+35=39
Exploring Operation: 35-30=5, Resulting Numbers: [4, 5]
Generated Node #0,1,1: 76:[4, 5] Operation: 35-30=5
Exploring Operation: 30+4=34, Resulting Numbers: [35, 34]
Generated Node #0,1,2: 76:[35, 34] Operation: 30+4=34
Exploring Operation: 30-4=26, Resulting Numbers: [35, 26]
Generated Node #0,1,3: 76:[35, 26] Operation: 30-4=26
Moving to Node #0,2
Current State: 76:[82, 47, 34], Operations: ['30+4=34']
Exploring Operation: 82-34=48, Resulting Numbers: [47, 48]
Generated Node #0,2,0: 76:[47, 48] Operation: 82-34=48
Exploring Operation: 47+34=81, Resulting Numbers: [82, 81]
Generated Node #0,2,1: 76:[82, 81] Operation: 47+34=81
Exploring Operation: 82-47=35, Resulting Numbers: [34, 35]
Generated Node #0,2,2: 76:[34, 35] Operation: 82-47=35
Exploring Operation: 47-34=13, Resulting Numbers: [82, 13]
Generated Node #0,2,3: 76:[82, 13] Operation: 47-34=13
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[34, 35], Operations: ['30+4=34', '82-47=35']
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,76 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,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,2,1
Current State: 76:[82, 81], Operations: ['30+4=34', '47+34=81']
Exploring Operation: 82+81=163, Resulting Numbers: [163]
163,76 unequal: No Solution
Exploring Operation: 82-81=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 82*81=6642, Resulting Numbers: [6642]
6642,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,2,3
Current State: 76:[82, 13], Operations: ['30+4=34', '47-34=13']
Exploring Operation: 82*13=1066, Resulting Numbers: [1066]
1066,76 unequal: No Solution
Exploring Operation: 82-13=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 82+13=95, Resulting Numbers: [95]
95,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,2,0
Current State: 76:[47, 48], Operations: ['30+4=34', '82-34=48']
Exploring Operation: 47*48=2256, Resulting Numbers: [2256]
2256,76 unequal: No Solution
Exploring Operation: 47+48=95, Resulting Numbers: [95]
95,76 unequal: No Solution
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 76:[4, 5], Operations: ['30+47=77', '82-77=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[4, 5], Operations: ['82-47=35', '35-30=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[77, 78], Operations: ['30+47=77', '82-4=78']
Exploring Operation: 78-77=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 77+78=155, Resulting Numbers: [155]
155,76 unequal: No Solution
Exploring Operation: 77*78=6006, Resulting Numbers: [6006]
6006,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[35, 34], Operations: ['82-47=35', '30+4=34']
Exploring Operation: 35+34=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 35*34=1190, Resulting Numbers: [1190]
1190,76 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[82, 73], Operations: ['30+47=77', '77-4=73']
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 82+73=155, Resulting Numbers: [155]
155,76 unequal: No Solution
Exploring Operation: 82*73=5986, Resulting Numbers: [5986]
5986,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[30, 39], Operations: ['82-47=35', '4+35=39']
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 30+39=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 30*39=1170, Resulting Numbers: [1170]
1170,76 unequal: No Solution
Moving to Node #0,1,3
Current State: 76:[35, 26], Operations: ['82-47=35', '30-4=26']
Exploring Operation: 35*26=910, Resulting Numbers: [910]
910,76 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[77, 86], Operations: ['30+47=77', '82+4=86']
Exploring Operation: 86-77=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 77+86=163, Resulting Numbers: [163]
163,76 unequal: No Solution
Exploring Operation: 77*86=6622, Resulting Numbers: [6622]
6622,76 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
10,
49,
54,
64
] | 59 | [
"10+49=59",
"54+64=118",
"118-59=59"
] | Current State: 59:[10, 49, 54, 64], Operations: []
Exploring Operation: 10+49=59, Resulting Numbers: [54, 64, 59]
Generated Node #2: [54, 64, 59] from Operation: 10+49=59
Current State: 59:[54, 64, 59], Operations: ['10+49=59']
Exploring Operation: 54+64=118, Resulting Numbers: [59, 118]
Generated Node #3: [59, 118] from Operation: 54+64=118
Current State: 59:[59, 118], Operations: ['10+49=59', '54+64=118']
Exploring Operation: 118-59=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[10, 49, 54, 64], Operations: []
Exploring Operation: 49-10=39, Resulting Numbers: [54, 64, 39]
Generated Node #0,0: 59:[54, 64, 39] Operation: 49-10=39
Exploring Operation: 10+49=59, Resulting Numbers: [54, 64, 59]
Generated Node #0,1: 59:[54, 64, 59] Operation: 10+49=59
Exploring Operation: 54-10=44, Resulting Numbers: [49, 64, 44]
Generated Node #0,2: 59:[49, 64, 44] Operation: 54-10=44
Exploring Operation: 64-10=54, Resulting Numbers: [49, 54, 54]
Generated Node #0,3: 59:[49, 54, 54] Operation: 64-10=54
Exploring Operation: 10+54=64, Resulting Numbers: [49, 64, 64]
Generated Node #0,4: 59:[49, 64, 64] Operation: 10+54=64
Moving to Node #0,1
Current State: 59:[54, 64, 59], Operations: ['10+49=59']
Exploring Operation: 54+59=113, Resulting Numbers: [64, 113]
Generated Node #0,1,0: 59:[64, 113] Operation: 54+59=113
Exploring Operation: 59-54=5, Resulting Numbers: [64, 5]
Generated Node #0,1,1: 59:[64, 5] Operation: 59-54=5
Exploring Operation: 54+64=118, Resulting Numbers: [59, 118]
Generated Node #0,1,2: 59:[59, 118] Operation: 54+64=118
Exploring Operation: 64-54=10, Resulting Numbers: [59, 10]
Generated Node #0,1,3: 59:[59, 10] Operation: 64-54=10
Exploring Operation: 64-59=5, Resulting Numbers: [54, 5]
Generated Node #0,1,4: 59:[54, 5] Operation: 64-59=5
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 59:[59, 10], Operations: ['10+49=59', '64-54=10']
Exploring Operation: 59+10=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 59*10=590, Resulting Numbers: [590]
590,59 unequal: No Solution
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,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,0
Current State: 59:[64, 113], Operations: ['10+49=59', '54+59=113']
Exploring Operation: 64*113=7232, Resulting Numbers: [7232]
7232,59 unequal: No Solution
Exploring Operation: 64+113=177, Resulting Numbers: [177]
177,59 unequal: No Solution
Exploring Operation: 113-64=49, Resulting Numbers: [49]
49,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:[64, 5], Operations: ['10+49=59', '59-54=5']
Exploring Operation: 64*5=320, Resulting Numbers: [320]
320,59 unequal: No Solution
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[10, 49, 54, 64], Operations: []
Exploring Operation: 10+49=59, Resulting Numbers: [54, 64, 59]
Generated Node #0,1: 59:[54, 64, 59] Operation: 10+49=59
Moving to Node #0,1
Current State: 59:[54, 64, 59], Operations: ['10+49=59']
Exploring Operation: 59-54=5, Resulting Numbers: [64, 5]
Generated Node #0,1,1: 59:[64, 5] Operation: 59-54=5
Moving to Node #0,1,1
Current State: 59:[64, 5], Operations: ['10+49=59', '59-54=5']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
4,
61,
92,
3
] | 79 | [
"61-4=57",
"3*57=171",
"171-92=79"
] | Current State: 79:[4, 61, 92, 3], Operations: []
Exploring Operation: 61-4=57, Resulting Numbers: [92, 3, 57]
Generated Node #2: [92, 3, 57] from Operation: 61-4=57
Current State: 79:[92, 3, 57], Operations: ['61-4=57']
Exploring Operation: 3*57=171, Resulting Numbers: [92, 171]
Generated Node #3: [92, 171] from Operation: 3*57=171
Current State: 79:[92, 171], Operations: ['61-4=57', '3*57=171']
Exploring Operation: 171-92=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[4, 61, 92, 3], Operations: []
Exploring Operation: 4+61=65, Resulting Numbers: [92, 3, 65]
Generated Node #0,0: 79:[92, 3, 65] Operation: 4+61=65
Exploring Operation: 92-4=88, Resulting Numbers: [61, 3, 88]
Generated Node #0,1: 79:[61, 3, 88] Operation: 92-4=88
Exploring Operation: 4*3=12, Resulting Numbers: [61, 92, 12]
Generated Node #0,2: 79:[61, 92, 12] Operation: 4*3=12
Moving to Node #0,2
Current State: 79:[61, 92, 12], Operations: ['4*3=12']
Exploring Operation: 61+12=73, Resulting Numbers: [92, 73]
Generated Node #0,2,0: 79:[92, 73] Operation: 61+12=73
Exploring Operation: 92-12=80, Resulting Numbers: [61, 80]
Generated Node #0,2,1: 79:[61, 80] Operation: 92-12=80
Exploring Operation: 61-12=49, Resulting Numbers: [92, 49]
Generated Node #0,2,2: 79:[92, 49] Operation: 61-12=49
Moving to Node #0,0
Current State: 79:[92, 3, 65], Operations: ['4+61=65']
Exploring Operation: 3+65=68, Resulting Numbers: [92, 68]
Generated Node #0,0,0: 79:[92, 68] Operation: 3+65=68
Exploring Operation: 92-3=89, Resulting Numbers: [65, 89]
Generated Node #0,0,1: 79:[65, 89] Operation: 92-3=89
Exploring Operation: 92+3=95, Resulting Numbers: [65, 95]
Generated Node #0,0,2: 79:[65, 95] Operation: 92+3=95
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[92, 68], Operations: ['4+61=65', '3+65=68']
Exploring Operation: 92+68=160, Resulting Numbers: [160]
160,79 unequal: No Solution
Exploring Operation: 92*68=6256, Resulting Numbers: [6256]
6256,79 unequal: No Solution
Exploring Operation: 92-68=24, Resulting Numbers: [24]
24,79 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: 79:[65, 89], Operations: ['4+61=65', '92-3=89']
Exploring Operation: 65+89=154, Resulting Numbers: [154]
154,79 unequal: No Solution
Exploring Operation: 89-65=24, Resulting Numbers: [24]
24,79 unequal: No Solution
Exploring Operation: 65*89=5785, Resulting Numbers: [5785]
5785,79 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: 79:[65, 95], Operations: ['4+61=65', '92+3=95']
Exploring Operation: 65*95=6175, Resulting Numbers: [6175]
6175,79 unequal: No Solution
Exploring Operation: 95-65=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 65+95=160, Resulting Numbers: [160]
160,79 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: 79:[61, 3, 88], Operations: ['92-4=88']
Exploring Operation: 88-3=85, Resulting Numbers: [61, 85]
Generated Node #0,1,0: 79:[61, 85] Operation: 88-3=85
Exploring Operation: 61-3=58, Resulting Numbers: [88, 58]
Generated Node #0,1,1: 79:[88, 58] Operation: 61-3=58
Exploring Operation: 61+3=64, Resulting Numbers: [88, 64]
Generated Node #0,1,2: 79:[88, 64] Operation: 61+3=64
Moving to Node #0,2,0
Current State: 79:[92, 73], Operations: ['4*3=12', '61+12=73']
Exploring Operation: 92-73=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 92*73=6716, Resulting Numbers: [6716]
6716,79 unequal: No Solution
Exploring Operation: 92+73=165, Resulting Numbers: [165]
165,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[61, 80], Operations: ['4*3=12', '92-12=80']
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 61*80=4880, Resulting Numbers: [4880]
4880,79 unequal: No Solution
Exploring Operation: 61+80=141, Resulting Numbers: [141]
141,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[88, 64], Operations: ['92-4=88', '61+3=64']
Exploring Operation: 88-64=24, Resulting Numbers: [24]
24,79 unequal: No Solution
Exploring Operation: 88*64=5632, Resulting Numbers: [5632]
5632,79 unequal: No Solution
Exploring Operation: 88+64=152, Resulting Numbers: [152]
152,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[61, 85], Operations: ['92-4=88', '88-3=85']
Exploring Operation: 61*85=5185, Resulting Numbers: [5185]
5185,79 unequal: No Solution
Exploring Operation: 61+85=146, Resulting Numbers: [146]
146,79 unequal: No Solution
Exploring Operation: 85-61=24, Resulting Numbers: [24]
24,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[88, 58], Operations: ['92-4=88', '61-3=58']
Exploring Operation: 88-58=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 88*58=5104, Resulting Numbers: [5104]
5104,79 unequal: No Solution
Exploring Operation: 88+58=146, Resulting Numbers: [146]
146,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[92, 49], Operations: ['4*3=12', '61-12=49']
Exploring Operation: 92+49=141, Resulting Numbers: [141]
141,79 unequal: No Solution
Exploring Operation: 92*49=4508, Resulting Numbers: [4508]
4508,79 unequal: No Solution
Exploring Operation: 92-49=43, Resulting Numbers: [43]
43,79 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
11,
79,
68,
85
] | 84 | [
"79-11=68",
"68/68=1",
"85-1=84"
] | Current State: 84:[11, 79, 68, 85], Operations: []
Exploring Operation: 79-11=68, Resulting Numbers: [68, 85, 68]
Generated Node #2: [68, 85, 68] from Operation: 79-11=68
Current State: 84:[68, 85, 68], Operations: ['79-11=68']
Exploring Operation: 68/68=1, Resulting Numbers: [85, 1]
Generated Node #3: [85, 1] from Operation: 68/68=1
Current State: 84:[85, 1], Operations: ['79-11=68', '68/68=1']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[11, 79, 68, 85], Operations: []
Exploring Operation: 85-68=17, Resulting Numbers: [11, 79, 17]
Generated Node #0,0: 84:[11, 79, 17] Operation: 85-68=17
Exploring Operation: 79-68=11, Resulting Numbers: [11, 85, 11]
Generated Node #0,1: 84:[11, 85, 11] Operation: 79-68=11
Exploring Operation: 11+68=79, Resulting Numbers: [79, 85, 79]
Generated Node #0,2: 84:[79, 85, 79] Operation: 11+68=79
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[11, 85, 11], Operations: ['79-68=11']
Exploring Operation: 11/11=1, Resulting Numbers: [85, 1]
Generated Node #0,1,0: 84:[85, 1] Operation: 11/11=1
Exploring Operation: 11+11=22, Resulting Numbers: [85, 22]
Generated Node #0,1,1: 84:[85, 22] Operation: 11+11=22
Exploring Operation: 11-11=0, Resulting Numbers: [85, 0]
Generated Node #0,1,2: 84:[85, 0] Operation: 11-11=0
Moving to Node #0,1,0
Current State: 84:[85, 1], Operations: ['79-68=11', '11/11=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[11, 79, 68, 85], Operations: []
Exploring Operation: 79-68=11, Resulting Numbers: [11, 85, 11]
Generated Node #0,1: 84:[11, 85, 11] Operation: 79-68=11
Moving to Node #0,1
Current State: 84:[11, 85, 11], Operations: ['79-68=11']
Exploring Operation: 11/11=1, Resulting Numbers: [85, 1]
Generated Node #0,1,0: 84:[85, 1] Operation: 11/11=1
Moving to Node #0,1,0
Current State: 84:[85, 1], Operations: ['79-68=11', '11/11=1']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
1,
1,
89,
94
] | 10 | [
"1+1=2",
"94-89=5",
"2*5=10"
] | Current State: 10:[1, 1, 89, 94], Operations: []
Exploring Operation: 1+1=2, Resulting Numbers: [89, 94, 2]
Generated Node #2: [89, 94, 2] from Operation: 1+1=2
Current State: 10:[89, 94, 2], Operations: ['1+1=2']
Exploring Operation: 94-89=5, Resulting Numbers: [2, 5]
Generated Node #3: [2, 5] from Operation: 94-89=5
Current State: 10:[2, 5], Operations: ['1+1=2', '94-89=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[1, 1, 89, 94], Operations: []
Exploring Operation: 1+1=2, Resulting Numbers: [89, 94, 2]
Generated Node #0,0: 10:[89, 94, 2] Operation: 1+1=2
Exploring Operation: 89-1=88, Resulting Numbers: [1, 94, 88]
Generated Node #0,1: 10:[1, 94, 88] Operation: 89-1=88
Exploring Operation: 94-1=93, Resulting Numbers: [1, 89, 93]
Generated Node #0,2: 10:[1, 89, 93] Operation: 94-1=93
Exploring Operation: 94-89=5, Resulting Numbers: [1, 1, 5]
Generated Node #0,3: 10:[1, 1, 5] Operation: 94-89=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[1, 1, 5], Operations: ['94-89=5']
Exploring Operation: 1*5=5, Resulting Numbers: [1, 5]
Generated Node #0,3,0: 10:[1, 5] Operation: 1*5=5
Exploring Operation: 1*1=1, Resulting Numbers: [5, 1]
Generated Node #0,3,1: 10:[5, 1] Operation: 1*1=1
Exploring Operation: 1/1=1, Resulting Numbers: [5, 1]
Generated Node #0,3,2: 10:[5, 1] Operation: 1/1=1
Exploring Operation: 1+1=2, Resulting Numbers: [5, 2]
Generated Node #0,3,3: 10:[5, 2] Operation: 1+1=2
Moving to Node #0,3,3
Current State: 10:[5, 2], Operations: ['94-89=5', '1+1=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[1, 1, 89, 94], Operations: []
Exploring Operation: 94-89=5, Resulting Numbers: [1, 1, 5]
Generated Node #0,3: 10:[1, 1, 5] Operation: 94-89=5
Moving to Node #0,3
Current State: 10:[1, 1, 5], Operations: ['94-89=5']
Exploring Operation: 1+1=2, Resulting Numbers: [5, 2]
Generated Node #0,3,3: 10:[5, 2] Operation: 1+1=2
Moving to Node #0,3,3
Current State: 10:[5, 2], Operations: ['94-89=5', '1+1=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
53,
45,
24,
12
] | 44 | [
"53-45=8",
"24+12=36",
"8+36=44"
] | Current State: 44:[53, 45, 24, 12], Operations: []
Exploring Operation: 53-45=8, Resulting Numbers: [24, 12, 8]
Generated Node #2: [24, 12, 8] from Operation: 53-45=8
Current State: 44:[24, 12, 8], Operations: ['53-45=8']
Exploring Operation: 24+12=36, Resulting Numbers: [8, 36]
Generated Node #3: [8, 36] from Operation: 24+12=36
Current State: 44:[8, 36], Operations: ['53-45=8', '24+12=36']
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[53, 45, 24, 12], Operations: []
Exploring Operation: 53-12=41, Resulting Numbers: [45, 24, 41]
Generated Node #0,0: 44:[45, 24, 41] Operation: 53-12=41
Exploring Operation: 53-45=8, Resulting Numbers: [24, 12, 8]
Generated Node #0,1: 44:[24, 12, 8] Operation: 53-45=8
Moving to Node #0,0
Current State: 44:[45, 24, 41], Operations: ['53-12=41']
Exploring Operation: 45-41=4, Resulting Numbers: [24, 4]
Generated Node #0,0,0: 44:[24, 4] Operation: 45-41=4
Exploring Operation: 45-24=21, Resulting Numbers: [41, 21]
Generated Node #0,0,1: 44:[41, 21] Operation: 45-24=21
Moving to Node #0,1
Current State: 44:[24, 12, 8], Operations: ['53-45=8']
Exploring Operation: 24/8=3, Resulting Numbers: [12, 3]
Generated Node #0,1,0: 44:[12, 3] Operation: 24/8=3
Exploring Operation: 12-8=4, Resulting Numbers: [24, 4]
Generated Node #0,1,1: 44:[24, 4] Operation: 12-8=4
Moving to Node #0,0,0
Current State: 44:[24, 4], Operations: ['53-12=41', '45-41=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[12, 3], Operations: ['53-45=8', '24/8=3']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[24, 4], Operations: ['53-45=8', '12-8=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[41, 21], Operations: ['53-12=41', '45-24=21']
Exploring Operation: 41+21=62, Resulting Numbers: [62]
62,44 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,44 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
84,
4,
66,
85
] | 61 | [
"84-4=80",
"85-66=19",
"80-19=61"
] | Current State: 61:[84, 4, 66, 85], Operations: []
Exploring Operation: 84-4=80, Resulting Numbers: [66, 85, 80]
Generated Node #2: [66, 85, 80] from Operation: 84-4=80
Current State: 61:[66, 85, 80], Operations: ['84-4=80']
Exploring Operation: 85-66=19, Resulting Numbers: [80, 19]
Generated Node #3: [80, 19] from Operation: 85-66=19
Current State: 61:[80, 19], Operations: ['84-4=80', '85-66=19']
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[84, 4, 66, 85], Operations: []
Exploring Operation: 66-4=62, Resulting Numbers: [84, 85, 62]
Generated Node #0,0: 61:[84, 85, 62] Operation: 66-4=62
Exploring Operation: 84-4=80, Resulting Numbers: [66, 85, 80]
Generated Node #0,1: 61:[66, 85, 80] Operation: 84-4=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[84, 85, 62], Operations: ['66-4=62']
Exploring Operation: 85-62=23, Resulting Numbers: [84, 23]
Generated Node #0,0,0: 61:[84, 23] Operation: 85-62=23
Exploring Operation: 85-84=1, Resulting Numbers: [62, 1]
Generated Node #0,0,1: 61:[62, 1] Operation: 85-84=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[84, 23], Operations: ['66-4=62', '85-62=23']
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[84, 4, 66, 85], Operations: []
Exploring Operation: 66-4=62, Resulting Numbers: [84, 85, 62]
Generated Node #0,0: 61:[84, 85, 62] Operation: 66-4=62
Moving to Node #0,0
Current State: 61:[84, 85, 62], Operations: ['66-4=62']
Exploring Operation: 85-62=23, Resulting Numbers: [84, 23]
Generated Node #0,0,0: 61:[84, 23] Operation: 85-62=23
Moving to Node #0,0,0
Current State: 61:[84, 23], Operations: ['66-4=62', '85-62=23']
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
22,
41,
70,
2
] | 91 | [
"41-22=19",
"70+2=72",
"19+72=91"
] | Current State: 91:[22, 41, 70, 2], Operations: []
Exploring Operation: 41-22=19, Resulting Numbers: [70, 2, 19]
Generated Node #2: [70, 2, 19] from Operation: 41-22=19
Current State: 91:[70, 2, 19], Operations: ['41-22=19']
Exploring Operation: 70+2=72, Resulting Numbers: [19, 72]
Generated Node #3: [19, 72] from Operation: 70+2=72
Current State: 91:[19, 72], Operations: ['41-22=19', '70+2=72']
Exploring Operation: 19+72=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[22, 41, 70, 2], Operations: []
Exploring Operation: 41-22=19, Resulting Numbers: [70, 2, 19]
Generated Node #0,0: 91:[70, 2, 19] Operation: 41-22=19
Exploring Operation: 41+70=111, Resulting Numbers: [22, 2, 111]
Generated Node #0,1: 91:[22, 2, 111] Operation: 41+70=111
Exploring Operation: 70-41=29, Resulting Numbers: [22, 2, 29]
Generated Node #0,2: 91:[22, 2, 29] Operation: 70-41=29
Exploring Operation: 22+70=92, Resulting Numbers: [41, 2, 92]
Generated Node #0,3: 91:[41, 2, 92] Operation: 22+70=92
Exploring Operation: 41*2=82, Resulting Numbers: [22, 70, 82]
Generated Node #0,4: 91:[22, 70, 82] Operation: 41*2=82
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[22, 2, 29], Operations: ['70-41=29']
Exploring Operation: 29-2=27, Resulting Numbers: [22, 27]
Generated Node #0,2,0: 91:[22, 27] Operation: 29-2=27
Exploring Operation: 29-22=7, Resulting Numbers: [2, 7]
Generated Node #0,2,1: 91:[2, 7] Operation: 29-22=7
Exploring Operation: 22+2=24, Resulting Numbers: [29, 24]
Generated Node #0,2,2: 91:[29, 24] Operation: 22+2=24
Exploring Operation: 22/2=11, Resulting Numbers: [29, 11]
Generated Node #0,2,3: 91:[29, 11] Operation: 22/2=11
Exploring Operation: 22-2=20, Resulting Numbers: [29, 20]
Generated Node #0,2,4: 91:[29, 20] Operation: 22-2=20
Moving to Node #0,2,1
Current State: 91:[2, 7], Operations: ['70-41=29', '29-22=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Moving to Node #0,2,3
Current State: 91:[29, 11], Operations: ['70-41=29', '22/2=11']
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Exploring Operation: 29+11=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Exploring Operation: 29*11=319, Resulting Numbers: [319]
319,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[22, 27], Operations: ['70-41=29', '29-2=27']
Exploring Operation: 22*27=594, Resulting Numbers: [594]
594,91 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 22+27=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Moving to Node #0,2,4
Current State: 91:[29, 20], Operations: ['70-41=29', '22-2=20']
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,91 unequal: No Solution
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[29, 24], Operations: ['70-41=29', '22+2=24']
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,91 unequal: No Solution
Exploring Operation: 29*24=696, Resulting Numbers: [696]
696,91 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,91 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: 91:[70, 2, 19], Operations: ['41-22=19']
Exploring Operation: 70+19=89, Resulting Numbers: [2, 89]
Generated Node #0,0,0: 91:[2, 89] Operation: 70+19=89
Exploring Operation: 70-2=68, Resulting Numbers: [19, 68]
Generated Node #0,0,1: 91:[19, 68] Operation: 70-2=68
Exploring Operation: 70/2=35, Resulting Numbers: [19, 35]
Generated Node #0,0,2: 91:[19, 35] Operation: 70/2=35
Exploring Operation: 70+2=72, Resulting Numbers: [19, 72]
Generated Node #0,0,3: 91:[19, 72] Operation: 70+2=72
Exploring Operation: 19-2=17, Resulting Numbers: [70, 17]
Generated Node #0,0,4: 91:[70, 17] Operation: 19-2=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[2, 89], Operations: ['41-22=19', '70+19=89']
Exploring Operation: 2*89=178, Resulting Numbers: [178]
178,91 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,91 unequal: No Solution
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[22, 41, 70, 2], Operations: []
Exploring Operation: 41-22=19, Resulting Numbers: [70, 2, 19]
Generated Node #0,0: 91:[70, 2, 19] Operation: 41-22=19
Moving to Node #0,0
Current State: 91:[70, 2, 19], Operations: ['41-22=19']
Exploring Operation: 70+19=89, Resulting Numbers: [2, 89]
Generated Node #0,0,0: 91:[2, 89] Operation: 70+19=89
Moving to Node #0,0,0
Current State: 91:[2, 89], Operations: ['41-22=19', '70+19=89']
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
80,
43,
26,
54
] | 42 | [
"80-26=54",
"54/54=1",
"43-1=42"
] | Current State: 42:[80, 43, 26, 54], Operations: []
Exploring Operation: 80-26=54, Resulting Numbers: [43, 54, 54]
Generated Node #2: [43, 54, 54] from Operation: 80-26=54
Current State: 42:[43, 54, 54], Operations: ['80-26=54']
Exploring Operation: 54/54=1, Resulting Numbers: [43, 1]
Generated Node #3: [43, 1] from Operation: 54/54=1
Current State: 42:[43, 1], Operations: ['80-26=54', '54/54=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[80, 43, 26, 54], Operations: []
Exploring Operation: 80-54=26, Resulting Numbers: [43, 26, 26]
Generated Node #0,0: 42:[43, 26, 26] Operation: 80-54=26
Exploring Operation: 80-26=54, Resulting Numbers: [43, 54, 54]
Generated Node #0,1: 42:[43, 54, 54] Operation: 80-26=54
Exploring Operation: 80-43=37, Resulting Numbers: [26, 54, 37]
Generated Node #0,2: 42:[26, 54, 37] Operation: 80-43=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[43, 26, 26], Operations: ['80-54=26']
Exploring Operation: 43-26=17, Resulting Numbers: [26, 17]
Generated Node #0,0,0: 42:[26, 17] Operation: 43-26=17
Exploring Operation: 26-26=0, Resulting Numbers: [43, 0]
Generated Node #0,0,1: 42:[43, 0] Operation: 26-26=0
Exploring Operation: 26/26=1, Resulting Numbers: [43, 1]
Generated Node #0,0,2: 42:[43, 1] Operation: 26/26=1
Moving to Node #0,0,2
Current State: 42:[43, 1], Operations: ['80-54=26', '26/26=1']
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[80, 43, 26, 54], Operations: []
Exploring Operation: 80-54=26, Resulting Numbers: [43, 26, 26]
Generated Node #0,0: 42:[43, 26, 26] Operation: 80-54=26
Moving to Node #0,0
Current State: 42:[43, 26, 26], Operations: ['80-54=26']
Exploring Operation: 26/26=1, Resulting Numbers: [43, 1]
Generated Node #0,0,2: 42:[43, 1] Operation: 26/26=1
Moving to Node #0,0,2
Current State: 42:[43, 1], Operations: ['80-54=26', '26/26=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
9,
88,
70,
67
] | 61 | [
"70-67=3",
"9*3=27",
"88-27=61"
] | Current State: 61:[9, 88, 70, 67], Operations: []
Exploring Operation: 70-67=3, Resulting Numbers: [9, 88, 3]
Generated Node #2: [9, 88, 3] from Operation: 70-67=3
Current State: 61:[9, 88, 3], Operations: ['70-67=3']
Exploring Operation: 9*3=27, Resulting Numbers: [88, 27]
Generated Node #3: [88, 27] from Operation: 9*3=27
Current State: 61:[88, 27], Operations: ['70-67=3', '9*3=27']
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[9, 88, 70, 67], Operations: []
Exploring Operation: 70-9=61, Resulting Numbers: [88, 67, 61]
Generated Node #0,0: 61:[88, 67, 61] Operation: 70-9=61
Exploring Operation: 88-9=79, Resulting Numbers: [70, 67, 79]
Generated Node #0,1: 61:[70, 67, 79] Operation: 88-9=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[88, 67, 61], Operations: ['70-9=61']
Exploring Operation: 88-67=21, Resulting Numbers: [61, 21]
Generated Node #0,0,0: 61:[61, 21] Operation: 88-67=21
Exploring Operation: 88-61=27, Resulting Numbers: [67, 27]
Generated Node #0,0,1: 61:[67, 27] Operation: 88-61=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[61, 21], Operations: ['70-9=61', '88-67=21']
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,61 unequal: No Solution
Exploring Operation: 61+21=82, Resulting Numbers: [82]
82,61 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: 61:[67, 27], Operations: ['70-9=61', '88-61=27']
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,61 unequal: No Solution
Exploring Operation: 67+27=94, Resulting Numbers: [94]
94,61 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: 61:[70, 67, 79], Operations: ['88-9=79']
Exploring Operation: 79-70=9, Resulting Numbers: [67, 9]
Generated Node #0,1,0: 61:[67, 9] Operation: 79-70=9
Exploring Operation: 79-67=12, Resulting Numbers: [70, 12]
Generated Node #0,1,1: 61:[70, 12] Operation: 79-67=12
Moving to Node #0,1,0
Current State: 61:[67, 9], Operations: ['88-9=79', '79-70=9']
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,61 unequal: No Solution
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[70, 12], Operations: ['88-9=79', '79-67=12']
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,61 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,61 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.