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 |
|---|---|---|---|---|---|---|---|---|
[
54,
46,
76,
30
] | 38 | [
"54-46=8",
"76-30=46",
"46-8=38"
] | Current State: 38:[54, 46, 76, 30], Operations: []
Exploring Operation: 54-46=8, Resulting Numbers: [76, 30, 8]
Generated Node #2: [76, 30, 8] from Operation: 54-46=8
Current State: 38:[76, 30, 8], Operations: ['54-46=8']
Exploring Operation: 76-30=46, Resulting Numbers: [8, 46]
Generated Node #3: [8, 46] from Operation: 76-30=46
Current State: 38:[8, 46], Operations: ['54-46=8', '76-30=46']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[54, 46, 76, 30], Operations: []
Exploring Operation: 54-46=8, Resulting Numbers: [76, 30, 8]
Generated Node #0,0: 38:[76, 30, 8] Operation: 54-46=8
Exploring Operation: 76-54=22, Resulting Numbers: [46, 30, 22]
Generated Node #0,1: 38:[46, 30, 22] Operation: 76-54=22
Exploring Operation: 76-46=30, Resulting Numbers: [54, 30, 30]
Generated Node #0,2: 38:[54, 30, 30] Operation: 76-46=30
Exploring Operation: 54-30=24, Resulting Numbers: [46, 76, 24]
Generated Node #0,3: 38:[46, 76, 24] Operation: 54-30=24
Exploring Operation: 76-30=46, Resulting Numbers: [54, 46, 46]
Generated Node #0,4: 38:[54, 46, 46] Operation: 76-30=46
Moving to Node #0,1
Current State: 38:[46, 30, 22], Operations: ['76-54=22']
Exploring Operation: 30+22=52, Resulting Numbers: [46, 52]
Generated Node #0,1,0: 38:[46, 52] Operation: 30+22=52
Exploring Operation: 46+22=68, Resulting Numbers: [30, 68]
Generated Node #0,1,1: 38:[30, 68] Operation: 46+22=68
Exploring Operation: 46-30=16, Resulting Numbers: [22, 16]
Generated Node #0,1,2: 38:[22, 16] Operation: 46-30=16
Exploring Operation: 46-22=24, Resulting Numbers: [30, 24]
Generated Node #0,1,3: 38:[30, 24] Operation: 46-22=24
Exploring Operation: 30-22=8, Resulting Numbers: [46, 8]
Generated Node #0,1,4: 38:[46, 8] Operation: 30-22=8
Moving to Node #0,4
Current State: 38:[54, 46, 46], Operations: ['76-30=46']
Exploring Operation: 54-46=8, Resulting Numbers: [46, 8]
Generated Node #0,4,0: 38:[46, 8] Operation: 54-46=8
Exploring Operation: 46-46=0, Resulting Numbers: [54, 0]
Generated Node #0,4,1: 38:[54, 0] Operation: 46-46=0
Exploring Operation: 54+46=100, Resulting Numbers: [46, 100]
Generated Node #0,4,2: 38:[46, 100] Operation: 54+46=100
Exploring Operation: 54-46=8, Resulting Numbers: [46, 8]
Generated Node #0,4,3: 38:[46, 8] Operation: 54-46=8
Exploring Operation: 46/46=1, Resulting Numbers: [54, 1]
Generated Node #0,4,4: 38:[54, 1] Operation: 46/46=1
Moving to Node #0,2
Current State: 38:[54, 30, 30], Operations: ['76-46=30']
Exploring Operation: 54-30=24, Resulting Numbers: [30, 24]
Generated Node #0,2,0: 38:[30, 24] Operation: 54-30=24
Exploring Operation: 30/30=1, Resulting Numbers: [54, 1]
Generated Node #0,2,1: 38:[54, 1] Operation: 30/30=1
Exploring Operation: 30-30=0, Resulting Numbers: [54, 0]
Generated Node #0,2,2: 38:[54, 0] Operation: 30-30=0
Exploring Operation: 54-30=24, Resulting Numbers: [30, 24]
Generated Node #0,2,3: 38:[30, 24] Operation: 54-30=24
Exploring Operation: 30+30=60, Resulting Numbers: [54, 60]
Generated Node #0,2,4: 38:[54, 60] Operation: 30+30=60
Moving to Node #0,3
Current State: 38:[46, 76, 24], Operations: ['54-30=24']
Exploring Operation: 76-46=30, Resulting Numbers: [24, 30]
Generated Node #0,3,0: 38:[24, 30] Operation: 76-46=30
Exploring Operation: 46+24=70, Resulting Numbers: [76, 70]
Generated Node #0,3,1: 38:[76, 70] Operation: 46+24=70
Exploring Operation: 76-24=52, Resulting Numbers: [46, 52]
Generated Node #0,3,2: 38:[46, 52] Operation: 76-24=52
Exploring Operation: 46-24=22, Resulting Numbers: [76, 22]
Generated Node #0,3,3: 38:[76, 22] Operation: 46-24=22
Exploring Operation: 76+24=100, Resulting Numbers: [46, 100]
Generated Node #0,3,4: 38:[46, 100] Operation: 76+24=100
Moving to Node #0,0
Current State: 38:[76, 30, 8], Operations: ['54-46=8']
Exploring Operation: 76+8=84, Resulting Numbers: [30, 84]
Generated Node #0,0,0: 38:[30, 84] Operation: 76+8=84
Exploring Operation: 76-8=68, Resulting Numbers: [30, 68]
Generated Node #0,0,1: 38:[30, 68] Operation: 76-8=68
Exploring Operation: 30+8=38, Resulting Numbers: [76, 38]
Generated Node #0,0,2: 38:[76, 38] Operation: 30+8=38
Exploring Operation: 30-8=22, Resulting Numbers: [76, 22]
Generated Node #0,0,3: 38:[76, 22] Operation: 30-8=22
Exploring Operation: 76-30=46, Resulting Numbers: [8, 46]
Generated Node #0,0,4: 38:[8, 46] Operation: 76-30=46
Moving to Node #0,1,2
Current State: 38:[22, 16], Operations: ['76-54=22', '46-30=16']
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,38 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[54, 46, 76, 30], Operations: []
Exploring Operation: 76-54=22, Resulting Numbers: [46, 30, 22]
Generated Node #0,1: 38:[46, 30, 22] Operation: 76-54=22
Moving to Node #0,1
Current State: 38:[46, 30, 22], Operations: ['76-54=22']
Exploring Operation: 46-30=16, Resulting Numbers: [22, 16]
Generated Node #0,1,2: 38:[22, 16] Operation: 46-30=16
Moving to Node #0,1,2
Current State: 38:[22, 16], Operations: ['76-54=22', '46-30=16']
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.96875 | hs_5 | sum_heuristic |
[
8,
52,
53,
9
] | 44 | [
"8*53=424",
"52*9=468",
"468-424=44"
] | Current State: 44:[8, 52, 53, 9], Operations: []
Exploring Operation: 8*53=424, Resulting Numbers: [52, 9, 424]
Generated Node #2: [52, 9, 424] from Operation: 8*53=424
Current State: 44:[52, 9, 424], Operations: ['8*53=424']
Exploring Operation: 52*9=468, Resulting Numbers: [424, 468]
Generated Node #3: [424, 468] from Operation: 52*9=468
Current State: 44:[424, 468], Operations: ['8*53=424', '52*9=468']
Exploring Operation: 468-424=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[8, 52, 53, 9], Operations: []
Exploring Operation: 53-9=44, Resulting Numbers: [8, 52, 44]
Generated Node #0,0: 44:[8, 52, 44] Operation: 53-9=44
Exploring Operation: 52-9=43, Resulting Numbers: [8, 53, 43]
Generated Node #0,1: 44:[8, 53, 43] Operation: 52-9=43
Exploring Operation: 53-8=45, Resulting Numbers: [52, 9, 45]
Generated Node #0,2: 44:[52, 9, 45] Operation: 53-8=45
Exploring Operation: 53-52=1, Resulting Numbers: [8, 9, 1]
Generated Node #0,3: 44:[8, 9, 1] Operation: 53-52=1
Exploring Operation: 52-8=44, Resulting Numbers: [53, 9, 44]
Generated Node #0,4: 44:[53, 9, 44] Operation: 52-8=44
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[8, 9, 1], Operations: ['53-52=1']
Exploring Operation: 9+1=10, Resulting Numbers: [8, 10]
Generated Node #0,3,0: 44:[8, 10] Operation: 9+1=10
Exploring Operation: 8-1=7, Resulting Numbers: [9, 7]
Generated Node #0,3,1: 44:[9, 7] Operation: 8-1=7
Exploring Operation: 9-8=1, Resulting Numbers: [1, 1]
Generated Node #0,3,2: 44:[1, 1] Operation: 9-8=1
Exploring Operation: 8+1=9, Resulting Numbers: [9, 9]
Generated Node #0,3,3: 44:[9, 9] Operation: 8+1=9
Exploring Operation: 8*1=8, Resulting Numbers: [9, 8]
Generated Node #0,3,4: 44:[9, 8] Operation: 8*1=8
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 44:[1, 1], Operations: ['53-52=1', '9-8=1']
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 1-1=0, Resulting Numbers: [0]
0,44 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: 44:[8, 10], Operations: ['53-52=1', '9+1=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,44 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: 44:[9, 9], Operations: ['53-52=1', '8+1=9']
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,44 unequal: No Solution
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,44 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: 44:[9, 7], Operations: ['53-52=1', '8-1=7']
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,44 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,44 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: 44:[9, 8], Operations: ['53-52=1', '8*1=8']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,44 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: 44:[8, 52, 44], Operations: ['53-9=44']
Exploring Operation: 52-8=44, Resulting Numbers: [44, 44]
Generated Node #0,0,0: 44:[44, 44] Operation: 52-8=44
Exploring Operation: 8+52=60, Resulting Numbers: [44, 60]
Generated Node #0,0,1: 44:[44, 60] Operation: 8+52=60
Exploring Operation: 52-44=8, Resulting Numbers: [8, 8]
Generated Node #0,0,2: 44:[8, 8] Operation: 52-44=8
Exploring Operation: 8+44=52, Resulting Numbers: [52, 52]
Generated Node #0,0,3: 44:[52, 52] Operation: 8+44=52
Exploring Operation: 44-8=36, Resulting Numbers: [52, 36]
Generated Node #0,0,4: 44:[52, 36] Operation: 44-8=36
Moving to Node #0,0,0
Current State: 44:[44, 44], Operations: ['53-9=44', '52-8=44']
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,44 unequal: No Solution
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[8, 8], Operations: ['53-9=44', '52-44=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,44 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[44, 60], Operations: ['53-9=44', '8+52=60']
Exploring Operation: 44+60=104, Resulting Numbers: [104]
104,44 unequal: No Solution
Exploring Operation: 44*60=2640, Resulting Numbers: [2640]
2640,44 unequal: No Solution
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Moving to Node #0,0,3
Current State: 44:[52, 52], Operations: ['53-9=44', '8+44=52']
Exploring Operation: 52+52=104, Resulting Numbers: [104]
104,44 unequal: No Solution
Exploring Operation: 52-52=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 52/52=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 52*52=2704, Resulting Numbers: [2704]
2704,44 unequal: No Solution
Moving to Node #0,0,4
Current State: 44:[52, 36], Operations: ['53-9=44', '44-8=36']
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 52*36=1872, Resulting Numbers: [1872]
1872,44 unequal: No Solution
Exploring Operation: 52+36=88, Resulting Numbers: [88]
88,44 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: 44:[52, 9, 45], Operations: ['53-8=45']
Exploring Operation: 52-45=7, Resulting Numbers: [9, 7]
Generated Node #0,2,0: 44:[9, 7] Operation: 52-45=7
Exploring Operation: 52-9=43, Resulting Numbers: [45, 43]
Generated Node #0,2,1: 44:[45, 43] Operation: 52-9=43
Exploring Operation: 45/9=5, Resulting Numbers: [52, 5]
Generated Node #0,2,2: 44:[52, 5] Operation: 45/9=5
Exploring Operation: 45-9=36, Resulting Numbers: [52, 36]
Generated Node #0,2,3: 44:[52, 36] Operation: 45-9=36
Exploring Operation: 52+9=61, Resulting Numbers: [45, 61]
Generated Node #0,2,4: 44:[45, 61] Operation: 52+9=61
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 44:[45, 43], Operations: ['53-8=45', '52-9=43']
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 45+43=88, Resulting Numbers: [88]
88,44 unequal: No Solution
Exploring Operation: 45*43=1935, Resulting Numbers: [1935]
1935,44 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: 44:[9, 7], Operations: ['53-8=45', '52-45=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,44 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: 44:[52, 5], Operations: ['53-8=45', '45/9=5']
Exploring Operation: 52*5=260, Resulting Numbers: [260]
260,44 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,44 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: 44:[52, 36], Operations: ['53-8=45', '45-9=36']
Exploring Operation: 52+36=88, Resulting Numbers: [88]
88,44 unequal: No Solution
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 52*36=1872, Resulting Numbers: [1872]
1872,44 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: 44:[45, 61], Operations: ['53-8=45', '52+9=61']
Exploring Operation: 45+61=106, Resulting Numbers: [106]
106,44 unequal: No Solution
Exploring Operation: 45*61=2745, Resulting Numbers: [2745]
2745,44 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,44 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: 44:[53, 9, 44], Operations: ['52-8=44']
Exploring Operation: 53+9=62, Resulting Numbers: [44, 62]
Generated Node #0,4,0: 44:[44, 62] Operation: 53+9=62
Exploring Operation: 9+44=53, Resulting Numbers: [53, 53]
Generated Node #0,4,1: 44:[53, 53] Operation: 9+44=53
Exploring Operation: 53-9=44, Resulting Numbers: [44, 44]
Generated Node #0,4,2: 44:[44, 44] Operation: 53-9=44
Exploring Operation: 53-44=9, Resulting Numbers: [9, 9]
Generated Node #0,4,3: 44:[9, 9] Operation: 53-44=9
Exploring Operation: 44-9=35, Resulting Numbers: [53, 35]
Generated Node #0,4,4: 44:[53, 35] Operation: 44-9=35
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 44:[44, 44], Operations: ['52-8=44', '53-9=44']
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,44 unequal: No Solution
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,44 unequal: No Solution
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,44 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: 44:[9, 9], Operations: ['52-8=44', '53-44=9']
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,44 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: 44:[44, 62], Operations: ['52-8=44', '53+9=62']
Exploring Operation: 44*62=2728, Resulting Numbers: [2728]
2728,44 unequal: No Solution
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 44+62=106, Resulting Numbers: [106]
106,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 44:[53, 53], Operations: ['52-8=44', '9+44=53']
Exploring Operation: 53+53=106, Resulting Numbers: [106]
106,44 unequal: No Solution
Exploring Operation: 53-53=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 53*53=2809, Resulting Numbers: [2809]
2809,44 unequal: No Solution
Exploring Operation: 53/53=1, Resulting Numbers: [1]
1,44 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: 44:[53, 35], Operations: ['52-8=44', '44-9=35']
Exploring Operation: 53+35=88, Resulting Numbers: [88]
88,44 unequal: No Solution
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 53*35=1855, Resulting Numbers: [1855]
1855,44 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: 44:[8, 53, 43], Operations: ['52-9=43']
Exploring Operation: 53-43=10, Resulting Numbers: [8, 10]
Generated Node #0,1,0: 44:[8, 10] Operation: 53-43=10
Exploring Operation: 53-8=45, Resulting Numbers: [43, 45]
Generated Node #0,1,1: 44:[43, 45] Operation: 53-8=45
Exploring Operation: 8+43=51, Resulting Numbers: [53, 51]
Generated Node #0,1,2: 44:[53, 51] Operation: 8+43=51
Exploring Operation: 43-8=35, Resulting Numbers: [53, 35]
Generated Node #0,1,3: 44:[53, 35] Operation: 43-8=35
Exploring Operation: 8+53=61, Resulting Numbers: [43, 61]
Generated Node #0,1,4: 44:[43, 61] Operation: 8+53=61
Moving to Node #0,1,1
Current State: 44:[43, 45], Operations: ['52-9=43', '53-8=45']
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,44 unequal: No Solution
Exploring Operation: 43*45=1935, Resulting Numbers: [1935]
1935,44 unequal: No Solution
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[8, 10], Operations: ['52-9=43', '53-43=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,44 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[53, 51], Operations: ['52-9=43', '8+43=51']
Exploring Operation: 53*51=2703, Resulting Numbers: [2703]
2703,44 unequal: No Solution
Exploring Operation: 53+51=104, Resulting Numbers: [104]
104,44 unequal: No Solution
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Moving to Node #0,1,3
Current State: 44:[53, 35], Operations: ['52-9=43', '43-8=35']
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 53+35=88, Resulting Numbers: [88]
88,44 unequal: No Solution
Exploring Operation: 53*35=1855, Resulting Numbers: [1855]
1855,44 unequal: No Solution
Moving to Node #0,1,4
Current State: 44:[43, 61], Operations: ['52-9=43', '8+53=61']
Exploring Operation: 43*61=2623, Resulting Numbers: [2623]
2623,44 unequal: No Solution
Exploring Operation: 43+61=104, Resulting Numbers: [104]
104,44 unequal: No Solution
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
55,
82,
76,
34
] | 83 | [
"82-55=27",
"76+34=110",
"110-27=83"
] | Current State: 83:[55, 82, 76, 34], Operations: []
Exploring Operation: 82-55=27, Resulting Numbers: [76, 34, 27]
Generated Node #2: [76, 34, 27] from Operation: 82-55=27
Current State: 83:[76, 34, 27], Operations: ['82-55=27']
Exploring Operation: 76+34=110, Resulting Numbers: [27, 110]
Generated Node #3: [27, 110] from Operation: 76+34=110
Current State: 83:[27, 110], Operations: ['82-55=27', '76+34=110']
Exploring Operation: 110-27=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[55, 82, 76, 34], Operations: []
Exploring Operation: 55+34=89, Resulting Numbers: [82, 76, 89]
Generated Node #0,0: 83:[82, 76, 89] Operation: 55+34=89
Exploring Operation: 76+34=110, Resulting Numbers: [55, 82, 110]
Generated Node #0,1: 83:[55, 82, 110] Operation: 76+34=110
Exploring Operation: 82+34=116, Resulting Numbers: [55, 76, 116]
Generated Node #0,2: 83:[55, 76, 116] Operation: 82+34=116
Exploring Operation: 55-34=21, Resulting Numbers: [82, 76, 21]
Generated Node #0,3: 83:[82, 76, 21] Operation: 55-34=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[82, 76, 89], Operations: ['55+34=89']
Exploring Operation: 89-76=13, Resulting Numbers: [82, 13]
Generated Node #0,0,0: 83:[82, 13] Operation: 89-76=13
Exploring Operation: 82+76=158, Resulting Numbers: [89, 158]
Generated Node #0,0,1: 83:[89, 158] Operation: 82+76=158
Exploring Operation: 82-76=6, Resulting Numbers: [89, 6]
Generated Node #0,0,2: 83:[89, 6] Operation: 82-76=6
Exploring Operation: 89-82=7, Resulting Numbers: [76, 7]
Generated Node #0,0,3: 83:[76, 7] Operation: 89-82=7
Moving to Node #0,0,0
Current State: 83:[82, 13], Operations: ['55+34=89', '89-76=13']
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
Exploring Operation: 82*13=1066, Resulting Numbers: [1066]
1066,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[89, 158], Operations: ['55+34=89', '82+76=158']
Exploring Operation: 89+158=247, Resulting Numbers: [247]
247,83 unequal: No Solution
Exploring Operation: 89*158=14062, Resulting Numbers: [14062]
14062,83 unequal: No Solution
Exploring Operation: 158-89=69, Resulting Numbers: [69]
69,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[76, 7], Operations: ['55+34=89', '89-82=7']
Exploring Operation: 76+7=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[55, 82, 76, 34], Operations: []
Exploring Operation: 55+34=89, Resulting Numbers: [82, 76, 89]
Generated Node #0,0: 83:[82, 76, 89] Operation: 55+34=89
Moving to Node #0,0
Current State: 83:[82, 76, 89], Operations: ['55+34=89']
Exploring Operation: 89-82=7, Resulting Numbers: [76, 7]
Generated Node #0,0,3: 83:[76, 7] Operation: 89-82=7
Moving to Node #0,0,3
Current State: 83:[76, 7], Operations: ['55+34=89', '89-82=7']
Exploring Operation: 76+7=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
20,
74,
5,
13
] | 65 | [
"20/5=4",
"74-13=61",
"4+61=65"
] | Current State: 65:[20, 74, 5, 13], Operations: []
Exploring Operation: 20/5=4, Resulting Numbers: [74, 13, 4]
Generated Node #2: [74, 13, 4] from Operation: 20/5=4
Current State: 65:[74, 13, 4], Operations: ['20/5=4']
Exploring Operation: 74-13=61, Resulting Numbers: [4, 61]
Generated Node #3: [4, 61] from Operation: 74-13=61
Current State: 65:[4, 61], Operations: ['20/5=4', '74-13=61']
Exploring Operation: 4+61=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[20, 74, 5, 13], Operations: []
Exploring Operation: 20/5=4, Resulting Numbers: [74, 13, 4]
Generated Node #0,0: 65:[74, 13, 4] Operation: 20/5=4
Exploring Operation: 74-20=54, Resulting Numbers: [5, 13, 54]
Generated Node #0,1: 65:[5, 13, 54] Operation: 74-20=54
Moving to Node #0,0
Current State: 65:[74, 13, 4], Operations: ['20/5=4']
Exploring Operation: 74-4=70, Resulting Numbers: [13, 70]
Generated Node #0,0,0: 65:[13, 70] Operation: 74-4=70
Exploring Operation: 74-13=61, Resulting Numbers: [4, 61]
Generated Node #0,0,1: 65:[4, 61] Operation: 74-13=61
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[13, 70], Operations: ['20/5=4', '74-4=70']
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 13+70=83, Resulting Numbers: [83]
83,65 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: 65:[4, 61], Operations: ['20/5=4', '74-13=61']
Exploring Operation: 4+61=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[20, 74, 5, 13], Operations: []
Exploring Operation: 20/5=4, Resulting Numbers: [74, 13, 4]
Generated Node #0,0: 65:[74, 13, 4] Operation: 20/5=4
Moving to Node #0,0
Current State: 65:[74, 13, 4], Operations: ['20/5=4']
Exploring Operation: 74-13=61, Resulting Numbers: [4, 61]
Generated Node #0,0,1: 65:[4, 61] Operation: 74-13=61
Moving to Node #0,0,1
Current State: 65:[4, 61], Operations: ['20/5=4', '74-13=61']
Exploring Operation: 4+61=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
85,
65,
44,
87
] | 42 | [
"87-85=2",
"65-44=21",
"2*21=42"
] | Current State: 42:[85, 65, 44, 87], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [65, 44, 2]
Generated Node #2: [65, 44, 2] from Operation: 87-85=2
Current State: 42:[65, 44, 2], Operations: ['87-85=2']
Exploring Operation: 65-44=21, Resulting Numbers: [2, 21]
Generated Node #3: [2, 21] from Operation: 65-44=21
Current State: 42:[2, 21], Operations: ['87-85=2', '65-44=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[85, 65, 44, 87], Operations: []
Exploring Operation: 85-65=20, Resulting Numbers: [44, 87, 20]
Generated Node #0,0: 42:[44, 87, 20] Operation: 85-65=20
Exploring Operation: 87-85=2, Resulting Numbers: [65, 44, 2]
Generated Node #0,1: 42:[65, 44, 2] Operation: 87-85=2
Exploring Operation: 87-65=22, Resulting Numbers: [85, 44, 22]
Generated Node #0,2: 42:[85, 44, 22] Operation: 87-65=22
Moving to Node #0,1
Current State: 42:[65, 44, 2], Operations: ['87-85=2']
Exploring Operation: 65-2=63, Resulting Numbers: [44, 63]
Generated Node #0,1,0: 42:[44, 63] Operation: 65-2=63
Exploring Operation: 65-44=21, Resulting Numbers: [2, 21]
Generated Node #0,1,1: 42:[2, 21] Operation: 65-44=21
Exploring Operation: 44-2=42, Resulting Numbers: [65, 42]
Generated Node #0,1,2: 42:[65, 42] Operation: 44-2=42
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[2, 21], Operations: ['87-85=2', '65-44=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[85, 65, 44, 87], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [65, 44, 2]
Generated Node #0,1: 42:[65, 44, 2] Operation: 87-85=2
Moving to Node #0,1
Current State: 42:[65, 44, 2], Operations: ['87-85=2']
Exploring Operation: 65-44=21, Resulting Numbers: [2, 21]
Generated Node #0,1,1: 42:[2, 21] Operation: 65-44=21
Moving to Node #0,1,1
Current State: 42:[2, 21], Operations: ['87-85=2', '65-44=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
23,
48,
4,
47
] | 28 | [
"23+48=71",
"47-4=43",
"71-43=28"
] | Current State: 28:[23, 48, 4, 47], Operations: []
Exploring Operation: 23+48=71, Resulting Numbers: [4, 47, 71]
Generated Node #2: [4, 47, 71] from Operation: 23+48=71
Current State: 28:[4, 47, 71], Operations: ['23+48=71']
Exploring Operation: 47-4=43, Resulting Numbers: [71, 43]
Generated Node #3: [71, 43] from Operation: 47-4=43
Current State: 28:[71, 43], Operations: ['23+48=71', '47-4=43']
Exploring Operation: 71-43=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[23, 48, 4, 47], Operations: []
Exploring Operation: 48-23=25, Resulting Numbers: [4, 47, 25]
Generated Node #0,0: 28:[4, 47, 25] Operation: 48-23=25
Exploring Operation: 48-47=1, Resulting Numbers: [23, 4, 1]
Generated Node #0,1: 28:[23, 4, 1] Operation: 48-47=1
Exploring Operation: 47-23=24, Resulting Numbers: [48, 4, 24]
Generated Node #0,2: 28:[48, 4, 24] Operation: 47-23=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[23, 4, 1], Operations: ['48-47=1']
Exploring Operation: 23*1=23, Resulting Numbers: [4, 23]
Generated Node #0,1,0: 28:[4, 23] Operation: 23*1=23
Exploring Operation: 23+4=27, Resulting Numbers: [1, 27]
Generated Node #0,1,1: 28:[1, 27] Operation: 23+4=27
Exploring Operation: 23+1=24, Resulting Numbers: [4, 24]
Generated Node #0,1,2: 28:[4, 24] Operation: 23+1=24
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[1, 27], Operations: ['48-47=1', '23+4=27']
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[23, 48, 4, 47], Operations: []
Exploring Operation: 48-47=1, Resulting Numbers: [23, 4, 1]
Generated Node #0,1: 28:[23, 4, 1] Operation: 48-47=1
Moving to Node #0,1
Current State: 28:[23, 4, 1], Operations: ['48-47=1']
Exploring Operation: 23+4=27, Resulting Numbers: [1, 27]
Generated Node #0,1,1: 28:[1, 27] Operation: 23+4=27
Moving to Node #0,1,1
Current State: 28:[1, 27], Operations: ['48-47=1', '23+4=27']
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
70,
2,
22,
13
] | 63 | [
"70+2=72",
"22-13=9",
"72-9=63"
] | Current State: 63:[70, 2, 22, 13], Operations: []
Exploring Operation: 70+2=72, Resulting Numbers: [22, 13, 72]
Generated Node #2: [22, 13, 72] from Operation: 70+2=72
Current State: 63:[22, 13, 72], Operations: ['70+2=72']
Exploring Operation: 22-13=9, Resulting Numbers: [72, 9]
Generated Node #3: [72, 9] from Operation: 22-13=9
Current State: 63:[72, 9], Operations: ['70+2=72', '22-13=9']
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[70, 2, 22, 13], Operations: []
Exploring Operation: 70-2=68, Resulting Numbers: [22, 13, 68]
Generated Node #0,0: 63:[22, 13, 68] Operation: 70-2=68
Exploring Operation: 22-13=9, Resulting Numbers: [70, 2, 9]
Generated Node #0,1: 63:[70, 2, 9] Operation: 22-13=9
Exploring Operation: 70-13=57, Resulting Numbers: [2, 22, 57]
Generated Node #0,2: 63:[2, 22, 57] Operation: 70-13=57
Moving to Node #0,1
Current State: 63:[70, 2, 9], Operations: ['22-13=9']
Exploring Operation: 70-2=68, Resulting Numbers: [9, 68]
Generated Node #0,1,0: 63:[9, 68] Operation: 70-2=68
Exploring Operation: 9-2=7, Resulting Numbers: [70, 7]
Generated Node #0,1,1: 63:[70, 7] Operation: 9-2=7
Exploring Operation: 70-9=61, Resulting Numbers: [2, 61]
Generated Node #0,1,2: 63:[2, 61] Operation: 70-9=61
Moving to Node #0,2
Current State: 63:[2, 22, 57], Operations: ['70-13=57']
Exploring Operation: 22/2=11, Resulting Numbers: [57, 11]
Generated Node #0,2,0: 63:[57, 11] Operation: 22/2=11
Exploring Operation: 2+57=59, Resulting Numbers: [22, 59]
Generated Node #0,2,1: 63:[22, 59] Operation: 2+57=59
Exploring Operation: 22-2=20, Resulting Numbers: [57, 20]
Generated Node #0,2,2: 63:[57, 20] Operation: 22-2=20
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 63:[22, 59], Operations: ['70-13=57', '2+57=59']
Exploring Operation: 22*59=1298, Resulting Numbers: [1298]
1298,63 unequal: No Solution
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,63 unequal: No Solution
Exploring Operation: 22+59=81, Resulting Numbers: [81]
81,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,2,2
Current State: 63:[57, 20], Operations: ['70-13=57', '22-2=20']
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,63 unequal: No Solution
Exploring Operation: 57*20=1140, Resulting Numbers: [1140]
1140,63 unequal: No Solution
Exploring Operation: 57+20=77, Resulting Numbers: [77]
77,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,2,0
Current State: 63:[57, 11], Operations: ['70-13=57', '22/2=11']
Exploring Operation: 57*11=627, Resulting Numbers: [627]
627,63 unequal: No Solution
Exploring Operation: 57-11=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 57+11=68, Resulting Numbers: [68]
68,63 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: 63:[22, 13, 68], Operations: ['70-2=68']
Exploring Operation: 22+13=35, Resulting Numbers: [68, 35]
Generated Node #0,0,0: 63:[68, 35] Operation: 22+13=35
Exploring Operation: 68-13=55, Resulting Numbers: [22, 55]
Generated Node #0,0,1: 63:[22, 55] Operation: 68-13=55
Exploring Operation: 22-13=9, Resulting Numbers: [68, 9]
Generated Node #0,0,2: 63:[68, 9] Operation: 22-13=9
Moving to Node #0,1,2
Current State: 63:[2, 61], Operations: ['22-13=9', '70-9=61']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,63 unequal: No Solution
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[70, 2, 22, 13], Operations: []
Exploring Operation: 22-13=9, Resulting Numbers: [70, 2, 9]
Generated Node #0,1: 63:[70, 2, 9] Operation: 22-13=9
Moving to Node #0,1
Current State: 63:[70, 2, 9], Operations: ['22-13=9']
Exploring Operation: 70-9=61, Resulting Numbers: [2, 61]
Generated Node #0,1,2: 63:[2, 61] Operation: 70-9=61
Moving to Node #0,1,2
Current State: 63:[2, 61], Operations: ['22-13=9', '70-9=61']
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
28,
19,
26,
16
] | 20 | [
"26-19=7",
"28/7=4",
"16+4=20"
] | Current State: 20:[28, 19, 26, 16], Operations: []
Exploring Operation: 26-19=7, Resulting Numbers: [28, 16, 7]
Generated Node #2: [28, 16, 7] from Operation: 26-19=7
Current State: 20:[28, 16, 7], Operations: ['26-19=7']
Exploring Operation: 28/7=4, Resulting Numbers: [16, 4]
Generated Node #3: [16, 4] from Operation: 28/7=4
Current State: 20:[16, 4], Operations: ['26-19=7', '28/7=4']
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[28, 19, 26, 16], Operations: []
Exploring Operation: 28-16=12, Resulting Numbers: [19, 26, 12]
Generated Node #0,0: 20:[19, 26, 12] Operation: 28-16=12
Exploring Operation: 28-26=2, Resulting Numbers: [19, 16, 2]
Generated Node #0,1: 20:[19, 16, 2] Operation: 28-26=2
Exploring Operation: 26-16=10, Resulting Numbers: [28, 19, 10]
Generated Node #0,2: 20:[28, 19, 10] Operation: 26-16=10
Exploring Operation: 28-19=9, Resulting Numbers: [26, 16, 9]
Generated Node #0,3: 20:[26, 16, 9] Operation: 28-19=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[19, 16, 2], Operations: ['28-26=2']
Exploring Operation: 16/2=8, Resulting Numbers: [19, 8]
Generated Node #0,1,0: 20:[19, 8] Operation: 16/2=8
Exploring Operation: 19-16=3, Resulting Numbers: [2, 3]
Generated Node #0,1,1: 20:[2, 3] Operation: 19-16=3
Exploring Operation: 16+2=18, Resulting Numbers: [19, 18]
Generated Node #0,1,2: 20:[19, 18] Operation: 16+2=18
Exploring Operation: 19+2=21, Resulting Numbers: [16, 21]
Generated Node #0,1,3: 20:[16, 21] Operation: 19+2=21
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[2, 3], Operations: ['28-26=2', '19-16=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,20 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: 20:[19, 8], Operations: ['28-26=2', '16/2=8']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,20 unequal: No Solution
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,20 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: 20:[19, 18], Operations: ['28-26=2', '16+2=18']
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,20 unequal: No Solution
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,20 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: 20:[16, 21], Operations: ['28-26=2', '19+2=21']
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 16*21=336, Resulting Numbers: [336]
336,20 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: 20:[19, 26, 12], Operations: ['28-16=12']
Exploring Operation: 26-12=14, Resulting Numbers: [19, 14]
Generated Node #0,0,0: 20:[19, 14] Operation: 26-12=14
Exploring Operation: 19-12=7, Resulting Numbers: [26, 7]
Generated Node #0,0,1: 20:[26, 7] Operation: 19-12=7
Exploring Operation: 19+12=31, Resulting Numbers: [26, 31]
Generated Node #0,0,2: 20:[26, 31] Operation: 19+12=31
Exploring Operation: 26-19=7, Resulting Numbers: [12, 7]
Generated Node #0,0,3: 20:[12, 7] Operation: 26-19=7
Moving to Node #0,0,3
Current State: 20:[12, 7], Operations: ['28-16=12', '26-19=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[19, 14], Operations: ['28-16=12', '26-12=14']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[26, 7], Operations: ['28-16=12', '19-12=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,20 unequal: No Solution
Moving to Node #0,0,2
Current State: 20:[26, 31], Operations: ['28-16=12', '19+12=31']
Exploring Operation: 26*31=806, Resulting Numbers: [806]
806,20 unequal: No Solution
Exploring Operation: 26+31=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,20 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: 20:[28, 19, 10], Operations: ['26-16=10']
Exploring Operation: 19-10=9, Resulting Numbers: [28, 9]
Generated Node #0,2,0: 20:[28, 9] Operation: 19-10=9
Exploring Operation: 19+10=29, Resulting Numbers: [28, 29]
Generated Node #0,2,1: 20:[28, 29] Operation: 19+10=29
Exploring Operation: 28-19=9, Resulting Numbers: [10, 9]
Generated Node #0,2,2: 20:[10, 9] Operation: 28-19=9
Exploring Operation: 28-10=18, Resulting Numbers: [19, 18]
Generated Node #0,2,3: 20:[19, 18] Operation: 28-10=18
Moving to Node #0,2,2
Current State: 20:[10, 9], Operations: ['26-16=10', '28-19=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,20 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[19, 18], Operations: ['26-16=10', '28-10=18']
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,20 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[28, 9], Operations: ['26-16=10', '19-10=9']
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,20 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[28, 29], Operations: ['26-16=10', '19+10=29']
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,20 unequal: No Solution
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,20 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: 20:[26, 16, 9], Operations: ['28-19=9']
Exploring Operation: 16+9=25, Resulting Numbers: [26, 25]
Generated Node #0,3,0: 20:[26, 25] Operation: 16+9=25
Exploring Operation: 16-9=7, Resulting Numbers: [26, 7]
Generated Node #0,3,1: 20:[26, 7] Operation: 16-9=7
Exploring Operation: 26-16=10, Resulting Numbers: [9, 10]
Generated Node #0,3,2: 20:[9, 10] Operation: 26-16=10
Exploring Operation: 26-9=17, Resulting Numbers: [16, 17]
Generated Node #0,3,3: 20:[16, 17] Operation: 26-9=17
Moving to Node #0,3,2
Current State: 20:[9, 10], Operations: ['28-19=9', '26-16=10']
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,20 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[16, 17], Operations: ['28-19=9', '26-9=17']
Exploring Operation: 16*17=272, Resulting Numbers: [272]
272,20 unequal: No Solution
Exploring Operation: 16+17=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Moving to Node #0,3,1
Current State: 20:[26, 7], Operations: ['28-19=9', '16-9=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,20 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Moving to Node #0,3,0
Current State: 20:[26, 25], Operations: ['28-19=9', '16+9=25']
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,20 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,20 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 |
[
2,
45,
87,
28
] | 94 | [
"45+87=132",
"132/2=66",
"28+66=94"
] | Current State: 94:[2, 45, 87, 28], Operations: []
Exploring Operation: 45+87=132, Resulting Numbers: [2, 28, 132]
Generated Node #2: [2, 28, 132] from Operation: 45+87=132
Current State: 94:[2, 28, 132], Operations: ['45+87=132']
Exploring Operation: 132/2=66, Resulting Numbers: [28, 66]
Generated Node #3: [28, 66] from Operation: 132/2=66
Current State: 94:[28, 66], Operations: ['45+87=132', '132/2=66']
Exploring Operation: 28+66=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[2, 45, 87, 28], Operations: []
Exploring Operation: 28/2=14, Resulting Numbers: [45, 87, 14]
Generated Node #0,0: 94:[45, 87, 14] Operation: 28/2=14
Exploring Operation: 87+28=115, Resulting Numbers: [2, 45, 115]
Generated Node #0,1: 94:[2, 45, 115] Operation: 87+28=115
Exploring Operation: 45-28=17, Resulting Numbers: [2, 87, 17]
Generated Node #0,2: 94:[2, 87, 17] Operation: 45-28=17
Exploring Operation: 2*28=56, Resulting Numbers: [45, 87, 56]
Generated Node #0,3: 94:[45, 87, 56] Operation: 2*28=56
Exploring Operation: 87-28=59, Resulting Numbers: [2, 45, 59]
Generated Node #0,4: 94:[2, 45, 59] Operation: 87-28=59
Moving to Node #0,4
Current State: 94:[2, 45, 59], Operations: ['87-28=59']
Exploring Operation: 2+45=47, Resulting Numbers: [59, 47]
Generated Node #0,4,0: 94:[59, 47] Operation: 2+45=47
Exploring Operation: 45+59=104, Resulting Numbers: [2, 104]
Generated Node #0,4,1: 94:[2, 104] Operation: 45+59=104
Exploring Operation: 59-45=14, Resulting Numbers: [2, 14]
Generated Node #0,4,2: 94:[2, 14] Operation: 59-45=14
Exploring Operation: 59-2=57, Resulting Numbers: [45, 57]
Generated Node #0,4,3: 94:[45, 57] Operation: 59-2=57
Exploring Operation: 2*45=90, Resulting Numbers: [59, 90]
Generated Node #0,4,4: 94:[59, 90] Operation: 2*45=90
Moving to Node #0,3
Current State: 94:[45, 87, 56], Operations: ['2*28=56']
Exploring Operation: 87-56=31, Resulting Numbers: [45, 31]
Generated Node #0,3,0: 94:[45, 31] Operation: 87-56=31
Exploring Operation: 45+87=132, Resulting Numbers: [56, 132]
Generated Node #0,3,1: 94:[56, 132] Operation: 45+87=132
Exploring Operation: 45+56=101, Resulting Numbers: [87, 101]
Generated Node #0,3,2: 94:[87, 101] Operation: 45+56=101
Exploring Operation: 56-45=11, Resulting Numbers: [87, 11]
Generated Node #0,3,3: 94:[87, 11] Operation: 56-45=11
Exploring Operation: 87-45=42, Resulting Numbers: [56, 42]
Generated Node #0,3,4: 94:[56, 42] Operation: 87-45=42
Moving to Node #0,0
Current State: 94:[45, 87, 14], Operations: ['28/2=14']
Exploring Operation: 87-14=73, Resulting Numbers: [45, 73]
Generated Node #0,0,0: 94:[45, 73] Operation: 87-14=73
Exploring Operation: 45-14=31, Resulting Numbers: [87, 31]
Generated Node #0,0,1: 94:[87, 31] Operation: 45-14=31
Exploring Operation: 87+14=101, Resulting Numbers: [45, 101]
Generated Node #0,0,2: 94:[45, 101] Operation: 87+14=101
Exploring Operation: 87-45=42, Resulting Numbers: [14, 42]
Generated Node #0,0,3: 94:[14, 42] Operation: 87-45=42
Exploring Operation: 45+14=59, Resulting Numbers: [87, 59]
Generated Node #0,0,4: 94:[87, 59] Operation: 45+14=59
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[45, 101], Operations: ['28/2=14', '87+14=101']
Exploring Operation: 101-45=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 45+101=146, Resulting Numbers: [146]
146,94 unequal: No Solution
Exploring Operation: 45*101=4545, Resulting Numbers: [4545]
4545,94 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: 94:[14, 42], Operations: ['28/2=14', '87-45=42']
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 14*42=588, Resulting Numbers: [588]
588,94 unequal: No Solution
Exploring Operation: 14+42=56, Resulting Numbers: [56]
56,94 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: 94:[87, 59], Operations: ['28/2=14', '45+14=59']
Exploring Operation: 87+59=146, Resulting Numbers: [146]
146,94 unequal: No Solution
Exploring Operation: 87*59=5133, Resulting Numbers: [5133]
5133,94 unequal: No Solution
Exploring Operation: 87-59=28, Resulting Numbers: [28]
28,94 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: 94:[45, 73], Operations: ['28/2=14', '87-14=73']
Exploring Operation: 45*73=3285, Resulting Numbers: [3285]
3285,94 unequal: No Solution
Exploring Operation: 45+73=118, Resulting Numbers: [118]
118,94 unequal: No Solution
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,94 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: 94:[87, 31], Operations: ['28/2=14', '45-14=31']
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 87*31=2697, Resulting Numbers: [2697]
2697,94 unequal: No Solution
Exploring Operation: 87+31=118, Resulting Numbers: [118]
118,94 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: 94:[2, 87, 17], Operations: ['45-28=17']
Exploring Operation: 17-2=15, Resulting Numbers: [87, 15]
Generated Node #0,2,0: 94:[87, 15] Operation: 17-2=15
Exploring Operation: 2+87=89, Resulting Numbers: [17, 89]
Generated Node #0,2,1: 94:[17, 89] Operation: 2+87=89
Exploring Operation: 87-17=70, Resulting Numbers: [2, 70]
Generated Node #0,2,2: 94:[2, 70] Operation: 87-17=70
Exploring Operation: 87+17=104, Resulting Numbers: [2, 104]
Generated Node #0,2,3: 94:[2, 104] Operation: 87+17=104
Exploring Operation: 2*17=34, Resulting Numbers: [87, 34]
Generated Node #0,2,4: 94:[87, 34] Operation: 2*17=34
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 94:[2, 104], Operations: ['45-28=17', '87+17=104']
Exploring Operation: 2*104=208, Resulting Numbers: [208]
208,94 unequal: No Solution
Exploring Operation: 104/2=52, Resulting Numbers: [52]
52,94 unequal: No Solution
Exploring Operation: 104-2=102, Resulting Numbers: [102]
102,94 unequal: No Solution
Exploring Operation: 2+104=106, Resulting Numbers: [106]
106,94 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: 94:[87, 15], Operations: ['45-28=17', '17-2=15']
Exploring Operation: 87+15=102, Resulting Numbers: [102]
102,94 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 87*15=1305, Resulting Numbers: [1305]
1305,94 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: 94:[17, 89], Operations: ['45-28=17', '2+87=89']
Exploring Operation: 17*89=1513, Resulting Numbers: [1513]
1513,94 unequal: No Solution
Exploring Operation: 89-17=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 17+89=106, Resulting Numbers: [106]
106,94 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: 94:[87, 34], Operations: ['45-28=17', '2*17=34']
Exploring Operation: 87*34=2958, Resulting Numbers: [2958]
2958,94 unequal: No Solution
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 87+34=121, Resulting Numbers: [121]
121,94 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: 94:[2, 70], Operations: ['45-28=17', '87-17=70']
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,94 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,94 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,94 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: 94:[2, 45, 115], Operations: ['87+28=115']
Exploring Operation: 115-2=113, Resulting Numbers: [45, 113]
Generated Node #0,1,0: 94:[45, 113] Operation: 115-2=113
Exploring Operation: 45-2=43, Resulting Numbers: [115, 43]
Generated Node #0,1,1: 94:[115, 43] Operation: 45-2=43
Exploring Operation: 115-45=70, Resulting Numbers: [2, 70]
Generated Node #0,1,2: 94:[2, 70] Operation: 115-45=70
Exploring Operation: 2*45=90, Resulting Numbers: [115, 90]
Generated Node #0,1,3: 94:[115, 90] Operation: 2*45=90
Exploring Operation: 2+45=47, Resulting Numbers: [115, 47]
Generated Node #0,1,4: 94:[115, 47] Operation: 2+45=47
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[45, 113], Operations: ['87+28=115', '115-2=113']
Exploring Operation: 45*113=5085, Resulting Numbers: [5085]
5085,94 unequal: No Solution
Exploring Operation: 113-45=68, Resulting Numbers: [68]
68,94 unequal: No Solution
Exploring Operation: 45+113=158, Resulting Numbers: [158]
158,94 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: 94:[115, 47], Operations: ['87+28=115', '2+45=47']
Exploring Operation: 115+47=162, Resulting Numbers: [162]
162,94 unequal: No Solution
Exploring Operation: 115*47=5405, Resulting Numbers: [5405]
5405,94 unequal: No Solution
Exploring Operation: 115-47=68, Resulting Numbers: [68]
68,94 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: 94:[2, 70], Operations: ['87+28=115', '115-45=70']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,94 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,94 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,94 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: 94:[115, 43], Operations: ['87+28=115', '45-2=43']
Exploring Operation: 115+43=158, Resulting Numbers: [158]
158,94 unequal: No Solution
Exploring Operation: 115*43=4945, Resulting Numbers: [4945]
4945,94 unequal: No Solution
Exploring Operation: 115-43=72, Resulting Numbers: [72]
72,94 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: 94:[115, 90], Operations: ['87+28=115', '2*45=90']
Exploring Operation: 115+90=205, Resulting Numbers: [205]
205,94 unequal: No Solution
Exploring Operation: 115-90=25, Resulting Numbers: [25]
25,94 unequal: No Solution
Exploring Operation: 115*90=10350, Resulting Numbers: [10350]
10350,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,1
Current State: 94:[2, 104], Operations: ['87-28=59', '45+59=104']
Exploring Operation: 2*104=208, Resulting Numbers: [208]
208,94 unequal: No Solution
Exploring Operation: 2+104=106, Resulting Numbers: [106]
106,94 unequal: No Solution
Exploring Operation: 104-2=102, Resulting Numbers: [102]
102,94 unequal: No Solution
Exploring Operation: 104/2=52, Resulting Numbers: [52]
52,94 unequal: No Solution
Moving to Node #0,4,2
Current State: 94:[2, 14], Operations: ['87-28=59', '59-45=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,94 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,94 unequal: No Solution
Moving to Node #0,4,0
Current State: 94:[59, 47], Operations: ['87-28=59', '2+45=47']
Exploring Operation: 59*47=2773, Resulting Numbers: [2773]
2773,94 unequal: No Solution
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,94 unequal: No Solution
Exploring Operation: 59+47=106, Resulting Numbers: [106]
106,94 unequal: No Solution
Moving to Node #0,4,3
Current State: 94:[45, 57], Operations: ['87-28=59', '59-2=57']
Exploring Operation: 45+57=102, Resulting Numbers: [102]
102,94 unequal: No Solution
Exploring Operation: 45*57=2565, Resulting Numbers: [2565]
2565,94 unequal: No Solution
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,94 unequal: No Solution
Moving to Node #0,3,4
Current State: 94:[56, 42], Operations: ['2*28=56', '87-45=42']
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 56*42=2352, Resulting Numbers: [2352]
2352,94 unequal: No Solution
Exploring Operation: 56+42=98, Resulting Numbers: [98]
98,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[87, 101], Operations: ['2*28=56', '45+56=101']
Exploring Operation: 87+101=188, Resulting Numbers: [188]
188,94 unequal: No Solution
Exploring Operation: 101-87=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 87*101=8787, Resulting Numbers: [8787]
8787,94 unequal: No Solution
Moving to Node #0,4,4
Current State: 94:[59, 90], Operations: ['87-28=59', '2*45=90']
Exploring Operation: 59*90=5310, Resulting Numbers: [5310]
5310,94 unequal: No Solution
Exploring Operation: 59+90=149, Resulting Numbers: [149]
149,94 unequal: No Solution
Exploring Operation: 90-59=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Moving to Node #0,3,3
Current State: 94:[87, 11], Operations: ['2*28=56', '56-45=11']
Exploring Operation: 87*11=957, Resulting Numbers: [957]
957,94 unequal: No Solution
Exploring Operation: 87+11=98, Resulting Numbers: [98]
98,94 unequal: No Solution
Exploring Operation: 87-11=76, Resulting Numbers: [76]
76,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[45, 31], Operations: ['2*28=56', '87-56=31']
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,94 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,94 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[56, 132], Operations: ['2*28=56', '45+87=132']
Exploring Operation: 56*132=7392, Resulting Numbers: [7392]
7392,94 unequal: No Solution
Exploring Operation: 132-56=76, Resulting Numbers: [76]
76,94 unequal: No Solution
Exploring Operation: 56+132=188, Resulting Numbers: [188]
188,94 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
36,
65,
13,
53
] | 39 | [
"36*13=468",
"65-53=12",
"468/12=39"
] | Current State: 39:[36, 65, 13, 53], Operations: []
Exploring Operation: 36*13=468, Resulting Numbers: [65, 53, 468]
Generated Node #2: [65, 53, 468] from Operation: 36*13=468
Current State: 39:[65, 53, 468], Operations: ['36*13=468']
Exploring Operation: 65-53=12, Resulting Numbers: [468, 12]
Generated Node #3: [468, 12] from Operation: 65-53=12
Current State: 39:[468, 12], Operations: ['36*13=468', '65-53=12']
Exploring Operation: 468/12=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[36, 65, 13, 53], Operations: []
Exploring Operation: 65-53=12, Resulting Numbers: [36, 13, 12]
Generated Node #0,0: 39:[36, 13, 12] Operation: 65-53=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[36, 13, 12], Operations: ['65-53=12']
Exploring Operation: 36/12=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 39:[13, 3] Operation: 36/12=3
Moving to Node #0,0,0
Current State: 39:[13, 3], Operations: ['65-53=12', '36/12=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[36, 65, 13, 53], Operations: []
Exploring Operation: 65-53=12, Resulting Numbers: [36, 13, 12]
Generated Node #0,0: 39:[36, 13, 12] Operation: 65-53=12
Moving to Node #0,0
Current State: 39:[36, 13, 12], Operations: ['65-53=12']
Exploring Operation: 36/12=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 39:[13, 3] Operation: 36/12=3
Moving to Node #0,0,0
Current State: 39:[13, 3], Operations: ['65-53=12', '36/12=3']
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
52,
91,
2,
32
] | 58 | [
"91*32=2912",
"2912/52=56",
"2+56=58"
] | Current State: 58:[52, 91, 2, 32], Operations: []
Exploring Operation: 91*32=2912, Resulting Numbers: [52, 2, 2912]
Generated Node #2: [52, 2, 2912] from Operation: 91*32=2912
Current State: 58:[52, 2, 2912], Operations: ['91*32=2912']
Exploring Operation: 2912/52=56, Resulting Numbers: [2, 56]
Generated Node #3: [2, 56] from Operation: 2912/52=56
Current State: 58:[2, 56], Operations: ['91*32=2912', '2912/52=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[52, 91, 2, 32], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [2, 32, 39]
Generated Node #0,0: 58:[2, 32, 39] Operation: 91-52=39
Exploring Operation: 52/2=26, Resulting Numbers: [91, 32, 26]
Generated Node #0,1: 58:[91, 32, 26] Operation: 52/2=26
Exploring Operation: 91-32=59, Resulting Numbers: [52, 2, 59]
Generated Node #0,2: 58:[52, 2, 59] Operation: 91-32=59
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[52, 2, 59], Operations: ['91-32=59']
Exploring Operation: 59-52=7, Resulting Numbers: [2, 7]
Generated Node #0,2,0: 58:[2, 7] Operation: 59-52=7
Exploring Operation: 52+2=54, Resulting Numbers: [59, 54]
Generated Node #0,2,1: 58:[59, 54] Operation: 52+2=54
Exploring Operation: 52/2=26, Resulting Numbers: [59, 26]
Generated Node #0,2,2: 58:[59, 26] Operation: 52/2=26
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 58:[59, 26], Operations: ['91-32=59', '52/2=26']
Exploring Operation: 59+26=85, Resulting Numbers: [85]
85,58 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 59*26=1534, Resulting Numbers: [1534]
1534,58 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: 58:[2, 7], Operations: ['91-32=59', '59-52=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,58 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: 58:[59, 54], Operations: ['91-32=59', '52+2=54']
Exploring Operation: 59-54=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 59*54=3186, Resulting Numbers: [3186]
3186,58 unequal: No Solution
Exploring Operation: 59+54=113, Resulting Numbers: [113]
113,58 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: 58:[2, 32, 39], Operations: ['91-52=39']
Exploring Operation: 39-2=37, Resulting Numbers: [32, 37]
Generated Node #0,0,0: 58:[32, 37] Operation: 39-2=37
Exploring Operation: 32-2=30, Resulting Numbers: [39, 30]
Generated Node #0,0,1: 58:[39, 30] Operation: 32-2=30
Exploring Operation: 39-32=7, Resulting Numbers: [2, 7]
Generated Node #0,0,2: 58:[2, 7] Operation: 39-32=7
Moving to Node #0,0,2
Current State: 58:[2, 7], Operations: ['91-52=39', '39-32=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[32, 37], Operations: ['91-52=39', '39-2=37']
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,58 unequal: No Solution
Exploring Operation: 32*37=1184, Resulting Numbers: [1184]
1184,58 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[39, 30], Operations: ['91-52=39', '32-2=30']
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,58 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[91, 32, 26], Operations: ['52/2=26']
Exploring Operation: 91-26=65, Resulting Numbers: [32, 65]
Generated Node #0,1,0: 58:[32, 65] Operation: 91-26=65
Exploring Operation: 91-32=59, Resulting Numbers: [26, 59]
Generated Node #0,1,1: 58:[26, 59] Operation: 91-32=59
Exploring Operation: 32+26=58, Resulting Numbers: [91, 58]
Generated Node #0,1,2: 58:[91, 58] Operation: 32+26=58
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[26, 59], Operations: ['52/2=26', '91-32=59']
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 26+59=85, Resulting Numbers: [85]
85,58 unequal: No Solution
Exploring Operation: 26*59=1534, Resulting Numbers: [1534]
1534,58 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: 58:[32, 65], Operations: ['52/2=26', '91-26=65']
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 32*65=2080, Resulting Numbers: [2080]
2080,58 unequal: No Solution
Exploring Operation: 32+65=97, Resulting Numbers: [97]
97,58 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: 58:[91, 58], Operations: ['52/2=26', '32+26=58']
Exploring Operation: 91*58=5278, Resulting Numbers: [5278]
5278,58 unequal: No Solution
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 91+58=149, Resulting Numbers: [149]
149,58 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 | mult_heuristic |
[
51,
54,
25,
99
] | 75 | [
"54+99=153",
"153/51=3",
"25*3=75"
] | Current State: 75:[51, 54, 25, 99], Operations: []
Exploring Operation: 54+99=153, Resulting Numbers: [51, 25, 153]
Generated Node #2: [51, 25, 153] from Operation: 54+99=153
Current State: 75:[51, 25, 153], Operations: ['54+99=153']
Exploring Operation: 153/51=3, Resulting Numbers: [25, 3]
Generated Node #3: [25, 3] from Operation: 153/51=3
Current State: 75:[25, 3], Operations: ['54+99=153', '153/51=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[51, 54, 25, 99], Operations: []
Exploring Operation: 51+25=76, Resulting Numbers: [54, 99, 76]
Generated Node #0,0: 75:[54, 99, 76] Operation: 51+25=76
Exploring Operation: 99-51=48, Resulting Numbers: [54, 25, 48]
Generated Node #0,1: 75:[54, 25, 48] Operation: 99-51=48
Exploring Operation: 54-51=3, Resulting Numbers: [25, 99, 3]
Generated Node #0,2: 75:[25, 99, 3] Operation: 54-51=3
Exploring Operation: 99-54=45, Resulting Numbers: [51, 25, 45]
Generated Node #0,3: 75:[51, 25, 45] Operation: 99-54=45
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[25, 99, 3], Operations: ['54-51=3']
Exploring Operation: 25*3=75, Resulting Numbers: [99, 75]
Generated Node #0,2,0: 75:[99, 75] Operation: 25*3=75
Exploring Operation: 99-25=74, Resulting Numbers: [3, 74]
Generated Node #0,2,1: 75:[3, 74] Operation: 99-25=74
Exploring Operation: 99/3=33, Resulting Numbers: [25, 33]
Generated Node #0,2,2: 75:[25, 33] Operation: 99/3=33
Exploring Operation: 99-3=96, Resulting Numbers: [25, 96]
Generated Node #0,2,3: 75:[25, 96] Operation: 99-3=96
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[3, 74], Operations: ['54-51=3', '99-25=74']
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,75 unequal: No Solution
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 75:[25, 33], Operations: ['54-51=3', '99/3=33']
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 25+33=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 25*33=825, Resulting Numbers: [825]
825,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 75:[25, 96], Operations: ['54-51=3', '99-3=96']
Exploring Operation: 96-25=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 25+96=121, Resulting Numbers: [121]
121,75 unequal: No Solution
Exploring Operation: 25*96=2400, Resulting Numbers: [2400]
2400,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 75:[99, 75], Operations: ['54-51=3', '25*3=75']
Exploring Operation: 99-75=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 99*75=7425, Resulting Numbers: [7425]
7425,75 unequal: No Solution
Exploring Operation: 99+75=174, Resulting Numbers: [174]
174,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[54, 25, 48], Operations: ['99-51=48']
Exploring Operation: 48-25=23, Resulting Numbers: [54, 23]
Generated Node #0,1,0: 75:[54, 23] Operation: 48-25=23
Exploring Operation: 25+48=73, Resulting Numbers: [54, 73]
Generated Node #0,1,1: 75:[54, 73] Operation: 25+48=73
Exploring Operation: 54+25=79, Resulting Numbers: [48, 79]
Generated Node #0,1,2: 75:[48, 79] Operation: 54+25=79
Exploring Operation: 54-48=6, Resulting Numbers: [25, 6]
Generated Node #0,1,3: 75:[25, 6] Operation: 54-48=6
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 75:[25, 6], Operations: ['99-51=48', '54-48=6']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,75 unequal: No Solution
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[54, 23], Operations: ['99-51=48', '48-25=23']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,75 unequal: No Solution
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[54, 73], Operations: ['99-51=48', '25+48=73']
Exploring Operation: 54*73=3942, Resulting Numbers: [3942]
3942,75 unequal: No Solution
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 54+73=127, Resulting Numbers: [127]
127,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 75:[48, 79], Operations: ['99-51=48', '54+25=79']
Exploring Operation: 48+79=127, Resulting Numbers: [127]
127,75 unequal: No Solution
Exploring Operation: 48*79=3792, Resulting Numbers: [3792]
3792,75 unequal: No Solution
Exploring Operation: 79-48=31, Resulting Numbers: [31]
31,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[51, 25, 45], Operations: ['99-54=45']
Exploring Operation: 51-45=6, Resulting Numbers: [25, 6]
Generated Node #0,3,0: 75:[25, 6] Operation: 51-45=6
Exploring Operation: 51+25=76, Resulting Numbers: [45, 76]
Generated Node #0,3,1: 75:[45, 76] Operation: 51+25=76
Exploring Operation: 51+45=96, Resulting Numbers: [25, 96]
Generated Node #0,3,2: 75:[25, 96] Operation: 51+45=96
Exploring Operation: 51-25=26, Resulting Numbers: [45, 26]
Generated Node #0,3,3: 75:[45, 26] Operation: 51-25=26
Moving to Node #0,3,0
Current State: 75:[25, 6], Operations: ['99-54=45', '51-45=6']
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,75 unequal: No Solution
Moving to Node #0,3,2
Current State: 75:[25, 96], Operations: ['99-54=45', '51+45=96']
Exploring Operation: 25+96=121, Resulting Numbers: [121]
121,75 unequal: No Solution
Exploring Operation: 96-25=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 25*96=2400, Resulting Numbers: [2400]
2400,75 unequal: No Solution
Moving to Node #0,3,1
Current State: 75:[45, 76], Operations: ['99-54=45', '51+25=76']
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 45*76=3420, Resulting Numbers: [3420]
3420,75 unequal: No Solution
Exploring Operation: 45+76=121, Resulting Numbers: [121]
121,75 unequal: No Solution
Moving to Node #0,3,3
Current State: 75:[45, 26], Operations: ['99-54=45', '51-25=26']
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 45*26=1170, Resulting Numbers: [1170]
1170,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[54, 99, 76], Operations: ['51+25=76']
Exploring Operation: 99-76=23, Resulting Numbers: [54, 23]
Generated Node #0,0,0: 75:[54, 23] Operation: 99-76=23
Exploring Operation: 54+99=153, Resulting Numbers: [76, 153]
Generated Node #0,0,1: 75:[76, 153] Operation: 54+99=153
Exploring Operation: 76-54=22, Resulting Numbers: [99, 22]
Generated Node #0,0,2: 75:[99, 22] Operation: 76-54=22
Exploring Operation: 99-54=45, Resulting Numbers: [76, 45]
Generated Node #0,0,3: 75:[76, 45] Operation: 99-54=45
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 75:[76, 45], Operations: ['51+25=76', '99-54=45']
Exploring Operation: 76*45=3420, Resulting Numbers: [3420]
3420,75 unequal: No Solution
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 76+45=121, Resulting Numbers: [121]
121,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[54, 23], Operations: ['51+25=76', '99-76=23']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,75 unequal: No Solution
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[99, 22], Operations: ['51+25=76', '76-54=22']
Exploring Operation: 99*22=2178, Resulting Numbers: [2178]
2178,75 unequal: No Solution
Exploring Operation: 99-22=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Exploring Operation: 99+22=121, Resulting Numbers: [121]
121,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[76, 153], Operations: ['51+25=76', '54+99=153']
Exploring Operation: 153-76=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Exploring Operation: 76+153=229, Resulting Numbers: [229]
229,75 unequal: No Solution
Exploring Operation: 76*153=11628, Resulting Numbers: [11628]
11628,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
25,
37,
57,
6
] | 51 | [
"37-25=12",
"57+6=63",
"63-12=51"
] | Current State: 51:[25, 37, 57, 6], Operations: []
Exploring Operation: 37-25=12, Resulting Numbers: [57, 6, 12]
Generated Node #2: [57, 6, 12] from Operation: 37-25=12
Current State: 51:[57, 6, 12], Operations: ['37-25=12']
Exploring Operation: 57+6=63, Resulting Numbers: [12, 63]
Generated Node #3: [12, 63] from Operation: 57+6=63
Current State: 51:[12, 63], Operations: ['37-25=12', '57+6=63']
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[25, 37, 57, 6], Operations: []
Exploring Operation: 37-25=12, Resulting Numbers: [57, 6, 12]
Generated Node #0,0: 51:[57, 6, 12] Operation: 37-25=12
Exploring Operation: 57-37=20, Resulting Numbers: [25, 6, 20]
Generated Node #0,1: 51:[25, 6, 20] Operation: 57-37=20
Exploring Operation: 25-6=19, Resulting Numbers: [37, 57, 19]
Generated Node #0,2: 51:[37, 57, 19] Operation: 25-6=19
Exploring Operation: 25+37=62, Resulting Numbers: [57, 6, 62]
Generated Node #0,3: 51:[57, 6, 62] Operation: 25+37=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[57, 6, 12], Operations: ['37-25=12']
Exploring Operation: 12/6=2, Resulting Numbers: [57, 2]
Generated Node #0,0,0: 51:[57, 2] Operation: 12/6=2
Exploring Operation: 57-12=45, Resulting Numbers: [6, 45]
Generated Node #0,0,1: 51:[6, 45] Operation: 57-12=45
Exploring Operation: 6+12=18, Resulting Numbers: [57, 18]
Generated Node #0,0,2: 51:[57, 18] Operation: 6+12=18
Exploring Operation: 57-6=51, Resulting Numbers: [12, 51]
Generated Node #0,0,3: 51:[12, 51] Operation: 57-6=51
Moving to Node #0,0,3
Current State: 51:[12, 51], Operations: ['37-25=12', '57-6=51']
Exploring Operation: 12*51=612, Resulting Numbers: [612]
612,51 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[57, 18], Operations: ['37-25=12', '6+12=18']
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,51 unequal: No Solution
Exploring Operation: 57*18=1026, Resulting Numbers: [1026]
1026,51 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[57, 2], Operations: ['37-25=12', '12/6=2']
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,51 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[6, 45], Operations: ['37-25=12', '57-12=45']
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[25, 37, 57, 6], Operations: []
Exploring Operation: 37-25=12, Resulting Numbers: [57, 6, 12]
Generated Node #0,0: 51:[57, 6, 12] Operation: 37-25=12
Moving to Node #0,0
Current State: 51:[57, 6, 12], Operations: ['37-25=12']
Exploring Operation: 57-12=45, Resulting Numbers: [6, 45]
Generated Node #0,0,1: 51:[6, 45] Operation: 57-12=45
Moving to Node #0,0,1
Current State: 51:[6, 45], Operations: ['37-25=12', '57-12=45']
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
36,
61,
76,
33
] | 68 | [
"61-36=25",
"76-33=43",
"25+43=68"
] | Current State: 68:[36, 61, 76, 33], Operations: []
Exploring Operation: 61-36=25, Resulting Numbers: [76, 33, 25]
Generated Node #2: [76, 33, 25] from Operation: 61-36=25
Current State: 68:[76, 33, 25], Operations: ['61-36=25']
Exploring Operation: 76-33=43, Resulting Numbers: [25, 43]
Generated Node #3: [25, 43] from Operation: 76-33=43
Current State: 68:[25, 43], Operations: ['61-36=25', '76-33=43']
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[36, 61, 76, 33], Operations: []
Exploring Operation: 76-61=15, Resulting Numbers: [36, 33, 15]
Generated Node #0,0: 68:[36, 33, 15] Operation: 76-61=15
Exploring Operation: 36+33=69, Resulting Numbers: [61, 76, 69]
Generated Node #0,1: 68:[61, 76, 69] Operation: 36+33=69
Exploring Operation: 36-33=3, Resulting Numbers: [61, 76, 3]
Generated Node #0,2: 68:[61, 76, 3] Operation: 36-33=3
Exploring Operation: 76-36=40, Resulting Numbers: [61, 33, 40]
Generated Node #0,3: 68:[61, 33, 40] Operation: 76-36=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[36, 33, 15], Operations: ['76-61=15']
Exploring Operation: 36-33=3, Resulting Numbers: [15, 3]
Generated Node #0,0,0: 68:[15, 3] Operation: 36-33=3
Exploring Operation: 36-15=21, Resulting Numbers: [33, 21]
Generated Node #0,0,1: 68:[33, 21] Operation: 36-15=21
Exploring Operation: 33-15=18, Resulting Numbers: [36, 18]
Generated Node #0,0,2: 68:[36, 18] Operation: 33-15=18
Exploring Operation: 36+33=69, Resulting Numbers: [15, 69]
Generated Node #0,0,3: 68:[15, 69] Operation: 36+33=69
Moving to Node #0,0,0
Current State: 68:[15, 3], Operations: ['76-61=15', '36-33=3']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,68 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[15, 69], Operations: ['76-61=15', '36+33=69']
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 15+69=84, Resulting Numbers: [84]
84,68 unequal: No Solution
Exploring Operation: 15*69=1035, Resulting Numbers: [1035]
1035,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[36, 18], Operations: ['76-61=15', '33-15=18']
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,68 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[33, 21], Operations: ['76-61=15', '36-15=21']
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 33*21=693, Resulting Numbers: [693]
693,68 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,68 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: 68:[61, 33, 40], Operations: ['76-36=40']
Exploring Operation: 40-33=7, Resulting Numbers: [61, 7]
Generated Node #0,3,0: 68:[61, 7] Operation: 40-33=7
Exploring Operation: 61-40=21, Resulting Numbers: [33, 21]
Generated Node #0,3,1: 68:[33, 21] Operation: 61-40=21
Exploring Operation: 61-33=28, Resulting Numbers: [40, 28]
Generated Node #0,3,2: 68:[40, 28] Operation: 61-33=28
Exploring Operation: 33+40=73, Resulting Numbers: [61, 73]
Generated Node #0,3,3: 68:[61, 73] Operation: 33+40=73
Moving to Node #0,3,1
Current State: 68:[33, 21], Operations: ['76-36=40', '61-40=21']
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 33*21=693, Resulting Numbers: [693]
693,68 unequal: No Solution
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Moving to Node #0,3,0
Current State: 68:[61, 7], Operations: ['76-36=40', '40-33=7']
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,68 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[36, 61, 76, 33], Operations: []
Exploring Operation: 76-36=40, Resulting Numbers: [61, 33, 40]
Generated Node #0,3: 68:[61, 33, 40] Operation: 76-36=40
Moving to Node #0,3
Current State: 68:[61, 33, 40], Operations: ['76-36=40']
Exploring Operation: 40-33=7, Resulting Numbers: [61, 7]
Generated Node #0,3,0: 68:[61, 7] Operation: 40-33=7
Moving to Node #0,3,0
Current State: 68:[61, 7], Operations: ['76-36=40', '40-33=7']
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_4 | sum_heuristic |
[
22,
35,
4,
45
] | 62 | [
"35-22=13",
"4+45=49",
"13+49=62"
] | Current State: 62:[22, 35, 4, 45], Operations: []
Exploring Operation: 35-22=13, Resulting Numbers: [4, 45, 13]
Generated Node #2: [4, 45, 13] from Operation: 35-22=13
Current State: 62:[4, 45, 13], Operations: ['35-22=13']
Exploring Operation: 4+45=49, Resulting Numbers: [13, 49]
Generated Node #3: [13, 49] from Operation: 4+45=49
Current State: 62:[13, 49], Operations: ['35-22=13', '4+45=49']
Exploring Operation: 13+49=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[22, 35, 4, 45], Operations: []
Exploring Operation: 45-35=10, Resulting Numbers: [22, 4, 10]
Generated Node #0,0: 62:[22, 4, 10] Operation: 45-35=10
Exploring Operation: 22+45=67, Resulting Numbers: [35, 4, 67]
Generated Node #0,1: 62:[35, 4, 67] Operation: 22+45=67
Exploring Operation: 45-22=23, Resulting Numbers: [35, 4, 23]
Generated Node #0,2: 62:[35, 4, 23] Operation: 45-22=23
Moving to Node #0,1
Current State: 62:[35, 4, 67], Operations: ['22+45=67']
Exploring Operation: 67-4=63, Resulting Numbers: [35, 63]
Generated Node #0,1,0: 62:[35, 63] Operation: 67-4=63
Exploring Operation: 35-4=31, Resulting Numbers: [67, 31]
Generated Node #0,1,1: 62:[67, 31] Operation: 35-4=31
Exploring Operation: 67-35=32, Resulting Numbers: [4, 32]
Generated Node #0,1,2: 62:[4, 32] Operation: 67-35=32
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 62:[4, 32], Operations: ['22+45=67', '67-35=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[35, 63], Operations: ['22+45=67', '67-4=63']
Exploring Operation: 35+63=98, Resulting Numbers: [98]
98,62 unequal: No Solution
Exploring Operation: 35*63=2205, Resulting Numbers: [2205]
2205,62 unequal: No Solution
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[67, 31], Operations: ['22+45=67', '35-4=31']
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Exploring Operation: 67+31=98, Resulting Numbers: [98]
98,62 unequal: No Solution
Exploring Operation: 67*31=2077, Resulting Numbers: [2077]
2077,62 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: 62:[35, 4, 23], Operations: ['45-22=23']
Exploring Operation: 35+23=58, Resulting Numbers: [4, 58]
Generated Node #0,2,0: 62:[4, 58] Operation: 35+23=58
Exploring Operation: 4+23=27, Resulting Numbers: [35, 27]
Generated Node #0,2,1: 62:[35, 27] Operation: 4+23=27
Exploring Operation: 35-4=31, Resulting Numbers: [23, 31]
Generated Node #0,2,2: 62:[23, 31] Operation: 35-4=31
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[4, 58], Operations: ['45-22=23', '35+23=58']
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[22, 35, 4, 45], Operations: []
Exploring Operation: 45-22=23, Resulting Numbers: [35, 4, 23]
Generated Node #0,2: 62:[35, 4, 23] Operation: 45-22=23
Moving to Node #0,2
Current State: 62:[35, 4, 23], Operations: ['45-22=23']
Exploring Operation: 35+23=58, Resulting Numbers: [4, 58]
Generated Node #0,2,0: 62:[4, 58] Operation: 35+23=58
Moving to Node #0,2,0
Current State: 62:[4, 58], Operations: ['45-22=23', '35+23=58']
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
31,
34,
94,
94
] | 64 | [
"31+34=65",
"94/94=1",
"65-1=64"
] | Current State: 64:[31, 34, 94, 94], Operations: []
Exploring Operation: 31+34=65, Resulting Numbers: [94, 94, 65]
Generated Node #2: [94, 94, 65] from Operation: 31+34=65
Current State: 64:[94, 94, 65], Operations: ['31+34=65']
Exploring Operation: 94/94=1, Resulting Numbers: [65, 1]
Generated Node #3: [65, 1] from Operation: 94/94=1
Current State: 64:[65, 1], Operations: ['31+34=65', '94/94=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[31, 34, 94, 94], Operations: []
Exploring Operation: 94/94=1, Resulting Numbers: [31, 34, 1]
Generated Node #0,0: 64:[31, 34, 1] Operation: 94/94=1
Exploring Operation: 94-94=0, Resulting Numbers: [31, 34, 0]
Generated Node #0,1: 64:[31, 34, 0] Operation: 94-94=0
Exploring Operation: 94-31=63, Resulting Numbers: [34, 94, 63]
Generated Node #0,2: 64:[34, 94, 63] Operation: 94-31=63
Moving to Node #0,0
Current State: 64:[31, 34, 1], Operations: ['94/94=1']
Exploring Operation: 31+34=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 64:[1, 65] Operation: 31+34=65
Exploring Operation: 31+1=32, Resulting Numbers: [34, 32]
Generated Node #0,0,1: 64:[34, 32] Operation: 31+1=32
Exploring Operation: 34-31=3, Resulting Numbers: [1, 3]
Generated Node #0,0,2: 64:[1, 3] Operation: 34-31=3
Moving to Node #0,1
Current State: 64:[31, 34, 0], Operations: ['94-94=0']
Exploring Operation: 31+34=65, Resulting Numbers: [0, 65]
Generated Node #0,1,0: 64:[0, 65] Operation: 31+34=65
Exploring Operation: 31+0=31, Resulting Numbers: [34, 31]
Generated Node #0,1,1: 64:[34, 31] Operation: 31+0=31
Exploring Operation: 34-31=3, Resulting Numbers: [0, 3]
Generated Node #0,1,2: 64:[0, 3] Operation: 34-31=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[0, 65], Operations: ['94-94=0', '31+34=65']
Exploring Operation: 65-0=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 0*65=0, Resulting Numbers: [0]
0,64 unequal: No Solution
Exploring Operation: 0+65=65, Resulting Numbers: [65]
65,64 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: 64:[34, 31], Operations: ['94-94=0', '31+0=31']
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 34+31=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 34*31=1054, Resulting Numbers: [1054]
1054,64 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: 64:[0, 3], Operations: ['94-94=0', '34-31=3']
Exploring Operation: 0*3=0, Resulting Numbers: [0]
0,64 unequal: No Solution
Exploring Operation: 0+3=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,64 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: 64:[34, 94, 63], Operations: ['94-31=63']
Exploring Operation: 63-34=29, Resulting Numbers: [94, 29]
Generated Node #0,2,0: 64:[94, 29] Operation: 63-34=29
Exploring Operation: 94-63=31, Resulting Numbers: [34, 31]
Generated Node #0,2,1: 64:[34, 31] Operation: 94-63=31
Exploring Operation: 94-34=60, Resulting Numbers: [63, 60]
Generated Node #0,2,2: 64:[63, 60] Operation: 94-34=60
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[34, 31], Operations: ['94-31=63', '94-63=31']
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 34*31=1054, Resulting Numbers: [1054]
1054,64 unequal: No Solution
Exploring Operation: 34+31=65, Resulting Numbers: [65]
65,64 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: 64:[63, 60], Operations: ['94-31=63', '94-34=60']
Exploring Operation: 63+60=123, Resulting Numbers: [123]
123,64 unequal: No Solution
Exploring Operation: 63*60=3780, Resulting Numbers: [3780]
3780,64 unequal: No Solution
Exploring Operation: 63-60=3, Resulting Numbers: [3]
3,64 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: 64:[94, 29], Operations: ['94-31=63', '63-34=29']
Exploring Operation: 94-29=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 94*29=2726, Resulting Numbers: [2726]
2726,64 unequal: No Solution
Exploring Operation: 94+29=123, Resulting Numbers: [123]
123,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 64:[1, 65], Operations: ['94/94=1', '31+34=65']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[31, 34, 94, 94], Operations: []
Exploring Operation: 94/94=1, Resulting Numbers: [31, 34, 1]
Generated Node #0,0: 64:[31, 34, 1] Operation: 94/94=1
Moving to Node #0,0
Current State: 64:[31, 34, 1], Operations: ['94/94=1']
Exploring Operation: 31+34=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 64:[1, 65] Operation: 31+34=65
Moving to Node #0,0,0
Current State: 64:[1, 65], Operations: ['94/94=1', '31+34=65']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.969618 | hs_3 | sum_heuristic |
[
20,
57,
28,
39
] | 14 | [
"57-20=37",
"39-37=2",
"28/2=14"
] | Current State: 14:[20, 57, 28, 39], Operations: []
Exploring Operation: 57-20=37, Resulting Numbers: [28, 39, 37]
Generated Node #2: [28, 39, 37] from Operation: 57-20=37
Current State: 14:[28, 39, 37], Operations: ['57-20=37']
Exploring Operation: 39-37=2, Resulting Numbers: [28, 2]
Generated Node #3: [28, 2] from Operation: 39-37=2
Current State: 14:[28, 2], Operations: ['57-20=37', '39-37=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[20, 57, 28, 39], Operations: []
Exploring Operation: 57-20=37, Resulting Numbers: [28, 39, 37]
Generated Node #0,0: 14:[28, 39, 37] Operation: 57-20=37
Exploring Operation: 57-28=29, Resulting Numbers: [20, 39, 29]
Generated Node #0,1: 14:[20, 39, 29] Operation: 57-28=29
Exploring Operation: 39-20=19, Resulting Numbers: [57, 28, 19]
Generated Node #0,2: 14:[57, 28, 19] Operation: 39-20=19
Exploring Operation: 39-28=11, Resulting Numbers: [20, 57, 11]
Generated Node #0,3: 14:[20, 57, 11] Operation: 39-28=11
Exploring Operation: 57-39=18, Resulting Numbers: [20, 28, 18]
Generated Node #0,4: 14:[20, 28, 18] Operation: 57-39=18
Start Sub Search at level 1: Moving to Node #0,4
Current State: 14:[20, 28, 18], Operations: ['57-39=18']
Exploring Operation: 20-18=2, Resulting Numbers: [28, 2]
Generated Node #0,4,0: 14:[28, 2] Operation: 20-18=2
Exploring Operation: 20+28=48, Resulting Numbers: [18, 48]
Generated Node #0,4,1: 14:[18, 48] Operation: 20+28=48
Exploring Operation: 28-20=8, Resulting Numbers: [18, 8]
Generated Node #0,4,2: 14:[18, 8] Operation: 28-20=8
Exploring Operation: 28-18=10, Resulting Numbers: [20, 10]
Generated Node #0,4,3: 14:[20, 10] Operation: 28-18=10
Exploring Operation: 20+18=38, Resulting Numbers: [28, 38]
Generated Node #0,4,4: 14:[28, 38] Operation: 20+18=38
Moving to Node #0,4,2
Current State: 14:[18, 8], Operations: ['57-39=18', '28-20=8']
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,14 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,14 unequal: No Solution
Moving to Node #0,4,3
Current State: 14:[20, 10], Operations: ['57-39=18', '28-18=10']
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 20*10=200, Resulting Numbers: [200]
200,14 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,14 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,14 unequal: No Solution
Moving to Node #0,4,0
Current State: 14:[28, 2], Operations: ['57-39=18', '20-18=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,14 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[20, 57, 28, 39], Operations: []
Exploring Operation: 57-39=18, Resulting Numbers: [20, 28, 18]
Generated Node #0,4: 14:[20, 28, 18] Operation: 57-39=18
Moving to Node #0,4
Current State: 14:[20, 28, 18], Operations: ['57-39=18']
Exploring Operation: 20-18=2, Resulting Numbers: [28, 2]
Generated Node #0,4,0: 14:[28, 2] Operation: 20-18=2
Moving to Node #0,4,0
Current State: 14:[28, 2], Operations: ['57-39=18', '20-18=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
28,
76,
11,
98
] | 26 | [
"98-76=22",
"22/11=2",
"28-2=26"
] | Current State: 26:[28, 76, 11, 98], Operations: []
Exploring Operation: 98-76=22, Resulting Numbers: [28, 11, 22]
Generated Node #2: [28, 11, 22] from Operation: 98-76=22
Current State: 26:[28, 11, 22], Operations: ['98-76=22']
Exploring Operation: 22/11=2, Resulting Numbers: [28, 2]
Generated Node #3: [28, 2] from Operation: 22/11=2
Current State: 26:[28, 2], Operations: ['98-76=22', '22/11=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[28, 76, 11, 98], Operations: []
Exploring Operation: 76-28=48, Resulting Numbers: [11, 98, 48]
Generated Node #0,0: 26:[11, 98, 48] Operation: 76-28=48
Exploring Operation: 98-76=22, Resulting Numbers: [28, 11, 22]
Generated Node #0,1: 26:[28, 11, 22] Operation: 98-76=22
Exploring Operation: 76-11=65, Resulting Numbers: [28, 98, 65]
Generated Node #0,2: 26:[28, 98, 65] Operation: 76-11=65
Exploring Operation: 98-28=70, Resulting Numbers: [76, 11, 70]
Generated Node #0,3: 26:[76, 11, 70] Operation: 98-28=70
Moving to Node #0,1
Current State: 26:[28, 11, 22], Operations: ['98-76=22']
Exploring Operation: 28-22=6, Resulting Numbers: [11, 6]
Generated Node #0,1,0: 26:[11, 6] Operation: 28-22=6
Exploring Operation: 22-11=11, Resulting Numbers: [28, 11]
Generated Node #0,1,1: 26:[28, 11] Operation: 22-11=11
Exploring Operation: 28-11=17, Resulting Numbers: [22, 17]
Generated Node #0,1,2: 26:[22, 17] Operation: 28-11=17
Exploring Operation: 22/11=2, Resulting Numbers: [28, 2]
Generated Node #0,1,3: 26:[28, 2] Operation: 22/11=2
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 26:[28, 2], Operations: ['98-76=22', '22/11=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[28, 76, 11, 98], Operations: []
Exploring Operation: 98-76=22, Resulting Numbers: [28, 11, 22]
Generated Node #0,1: 26:[28, 11, 22] Operation: 98-76=22
Moving to Node #0,1
Current State: 26:[28, 11, 22], Operations: ['98-76=22']
Exploring Operation: 22/11=2, Resulting Numbers: [28, 2]
Generated Node #0,1,3: 26:[28, 2] Operation: 22/11=2
Moving to Node #0,1,3
Current State: 26:[28, 2], Operations: ['98-76=22', '22/11=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
3,
90,
72,
67
] | 46 | [
"3+90=93",
"72+67=139",
"139-93=46"
] | Current State: 46:[3, 90, 72, 67], Operations: []
Exploring Operation: 3+90=93, Resulting Numbers: [72, 67, 93]
Generated Node #2: [72, 67, 93] from Operation: 3+90=93
Current State: 46:[72, 67, 93], Operations: ['3+90=93']
Exploring Operation: 72+67=139, Resulting Numbers: [93, 139]
Generated Node #3: [93, 139] from Operation: 72+67=139
Current State: 46:[93, 139], Operations: ['3+90=93', '72+67=139']
Exploring Operation: 139-93=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[3, 90, 72, 67], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [3, 67, 18]
Generated Node #0,0: 46:[3, 67, 18] Operation: 90-72=18
Moving to Node #0,0
Current State: 46:[3, 67, 18], Operations: ['90-72=18']
Exploring Operation: 67-18=49, Resulting Numbers: [3, 49]
Generated Node #0,0,0: 46:[3, 49] Operation: 67-18=49
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[3, 49], Operations: ['90-72=18', '67-18=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[3, 90, 72, 67], Operations: []
Exploring Operation: 90-72=18, Resulting Numbers: [3, 67, 18]
Generated Node #0,0: 46:[3, 67, 18] Operation: 90-72=18
Moving to Node #0,0
Current State: 46:[3, 67, 18], Operations: ['90-72=18']
Exploring Operation: 67-18=49, Resulting Numbers: [3, 49]
Generated Node #0,0,0: 46:[3, 49] Operation: 67-18=49
Moving to Node #0,0,0
Current State: 46:[3, 49], Operations: ['90-72=18', '67-18=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
66,
24,
84,
41
] | 82 | [
"66-24=42",
"84*41=3444",
"3444/42=82"
] | Current State: 82:[66, 24, 84, 41], Operations: []
Exploring Operation: 66-24=42, Resulting Numbers: [84, 41, 42]
Generated Node #2: [84, 41, 42] from Operation: 66-24=42
Current State: 82:[84, 41, 42], Operations: ['66-24=42']
Exploring Operation: 84*41=3444, Resulting Numbers: [42, 3444]
Generated Node #3: [42, 3444] from Operation: 84*41=3444
Current State: 82:[42, 3444], Operations: ['66-24=42', '84*41=3444']
Exploring Operation: 3444/42=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[66, 24, 84, 41], Operations: []
Exploring Operation: 84-66=18, Resulting Numbers: [24, 41, 18]
Generated Node #0,0: 82:[24, 41, 18] Operation: 84-66=18
Exploring Operation: 41-24=17, Resulting Numbers: [66, 84, 17]
Generated Node #0,1: 82:[66, 84, 17] Operation: 41-24=17
Exploring Operation: 66+24=90, Resulting Numbers: [84, 41, 90]
Generated Node #0,2: 82:[84, 41, 90] Operation: 66+24=90
Exploring Operation: 66-24=42, Resulting Numbers: [84, 41, 42]
Generated Node #0,3: 82:[84, 41, 42] Operation: 66-24=42
Moving to Node #0,3
Current State: 82:[84, 41, 42], Operations: ['66-24=42']
Exploring Operation: 84-42=42, Resulting Numbers: [41, 42]
Generated Node #0,3,0: 82:[41, 42] Operation: 84-42=42
Exploring Operation: 84/42=2, Resulting Numbers: [41, 2]
Generated Node #0,3,1: 82:[41, 2] Operation: 84/42=2
Exploring Operation: 84-41=43, Resulting Numbers: [42, 43]
Generated Node #0,3,2: 82:[42, 43] Operation: 84-41=43
Exploring Operation: 41+42=83, Resulting Numbers: [84, 83]
Generated Node #0,3,3: 82:[84, 83] Operation: 41+42=83
Moving to Node #0,2
Current State: 82:[84, 41, 90], Operations: ['66+24=90']
Exploring Operation: 90-41=49, Resulting Numbers: [84, 49]
Generated Node #0,2,0: 82:[84, 49] Operation: 90-41=49
Exploring Operation: 84+41=125, Resulting Numbers: [90, 125]
Generated Node #0,2,1: 82:[90, 125] Operation: 84+41=125
Exploring Operation: 84-41=43, Resulting Numbers: [90, 43]
Generated Node #0,2,2: 82:[90, 43] Operation: 84-41=43
Exploring Operation: 90-84=6, Resulting Numbers: [41, 6]
Generated Node #0,2,3: 82:[41, 6] Operation: 90-84=6
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 82:[41, 6], Operations: ['66+24=90', '90-84=6']
Exploring Operation: 41*6=246, Resulting Numbers: [246]
246,82 unequal: No Solution
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,82 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: 82:[84, 49], Operations: ['66+24=90', '90-41=49']
Exploring Operation: 84*49=4116, Resulting Numbers: [4116]
4116,82 unequal: No Solution
Exploring Operation: 84+49=133, Resulting Numbers: [133]
133,82 unequal: No Solution
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,82 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: 82:[90, 43], Operations: ['66+24=90', '84-41=43']
Exploring Operation: 90*43=3870, Resulting Numbers: [3870]
3870,82 unequal: No Solution
Exploring Operation: 90+43=133, Resulting Numbers: [133]
133,82 unequal: No Solution
Exploring Operation: 90-43=47, Resulting Numbers: [47]
47,82 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: 82:[90, 125], Operations: ['66+24=90', '84+41=125']
Exploring Operation: 90+125=215, Resulting Numbers: [215]
215,82 unequal: No Solution
Exploring Operation: 90*125=11250, Resulting Numbers: [11250]
11250,82 unequal: No Solution
Exploring Operation: 125-90=35, Resulting Numbers: [35]
35,82 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: 82:[66, 84, 17], Operations: ['41-24=17']
Exploring Operation: 84-17=67, Resulting Numbers: [66, 67]
Generated Node #0,1,0: 82:[66, 67] Operation: 84-17=67
Exploring Operation: 66+17=83, Resulting Numbers: [84, 83]
Generated Node #0,1,1: 82:[84, 83] Operation: 66+17=83
Exploring Operation: 66-17=49, Resulting Numbers: [84, 49]
Generated Node #0,1,2: 82:[84, 49] Operation: 66-17=49
Exploring Operation: 84-66=18, Resulting Numbers: [17, 18]
Generated Node #0,1,3: 82:[17, 18] Operation: 84-66=18
Moving to Node #0,0
Current State: 82:[24, 41, 18], Operations: ['84-66=18']
Exploring Operation: 41-24=17, Resulting Numbers: [18, 17]
Generated Node #0,0,0: 82:[18, 17] Operation: 41-24=17
Exploring Operation: 24+41=65, Resulting Numbers: [18, 65]
Generated Node #0,0,1: 82:[18, 65] Operation: 24+41=65
Exploring Operation: 24-18=6, Resulting Numbers: [41, 6]
Generated Node #0,0,2: 82:[41, 6] Operation: 24-18=6
Exploring Operation: 24+18=42, Resulting Numbers: [41, 42]
Generated Node #0,0,3: 82:[41, 42] Operation: 24+18=42
Moving to Node #0,3,1
Current State: 82:[41, 2], Operations: ['66-24=42', '84/42=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[66, 24, 84, 41], Operations: []
Exploring Operation: 66-24=42, Resulting Numbers: [84, 41, 42]
Generated Node #0,3: 82:[84, 41, 42] Operation: 66-24=42
Moving to Node #0,3
Current State: 82:[84, 41, 42], Operations: ['66-24=42']
Exploring Operation: 84/42=2, Resulting Numbers: [41, 2]
Generated Node #0,3,1: 82:[41, 2] Operation: 84/42=2
Moving to Node #0,3,1
Current State: 82:[41, 2], Operations: ['66-24=42', '84/42=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.967882 | hs_4 | mult_heuristic |
[
27,
68,
80,
7
] | 57 | [
"80-68=12",
"7*12=84",
"84-27=57"
] | Current State: 57:[27, 68, 80, 7], Operations: []
Exploring Operation: 80-68=12, Resulting Numbers: [27, 7, 12]
Generated Node #2: [27, 7, 12] from Operation: 80-68=12
Current State: 57:[27, 7, 12], Operations: ['80-68=12']
Exploring Operation: 7*12=84, Resulting Numbers: [27, 84]
Generated Node #3: [27, 84] from Operation: 7*12=84
Current State: 57:[27, 84], Operations: ['80-68=12', '7*12=84']
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[27, 68, 80, 7], Operations: []
Exploring Operation: 80-68=12, Resulting Numbers: [27, 7, 12]
Generated Node #0,0: 57:[27, 7, 12] Operation: 80-68=12
Exploring Operation: 80-27=53, Resulting Numbers: [68, 7, 53]
Generated Node #0,1: 57:[68, 7, 53] Operation: 80-27=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[27, 7, 12], Operations: ['80-68=12']
Exploring Operation: 27-12=15, Resulting Numbers: [7, 15]
Generated Node #0,0,0: 57:[7, 15] Operation: 27-12=15
Exploring Operation: 27-7=20, Resulting Numbers: [12, 20]
Generated Node #0,0,1: 57:[12, 20] Operation: 27-7=20
Moving to Node #0,0,0
Current State: 57:[7, 15], Operations: ['80-68=12', '27-12=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[12, 20], Operations: ['80-68=12', '27-7=20']
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,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,1
Current State: 57:[68, 7, 53], Operations: ['80-27=53']
Exploring Operation: 68-53=15, Resulting Numbers: [7, 15]
Generated Node #0,1,0: 57:[7, 15] Operation: 68-53=15
Exploring Operation: 68-7=61, Resulting Numbers: [53, 61]
Generated Node #0,1,1: 57:[53, 61] Operation: 68-7=61
Moving to Node #0,1,0
Current State: 57:[7, 15], Operations: ['80-27=53', '68-53=15']
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[53, 61], Operations: ['80-27=53', '68-7=61']
Exploring Operation: 53+61=114, Resulting Numbers: [114]
114,57 unequal: No Solution
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,57 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 |
[
13,
2,
35,
18
] | 68 | [
"13+2=15",
"35+18=53",
"15+53=68"
] | Current State: 68:[13, 2, 35, 18], Operations: []
Exploring Operation: 13+2=15, Resulting Numbers: [35, 18, 15]
Generated Node #2: [35, 18, 15] from Operation: 13+2=15
Current State: 68:[35, 18, 15], Operations: ['13+2=15']
Exploring Operation: 35+18=53, Resulting Numbers: [15, 53]
Generated Node #3: [15, 53] from Operation: 35+18=53
Current State: 68:[15, 53], Operations: ['13+2=15', '35+18=53']
Exploring Operation: 15+53=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[13, 2, 35, 18], Operations: []
Exploring Operation: 18-13=5, Resulting Numbers: [2, 35, 5]
Generated Node #0,0: 68:[2, 35, 5] Operation: 18-13=5
Moving to Node #0,0
Current State: 68:[2, 35, 5], Operations: ['18-13=5']
Exploring Operation: 35-2=33, Resulting Numbers: [5, 33]
Generated Node #0,0,0: 68:[5, 33] Operation: 35-2=33
Moving to Node #0,0,0
Current State: 68:[5, 33], Operations: ['18-13=5', '35-2=33']
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,68 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
5,
26,
32,
29
] | 34 | [
"5+26=31",
"32-29=3",
"31+3=34"
] | Current State: 34:[5, 26, 32, 29], Operations: []
Exploring Operation: 5+26=31, Resulting Numbers: [32, 29, 31]
Generated Node #2: [32, 29, 31] from Operation: 5+26=31
Current State: 34:[32, 29, 31], Operations: ['5+26=31']
Exploring Operation: 32-29=3, Resulting Numbers: [31, 3]
Generated Node #3: [31, 3] from Operation: 32-29=3
Current State: 34:[31, 3], Operations: ['5+26=31', '32-29=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[5, 26, 32, 29], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [5, 32, 3]
Generated Node #0,0: 34:[5, 32, 3] Operation: 29-26=3
Exploring Operation: 5+26=31, Resulting Numbers: [32, 29, 31]
Generated Node #0,1: 34:[32, 29, 31] Operation: 5+26=31
Exploring Operation: 5+29=34, Resulting Numbers: [26, 32, 34]
Generated Node #0,2: 34:[26, 32, 34] Operation: 5+29=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[5, 32, 3], Operations: ['29-26=3']
Exploring Operation: 5*3=15, Resulting Numbers: [32, 15]
Generated Node #0,0,0: 34:[32, 15] Operation: 5*3=15
Exploring Operation: 5-3=2, Resulting Numbers: [32, 2]
Generated Node #0,0,1: 34:[32, 2] Operation: 5-3=2
Exploring Operation: 5+32=37, Resulting Numbers: [3, 37]
Generated Node #0,0,2: 34:[3, 37] Operation: 5+32=37
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[32, 2], Operations: ['29-26=3', '5-3=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[5, 26, 32, 29], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [5, 32, 3]
Generated Node #0,0: 34:[5, 32, 3] Operation: 29-26=3
Moving to Node #0,0
Current State: 34:[5, 32, 3], Operations: ['29-26=3']
Exploring Operation: 5-3=2, Resulting Numbers: [32, 2]
Generated Node #0,0,1: 34:[32, 2] Operation: 5-3=2
Moving to Node #0,0,1
Current State: 34:[32, 2], Operations: ['29-26=3', '5-3=2']
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
71,
90,
78,
78
] | 19 | [
"90-71=19",
"78-78=0",
"19+0=19"
] | Current State: 19:[71, 90, 78, 78], Operations: []
Exploring Operation: 90-71=19, Resulting Numbers: [78, 78, 19]
Generated Node #2: [78, 78, 19] from Operation: 90-71=19
Current State: 19:[78, 78, 19], Operations: ['90-71=19']
Exploring Operation: 78-78=0, Resulting Numbers: [19, 0]
Generated Node #3: [19, 0] from Operation: 78-78=0
Current State: 19:[19, 0], Operations: ['90-71=19', '78-78=0']
Exploring Operation: 19+0=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[71, 90, 78, 78], Operations: []
Exploring Operation: 78/78=1, Resulting Numbers: [71, 90, 1]
Generated Node #0,0: 19:[71, 90, 1] Operation: 78/78=1
Exploring Operation: 90-71=19, Resulting Numbers: [78, 78, 19]
Generated Node #0,1: 19:[78, 78, 19] Operation: 90-71=19
Exploring Operation: 90-78=12, Resulting Numbers: [71, 78, 12]
Generated Node #0,2: 19:[71, 78, 12] Operation: 90-78=12
Exploring Operation: 90-78=12, Resulting Numbers: [71, 78, 12]
Generated Node #0,3: 19:[71, 78, 12] Operation: 90-78=12
Exploring Operation: 78-71=7, Resulting Numbers: [90, 78, 7]
Generated Node #0,4: 19:[90, 78, 7] Operation: 78-71=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[78, 78, 19], Operations: ['90-71=19']
Exploring Operation: 78-19=59, Resulting Numbers: [78, 59]
Generated Node #0,1,0: 19:[78, 59] Operation: 78-19=59
Exploring Operation: 78/78=1, Resulting Numbers: [19, 1]
Generated Node #0,1,1: 19:[19, 1] Operation: 78/78=1
Exploring Operation: 78-78=0, Resulting Numbers: [19, 0]
Generated Node #0,1,2: 19:[19, 0] Operation: 78-78=0
Exploring Operation: 78+78=156, Resulting Numbers: [19, 156]
Generated Node #0,1,3: 19:[19, 156] Operation: 78+78=156
Exploring Operation: 78-19=59, Resulting Numbers: [78, 59]
Generated Node #0,1,4: 19:[78, 59] Operation: 78-19=59
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[19, 1], Operations: ['90-71=19', '78/78=1']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[71, 90, 78, 78], Operations: []
Exploring Operation: 90-71=19, Resulting Numbers: [78, 78, 19]
Generated Node #0,1: 19:[78, 78, 19] Operation: 90-71=19
Moving to Node #0,1
Current State: 19:[78, 78, 19], Operations: ['90-71=19']
Exploring Operation: 78/78=1, Resulting Numbers: [19, 1]
Generated Node #0,1,1: 19:[19, 1] Operation: 78/78=1
Moving to Node #0,1,1
Current State: 19:[19, 1], Operations: ['90-71=19', '78/78=1']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
34,
82,
97,
51
] | 32 | [
"34+82=116",
"97+51=148",
"148-116=32"
] | Current State: 32:[34, 82, 97, 51], Operations: []
Exploring Operation: 34+82=116, Resulting Numbers: [97, 51, 116]
Generated Node #2: [97, 51, 116] from Operation: 34+82=116
Current State: 32:[97, 51, 116], Operations: ['34+82=116']
Exploring Operation: 97+51=148, Resulting Numbers: [116, 148]
Generated Node #3: [116, 148] from Operation: 97+51=148
Current State: 32:[116, 148], Operations: ['34+82=116', '97+51=148']
Exploring Operation: 148-116=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[34, 82, 97, 51], Operations: []
Exploring Operation: 97-82=15, Resulting Numbers: [34, 51, 15]
Generated Node #0,0: 32:[34, 51, 15] Operation: 97-82=15
Exploring Operation: 97-51=46, Resulting Numbers: [34, 82, 46]
Generated Node #0,1: 32:[34, 82, 46] Operation: 97-51=46
Exploring Operation: 82-51=31, Resulting Numbers: [34, 97, 31]
Generated Node #0,2: 32:[34, 97, 31] Operation: 82-51=31
Moving to Node #0,0
Current State: 32:[34, 51, 15], Operations: ['97-82=15']
Exploring Operation: 51-34=17, Resulting Numbers: [15, 17]
Generated Node #0,0,0: 32:[15, 17] Operation: 51-34=17
Exploring Operation: 34-15=19, Resulting Numbers: [51, 19]
Generated Node #0,0,1: 32:[51, 19] Operation: 34-15=19
Exploring Operation: 51-15=36, Resulting Numbers: [34, 36]
Generated Node #0,0,2: 32:[34, 36] Operation: 51-15=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[15, 17], Operations: ['97-82=15', '51-34=17']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[34, 82, 97, 51], Operations: []
Exploring Operation: 97-82=15, Resulting Numbers: [34, 51, 15]
Generated Node #0,0: 32:[34, 51, 15] Operation: 97-82=15
Moving to Node #0,0
Current State: 32:[34, 51, 15], Operations: ['97-82=15']
Exploring Operation: 51-34=17, Resulting Numbers: [15, 17]
Generated Node #0,0,0: 32:[15, 17] Operation: 51-34=17
Moving to Node #0,0,0
Current State: 32:[15, 17], Operations: ['97-82=15', '51-34=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
61,
53,
34,
19
] | 62 | [
"53-34=19",
"19/19=1",
"61+1=62"
] | Current State: 62:[61, 53, 34, 19], Operations: []
Exploring Operation: 53-34=19, Resulting Numbers: [61, 19, 19]
Generated Node #2: [61, 19, 19] from Operation: 53-34=19
Current State: 62:[61, 19, 19], Operations: ['53-34=19']
Exploring Operation: 19/19=1, Resulting Numbers: [61, 1]
Generated Node #3: [61, 1] from Operation: 19/19=1
Current State: 62:[61, 1], Operations: ['53-34=19', '19/19=1']
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[61, 53, 34, 19], Operations: []
Exploring Operation: 61-53=8, Resulting Numbers: [34, 19, 8]
Generated Node #0,0: 62:[34, 19, 8] Operation: 61-53=8
Exploring Operation: 53-19=34, Resulting Numbers: [61, 34, 34]
Generated Node #0,1: 62:[61, 34, 34] Operation: 53-19=34
Exploring Operation: 53+19=72, Resulting Numbers: [61, 34, 72]
Generated Node #0,2: 62:[61, 34, 72] Operation: 53+19=72
Exploring Operation: 34+19=53, Resulting Numbers: [61, 53, 53]
Generated Node #0,3: 62:[61, 53, 53] Operation: 34+19=53
Moving to Node #0,1
Current State: 62:[61, 34, 34], Operations: ['53-19=34']
Exploring Operation: 61-34=27, Resulting Numbers: [34, 27]
Generated Node #0,1,0: 62:[34, 27] Operation: 61-34=27
Exploring Operation: 61-34=27, Resulting Numbers: [34, 27]
Generated Node #0,1,1: 62:[34, 27] Operation: 61-34=27
Exploring Operation: 34/34=1, Resulting Numbers: [61, 1]
Generated Node #0,1,2: 62:[61, 1] Operation: 34/34=1
Exploring Operation: 34-34=0, Resulting Numbers: [61, 0]
Generated Node #0,1,3: 62:[61, 0] Operation: 34-34=0
Moving to Node #0,2
Current State: 62:[61, 34, 72], Operations: ['53+19=72']
Exploring Operation: 72-34=38, Resulting Numbers: [61, 38]
Generated Node #0,2,0: 62:[61, 38] Operation: 72-34=38
Exploring Operation: 61+34=95, Resulting Numbers: [72, 95]
Generated Node #0,2,1: 62:[72, 95] Operation: 61+34=95
Exploring Operation: 72-61=11, Resulting Numbers: [34, 11]
Generated Node #0,2,2: 62:[34, 11] Operation: 72-61=11
Exploring Operation: 61-34=27, Resulting Numbers: [72, 27]
Generated Node #0,2,3: 62:[72, 27] Operation: 61-34=27
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[61, 38], Operations: ['53+19=72', '72-34=38']
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 61*38=2318, Resulting Numbers: [2318]
2318,62 unequal: No Solution
Exploring Operation: 61+38=99, Resulting Numbers: [99]
99,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[34, 11], Operations: ['53+19=72', '72-61=11']
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,62 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 62:[72, 27], Operations: ['53+19=72', '61-34=27']
Exploring Operation: 72*27=1944, Resulting Numbers: [1944]
1944,62 unequal: No Solution
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 72+27=99, Resulting Numbers: [99]
99,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[72, 95], Operations: ['53+19=72', '61+34=95']
Exploring Operation: 72+95=167, Resulting Numbers: [167]
167,62 unequal: No Solution
Exploring Operation: 95-72=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 72*95=6840, Resulting Numbers: [6840]
6840,62 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: 62:[61, 53, 53], Operations: ['34+19=53']
Exploring Operation: 61-53=8, Resulting Numbers: [53, 8]
Generated Node #0,3,0: 62:[53, 8] Operation: 61-53=8
Exploring Operation: 61-53=8, Resulting Numbers: [53, 8]
Generated Node #0,3,1: 62:[53, 8] Operation: 61-53=8
Exploring Operation: 53/53=1, Resulting Numbers: [61, 1]
Generated Node #0,3,2: 62:[61, 1] Operation: 53/53=1
Exploring Operation: 53-53=0, Resulting Numbers: [61, 0]
Generated Node #0,3,3: 62:[61, 0] Operation: 53-53=0
Moving to Node #0,0
Current State: 62:[34, 19, 8], Operations: ['61-53=8']
Exploring Operation: 34+19=53, Resulting Numbers: [8, 53]
Generated Node #0,0,0: 62:[8, 53] Operation: 34+19=53
Exploring Operation: 34-8=26, Resulting Numbers: [19, 26]
Generated Node #0,0,1: 62:[19, 26] Operation: 34-8=26
Exploring Operation: 19+8=27, Resulting Numbers: [34, 27]
Generated Node #0,0,2: 62:[34, 27] Operation: 19+8=27
Exploring Operation: 19-8=11, Resulting Numbers: [34, 11]
Generated Node #0,0,3: 62:[34, 11] Operation: 19-8=11
Moving to Node #0,1,2
Current State: 62:[61, 1], Operations: ['53-19=34', '34/34=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,62 unequal: No Solution
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[61, 53, 34, 19], Operations: []
Exploring Operation: 53-19=34, Resulting Numbers: [61, 34, 34]
Generated Node #0,1: 62:[61, 34, 34] Operation: 53-19=34
Moving to Node #0,1
Current State: 62:[61, 34, 34], Operations: ['53-19=34']
Exploring Operation: 34/34=1, Resulting Numbers: [61, 1]
Generated Node #0,1,2: 62:[61, 1] Operation: 34/34=1
Moving to Node #0,1,2
Current State: 62:[61, 1], Operations: ['53-19=34', '34/34=1']
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.965278 | hs_4 | sum_heuristic |
[
14,
73,
66,
57
] | 68 | [
"73-14=59",
"66-57=9",
"59+9=68"
] | Current State: 68:[14, 73, 66, 57], Operations: []
Exploring Operation: 73-14=59, Resulting Numbers: [66, 57, 59]
Generated Node #2: [66, 57, 59] from Operation: 73-14=59
Current State: 68:[66, 57, 59], Operations: ['73-14=59']
Exploring Operation: 66-57=9, Resulting Numbers: [59, 9]
Generated Node #3: [59, 9] from Operation: 66-57=9
Current State: 68:[59, 9], Operations: ['73-14=59', '66-57=9']
Exploring Operation: 59+9=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[14, 73, 66, 57], Operations: []
Exploring Operation: 14+57=71, Resulting Numbers: [73, 66, 71]
Generated Node #0,0: 68:[73, 66, 71] Operation: 14+57=71
Exploring Operation: 66-57=9, Resulting Numbers: [14, 73, 9]
Generated Node #0,1: 68:[14, 73, 9] Operation: 66-57=9
Exploring Operation: 73-66=7, Resulting Numbers: [14, 57, 7]
Generated Node #0,2: 68:[14, 57, 7] Operation: 73-66=7
Exploring Operation: 73-57=16, Resulting Numbers: [14, 66, 16]
Generated Node #0,3: 68:[14, 66, 16] Operation: 73-57=16
Exploring Operation: 57-14=43, Resulting Numbers: [73, 66, 43]
Generated Node #0,4: 68:[73, 66, 43] Operation: 57-14=43
Moving to Node #0,3
Current State: 68:[14, 66, 16], Operations: ['73-57=16']
Exploring Operation: 16-14=2, Resulting Numbers: [66, 2]
Generated Node #0,3,0: 68:[66, 2] Operation: 16-14=2
Exploring Operation: 66-14=52, Resulting Numbers: [16, 52]
Generated Node #0,3,1: 68:[16, 52] Operation: 66-14=52
Exploring Operation: 14+16=30, Resulting Numbers: [66, 30]
Generated Node #0,3,2: 68:[66, 30] Operation: 14+16=30
Exploring Operation: 66+16=82, Resulting Numbers: [14, 82]
Generated Node #0,3,3: 68:[14, 82] Operation: 66+16=82
Exploring Operation: 14+66=80, Resulting Numbers: [16, 80]
Generated Node #0,3,4: 68:[16, 80] Operation: 14+66=80
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 68:[66, 2], Operations: ['73-57=16', '16-14=2']
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[14, 73, 66, 57], Operations: []
Exploring Operation: 73-57=16, Resulting Numbers: [14, 66, 16]
Generated Node #0,3: 68:[14, 66, 16] Operation: 73-57=16
Moving to Node #0,3
Current State: 68:[14, 66, 16], Operations: ['73-57=16']
Exploring Operation: 16-14=2, Resulting Numbers: [66, 2]
Generated Node #0,3,0: 68:[66, 2] Operation: 16-14=2
Moving to Node #0,3,0
Current State: 68:[66, 2], Operations: ['73-57=16', '16-14=2']
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
11,
4,
92,
68
] | 29 | [
"92+68=160",
"160/4=40",
"40-11=29"
] | Current State: 29:[11, 4, 92, 68], Operations: []
Exploring Operation: 92+68=160, Resulting Numbers: [11, 4, 160]
Generated Node #2: [11, 4, 160] from Operation: 92+68=160
Current State: 29:[11, 4, 160], Operations: ['92+68=160']
Exploring Operation: 160/4=40, Resulting Numbers: [11, 40]
Generated Node #3: [11, 40] from Operation: 160/4=40
Current State: 29:[11, 40], Operations: ['92+68=160', '160/4=40']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[11, 4, 92, 68], Operations: []
Exploring Operation: 92-68=24, Resulting Numbers: [11, 4, 24]
Generated Node #0,0: 29:[11, 4, 24] Operation: 92-68=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[11, 4, 24], Operations: ['92-68=24']
Exploring Operation: 11+4=15, Resulting Numbers: [24, 15]
Generated Node #0,0,0: 29:[24, 15] Operation: 11+4=15
Moving to Node #0,0,0
Current State: 29:[24, 15], Operations: ['92-68=24', '11+4=15']
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,29 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 |
[
35,
53,
46,
81
] | 86 | [
"53-46=7",
"35/7=5",
"81+5=86"
] | Current State: 86:[35, 53, 46, 81], Operations: []
Exploring Operation: 53-46=7, Resulting Numbers: [35, 81, 7]
Generated Node #2: [35, 81, 7] from Operation: 53-46=7
Current State: 86:[35, 81, 7], Operations: ['53-46=7']
Exploring Operation: 35/7=5, Resulting Numbers: [81, 5]
Generated Node #3: [81, 5] from Operation: 35/7=5
Current State: 86:[81, 5], Operations: ['53-46=7', '35/7=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[35, 53, 46, 81], Operations: []
Exploring Operation: 53-46=7, Resulting Numbers: [35, 81, 7]
Generated Node #0,0: 86:[35, 81, 7] Operation: 53-46=7
Exploring Operation: 81-35=46, Resulting Numbers: [53, 46, 46]
Generated Node #0,1: 86:[53, 46, 46] Operation: 81-35=46
Exploring Operation: 35+53=88, Resulting Numbers: [46, 81, 88]
Generated Node #0,2: 86:[46, 81, 88] Operation: 35+53=88
Moving to Node #0,2
Current State: 86:[46, 81, 88], Operations: ['35+53=88']
Exploring Operation: 88-81=7, Resulting Numbers: [46, 7]
Generated Node #0,2,0: 86:[46, 7] Operation: 88-81=7
Exploring Operation: 81-46=35, Resulting Numbers: [88, 35]
Generated Node #0,2,1: 86:[88, 35] Operation: 81-46=35
Exploring Operation: 88-46=42, Resulting Numbers: [81, 42]
Generated Node #0,2,2: 86:[81, 42] Operation: 88-46=42
Moving to Node #0,1
Current State: 86:[53, 46, 46], Operations: ['81-35=46']
Exploring Operation: 53-46=7, Resulting Numbers: [46, 7]
Generated Node #0,1,0: 86:[46, 7] Operation: 53-46=7
Exploring Operation: 53-46=7, Resulting Numbers: [46, 7]
Generated Node #0,1,1: 86:[46, 7] Operation: 53-46=7
Exploring Operation: 46/46=1, Resulting Numbers: [53, 1]
Generated Node #0,1,2: 86:[53, 1] Operation: 46/46=1
Moving to Node #0,0
Current State: 86:[35, 81, 7], Operations: ['53-46=7']
Exploring Operation: 35+7=42, Resulting Numbers: [81, 42]
Generated Node #0,0,0: 86:[81, 42] Operation: 35+7=42
Exploring Operation: 35/7=5, Resulting Numbers: [81, 5]
Generated Node #0,0,1: 86:[81, 5] Operation: 35/7=5
Exploring Operation: 81-35=46, Resulting Numbers: [7, 46]
Generated Node #0,0,2: 86:[7, 46] Operation: 81-35=46
Moving to Node #0,2,2
Current State: 86:[81, 42], Operations: ['35+53=88', '88-46=42']
Exploring Operation: 81+42=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Exploring Operation: 81*42=3402, Resulting Numbers: [3402]
3402,86 unequal: No Solution
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[81, 42], Operations: ['53-46=7', '35+7=42']
Exploring Operation: 81+42=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 81*42=3402, Resulting Numbers: [3402]
3402,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[7, 46], Operations: ['53-46=7', '81-35=46']
Exploring Operation: 7*46=322, Resulting Numbers: [322]
322,86 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 7+46=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[81, 5], Operations: ['53-46=7', '35/7=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[35, 53, 46, 81], Operations: []
Exploring Operation: 53-46=7, Resulting Numbers: [35, 81, 7]
Generated Node #0,0: 86:[35, 81, 7] Operation: 53-46=7
Moving to Node #0,0
Current State: 86:[35, 81, 7], Operations: ['53-46=7']
Exploring Operation: 35/7=5, Resulting Numbers: [81, 5]
Generated Node #0,0,1: 86:[81, 5] Operation: 35/7=5
Moving to Node #0,0,1
Current State: 86:[81, 5], Operations: ['53-46=7', '35/7=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
83,
61,
59,
14
] | 95 | [
"83-61=22",
"59+14=73",
"22+73=95"
] | Current State: 95:[83, 61, 59, 14], Operations: []
Exploring Operation: 83-61=22, Resulting Numbers: [59, 14, 22]
Generated Node #2: [59, 14, 22] from Operation: 83-61=22
Current State: 95:[59, 14, 22], Operations: ['83-61=22']
Exploring Operation: 59+14=73, Resulting Numbers: [22, 73]
Generated Node #3: [22, 73] from Operation: 59+14=73
Current State: 95:[22, 73], Operations: ['83-61=22', '59+14=73']
Exploring Operation: 22+73=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[83, 61, 59, 14], Operations: []
Exploring Operation: 83-61=22, Resulting Numbers: [59, 14, 22]
Generated Node #0,0: 95:[59, 14, 22] Operation: 83-61=22
Exploring Operation: 61-59=2, Resulting Numbers: [83, 14, 2]
Generated Node #0,1: 95:[83, 14, 2] Operation: 61-59=2
Exploring Operation: 61+59=120, Resulting Numbers: [83, 14, 120]
Generated Node #0,2: 95:[83, 14, 120] Operation: 61+59=120
Exploring Operation: 83-59=24, Resulting Numbers: [61, 14, 24]
Generated Node #0,3: 95:[61, 14, 24] Operation: 83-59=24
Moving to Node #0,1
Current State: 95:[83, 14, 2], Operations: ['61-59=2']
Exploring Operation: 83+14=97, Resulting Numbers: [2, 97]
Generated Node #0,1,0: 95:[2, 97] Operation: 83+14=97
Exploring Operation: 14/2=7, Resulting Numbers: [83, 7]
Generated Node #0,1,1: 95:[83, 7] Operation: 14/2=7
Exploring Operation: 14+2=16, Resulting Numbers: [83, 16]
Generated Node #0,1,2: 95:[83, 16] Operation: 14+2=16
Exploring Operation: 83+2=85, Resulting Numbers: [14, 85]
Generated Node #0,1,3: 95:[14, 85] Operation: 83+2=85
Moving to Node #0,2
Current State: 95:[83, 14, 120], Operations: ['61+59=120']
Exploring Operation: 83+14=97, Resulting Numbers: [120, 97]
Generated Node #0,2,0: 95:[120, 97] Operation: 83+14=97
Exploring Operation: 83-14=69, Resulting Numbers: [120, 69]
Generated Node #0,2,1: 95:[120, 69] Operation: 83-14=69
Exploring Operation: 120-83=37, Resulting Numbers: [14, 37]
Generated Node #0,2,2: 95:[14, 37] Operation: 120-83=37
Exploring Operation: 120-14=106, Resulting Numbers: [83, 106]
Generated Node #0,2,3: 95:[83, 106] Operation: 120-14=106
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 95:[14, 37], Operations: ['61+59=120', '120-83=37']
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Exploring Operation: 14*37=518, Resulting Numbers: [518]
518,95 unequal: No Solution
Exploring Operation: 14+37=51, Resulting Numbers: [51]
51,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 95:[83, 106], Operations: ['61+59=120', '120-14=106']
Exploring Operation: 83*106=8798, Resulting Numbers: [8798]
8798,95 unequal: No Solution
Exploring Operation: 106-83=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Exploring Operation: 83+106=189, Resulting Numbers: [189]
189,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 95:[120, 97], Operations: ['61+59=120', '83+14=97']
Exploring Operation: 120*97=11640, Resulting Numbers: [11640]
11640,95 unequal: No Solution
Exploring Operation: 120-97=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Exploring Operation: 120+97=217, Resulting Numbers: [217]
217,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 95:[120, 69], Operations: ['61+59=120', '83-14=69']
Exploring Operation: 120-69=51, Resulting Numbers: [51]
51,95 unequal: No Solution
Exploring Operation: 120+69=189, Resulting Numbers: [189]
189,95 unequal: No Solution
Exploring Operation: 120*69=8280, Resulting Numbers: [8280]
8280,95 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: 95:[61, 14, 24], Operations: ['83-59=24']
Exploring Operation: 61-24=37, Resulting Numbers: [14, 37]
Generated Node #0,3,0: 95:[14, 37] Operation: 61-24=37
Exploring Operation: 61+14=75, Resulting Numbers: [24, 75]
Generated Node #0,3,1: 95:[24, 75] Operation: 61+14=75
Exploring Operation: 61+24=85, Resulting Numbers: [14, 85]
Generated Node #0,3,2: 95:[14, 85] Operation: 61+24=85
Exploring Operation: 61-14=47, Resulting Numbers: [24, 47]
Generated Node #0,3,3: 95:[24, 47] Operation: 61-14=47
Moving to Node #0,0
Current State: 95:[59, 14, 22], Operations: ['83-61=22']
Exploring Operation: 59+22=81, Resulting Numbers: [14, 81]
Generated Node #0,0,0: 95:[14, 81] Operation: 59+22=81
Exploring Operation: 59-22=37, Resulting Numbers: [14, 37]
Generated Node #0,0,1: 95:[14, 37] Operation: 59-22=37
Exploring Operation: 59+14=73, Resulting Numbers: [22, 73]
Generated Node #0,0,2: 95:[22, 73] Operation: 59+14=73
Exploring Operation: 59-14=45, Resulting Numbers: [22, 45]
Generated Node #0,0,3: 95:[22, 45] Operation: 59-14=45
Moving to Node #0,1,0
Current State: 95:[2, 97], Operations: ['61-59=2', '83+14=97']
Exploring Operation: 2+97=99, Resulting Numbers: [99]
99,95 unequal: No Solution
Exploring Operation: 2*97=194, Resulting Numbers: [194]
194,95 unequal: No Solution
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[83, 61, 59, 14], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [83, 14, 2]
Generated Node #0,1: 95:[83, 14, 2] Operation: 61-59=2
Moving to Node #0,1
Current State: 95:[83, 14, 2], Operations: ['61-59=2']
Exploring Operation: 83+14=97, Resulting Numbers: [2, 97]
Generated Node #0,1,0: 95:[2, 97] Operation: 83+14=97
Moving to Node #0,1,0
Current State: 95:[2, 97], Operations: ['61-59=2', '83+14=97']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.966146 | hs_4 | mult_heuristic |
[
51,
12,
61,
58
] | 55 | [
"61-58=3",
"12/3=4",
"51+4=55"
] | Current State: 55:[51, 12, 61, 58], Operations: []
Exploring Operation: 61-58=3, Resulting Numbers: [51, 12, 3]
Generated Node #2: [51, 12, 3] from Operation: 61-58=3
Current State: 55:[51, 12, 3], Operations: ['61-58=3']
Exploring Operation: 12/3=4, Resulting Numbers: [51, 4]
Generated Node #3: [51, 4] from Operation: 12/3=4
Current State: 55:[51, 4], Operations: ['61-58=3', '12/3=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[51, 12, 61, 58], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [12, 61, 7]
Generated Node #0,0: 55:[12, 61, 7] Operation: 58-51=7
Exploring Operation: 61-51=10, Resulting Numbers: [12, 58, 10]
Generated Node #0,1: 55:[12, 58, 10] Operation: 61-51=10
Exploring Operation: 61-58=3, Resulting Numbers: [51, 12, 3]
Generated Node #0,2: 55:[51, 12, 3] Operation: 61-58=3
Exploring Operation: 61-12=49, Resulting Numbers: [51, 58, 49]
Generated Node #0,3: 55:[51, 58, 49] Operation: 61-12=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[12, 58, 10], Operations: ['61-51=10']
Exploring Operation: 12+10=22, Resulting Numbers: [58, 22]
Generated Node #0,1,0: 55:[58, 22] Operation: 12+10=22
Exploring Operation: 58-12=46, Resulting Numbers: [10, 46]
Generated Node #0,1,1: 55:[10, 46] Operation: 58-12=46
Exploring Operation: 12-10=2, Resulting Numbers: [58, 2]
Generated Node #0,1,2: 55:[58, 2] Operation: 12-10=2
Exploring Operation: 58-10=48, Resulting Numbers: [12, 48]
Generated Node #0,1,3: 55:[12, 48] Operation: 58-10=48
Moving to Node #0,1,2
Current State: 55:[58, 2], Operations: ['61-51=10', '12-10=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,55 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[12, 48], Operations: ['61-51=10', '58-10=48']
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,55 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[10, 46], Operations: ['61-51=10', '58-12=46']
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,55 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,55 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[58, 22], Operations: ['61-51=10', '12+10=22']
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,55 unequal: No Solution
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,55 unequal: No Solution
Exploring Operation: 58*22=1276, Resulting Numbers: [1276]
1276,55 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: 55:[51, 12, 3], Operations: ['61-58=3']
Exploring Operation: 51+3=54, Resulting Numbers: [12, 54]
Generated Node #0,2,0: 55:[12, 54] Operation: 51+3=54
Exploring Operation: 51/3=17, Resulting Numbers: [12, 17]
Generated Node #0,2,1: 55:[12, 17] Operation: 51/3=17
Exploring Operation: 12-3=9, Resulting Numbers: [51, 9]
Generated Node #0,2,2: 55:[51, 9] Operation: 12-3=9
Exploring Operation: 12/3=4, Resulting Numbers: [51, 4]
Generated Node #0,2,3: 55:[51, 4] Operation: 12/3=4
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 55:[12, 54], Operations: ['61-58=3', '51+3=54']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 12+54=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 12*54=648, Resulting Numbers: [648]
648,55 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: 55:[51, 4], Operations: ['61-58=3', '12/3=4']
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,55 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[51, 12, 61, 58], Operations: []
Exploring Operation: 61-58=3, Resulting Numbers: [51, 12, 3]
Generated Node #0,2: 55:[51, 12, 3] Operation: 61-58=3
Moving to Node #0,2
Current State: 55:[51, 12, 3], Operations: ['61-58=3']
Exploring Operation: 12/3=4, Resulting Numbers: [51, 4]
Generated Node #0,2,3: 55:[51, 4] Operation: 12/3=4
Moving to Node #0,2,3
Current State: 55:[51, 4], Operations: ['61-58=3', '12/3=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
65,
80,
60,
82
] | 86 | [
"80-65=15",
"60/15=4",
"82+4=86"
] | Current State: 86:[65, 80, 60, 82], Operations: []
Exploring Operation: 80-65=15, Resulting Numbers: [60, 82, 15]
Generated Node #2: [60, 82, 15] from Operation: 80-65=15
Current State: 86:[60, 82, 15], Operations: ['80-65=15']
Exploring Operation: 60/15=4, Resulting Numbers: [82, 4]
Generated Node #3: [82, 4] from Operation: 60/15=4
Current State: 86:[82, 4], Operations: ['80-65=15', '60/15=4']
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[65, 80, 60, 82], Operations: []
Exploring Operation: 80-65=15, Resulting Numbers: [60, 82, 15]
Generated Node #0,0: 86:[60, 82, 15] Operation: 80-65=15
Exploring Operation: 65-60=5, Resulting Numbers: [80, 82, 5]
Generated Node #0,1: 86:[80, 82, 5] Operation: 65-60=5
Moving to Node #0,1
Current State: 86:[80, 82, 5], Operations: ['65-60=5']
Exploring Operation: 80+5=85, Resulting Numbers: [82, 85]
Generated Node #0,1,0: 86:[82, 85] Operation: 80+5=85
Exploring Operation: 82-80=2, Resulting Numbers: [5, 2]
Generated Node #0,1,1: 86:[5, 2] Operation: 82-80=2
Moving to Node #0,0
Current State: 86:[60, 82, 15], Operations: ['80-65=15']
Exploring Operation: 60/15=4, Resulting Numbers: [82, 4]
Generated Node #0,0,0: 86:[82, 4] Operation: 60/15=4
Exploring Operation: 60-15=45, Resulting Numbers: [82, 45]
Generated Node #0,0,1: 86:[82, 45] Operation: 60-15=45
Moving to Node #0,1,1
Current State: 86:[5, 2], Operations: ['65-60=5', '82-80=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[82, 85], Operations: ['65-60=5', '80+5=85']
Exploring Operation: 82+85=167, Resulting Numbers: [167]
167,86 unequal: No Solution
Exploring Operation: 85-82=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[82, 45], Operations: ['80-65=15', '60-15=45']
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,86 unequal: No Solution
Exploring Operation: 82+45=127, Resulting Numbers: [127]
127,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[82, 4], Operations: ['80-65=15', '60/15=4']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,86 unequal: No Solution
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[65, 80, 60, 82], Operations: []
Exploring Operation: 80-65=15, Resulting Numbers: [60, 82, 15]
Generated Node #0,0: 86:[60, 82, 15] Operation: 80-65=15
Moving to Node #0,0
Current State: 86:[60, 82, 15], Operations: ['80-65=15']
Exploring Operation: 60/15=4, Resulting Numbers: [82, 4]
Generated Node #0,0,0: 86:[82, 4] Operation: 60/15=4
Moving to Node #0,0,0
Current State: 86:[82, 4], Operations: ['80-65=15', '60/15=4']
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.984375 | hs_2 | sum_heuristic |
[
15,
19,
71,
21
] | 41 | [
"21-19=2",
"15*2=30",
"71-30=41"
] | Current State: 41:[15, 19, 71, 21], Operations: []
Exploring Operation: 21-19=2, Resulting Numbers: [15, 71, 2]
Generated Node #2: [15, 71, 2] from Operation: 21-19=2
Current State: 41:[15, 71, 2], Operations: ['21-19=2']
Exploring Operation: 15*2=30, Resulting Numbers: [71, 30]
Generated Node #3: [71, 30] from Operation: 15*2=30
Current State: 41:[71, 30], Operations: ['21-19=2', '15*2=30']
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[15, 19, 71, 21], Operations: []
Exploring Operation: 15+21=36, Resulting Numbers: [19, 71, 36]
Generated Node #0,0: 41:[19, 71, 36] Operation: 15+21=36
Exploring Operation: 71-15=56, Resulting Numbers: [19, 21, 56]
Generated Node #0,1: 41:[19, 21, 56] Operation: 71-15=56
Exploring Operation: 15+19=34, Resulting Numbers: [71, 21, 34]
Generated Node #0,2: 41:[71, 21, 34] Operation: 15+19=34
Moving to Node #0,0
Current State: 41:[19, 71, 36], Operations: ['15+21=36']
Exploring Operation: 19+36=55, Resulting Numbers: [71, 55]
Generated Node #0,0,0: 41:[71, 55] Operation: 19+36=55
Exploring Operation: 71-36=35, Resulting Numbers: [19, 35]
Generated Node #0,0,1: 41:[19, 35] Operation: 71-36=35
Exploring Operation: 71-19=52, Resulting Numbers: [36, 52]
Generated Node #0,0,2: 41:[36, 52] Operation: 71-19=52
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[36, 52], Operations: ['15+21=36', '71-19=52']
Exploring Operation: 36+52=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 36*52=1872, Resulting Numbers: [1872]
1872,41 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: 41:[19, 35], Operations: ['15+21=36', '71-36=35']
Exploring Operation: 19*35=665, Resulting Numbers: [665]
665,41 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 19+35=54, Resulting Numbers: [54]
54,41 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: 41:[71, 55], Operations: ['15+21=36', '19+36=55']
Exploring Operation: 71+55=126, Resulting Numbers: [126]
126,41 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 71*55=3905, Resulting Numbers: [3905]
3905,41 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: 41:[19, 21, 56], Operations: ['71-15=56']
Exploring Operation: 56-19=37, Resulting Numbers: [21, 37]
Generated Node #0,1,0: 41:[21, 37] Operation: 56-19=37
Exploring Operation: 56-21=35, Resulting Numbers: [19, 35]
Generated Node #0,1,1: 41:[19, 35] Operation: 56-21=35
Exploring Operation: 19+21=40, Resulting Numbers: [56, 40]
Generated Node #0,1,2: 41:[56, 40] Operation: 19+21=40
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[56, 40], Operations: ['71-15=56', '19+21=40']
Exploring Operation: 56+40=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Exploring Operation: 56*40=2240, Resulting Numbers: [2240]
2240,41 unequal: No Solution
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,41 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: 41:[21, 37], Operations: ['71-15=56', '56-19=37']
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 21*37=777, Resulting Numbers: [777]
777,41 unequal: No Solution
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,41 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: 41:[19, 35], Operations: ['71-15=56', '56-21=35']
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 19+35=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 19*35=665, Resulting Numbers: [665]
665,41 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: 41:[71, 21, 34], Operations: ['15+19=34']
Exploring Operation: 71-34=37, Resulting Numbers: [21, 37]
Generated Node #0,2,0: 41:[21, 37] Operation: 71-34=37
Exploring Operation: 71-21=50, Resulting Numbers: [34, 50]
Generated Node #0,2,1: 41:[34, 50] Operation: 71-21=50
Exploring Operation: 21+34=55, Resulting Numbers: [71, 55]
Generated Node #0,2,2: 41:[71, 55] Operation: 21+34=55
Moving to Node #0,2,1
Current State: 41:[34, 50], Operations: ['15+19=34', '71-21=50']
Exploring Operation: 34*50=1700, Resulting Numbers: [1700]
1700,41 unequal: No Solution
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 34+50=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[21, 37], Operations: ['15+19=34', '71-34=37']
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Exploring Operation: 21*37=777, Resulting Numbers: [777]
777,41 unequal: No Solution
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[71, 55], Operations: ['15+19=34', '21+34=55']
Exploring Operation: 71*55=3905, Resulting Numbers: [3905]
3905,41 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 71+55=126, Resulting Numbers: [126]
126,41 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
42,
5,
32,
64
] | 74 | [
"42-5=37",
"64/32=2",
"37*2=74"
] | Current State: 74:[42, 5, 32, 64], Operations: []
Exploring Operation: 42-5=37, Resulting Numbers: [32, 64, 37]
Generated Node #2: [32, 64, 37] from Operation: 42-5=37
Current State: 74:[32, 64, 37], Operations: ['42-5=37']
Exploring Operation: 64/32=2, Resulting Numbers: [37, 2]
Generated Node #3: [37, 2] from Operation: 64/32=2
Current State: 74:[37, 2], Operations: ['42-5=37', '64/32=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[42, 5, 32, 64], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [42, 5, 2]
Generated Node #0,0: 74:[42, 5, 2] Operation: 64/32=2
Exploring Operation: 42+32=74, Resulting Numbers: [5, 64, 74]
Generated Node #0,1: 74:[5, 64, 74] Operation: 42+32=74
Exploring Operation: 64-32=32, Resulting Numbers: [42, 5, 32]
Generated Node #0,2: 74:[42, 5, 32] Operation: 64-32=32
Exploring Operation: 42-5=37, Resulting Numbers: [32, 64, 37]
Generated Node #0,3: 74:[32, 64, 37] Operation: 42-5=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[42, 5, 2], Operations: ['64/32=2']
Exploring Operation: 5-2=3, Resulting Numbers: [42, 3]
Generated Node #0,0,0: 74:[42, 3] Operation: 5-2=3
Exploring Operation: 42+5=47, Resulting Numbers: [2, 47]
Generated Node #0,0,1: 74:[2, 47] Operation: 42+5=47
Exploring Operation: 42-5=37, Resulting Numbers: [2, 37]
Generated Node #0,0,2: 74:[2, 37] Operation: 42-5=37
Exploring Operation: 42-2=40, Resulting Numbers: [5, 40]
Generated Node #0,0,3: 74:[5, 40] Operation: 42-2=40
Moving to Node #0,0,2
Current State: 74:[2, 37], Operations: ['64/32=2', '42-5=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[42, 5, 32, 64], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [42, 5, 2]
Generated Node #0,0: 74:[42, 5, 2] Operation: 64/32=2
Moving to Node #0,0
Current State: 74:[42, 5, 2], Operations: ['64/32=2']
Exploring Operation: 42-5=37, Resulting Numbers: [2, 37]
Generated Node #0,0,2: 74:[2, 37] Operation: 42-5=37
Moving to Node #0,0,2
Current State: 74:[2, 37], Operations: ['64/32=2', '42-5=37']
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
10,
81,
66,
46
] | 69 | [
"81-66=15",
"46*15=690",
"690/10=69"
] | Current State: 69:[10, 81, 66, 46], Operations: []
Exploring Operation: 81-66=15, Resulting Numbers: [10, 46, 15]
Generated Node #2: [10, 46, 15] from Operation: 81-66=15
Current State: 69:[10, 46, 15], Operations: ['81-66=15']
Exploring Operation: 46*15=690, Resulting Numbers: [10, 690]
Generated Node #3: [10, 690] from Operation: 46*15=690
Current State: 69:[10, 690], Operations: ['81-66=15', '46*15=690']
Exploring Operation: 690/10=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[10, 81, 66, 46], Operations: []
Exploring Operation: 81-46=35, Resulting Numbers: [10, 66, 35]
Generated Node #0,0: 69:[10, 66, 35] Operation: 81-46=35
Exploring Operation: 66-46=20, Resulting Numbers: [10, 81, 20]
Generated Node #0,1: 69:[10, 81, 20] Operation: 66-46=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[10, 66, 35], Operations: ['81-46=35']
Exploring Operation: 35-10=25, Resulting Numbers: [66, 25]
Generated Node #0,0,0: 69:[66, 25] Operation: 35-10=25
Exploring Operation: 66-35=31, Resulting Numbers: [10, 31]
Generated Node #0,0,1: 69:[10, 31] Operation: 66-35=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[66, 25], Operations: ['81-46=35', '35-10=25']
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Exploring Operation: 66+25=91, Resulting Numbers: [91]
91,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:[10, 31], Operations: ['81-46=35', '66-35=31']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 10+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
No 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: 69:[10, 81, 20], Operations: ['66-46=20']
Exploring Operation: 20/10=2, Resulting Numbers: [81, 2]
Generated Node #0,1,0: 69:[81, 2] Operation: 20/10=2
Exploring Operation: 81-10=71, Resulting Numbers: [20, 71]
Generated Node #0,1,1: 69:[20, 71] Operation: 81-10=71
Moving to Node #0,1,1
Current State: 69:[20, 71], Operations: ['66-46=20', '81-10=71']
Exploring Operation: 71-20=51, Resulting Numbers: [51]
51,69 unequal: No Solution
Exploring Operation: 20+71=91, Resulting Numbers: [91]
91,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[81, 2], Operations: ['66-46=20', '20/10=2']
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,69 unequal: No Solution
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,69 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 |
[
41,
47,
73,
74
] | 89 | [
"41+47=88",
"74-73=1",
"88+1=89"
] | Current State: 89:[41, 47, 73, 74], Operations: []
Exploring Operation: 41+47=88, Resulting Numbers: [73, 74, 88]
Generated Node #2: [73, 74, 88] from Operation: 41+47=88
Current State: 89:[73, 74, 88], Operations: ['41+47=88']
Exploring Operation: 74-73=1, Resulting Numbers: [88, 1]
Generated Node #3: [88, 1] from Operation: 74-73=1
Current State: 89:[88, 1], Operations: ['41+47=88', '74-73=1']
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[41, 47, 73, 74], Operations: []
Exploring Operation: 41+47=88, Resulting Numbers: [73, 74, 88]
Generated Node #0,0: 89:[73, 74, 88] Operation: 41+47=88
Moving to Node #0,0
Current State: 89:[73, 74, 88], Operations: ['41+47=88']
Exploring Operation: 73+74=147, Resulting Numbers: [88, 147]
Generated Node #0,0,0: 89:[88, 147] Operation: 73+74=147
Moving to Node #0,0,0
Current State: 89:[88, 147], Operations: ['41+47=88', '73+74=147']
Exploring Operation: 147-88=59, Resulting Numbers: [59]
59,89 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
24,
44,
16,
73
] | 78 | [
"44+73=117",
"16*117=1872",
"1872/24=78"
] | Current State: 78:[24, 44, 16, 73], Operations: []
Exploring Operation: 44+73=117, Resulting Numbers: [24, 16, 117]
Generated Node #2: [24, 16, 117] from Operation: 44+73=117
Current State: 78:[24, 16, 117], Operations: ['44+73=117']
Exploring Operation: 16*117=1872, Resulting Numbers: [24, 1872]
Generated Node #3: [24, 1872] from Operation: 16*117=1872
Current State: 78:[24, 1872], Operations: ['44+73=117', '16*117=1872']
Exploring Operation: 1872/24=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[24, 44, 16, 73], Operations: []
Exploring Operation: 44-16=28, Resulting Numbers: [24, 73, 28]
Generated Node #0,0: 78:[24, 73, 28] Operation: 44-16=28
Exploring Operation: 73-44=29, Resulting Numbers: [24, 16, 29]
Generated Node #0,1: 78:[24, 16, 29] Operation: 73-44=29
Moving to Node #0,1
Current State: 78:[24, 16, 29], Operations: ['73-44=29']
Exploring Operation: 24+16=40, Resulting Numbers: [29, 40]
Generated Node #0,1,0: 78:[29, 40] Operation: 24+16=40
Exploring Operation: 29-16=13, Resulting Numbers: [24, 13]
Generated Node #0,1,1: 78:[24, 13] Operation: 29-16=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[24, 13], Operations: ['73-44=29', '29-16=13']
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[29, 40], Operations: ['73-44=29', '24+16=40']
Exploring Operation: 29+40=69, Resulting Numbers: [69]
69,78 unequal: No Solution
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,78 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: 78:[24, 73, 28], Operations: ['44-16=28']
Exploring Operation: 73-28=45, Resulting Numbers: [24, 45]
Generated Node #0,0,0: 78:[24, 45] Operation: 73-28=45
Exploring Operation: 28-24=4, Resulting Numbers: [73, 4]
Generated Node #0,0,1: 78:[73, 4] Operation: 28-24=4
Moving to Node #0,0,1
Current State: 78:[73, 4], Operations: ['44-16=28', '28-24=4']
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,78 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[24, 45], Operations: ['44-16=28', '73-28=45']
Exploring Operation: 24+45=69, Resulting Numbers: [69]
69,78 unequal: No Solution
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,78 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
51,
29,
5,
65
] | 49 | [
"51+29=80",
"80/5=16",
"65-16=49"
] | Current State: 49:[51, 29, 5, 65], Operations: []
Exploring Operation: 51+29=80, Resulting Numbers: [5, 65, 80]
Generated Node #2: [5, 65, 80] from Operation: 51+29=80
Current State: 49:[5, 65, 80], Operations: ['51+29=80']
Exploring Operation: 80/5=16, Resulting Numbers: [65, 16]
Generated Node #3: [65, 16] from Operation: 80/5=16
Current State: 49:[65, 16], Operations: ['51+29=80', '80/5=16']
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[51, 29, 5, 65], Operations: []
Exploring Operation: 51-29=22, Resulting Numbers: [5, 65, 22]
Generated Node #0,0: 49:[5, 65, 22] Operation: 51-29=22
Exploring Operation: 65-29=36, Resulting Numbers: [51, 5, 36]
Generated Node #0,1: 49:[51, 5, 36] Operation: 65-29=36
Exploring Operation: 65/5=13, Resulting Numbers: [51, 29, 13]
Generated Node #0,2: 49:[51, 29, 13] Operation: 65/5=13
Exploring Operation: 65-51=14, Resulting Numbers: [29, 5, 14]
Generated Node #0,3: 49:[29, 5, 14] Operation: 65-51=14
Exploring Operation: 29+5=34, Resulting Numbers: [51, 65, 34]
Generated Node #0,4: 49:[51, 65, 34] Operation: 29+5=34
Moving to Node #0,1
Current State: 49:[51, 5, 36], Operations: ['65-29=36']
Exploring Operation: 36-5=31, Resulting Numbers: [51, 31]
Generated Node #0,1,0: 49:[51, 31] Operation: 36-5=31
Exploring Operation: 5+36=41, Resulting Numbers: [51, 41]
Generated Node #0,1,1: 49:[51, 41] Operation: 5+36=41
Exploring Operation: 51-36=15, Resulting Numbers: [5, 15]
Generated Node #0,1,2: 49:[5, 15] Operation: 51-36=15
Exploring Operation: 51-5=46, Resulting Numbers: [36, 46]
Generated Node #0,1,3: 49:[36, 46] Operation: 51-5=46
Exploring Operation: 51+5=56, Resulting Numbers: [36, 56]
Generated Node #0,1,4: 49:[36, 56] Operation: 51+5=56
Moving to Node #0,2
Current State: 49:[51, 29, 13], Operations: ['65/5=13']
Exploring Operation: 29-13=16, Resulting Numbers: [51, 16]
Generated Node #0,2,0: 49:[51, 16] Operation: 29-13=16
Exploring Operation: 51-13=38, Resulting Numbers: [29, 38]
Generated Node #0,2,1: 49:[29, 38] Operation: 51-13=38
Exploring Operation: 51-29=22, Resulting Numbers: [13, 22]
Generated Node #0,2,2: 49:[13, 22] Operation: 51-29=22
Exploring Operation: 51+13=64, Resulting Numbers: [29, 64]
Generated Node #0,2,3: 49:[29, 64] Operation: 51+13=64
Exploring Operation: 29+13=42, Resulting Numbers: [51, 42]
Generated Node #0,2,4: 49:[51, 42] Operation: 29+13=42
Moving to Node #0,3
Current State: 49:[29, 5, 14], Operations: ['65-51=14']
Exploring Operation: 29-5=24, Resulting Numbers: [14, 24]
Generated Node #0,3,0: 49:[14, 24] Operation: 29-5=24
Exploring Operation: 29-14=15, Resulting Numbers: [5, 15]
Generated Node #0,3,1: 49:[5, 15] Operation: 29-14=15
Exploring Operation: 29+5=34, Resulting Numbers: [14, 34]
Generated Node #0,3,2: 49:[14, 34] Operation: 29+5=34
Exploring Operation: 29+14=43, Resulting Numbers: [5, 43]
Generated Node #0,3,3: 49:[5, 43] Operation: 29+14=43
Exploring Operation: 14-5=9, Resulting Numbers: [29, 9]
Generated Node #0,3,4: 49:[29, 9] Operation: 14-5=9
Moving to Node #0,0
Current State: 49:[5, 65, 22], Operations: ['51-29=22']
Exploring Operation: 65/5=13, Resulting Numbers: [22, 13]
Generated Node #0,0,0: 49:[22, 13] Operation: 65/5=13
Exploring Operation: 22-5=17, Resulting Numbers: [65, 17]
Generated Node #0,0,1: 49:[65, 17] Operation: 22-5=17
Exploring Operation: 5+65=70, Resulting Numbers: [22, 70]
Generated Node #0,0,2: 49:[22, 70] Operation: 5+65=70
Exploring Operation: 65-22=43, Resulting Numbers: [5, 43]
Generated Node #0,0,3: 49:[5, 43] Operation: 65-22=43
Exploring Operation: 65-5=60, Resulting Numbers: [22, 60]
Generated Node #0,0,4: 49:[22, 60] Operation: 65-5=60
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 49:[5, 43], Operations: ['51-29=22', '65-22=43']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,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,0,0
Current State: 49:[22, 13], Operations: ['51-29=22', '65/5=13']
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,49 unequal: No Solution
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,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,0,1
Current State: 49:[65, 17], Operations: ['51-29=22', '22-5=17']
Exploring Operation: 65*17=1105, Resulting Numbers: [1105]
1105,49 unequal: No Solution
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 65+17=82, Resulting Numbers: [82]
82,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,0,4
Current State: 49:[22, 60], Operations: ['51-29=22', '65-5=60']
Exploring Operation: 22*60=1320, Resulting Numbers: [1320]
1320,49 unequal: No Solution
Exploring Operation: 22+60=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,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,0,2
Current State: 49:[22, 70], Operations: ['51-29=22', '5+65=70']
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 22+70=92, Resulting Numbers: [92]
92,49 unequal: No Solution
Exploring Operation: 22*70=1540, Resulting Numbers: [1540]
1540,49 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: 49:[51, 65, 34], Operations: ['29+5=34']
Exploring Operation: 51-34=17, Resulting Numbers: [65, 17]
Generated Node #0,4,0: 49:[65, 17] Operation: 51-34=17
Exploring Operation: 65+34=99, Resulting Numbers: [51, 99]
Generated Node #0,4,1: 49:[51, 99] Operation: 65+34=99
Exploring Operation: 51+34=85, Resulting Numbers: [65, 85]
Generated Node #0,4,2: 49:[65, 85] Operation: 51+34=85
Exploring Operation: 65-34=31, Resulting Numbers: [51, 31]
Generated Node #0,4,3: 49:[51, 31] Operation: 65-34=31
Exploring Operation: 65-51=14, Resulting Numbers: [34, 14]
Generated Node #0,4,4: 49:[34, 14] Operation: 65-51=14
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 49:[51, 31], Operations: ['29+5=34', '65-34=31']
Exploring Operation: 51+31=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Exploring Operation: 51*31=1581, Resulting Numbers: [1581]
1581,49 unequal: No Solution
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,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,4,4
Current State: 49:[34, 14], Operations: ['29+5=34', '65-51=14']
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,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,4,0
Current State: 49:[65, 17], Operations: ['29+5=34', '51-34=17']
Exploring Operation: 65*17=1105, Resulting Numbers: [1105]
1105,49 unequal: No Solution
Exploring Operation: 65+17=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,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,4,1
Current State: 49:[51, 99], Operations: ['29+5=34', '65+34=99']
Exploring Operation: 99-51=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 51*99=5049, Resulting Numbers: [5049]
5049,49 unequal: No Solution
Exploring Operation: 51+99=150, Resulting Numbers: [150]
150,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,4,2
Current State: 49:[65, 85], Operations: ['29+5=34', '51+34=85']
Exploring Operation: 65+85=150, Resulting Numbers: [150]
150,49 unequal: No Solution
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 65*85=5525, Resulting Numbers: [5525]
5525,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 49:[5, 43], Operations: ['65-51=14', '29+14=43']
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,49 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Moving to Node #0,2,4
Current State: 49:[51, 42], Operations: ['65/5=13', '29+13=42']
Exploring Operation: 51-42=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 51+42=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Exploring Operation: 51*42=2142, Resulting Numbers: [2142]
2142,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[51, 41], Operations: ['65-29=36', '5+36=41']
Exploring Operation: 51+41=92, Resulting Numbers: [92]
92,49 unequal: No Solution
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 51*41=2091, Resulting Numbers: [2091]
2091,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[5, 15], Operations: ['65-51=14', '29-14=15']
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,49 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[5, 15], Operations: ['65-29=36', '51-36=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[51, 16], Operations: ['65/5=13', '29-13=16']
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 51*16=816, Resulting Numbers: [816]
816,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[36, 46], Operations: ['65-29=36', '51-5=46']
Exploring Operation: 36+46=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 36*46=1656, Resulting Numbers: [1656]
1656,49 unequal: No Solution
Moving to Node #0,1,4
Current State: 49:[36, 56], Operations: ['65-29=36', '51+5=56']
Exploring Operation: 36*56=2016, Resulting Numbers: [2016]
2016,49 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 36+56=92, Resulting Numbers: [92]
92,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[51, 31], Operations: ['65-29=36', '36-5=31']
Exploring Operation: 51*31=1581, Resulting Numbers: [1581]
1581,49 unequal: No Solution
Exploring Operation: 51+31=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[13, 22], Operations: ['65/5=13', '51-29=22']
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,49 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[14, 34], Operations: ['65-51=14', '29+5=34']
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,49 unequal: No Solution
Moving to Node #0,3,4
Current State: 49:[29, 9], Operations: ['65-51=14', '14-5=9']
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,49 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[14, 24], Operations: ['65-51=14', '29-5=24']
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,49 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[29, 38], Operations: ['65/5=13', '51-13=38']
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 29*38=1102, Resulting Numbers: [1102]
1102,49 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[29, 64], Operations: ['65/5=13', '51+13=64']
Exploring Operation: 29*64=1856, Resulting Numbers: [1856]
1856,49 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 29+64=93, Resulting Numbers: [93]
93,49 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
2,
69,
78,
60
] | 53 | [
"2+69=71",
"78-60=18",
"71-18=53"
] | Current State: 53:[2, 69, 78, 60], Operations: []
Exploring Operation: 2+69=71, Resulting Numbers: [78, 60, 71]
Generated Node #2: [78, 60, 71] from Operation: 2+69=71
Current State: 53:[78, 60, 71], Operations: ['2+69=71']
Exploring Operation: 78-60=18, Resulting Numbers: [71, 18]
Generated Node #3: [71, 18] from Operation: 78-60=18
Current State: 53:[71, 18], Operations: ['2+69=71', '78-60=18']
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[2, 69, 78, 60], Operations: []
Exploring Operation: 78/2=39, Resulting Numbers: [69, 60, 39]
Generated Node #0,0: 53:[69, 60, 39] Operation: 78/2=39
Exploring Operation: 69-2=67, Resulting Numbers: [78, 60, 67]
Generated Node #0,1: 53:[78, 60, 67] Operation: 69-2=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[69, 60, 39], Operations: ['78/2=39']
Exploring Operation: 60-39=21, Resulting Numbers: [69, 21]
Generated Node #0,0,0: 53:[69, 21] Operation: 60-39=21
Exploring Operation: 69-39=30, Resulting Numbers: [60, 30]
Generated Node #0,0,1: 53:[60, 30] Operation: 69-39=30
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[60, 30], Operations: ['78/2=39', '69-39=30']
Exploring Operation: 60+30=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[69, 21], Operations: ['78/2=39', '60-39=21']
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,53 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[78, 60, 67], Operations: ['69-2=67']
Exploring Operation: 78-67=11, Resulting Numbers: [60, 11]
Generated Node #0,1,0: 53:[60, 11] Operation: 78-67=11
Exploring Operation: 78-60=18, Resulting Numbers: [67, 18]
Generated Node #0,1,1: 53:[67, 18] Operation: 78-60=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[60, 11], Operations: ['69-2=67', '78-67=11']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[67, 18], Operations: ['69-2=67', '78-60=18']
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 67+18=85, Resulting Numbers: [85]
85,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
50,
57,
36,
73
] | 30 | [
"57-50=7",
"73-36=37",
"37-7=30"
] | Current State: 30:[50, 57, 36, 73], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [36, 73, 7]
Generated Node #2: [36, 73, 7] from Operation: 57-50=7
Current State: 30:[36, 73, 7], Operations: ['57-50=7']
Exploring Operation: 73-36=37, Resulting Numbers: [7, 37]
Generated Node #3: [7, 37] from Operation: 73-36=37
Current State: 30:[7, 37], Operations: ['57-50=7', '73-36=37']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[50, 57, 36, 73], Operations: []
Exploring Operation: 73-57=16, Resulting Numbers: [50, 36, 16]
Generated Node #0,0: 30:[50, 36, 16] Operation: 73-57=16
Exploring Operation: 73-50=23, Resulting Numbers: [57, 36, 23]
Generated Node #0,1: 30:[57, 36, 23] Operation: 73-50=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[50, 36, 16], Operations: ['73-57=16']
Exploring Operation: 50-36=14, Resulting Numbers: [16, 14]
Generated Node #0,0,0: 30:[16, 14] Operation: 50-36=14
Exploring Operation: 50-16=34, Resulting Numbers: [36, 34]
Generated Node #0,0,1: 30:[36, 34] Operation: 50-16=34
Moving to Node #0,0,0
Current State: 30:[16, 14], Operations: ['73-57=16', '50-36=14']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[50, 57, 36, 73], Operations: []
Exploring Operation: 73-57=16, Resulting Numbers: [50, 36, 16]
Generated Node #0,0: 30:[50, 36, 16] Operation: 73-57=16
Moving to Node #0,0
Current State: 30:[50, 36, 16], Operations: ['73-57=16']
Exploring Operation: 50-36=14, Resulting Numbers: [16, 14]
Generated Node #0,0,0: 30:[16, 14] Operation: 50-36=14
Moving to Node #0,0,0
Current State: 30:[16, 14], Operations: ['73-57=16', '50-36=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
54,
81,
12,
27
] | 39 | [
"54-12=42",
"81/27=3",
"42-3=39"
] | Current State: 39:[54, 81, 12, 27], Operations: []
Exploring Operation: 54-12=42, Resulting Numbers: [81, 27, 42]
Generated Node #2: [81, 27, 42] from Operation: 54-12=42
Current State: 39:[81, 27, 42], Operations: ['54-12=42']
Exploring Operation: 81/27=3, Resulting Numbers: [42, 3]
Generated Node #3: [42, 3] from Operation: 81/27=3
Current State: 39:[42, 3], Operations: ['54-12=42', '81/27=3']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[54, 81, 12, 27], Operations: []
Exploring Operation: 81-27=54, Resulting Numbers: [54, 12, 54]
Generated Node #0,0: 39:[54, 12, 54] Operation: 81-27=54
Exploring Operation: 81-54=27, Resulting Numbers: [12, 27, 27]
Generated Node #0,1: 39:[12, 27, 27] Operation: 81-54=27
Exploring Operation: 54/27=2, Resulting Numbers: [81, 12, 2]
Generated Node #0,2: 39:[81, 12, 2] Operation: 54/27=2
Exploring Operation: 81/27=3, Resulting Numbers: [54, 12, 3]
Generated Node #0,3: 39:[54, 12, 3] Operation: 81/27=3
Moving to Node #0,3
Current State: 39:[54, 12, 3], Operations: ['81/27=3']
Exploring Operation: 54-12=42, Resulting Numbers: [3, 42]
Generated Node #0,3,0: 39:[3, 42] Operation: 54-12=42
Exploring Operation: 54/3=18, Resulting Numbers: [12, 18]
Generated Node #0,3,1: 39:[12, 18] Operation: 54/3=18
Exploring Operation: 54-3=51, Resulting Numbers: [12, 51]
Generated Node #0,3,2: 39:[12, 51] Operation: 54-3=51
Exploring Operation: 12/3=4, Resulting Numbers: [54, 4]
Generated Node #0,3,3: 39:[54, 4] Operation: 12/3=4
Moving to Node #0,1
Current State: 39:[12, 27, 27], Operations: ['81-54=27']
Exploring Operation: 12+27=39, Resulting Numbers: [27, 39]
Generated Node #0,1,0: 39:[27, 39] Operation: 12+27=39
Exploring Operation: 12+27=39, Resulting Numbers: [27, 39]
Generated Node #0,1,1: 39:[27, 39] Operation: 12+27=39
Exploring Operation: 27/27=1, Resulting Numbers: [12, 1]
Generated Node #0,1,2: 39:[12, 1] Operation: 27/27=1
Exploring Operation: 27-27=0, Resulting Numbers: [12, 0]
Generated Node #0,1,3: 39:[12, 0] Operation: 27-27=0
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[12, 1], Operations: ['81-54=27', '27/27=1']
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,39 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,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,1,3
Current State: 39:[12, 0], Operations: ['81-54=27', '27-27=0']
Exploring Operation: 12+0=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 12*0=0, Resulting Numbers: [0]
0,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,1,0
Current State: 39:[27, 39], Operations: ['81-54=27', '12+27=39']
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,39 unequal: No Solution
Exploring Operation: 27*39=1053, Resulting Numbers: [1053]
1053,39 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,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,1,1
Current State: 39:[27, 39], Operations: ['81-54=27', '12+27=39']
Exploring Operation: 27*39=1053, Resulting Numbers: [1053]
1053,39 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,39 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: 39:[54, 12, 54], Operations: ['81-27=54']
Exploring Operation: 54-54=0, Resulting Numbers: [12, 0]
Generated Node #0,0,0: 39:[12, 0] Operation: 54-54=0
Exploring Operation: 54-12=42, Resulting Numbers: [54, 42]
Generated Node #0,0,1: 39:[54, 42] Operation: 54-12=42
Exploring Operation: 54-12=42, Resulting Numbers: [54, 42]
Generated Node #0,0,2: 39:[54, 42] Operation: 54-12=42
Exploring Operation: 54/54=1, Resulting Numbers: [12, 1]
Generated Node #0,0,3: 39:[12, 1] Operation: 54/54=1
Moving to Node #0,2
Current State: 39:[81, 12, 2], Operations: ['54/27=2']
Exploring Operation: 12+2=14, Resulting Numbers: [81, 14]
Generated Node #0,2,0: 39:[81, 14] Operation: 12+2=14
Exploring Operation: 81-12=69, Resulting Numbers: [2, 69]
Generated Node #0,2,1: 39:[2, 69] Operation: 81-12=69
Exploring Operation: 81-2=79, Resulting Numbers: [12, 79]
Generated Node #0,2,2: 39:[12, 79] Operation: 81-2=79
Exploring Operation: 81+2=83, Resulting Numbers: [12, 83]
Generated Node #0,2,3: 39:[12, 83] Operation: 81+2=83
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 39:[2, 69], Operations: ['54/27=2', '81-12=69']
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,39 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,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,2,2
Current State: 39:[12, 79], Operations: ['54/27=2', '81-2=79']
Exploring Operation: 12+79=91, Resulting Numbers: [91]
91,39 unequal: No Solution
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Exploring Operation: 12*79=948, Resulting Numbers: [948]
948,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,2,0
Current State: 39:[81, 14], Operations: ['54/27=2', '12+2=14']
Exploring Operation: 81+14=95, Resulting Numbers: [95]
95,39 unequal: No Solution
Exploring Operation: 81*14=1134, Resulting Numbers: [1134]
1134,39 unequal: No Solution
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,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,2,3
Current State: 39:[12, 83], Operations: ['54/27=2', '81+2=83']
Exploring Operation: 12*83=996, Resulting Numbers: [996]
996,39 unequal: No Solution
Exploring Operation: 12+83=95, Resulting Numbers: [95]
95,39 unequal: No Solution
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,39 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: 39:[3, 42], Operations: ['81/27=3', '54-12=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[54, 81, 12, 27], Operations: []
Exploring Operation: 81/27=3, Resulting Numbers: [54, 12, 3]
Generated Node #0,3: 39:[54, 12, 3] Operation: 81/27=3
Moving to Node #0,3
Current State: 39:[54, 12, 3], Operations: ['81/27=3']
Exploring Operation: 54-12=42, Resulting Numbers: [3, 42]
Generated Node #0,3,0: 39:[3, 42] Operation: 54-12=42
Moving to Node #0,3,0
Current State: 39:[3, 42], Operations: ['81/27=3', '54-12=42']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.955729 | hs_4 | mult_heuristic |
[
51,
35,
23,
69
] | 13 | [
"51-35=16",
"69/23=3",
"16-3=13"
] | Current State: 13:[51, 35, 23, 69], Operations: []
Exploring Operation: 51-35=16, Resulting Numbers: [23, 69, 16]
Generated Node #2: [23, 69, 16] from Operation: 51-35=16
Current State: 13:[23, 69, 16], Operations: ['51-35=16']
Exploring Operation: 69/23=3, Resulting Numbers: [16, 3]
Generated Node #3: [16, 3] from Operation: 69/23=3
Current State: 13:[16, 3], Operations: ['51-35=16', '69/23=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[51, 35, 23, 69], Operations: []
Exploring Operation: 51-35=16, Resulting Numbers: [23, 69, 16]
Generated Node #0,0: 13:[23, 69, 16] Operation: 51-35=16
Exploring Operation: 69-35=34, Resulting Numbers: [51, 23, 34]
Generated Node #0,1: 13:[51, 23, 34] Operation: 69-35=34
Exploring Operation: 69-51=18, Resulting Numbers: [35, 23, 18]
Generated Node #0,2: 13:[35, 23, 18] Operation: 69-51=18
Moving to Node #0,2
Current State: 13:[35, 23, 18], Operations: ['69-51=18']
Exploring Operation: 35-23=12, Resulting Numbers: [18, 12]
Generated Node #0,2,0: 13:[18, 12] Operation: 35-23=12
Exploring Operation: 23-18=5, Resulting Numbers: [35, 5]
Generated Node #0,2,1: 13:[35, 5] Operation: 23-18=5
Exploring Operation: 35-18=17, Resulting Numbers: [23, 17]
Generated Node #0,2,2: 13:[23, 17] Operation: 35-18=17
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[18, 12], Operations: ['69-51=18', '35-23=12']
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,13 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: 13:[23, 17], Operations: ['69-51=18', '35-18=17']
Exploring Operation: 23*17=391, Resulting Numbers: [391]
391,13 unequal: No Solution
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 23+17=40, Resulting Numbers: [40]
40,13 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: 13:[35, 5], Operations: ['69-51=18', '23-18=5']
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,13 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: 13:[23, 69, 16], Operations: ['51-35=16']
Exploring Operation: 69/23=3, Resulting Numbers: [16, 3]
Generated Node #0,0,0: 13:[16, 3] Operation: 69/23=3
Exploring Operation: 69-23=46, Resulting Numbers: [16, 46]
Generated Node #0,0,1: 13:[16, 46] Operation: 69-23=46
Exploring Operation: 69-16=53, Resulting Numbers: [23, 53]
Generated Node #0,0,2: 13:[23, 53] Operation: 69-16=53
Moving to Node #0,1
Current State: 13:[51, 23, 34], Operations: ['69-35=34']
Exploring Operation: 51-23=28, Resulting Numbers: [34, 28]
Generated Node #0,1,0: 13:[34, 28] Operation: 51-23=28
Exploring Operation: 51-34=17, Resulting Numbers: [23, 17]
Generated Node #0,1,1: 13:[23, 17] Operation: 51-34=17
Exploring Operation: 34-23=11, Resulting Numbers: [51, 11]
Generated Node #0,1,2: 13:[51, 11] Operation: 34-23=11
Moving to Node #0,0,0
Current State: 13:[16, 3], Operations: ['51-35=16', '69/23=3']
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[51, 35, 23, 69], Operations: []
Exploring Operation: 51-35=16, Resulting Numbers: [23, 69, 16]
Generated Node #0,0: 13:[23, 69, 16] Operation: 51-35=16
Moving to Node #0,0
Current State: 13:[23, 69, 16], Operations: ['51-35=16']
Exploring Operation: 69/23=3, Resulting Numbers: [16, 3]
Generated Node #0,0,0: 13:[16, 3] Operation: 69/23=3
Moving to Node #0,0,0
Current State: 13:[16, 3], Operations: ['51-35=16', '69/23=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
54,
19,
32,
28
] | 25 | [
"54-19=35",
"32+28=60",
"60-35=25"
] | Current State: 25:[54, 19, 32, 28], Operations: []
Exploring Operation: 54-19=35, Resulting Numbers: [32, 28, 35]
Generated Node #2: [32, 28, 35] from Operation: 54-19=35
Current State: 25:[32, 28, 35], Operations: ['54-19=35']
Exploring Operation: 32+28=60, Resulting Numbers: [35, 60]
Generated Node #3: [35, 60] from Operation: 32+28=60
Current State: 25:[35, 60], Operations: ['54-19=35', '32+28=60']
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[54, 19, 32, 28], Operations: []
Exploring Operation: 54-28=26, Resulting Numbers: [19, 32, 26]
Generated Node #0,0: 25:[19, 32, 26] Operation: 54-28=26
Exploring Operation: 32-28=4, Resulting Numbers: [54, 19, 4]
Generated Node #0,1: 25:[54, 19, 4] Operation: 32-28=4
Exploring Operation: 32-19=13, Resulting Numbers: [54, 28, 13]
Generated Node #0,2: 25:[54, 28, 13] Operation: 32-19=13
Exploring Operation: 54-32=22, Resulting Numbers: [19, 28, 22]
Generated Node #0,3: 25:[19, 28, 22] Operation: 54-32=22
Exploring Operation: 54-19=35, Resulting Numbers: [32, 28, 35]
Generated Node #0,4: 25:[32, 28, 35] Operation: 54-19=35
Moving to Node #0,3
Current State: 25:[19, 28, 22], Operations: ['54-32=22']
Exploring Operation: 28-22=6, Resulting Numbers: [19, 6]
Generated Node #0,3,0: 25:[19, 6] Operation: 28-22=6
Exploring Operation: 22-19=3, Resulting Numbers: [28, 3]
Generated Node #0,3,1: 25:[28, 3] Operation: 22-19=3
Exploring Operation: 19+28=47, Resulting Numbers: [22, 47]
Generated Node #0,3,2: 25:[22, 47] Operation: 19+28=47
Exploring Operation: 28-19=9, Resulting Numbers: [22, 9]
Generated Node #0,3,3: 25:[22, 9] Operation: 28-19=9
Exploring Operation: 19+22=41, Resulting Numbers: [28, 41]
Generated Node #0,3,4: 25:[28, 41] Operation: 19+22=41
Moving to Node #0,0
Current State: 25:[19, 32, 26], Operations: ['54-28=26']
Exploring Operation: 32-19=13, Resulting Numbers: [26, 13]
Generated Node #0,0,0: 25:[26, 13] Operation: 32-19=13
Exploring Operation: 19+26=45, Resulting Numbers: [32, 45]
Generated Node #0,0,1: 25:[32, 45] Operation: 19+26=45
Exploring Operation: 26-19=7, Resulting Numbers: [32, 7]
Generated Node #0,0,2: 25:[32, 7] Operation: 26-19=7
Exploring Operation: 32-26=6, Resulting Numbers: [19, 6]
Generated Node #0,0,3: 25:[19, 6] Operation: 32-26=6
Exploring Operation: 19+32=51, Resulting Numbers: [26, 51]
Generated Node #0,0,4: 25:[26, 51] Operation: 19+32=51
Moving to Node #0,4
Current State: 25:[32, 28, 35], Operations: ['54-19=35']
Exploring Operation: 32-28=4, Resulting Numbers: [35, 4]
Generated Node #0,4,0: 25:[35, 4] Operation: 32-28=4
Exploring Operation: 35-28=7, Resulting Numbers: [32, 7]
Generated Node #0,4,1: 25:[32, 7] Operation: 35-28=7
Exploring Operation: 35-32=3, Resulting Numbers: [28, 3]
Generated Node #0,4,2: 25:[28, 3] Operation: 35-32=3
Exploring Operation: 32+35=67, Resulting Numbers: [28, 67]
Generated Node #0,4,3: 25:[28, 67] Operation: 32+35=67
Exploring Operation: 32+28=60, Resulting Numbers: [35, 60]
Generated Node #0,4,4: 25:[35, 60] Operation: 32+28=60
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 25:[28, 3], Operations: ['54-19=35', '35-32=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,25 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[54, 19, 32, 28], Operations: []
Exploring Operation: 54-19=35, Resulting Numbers: [32, 28, 35]
Generated Node #0,4: 25:[32, 28, 35] Operation: 54-19=35
Moving to Node #0,4
Current State: 25:[32, 28, 35], Operations: ['54-19=35']
Exploring Operation: 35-32=3, Resulting Numbers: [28, 3]
Generated Node #0,4,2: 25:[28, 3] Operation: 35-32=3
Moving to Node #0,4,2
Current State: 25:[28, 3], Operations: ['54-19=35', '35-32=3']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | mult_heuristic |
[
56,
12,
5,
63
] | 53 | [
"63-56=7",
"12*5=60",
"60-7=53"
] | Current State: 53:[56, 12, 5, 63], Operations: []
Exploring Operation: 63-56=7, Resulting Numbers: [12, 5, 7]
Generated Node #2: [12, 5, 7] from Operation: 63-56=7
Current State: 53:[12, 5, 7], Operations: ['63-56=7']
Exploring Operation: 12*5=60, Resulting Numbers: [7, 60]
Generated Node #3: [7, 60] from Operation: 12*5=60
Current State: 53:[7, 60], Operations: ['63-56=7', '12*5=60']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[56, 12, 5, 63], Operations: []
Exploring Operation: 12*5=60, Resulting Numbers: [56, 63, 60]
Generated Node #0,0: 53:[56, 63, 60] Operation: 12*5=60
Exploring Operation: 12+5=17, Resulting Numbers: [56, 63, 17]
Generated Node #0,1: 53:[56, 63, 17] Operation: 12+5=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[56, 63, 60], Operations: ['12*5=60']
Exploring Operation: 63-56=7, Resulting Numbers: [60, 7]
Generated Node #0,0,0: 53:[60, 7] Operation: 63-56=7
Exploring Operation: 63-60=3, Resulting Numbers: [56, 3]
Generated Node #0,0,1: 53:[56, 3] Operation: 63-60=3
Moving to Node #0,0,0
Current State: 53:[60, 7], Operations: ['12*5=60', '63-56=7']
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[56, 12, 5, 63], Operations: []
Exploring Operation: 12*5=60, Resulting Numbers: [56, 63, 60]
Generated Node #0,0: 53:[56, 63, 60] Operation: 12*5=60
Moving to Node #0,0
Current State: 53:[56, 63, 60], Operations: ['12*5=60']
Exploring Operation: 63-56=7, Resulting Numbers: [60, 7]
Generated Node #0,0,0: 53:[60, 7] Operation: 63-56=7
Moving to Node #0,0,0
Current State: 53:[60, 7], Operations: ['12*5=60', '63-56=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
63,
75,
85,
3
] | 33 | [
"85-75=10",
"3*10=30",
"63-30=33"
] | Current State: 33:[63, 75, 85, 3], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [63, 3, 10]
Generated Node #2: [63, 3, 10] from Operation: 85-75=10
Current State: 33:[63, 3, 10], Operations: ['85-75=10']
Exploring Operation: 3*10=30, Resulting Numbers: [63, 30]
Generated Node #3: [63, 30] from Operation: 3*10=30
Current State: 33:[63, 30], Operations: ['85-75=10', '3*10=30']
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[63, 75, 85, 3], Operations: []
Exploring Operation: 75-63=12, Resulting Numbers: [85, 3, 12]
Generated Node #0,0: 33:[85, 3, 12] Operation: 75-63=12
Exploring Operation: 85-75=10, Resulting Numbers: [63, 3, 10]
Generated Node #0,1: 33:[63, 3, 10] Operation: 85-75=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[63, 3, 10], Operations: ['85-75=10']
Exploring Operation: 63/3=21, Resulting Numbers: [10, 21]
Generated Node #0,1,0: 33:[10, 21] Operation: 63/3=21
Exploring Operation: 63-10=53, Resulting Numbers: [3, 53]
Generated Node #0,1,1: 33:[3, 53] Operation: 63-10=53
Moving to Node #0,1,0
Current State: 33:[10, 21], Operations: ['85-75=10', '63/3=21']
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[3, 53], Operations: ['85-75=10', '63-10=53']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,33 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: 33:[85, 3, 12], Operations: ['75-63=12']
Exploring Operation: 85-3=82, Resulting Numbers: [12, 82]
Generated Node #0,0,0: 33:[12, 82] Operation: 85-3=82
Exploring Operation: 85-12=73, Resulting Numbers: [3, 73]
Generated Node #0,0,1: 33:[3, 73] Operation: 85-12=73
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[3, 73], Operations: ['75-63=12', '85-12=73']
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,33 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: 33:[12, 82], Operations: ['75-63=12', '85-3=82']
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 12+82=94, Resulting Numbers: [94]
94,33 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 |
[
23,
37,
97,
32
] | 64 | [
"97-23=74",
"74/37=2",
"32*2=64"
] | Current State: 64:[23, 37, 97, 32], Operations: []
Exploring Operation: 97-23=74, Resulting Numbers: [37, 32, 74]
Generated Node #2: [37, 32, 74] from Operation: 97-23=74
Current State: 64:[37, 32, 74], Operations: ['97-23=74']
Exploring Operation: 74/37=2, Resulting Numbers: [32, 2]
Generated Node #3: [32, 2] from Operation: 74/37=2
Current State: 64:[32, 2], Operations: ['97-23=74', '74/37=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[23, 37, 97, 32], Operations: []
Exploring Operation: 97-23=74, Resulting Numbers: [37, 32, 74]
Generated Node #0,0: 64:[37, 32, 74] Operation: 97-23=74
Exploring Operation: 97-32=65, Resulting Numbers: [23, 37, 65]
Generated Node #0,1: 64:[23, 37, 65] Operation: 97-32=65
Exploring Operation: 97-37=60, Resulting Numbers: [23, 32, 60]
Generated Node #0,2: 64:[23, 32, 60] Operation: 97-37=60
Exploring Operation: 37-23=14, Resulting Numbers: [97, 32, 14]
Generated Node #0,3: 64:[97, 32, 14] Operation: 37-23=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[23, 32, 60], Operations: ['97-37=60']
Exploring Operation: 32-23=9, Resulting Numbers: [60, 9]
Generated Node #0,2,0: 64:[60, 9] Operation: 32-23=9
Exploring Operation: 60-32=28, Resulting Numbers: [23, 28]
Generated Node #0,2,1: 64:[23, 28] Operation: 60-32=28
Exploring Operation: 60-23=37, Resulting Numbers: [32, 37]
Generated Node #0,2,2: 64:[32, 37] Operation: 60-23=37
Exploring Operation: 23+32=55, Resulting Numbers: [60, 55]
Generated Node #0,2,3: 64:[60, 55] Operation: 23+32=55
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 64:[60, 9], Operations: ['97-37=60', '32-23=9']
Exploring Operation: 60+9=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 60*9=540, Resulting Numbers: [540]
540,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,2,2
Current State: 64:[32, 37], Operations: ['97-37=60', '60-23=37']
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 32*37=1184, Resulting Numbers: [1184]
1184,64 unequal: No Solution
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,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,2,1
Current State: 64:[23, 28], Operations: ['97-37=60', '60-32=28']
Exploring Operation: 23+28=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 23*28=644, Resulting Numbers: [644]
644,64 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,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,2,3
Current State: 64:[60, 55], Operations: ['97-37=60', '23+32=55']
Exploring Operation: 60-55=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 60*55=3300, Resulting Numbers: [3300]
3300,64 unequal: No Solution
Exploring Operation: 60+55=115, Resulting Numbers: [115]
115,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,1
Current State: 64:[23, 37, 65], Operations: ['97-32=65']
Exploring Operation: 65-23=42, Resulting Numbers: [37, 42]
Generated Node #0,1,0: 64:[37, 42] Operation: 65-23=42
Exploring Operation: 65-37=28, Resulting Numbers: [23, 28]
Generated Node #0,1,1: 64:[23, 28] Operation: 65-37=28
Exploring Operation: 23+37=60, Resulting Numbers: [65, 60]
Generated Node #0,1,2: 64:[65, 60] Operation: 23+37=60
Exploring Operation: 37-23=14, Resulting Numbers: [65, 14]
Generated Node #0,1,3: 64:[65, 14] Operation: 37-23=14
Moving to Node #0,1,3
Current State: 64:[65, 14], Operations: ['97-32=65', '37-23=14']
Exploring Operation: 65+14=79, Resulting Numbers: [79]
79,64 unequal: No Solution
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 65*14=910, Resulting Numbers: [910]
910,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[65, 60], Operations: ['97-32=65', '23+37=60']
Exploring Operation: 65*60=3900, Resulting Numbers: [3900]
3900,64 unequal: No Solution
Exploring Operation: 65+60=125, Resulting Numbers: [125]
125,64 unequal: No Solution
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[23, 28], Operations: ['97-32=65', '65-37=28']
Exploring Operation: 23+28=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 23*28=644, Resulting Numbers: [644]
644,64 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[37, 42], Operations: ['97-32=65', '65-23=42']
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,64 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,64 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: 64:[37, 32, 74], Operations: ['97-23=74']
Exploring Operation: 74-37=37, Resulting Numbers: [32, 37]
Generated Node #0,0,0: 64:[32, 37] Operation: 74-37=37
Exploring Operation: 37+32=69, Resulting Numbers: [74, 69]
Generated Node #0,0,1: 64:[74, 69] Operation: 37+32=69
Exploring Operation: 74/37=2, Resulting Numbers: [32, 2]
Generated Node #0,0,2: 64:[32, 2] Operation: 74/37=2
Exploring Operation: 37-32=5, Resulting Numbers: [74, 5]
Generated Node #0,0,3: 64:[74, 5] Operation: 37-32=5
Moving to Node #0,0,2
Current State: 64:[32, 2], Operations: ['97-23=74', '74/37=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[23, 37, 97, 32], Operations: []
Exploring Operation: 97-23=74, Resulting Numbers: [37, 32, 74]
Generated Node #0,0: 64:[37, 32, 74] Operation: 97-23=74
Moving to Node #0,0
Current State: 64:[37, 32, 74], Operations: ['97-23=74']
Exploring Operation: 74/37=2, Resulting Numbers: [32, 2]
Generated Node #0,0,2: 64:[32, 2] Operation: 74/37=2
Moving to Node #0,0,2
Current State: 64:[32, 2], Operations: ['97-23=74', '74/37=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_4 | mult_heuristic |
[
44,
36,
29,
24
] | 27 | [
"44+36=80",
"29+24=53",
"80-53=27"
] | Current State: 27:[44, 36, 29, 24], Operations: []
Exploring Operation: 44+36=80, Resulting Numbers: [29, 24, 80]
Generated Node #2: [29, 24, 80] from Operation: 44+36=80
Current State: 27:[29, 24, 80], Operations: ['44+36=80']
Exploring Operation: 29+24=53, Resulting Numbers: [80, 53]
Generated Node #3: [80, 53] from Operation: 29+24=53
Current State: 27:[80, 53], Operations: ['44+36=80', '29+24=53']
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[44, 36, 29, 24], Operations: []
Exploring Operation: 36-29=7, Resulting Numbers: [44, 24, 7]
Generated Node #0,0: 27:[44, 24, 7] Operation: 36-29=7
Exploring Operation: 44-29=15, Resulting Numbers: [36, 24, 15]
Generated Node #0,1: 27:[36, 24, 15] Operation: 44-29=15
Exploring Operation: 44-24=20, Resulting Numbers: [36, 29, 20]
Generated Node #0,2: 27:[36, 29, 20] Operation: 44-24=20
Exploring Operation: 44-36=8, Resulting Numbers: [29, 24, 8]
Generated Node #0,3: 27:[29, 24, 8] Operation: 44-36=8
Exploring Operation: 36-24=12, Resulting Numbers: [44, 29, 12]
Generated Node #0,4: 27:[44, 29, 12] Operation: 36-24=12
Moving to Node #0,3
Current State: 27:[29, 24, 8], Operations: ['44-36=8']
Exploring Operation: 24-8=16, Resulting Numbers: [29, 16]
Generated Node #0,3,0: 27:[29, 16] Operation: 24-8=16
Exploring Operation: 29-8=21, Resulting Numbers: [24, 21]
Generated Node #0,3,1: 27:[24, 21] Operation: 29-8=21
Exploring Operation: 29-24=5, Resulting Numbers: [8, 5]
Generated Node #0,3,2: 27:[8, 5] Operation: 29-24=5
Exploring Operation: 24+8=32, Resulting Numbers: [29, 32]
Generated Node #0,3,3: 27:[29, 32] Operation: 24+8=32
Exploring Operation: 24/8=3, Resulting Numbers: [29, 3]
Generated Node #0,3,4: 27:[29, 3] Operation: 24/8=3
Moving to Node #0,2
Current State: 27:[36, 29, 20], Operations: ['44-24=20']
Exploring Operation: 36-29=7, Resulting Numbers: [20, 7]
Generated Node #0,2,0: 27:[20, 7] Operation: 36-29=7
Exploring Operation: 29-20=9, Resulting Numbers: [36, 9]
Generated Node #0,2,1: 27:[36, 9] Operation: 29-20=9
Exploring Operation: 36-20=16, Resulting Numbers: [29, 16]
Generated Node #0,2,2: 27:[29, 16] Operation: 36-20=16
Exploring Operation: 36+20=56, Resulting Numbers: [29, 56]
Generated Node #0,2,3: 27:[29, 56] Operation: 36+20=56
Exploring Operation: 29+20=49, Resulting Numbers: [36, 49]
Generated Node #0,2,4: 27:[36, 49] Operation: 29+20=49
Moving to Node #0,1
Current State: 27:[36, 24, 15], Operations: ['44-29=15']
Exploring Operation: 36-24=12, Resulting Numbers: [15, 12]
Generated Node #0,1,0: 27:[15, 12] Operation: 36-24=12
Exploring Operation: 24-15=9, Resulting Numbers: [36, 9]
Generated Node #0,1,1: 27:[36, 9] Operation: 24-15=9
Exploring Operation: 36+15=51, Resulting Numbers: [24, 51]
Generated Node #0,1,2: 27:[24, 51] Operation: 36+15=51
Exploring Operation: 36-15=21, Resulting Numbers: [24, 21]
Generated Node #0,1,3: 27:[24, 21] Operation: 36-15=21
Exploring Operation: 24+15=39, Resulting Numbers: [36, 39]
Generated Node #0,1,4: 27:[36, 39] Operation: 24+15=39
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[15, 12], Operations: ['44-29=15', '36-24=12']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[44, 36, 29, 24], Operations: []
Exploring Operation: 44-29=15, Resulting Numbers: [36, 24, 15]
Generated Node #0,1: 27:[36, 24, 15] Operation: 44-29=15
Moving to Node #0,1
Current State: 27:[36, 24, 15], Operations: ['44-29=15']
Exploring Operation: 36-24=12, Resulting Numbers: [15, 12]
Generated Node #0,1,0: 27:[15, 12] Operation: 36-24=12
Moving to Node #0,1,0
Current State: 27:[15, 12], Operations: ['44-29=15', '36-24=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
5,
68,
97,
67
] | 93 | [
"68-5=63",
"97-67=30",
"63+30=93"
] | Current State: 93:[5, 68, 97, 67], Operations: []
Exploring Operation: 68-5=63, Resulting Numbers: [97, 67, 63]
Generated Node #2: [97, 67, 63] from Operation: 68-5=63
Current State: 93:[97, 67, 63], Operations: ['68-5=63']
Exploring Operation: 97-67=30, Resulting Numbers: [63, 30]
Generated Node #3: [63, 30] from Operation: 97-67=30
Current State: 93:[63, 30], Operations: ['68-5=63', '97-67=30']
Exploring Operation: 63+30=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[5, 68, 97, 67], Operations: []
Exploring Operation: 97-67=30, Resulting Numbers: [5, 68, 30]
Generated Node #0,0: 93:[5, 68, 30] Operation: 97-67=30
Exploring Operation: 68-67=1, Resulting Numbers: [5, 97, 1]
Generated Node #0,1: 93:[5, 97, 1] Operation: 68-67=1
Moving to Node #0,1
Current State: 93:[5, 97, 1], Operations: ['68-67=1']
Exploring Operation: 97-5=92, Resulting Numbers: [1, 92]
Generated Node #0,1,0: 93:[1, 92] Operation: 97-5=92
Exploring Operation: 5-1=4, Resulting Numbers: [97, 4]
Generated Node #0,1,1: 93:[97, 4] Operation: 5-1=4
Moving to Node #0,0
Current State: 93:[5, 68, 30], Operations: ['97-67=30']
Exploring Operation: 68+30=98, Resulting Numbers: [5, 98]
Generated Node #0,0,0: 93:[5, 98] Operation: 68+30=98
Exploring Operation: 68-30=38, Resulting Numbers: [5, 38]
Generated Node #0,0,1: 93:[5, 38] Operation: 68-30=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[5, 98], Operations: ['97-67=30', '68+30=98']
Exploring Operation: 5+98=103, Resulting Numbers: [103]
103,93 unequal: No Solution
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[5, 68, 97, 67], Operations: []
Exploring Operation: 97-67=30, Resulting Numbers: [5, 68, 30]
Generated Node #0,0: 93:[5, 68, 30] Operation: 97-67=30
Moving to Node #0,0
Current State: 93:[5, 68, 30], Operations: ['97-67=30']
Exploring Operation: 68+30=98, Resulting Numbers: [5, 98]
Generated Node #0,0,0: 93:[5, 98] Operation: 68+30=98
Moving to Node #0,0,0
Current State: 93:[5, 98], Operations: ['97-67=30', '68+30=98']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
27,
68,
29,
26
] | 92 | [
"27+68=95",
"29-26=3",
"95-3=92"
] | Current State: 92:[27, 68, 29, 26], Operations: []
Exploring Operation: 27+68=95, Resulting Numbers: [29, 26, 95]
Generated Node #2: [29, 26, 95] from Operation: 27+68=95
Current State: 92:[29, 26, 95], Operations: ['27+68=95']
Exploring Operation: 29-26=3, Resulting Numbers: [95, 3]
Generated Node #3: [95, 3] from Operation: 29-26=3
Current State: 92:[95, 3], Operations: ['27+68=95', '29-26=3']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[27, 68, 29, 26], Operations: []
Exploring Operation: 27+68=95, Resulting Numbers: [29, 26, 95]
Generated Node #0,0: 92:[29, 26, 95] Operation: 27+68=95
Exploring Operation: 68+29=97, Resulting Numbers: [27, 26, 97]
Generated Node #0,1: 92:[27, 26, 97] Operation: 68+29=97
Moving to Node #0,0
Current State: 92:[29, 26, 95], Operations: ['27+68=95']
Exploring Operation: 29+26=55, Resulting Numbers: [95, 55]
Generated Node #0,0,0: 92:[95, 55] Operation: 29+26=55
Exploring Operation: 29-26=3, Resulting Numbers: [95, 3]
Generated Node #0,0,1: 92:[95, 3] Operation: 29-26=3
Moving to Node #0,1
Current State: 92:[27, 26, 97], Operations: ['68+29=97']
Exploring Operation: 27-26=1, Resulting Numbers: [97, 1]
Generated Node #0,1,0: 92:[97, 1] Operation: 27-26=1
Exploring Operation: 27+26=53, Resulting Numbers: [97, 53]
Generated Node #0,1,1: 92:[97, 53] Operation: 27+26=53
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[97, 1], Operations: ['68+29=97', '27-26=1']
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,92 unequal: No Solution
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,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,1
Current State: 92:[97, 53], Operations: ['68+29=97', '27+26=53']
Exploring Operation: 97-53=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 97+53=150, Resulting Numbers: [150]
150,92 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: 92:[95, 3], Operations: ['27+68=95', '29-26=3']
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,92 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[27, 68, 29, 26], Operations: []
Exploring Operation: 27+68=95, Resulting Numbers: [29, 26, 95]
Generated Node #0,0: 92:[29, 26, 95] Operation: 27+68=95
Moving to Node #0,0
Current State: 92:[29, 26, 95], Operations: ['27+68=95']
Exploring Operation: 29-26=3, Resulting Numbers: [95, 3]
Generated Node #0,0,1: 92:[95, 3] Operation: 29-26=3
Moving to Node #0,0,1
Current State: 92:[95, 3], Operations: ['27+68=95', '29-26=3']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
29,
77,
82,
27
] | 61 | [
"77-29=48",
"82+27=109",
"109-48=61"
] | Current State: 61:[29, 77, 82, 27], Operations: []
Exploring Operation: 77-29=48, Resulting Numbers: [82, 27, 48]
Generated Node #2: [82, 27, 48] from Operation: 77-29=48
Current State: 61:[82, 27, 48], Operations: ['77-29=48']
Exploring Operation: 82+27=109, Resulting Numbers: [48, 109]
Generated Node #3: [48, 109] from Operation: 82+27=109
Current State: 61:[48, 109], Operations: ['77-29=48', '82+27=109']
Exploring Operation: 109-48=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[29, 77, 82, 27], Operations: []
Exploring Operation: 82-27=55, Resulting Numbers: [29, 77, 55]
Generated Node #0,0: 61:[29, 77, 55] Operation: 82-27=55
Exploring Operation: 29+27=56, Resulting Numbers: [77, 82, 56]
Generated Node #0,1: 61:[77, 82, 56] Operation: 29+27=56
Moving to Node #0,1
Current State: 61:[77, 82, 56], Operations: ['29+27=56']
Exploring Operation: 82-56=26, Resulting Numbers: [77, 26]
Generated Node #0,1,0: 61:[77, 26] Operation: 82-56=26
Exploring Operation: 82-77=5, Resulting Numbers: [56, 5]
Generated Node #0,1,1: 61:[56, 5] Operation: 82-77=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[77, 26], Operations: ['29+27=56', '82-56=26']
Exploring Operation: 77+26=103, Resulting Numbers: [103]
103,61 unequal: No Solution
Exploring Operation: 77-26=51, Resulting Numbers: [51]
51,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[56, 5], Operations: ['29+27=56', '82-77=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[29, 77, 82, 27], Operations: []
Exploring Operation: 29+27=56, Resulting Numbers: [77, 82, 56]
Generated Node #0,1: 61:[77, 82, 56] Operation: 29+27=56
Moving to Node #0,1
Current State: 61:[77, 82, 56], Operations: ['29+27=56']
Exploring Operation: 82-77=5, Resulting Numbers: [56, 5]
Generated Node #0,1,1: 61:[56, 5] Operation: 82-77=5
Moving to Node #0,1,1
Current State: 61:[56, 5], Operations: ['29+27=56', '82-77=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
45,
16,
55,
25
] | 37 | [
"16*55=880",
"45+880=925",
"925/25=37"
] | Current State: 37:[45, 16, 55, 25], Operations: []
Exploring Operation: 16*55=880, Resulting Numbers: [45, 25, 880]
Generated Node #2: [45, 25, 880] from Operation: 16*55=880
Current State: 37:[45, 25, 880], Operations: ['16*55=880']
Exploring Operation: 45+880=925, Resulting Numbers: [25, 925]
Generated Node #3: [25, 925] from Operation: 45+880=925
Current State: 37:[25, 925], Operations: ['16*55=880', '45+880=925']
Exploring Operation: 925/25=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[45, 16, 55, 25], Operations: []
Exploring Operation: 16+25=41, Resulting Numbers: [45, 55, 41]
Generated Node #0,0: 37:[45, 55, 41] Operation: 16+25=41
Exploring Operation: 55-16=39, Resulting Numbers: [45, 25, 39]
Generated Node #0,1: 37:[45, 25, 39] Operation: 55-16=39
Exploring Operation: 55-25=30, Resulting Numbers: [45, 16, 30]
Generated Node #0,2: 37:[45, 16, 30] Operation: 55-25=30
Exploring Operation: 45-16=29, Resulting Numbers: [55, 25, 29]
Generated Node #0,3: 37:[55, 25, 29] Operation: 45-16=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[45, 25, 39], Operations: ['55-16=39']
Exploring Operation: 45+25=70, Resulting Numbers: [39, 70]
Generated Node #0,1,0: 37:[39, 70] Operation: 45+25=70
Exploring Operation: 45-25=20, Resulting Numbers: [39, 20]
Generated Node #0,1,1: 37:[39, 20] Operation: 45-25=20
Exploring Operation: 25+39=64, Resulting Numbers: [45, 64]
Generated Node #0,1,2: 37:[45, 64] Operation: 25+39=64
Exploring Operation: 39-25=14, Resulting Numbers: [45, 14]
Generated Node #0,1,3: 37:[45, 14] Operation: 39-25=14
Moving to Node #0,1,1
Current State: 37:[39, 20], Operations: ['55-16=39', '45-25=20']
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[45, 14], Operations: ['55-16=39', '39-25=14']
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,37 unequal: No Solution
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[45, 64], Operations: ['55-16=39', '25+39=64']
Exploring Operation: 45+64=109, Resulting Numbers: [109]
109,37 unequal: No Solution
Exploring Operation: 64-45=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 45*64=2880, Resulting Numbers: [2880]
2880,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[39, 70], Operations: ['55-16=39', '45+25=70']
Exploring Operation: 39+70=109, Resulting Numbers: [109]
109,37 unequal: No Solution
Exploring Operation: 39*70=2730, Resulting Numbers: [2730]
2730,37 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[45, 55, 41], Operations: ['16+25=41']
Exploring Operation: 45-41=4, Resulting Numbers: [55, 4]
Generated Node #0,0,0: 37:[55, 4] Operation: 45-41=4
Exploring Operation: 55-45=10, Resulting Numbers: [41, 10]
Generated Node #0,0,1: 37:[41, 10] Operation: 55-45=10
Exploring Operation: 55-41=14, Resulting Numbers: [45, 14]
Generated Node #0,0,2: 37:[45, 14] Operation: 55-41=14
Exploring Operation: 45+55=100, Resulting Numbers: [41, 100]
Generated Node #0,0,3: 37:[41, 100] Operation: 45+55=100
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[41, 10], Operations: ['16+25=41', '55-45=10']
Exploring Operation: 41+10=51, Resulting Numbers: [51]
51,37 unequal: No Solution
Exploring Operation: 41*10=410, Resulting Numbers: [410]
410,37 unequal: No Solution
Exploring Operation: 41-10=31, Resulting Numbers: [31]
31,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[45, 14], Operations: ['16+25=41', '55-41=14']
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,37 unequal: No Solution
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[55, 4], Operations: ['16+25=41', '45-41=4']
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,37 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,37 unequal: No Solution
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 37:[41, 100], Operations: ['16+25=41', '45+55=100']
Exploring Operation: 100-41=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 41*100=4100, Resulting Numbers: [4100]
4100,37 unequal: No Solution
Exploring Operation: 41+100=141, Resulting Numbers: [141]
141,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[45, 16, 30], Operations: ['55-25=30']
Exploring Operation: 30-16=14, Resulting Numbers: [45, 14]
Generated Node #0,2,0: 37:[45, 14] Operation: 30-16=14
Exploring Operation: 16+30=46, Resulting Numbers: [45, 46]
Generated Node #0,2,1: 37:[45, 46] Operation: 16+30=46
Exploring Operation: 45-16=29, Resulting Numbers: [30, 29]
Generated Node #0,2,2: 37:[30, 29] Operation: 45-16=29
Exploring Operation: 45+16=61, Resulting Numbers: [30, 61]
Generated Node #0,2,3: 37:[30, 61] Operation: 45+16=61
Moving to Node #0,2,2
Current State: 37:[30, 29], Operations: ['55-25=30', '45-16=29']
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 30*29=870, Resulting Numbers: [870]
870,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[45, 46], Operations: ['55-25=30', '16+30=46']
Exploring Operation: 45+46=91, Resulting Numbers: [91]
91,37 unequal: No Solution
Exploring Operation: 45*46=2070, Resulting Numbers: [2070]
2070,37 unequal: No Solution
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Moving to Node #0,2,3
Current State: 37:[30, 61], Operations: ['55-25=30', '45+16=61']
Exploring Operation: 30*61=1830, Resulting Numbers: [1830]
1830,37 unequal: No Solution
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 30+61=91, Resulting Numbers: [91]
91,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[45, 14], Operations: ['55-25=30', '30-16=14']
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,37 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,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
Current State: 37:[55, 25, 29], Operations: ['45-16=29']
Exploring Operation: 25+29=54, Resulting Numbers: [55, 54]
Generated Node #0,3,0: 37:[55, 54] Operation: 25+29=54
Exploring Operation: 55+25=80, Resulting Numbers: [29, 80]
Generated Node #0,3,1: 37:[29, 80] Operation: 55+25=80
Exploring Operation: 55-29=26, Resulting Numbers: [25, 26]
Generated Node #0,3,2: 37:[25, 26] Operation: 55-29=26
Exploring Operation: 55-25=30, Resulting Numbers: [29, 30]
Generated Node #0,3,3: 37:[29, 30] Operation: 55-25=30
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 37:[29, 30], Operations: ['45-16=29', '55-25=30']
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 37:[25, 26], Operations: ['45-16=29', '55-29=26']
Exploring Operation: 25*26=650, Resulting Numbers: [650]
650,37 unequal: No Solution
Exploring Operation: 25+26=51, Resulting Numbers: [51]
51,37 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 37:[55, 54], Operations: ['45-16=29', '25+29=54']
Exploring Operation: 55*54=2970, Resulting Numbers: [2970]
2970,37 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 55+54=109, Resulting Numbers: [109]
109,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 37:[29, 80], Operations: ['45-16=29', '55+25=80']
Exploring Operation: 29+80=109, Resulting Numbers: [109]
109,37 unequal: No Solution
Exploring Operation: 29*80=2320, Resulting Numbers: [2320]
2320,37 unequal: No Solution
Exploring Operation: 80-29=51, Resulting Numbers: [51]
51,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
14,
63,
60,
74
] | 20 | [
"14+63=77",
"77-74=3",
"60/3=20"
] | Current State: 20:[14, 63, 60, 74], Operations: []
Exploring Operation: 14+63=77, Resulting Numbers: [60, 74, 77]
Generated Node #2: [60, 74, 77] from Operation: 14+63=77
Current State: 20:[60, 74, 77], Operations: ['14+63=77']
Exploring Operation: 77-74=3, Resulting Numbers: [60, 3]
Generated Node #3: [60, 3] from Operation: 77-74=3
Current State: 20:[60, 3], Operations: ['14+63=77', '77-74=3']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[14, 63, 60, 74], Operations: []
Exploring Operation: 74-63=11, Resulting Numbers: [14, 60, 11]
Generated Node #0,0: 20:[14, 60, 11] Operation: 74-63=11
Exploring Operation: 74-60=14, Resulting Numbers: [14, 63, 14]
Generated Node #0,1: 20:[14, 63, 14] Operation: 74-60=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[14, 60, 11], Operations: ['74-63=11']
Exploring Operation: 60-14=46, Resulting Numbers: [11, 46]
Generated Node #0,0,0: 20:[11, 46] Operation: 60-14=46
Exploring Operation: 60-11=49, Resulting Numbers: [14, 49]
Generated Node #0,0,1: 20:[14, 49] Operation: 60-11=49
Moving to Node #0,0,0
Current State: 20:[11, 46], Operations: ['74-63=11', '60-14=46']
Exploring Operation: 11+46=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[14, 49], Operations: ['74-63=11', '60-11=49']
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,20 unequal: No Solution
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,20 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: 20:[14, 63, 14], Operations: ['74-60=14']
Exploring Operation: 63-14=49, Resulting Numbers: [14, 49]
Generated Node #0,1,0: 20:[14, 49] Operation: 63-14=49
Exploring Operation: 63-14=49, Resulting Numbers: [14, 49]
Generated Node #0,1,1: 20:[14, 49] Operation: 63-14=49
Moving to Node #0,1,0
Current State: 20:[14, 49], Operations: ['74-60=14', '63-14=49']
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[14, 49], Operations: ['74-60=14', '63-14=49']
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,20 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 |
[
81,
82,
50,
82
] | 32 | [
"82-81=1",
"82-50=32",
"1*32=32"
] | Current State: 32:[81, 82, 50, 82], Operations: []
Exploring Operation: 82-81=1, Resulting Numbers: [50, 1]
Generated Node #2: [50, 1] from Operation: 82-81=1
Current State: 32:[50, 1], Operations: ['82-81=1']
Exploring Operation: 82-50=32, Resulting Numbers: [1, 32]
Generated Node #3: [1, 32] from Operation: 82-50=32
Current State: 32:[1, 32], Operations: ['82-81=1', '82-50=32']
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[81, 82, 50, 82], Operations: []
Exploring Operation: 82-81=1, Resulting Numbers: [50, 82, 1]
Generated Node #0,0: 32:[50, 82, 1] Operation: 82-81=1
Exploring Operation: 82-50=32, Resulting Numbers: [81, 82, 32]
Generated Node #0,1: 32:[81, 82, 32] Operation: 82-50=32
Exploring Operation: 82-81=1, Resulting Numbers: [82, 50, 1]
Generated Node #0,2: 32:[82, 50, 1] Operation: 82-81=1
Exploring Operation: 82/82=1, Resulting Numbers: [81, 50, 1]
Generated Node #0,3: 32:[81, 50, 1] Operation: 82/82=1
Exploring Operation: 82-82=0, Resulting Numbers: [81, 50, 0]
Generated Node #0,4: 32:[81, 50, 0] Operation: 82-82=0
Start Sub Search at level 1: Moving to Node #0,3
Current State: 32:[81, 50, 1], Operations: ['82/82=1']
Exploring Operation: 81*1=81, Resulting Numbers: [50, 81]
Generated Node #0,3,0: 32:[50, 81] Operation: 81*1=81
Exploring Operation: 81-1=80, Resulting Numbers: [50, 80]
Generated Node #0,3,1: 32:[50, 80] Operation: 81-1=80
Exploring Operation: 81/1=81, Resulting Numbers: [50, 81]
Generated Node #0,3,2: 32:[50, 81] Operation: 81/1=81
Exploring Operation: 50-1=49, Resulting Numbers: [81, 49]
Generated Node #0,3,3: 32:[81, 49] Operation: 50-1=49
Exploring Operation: 81-50=31, Resulting Numbers: [1, 31]
Generated Node #0,3,4: 32:[1, 31] Operation: 81-50=31
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 32:[1, 31], Operations: ['82/82=1', '81-50=31']
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[81, 82, 50, 82], Operations: []
Exploring Operation: 82/82=1, Resulting Numbers: [81, 50, 1]
Generated Node #0,3: 32:[81, 50, 1] Operation: 82/82=1
Moving to Node #0,3
Current State: 32:[81, 50, 1], Operations: ['82/82=1']
Exploring Operation: 81-50=31, Resulting Numbers: [1, 31]
Generated Node #0,3,4: 32:[1, 31] Operation: 81-50=31
Moving to Node #0,3,4
Current State: 32:[1, 31], Operations: ['82/82=1', '81-50=31']
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
60,
37,
1,
35
] | 13 | [
"60-37=23",
"1+35=36",
"36-23=13"
] | Current State: 13:[60, 37, 1, 35], Operations: []
Exploring Operation: 60-37=23, Resulting Numbers: [1, 35, 23]
Generated Node #2: [1, 35, 23] from Operation: 60-37=23
Current State: 13:[1, 35, 23], Operations: ['60-37=23']
Exploring Operation: 1+35=36, Resulting Numbers: [23, 36]
Generated Node #3: [23, 36] from Operation: 1+35=36
Current State: 13:[23, 36], Operations: ['60-37=23', '1+35=36']
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[60, 37, 1, 35], Operations: []
Exploring Operation: 37-1=36, Resulting Numbers: [60, 35, 36]
Generated Node #0,0: 13:[60, 35, 36] Operation: 37-1=36
Exploring Operation: 60-1=59, Resulting Numbers: [37, 35, 59]
Generated Node #0,1: 13:[37, 35, 59] Operation: 60-1=59
Exploring Operation: 60-35=25, Resulting Numbers: [37, 1, 25]
Generated Node #0,2: 13:[37, 1, 25] Operation: 60-35=25
Exploring Operation: 37-35=2, Resulting Numbers: [60, 1, 2]
Generated Node #0,3: 13:[60, 1, 2] Operation: 37-35=2
Exploring Operation: 60-37=23, Resulting Numbers: [1, 35, 23]
Generated Node #0,4: 13:[1, 35, 23] Operation: 60-37=23
Start Sub Search at level 1: Moving to Node #0,4
Current State: 13:[1, 35, 23], Operations: ['60-37=23']
Exploring Operation: 35-1=34, Resulting Numbers: [23, 34]
Generated Node #0,4,0: 13:[23, 34] Operation: 35-1=34
Exploring Operation: 1*35=35, Resulting Numbers: [23, 35]
Generated Node #0,4,1: 13:[23, 35] Operation: 1*35=35
Exploring Operation: 23-1=22, Resulting Numbers: [35, 22]
Generated Node #0,4,2: 13:[35, 22] Operation: 23-1=22
Exploring Operation: 35/1=35, Resulting Numbers: [23, 35]
Generated Node #0,4,3: 13:[23, 35] Operation: 35/1=35
Exploring Operation: 35-23=12, Resulting Numbers: [1, 12]
Generated Node #0,4,4: 13:[1, 12] Operation: 35-23=12
Moving to Node #0,4,4
Current State: 13:[1, 12], Operations: ['60-37=23', '35-23=12']
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,13 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[60, 37, 1, 35], Operations: []
Exploring Operation: 60-37=23, Resulting Numbers: [1, 35, 23]
Generated Node #0,4: 13:[1, 35, 23] Operation: 60-37=23
Moving to Node #0,4
Current State: 13:[1, 35, 23], Operations: ['60-37=23']
Exploring Operation: 35-23=12, Resulting Numbers: [1, 12]
Generated Node #0,4,4: 13:[1, 12] Operation: 35-23=12
Moving to Node #0,4,4
Current State: 13:[1, 12], Operations: ['60-37=23', '35-23=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
60,
40,
9,
50
] | 57 | [
"60*40=2400",
"2400/50=48",
"9+48=57"
] | Current State: 57:[60, 40, 9, 50], Operations: []
Exploring Operation: 60*40=2400, Resulting Numbers: [9, 50, 2400]
Generated Node #2: [9, 50, 2400] from Operation: 60*40=2400
Current State: 57:[9, 50, 2400], Operations: ['60*40=2400']
Exploring Operation: 2400/50=48, Resulting Numbers: [9, 48]
Generated Node #3: [9, 48] from Operation: 2400/50=48
Current State: 57:[9, 48], Operations: ['60*40=2400', '2400/50=48']
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[60, 40, 9, 50], Operations: []
Exploring Operation: 50-40=10, Resulting Numbers: [60, 9, 10]
Generated Node #0,0: 57:[60, 9, 10] Operation: 50-40=10
Exploring Operation: 60-40=20, Resulting Numbers: [9, 50, 20]
Generated Node #0,1: 57:[9, 50, 20] Operation: 60-40=20
Exploring Operation: 40+9=49, Resulting Numbers: [60, 50, 49]
Generated Node #0,2: 57:[60, 50, 49] Operation: 40+9=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[9, 50, 20], Operations: ['60-40=20']
Exploring Operation: 9+50=59, Resulting Numbers: [20, 59]
Generated Node #0,1,0: 57:[20, 59] Operation: 9+50=59
Exploring Operation: 50-9=41, Resulting Numbers: [20, 41]
Generated Node #0,1,1: 57:[20, 41] Operation: 50-9=41
Exploring Operation: 20-9=11, Resulting Numbers: [50, 11]
Generated Node #0,1,2: 57:[50, 11] Operation: 20-9=11
Moving to Node #0,1,0
Current State: 57:[20, 59], Operations: ['60-40=20', '9+50=59']
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Exploring Operation: 20*59=1180, Resulting Numbers: [1180]
1180,57 unequal: No Solution
Exploring Operation: 20+59=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[50, 11], Operations: ['60-40=20', '20-9=11']
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Exploring Operation: 50*11=550, Resulting Numbers: [550]
550,57 unequal: No Solution
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[20, 41], Operations: ['60-40=20', '50-9=41']
Exploring Operation: 20+41=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 20*41=820, Resulting Numbers: [820]
820,57 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,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,0
Current State: 57:[60, 9, 10], Operations: ['50-40=10']
Exploring Operation: 60/10=6, Resulting Numbers: [9, 6]
Generated Node #0,0,0: 57:[9, 6] Operation: 60/10=6
Exploring Operation: 9+10=19, Resulting Numbers: [60, 19]
Generated Node #0,0,1: 57:[60, 19] Operation: 9+10=19
Exploring Operation: 10-9=1, Resulting Numbers: [60, 1]
Generated Node #0,0,2: 57:[60, 1] Operation: 10-9=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[60, 19], Operations: ['50-40=10', '9+10=19']
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,57 unequal: No Solution
Exploring Operation: 60+19=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Exploring Operation: 60*19=1140, Resulting Numbers: [1140]
1140,57 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: 57:[60, 1], Operations: ['50-40=10', '10-9=1']
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,57 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: 57:[9, 6], Operations: ['50-40=10', '60/10=6']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[60, 50, 49], Operations: ['40+9=49']
Exploring Operation: 60-50=10, Resulting Numbers: [49, 10]
Generated Node #0,2,0: 57:[49, 10] Operation: 60-50=10
Exploring Operation: 60-49=11, Resulting Numbers: [50, 11]
Generated Node #0,2,1: 57:[50, 11] Operation: 60-49=11
Exploring Operation: 50-49=1, Resulting Numbers: [60, 1]
Generated Node #0,2,2: 57:[60, 1] Operation: 50-49=1
Moving to Node #0,2,2
Current State: 57:[60, 1], Operations: ['40+9=49', '50-49=1']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[49, 10], Operations: ['40+9=49', '60-50=10']
Exploring Operation: 49*10=490, Resulting Numbers: [490]
490,57 unequal: No Solution
Exploring Operation: 49+10=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[50, 11], Operations: ['40+9=49', '60-49=11']
Exploring Operation: 50*11=550, Resulting Numbers: [550]
550,57 unequal: No Solution
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,57 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 |
[
14,
23,
72,
95
] | 87 | [
"23-14=9",
"72/9=8",
"95-8=87"
] | Current State: 87:[14, 23, 72, 95], Operations: []
Exploring Operation: 23-14=9, Resulting Numbers: [72, 95, 9]
Generated Node #2: [72, 95, 9] from Operation: 23-14=9
Current State: 87:[72, 95, 9], Operations: ['23-14=9']
Exploring Operation: 72/9=8, Resulting Numbers: [95, 8]
Generated Node #3: [95, 8] from Operation: 72/9=8
Current State: 87:[95, 8], Operations: ['23-14=9', '72/9=8']
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[14, 23, 72, 95], Operations: []
Exploring Operation: 23-14=9, Resulting Numbers: [72, 95, 9]
Generated Node #0,0: 87:[72, 95, 9] Operation: 23-14=9
Exploring Operation: 95-14=81, Resulting Numbers: [23, 72, 81]
Generated Node #0,1: 87:[23, 72, 81] Operation: 95-14=81
Exploring Operation: 95-72=23, Resulting Numbers: [14, 23, 23]
Generated Node #0,2: 87:[14, 23, 23] Operation: 95-72=23
Exploring Operation: 23+72=95, Resulting Numbers: [14, 95, 95]
Generated Node #0,3: 87:[14, 95, 95] Operation: 23+72=95
Exploring Operation: 14+72=86, Resulting Numbers: [23, 95, 86]
Generated Node #0,4: 87:[23, 95, 86] Operation: 14+72=86
Start Sub Search at level 1: Moving to Node #0,4
Current State: 87:[23, 95, 86], Operations: ['14+72=86']
Exploring Operation: 23+86=109, Resulting Numbers: [95, 109]
Generated Node #0,4,0: 87:[95, 109] Operation: 23+86=109
Exploring Operation: 86-23=63, Resulting Numbers: [95, 63]
Generated Node #0,4,1: 87:[95, 63] Operation: 86-23=63
Exploring Operation: 95-86=9, Resulting Numbers: [23, 9]
Generated Node #0,4,2: 87:[23, 9] Operation: 95-86=9
Exploring Operation: 23+95=118, Resulting Numbers: [86, 118]
Generated Node #0,4,3: 87:[86, 118] Operation: 23+95=118
Exploring Operation: 95-23=72, Resulting Numbers: [86, 72]
Generated Node #0,4,4: 87:[86, 72] Operation: 95-23=72
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 87:[23, 9], Operations: ['14+72=86', '95-86=9']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,87 unequal: No Solution
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,87 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: 87:[86, 72], Operations: ['14+72=86', '95-23=72']
Exploring Operation: 86-72=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 86+72=158, Resulting Numbers: [158]
158,87 unequal: No Solution
Exploring Operation: 86*72=6192, Resulting Numbers: [6192]
6192,87 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: 87:[95, 109], Operations: ['14+72=86', '23+86=109']
Exploring Operation: 109-95=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 95*109=10355, Resulting Numbers: [10355]
10355,87 unequal: No Solution
Exploring Operation: 95+109=204, Resulting Numbers: [204]
204,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 87:[95, 63], Operations: ['14+72=86', '86-23=63']
Exploring Operation: 95*63=5985, Resulting Numbers: [5985]
5985,87 unequal: No Solution
Exploring Operation: 95+63=158, Resulting Numbers: [158]
158,87 unequal: No Solution
Exploring Operation: 95-63=32, Resulting Numbers: [32]
32,87 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: 87:[86, 118], Operations: ['14+72=86', '23+95=118']
Exploring Operation: 118-86=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 86+118=204, Resulting Numbers: [204]
204,87 unequal: No Solution
Exploring Operation: 86*118=10148, Resulting Numbers: [10148]
10148,87 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: 87:[14, 23, 23], Operations: ['95-72=23']
Exploring Operation: 23-14=9, Resulting Numbers: [23, 9]
Generated Node #0,2,0: 87:[23, 9] Operation: 23-14=9
Exploring Operation: 23-14=9, Resulting Numbers: [23, 9]
Generated Node #0,2,1: 87:[23, 9] Operation: 23-14=9
Exploring Operation: 14+23=37, Resulting Numbers: [23, 37]
Generated Node #0,2,2: 87:[23, 37] Operation: 14+23=37
Exploring Operation: 23/23=1, Resulting Numbers: [14, 1]
Generated Node #0,2,3: 87:[14, 1] Operation: 23/23=1
Exploring Operation: 14+23=37, Resulting Numbers: [23, 37]
Generated Node #0,2,4: 87:[23, 37] Operation: 14+23=37
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 87:[23, 9], Operations: ['95-72=23', '23-14=9']
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,87 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,87 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: 87:[23, 9], Operations: ['95-72=23', '23-14=9']
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,87 unequal: No Solution
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,87 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: 87:[14, 1], Operations: ['95-72=23', '23/23=1']
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,87 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,87 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: 87:[23, 37], Operations: ['95-72=23', '14+23=37']
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 23*37=851, Resulting Numbers: [851]
851,87 unequal: No Solution
Exploring Operation: 23+37=60, Resulting Numbers: [60]
60,87 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: 87:[23, 37], Operations: ['95-72=23', '14+23=37']
Exploring Operation: 23+37=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 23*37=851, Resulting Numbers: [851]
851,87 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: 87:[23, 72, 81], Operations: ['95-14=81']
Exploring Operation: 23+72=95, Resulting Numbers: [81, 95]
Generated Node #0,1,0: 87:[81, 95] Operation: 23+72=95
Exploring Operation: 23+81=104, Resulting Numbers: [72, 104]
Generated Node #0,1,1: 87:[72, 104] Operation: 23+81=104
Exploring Operation: 81-72=9, Resulting Numbers: [23, 9]
Generated Node #0,1,2: 87:[23, 9] Operation: 81-72=9
Exploring Operation: 72-23=49, Resulting Numbers: [81, 49]
Generated Node #0,1,3: 87:[81, 49] Operation: 72-23=49
Exploring Operation: 81-23=58, Resulting Numbers: [72, 58]
Generated Node #0,1,4: 87:[72, 58] Operation: 81-23=58
Moving to Node #0,1,2
Current State: 87:[23, 9], Operations: ['95-14=81', '81-72=9']
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,87 unequal: No Solution
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[81, 95], Operations: ['95-14=81', '23+72=95']
Exploring Operation: 95-81=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 81*95=7695, Resulting Numbers: [7695]
7695,87 unequal: No Solution
Exploring Operation: 81+95=176, Resulting Numbers: [176]
176,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[81, 49], Operations: ['95-14=81', '72-23=49']
Exploring Operation: 81-49=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 81*49=3969, Resulting Numbers: [3969]
3969,87 unequal: No Solution
Exploring Operation: 81+49=130, Resulting Numbers: [130]
130,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[72, 104], Operations: ['95-14=81', '23+81=104']
Exploring Operation: 72+104=176, Resulting Numbers: [176]
176,87 unequal: No Solution
Exploring Operation: 72*104=7488, Resulting Numbers: [7488]
7488,87 unequal: No Solution
Exploring Operation: 104-72=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Moving to Node #0,1,4
Current State: 87:[72, 58], Operations: ['95-14=81', '81-23=58']
Exploring Operation: 72*58=4176, Resulting Numbers: [4176]
4176,87 unequal: No Solution
Exploring Operation: 72+58=130, Resulting Numbers: [130]
130,87 unequal: No Solution
Exploring Operation: 72-58=14, Resulting Numbers: [14]
14,87 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: 87:[14, 95, 95], Operations: ['23+72=95']
Exploring Operation: 95-95=0, Resulting Numbers: [14, 0]
Generated Node #0,3,0: 87:[14, 0] Operation: 95-95=0
Exploring Operation: 95-14=81, Resulting Numbers: [95, 81]
Generated Node #0,3,1: 87:[95, 81] Operation: 95-14=81
Exploring Operation: 14+95=109, Resulting Numbers: [95, 109]
Generated Node #0,3,2: 87:[95, 109] Operation: 14+95=109
Exploring Operation: 95-14=81, Resulting Numbers: [95, 81]
Generated Node #0,3,3: 87:[95, 81] Operation: 95-14=81
Exploring Operation: 95/95=1, Resulting Numbers: [14, 1]
Generated Node #0,3,4: 87:[14, 1] Operation: 95/95=1
Moving to Node #0,3,4
Current State: 87:[14, 1], Operations: ['23+72=95', '95/95=1']
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,87 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[95, 81], Operations: ['23+72=95', '95-14=81']
Exploring Operation: 95-81=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 95+81=176, Resulting Numbers: [176]
176,87 unequal: No Solution
Exploring Operation: 95*81=7695, Resulting Numbers: [7695]
7695,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[14, 0], Operations: ['23+72=95', '95-95=0']
Exploring Operation: 14*0=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 14-0=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 14+0=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[95, 81], Operations: ['23+72=95', '95-14=81']
Exploring Operation: 95+81=176, Resulting Numbers: [176]
176,87 unequal: No Solution
Exploring Operation: 95-81=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 95*81=7695, Resulting Numbers: [7695]
7695,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[95, 109], Operations: ['23+72=95', '14+95=109']
Exploring Operation: 95*109=10355, Resulting Numbers: [10355]
10355,87 unequal: No Solution
Exploring Operation: 109-95=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 95+109=204, Resulting Numbers: [204]
204,87 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: 87:[72, 95, 9], Operations: ['23-14=9']
Exploring Operation: 72/9=8, Resulting Numbers: [95, 8]
Generated Node #0,0,0: 87:[95, 8] Operation: 72/9=8
Exploring Operation: 72-9=63, Resulting Numbers: [95, 63]
Generated Node #0,0,1: 87:[95, 63] Operation: 72-9=63
Exploring Operation: 72+9=81, Resulting Numbers: [95, 81]
Generated Node #0,0,2: 87:[95, 81] Operation: 72+9=81
Exploring Operation: 95-72=23, Resulting Numbers: [9, 23]
Generated Node #0,0,3: 87:[9, 23] Operation: 95-72=23
Exploring Operation: 95-9=86, Resulting Numbers: [72, 86]
Generated Node #0,0,4: 87:[72, 86] Operation: 95-9=86
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 87:[9, 23], Operations: ['23-14=9', '95-72=23']
Exploring Operation: 9*23=207, Resulting Numbers: [207]
207,87 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 9+23=32, Resulting Numbers: [32]
32,87 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: 87:[95, 8], Operations: ['23-14=9', '72/9=8']
Exploring Operation: 95*8=760, Resulting Numbers: [760]
760,87 unequal: No Solution
Exploring Operation: 95+8=103, Resulting Numbers: [103]
103,87 unequal: No Solution
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[14, 23, 72, 95], Operations: []
Exploring Operation: 23-14=9, Resulting Numbers: [72, 95, 9]
Generated Node #0,0: 87:[72, 95, 9] Operation: 23-14=9
Moving to Node #0,0
Current State: 87:[72, 95, 9], Operations: ['23-14=9']
Exploring Operation: 72/9=8, Resulting Numbers: [95, 8]
Generated Node #0,0,0: 87:[95, 8] Operation: 72/9=8
Moving to Node #0,0,0
Current State: 87:[95, 8], Operations: ['23-14=9', '72/9=8']
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.911458 | hs_5 | sum_heuristic |
[
46,
84,
4,
28
] | 58 | [
"84*4=336",
"336/28=12",
"46+12=58"
] | Current State: 58:[46, 84, 4, 28], Operations: []
Exploring Operation: 84*4=336, Resulting Numbers: [46, 28, 336]
Generated Node #2: [46, 28, 336] from Operation: 84*4=336
Current State: 58:[46, 28, 336], Operations: ['84*4=336']
Exploring Operation: 336/28=12, Resulting Numbers: [46, 12]
Generated Node #3: [46, 12] from Operation: 336/28=12
Current State: 58:[46, 12], Operations: ['84*4=336', '336/28=12']
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[46, 84, 4, 28], Operations: []
Exploring Operation: 84-46=38, Resulting Numbers: [4, 28, 38]
Generated Node #0,0: 58:[4, 28, 38] Operation: 84-46=38
Moving to Node #0,0
Current State: 58:[4, 28, 38], Operations: ['84-46=38']
Exploring Operation: 38-4=34, Resulting Numbers: [28, 34]
Generated Node #0,0,0: 58:[28, 34] Operation: 38-4=34
Moving to Node #0,0,0
Current State: 58:[28, 34], Operations: ['84-46=38', '38-4=34']
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,58 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
7,
56,
12,
2
] | 46 | [
"12-7=5",
"2*5=10",
"56-10=46"
] | Current State: 46:[7, 56, 12, 2], Operations: []
Exploring Operation: 12-7=5, Resulting Numbers: [56, 2, 5]
Generated Node #2: [56, 2, 5] from Operation: 12-7=5
Current State: 46:[56, 2, 5], Operations: ['12-7=5']
Exploring Operation: 2*5=10, Resulting Numbers: [56, 10]
Generated Node #3: [56, 10] from Operation: 2*5=10
Current State: 46:[56, 10], Operations: ['12-7=5', '2*5=10']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[7, 56, 12, 2], Operations: []
Exploring Operation: 56/7=8, Resulting Numbers: [12, 2, 8]
Generated Node #0,0: 46:[12, 2, 8] Operation: 56/7=8
Exploring Operation: 56-12=44, Resulting Numbers: [7, 2, 44]
Generated Node #0,1: 46:[7, 2, 44] Operation: 56-12=44
Exploring Operation: 7+12=19, Resulting Numbers: [56, 2, 19]
Generated Node #0,2: 46:[56, 2, 19] Operation: 7+12=19
Exploring Operation: 12-7=5, Resulting Numbers: [56, 2, 5]
Generated Node #0,3: 46:[56, 2, 5] Operation: 12-7=5
Exploring Operation: 56-7=49, Resulting Numbers: [12, 2, 49]
Generated Node #0,4: 46:[12, 2, 49] Operation: 56-7=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[7, 2, 44], Operations: ['56-12=44']
Exploring Operation: 7+44=51, Resulting Numbers: [2, 51]
Generated Node #0,1,0: 46:[2, 51] Operation: 7+44=51
Exploring Operation: 2+44=46, Resulting Numbers: [7, 46]
Generated Node #0,1,1: 46:[7, 46] Operation: 2+44=46
Exploring Operation: 7-2=5, Resulting Numbers: [44, 5]
Generated Node #0,1,2: 46:[44, 5] Operation: 7-2=5
Exploring Operation: 44/2=22, Resulting Numbers: [7, 22]
Generated Node #0,1,3: 46:[7, 22] Operation: 44/2=22
Exploring Operation: 7+2=9, Resulting Numbers: [44, 9]
Generated Node #0,1,4: 46:[44, 9] Operation: 7+2=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 46:[2, 51], Operations: ['56-12=44', '7+44=51']
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,46 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,46 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: 46:[7, 46], Operations: ['56-12=44', '2+44=46']
Exploring Operation: 7*46=322, Resulting Numbers: [322]
322,46 unequal: No Solution
Exploring Operation: 7+46=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,46 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: 46:[44, 5], Operations: ['56-12=44', '7-2=5']
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,46 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,46 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,46 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: 46:[7, 22], Operations: ['56-12=44', '44/2=22']
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,46 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,46 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: 46:[44, 9], Operations: ['56-12=44', '7+2=9']
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,46 unequal: No Solution
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,46 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: 46:[56, 2, 5], Operations: ['12-7=5']
Exploring Operation: 56-2=54, Resulting Numbers: [5, 54]
Generated Node #0,3,0: 46:[5, 54] Operation: 56-2=54
Exploring Operation: 56+2=58, Resulting Numbers: [5, 58]
Generated Node #0,3,1: 46:[5, 58] Operation: 56+2=58
Exploring Operation: 56-5=51, Resulting Numbers: [2, 51]
Generated Node #0,3,2: 46:[2, 51] Operation: 56-5=51
Exploring Operation: 56/2=28, Resulting Numbers: [5, 28]
Generated Node #0,3,3: 46:[5, 28] Operation: 56/2=28
Exploring Operation: 5-2=3, Resulting Numbers: [56, 3]
Generated Node #0,3,4: 46:[56, 3] Operation: 5-2=3
Moving to Node #0,3,2
Current State: 46:[2, 51], Operations: ['12-7=5', '56-5=51']
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,46 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,46 unequal: No Solution
Moving to Node #0,3,3
Current State: 46:[5, 28], Operations: ['12-7=5', '56/2=28']
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,46 unequal: No Solution
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Moving to Node #0,3,0
Current State: 46:[5, 54], Operations: ['12-7=5', '56-2=54']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,46 unequal: No Solution
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,46 unequal: No Solution
Moving to Node #0,3,4
Current State: 46:[56, 3], Operations: ['12-7=5', '5-2=3']
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,46 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[5, 58], Operations: ['12-7=5', '56+2=58']
Exploring Operation: 5*58=290, Resulting Numbers: [290]
290,46 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 5+58=63, Resulting Numbers: [63]
63,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 46:[12, 2, 49], Operations: ['56-7=49']
Exploring Operation: 12/2=6, Resulting Numbers: [49, 6]
Generated Node #0,4,0: 46:[49, 6] Operation: 12/2=6
Exploring Operation: 49-2=47, Resulting Numbers: [12, 47]
Generated Node #0,4,1: 46:[12, 47] Operation: 49-2=47
Exploring Operation: 12*2=24, Resulting Numbers: [49, 24]
Generated Node #0,4,2: 46:[49, 24] Operation: 12*2=24
Exploring Operation: 49-12=37, Resulting Numbers: [2, 37]
Generated Node #0,4,3: 46:[2, 37] Operation: 49-12=37
Exploring Operation: 12-2=10, Resulting Numbers: [49, 10]
Generated Node #0,4,4: 46:[49, 10] Operation: 12-2=10
Moving to Node #0,4,2
Current State: 46:[49, 24], Operations: ['56-7=49', '12*2=24']
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,46 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,46 unequal: No Solution
Moving to Node #0,4,0
Current State: 46:[49, 6], Operations: ['56-7=49', '12/2=6']
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,46 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,46 unequal: No Solution
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,46 unequal: No Solution
Moving to Node #0,4,3
Current State: 46:[2, 37], Operations: ['56-7=49', '49-12=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,46 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,46 unequal: No Solution
Moving to Node #0,4,1
Current State: 46:[12, 47], Operations: ['56-7=49', '49-2=47']
Exploring Operation: 12*47=564, Resulting Numbers: [564]
564,46 unequal: No Solution
Exploring Operation: 12+47=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,46 unequal: No Solution
Moving to Node #0,4,4
Current State: 46:[49, 10], Operations: ['56-7=49', '12-2=10']
Exploring Operation: 49*10=490, Resulting Numbers: [490]
490,46 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 49+10=59, Resulting Numbers: [59]
59,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[56, 2, 19], Operations: ['7+12=19']
Exploring Operation: 56+2=58, Resulting Numbers: [19, 58]
Generated Node #0,2,0: 46:[19, 58] Operation: 56+2=58
Exploring Operation: 2+19=21, Resulting Numbers: [56, 21]
Generated Node #0,2,1: 46:[56, 21] Operation: 2+19=21
Exploring Operation: 56-2=54, Resulting Numbers: [19, 54]
Generated Node #0,2,2: 46:[19, 54] Operation: 56-2=54
Exploring Operation: 56-19=37, Resulting Numbers: [2, 37]
Generated Node #0,2,3: 46:[2, 37] Operation: 56-19=37
Exploring Operation: 56/2=28, Resulting Numbers: [19, 28]
Generated Node #0,2,4: 46:[19, 28] Operation: 56/2=28
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 46:[2, 37], Operations: ['7+12=19', '56-19=37']
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,46 unequal: No Solution
Exploring Operation: 2*37=74, Resulting Numbers: [74]
74,46 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: 46:[19, 28], Operations: ['7+12=19', '56/2=28']
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 19*28=532, Resulting Numbers: [532]
532,46 unequal: No Solution
Exploring Operation: 19+28=47, Resulting Numbers: [47]
47,46 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: 46:[56, 21], Operations: ['7+12=19', '2+19=21']
Exploring Operation: 56*21=1176, Resulting Numbers: [1176]
1176,46 unequal: No Solution
Exploring Operation: 56+21=77, Resulting Numbers: [77]
77,46 unequal: No Solution
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,46 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: 46:[19, 54], Operations: ['7+12=19', '56-2=54']
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,46 unequal: No Solution
Exploring Operation: 19*54=1026, Resulting Numbers: [1026]
1026,46 unequal: No Solution
Exploring Operation: 19+54=73, Resulting Numbers: [73]
73,46 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: 46:[19, 58], Operations: ['7+12=19', '56+2=58']
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,46 unequal: No Solution
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,46 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,46 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: 46:[12, 2, 8], Operations: ['56/7=8']
Exploring Operation: 8/2=4, Resulting Numbers: [12, 4]
Generated Node #0,0,0: 46:[12, 4] Operation: 8/2=4
Exploring Operation: 12/2=6, Resulting Numbers: [8, 6]
Generated Node #0,0,1: 46:[8, 6] Operation: 12/2=6
Exploring Operation: 12-8=4, Resulting Numbers: [2, 4]
Generated Node #0,0,2: 46:[2, 4] Operation: 12-8=4
Exploring Operation: 12+8=20, Resulting Numbers: [2, 20]
Generated Node #0,0,3: 46:[2, 20] Operation: 12+8=20
Exploring Operation: 12*2=24, Resulting Numbers: [8, 24]
Generated Node #0,0,4: 46:[8, 24] Operation: 12*2=24
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 46:[2, 4], Operations: ['56/7=8', '12-8=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,46 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: 46:[2, 20], Operations: ['56/7=8', '12+8=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,46 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,46 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: 46:[8, 24], Operations: ['56/7=8', '12*2=24']
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,46 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,46 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: 46:[8, 6], Operations: ['56/7=8', '12/2=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,46 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: 46:[12, 4], Operations: ['56/7=8', '8/2=4']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,46 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 |
[
21,
3,
98,
25
] | 48 | [
"21+98=119",
"25+119=144",
"144/3=48"
] | Current State: 48:[21, 3, 98, 25], Operations: []
Exploring Operation: 21+98=119, Resulting Numbers: [3, 25, 119]
Generated Node #2: [3, 25, 119] from Operation: 21+98=119
Current State: 48:[3, 25, 119], Operations: ['21+98=119']
Exploring Operation: 25+119=144, Resulting Numbers: [3, 144]
Generated Node #3: [3, 144] from Operation: 25+119=144
Current State: 48:[3, 144], Operations: ['21+98=119', '25+119=144']
Exploring Operation: 144/3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[21, 3, 98, 25], Operations: []
Exploring Operation: 98-21=77, Resulting Numbers: [3, 25, 77]
Generated Node #0,0: 48:[3, 25, 77] Operation: 98-21=77
Exploring Operation: 98-25=73, Resulting Numbers: [21, 3, 73]
Generated Node #0,1: 48:[21, 3, 73] Operation: 98-25=73
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[21, 3, 73], Operations: ['98-25=73']
Exploring Operation: 21+3=24, Resulting Numbers: [73, 24]
Generated Node #0,1,0: 48:[73, 24] Operation: 21+3=24
Exploring Operation: 73-21=52, Resulting Numbers: [3, 52]
Generated Node #0,1,1: 48:[3, 52] Operation: 73-21=52
Moving to Node #0,1,1
Current State: 48:[3, 52], Operations: ['98-25=73', '73-21=52']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[73, 24], Operations: ['98-25=73', '21+3=24']
Exploring Operation: 73+24=97, Resulting Numbers: [97]
97,48 unequal: No Solution
Exploring Operation: 73-24=49, Resulting Numbers: [49]
49,48 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: 48:[3, 25, 77], Operations: ['98-21=77']
Exploring Operation: 77-3=74, Resulting Numbers: [25, 74]
Generated Node #0,0,0: 48:[25, 74] Operation: 77-3=74
Exploring Operation: 77-25=52, Resulting Numbers: [3, 52]
Generated Node #0,0,1: 48:[3, 52] Operation: 77-25=52
Moving to Node #0,0,1
Current State: 48:[3, 52], Operations: ['98-21=77', '77-25=52']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[25, 74], Operations: ['98-21=77', '77-3=74']
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 25+74=99, Resulting Numbers: [99]
99,48 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 |
[
89,
64,
32,
90
] | 88 | [
"89*64=5696",
"5696/32=178",
"178-90=88"
] | Current State: 88:[89, 64, 32, 90], Operations: []
Exploring Operation: 89*64=5696, Resulting Numbers: [32, 90, 5696]
Generated Node #2: [32, 90, 5696] from Operation: 89*64=5696
Current State: 88:[32, 90, 5696], Operations: ['89*64=5696']
Exploring Operation: 5696/32=178, Resulting Numbers: [90, 178]
Generated Node #3: [90, 178] from Operation: 5696/32=178
Current State: 88:[90, 178], Operations: ['89*64=5696', '5696/32=178']
Exploring Operation: 178-90=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[89, 64, 32, 90], Operations: []
Exploring Operation: 64-32=32, Resulting Numbers: [89, 90, 32]
Generated Node #0,0: 88:[89, 90, 32] Operation: 64-32=32
Exploring Operation: 89-64=25, Resulting Numbers: [32, 90, 25]
Generated Node #0,1: 88:[32, 90, 25] Operation: 89-64=25
Exploring Operation: 64+32=96, Resulting Numbers: [89, 90, 96]
Generated Node #0,2: 88:[89, 90, 96] Operation: 64+32=96
Exploring Operation: 64/32=2, Resulting Numbers: [89, 90, 2]
Generated Node #0,3: 88:[89, 90, 2] Operation: 64/32=2
Exploring Operation: 90-64=26, Resulting Numbers: [89, 32, 26]
Generated Node #0,4: 88:[89, 32, 26] Operation: 90-64=26
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[89, 90, 2], Operations: ['64/32=2']
Exploring Operation: 90-89=1, Resulting Numbers: [2, 1]
Generated Node #0,3,0: 88:[2, 1] Operation: 90-89=1
Exploring Operation: 90-2=88, Resulting Numbers: [89, 88]
Generated Node #0,3,1: 88:[89, 88] Operation: 90-2=88
Exploring Operation: 90/2=45, Resulting Numbers: [89, 45]
Generated Node #0,3,2: 88:[89, 45] Operation: 90/2=45
Exploring Operation: 89+2=91, Resulting Numbers: [90, 91]
Generated Node #0,3,3: 88:[90, 91] Operation: 89+2=91
Exploring Operation: 89-2=87, Resulting Numbers: [90, 87]
Generated Node #0,3,4: 88:[90, 87] Operation: 89-2=87
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 88:[2, 1], Operations: ['64/32=2', '90-89=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 88:[89, 88], Operations: ['64/32=2', '90-2=88']
Exploring Operation: 89+88=177, Resulting Numbers: [177]
177,88 unequal: No Solution
Exploring Operation: 89-88=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 89*88=7832, Resulting Numbers: [7832]
7832,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 88:[89, 45], Operations: ['64/32=2', '90/2=45']
Exploring Operation: 89*45=4005, Resulting Numbers: [4005]
4005,88 unequal: No Solution
Exploring Operation: 89-45=44, Resulting Numbers: [44]
44,88 unequal: No Solution
Exploring Operation: 89+45=134, Resulting Numbers: [134]
134,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 88:[90, 87], Operations: ['64/32=2', '89-2=87']
Exploring Operation: 90-87=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 90*87=7830, Resulting Numbers: [7830]
7830,88 unequal: No Solution
Exploring Operation: 90+87=177, Resulting Numbers: [177]
177,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 88:[90, 91], Operations: ['64/32=2', '89+2=91']
Exploring Operation: 90+91=181, Resulting Numbers: [181]
181,88 unequal: No Solution
Exploring Operation: 91-90=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 90*91=8190, Resulting Numbers: [8190]
8190,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[89, 90, 96], Operations: ['64+32=96']
Exploring Operation: 89+96=185, Resulting Numbers: [90, 185]
Generated Node #0,2,0: 88:[90, 185] Operation: 89+96=185
Exploring Operation: 96-89=7, Resulting Numbers: [90, 7]
Generated Node #0,2,1: 88:[90, 7] Operation: 96-89=7
Exploring Operation: 89+90=179, Resulting Numbers: [96, 179]
Generated Node #0,2,2: 88:[96, 179] Operation: 89+90=179
Exploring Operation: 96-90=6, Resulting Numbers: [89, 6]
Generated Node #0,2,3: 88:[89, 6] Operation: 96-90=6
Exploring Operation: 90-89=1, Resulting Numbers: [96, 1]
Generated Node #0,2,4: 88:[96, 1] Operation: 90-89=1
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 88:[90, 7], Operations: ['64+32=96', '96-89=7']
Exploring Operation: 90*7=630, Resulting Numbers: [630]
630,88 unequal: No Solution
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Exploring Operation: 90+7=97, Resulting Numbers: [97]
97,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 88:[89, 6], Operations: ['64+32=96', '96-90=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Exploring Operation: 89*6=534, Resulting Numbers: [534]
534,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 88:[96, 1], Operations: ['64+32=96', '90-89=1']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,88 unequal: No Solution
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,88 unequal: No Solution
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 88:[90, 185], Operations: ['64+32=96', '89+96=185']
Exploring Operation: 90*185=16650, Resulting Numbers: [16650]
16650,88 unequal: No Solution
Exploring Operation: 185-90=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 90+185=275, Resulting Numbers: [275]
275,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 88:[96, 179], Operations: ['64+32=96', '89+90=179']
Exploring Operation: 96*179=17184, Resulting Numbers: [17184]
17184,88 unequal: No Solution
Exploring Operation: 179-96=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Exploring Operation: 96+179=275, Resulting Numbers: [275]
275,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[89, 90, 32], Operations: ['64-32=32']
Exploring Operation: 90+32=122, Resulting Numbers: [89, 122]
Generated Node #0,0,0: 88:[89, 122] Operation: 90+32=122
Exploring Operation: 89+32=121, Resulting Numbers: [90, 121]
Generated Node #0,0,1: 88:[90, 121] Operation: 89+32=121
Exploring Operation: 90-89=1, Resulting Numbers: [32, 1]
Generated Node #0,0,2: 88:[32, 1] Operation: 90-89=1
Exploring Operation: 90-32=58, Resulting Numbers: [89, 58]
Generated Node #0,0,3: 88:[89, 58] Operation: 90-32=58
Exploring Operation: 89-32=57, Resulting Numbers: [90, 57]
Generated Node #0,0,4: 88:[90, 57] Operation: 89-32=57
Moving to Node #0,0,2
Current State: 88:[32, 1], Operations: ['64-32=32', '90-89=1']
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,88 unequal: No Solution
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,88 unequal: No Solution
Moving to Node #0,0,4
Current State: 88:[90, 57], Operations: ['64-32=32', '89-32=57']
Exploring Operation: 90-57=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 90*57=5130, Resulting Numbers: [5130]
5130,88 unequal: No Solution
Exploring Operation: 90+57=147, Resulting Numbers: [147]
147,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[89, 58], Operations: ['64-32=32', '90-32=58']
Exploring Operation: 89+58=147, Resulting Numbers: [147]
147,88 unequal: No Solution
Exploring Operation: 89*58=5162, Resulting Numbers: [5162]
5162,88 unequal: No Solution
Exploring Operation: 89-58=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[89, 122], Operations: ['64-32=32', '90+32=122']
Exploring Operation: 89*122=10858, Resulting Numbers: [10858]
10858,88 unequal: No Solution
Exploring Operation: 89+122=211, Resulting Numbers: [211]
211,88 unequal: No Solution
Exploring Operation: 122-89=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[90, 121], Operations: ['64-32=32', '89+32=121']
Exploring Operation: 90*121=10890, Resulting Numbers: [10890]
10890,88 unequal: No Solution
Exploring Operation: 90+121=211, Resulting Numbers: [211]
211,88 unequal: No Solution
Exploring Operation: 121-90=31, Resulting Numbers: [31]
31,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[32, 90, 25], Operations: ['89-64=25']
Exploring Operation: 32+90=122, Resulting Numbers: [25, 122]
Generated Node #0,1,0: 88:[25, 122] Operation: 32+90=122
Exploring Operation: 90-32=58, Resulting Numbers: [25, 58]
Generated Node #0,1,1: 88:[25, 58] Operation: 90-32=58
Exploring Operation: 32+25=57, Resulting Numbers: [90, 57]
Generated Node #0,1,2: 88:[90, 57] Operation: 32+25=57
Exploring Operation: 32-25=7, Resulting Numbers: [90, 7]
Generated Node #0,1,3: 88:[90, 7] Operation: 32-25=7
Exploring Operation: 90-25=65, Resulting Numbers: [32, 65]
Generated Node #0,1,4: 88:[32, 65] Operation: 90-25=65
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 88:[90, 7], Operations: ['89-64=25', '32-25=7']
Exploring Operation: 90+7=97, Resulting Numbers: [97]
97,88 unequal: No Solution
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Exploring Operation: 90*7=630, Resulting Numbers: [630]
630,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 88:[90, 57], Operations: ['89-64=25', '32+25=57']
Exploring Operation: 90-57=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 90*57=5130, Resulting Numbers: [5130]
5130,88 unequal: No Solution
Exploring Operation: 90+57=147, Resulting Numbers: [147]
147,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[25, 58], Operations: ['89-64=25', '90-32=58']
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 25*58=1450, Resulting Numbers: [1450]
1450,88 unequal: No Solution
Exploring Operation: 25+58=83, Resulting Numbers: [83]
83,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 88:[32, 65], Operations: ['89-64=25', '90-25=65']
Exploring Operation: 32*65=2080, Resulting Numbers: [2080]
2080,88 unequal: No Solution
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 32+65=97, Resulting Numbers: [97]
97,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[25, 122], Operations: ['89-64=25', '32+90=122']
Exploring Operation: 25*122=3050, Resulting Numbers: [3050]
3050,88 unequal: No Solution
Exploring Operation: 122-25=97, Resulting Numbers: [97]
97,88 unequal: No Solution
Exploring Operation: 25+122=147, Resulting Numbers: [147]
147,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 88:[89, 32, 26], Operations: ['90-64=26']
Exploring Operation: 89-26=63, Resulting Numbers: [32, 63]
Generated Node #0,4,0: 88:[32, 63] Operation: 89-26=63
Exploring Operation: 32-26=6, Resulting Numbers: [89, 6]
Generated Node #0,4,1: 88:[89, 6] Operation: 32-26=6
Exploring Operation: 32+26=58, Resulting Numbers: [89, 58]
Generated Node #0,4,2: 88:[89, 58] Operation: 32+26=58
Exploring Operation: 89+32=121, Resulting Numbers: [26, 121]
Generated Node #0,4,3: 88:[26, 121] Operation: 89+32=121
Exploring Operation: 89-32=57, Resulting Numbers: [26, 57]
Generated Node #0,4,4: 88:[26, 57] Operation: 89-32=57
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 88:[89, 6], Operations: ['90-64=26', '32-26=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 89*6=534, Resulting Numbers: [534]
534,88 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 88:[89, 58], Operations: ['90-64=26', '32+26=58']
Exploring Operation: 89+58=147, Resulting Numbers: [147]
147,88 unequal: No Solution
Exploring Operation: 89*58=5162, Resulting Numbers: [5162]
5162,88 unequal: No Solution
Exploring Operation: 89-58=31, Resulting Numbers: [31]
31,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 88:[26, 57], Operations: ['90-64=26', '89-32=57']
Exploring Operation: 26+57=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 26*57=1482, Resulting Numbers: [1482]
1482,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 88:[32, 63], Operations: ['90-64=26', '89-26=63']
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 32*63=2016, Resulting Numbers: [2016]
2016,88 unequal: No Solution
Exploring Operation: 32+63=95, Resulting Numbers: [95]
95,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 88:[26, 121], Operations: ['90-64=26', '89+32=121']
Exploring Operation: 26*121=3146, Resulting Numbers: [3146]
3146,88 unequal: No Solution
Exploring Operation: 121-26=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 26+121=147, Resulting Numbers: [147]
147,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
2,
91,
85,
87
] | 90 | [
"2+85=87",
"87/87=1",
"91-1=90"
] | Current State: 90:[2, 91, 85, 87], Operations: []
Exploring Operation: 2+85=87, Resulting Numbers: [91, 87, 87]
Generated Node #2: [91, 87, 87] from Operation: 2+85=87
Current State: 90:[91, 87, 87], Operations: ['2+85=87']
Exploring Operation: 87/87=1, Resulting Numbers: [91, 1]
Generated Node #3: [91, 1] from Operation: 87/87=1
Current State: 90:[91, 1], Operations: ['2+85=87', '87/87=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[2, 91, 85, 87], Operations: []
Exploring Operation: 91-85=6, Resulting Numbers: [2, 87, 6]
Generated Node #0,0: 90:[2, 87, 6] Operation: 91-85=6
Exploring Operation: 87-85=2, Resulting Numbers: [2, 91, 2]
Generated Node #0,1: 90:[2, 91, 2] Operation: 87-85=2
Moving to Node #0,1
Current State: 90:[2, 91, 2], Operations: ['87-85=2']
Exploring Operation: 91-2=89, Resulting Numbers: [2, 89]
Generated Node #0,1,0: 90:[2, 89] Operation: 91-2=89
Exploring Operation: 91-2=89, Resulting Numbers: [2, 89]
Generated Node #0,1,1: 90:[2, 89] Operation: 91-2=89
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[2, 89], Operations: ['87-85=2', '91-2=89']
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[2, 89], Operations: ['87-85=2', '91-2=89']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,90 unequal: No Solution
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,90 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: 90:[2, 87, 6], Operations: ['91-85=6']
Exploring Operation: 6/2=3, Resulting Numbers: [87, 3]
Generated Node #0,0,0: 90:[87, 3] Operation: 6/2=3
Exploring Operation: 2+87=89, Resulting Numbers: [6, 89]
Generated Node #0,0,1: 90:[6, 89] Operation: 2+87=89
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[6, 89], Operations: ['91-85=6', '2+87=89']
Exploring Operation: 6+89=95, Resulting Numbers: [95]
95,90 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[87, 3], Operations: ['91-85=6', '6/2=3']
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[2, 91, 85, 87], Operations: []
Exploring Operation: 91-85=6, Resulting Numbers: [2, 87, 6]
Generated Node #0,0: 90:[2, 87, 6] Operation: 91-85=6
Moving to Node #0,0
Current State: 90:[2, 87, 6], Operations: ['91-85=6']
Exploring Operation: 6/2=3, Resulting Numbers: [87, 3]
Generated Node #0,0,0: 90:[87, 3] Operation: 6/2=3
Moving to Node #0,0,0
Current State: 90:[87, 3], Operations: ['91-85=6', '6/2=3']
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
83,
92,
26,
70
] | 65 | [
"83+92=175",
"26*175=4550",
"4550/70=65"
] | Current State: 65:[83, 92, 26, 70], Operations: []
Exploring Operation: 83+92=175, Resulting Numbers: [26, 70, 175]
Generated Node #2: [26, 70, 175] from Operation: 83+92=175
Current State: 65:[26, 70, 175], Operations: ['83+92=175']
Exploring Operation: 26*175=4550, Resulting Numbers: [70, 4550]
Generated Node #3: [70, 4550] from Operation: 26*175=4550
Current State: 65:[70, 4550], Operations: ['83+92=175', '26*175=4550']
Exploring Operation: 4550/70=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[83, 92, 26, 70], Operations: []
Exploring Operation: 92-83=9, Resulting Numbers: [26, 70, 9]
Generated Node #0,0: 65:[26, 70, 9] Operation: 92-83=9
Exploring Operation: 83-26=57, Resulting Numbers: [92, 70, 57]
Generated Node #0,1: 65:[92, 70, 57] Operation: 83-26=57
Exploring Operation: 83-70=13, Resulting Numbers: [92, 26, 13]
Generated Node #0,2: 65:[92, 26, 13] Operation: 83-70=13
Exploring Operation: 92-26=66, Resulting Numbers: [83, 70, 66]
Generated Node #0,3: 65:[83, 70, 66] Operation: 92-26=66
Moving to Node #0,0
Current State: 65:[26, 70, 9], Operations: ['92-83=9']
Exploring Operation: 26+9=35, Resulting Numbers: [70, 35]
Generated Node #0,0,0: 65:[70, 35] Operation: 26+9=35
Exploring Operation: 26-9=17, Resulting Numbers: [70, 17]
Generated Node #0,0,1: 65:[70, 17] Operation: 26-9=17
Exploring Operation: 70-26=44, Resulting Numbers: [9, 44]
Generated Node #0,0,2: 65:[9, 44] Operation: 70-26=44
Exploring Operation: 70-9=61, Resulting Numbers: [26, 61]
Generated Node #0,0,3: 65:[26, 61] Operation: 70-9=61
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[70, 17], Operations: ['92-83=9', '26-9=17']
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 70*17=1190, Resulting Numbers: [1190]
1190,65 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: 65:[26, 61], Operations: ['92-83=9', '70-9=61']
Exploring Operation: 26+61=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,65 unequal: No Solution
Exploring Operation: 26*61=1586, Resulting Numbers: [1586]
1586,65 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: 65:[9, 44], Operations: ['92-83=9', '70-26=44']
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 9*44=396, Resulting Numbers: [396]
396,65 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,65 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: 65:[70, 35], Operations: ['92-83=9', '26+9=35']
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,65 unequal: No Solution
Exploring Operation: 70+35=105, Resulting Numbers: [105]
105,65 unequal: No Solution
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 70*35=2450, Resulting Numbers: [2450]
2450,65 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: 65:[83, 70, 66], Operations: ['92-26=66']
Exploring Operation: 70-66=4, Resulting Numbers: [83, 4]
Generated Node #0,3,0: 65:[83, 4] Operation: 70-66=4
Exploring Operation: 83+70=153, Resulting Numbers: [66, 153]
Generated Node #0,3,1: 65:[66, 153] Operation: 83+70=153
Exploring Operation: 83-70=13, Resulting Numbers: [66, 13]
Generated Node #0,3,2: 65:[66, 13] Operation: 83-70=13
Exploring Operation: 83-66=17, Resulting Numbers: [70, 17]
Generated Node #0,3,3: 65:[70, 17] Operation: 83-66=17
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 65:[66, 13], Operations: ['92-26=66', '83-70=13']
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 66*13=858, Resulting Numbers: [858]
858,65 unequal: No Solution
Exploring Operation: 66+13=79, Resulting Numbers: [79]
79,65 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: 65:[70, 17], Operations: ['92-26=66', '83-66=17']
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 70*17=1190, Resulting Numbers: [1190]
1190,65 unequal: No Solution
Exploring Operation: 70+17=87, Resulting Numbers: [87]
87,65 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: 65:[83, 4], Operations: ['92-26=66', '70-66=4']
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Exploring Operation: 83-4=79, Resulting Numbers: [79]
79,65 unequal: No Solution
Exploring Operation: 83*4=332, Resulting Numbers: [332]
332,65 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: 65:[66, 153], Operations: ['92-26=66', '83+70=153']
Exploring Operation: 153-66=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Exploring Operation: 66*153=10098, Resulting Numbers: [10098]
10098,65 unequal: No Solution
Exploring Operation: 66+153=219, Resulting Numbers: [219]
219,65 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: 65:[92, 26, 13], Operations: ['83-70=13']
Exploring Operation: 92-26=66, Resulting Numbers: [13, 66]
Generated Node #0,2,0: 65:[13, 66] Operation: 92-26=66
Exploring Operation: 26/13=2, Resulting Numbers: [92, 2]
Generated Node #0,2,1: 65:[92, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [92, 13]
Generated Node #0,2,2: 65:[92, 13] Operation: 26-13=13
Exploring Operation: 92-13=79, Resulting Numbers: [26, 79]
Generated Node #0,2,3: 65:[26, 79] Operation: 92-13=79
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 65:[13, 66], Operations: ['83-70=13', '92-26=66']
Exploring Operation: 13+66=79, Resulting Numbers: [79]
79,65 unequal: No Solution
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 13*66=858, Resulting Numbers: [858]
858,65 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: 65:[92, 13], Operations: ['83-70=13', '26-13=13']
Exploring Operation: 92*13=1196, Resulting Numbers: [1196]
1196,65 unequal: No Solution
Exploring Operation: 92+13=105, Resulting Numbers: [105]
105,65 unequal: No Solution
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,65 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: 65:[26, 79], Operations: ['83-70=13', '92-13=79']
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 26+79=105, Resulting Numbers: [105]
105,65 unequal: No Solution
Exploring Operation: 26*79=2054, Resulting Numbers: [2054]
2054,65 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: 65:[92, 2], Operations: ['83-70=13', '26/13=2']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 92*2=184, Resulting Numbers: [184]
184,65 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,65 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: 65:[92, 70, 57], Operations: ['83-26=57']
Exploring Operation: 92-57=35, Resulting Numbers: [70, 35]
Generated Node #0,1,0: 65:[70, 35] Operation: 92-57=35
Exploring Operation: 92-70=22, Resulting Numbers: [57, 22]
Generated Node #0,1,1: 65:[57, 22] Operation: 92-70=22
Exploring Operation: 70-57=13, Resulting Numbers: [92, 13]
Generated Node #0,1,2: 65:[92, 13] Operation: 70-57=13
Exploring Operation: 92+57=149, Resulting Numbers: [70, 149]
Generated Node #0,1,3: 65:[70, 149] Operation: 92+57=149
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[57, 22], Operations: ['83-26=57', '92-70=22']
Exploring Operation: 57+22=79, Resulting Numbers: [79]
79,65 unequal: No Solution
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,65 unequal: No Solution
Exploring Operation: 57*22=1254, Resulting Numbers: [1254]
1254,65 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: 65:[70, 35], Operations: ['83-26=57', '92-57=35']
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,65 unequal: No Solution
Exploring Operation: 70*35=2450, Resulting Numbers: [2450]
2450,65 unequal: No Solution
Exploring Operation: 70+35=105, Resulting Numbers: [105]
105,65 unequal: No Solution
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,65 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: 65:[92, 13], Operations: ['83-26=57', '70-57=13']
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,65 unequal: No Solution
Exploring Operation: 92+13=105, Resulting Numbers: [105]
105,65 unequal: No Solution
Exploring Operation: 92*13=1196, Resulting Numbers: [1196]
1196,65 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: 65:[70, 149], Operations: ['83-26=57', '92+57=149']
Exploring Operation: 70*149=10430, Resulting Numbers: [10430]
10430,65 unequal: No Solution
Exploring Operation: 70+149=219, Resulting Numbers: [219]
219,65 unequal: No Solution
Exploring Operation: 149-70=79, Resulting Numbers: [79]
79,65 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 |
[
73,
90,
59,
81
] | 39 | [
"90-73=17",
"81-59=22",
"17+22=39"
] | Current State: 39:[73, 90, 59, 81], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [59, 81, 17]
Generated Node #2: [59, 81, 17] from Operation: 90-73=17
Current State: 39:[59, 81, 17], Operations: ['90-73=17']
Exploring Operation: 81-59=22, Resulting Numbers: [17, 22]
Generated Node #3: [17, 22] from Operation: 81-59=22
Current State: 39:[17, 22], Operations: ['90-73=17', '81-59=22']
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[73, 90, 59, 81], Operations: []
Exploring Operation: 90-81=9, Resulting Numbers: [73, 59, 9]
Generated Node #0,0: 39:[73, 59, 9] Operation: 90-81=9
Exploring Operation: 90-73=17, Resulting Numbers: [59, 81, 17]
Generated Node #0,1: 39:[59, 81, 17] Operation: 90-73=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[73, 59, 9], Operations: ['90-81=9']
Exploring Operation: 73-59=14, Resulting Numbers: [9, 14]
Generated Node #0,0,0: 39:[9, 14] Operation: 73-59=14
Exploring Operation: 73-9=64, Resulting Numbers: [59, 64]
Generated Node #0,0,1: 39:[59, 64] Operation: 73-9=64
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[9, 14], Operations: ['90-81=9', '73-59=14']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,39 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: 39:[59, 64], Operations: ['90-81=9', '73-9=64']
Exploring Operation: 64-59=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 59+64=123, Resulting Numbers: [123]
123,39 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: 39:[59, 81, 17], Operations: ['90-73=17']
Exploring Operation: 81-59=22, Resulting Numbers: [17, 22]
Generated Node #0,1,0: 39:[17, 22] Operation: 81-59=22
Exploring Operation: 59-17=42, Resulting Numbers: [81, 42]
Generated Node #0,1,1: 39:[81, 42] Operation: 59-17=42
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[17, 22], Operations: ['90-73=17', '81-59=22']
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[73, 90, 59, 81], Operations: []
Exploring Operation: 90-73=17, Resulting Numbers: [59, 81, 17]
Generated Node #0,1: 39:[59, 81, 17] Operation: 90-73=17
Moving to Node #0,1
Current State: 39:[59, 81, 17], Operations: ['90-73=17']
Exploring Operation: 81-59=22, Resulting Numbers: [17, 22]
Generated Node #0,1,0: 39:[17, 22] Operation: 81-59=22
Moving to Node #0,1,0
Current State: 39:[17, 22], Operations: ['90-73=17', '81-59=22']
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
79,
31,
4,
32
] | 40 | [
"79-31=48",
"32/4=8",
"48-8=40"
] | Current State: 40:[79, 31, 4, 32], Operations: []
Exploring Operation: 79-31=48, Resulting Numbers: [4, 32, 48]
Generated Node #2: [4, 32, 48] from Operation: 79-31=48
Current State: 40:[4, 32, 48], Operations: ['79-31=48']
Exploring Operation: 32/4=8, Resulting Numbers: [48, 8]
Generated Node #3: [48, 8] from Operation: 32/4=8
Current State: 40:[48, 8], Operations: ['79-31=48', '32/4=8']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[79, 31, 4, 32], Operations: []
Exploring Operation: 32/4=8, Resulting Numbers: [79, 31, 8]
Generated Node #0,0: 40:[79, 31, 8] Operation: 32/4=8
Exploring Operation: 32-31=1, Resulting Numbers: [79, 4, 1]
Generated Node #0,1: 40:[79, 4, 1] Operation: 32-31=1
Exploring Operation: 79-31=48, Resulting Numbers: [4, 32, 48]
Generated Node #0,2: 40:[4, 32, 48] Operation: 79-31=48
Exploring Operation: 79-4=75, Resulting Numbers: [31, 32, 75]
Generated Node #0,3: 40:[31, 32, 75] Operation: 79-4=75
Exploring Operation: 79-32=47, Resulting Numbers: [31, 4, 47]
Generated Node #0,4: 40:[31, 4, 47] Operation: 79-32=47
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[4, 32, 48], Operations: ['79-31=48']
Exploring Operation: 48-32=16, Resulting Numbers: [4, 16]
Generated Node #0,2,0: 40:[4, 16] Operation: 48-32=16
Exploring Operation: 4+32=36, Resulting Numbers: [48, 36]
Generated Node #0,2,1: 40:[48, 36] Operation: 4+32=36
Exploring Operation: 48-4=44, Resulting Numbers: [32, 44]
Generated Node #0,2,2: 40:[32, 44] Operation: 48-4=44
Exploring Operation: 32/4=8, Resulting Numbers: [48, 8]
Generated Node #0,2,3: 40:[48, 8] Operation: 32/4=8
Exploring Operation: 48/4=12, Resulting Numbers: [32, 12]
Generated Node #0,2,4: 40:[32, 12] Operation: 48/4=12
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 40:[4, 16], Operations: ['79-31=48', '48-32=16']
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,40 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,40 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: 40:[48, 8], Operations: ['79-31=48', '32/4=8']
Exploring Operation: 48+8=56, Resulting Numbers: [56]
56,40 unequal: No Solution
Exploring Operation: 48*8=384, Resulting Numbers: [384]
384,40 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[79, 31, 4, 32], Operations: []
Exploring Operation: 79-31=48, Resulting Numbers: [4, 32, 48]
Generated Node #0,2: 40:[4, 32, 48] Operation: 79-31=48
Moving to Node #0,2
Current State: 40:[4, 32, 48], Operations: ['79-31=48']
Exploring Operation: 32/4=8, Resulting Numbers: [48, 8]
Generated Node #0,2,3: 40:[48, 8] Operation: 32/4=8
Moving to Node #0,2,3
Current State: 40:[48, 8], Operations: ['79-31=48', '32/4=8']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
28,
64,
77,
59
] | 44 | [
"28+64=92",
"77+59=136",
"136-92=44"
] | Current State: 44:[28, 64, 77, 59], Operations: []
Exploring Operation: 28+64=92, Resulting Numbers: [77, 59, 92]
Generated Node #2: [77, 59, 92] from Operation: 28+64=92
Current State: 44:[77, 59, 92], Operations: ['28+64=92']
Exploring Operation: 77+59=136, Resulting Numbers: [92, 136]
Generated Node #3: [92, 136] from Operation: 77+59=136
Current State: 44:[92, 136], Operations: ['28+64=92', '77+59=136']
Exploring Operation: 136-92=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[28, 64, 77, 59], Operations: []
Exploring Operation: 77-64=13, Resulting Numbers: [28, 59, 13]
Generated Node #0,0: 44:[28, 59, 13] Operation: 77-64=13
Moving to Node #0,0
Current State: 44:[28, 59, 13], Operations: ['77-64=13']
Exploring Operation: 59-13=46, Resulting Numbers: [28, 46]
Generated Node #0,0,0: 44:[28, 46] Operation: 59-13=46
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[28, 46], Operations: ['77-64=13', '59-13=46']
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
30,
6,
14,
73
] | 19 | [
"30+73=103",
"6*14=84",
"103-84=19"
] | Current State: 19:[30, 6, 14, 73], Operations: []
Exploring Operation: 30+73=103, Resulting Numbers: [6, 14, 103]
Generated Node #2: [6, 14, 103] from Operation: 30+73=103
Current State: 19:[6, 14, 103], Operations: ['30+73=103']
Exploring Operation: 6*14=84, Resulting Numbers: [103, 84]
Generated Node #3: [103, 84] from Operation: 6*14=84
Current State: 19:[103, 84], Operations: ['30+73=103', '6*14=84']
Exploring Operation: 103-84=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[30, 6, 14, 73], Operations: []
Exploring Operation: 73-14=59, Resulting Numbers: [30, 6, 59]
Generated Node #0,0: 19:[30, 6, 59] Operation: 73-14=59
Exploring Operation: 6+14=20, Resulting Numbers: [30, 73, 20]
Generated Node #0,1: 19:[30, 73, 20] Operation: 6+14=20
Exploring Operation: 30-6=24, Resulting Numbers: [14, 73, 24]
Generated Node #0,2: 19:[14, 73, 24] Operation: 30-6=24
Exploring Operation: 73-30=43, Resulting Numbers: [6, 14, 43]
Generated Node #0,3: 19:[6, 14, 43] Operation: 73-30=43
Exploring Operation: 73-6=67, Resulting Numbers: [30, 14, 67]
Generated Node #0,4: 19:[30, 14, 67] Operation: 73-6=67
Moving to Node #0,3
Current State: 19:[6, 14, 43], Operations: ['73-30=43']
Exploring Operation: 6+14=20, Resulting Numbers: [43, 20]
Generated Node #0,3,0: 19:[43, 20] Operation: 6+14=20
Exploring Operation: 14-6=8, Resulting Numbers: [43, 8]
Generated Node #0,3,1: 19:[43, 8] Operation: 14-6=8
Exploring Operation: 43-6=37, Resulting Numbers: [14, 37]
Generated Node #0,3,2: 19:[14, 37] Operation: 43-6=37
Exploring Operation: 43-14=29, Resulting Numbers: [6, 29]
Generated Node #0,3,3: 19:[6, 29] Operation: 43-14=29
Exploring Operation: 6+43=49, Resulting Numbers: [14, 49]
Generated Node #0,3,4: 19:[14, 49] Operation: 6+43=49
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 19:[14, 37], Operations: ['73-30=43', '43-6=37']
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 14*37=518, Resulting Numbers: [518]
518,19 unequal: No Solution
Exploring Operation: 14+37=51, Resulting Numbers: [51]
51,19 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: 19:[6, 29], Operations: ['73-30=43', '43-14=29']
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,19 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,19 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: 19:[43, 20], Operations: ['73-30=43', '6+14=20']
Exploring Operation: 43*20=860, Resulting Numbers: [860]
860,19 unequal: No Solution
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,19 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: 19:[43, 8], Operations: ['73-30=43', '14-6=8']
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 43*8=344, Resulting Numbers: [344]
344,19 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: 19:[14, 49], Operations: ['73-30=43', '6+43=49']
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,19 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 14*49=686, Resulting Numbers: [686]
686,19 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: 19:[14, 73, 24], Operations: ['30-6=24']
Exploring Operation: 14+73=87, Resulting Numbers: [24, 87]
Generated Node #0,2,0: 19:[24, 87] Operation: 14+73=87
Exploring Operation: 73-14=59, Resulting Numbers: [24, 59]
Generated Node #0,2,1: 19:[24, 59] Operation: 73-14=59
Exploring Operation: 73-24=49, Resulting Numbers: [14, 49]
Generated Node #0,2,2: 19:[14, 49] Operation: 73-24=49
Exploring Operation: 14+24=38, Resulting Numbers: [73, 38]
Generated Node #0,2,3: 19:[73, 38] Operation: 14+24=38
Exploring Operation: 24-14=10, Resulting Numbers: [73, 10]
Generated Node #0,2,4: 19:[73, 10] Operation: 24-14=10
Moving to Node #0,0
Current State: 19:[30, 6, 59], Operations: ['73-14=59']
Exploring Operation: 30/6=5, Resulting Numbers: [59, 5]
Generated Node #0,0,0: 19:[59, 5] Operation: 30/6=5
Exploring Operation: 59-30=29, Resulting Numbers: [6, 29]
Generated Node #0,0,1: 19:[6, 29] Operation: 59-30=29
Exploring Operation: 30+6=36, Resulting Numbers: [59, 36]
Generated Node #0,0,2: 19:[59, 36] Operation: 30+6=36
Exploring Operation: 59-6=53, Resulting Numbers: [30, 53]
Generated Node #0,0,3: 19:[30, 53] Operation: 59-6=53
Exploring Operation: 30-6=24, Resulting Numbers: [59, 24]
Generated Node #0,0,4: 19:[59, 24] Operation: 30-6=24
Moving to Node #0,4
Current State: 19:[30, 14, 67], Operations: ['73-6=67']
Exploring Operation: 14+67=81, Resulting Numbers: [30, 81]
Generated Node #0,4,0: 19:[30, 81] Operation: 14+67=81
Exploring Operation: 30+14=44, Resulting Numbers: [67, 44]
Generated Node #0,4,1: 19:[67, 44] Operation: 30+14=44
Exploring Operation: 67-30=37, Resulting Numbers: [14, 37]
Generated Node #0,4,2: 19:[14, 37] Operation: 67-30=37
Exploring Operation: 30-14=16, Resulting Numbers: [67, 16]
Generated Node #0,4,3: 19:[67, 16] Operation: 30-14=16
Exploring Operation: 67-14=53, Resulting Numbers: [30, 53]
Generated Node #0,4,4: 19:[30, 53] Operation: 67-14=53
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 19:[14, 37], Operations: ['73-6=67', '67-30=37']
Exploring Operation: 14+37=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 14*37=518, Resulting Numbers: [518]
518,19 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,19 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: 19:[30, 53], Operations: ['73-6=67', '67-14=53']
Exploring Operation: 30+53=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Exploring Operation: 30*53=1590, Resulting Numbers: [1590]
1590,19 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,19 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: 19:[67, 16], Operations: ['73-6=67', '30-14=16']
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 67*16=1072, Resulting Numbers: [1072]
1072,19 unequal: No Solution
Exploring Operation: 67+16=83, Resulting Numbers: [83]
83,19 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: 19:[30, 81], Operations: ['73-6=67', '14+67=81']
Exploring Operation: 30*81=2430, Resulting Numbers: [2430]
2430,19 unequal: No Solution
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,19 unequal: No Solution
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,19 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: 19:[67, 44], Operations: ['73-6=67', '30+14=44']
Exploring Operation: 67*44=2948, Resulting Numbers: [2948]
2948,19 unequal: No Solution
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 67+44=111, Resulting Numbers: [111]
111,19 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: 19:[30, 73, 20], Operations: ['6+14=20']
Exploring Operation: 30+73=103, Resulting Numbers: [20, 103]
Generated Node #0,1,0: 19:[20, 103] Operation: 30+73=103
Exploring Operation: 30+20=50, Resulting Numbers: [73, 50]
Generated Node #0,1,1: 19:[73, 50] Operation: 30+20=50
Exploring Operation: 30-20=10, Resulting Numbers: [73, 10]
Generated Node #0,1,2: 19:[73, 10] Operation: 30-20=10
Exploring Operation: 73-20=53, Resulting Numbers: [30, 53]
Generated Node #0,1,3: 19:[30, 53] Operation: 73-20=53
Exploring Operation: 73-30=43, Resulting Numbers: [20, 43]
Generated Node #0,1,4: 19:[20, 43] Operation: 73-30=43
Moving to Node #0,0,1
Current State: 19:[6, 29], Operations: ['73-14=59', '59-30=29']
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,19 unequal: No Solution
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Moving to Node #0,1,4
Current State: 19:[20, 43], Operations: ['6+14=20', '73-30=43']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 20*43=860, Resulting Numbers: [860]
860,19 unequal: No Solution
Exploring Operation: 20+43=63, Resulting Numbers: [63]
63,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[14, 49], Operations: ['30-6=24', '73-24=49']
Exploring Operation: 14*49=686, Resulting Numbers: [686]
686,19 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[30, 53], Operations: ['73-14=59', '59-6=53']
Exploring Operation: 30+53=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Exploring Operation: 30*53=1590, Resulting Numbers: [1590]
1590,19 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[30, 53], Operations: ['6+14=20', '73-20=53']
Exploring Operation: 30+53=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Exploring Operation: 30*53=1590, Resulting Numbers: [1590]
1590,19 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[24, 59], Operations: ['30-6=24', '73-14=59']
Exploring Operation: 24*59=1416, Resulting Numbers: [1416]
1416,19 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 24+59=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Moving to Node #0,0,4
Current State: 19:[59, 24], Operations: ['73-14=59', '30-6=24']
Exploring Operation: 59*24=1416, Resulting Numbers: [1416]
1416,19 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Exploring Operation: 59+24=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[59, 5], Operations: ['73-14=59', '30/6=5']
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 59*5=295, Resulting Numbers: [295]
295,19 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[59, 36], Operations: ['73-14=59', '30+6=36']
Exploring Operation: 59+36=95, Resulting Numbers: [95]
95,19 unequal: No Solution
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 59*36=2124, Resulting Numbers: [2124]
2124,19 unequal: No Solution
Moving to Node #0,2,4
Current State: 19:[73, 10], Operations: ['30-6=24', '24-14=10']
Exploring Operation: 73+10=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,19 unequal: No Solution
Exploring Operation: 73*10=730, Resulting Numbers: [730]
730,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[73, 10], Operations: ['6+14=20', '30-20=10']
Exploring Operation: 73*10=730, Resulting Numbers: [730]
730,19 unequal: No Solution
Exploring Operation: 73+10=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[24, 87], Operations: ['30-6=24', '14+73=87']
Exploring Operation: 24*87=2088, Resulting Numbers: [2088]
2088,19 unequal: No Solution
Exploring Operation: 24+87=111, Resulting Numbers: [111]
111,19 unequal: No Solution
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[73, 38], Operations: ['30-6=24', '14+24=38']
Exploring Operation: 73*38=2774, Resulting Numbers: [2774]
2774,19 unequal: No Solution
Exploring Operation: 73+38=111, Resulting Numbers: [111]
111,19 unequal: No Solution
Exploring Operation: 73-38=35, Resulting Numbers: [35]
35,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[73, 50], Operations: ['6+14=20', '30+20=50']
Exploring Operation: 73+50=123, Resulting Numbers: [123]
123,19 unequal: No Solution
Exploring Operation: 73*50=3650, Resulting Numbers: [3650]
3650,19 unequal: No Solution
Exploring Operation: 73-50=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[20, 103], Operations: ['6+14=20', '30+73=103']
Exploring Operation: 103-20=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Exploring Operation: 20*103=2060, Resulting Numbers: [2060]
2060,19 unequal: No Solution
Exploring Operation: 20+103=123, Resulting Numbers: [123]
123,19 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
24,
50,
13,
7
] | 17 | [
"24+50=74",
"13*7=91",
"91-74=17"
] | Current State: 17:[24, 50, 13, 7], Operations: []
Exploring Operation: 24+50=74, Resulting Numbers: [13, 7, 74]
Generated Node #2: [13, 7, 74] from Operation: 24+50=74
Current State: 17:[13, 7, 74], Operations: ['24+50=74']
Exploring Operation: 13*7=91, Resulting Numbers: [74, 91]
Generated Node #3: [74, 91] from Operation: 13*7=91
Current State: 17:[74, 91], Operations: ['24+50=74', '13*7=91']
Exploring Operation: 91-74=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[24, 50, 13, 7], Operations: []
Exploring Operation: 50-7=43, Resulting Numbers: [24, 13, 43]
Generated Node #0,0: 17:[24, 13, 43] Operation: 50-7=43
Exploring Operation: 50-24=26, Resulting Numbers: [13, 7, 26]
Generated Node #0,1: 17:[13, 7, 26] Operation: 50-24=26
Exploring Operation: 24-7=17, Resulting Numbers: [50, 13, 17]
Generated Node #0,2: 17:[50, 13, 17] Operation: 24-7=17
Exploring Operation: 50-13=37, Resulting Numbers: [24, 7, 37]
Generated Node #0,3: 17:[24, 7, 37] Operation: 50-13=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[13, 7, 26], Operations: ['50-24=26']
Exploring Operation: 26-13=13, Resulting Numbers: [7, 13]
Generated Node #0,1,0: 17:[7, 13] Operation: 26-13=13
Exploring Operation: 13-7=6, Resulting Numbers: [26, 6]
Generated Node #0,1,1: 17:[26, 6] Operation: 13-7=6
Exploring Operation: 13+7=20, Resulting Numbers: [26, 20]
Generated Node #0,1,2: 17:[26, 20] Operation: 13+7=20
Exploring Operation: 26-7=19, Resulting Numbers: [13, 19]
Generated Node #0,1,3: 17:[13, 19] Operation: 26-7=19
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 17:[13, 19], Operations: ['50-24=26', '26-7=19']
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,17 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: 17:[26, 20], Operations: ['50-24=26', '13+7=20']
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,17 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,17 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,17 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: 17:[7, 13], Operations: ['50-24=26', '26-13=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,17 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: 17:[26, 6], Operations: ['50-24=26', '13-7=6']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,17 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: 17:[24, 13, 43], Operations: ['50-7=43']
Exploring Operation: 43-13=30, Resulting Numbers: [24, 30]
Generated Node #0,0,0: 17:[24, 30] Operation: 43-13=30
Exploring Operation: 24+13=37, Resulting Numbers: [43, 37]
Generated Node #0,0,1: 17:[43, 37] Operation: 24+13=37
Exploring Operation: 24-13=11, Resulting Numbers: [43, 11]
Generated Node #0,0,2: 17:[43, 11] Operation: 24-13=11
Exploring Operation: 43-24=19, Resulting Numbers: [13, 19]
Generated Node #0,0,3: 17:[13, 19] Operation: 43-24=19
Moving to Node #0,0,3
Current State: 17:[13, 19], Operations: ['50-7=43', '43-24=19']
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,17 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[24, 30], Operations: ['50-7=43', '43-13=30']
Exploring Operation: 24*30=720, Resulting Numbers: [720]
720,17 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 24+30=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[43, 11], Operations: ['50-7=43', '24-13=11']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 43*11=473, Resulting Numbers: [473]
473,17 unequal: No Solution
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[43, 37], Operations: ['50-7=43', '24+13=37']
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 43*37=1591, Resulting Numbers: [1591]
1591,17 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,17 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: 17:[50, 13, 17], Operations: ['24-7=17']
Exploring Operation: 50-13=37, Resulting Numbers: [17, 37]
Generated Node #0,2,0: 17:[17, 37] Operation: 50-13=37
Exploring Operation: 50-17=33, Resulting Numbers: [13, 33]
Generated Node #0,2,1: 17:[13, 33] Operation: 50-17=33
Exploring Operation: 13+17=30, Resulting Numbers: [50, 30]
Generated Node #0,2,2: 17:[50, 30] Operation: 13+17=30
Exploring Operation: 50+13=63, Resulting Numbers: [17, 63]
Generated Node #0,2,3: 17:[17, 63] Operation: 50+13=63
Moving to Node #0,2,0
Current State: 17:[17, 37], Operations: ['24-7=17', '50-13=37']
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,17 unequal: No Solution
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[13, 33], Operations: ['24-7=17', '50-17=33']
Exploring Operation: 13+33=46, Resulting Numbers: [46]
46,17 unequal: No Solution
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 13*33=429, Resulting Numbers: [429]
429,17 unequal: No Solution
Moving to Node #0,2,3
Current State: 17:[17, 63], Operations: ['24-7=17', '50+13=63']
Exploring Operation: 17*63=1071, Resulting Numbers: [1071]
1071,17 unequal: No Solution
Exploring Operation: 17+63=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[50, 30], Operations: ['24-7=17', '13+17=30']
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,17 unequal: No Solution
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,17 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: 17:[24, 7, 37], Operations: ['50-13=37']
Exploring Operation: 37-7=30, Resulting Numbers: [24, 30]
Generated Node #0,3,0: 17:[24, 30] Operation: 37-7=30
Exploring Operation: 24-7=17, Resulting Numbers: [37, 17]
Generated Node #0,3,1: 17:[37, 17] Operation: 24-7=17
Exploring Operation: 37-24=13, Resulting Numbers: [7, 13]
Generated Node #0,3,2: 17:[7, 13] Operation: 37-24=13
Exploring Operation: 24+7=31, Resulting Numbers: [37, 31]
Generated Node #0,3,3: 17:[37, 31] Operation: 24+7=31
Moving to Node #0,3,2
Current State: 17:[7, 13], Operations: ['50-13=37', '37-24=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,17 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Moving to Node #0,3,1
Current State: 17:[37, 17], Operations: ['50-13=37', '24-7=17']
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,17 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Moving to Node #0,3,0
Current State: 17:[24, 30], Operations: ['50-13=37', '37-7=30']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 24*30=720, Resulting Numbers: [720]
720,17 unequal: No Solution
Exploring Operation: 24+30=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Moving to Node #0,3,3
Current State: 17:[37, 31], Operations: ['50-13=37', '24+7=31']
Exploring Operation: 37*31=1147, Resulting Numbers: [1147]
1147,17 unequal: No Solution
Exploring Operation: 37+31=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
63,
45,
18,
99
] | 99 | [
"63-45=18",
"18+99=117",
"117-18=99"
] | Current State: 99:[63, 45, 18, 99], Operations: []
Exploring Operation: 63-45=18, Resulting Numbers: [18, 99, 18]
Generated Node #2: [18, 99, 18] from Operation: 63-45=18
Current State: 99:[18, 99, 18], Operations: ['63-45=18']
Exploring Operation: 18+99=117, Resulting Numbers: [117]
117,99 equal: Goal Reached
Exploring Operation: 117-18=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[63, 45, 18, 99], Operations: []
Exploring Operation: 63-45=18, Resulting Numbers: [18, 99, 18]
Generated Node #0,0: 99:[18, 99, 18] Operation: 63-45=18
Moving to Node #0,0
Current State: 99:[18, 99, 18], Operations: ['63-45=18']
Exploring Operation: 18/18=1, Resulting Numbers: [99, 1]
Generated Node #0,0,0: 99:[99, 1] Operation: 18/18=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[99, 1], Operations: ['63-45=18', '18/18=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[63, 45, 18, 99], Operations: []
Exploring Operation: 63-45=18, Resulting Numbers: [18, 99, 18]
Generated Node #0,0: 99:[18, 99, 18] Operation: 63-45=18
Moving to Node #0,0
Current State: 99:[18, 99, 18], Operations: ['63-45=18']
Exploring Operation: 18/18=1, Resulting Numbers: [99, 1]
Generated Node #0,0,0: 99:[99, 1] Operation: 18/18=1
Moving to Node #0,0,0
Current State: 99:[99, 1], Operations: ['63-45=18', '18/18=1']
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
2,
7,
2,
8
] | 35 | [
"2+8=10",
"7*10=70",
"70/2=35"
] | Current State: 35:[2, 7, 2, 8], Operations: []
Exploring Operation: 2+8=10, Resulting Numbers: [7, 10]
Generated Node #2: [7, 10] from Operation: 2+8=10
Current State: 35:[7, 10], Operations: ['2+8=10']
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,35 equal: Goal Reached
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[2, 7, 2, 8], Operations: []
Exploring Operation: 2+2=4, Resulting Numbers: [7, 8, 4]
Generated Node #0,0: 35:[7, 8, 4] Operation: 2+2=4
Exploring Operation: 2*2=4, Resulting Numbers: [7, 8, 4]
Generated Node #0,1: 35:[7, 8, 4] Operation: 2*2=4
Exploring Operation: 7-2=5, Resulting Numbers: [2, 8, 5]
Generated Node #0,2: 35:[2, 8, 5] Operation: 7-2=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[7, 8, 4], Operations: ['2+2=4']
Exploring Operation: 7-4=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 35:[8, 3] Operation: 7-4=3
Exploring Operation: 8-4=4, Resulting Numbers: [7, 4]
Generated Node #0,0,1: 35:[7, 4] Operation: 8-4=4
Exploring Operation: 8*4=32, Resulting Numbers: [7, 32]
Generated Node #0,0,2: 35:[7, 32] Operation: 8*4=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[7, 4], Operations: ['2+2=4', '8-4=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,35 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: 35:[8, 3], Operations: ['2+2=4', '7-4=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,35 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: 35:[7, 32], Operations: ['2+2=4', '8*4=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,35 unequal: No Solution
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,35 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: 35:[7, 8, 4], Operations: ['2*2=4']
Exploring Operation: 8-4=4, Resulting Numbers: [7, 4]
Generated Node #0,1,0: 35:[7, 4] Operation: 8-4=4
Exploring Operation: 8*4=32, Resulting Numbers: [7, 32]
Generated Node #0,1,1: 35:[7, 32] Operation: 8*4=32
Exploring Operation: 7-4=3, Resulting Numbers: [8, 3]
Generated Node #0,1,2: 35:[8, 3] Operation: 7-4=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 35:[7, 4], Operations: ['2*2=4', '8-4=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,35 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: 35:[7, 32], Operations: ['2*2=4', '8*4=32']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,35 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,35 unequal: No Solution
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,35 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: 35:[8, 3], Operations: ['2*2=4', '7-4=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,35 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: 35:[2, 8, 5], Operations: ['7-2=5']
Exploring Operation: 8/2=4, Resulting Numbers: [5, 4]
Generated Node #0,2,0: 35:[5, 4] Operation: 8/2=4
Exploring Operation: 2+5=7, Resulting Numbers: [8, 7]
Generated Node #0,2,1: 35:[8, 7] Operation: 2+5=7
Exploring Operation: 8-2=6, Resulting Numbers: [5, 6]
Generated Node #0,2,2: 35:[5, 6] Operation: 8-2=6
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 35:[5, 4], Operations: ['7-2=5', '8/2=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,35 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: 35:[8, 7], Operations: ['7-2=5', '2+5=7']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,35 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: 35:[5, 6], Operations: ['7-2=5', '8-2=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,35 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 | mult_heuristic |
[
45,
54,
80,
73
] | 23 | [
"54*80=4320",
"4320/45=96",
"96-73=23"
] | Current State: 23:[45, 54, 80, 73], Operations: []
Exploring Operation: 54*80=4320, Resulting Numbers: [45, 73, 4320]
Generated Node #2: [45, 73, 4320] from Operation: 54*80=4320
Current State: 23:[45, 73, 4320], Operations: ['54*80=4320']
Exploring Operation: 4320/45=96, Resulting Numbers: [73, 96]
Generated Node #3: [73, 96] from Operation: 4320/45=96
Current State: 23:[73, 96], Operations: ['54*80=4320', '4320/45=96']
Exploring Operation: 96-73=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[45, 54, 80, 73], Operations: []
Exploring Operation: 80-54=26, Resulting Numbers: [45, 73, 26]
Generated Node #0,0: 23:[45, 73, 26] Operation: 80-54=26
Exploring Operation: 73-54=19, Resulting Numbers: [45, 80, 19]
Generated Node #0,1: 23:[45, 80, 19] Operation: 73-54=19
Exploring Operation: 80-73=7, Resulting Numbers: [45, 54, 7]
Generated Node #0,2: 23:[45, 54, 7] Operation: 80-73=7
Exploring Operation: 80-45=35, Resulting Numbers: [54, 73, 35]
Generated Node #0,3: 23:[54, 73, 35] Operation: 80-45=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[45, 54, 7], Operations: ['80-73=7']
Exploring Operation: 54-7=47, Resulting Numbers: [45, 47]
Generated Node #0,2,0: 23:[45, 47] Operation: 54-7=47
Exploring Operation: 54-45=9, Resulting Numbers: [7, 9]
Generated Node #0,2,1: 23:[7, 9] Operation: 54-45=9
Exploring Operation: 45+7=52, Resulting Numbers: [54, 52]
Generated Node #0,2,2: 23:[54, 52] Operation: 45+7=52
Exploring Operation: 45-7=38, Resulting Numbers: [54, 38]
Generated Node #0,2,3: 23:[54, 38] Operation: 45-7=38
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 23:[7, 9], Operations: ['80-73=7', '54-45=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,23 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: 23:[45, 47], Operations: ['80-73=7', '54-7=47']
Exploring Operation: 45*47=2115, Resulting Numbers: [2115]
2115,23 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,23 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: 23:[54, 38], Operations: ['80-73=7', '45-7=38']
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,23 unequal: No Solution
Exploring Operation: 54*38=2052, Resulting Numbers: [2052]
2052,23 unequal: No Solution
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,23 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: 23:[54, 52], Operations: ['80-73=7', '45+7=52']
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 54*52=2808, Resulting Numbers: [2808]
2808,23 unequal: No Solution
Exploring Operation: 54+52=106, Resulting Numbers: [106]
106,23 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: 23:[45, 73, 26], Operations: ['80-54=26']
Exploring Operation: 45+73=118, Resulting Numbers: [26, 118]
Generated Node #0,0,0: 23:[26, 118] Operation: 45+73=118
Exploring Operation: 45-26=19, Resulting Numbers: [73, 19]
Generated Node #0,0,1: 23:[73, 19] Operation: 45-26=19
Exploring Operation: 73-45=28, Resulting Numbers: [26, 28]
Generated Node #0,0,2: 23:[26, 28] Operation: 73-45=28
Exploring Operation: 73-26=47, Resulting Numbers: [45, 47]
Generated Node #0,0,3: 23:[45, 47] Operation: 73-26=47
Moving to Node #0,0,2
Current State: 23:[26, 28], Operations: ['80-54=26', '73-45=28']
Exploring Operation: 26*28=728, Resulting Numbers: [728]
728,23 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[45, 47], Operations: ['80-54=26', '73-26=47']
Exploring Operation: 45*47=2115, Resulting Numbers: [2115]
2115,23 unequal: No Solution
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,23 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[73, 19], Operations: ['80-54=26', '45-26=19']
Exploring Operation: 73*19=1387, Resulting Numbers: [1387]
1387,23 unequal: No Solution
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 73+19=92, Resulting Numbers: [92]
92,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[26, 118], Operations: ['80-54=26', '45+73=118']
Exploring Operation: 26*118=3068, Resulting Numbers: [3068]
3068,23 unequal: No Solution
Exploring Operation: 26+118=144, Resulting Numbers: [144]
144,23 unequal: No Solution
Exploring Operation: 118-26=92, Resulting Numbers: [92]
92,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[45, 80, 19], Operations: ['73-54=19']
Exploring Operation: 45+19=64, Resulting Numbers: [80, 64]
Generated Node #0,1,0: 23:[80, 64] Operation: 45+19=64
Exploring Operation: 45-19=26, Resulting Numbers: [80, 26]
Generated Node #0,1,1: 23:[80, 26] Operation: 45-19=26
Exploring Operation: 80-45=35, Resulting Numbers: [19, 35]
Generated Node #0,1,2: 23:[19, 35] Operation: 80-45=35
Exploring Operation: 80-19=61, Resulting Numbers: [45, 61]
Generated Node #0,1,3: 23:[45, 61] Operation: 80-19=61
Moving to Node #0,1,2
Current State: 23:[19, 35], Operations: ['73-54=19', '80-45=35']
Exploring Operation: 19+35=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 19*35=665, Resulting Numbers: [665]
665,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[45, 61], Operations: ['73-54=19', '80-19=61']
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 45+61=106, Resulting Numbers: [106]
106,23 unequal: No Solution
Exploring Operation: 45*61=2745, Resulting Numbers: [2745]
2745,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[80, 26], Operations: ['73-54=19', '45-19=26']
Exploring Operation: 80*26=2080, Resulting Numbers: [2080]
2080,23 unequal: No Solution
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 80+26=106, Resulting Numbers: [106]
106,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[80, 64], Operations: ['73-54=19', '45+19=64']
Exploring Operation: 80+64=144, Resulting Numbers: [144]
144,23 unequal: No Solution
Exploring Operation: 80*64=5120, Resulting Numbers: [5120]
5120,23 unequal: No Solution
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[54, 73, 35], Operations: ['80-45=35']
Exploring Operation: 54+73=127, Resulting Numbers: [35, 127]
Generated Node #0,3,0: 23:[35, 127] Operation: 54+73=127
Exploring Operation: 73-54=19, Resulting Numbers: [35, 19]
Generated Node #0,3,1: 23:[35, 19] Operation: 73-54=19
Exploring Operation: 73-35=38, Resulting Numbers: [54, 38]
Generated Node #0,3,2: 23:[54, 38] Operation: 73-35=38
Exploring Operation: 54-35=19, Resulting Numbers: [73, 19]
Generated Node #0,3,3: 23:[73, 19] Operation: 54-35=19
Moving to Node #0,3,1
Current State: 23:[35, 19], Operations: ['80-45=35', '73-54=19']
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,23 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[54, 38], Operations: ['80-45=35', '73-35=38']
Exploring Operation: 54*38=2052, Resulting Numbers: [2052]
2052,23 unequal: No Solution
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[73, 19], Operations: ['80-45=35', '54-35=19']
Exploring Operation: 73*19=1387, Resulting Numbers: [1387]
1387,23 unequal: No Solution
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 73+19=92, Resulting Numbers: [92]
92,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[35, 127], Operations: ['80-45=35', '54+73=127']
Exploring Operation: 127-35=92, Resulting Numbers: [92]
92,23 unequal: No Solution
Exploring Operation: 35*127=4445, Resulting Numbers: [4445]
4445,23 unequal: No Solution
Exploring Operation: 35+127=162, Resulting Numbers: [162]
162,23 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 |
[
21,
23,
43,
61
] | 16 | [
"23-21=2",
"61-43=18",
"18-2=16"
] | Current State: 16:[21, 23, 43, 61], Operations: []
Exploring Operation: 23-21=2, Resulting Numbers: [43, 61, 2]
Generated Node #2: [43, 61, 2] from Operation: 23-21=2
Current State: 16:[43, 61, 2], Operations: ['23-21=2']
Exploring Operation: 61-43=18, Resulting Numbers: [2, 18]
Generated Node #3: [2, 18] from Operation: 61-43=18
Current State: 16:[2, 18], Operations: ['23-21=2', '61-43=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[21, 23, 43, 61], Operations: []
Exploring Operation: 61-43=18, Resulting Numbers: [21, 23, 18]
Generated Node #0,0: 16:[21, 23, 18] Operation: 61-43=18
Moving to Node #0,0
Current State: 16:[21, 23, 18], Operations: ['61-43=18']
Exploring Operation: 23-21=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 16:[18, 2] Operation: 23-21=2
Moving to Node #0,0,0
Current State: 16:[18, 2], Operations: ['61-43=18', '23-21=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[21, 23, 43, 61], Operations: []
Exploring Operation: 61-43=18, Resulting Numbers: [21, 23, 18]
Generated Node #0,0: 16:[21, 23, 18] Operation: 61-43=18
Moving to Node #0,0
Current State: 16:[21, 23, 18], Operations: ['61-43=18']
Exploring Operation: 23-21=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 16:[18, 2] Operation: 23-21=2
Moving to Node #0,0,0
Current State: 16:[18, 2], Operations: ['61-43=18', '23-21=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
91,
11,
79,
45
] | 93 | [
"11+79=90",
"90/45=2",
"91+2=93"
] | Current State: 93:[91, 11, 79, 45], Operations: []
Exploring Operation: 11+79=90, Resulting Numbers: [91, 45, 90]
Generated Node #2: [91, 45, 90] from Operation: 11+79=90
Current State: 93:[91, 45, 90], Operations: ['11+79=90']
Exploring Operation: 90/45=2, Resulting Numbers: [91, 2]
Generated Node #3: [91, 2] from Operation: 90/45=2
Current State: 93:[91, 2], Operations: ['11+79=90', '90/45=2']
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[91, 11, 79, 45], Operations: []
Exploring Operation: 45-11=34, Resulting Numbers: [91, 79, 34]
Generated Node #0,0: 93:[91, 79, 34] Operation: 45-11=34
Exploring Operation: 11+79=90, Resulting Numbers: [91, 45, 90]
Generated Node #0,1: 93:[91, 45, 90] Operation: 11+79=90
Exploring Operation: 79-45=34, Resulting Numbers: [91, 11, 34]
Generated Node #0,2: 93:[91, 11, 34] Operation: 79-45=34
Moving to Node #0,2
Current State: 93:[91, 11, 34], Operations: ['79-45=34']
Exploring Operation: 34-11=23, Resulting Numbers: [91, 23]
Generated Node #0,2,0: 93:[91, 23] Operation: 34-11=23
Exploring Operation: 91+11=102, Resulting Numbers: [34, 102]
Generated Node #0,2,1: 93:[34, 102] Operation: 91+11=102
Exploring Operation: 91-11=80, Resulting Numbers: [34, 80]
Generated Node #0,2,2: 93:[34, 80] Operation: 91-11=80
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[91, 23], Operations: ['79-45=34', '34-11=23']
Exploring Operation: 91*23=2093, Resulting Numbers: [2093]
2093,93 unequal: No Solution
Exploring Operation: 91+23=114, Resulting Numbers: [114]
114,93 unequal: No Solution
Exploring Operation: 91-23=68, Resulting Numbers: [68]
68,93 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: 93:[34, 102], Operations: ['79-45=34', '91+11=102']
Exploring Operation: 102-34=68, Resulting Numbers: [68]
68,93 unequal: No Solution
Exploring Operation: 102/34=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 34+102=136, Resulting Numbers: [136]
136,93 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: 93:[34, 80], Operations: ['79-45=34', '91-11=80']
Exploring Operation: 34+80=114, Resulting Numbers: [114]
114,93 unequal: No Solution
Exploring Operation: 34*80=2720, Resulting Numbers: [2720]
2720,93 unequal: No Solution
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,93 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: 93:[91, 79, 34], Operations: ['45-11=34']
Exploring Operation: 91-79=12, Resulting Numbers: [34, 12]
Generated Node #0,0,0: 93:[34, 12] Operation: 91-79=12
Exploring Operation: 79+34=113, Resulting Numbers: [91, 113]
Generated Node #0,0,1: 93:[91, 113] Operation: 79+34=113
Exploring Operation: 79-34=45, Resulting Numbers: [91, 45]
Generated Node #0,0,2: 93:[91, 45] Operation: 79-34=45
Moving to Node #0,1
Current State: 93:[91, 45, 90], Operations: ['11+79=90']
Exploring Operation: 91-90=1, Resulting Numbers: [45, 1]
Generated Node #0,1,0: 93:[45, 1] Operation: 91-90=1
Exploring Operation: 90-45=45, Resulting Numbers: [91, 45]
Generated Node #0,1,1: 93:[91, 45] Operation: 90-45=45
Exploring Operation: 90/45=2, Resulting Numbers: [91, 2]
Generated Node #0,1,2: 93:[91, 2] Operation: 90/45=2
Moving to Node #0,1,2
Current State: 93:[91, 2], Operations: ['11+79=90', '90/45=2']
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,93 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,93 unequal: No Solution
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[91, 11, 79, 45], Operations: []
Exploring Operation: 11+79=90, Resulting Numbers: [91, 45, 90]
Generated Node #0,1: 93:[91, 45, 90] Operation: 11+79=90
Moving to Node #0,1
Current State: 93:[91, 45, 90], Operations: ['11+79=90']
Exploring Operation: 90/45=2, Resulting Numbers: [91, 2]
Generated Node #0,1,2: 93:[91, 2] Operation: 90/45=2
Moving to Node #0,1,2
Current State: 93:[91, 2], Operations: ['11+79=90', '90/45=2']
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.975694 | hs_3 | mult_heuristic |
[
83,
94,
41,
96
] | 66 | [
"94-83=11",
"96-41=55",
"11+55=66"
] | Current State: 66:[83, 94, 41, 96], Operations: []
Exploring Operation: 94-83=11, Resulting Numbers: [41, 96, 11]
Generated Node #2: [41, 96, 11] from Operation: 94-83=11
Current State: 66:[41, 96, 11], Operations: ['94-83=11']
Exploring Operation: 96-41=55, Resulting Numbers: [11, 55]
Generated Node #3: [11, 55] from Operation: 96-41=55
Current State: 66:[11, 55], Operations: ['94-83=11', '96-41=55']
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[83, 94, 41, 96], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [94, 41, 13]
Generated Node #0,0: 66:[94, 41, 13] Operation: 96-83=13
Exploring Operation: 94-83=11, Resulting Numbers: [41, 96, 11]
Generated Node #0,1: 66:[41, 96, 11] Operation: 94-83=11
Exploring Operation: 96-94=2, Resulting Numbers: [83, 41, 2]
Generated Node #0,2: 66:[83, 41, 2] Operation: 96-94=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[83, 41, 2], Operations: ['96-94=2']
Exploring Operation: 83-41=42, Resulting Numbers: [2, 42]
Generated Node #0,2,0: 66:[2, 42] Operation: 83-41=42
Exploring Operation: 83-2=81, Resulting Numbers: [41, 81]
Generated Node #0,2,1: 66:[41, 81] Operation: 83-2=81
Exploring Operation: 41-2=39, Resulting Numbers: [83, 39]
Generated Node #0,2,2: 66:[83, 39] Operation: 41-2=39
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[2, 42], Operations: ['96-94=2', '83-41=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,66 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 66:[41, 81], Operations: ['96-94=2', '83-2=81']
Exploring Operation: 41*81=3321, Resulting Numbers: [3321]
3321,66 unequal: No Solution
Exploring Operation: 81-41=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 41+81=122, Resulting Numbers: [122]
122,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[83, 39], Operations: ['96-94=2', '41-2=39']
Exploring Operation: 83+39=122, Resulting Numbers: [122]
122,66 unequal: No Solution
Exploring Operation: 83*39=3237, Resulting Numbers: [3237]
3237,66 unequal: No Solution
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[94, 41, 13], Operations: ['96-83=13']
Exploring Operation: 41-13=28, Resulting Numbers: [94, 28]
Generated Node #0,0,0: 66:[94, 28] Operation: 41-13=28
Exploring Operation: 94-41=53, Resulting Numbers: [13, 53]
Generated Node #0,0,1: 66:[13, 53] Operation: 94-41=53
Exploring Operation: 94-13=81, Resulting Numbers: [41, 81]
Generated Node #0,0,2: 66:[41, 81] Operation: 94-13=81
Moving to Node #0,0,1
Current State: 66:[13, 53], Operations: ['96-83=13', '94-41=53']
Exploring Operation: 13*53=689, Resulting Numbers: [689]
689,66 unequal: No Solution
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 13+53=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[83, 94, 41, 96], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [94, 41, 13]
Generated Node #0,0: 66:[94, 41, 13] Operation: 96-83=13
Moving to Node #0,0
Current State: 66:[94, 41, 13], Operations: ['96-83=13']
Exploring Operation: 94-41=53, Resulting Numbers: [13, 53]
Generated Node #0,0,1: 66:[13, 53] Operation: 94-41=53
Moving to Node #0,0,1
Current State: 66:[13, 53], Operations: ['96-83=13', '94-41=53']
Exploring Operation: 13+53=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
17,
17,
44,
35
] | 79 | [
"17-17=0",
"44+35=79",
"0+79=79"
] | Current State: 79:[17, 17, 44, 35], Operations: []
Exploring Operation: 17-17=0, Resulting Numbers: [44, 35, 0]
Generated Node #2: [44, 35, 0] from Operation: 17-17=0
Current State: 79:[44, 35, 0], Operations: ['17-17=0']
Exploring Operation: 44+35=79, Resulting Numbers: [0, 79]
Generated Node #3: [0, 79] from Operation: 44+35=79
Current State: 79:[0, 79], Operations: ['17-17=0', '44+35=79']
Exploring Operation: 0+79=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[17, 17, 44, 35], Operations: []
Exploring Operation: 17+17=34, Resulting Numbers: [44, 35, 34]
Generated Node #0,0: 79:[44, 35, 34] Operation: 17+17=34
Exploring Operation: 17+35=52, Resulting Numbers: [17, 44, 52]
Generated Node #0,1: 79:[17, 44, 52] Operation: 17+35=52
Exploring Operation: 17+44=61, Resulting Numbers: [17, 35, 61]
Generated Node #0,2: 79:[17, 35, 61] Operation: 17+44=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[44, 35, 34], Operations: ['17+17=34']
Exploring Operation: 44+34=78, Resulting Numbers: [35, 78]
Generated Node #0,0,0: 79:[35, 78] Operation: 44+34=78
Exploring Operation: 35+34=69, Resulting Numbers: [44, 69]
Generated Node #0,0,1: 79:[44, 69] Operation: 35+34=69
Exploring Operation: 44+35=79, Resulting Numbers: [34, 79]
Generated Node #0,0,2: 79:[34, 79] Operation: 44+35=79
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[35, 78], Operations: ['17+17=34', '44+34=78']
Exploring Operation: 35+78=113, Resulting Numbers: [113]
113,79 unequal: No Solution
Exploring Operation: 35*78=2730, Resulting Numbers: [2730]
2730,79 unequal: No Solution
Exploring Operation: 78-35=43, Resulting Numbers: [43]
43,79 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: 79:[44, 69], Operations: ['17+17=34', '35+34=69']
Exploring Operation: 44*69=3036, Resulting Numbers: [3036]
3036,79 unequal: No Solution
Exploring Operation: 44+69=113, Resulting Numbers: [113]
113,79 unequal: No Solution
Exploring Operation: 69-44=25, Resulting Numbers: [25]
25,79 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: 79:[34, 79], Operations: ['17+17=34', '44+35=79']
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 34+79=113, Resulting Numbers: [113]
113,79 unequal: No Solution
Exploring Operation: 34*79=2686, Resulting Numbers: [2686]
2686,79 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: 79:[17, 44, 52], Operations: ['17+35=52']
Exploring Operation: 17+52=69, Resulting Numbers: [44, 69]
Generated Node #0,1,0: 79:[44, 69] Operation: 17+52=69
Exploring Operation: 44-17=27, Resulting Numbers: [52, 27]
Generated Node #0,1,1: 79:[52, 27] Operation: 44-17=27
Exploring Operation: 17+44=61, Resulting Numbers: [52, 61]
Generated Node #0,1,2: 79:[52, 61] Operation: 17+44=61
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[44, 69], Operations: ['17+35=52', '17+52=69']
Exploring Operation: 69-44=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Exploring Operation: 44+69=113, Resulting Numbers: [113]
113,79 unequal: No Solution
Exploring Operation: 44*69=3036, Resulting Numbers: [3036]
3036,79 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: 79:[52, 61], Operations: ['17+35=52', '17+44=61']
Exploring Operation: 52*61=3172, Resulting Numbers: [3172]
3172,79 unequal: No Solution
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Exploring Operation: 52+61=113, Resulting Numbers: [113]
113,79 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: 79:[52, 27], Operations: ['17+35=52', '44-17=27']
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Exploring Operation: 52*27=1404, Resulting Numbers: [1404]
1404,79 unequal: No Solution
Exploring Operation: 52+27=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[17, 17, 44, 35], Operations: []
Exploring Operation: 17+35=52, Resulting Numbers: [17, 44, 52]
Generated Node #0,1: 79:[17, 44, 52] Operation: 17+35=52
Moving to Node #0,1
Current State: 79:[17, 44, 52], Operations: ['17+35=52']
Exploring Operation: 44-17=27, Resulting Numbers: [52, 27]
Generated Node #0,1,1: 79:[52, 27] Operation: 44-17=27
Moving to Node #0,1,1
Current State: 79:[52, 27], Operations: ['17+35=52', '44-17=27']
Exploring Operation: 52+27=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_3 | mult_heuristic |
[
77,
72,
76,
29
] | 12 | [
"77-29=48",
"76-72=4",
"48/4=12"
] | Current State: 12:[77, 72, 76, 29], Operations: []
Exploring Operation: 77-29=48, Resulting Numbers: [72, 76, 48]
Generated Node #2: [72, 76, 48] from Operation: 77-29=48
Current State: 12:[72, 76, 48], Operations: ['77-29=48']
Exploring Operation: 76-72=4, Resulting Numbers: [48, 4]
Generated Node #3: [48, 4] from Operation: 76-72=4
Current State: 12:[48, 4], Operations: ['77-29=48', '76-72=4']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[77, 72, 76, 29], Operations: []
Exploring Operation: 77-76=1, Resulting Numbers: [72, 29, 1]
Generated Node #0,0: 12:[72, 29, 1] Operation: 77-76=1
Moving to Node #0,0
Current State: 12:[72, 29, 1], Operations: ['77-76=1']
Exploring Operation: 72-29=43, Resulting Numbers: [1, 43]
Generated Node #0,0,0: 12:[1, 43] Operation: 72-29=43
Moving to Node #0,0,0
Current State: 12:[1, 43], Operations: ['77-76=1', '72-29=43']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,12 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
44,
27,
78,
92
] | 99 | [
"44+27=71",
"78+92=170",
"170-71=99"
] | Current State: 99:[44, 27, 78, 92], Operations: []
Exploring Operation: 44+27=71, Resulting Numbers: [78, 92, 71]
Generated Node #2: [78, 92, 71] from Operation: 44+27=71
Current State: 99:[78, 92, 71], Operations: ['44+27=71']
Exploring Operation: 78+92=170, Resulting Numbers: [71, 170]
Generated Node #3: [71, 170] from Operation: 78+92=170
Current State: 99:[71, 170], Operations: ['44+27=71', '78+92=170']
Exploring Operation: 170-71=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[44, 27, 78, 92], Operations: []
Exploring Operation: 27+78=105, Resulting Numbers: [44, 92, 105]
Generated Node #0,0: 99:[44, 92, 105] Operation: 27+78=105
Exploring Operation: 92-78=14, Resulting Numbers: [44, 27, 14]
Generated Node #0,1: 99:[44, 27, 14] Operation: 92-78=14
Exploring Operation: 78-44=34, Resulting Numbers: [27, 92, 34]
Generated Node #0,2: 99:[27, 92, 34] Operation: 78-44=34
Moving to Node #0,2
Current State: 99:[27, 92, 34], Operations: ['78-44=34']
Exploring Operation: 27+92=119, Resulting Numbers: [34, 119]
Generated Node #0,2,0: 99:[34, 119] Operation: 27+92=119
Exploring Operation: 92-34=58, Resulting Numbers: [27, 58]
Generated Node #0,2,1: 99:[27, 58] Operation: 92-34=58
Exploring Operation: 34-27=7, Resulting Numbers: [92, 7]
Generated Node #0,2,2: 99:[92, 7] Operation: 34-27=7
Moving to Node #0,1
Current State: 99:[44, 27, 14], Operations: ['92-78=14']
Exploring Operation: 27-14=13, Resulting Numbers: [44, 13]
Generated Node #0,1,0: 99:[44, 13] Operation: 27-14=13
Exploring Operation: 44-14=30, Resulting Numbers: [27, 30]
Generated Node #0,1,1: 99:[27, 30] Operation: 44-14=30
Exploring Operation: 44-27=17, Resulting Numbers: [14, 17]
Generated Node #0,1,2: 99:[14, 17] Operation: 44-27=17
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[27, 30], Operations: ['92-78=14', '44-14=30']
Exploring Operation: 27*30=810, Resulting Numbers: [810]
810,99 unequal: No Solution
Exploring Operation: 27+30=57, Resulting Numbers: [57]
57,99 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 99:[14, 17], Operations: ['92-78=14', '44-27=17']
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[44, 13], Operations: ['92-78=14', '27-14=13']
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,99 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 99:[44, 92, 105], Operations: ['27+78=105']
Exploring Operation: 105-92=13, Resulting Numbers: [44, 13]
Generated Node #0,0,0: 99:[44, 13] Operation: 105-92=13
Exploring Operation: 105-44=61, Resulting Numbers: [92, 61]
Generated Node #0,0,1: 99:[92, 61] Operation: 105-44=61
Exploring Operation: 92-44=48, Resulting Numbers: [105, 48]
Generated Node #0,0,2: 99:[105, 48] Operation: 92-44=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[44, 13], Operations: ['27+78=105', '105-92=13']
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,99 unequal: No Solution
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,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,2
Current State: 99:[105, 48], Operations: ['27+78=105', '92-44=48']
Exploring Operation: 105+48=153, Resulting Numbers: [153]
153,99 unequal: No Solution
Exploring Operation: 105-48=57, Resulting Numbers: [57]
57,99 unequal: No Solution
Exploring Operation: 105*48=5040, Resulting Numbers: [5040]
5040,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:[92, 61], Operations: ['27+78=105', '105-44=61']
Exploring Operation: 92-61=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 92*61=5612, Resulting Numbers: [5612]
5612,99 unequal: No Solution
Exploring Operation: 92+61=153, Resulting Numbers: [153]
153,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 99:[92, 7], Operations: ['78-44=34', '34-27=7']
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 92+7=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[44, 27, 78, 92], Operations: []
Exploring Operation: 78-44=34, Resulting Numbers: [27, 92, 34]
Generated Node #0,2: 99:[27, 92, 34] Operation: 78-44=34
Moving to Node #0,2
Current State: 99:[27, 92, 34], Operations: ['78-44=34']
Exploring Operation: 34-27=7, Resulting Numbers: [92, 7]
Generated Node #0,2,2: 99:[92, 7] Operation: 34-27=7
Moving to Node #0,2,2
Current State: 99:[92, 7], Operations: ['78-44=34', '34-27=7']
Exploring Operation: 92+7=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.96875 | hs_3 | sum_heuristic |
[
2,
32,
14,
61
] | 38 | [
"32+14=46",
"46/2=23",
"61-23=38"
] | Current State: 38:[2, 32, 14, 61], Operations: []
Exploring Operation: 32+14=46, Resulting Numbers: [2, 61, 46]
Generated Node #2: [2, 61, 46] from Operation: 32+14=46
Current State: 38:[2, 61, 46], Operations: ['32+14=46']
Exploring Operation: 46/2=23, Resulting Numbers: [61, 23]
Generated Node #3: [61, 23] from Operation: 46/2=23
Current State: 38:[61, 23], Operations: ['32+14=46', '46/2=23']
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[2, 32, 14, 61], Operations: []
Exploring Operation: 61-32=29, Resulting Numbers: [2, 14, 29]
Generated Node #0,0: 38:[2, 14, 29] Operation: 61-32=29
Exploring Operation: 61-14=47, Resulting Numbers: [2, 32, 47]
Generated Node #0,1: 38:[2, 32, 47] Operation: 61-14=47
Moving to Node #0,0
Current State: 38:[2, 14, 29], Operations: ['61-32=29']
Exploring Operation: 14+29=43, Resulting Numbers: [2, 43]
Generated Node #0,0,0: 38:[2, 43] Operation: 14+29=43
Exploring Operation: 29-14=15, Resulting Numbers: [2, 15]
Generated Node #0,0,1: 38:[2, 15] Operation: 29-14=15
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[2, 15], Operations: ['61-32=29', '29-14=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,38 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: 38:[2, 43], Operations: ['61-32=29', '14+29=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,38 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: 38:[2, 32, 47], Operations: ['61-14=47']
Exploring Operation: 32/2=16, Resulting Numbers: [47, 16]
Generated Node #0,1,0: 38:[47, 16] Operation: 32/2=16
Exploring Operation: 47-32=15, Resulting Numbers: [2, 15]
Generated Node #0,1,1: 38:[2, 15] Operation: 47-32=15
Moving to Node #0,1,1
Current State: 38:[2, 15], Operations: ['61-14=47', '47-32=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[47, 16], Operations: ['61-14=47', '32/2=16']
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,38 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,38 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
44,
94,
43,
82
] | 89 | [
"94-44=50",
"82-43=39",
"50+39=89"
] | Current State: 89:[44, 94, 43, 82], Operations: []
Exploring Operation: 94-44=50, Resulting Numbers: [43, 82, 50]
Generated Node #2: [43, 82, 50] from Operation: 94-44=50
Current State: 89:[43, 82, 50], Operations: ['94-44=50']
Exploring Operation: 82-43=39, Resulting Numbers: [50, 39]
Generated Node #3: [50, 39] from Operation: 82-43=39
Current State: 89:[50, 39], Operations: ['94-44=50', '82-43=39']
Exploring Operation: 50+39=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[44, 94, 43, 82], Operations: []
Exploring Operation: 44+43=87, Resulting Numbers: [94, 82, 87]
Generated Node #0,0: 89:[94, 82, 87] Operation: 44+43=87
Exploring Operation: 43+82=125, Resulting Numbers: [44, 94, 125]
Generated Node #0,1: 89:[44, 94, 125] Operation: 43+82=125
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[94, 82, 87], Operations: ['44+43=87']
Exploring Operation: 94-82=12, Resulting Numbers: [87, 12]
Generated Node #0,0,0: 89:[87, 12] Operation: 94-82=12
Exploring Operation: 82+87=169, Resulting Numbers: [94, 169]
Generated Node #0,0,1: 89:[94, 169] Operation: 82+87=169
Moving to Node #0,0,0
Current State: 89:[87, 12], Operations: ['44+43=87', '94-82=12']
Exploring Operation: 87+12=99, Resulting Numbers: [99]
99,89 unequal: No Solution
Exploring Operation: 87-12=75, Resulting Numbers: [75]
75,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[94, 169], Operations: ['44+43=87', '82+87=169']
Exploring Operation: 94+169=263, Resulting Numbers: [263]
263,89 unequal: No Solution
Exploring Operation: 169-94=75, Resulting Numbers: [75]
75,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,1
Current State: 89:[44, 94, 125], Operations: ['43+82=125']
Exploring Operation: 125-44=81, Resulting Numbers: [94, 81]
Generated Node #0,1,0: 89:[94, 81] Operation: 125-44=81
Exploring Operation: 94-44=50, Resulting Numbers: [125, 50]
Generated Node #0,1,1: 89:[125, 50] Operation: 94-44=50
Moving to Node #0,1,0
Current State: 89:[94, 81], Operations: ['43+82=125', '125-44=81']
Exploring Operation: 94-81=13, Resulting Numbers: [13]
13,89 unequal: No Solution
Exploring Operation: 94+81=175, Resulting Numbers: [175]
175,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[125, 50], Operations: ['43+82=125', '94-44=50']
Exploring Operation: 125-50=75, Resulting Numbers: [75]
75,89 unequal: No Solution
Exploring Operation: 125+50=175, Resulting Numbers: [175]
175,89 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 |
[
9,
47,
98,
23
] | 83 | [
"47-9=38",
"98+23=121",
"121-38=83"
] | Current State: 83:[9, 47, 98, 23], Operations: []
Exploring Operation: 47-9=38, Resulting Numbers: [98, 23, 38]
Generated Node #2: [98, 23, 38] from Operation: 47-9=38
Current State: 83:[98, 23, 38], Operations: ['47-9=38']
Exploring Operation: 98+23=121, Resulting Numbers: [38, 121]
Generated Node #3: [38, 121] from Operation: 98+23=121
Current State: 83:[38, 121], Operations: ['47-9=38', '98+23=121']
Exploring Operation: 121-38=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[9, 47, 98, 23], Operations: []
Exploring Operation: 9+47=56, Resulting Numbers: [98, 23, 56]
Generated Node #0,0: 83:[98, 23, 56] Operation: 9+47=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[98, 23, 56], Operations: ['9+47=56']
Exploring Operation: 23+56=79, Resulting Numbers: [98, 79]
Generated Node #0,0,0: 83:[98, 79] Operation: 23+56=79
Moving to Node #0,0,0
Current State: 83:[98, 79], Operations: ['9+47=56', '23+56=79']
Exploring Operation: 98-79=19, Resulting Numbers: [19]
19,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
16,
46,
14,
57
] | 17 | [
"14*57=798",
"798-16=782",
"782/46=17"
] | Current State: 17:[16, 46, 14, 57], Operations: []
Exploring Operation: 14*57=798, Resulting Numbers: [16, 46, 798]
Generated Node #2: [16, 46, 798] from Operation: 14*57=798
Current State: 17:[16, 46, 798], Operations: ['14*57=798']
Exploring Operation: 798-16=782, Resulting Numbers: [46, 782]
Generated Node #3: [46, 782] from Operation: 798-16=782
Current State: 17:[46, 782], Operations: ['14*57=798', '798-16=782']
Exploring Operation: 782/46=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[16, 46, 14, 57], Operations: []
Exploring Operation: 46-16=30, Resulting Numbers: [14, 57, 30]
Generated Node #0,0: 17:[14, 57, 30] Operation: 46-16=30
Exploring Operation: 57-46=11, Resulting Numbers: [16, 14, 11]
Generated Node #0,1: 17:[16, 14, 11] Operation: 57-46=11
Exploring Operation: 57-16=41, Resulting Numbers: [46, 14, 41]
Generated Node #0,2: 17:[46, 14, 41] Operation: 57-16=41
Moving to Node #0,1
Current State: 17:[16, 14, 11], Operations: ['57-46=11']
Exploring Operation: 16-11=5, Resulting Numbers: [14, 5]
Generated Node #0,1,0: 17:[14, 5] Operation: 16-11=5
Exploring Operation: 16+11=27, Resulting Numbers: [14, 27]
Generated Node #0,1,1: 17:[14, 27] Operation: 16+11=27
Exploring Operation: 14+11=25, Resulting Numbers: [16, 25]
Generated Node #0,1,2: 17:[16, 25] Operation: 14+11=25
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 17:[16, 25], Operations: ['57-46=11', '14+11=25']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,17 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: 17:[14, 27], Operations: ['57-46=11', '16+11=27']
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,17 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: 17:[14, 5], Operations: ['57-46=11', '16-11=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,17 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,17 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: 17:[14, 57, 30], Operations: ['46-16=30']
Exploring Operation: 30-14=16, Resulting Numbers: [57, 16]
Generated Node #0,0,0: 17:[57, 16] Operation: 30-14=16
Exploring Operation: 57-30=27, Resulting Numbers: [14, 27]
Generated Node #0,0,1: 17:[14, 27] Operation: 57-30=27
Exploring Operation: 57-14=43, Resulting Numbers: [30, 43]
Generated Node #0,0,2: 17:[30, 43] Operation: 57-14=43
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[14, 27], Operations: ['46-16=30', '57-30=27']
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,17 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,17 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: 17:[30, 43], Operations: ['46-16=30', '57-14=43']
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 30+43=73, Resulting Numbers: [73]
73,17 unequal: No Solution
Exploring Operation: 30*43=1290, Resulting Numbers: [1290]
1290,17 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: 17:[57, 16], Operations: ['46-16=30', '30-14=16']
Exploring Operation: 57*16=912, Resulting Numbers: [912]
912,17 unequal: No Solution
Exploring Operation: 57+16=73, Resulting Numbers: [73]
73,17 unequal: No Solution
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,17 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: 17:[46, 14, 41], Operations: ['57-16=41']
Exploring Operation: 46-14=32, Resulting Numbers: [41, 32]
Generated Node #0,2,0: 17:[41, 32] Operation: 46-14=32
Exploring Operation: 41-14=27, Resulting Numbers: [46, 27]
Generated Node #0,2,1: 17:[46, 27] Operation: 41-14=27
Exploring Operation: 46-41=5, Resulting Numbers: [14, 5]
Generated Node #0,2,2: 17:[14, 5] Operation: 46-41=5
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[14, 5], Operations: ['57-16=41', '46-41=5']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,17 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,17 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: 17:[41, 32], Operations: ['57-16=41', '46-14=32']
Exploring Operation: 41*32=1312, Resulting Numbers: [1312]
1312,17 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,17 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: 17:[46, 27], Operations: ['57-16=41', '41-14=27']
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 46+27=73, Resulting Numbers: [73]
73,17 unequal: No Solution
Exploring Operation: 46*27=1242, Resulting Numbers: [1242]
1242,17 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 |
[
31,
62,
93,
53
] | 38 | [
"62/31=2",
"93-53=40",
"40-2=38"
] | Current State: 38:[31, 62, 93, 53], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [93, 53, 2]
Generated Node #2: [93, 53, 2] from Operation: 62/31=2
Current State: 38:[93, 53, 2], Operations: ['62/31=2']
Exploring Operation: 93-53=40, Resulting Numbers: [2, 40]
Generated Node #3: [2, 40] from Operation: 93-53=40
Current State: 38:[2, 40], Operations: ['62/31=2', '93-53=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[31, 62, 93, 53], Operations: []
Exploring Operation: 93-31=62, Resulting Numbers: [62, 53, 62]
Generated Node #0,0: 38:[62, 53, 62] Operation: 93-31=62
Exploring Operation: 93-62=31, Resulting Numbers: [31, 53, 31]
Generated Node #0,1: 38:[31, 53, 31] Operation: 93-62=31
Exploring Operation: 62-53=9, Resulting Numbers: [31, 93, 9]
Generated Node #0,2: 38:[31, 93, 9] Operation: 62-53=9
Exploring Operation: 93-53=40, Resulting Numbers: [31, 62, 40]
Generated Node #0,3: 38:[31, 62, 40] Operation: 93-53=40
Exploring Operation: 93/31=3, Resulting Numbers: [62, 53, 3]
Generated Node #0,4: 38:[62, 53, 3] Operation: 93/31=3
Moving to Node #0,1
Current State: 38:[31, 53, 31], Operations: ['93-62=31']
Exploring Operation: 31-31=0, Resulting Numbers: [53, 0]
Generated Node #0,1,0: 38:[53, 0] Operation: 31-31=0
Exploring Operation: 53-31=22, Resulting Numbers: [31, 22]
Generated Node #0,1,1: 38:[31, 22] Operation: 53-31=22
Exploring Operation: 31/31=1, Resulting Numbers: [53, 1]
Generated Node #0,1,2: 38:[53, 1] Operation: 31/31=1
Exploring Operation: 53-31=22, Resulting Numbers: [31, 22]
Generated Node #0,1,3: 38:[31, 22] Operation: 53-31=22
Exploring Operation: 31+31=62, Resulting Numbers: [53, 62]
Generated Node #0,1,4: 38:[53, 62] Operation: 31+31=62
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[31, 22], Operations: ['93-62=31', '53-31=22']
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 31*22=682, Resulting Numbers: [682]
682,38 unequal: No Solution
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,38 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: 38:[31, 22], Operations: ['93-62=31', '53-31=22']
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 31*22=682, Resulting Numbers: [682]
682,38 unequal: No Solution
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,38 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: 38:[53, 1], Operations: ['93-62=31', '31/31=1']
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,38 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: 38:[53, 0], Operations: ['93-62=31', '31-31=0']
Exploring Operation: 53+0=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 53-0=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 53*0=0, Resulting Numbers: [0]
0,38 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: 38:[53, 62], Operations: ['93-62=31', '31+31=62']
Exploring Operation: 53+62=115, Resulting Numbers: [115]
115,38 unequal: No Solution
Exploring Operation: 62-53=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 53*62=3286, Resulting Numbers: [3286]
3286,38 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: 38:[31, 62, 40], Operations: ['93-53=40']
Exploring Operation: 62-40=22, Resulting Numbers: [31, 22]
Generated Node #0,3,0: 38:[31, 22] Operation: 62-40=22
Exploring Operation: 40-31=9, Resulting Numbers: [62, 9]
Generated Node #0,3,1: 38:[62, 9] Operation: 40-31=9
Exploring Operation: 31+62=93, Resulting Numbers: [40, 93]
Generated Node #0,3,2: 38:[40, 93] Operation: 31+62=93
Exploring Operation: 62/31=2, Resulting Numbers: [40, 2]
Generated Node #0,3,3: 38:[40, 2] Operation: 62/31=2
Exploring Operation: 62-31=31, Resulting Numbers: [40, 31]
Generated Node #0,3,4: 38:[40, 31] Operation: 62-31=31
Moving to Node #0,4
Current State: 38:[62, 53, 3], Operations: ['93/31=3']
Exploring Operation: 62-53=9, Resulting Numbers: [3, 9]
Generated Node #0,4,0: 38:[3, 9] Operation: 62-53=9
Exploring Operation: 53+3=56, Resulting Numbers: [62, 56]
Generated Node #0,4,1: 38:[62, 56] Operation: 53+3=56
Exploring Operation: 62+3=65, Resulting Numbers: [53, 65]
Generated Node #0,4,2: 38:[53, 65] Operation: 62+3=65
Exploring Operation: 62-3=59, Resulting Numbers: [53, 59]
Generated Node #0,4,3: 38:[53, 59] Operation: 62-3=59
Exploring Operation: 53-3=50, Resulting Numbers: [62, 50]
Generated Node #0,4,4: 38:[62, 50] Operation: 53-3=50
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 38:[3, 9], Operations: ['93/31=3', '62-53=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,38 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,38 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,38 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: 38:[53, 59], Operations: ['93/31=3', '62-3=59']
Exploring Operation: 53+59=112, Resulting Numbers: [112]
112,38 unequal: No Solution
Exploring Operation: 53*59=3127, Resulting Numbers: [3127]
3127,38 unequal: No Solution
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,38 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: 38:[62, 50], Operations: ['93/31=3', '53-3=50']
Exploring Operation: 62+50=112, Resulting Numbers: [112]
112,38 unequal: No Solution
Exploring Operation: 62*50=3100, Resulting Numbers: [3100]
3100,38 unequal: No Solution
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,38 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: 38:[62, 56], Operations: ['93/31=3', '53+3=56']
Exploring Operation: 62+56=118, Resulting Numbers: [118]
118,38 unequal: No Solution
Exploring Operation: 62-56=6, Resulting Numbers: [6]
6,38 unequal: No Solution
Exploring Operation: 62*56=3472, Resulting Numbers: [3472]
3472,38 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: 38:[53, 65], Operations: ['93/31=3', '62+3=65']
Exploring Operation: 53*65=3445, Resulting Numbers: [3445]
3445,38 unequal: No Solution
Exploring Operation: 53+65=118, Resulting Numbers: [118]
118,38 unequal: No Solution
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,38 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: 38:[62, 53, 62], Operations: ['93-31=62']
Exploring Operation: 62-53=9, Resulting Numbers: [62, 9]
Generated Node #0,0,0: 38:[62, 9] Operation: 62-53=9
Exploring Operation: 62-53=9, Resulting Numbers: [62, 9]
Generated Node #0,0,1: 38:[62, 9] Operation: 62-53=9
Exploring Operation: 62-62=0, Resulting Numbers: [53, 0]
Generated Node #0,0,2: 38:[53, 0] Operation: 62-62=0
Exploring Operation: 62/62=1, Resulting Numbers: [53, 1]
Generated Node #0,0,3: 38:[53, 1] Operation: 62/62=1
Exploring Operation: 62+53=115, Resulting Numbers: [62, 115]
Generated Node #0,0,4: 38:[62, 115] Operation: 62+53=115
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 38:[53, 1], Operations: ['93-31=62', '62/62=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,38 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: 38:[53, 0], Operations: ['93-31=62', '62-62=0']
Exploring Operation: 53+0=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 53*0=0, Resulting Numbers: [0]
0,38 unequal: No Solution
Exploring Operation: 53-0=53, Resulting Numbers: [53]
53,38 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: 38:[62, 9], Operations: ['93-31=62', '62-53=9']
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,38 unequal: No Solution
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,38 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: 38:[62, 9], Operations: ['93-31=62', '62-53=9']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,38 unequal: No Solution
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,38 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: 38:[62, 115], Operations: ['93-31=62', '62+53=115']
Exploring Operation: 62*115=7130, Resulting Numbers: [7130]
7130,38 unequal: No Solution
Exploring Operation: 115-62=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 62+115=177, Resulting Numbers: [177]
177,38 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: 38:[31, 93, 9], Operations: ['62-53=9']
Exploring Operation: 93/31=3, Resulting Numbers: [9, 3]
Generated Node #0,2,0: 38:[9, 3] Operation: 93/31=3
Exploring Operation: 31-9=22, Resulting Numbers: [93, 22]
Generated Node #0,2,1: 38:[93, 22] Operation: 31-9=22
Exploring Operation: 93-9=84, Resulting Numbers: [31, 84]
Generated Node #0,2,2: 38:[31, 84] Operation: 93-9=84
Exploring Operation: 31+9=40, Resulting Numbers: [93, 40]
Generated Node #0,2,3: 38:[93, 40] Operation: 31+9=40
Exploring Operation: 93-31=62, Resulting Numbers: [9, 62]
Generated Node #0,2,4: 38:[9, 62] Operation: 93-31=62
Moving to Node #0,3,3
Current State: 38:[40, 2], Operations: ['93-53=40', '62/31=2']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,38 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[31, 62, 93, 53], Operations: []
Exploring Operation: 93-53=40, Resulting Numbers: [31, 62, 40]
Generated Node #0,3: 38:[31, 62, 40] Operation: 93-53=40
Moving to Node #0,3
Current State: 38:[31, 62, 40], Operations: ['93-53=40']
Exploring Operation: 62/31=2, Resulting Numbers: [40, 2]
Generated Node #0,3,3: 38:[40, 2] Operation: 62/31=2
Moving to Node #0,3,3
Current State: 38:[40, 2], Operations: ['93-53=40', '62/31=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.925347 | hs_5 | mult_heuristic |
[
98,
43,
47,
63
] | 91 | [
"98*43=4214",
"63+4214=4277",
"4277/47=91"
] | Current State: 91:[98, 43, 47, 63], Operations: []
Exploring Operation: 98*43=4214, Resulting Numbers: [47, 63, 4214]
Generated Node #2: [47, 63, 4214] from Operation: 98*43=4214
Current State: 91:[47, 63, 4214], Operations: ['98*43=4214']
Exploring Operation: 63+4214=4277, Resulting Numbers: [47, 4277]
Generated Node #3: [47, 4277] from Operation: 63+4214=4277
Current State: 91:[47, 4277], Operations: ['98*43=4214', '63+4214=4277']
Exploring Operation: 4277/47=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[98, 43, 47, 63], Operations: []
Exploring Operation: 43+47=90, Resulting Numbers: [98, 63, 90]
Generated Node #0,0: 91:[98, 63, 90] Operation: 43+47=90
Exploring Operation: 47-43=4, Resulting Numbers: [98, 63, 4]
Generated Node #0,1: 91:[98, 63, 4] Operation: 47-43=4
Exploring Operation: 63-43=20, Resulting Numbers: [98, 47, 20]
Generated Node #0,2: 91:[98, 47, 20] Operation: 63-43=20
Exploring Operation: 63-47=16, Resulting Numbers: [98, 43, 16]
Generated Node #0,3: 91:[98, 43, 16] Operation: 63-47=16
Moving to Node #0,0
Current State: 91:[98, 63, 90], Operations: ['43+47=90']
Exploring Operation: 63+90=153, Resulting Numbers: [98, 153]
Generated Node #0,0,0: 91:[98, 153] Operation: 63+90=153
Exploring Operation: 98-90=8, Resulting Numbers: [63, 8]
Generated Node #0,0,1: 91:[63, 8] Operation: 98-90=8
Exploring Operation: 98-63=35, Resulting Numbers: [90, 35]
Generated Node #0,0,2: 91:[90, 35] Operation: 98-63=35
Exploring Operation: 90-63=27, Resulting Numbers: [98, 27]
Generated Node #0,0,3: 91:[98, 27] Operation: 90-63=27
Moving to Node #0,1
Current State: 91:[98, 63, 4], Operations: ['47-43=4']
Exploring Operation: 98+4=102, Resulting Numbers: [63, 102]
Generated Node #0,1,0: 91:[63, 102] Operation: 98+4=102
Exploring Operation: 63+4=67, Resulting Numbers: [98, 67]
Generated Node #0,1,1: 91:[98, 67] Operation: 63+4=67
Exploring Operation: 98-4=94, Resulting Numbers: [63, 94]
Generated Node #0,1,2: 91:[63, 94] Operation: 98-4=94
Exploring Operation: 98-63=35, Resulting Numbers: [4, 35]
Generated Node #0,1,3: 91:[4, 35] Operation: 98-63=35
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[4, 35], Operations: ['47-43=4', '98-63=35']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,91 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,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,1,1
Current State: 91:[98, 67], Operations: ['47-43=4', '63+4=67']
Exploring Operation: 98-67=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 98*67=6566, Resulting Numbers: [6566]
6566,91 unequal: No Solution
Exploring Operation: 98+67=165, Resulting Numbers: [165]
165,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,1,2
Current State: 91:[63, 94], Operations: ['47-43=4', '98-4=94']
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 63*94=5922, Resulting Numbers: [5922]
5922,91 unequal: No Solution
Exploring Operation: 63+94=157, Resulting Numbers: [157]
157,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,1,0
Current State: 91:[63, 102], Operations: ['47-43=4', '98+4=102']
Exploring Operation: 63*102=6426, Resulting Numbers: [6426]
6426,91 unequal: No Solution
Exploring Operation: 63+102=165, Resulting Numbers: [165]
165,91 unequal: No Solution
Exploring Operation: 102-63=39, Resulting Numbers: [39]
39,91 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: 91:[98, 43, 16], Operations: ['63-47=16']
Exploring Operation: 98-16=82, Resulting Numbers: [43, 82]
Generated Node #0,3,0: 91:[43, 82] Operation: 98-16=82
Exploring Operation: 98-43=55, Resulting Numbers: [16, 55]
Generated Node #0,3,1: 91:[16, 55] Operation: 98-43=55
Exploring Operation: 43-16=27, Resulting Numbers: [98, 27]
Generated Node #0,3,2: 91:[98, 27] Operation: 43-16=27
Exploring Operation: 43+16=59, Resulting Numbers: [98, 59]
Generated Node #0,3,3: 91:[98, 59] Operation: 43+16=59
Moving to Node #0,2
Current State: 91:[98, 47, 20], Operations: ['63-43=20']
Exploring Operation: 47-20=27, Resulting Numbers: [98, 27]
Generated Node #0,2,0: 91:[98, 27] Operation: 47-20=27
Exploring Operation: 47+20=67, Resulting Numbers: [98, 67]
Generated Node #0,2,1: 91:[98, 67] Operation: 47+20=67
Exploring Operation: 98-47=51, Resulting Numbers: [20, 51]
Generated Node #0,2,2: 91:[20, 51] Operation: 98-47=51
Exploring Operation: 98-20=78, Resulting Numbers: [47, 78]
Generated Node #0,2,3: 91:[47, 78] Operation: 98-20=78
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[98, 27], Operations: ['63-43=20', '47-20=27']
Exploring Operation: 98-27=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 98*27=2646, Resulting Numbers: [2646]
2646,91 unequal: No Solution
Exploring Operation: 98+27=125, Resulting Numbers: [125]
125,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,2,1
Current State: 91:[98, 67], Operations: ['63-43=20', '47+20=67']
Exploring Operation: 98*67=6566, Resulting Numbers: [6566]
6566,91 unequal: No Solution
Exploring Operation: 98+67=165, Resulting Numbers: [165]
165,91 unequal: No Solution
Exploring Operation: 98-67=31, Resulting Numbers: [31]
31,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,2,2
Current State: 91:[20, 51], Operations: ['63-43=20', '98-47=51']
Exploring Operation: 20*51=1020, Resulting Numbers: [1020]
1020,91 unequal: No Solution
Exploring Operation: 20+51=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,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,2,3
Current State: 91:[47, 78], Operations: ['63-43=20', '98-20=78']
Exploring Operation: 47+78=125, Resulting Numbers: [125]
125,91 unequal: No Solution
Exploring Operation: 47*78=3666, Resulting Numbers: [3666]
3666,91 unequal: No Solution
Exploring Operation: 78-47=31, Resulting Numbers: [31]
31,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 91:[98, 27], Operations: ['43+47=90', '90-63=27']
Exploring Operation: 98*27=2646, Resulting Numbers: [2646]
2646,91 unequal: No Solution
Exploring Operation: 98-27=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 98+27=125, Resulting Numbers: [125]
125,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[98, 27], Operations: ['63-47=16', '43-16=27']
Exploring Operation: 98-27=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 98+27=125, Resulting Numbers: [125]
125,91 unequal: No Solution
Exploring Operation: 98*27=2646, Resulting Numbers: [2646]
2646,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[90, 35], Operations: ['43+47=90', '98-63=35']
Exploring Operation: 90+35=125, Resulting Numbers: [125]
125,91 unequal: No Solution
Exploring Operation: 90*35=3150, Resulting Numbers: [3150]
3150,91 unequal: No Solution
Exploring Operation: 90-35=55, Resulting Numbers: [55]
55,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[63, 8], Operations: ['43+47=90', '98-90=8']
Exploring Operation: 63*8=504, Resulting Numbers: [504]
504,91 unequal: No Solution
Exploring Operation: 63+8=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,91 unequal: No Solution
Moving to Node #0,3,0
Current State: 91:[43, 82], Operations: ['63-47=16', '98-16=82']
Exploring Operation: 43+82=125, Resulting Numbers: [125]
125,91 unequal: No Solution
Exploring Operation: 43*82=3526, Resulting Numbers: [3526]
3526,91 unequal: No Solution
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[98, 59], Operations: ['63-47=16', '43+16=59']
Exploring Operation: 98-59=39, Resulting Numbers: [39]
39,91 unequal: No Solution
Exploring Operation: 98*59=5782, Resulting Numbers: [5782]
5782,91 unequal: No Solution
Exploring Operation: 98+59=157, Resulting Numbers: [157]
157,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[16, 55], Operations: ['63-47=16', '98-43=55']
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,91 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,91 unequal: No Solution
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[98, 153], Operations: ['43+47=90', '63+90=153']
Exploring Operation: 153-98=55, Resulting Numbers: [55]
55,91 unequal: No Solution
Exploring Operation: 98+153=251, Resulting Numbers: [251]
251,91 unequal: No Solution
Exploring Operation: 98*153=14994, Resulting Numbers: [14994]
14994,91 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
5,
78,
74,
41
] | 87 | [
"74-41=33",
"5*33=165",
"165-78=87"
] | Current State: 87:[5, 78, 74, 41], Operations: []
Exploring Operation: 74-41=33, Resulting Numbers: [5, 78, 33]
Generated Node #2: [5, 78, 33] from Operation: 74-41=33
Current State: 87:[5, 78, 33], Operations: ['74-41=33']
Exploring Operation: 5*33=165, Resulting Numbers: [78, 165]
Generated Node #3: [78, 165] from Operation: 5*33=165
Current State: 87:[78, 165], Operations: ['74-41=33', '5*33=165']
Exploring Operation: 165-78=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[5, 78, 74, 41], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [5, 41, 4]
Generated Node #0,0: 87:[5, 41, 4] Operation: 78-74=4
Exploring Operation: 74-41=33, Resulting Numbers: [5, 78, 33]
Generated Node #0,1: 87:[5, 78, 33] Operation: 74-41=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[5, 41, 4], Operations: ['78-74=4']
Exploring Operation: 41-4=37, Resulting Numbers: [5, 37]
Generated Node #0,0,0: 87:[5, 37] Operation: 41-4=37
Exploring Operation: 41-5=36, Resulting Numbers: [4, 36]
Generated Node #0,0,1: 87:[4, 36] Operation: 41-5=36
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[4, 36], Operations: ['78-74=4', '41-5=36']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,87 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: 87:[5, 37], Operations: ['78-74=4', '41-4=37']
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,87 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: 87:[5, 78, 33], Operations: ['74-41=33']
Exploring Operation: 33-5=28, Resulting Numbers: [78, 28]
Generated Node #0,1,0: 87:[78, 28] Operation: 33-5=28
Exploring Operation: 5+78=83, Resulting Numbers: [33, 83]
Generated Node #0,1,1: 87:[33, 83] Operation: 5+78=83
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 87:[33, 83], Operations: ['74-41=33', '5+78=83']
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 33+83=116, Resulting Numbers: [116]
116,87 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: 87:[78, 28], Operations: ['74-41=33', '33-5=28']
Exploring Operation: 78+28=106, Resulting Numbers: [106]
106,87 unequal: No Solution
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,87 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 |
[
30,
39,
92,
6
] | 38 | [
"39-30=9",
"6*9=54",
"92-54=38"
] | Current State: 38:[30, 39, 92, 6], Operations: []
Exploring Operation: 39-30=9, Resulting Numbers: [92, 6, 9]
Generated Node #2: [92, 6, 9] from Operation: 39-30=9
Current State: 38:[92, 6, 9], Operations: ['39-30=9']
Exploring Operation: 6*9=54, Resulting Numbers: [92, 54]
Generated Node #3: [92, 54] from Operation: 6*9=54
Current State: 38:[92, 54], Operations: ['39-30=9', '6*9=54']
Exploring Operation: 92-54=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[30, 39, 92, 6], Operations: []
Exploring Operation: 30+6=36, Resulting Numbers: [39, 92, 36]
Generated Node #0,0: 38:[39, 92, 36] Operation: 30+6=36
Exploring Operation: 92-30=62, Resulting Numbers: [39, 6, 62]
Generated Node #0,1: 38:[39, 6, 62] Operation: 92-30=62
Exploring Operation: 30/6=5, Resulting Numbers: [39, 92, 5]
Generated Node #0,2: 38:[39, 92, 5] Operation: 30/6=5
Exploring Operation: 92-39=53, Resulting Numbers: [30, 6, 53]
Generated Node #0,3: 38:[30, 6, 53] Operation: 92-39=53
Exploring Operation: 92-6=86, Resulting Numbers: [30, 39, 86]
Generated Node #0,4: 38:[30, 39, 86] Operation: 92-6=86
Moving to Node #0,3
Current State: 38:[30, 6, 53], Operations: ['92-39=53']
Exploring Operation: 53-30=23, Resulting Numbers: [6, 23]
Generated Node #0,3,0: 38:[6, 23] Operation: 53-30=23
Exploring Operation: 53-6=47, Resulting Numbers: [30, 47]
Generated Node #0,3,1: 38:[30, 47] Operation: 53-6=47
Exploring Operation: 30/6=5, Resulting Numbers: [53, 5]
Generated Node #0,3,2: 38:[53, 5] Operation: 30/6=5
Exploring Operation: 30+6=36, Resulting Numbers: [53, 36]
Generated Node #0,3,3: 38:[53, 36] Operation: 30+6=36
Exploring Operation: 30-6=24, Resulting Numbers: [53, 24]
Generated Node #0,3,4: 38:[53, 24] Operation: 30-6=24
Moving to Node #0,1
Current State: 38:[39, 6, 62], Operations: ['92-30=62']
Exploring Operation: 39+6=45, Resulting Numbers: [62, 45]
Generated Node #0,1,0: 38:[62, 45] Operation: 39+6=45
Exploring Operation: 39-6=33, Resulting Numbers: [62, 33]
Generated Node #0,1,1: 38:[62, 33] Operation: 39-6=33
Exploring Operation: 6+62=68, Resulting Numbers: [39, 68]
Generated Node #0,1,2: 38:[39, 68] Operation: 6+62=68
Exploring Operation: 62-6=56, Resulting Numbers: [39, 56]
Generated Node #0,1,3: 38:[39, 56] Operation: 62-6=56
Exploring Operation: 62-39=23, Resulting Numbers: [6, 23]
Generated Node #0,1,4: 38:[6, 23] Operation: 62-39=23
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 38:[6, 23], Operations: ['92-30=62', '62-39=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,38 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: 38:[39, 56], Operations: ['92-30=62', '62-6=56']
Exploring Operation: 39+56=95, Resulting Numbers: [95]
95,38 unequal: No Solution
Exploring Operation: 39*56=2184, Resulting Numbers: [2184]
2184,38 unequal: No Solution
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,38 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: 38:[62, 33], Operations: ['92-30=62', '39-6=33']
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,38 unequal: No Solution
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,38 unequal: No Solution
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,38 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: 38:[62, 45], Operations: ['92-30=62', '39+6=45']
Exploring Operation: 62+45=107, Resulting Numbers: [107]
107,38 unequal: No Solution
Exploring Operation: 62*45=2790, Resulting Numbers: [2790]
2790,38 unequal: No Solution
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,38 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: 38:[39, 68], Operations: ['92-30=62', '6+62=68']
Exploring Operation: 39+68=107, Resulting Numbers: [107]
107,38 unequal: No Solution
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 39*68=2652, Resulting Numbers: [2652]
2652,38 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: 38:[39, 92, 36], Operations: ['30+6=36']
Exploring Operation: 39+36=75, Resulting Numbers: [92, 75]
Generated Node #0,0,0: 38:[92, 75] Operation: 39+36=75
Exploring Operation: 92-39=53, Resulting Numbers: [36, 53]
Generated Node #0,0,1: 38:[36, 53] Operation: 92-39=53
Exploring Operation: 92+36=128, Resulting Numbers: [39, 128]
Generated Node #0,0,2: 38:[39, 128] Operation: 92+36=128
Exploring Operation: 92-36=56, Resulting Numbers: [39, 56]
Generated Node #0,0,3: 38:[39, 56] Operation: 92-36=56
Exploring Operation: 39-36=3, Resulting Numbers: [92, 3]
Generated Node #0,0,4: 38:[92, 3] Operation: 39-36=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[36, 53], Operations: ['30+6=36', '92-39=53']
Exploring Operation: 36*53=1908, Resulting Numbers: [1908]
1908,38 unequal: No Solution
Exploring Operation: 36+53=89, Resulting Numbers: [89]
89,38 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,38 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: 38:[39, 56], Operations: ['30+6=36', '92-36=56']
Exploring Operation: 39+56=95, Resulting Numbers: [95]
95,38 unequal: No Solution
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 39*56=2184, Resulting Numbers: [2184]
2184,38 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: 38:[92, 3], Operations: ['30+6=36', '39-36=3']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,38 unequal: No Solution
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,38 unequal: No Solution
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,38 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: 38:[92, 75], Operations: ['30+6=36', '39+36=75']
Exploring Operation: 92*75=6900, Resulting Numbers: [6900]
6900,38 unequal: No Solution
Exploring Operation: 92-75=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 92+75=167, Resulting Numbers: [167]
167,38 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: 38:[39, 128], Operations: ['30+6=36', '92+36=128']
Exploring Operation: 128-39=89, Resulting Numbers: [89]
89,38 unequal: No Solution
Exploring Operation: 39+128=167, Resulting Numbers: [167]
167,38 unequal: No Solution
Exploring Operation: 39*128=4992, Resulting Numbers: [4992]
4992,38 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: 38:[30, 39, 86], Operations: ['92-6=86']
Exploring Operation: 39-30=9, Resulting Numbers: [86, 9]
Generated Node #0,4,0: 38:[86, 9] Operation: 39-30=9
Exploring Operation: 86-30=56, Resulting Numbers: [39, 56]
Generated Node #0,4,1: 38:[39, 56] Operation: 86-30=56
Exploring Operation: 30+86=116, Resulting Numbers: [39, 116]
Generated Node #0,4,2: 38:[39, 116] Operation: 30+86=116
Exploring Operation: 86-39=47, Resulting Numbers: [30, 47]
Generated Node #0,4,3: 38:[30, 47] Operation: 86-39=47
Exploring Operation: 30+39=69, Resulting Numbers: [86, 69]
Generated Node #0,4,4: 38:[86, 69] Operation: 30+39=69
Moving to Node #0,2
Current State: 38:[39, 92, 5], Operations: ['30/6=5']
Exploring Operation: 92+5=97, Resulting Numbers: [39, 97]
Generated Node #0,2,0: 38:[39, 97] Operation: 92+5=97
Exploring Operation: 39+5=44, Resulting Numbers: [92, 44]
Generated Node #0,2,1: 38:[92, 44] Operation: 39+5=44
Exploring Operation: 92-39=53, Resulting Numbers: [5, 53]
Generated Node #0,2,2: 38:[5, 53] Operation: 92-39=53
Exploring Operation: 92-5=87, Resulting Numbers: [39, 87]
Generated Node #0,2,3: 38:[39, 87] Operation: 92-5=87
Exploring Operation: 39-5=34, Resulting Numbers: [92, 34]
Generated Node #0,2,4: 38:[92, 34] Operation: 39-5=34
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 38:[5, 53], Operations: ['30/6=5', '92-39=53']
Exploring Operation: 5*53=265, Resulting Numbers: [265]
265,38 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,38 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: 38:[39, 87], Operations: ['30/6=5', '92-5=87']
Exploring Operation: 39*87=3393, Resulting Numbers: [3393]
3393,38 unequal: No Solution
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 39+87=126, Resulting Numbers: [126]
126,38 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: 38:[92, 34], Operations: ['30/6=5', '39-5=34']
Exploring Operation: 92*34=3128, Resulting Numbers: [3128]
3128,38 unequal: No Solution
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,38 unequal: No Solution
Exploring Operation: 92+34=126, Resulting Numbers: [126]
126,38 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: 38:[39, 97], Operations: ['30/6=5', '92+5=97']
Exploring Operation: 39+97=136, Resulting Numbers: [136]
136,38 unequal: No Solution
Exploring Operation: 97-39=58, Resulting Numbers: [58]
58,38 unequal: No Solution
Exploring Operation: 39*97=3783, Resulting Numbers: [3783]
3783,38 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: 38:[92, 44], Operations: ['30/6=5', '39+5=44']
Exploring Operation: 92-44=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 92+44=136, Resulting Numbers: [136]
136,38 unequal: No Solution
Exploring Operation: 92*44=4048, Resulting Numbers: [4048]
4048,38 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: 38:[6, 23], Operations: ['92-39=53', '53-30=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,38 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Moving to Node #0,3,3
Current State: 38:[53, 36], Operations: ['92-39=53', '30+6=36']
Exploring Operation: 53+36=89, Resulting Numbers: [89]
89,38 unequal: No Solution
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 53*36=1908, Resulting Numbers: [1908]
1908,38 unequal: No Solution
Moving to Node #0,4,3
Current State: 38:[30, 47], Operations: ['92-6=86', '86-39=47']
Exploring Operation: 30*47=1410, Resulting Numbers: [1410]
1410,38 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 30+47=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Moving to Node #0,3,1
Current State: 38:[30, 47], Operations: ['92-39=53', '53-6=47']
Exploring Operation: 30*47=1410, Resulting Numbers: [1410]
1410,38 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 30+47=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Moving to Node #0,3,2
Current State: 38:[53, 5], Operations: ['92-39=53', '30/6=5']
Exploring Operation: 53*5=265, Resulting Numbers: [265]
265,38 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,38 unequal: No Solution
Moving to Node #0,4,1
Current State: 38:[39, 56], Operations: ['92-6=86', '86-30=56']
Exploring Operation: 39*56=2184, Resulting Numbers: [2184]
2184,38 unequal: No Solution
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 39+56=95, Resulting Numbers: [95]
95,38 unequal: No Solution
Moving to Node #0,3,4
Current State: 38:[53, 24], Operations: ['92-39=53', '30-6=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,38 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,38 unequal: No Solution
Moving to Node #0,4,0
Current State: 38:[86, 9], Operations: ['92-6=86', '39-30=9']
Exploring Operation: 86*9=774, Resulting Numbers: [774]
774,38 unequal: No Solution
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Exploring Operation: 86+9=95, Resulting Numbers: [95]
95,38 unequal: No Solution
Moving to Node #0,4,2
Current State: 38:[39, 116], Operations: ['92-6=86', '30+86=116']
Exploring Operation: 39*116=4524, Resulting Numbers: [4524]
4524,38 unequal: No Solution
Exploring Operation: 39+116=155, Resulting Numbers: [155]
155,38 unequal: No Solution
Exploring Operation: 116-39=77, Resulting Numbers: [77]
77,38 unequal: No Solution
Moving to Node #0,4,4
Current State: 38:[86, 69], Operations: ['92-6=86', '30+39=69']
Exploring Operation: 86-69=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 86+69=155, Resulting Numbers: [155]
155,38 unequal: No Solution
Exploring Operation: 86*69=5934, Resulting Numbers: [5934]
5934,38 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
14,
11,
43,
7
] | 52 | [
"14/7=2",
"11+43=54",
"54-2=52"
] | Current State: 52:[14, 11, 43, 7], Operations: []
Exploring Operation: 14/7=2, Resulting Numbers: [11, 43, 2]
Generated Node #2: [11, 43, 2] from Operation: 14/7=2
Current State: 52:[11, 43, 2], Operations: ['14/7=2']
Exploring Operation: 11+43=54, Resulting Numbers: [2, 54]
Generated Node #3: [2, 54] from Operation: 11+43=54
Current State: 52:[2, 54], Operations: ['14/7=2', '11+43=54']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[14, 11, 43, 7], Operations: []
Exploring Operation: 43+7=50, Resulting Numbers: [14, 11, 50]
Generated Node #0,0: 52:[14, 11, 50] Operation: 43+7=50
Exploring Operation: 14+43=57, Resulting Numbers: [11, 7, 57]
Generated Node #0,1: 52:[11, 7, 57] Operation: 14+43=57
Exploring Operation: 43-14=29, Resulting Numbers: [11, 7, 29]
Generated Node #0,2: 52:[11, 7, 29] Operation: 43-14=29
Exploring Operation: 11+43=54, Resulting Numbers: [14, 7, 54]
Generated Node #0,3: 52:[14, 7, 54] Operation: 11+43=54
Exploring Operation: 43-11=32, Resulting Numbers: [14, 7, 32]
Generated Node #0,4: 52:[14, 7, 32] Operation: 43-11=32
Moving to Node #0,0
Current State: 52:[14, 11, 50], Operations: ['43+7=50']
Exploring Operation: 14+11=25, Resulting Numbers: [50, 25]
Generated Node #0,0,0: 52:[50, 25] Operation: 14+11=25
Exploring Operation: 14+50=64, Resulting Numbers: [11, 64]
Generated Node #0,0,1: 52:[11, 64] Operation: 14+50=64
Exploring Operation: 14-11=3, Resulting Numbers: [50, 3]
Generated Node #0,0,2: 52:[50, 3] Operation: 14-11=3
Exploring Operation: 50-14=36, Resulting Numbers: [11, 36]
Generated Node #0,0,3: 52:[11, 36] Operation: 50-14=36
Exploring Operation: 11+50=61, Resulting Numbers: [14, 61]
Generated Node #0,0,4: 52:[14, 61] Operation: 11+50=61
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[50, 25], Operations: ['43+7=50', '14+11=25']
Exploring Operation: 50+25=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 50*25=1250, Resulting Numbers: [1250]
1250,52 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,52 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: 52:[50, 3], Operations: ['43+7=50', '14-11=3']
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,52 unequal: No Solution
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,52 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: 52:[14, 61], Operations: ['43+7=50', '11+50=61']
Exploring Operation: 14*61=854, Resulting Numbers: [854]
854,52 unequal: No Solution
Exploring Operation: 14+61=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,52 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: 52:[11, 36], Operations: ['43+7=50', '50-14=36']
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 11*36=396, Resulting Numbers: [396]
396,52 unequal: No Solution
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,52 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: 52:[11, 64], Operations: ['43+7=50', '14+50=64']
Exploring Operation: 11+64=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 11*64=704, Resulting Numbers: [704]
704,52 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: 52:[14, 7, 54], Operations: ['11+43=54']
Exploring Operation: 14/7=2, Resulting Numbers: [54, 2]
Generated Node #0,3,0: 52:[54, 2] Operation: 14/7=2
Exploring Operation: 7+54=61, Resulting Numbers: [14, 61]
Generated Node #0,3,1: 52:[14, 61] Operation: 7+54=61
Exploring Operation: 54-7=47, Resulting Numbers: [14, 47]
Generated Node #0,3,2: 52:[14, 47] Operation: 54-7=47
Exploring Operation: 14+7=21, Resulting Numbers: [54, 21]
Generated Node #0,3,3: 52:[54, 21] Operation: 14+7=21
Exploring Operation: 14-7=7, Resulting Numbers: [54, 7]
Generated Node #0,3,4: 52:[54, 7] Operation: 14-7=7
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 52:[54, 2], Operations: ['11+43=54', '14/7=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,52 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[14, 11, 43, 7], Operations: []
Exploring Operation: 11+43=54, Resulting Numbers: [14, 7, 54]
Generated Node #0,3: 52:[14, 7, 54] Operation: 11+43=54
Moving to Node #0,3
Current State: 52:[14, 7, 54], Operations: ['11+43=54']
Exploring Operation: 14/7=2, Resulting Numbers: [54, 2]
Generated Node #0,3,0: 52:[54, 2] Operation: 14/7=2
Moving to Node #0,3,0
Current State: 52:[54, 2], Operations: ['11+43=54', '14/7=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | mult_heuristic |
[
20,
22,
23,
56
] | 66 | [
"22-20=2",
"56-23=33",
"2*33=66"
] | Current State: 66:[20, 22, 23, 56], Operations: []
Exploring Operation: 22-20=2, Resulting Numbers: [23, 56, 2]
Generated Node #2: [23, 56, 2] from Operation: 22-20=2
Current State: 66:[23, 56, 2], Operations: ['22-20=2']
Exploring Operation: 56-23=33, Resulting Numbers: [2, 33]
Generated Node #3: [2, 33] from Operation: 56-23=33
Current State: 66:[2, 33], Operations: ['22-20=2', '56-23=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[20, 22, 23, 56], Operations: []
Exploring Operation: 56-23=33, Resulting Numbers: [20, 22, 33]
Generated Node #0,0: 66:[20, 22, 33] Operation: 56-23=33
Exploring Operation: 22-20=2, Resulting Numbers: [23, 56, 2]
Generated Node #0,1: 66:[23, 56, 2] Operation: 22-20=2
Exploring Operation: 56-20=36, Resulting Numbers: [22, 23, 36]
Generated Node #0,2: 66:[22, 23, 36] Operation: 56-20=36
Exploring Operation: 56-22=34, Resulting Numbers: [20, 23, 34]
Generated Node #0,3: 66:[20, 23, 34] Operation: 56-22=34
Exploring Operation: 23-20=3, Resulting Numbers: [22, 56, 3]
Generated Node #0,4: 66:[22, 56, 3] Operation: 23-20=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[20, 22, 33], Operations: ['56-23=33']
Exploring Operation: 22-20=2, Resulting Numbers: [33, 2]
Generated Node #0,0,0: 66:[33, 2] Operation: 22-20=2
Exploring Operation: 20+22=42, Resulting Numbers: [33, 42]
Generated Node #0,0,1: 66:[33, 42] Operation: 20+22=42
Exploring Operation: 33-20=13, Resulting Numbers: [22, 13]
Generated Node #0,0,2: 66:[22, 13] Operation: 33-20=13
Exploring Operation: 33-22=11, Resulting Numbers: [20, 11]
Generated Node #0,0,3: 66:[20, 11] Operation: 33-22=11
Exploring Operation: 20+33=53, Resulting Numbers: [22, 53]
Generated Node #0,0,4: 66:[22, 53] Operation: 20+33=53
Moving to Node #0,0,0
Current State: 66:[33, 2], Operations: ['56-23=33', '22-20=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[20, 22, 23, 56], Operations: []
Exploring Operation: 56-23=33, Resulting Numbers: [20, 22, 33]
Generated Node #0,0: 66:[20, 22, 33] Operation: 56-23=33
Moving to Node #0,0
Current State: 66:[20, 22, 33], Operations: ['56-23=33']
Exploring Operation: 22-20=2, Resulting Numbers: [33, 2]
Generated Node #0,0,0: 66:[33, 2] Operation: 22-20=2
Moving to Node #0,0,0
Current State: 66:[33, 2], Operations: ['56-23=33', '22-20=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
24,
1,
55,
2
] | 85 | [
"24+1=25",
"55*2=110",
"110-25=85"
] | Current State: 85:[24, 1, 55, 2], Operations: []
Exploring Operation: 24+1=25, Resulting Numbers: [55, 2, 25]
Generated Node #2: [55, 2, 25] from Operation: 24+1=25
Current State: 85:[55, 2, 25], Operations: ['24+1=25']
Exploring Operation: 55*2=110, Resulting Numbers: [25, 110]
Generated Node #3: [25, 110] from Operation: 55*2=110
Current State: 85:[25, 110], Operations: ['24+1=25', '55*2=110']
Exploring Operation: 110-25=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[24, 1, 55, 2], Operations: []
Exploring Operation: 24-2=22, Resulting Numbers: [1, 55, 22]
Generated Node #0,0: 85:[1, 55, 22] Operation: 24-2=22
Exploring Operation: 24+55=79, Resulting Numbers: [1, 2, 79]
Generated Node #0,1: 85:[1, 2, 79] Operation: 24+55=79
Exploring Operation: 55*2=110, Resulting Numbers: [24, 1, 110]
Generated Node #0,2: 85:[24, 1, 110] Operation: 55*2=110
Exploring Operation: 24-1=23, Resulting Numbers: [55, 2, 23]
Generated Node #0,3: 85:[55, 2, 23] Operation: 24-1=23
Exploring Operation: 55-24=31, Resulting Numbers: [1, 2, 31]
Generated Node #0,4: 85:[1, 2, 31] Operation: 55-24=31
Moving to Node #0,1
Current State: 85:[1, 2, 79], Operations: ['24+55=79']
Exploring Operation: 1+2=3, Resulting Numbers: [79, 3]
Generated Node #0,1,0: 85:[79, 3] Operation: 1+2=3
Exploring Operation: 2/1=2, Resulting Numbers: [79, 2]
Generated Node #0,1,1: 85:[79, 2] Operation: 2/1=2
Exploring Operation: 1*2=2, Resulting Numbers: [79, 2]
Generated Node #0,1,2: 85:[79, 2] Operation: 1*2=2
Exploring Operation: 1+79=80, Resulting Numbers: [2, 80]
Generated Node #0,1,3: 85:[2, 80] Operation: 1+79=80
Exploring Operation: 2+79=81, Resulting Numbers: [1, 81]
Generated Node #0,1,4: 85:[1, 81] Operation: 2+79=81
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[79, 3], Operations: ['24+55=79', '1+2=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 79*3=237, Resulting Numbers: [237]
237,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 85:[2, 80], Operations: ['24+55=79', '1+79=80']
Exploring Operation: 2*80=160, Resulting Numbers: [160]
160,85 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 85:[1, 81], Operations: ['24+55=79', '2+79=81']
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,85 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,85 unequal: No Solution
Exploring Operation: 1+81=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Exploring Operation: 1*81=81, Resulting Numbers: [81]
81,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[79, 2], Operations: ['24+55=79', '2/1=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,85 unequal: No Solution
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,85 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[79, 2], Operations: ['24+55=79', '1*2=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,85 unequal: No Solution
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,85 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: 85:[1, 2, 31], Operations: ['55-24=31']
Exploring Operation: 31-1=30, Resulting Numbers: [2, 30]
Generated Node #0,4,0: 85:[2, 30] Operation: 31-1=30
Exploring Operation: 31-2=29, Resulting Numbers: [1, 29]
Generated Node #0,4,1: 85:[1, 29] Operation: 31-2=29
Exploring Operation: 2/1=2, Resulting Numbers: [31, 2]
Generated Node #0,4,2: 85:[31, 2] Operation: 2/1=2
Exploring Operation: 1*2=2, Resulting Numbers: [31, 2]
Generated Node #0,4,3: 85:[31, 2] Operation: 1*2=2
Exploring Operation: 1+2=3, Resulting Numbers: [31, 3]
Generated Node #0,4,4: 85:[31, 3] Operation: 1+2=3
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 85:[2, 30], Operations: ['55-24=31', '31-1=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,85 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,85 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 85:[1, 29], Operations: ['55-24=31', '31-2=29']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 85:[31, 3], Operations: ['55-24=31', '1+2=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,85 unequal: No Solution
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 85:[31, 2], Operations: ['55-24=31', '2/1=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,85 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 85:[31, 2], Operations: ['55-24=31', '1*2=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,85 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,85 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: 85:[24, 1, 110], Operations: ['55*2=110']
Exploring Operation: 24-1=23, Resulting Numbers: [110, 23]
Generated Node #0,2,0: 85:[110, 23] Operation: 24-1=23
Exploring Operation: 110-1=109, Resulting Numbers: [24, 109]
Generated Node #0,2,1: 85:[24, 109] Operation: 110-1=109
Exploring Operation: 24*1=24, Resulting Numbers: [110, 24]
Generated Node #0,2,2: 85:[110, 24] Operation: 24*1=24
Exploring Operation: 110-24=86, Resulting Numbers: [1, 86]
Generated Node #0,2,3: 85:[1, 86] Operation: 110-24=86
Exploring Operation: 24/1=24, Resulting Numbers: [110, 24]
Generated Node #0,2,4: 85:[110, 24] Operation: 24/1=24
Moving to Node #0,0
Current State: 85:[1, 55, 22], Operations: ['24-2=22']
Exploring Operation: 55+22=77, Resulting Numbers: [1, 77]
Generated Node #0,0,0: 85:[1, 77] Operation: 55+22=77
Exploring Operation: 22-1=21, Resulting Numbers: [55, 21]
Generated Node #0,0,1: 85:[55, 21] Operation: 22-1=21
Exploring Operation: 1*55=55, Resulting Numbers: [22, 55]
Generated Node #0,0,2: 85:[22, 55] Operation: 1*55=55
Exploring Operation: 55-22=33, Resulting Numbers: [1, 33]
Generated Node #0,0,3: 85:[1, 33] Operation: 55-22=33
Exploring Operation: 1+55=56, Resulting Numbers: [22, 56]
Generated Node #0,0,4: 85:[22, 56] Operation: 1+55=56
Moving to Node #0,3
Current State: 85:[55, 2, 23], Operations: ['24-1=23']
Exploring Operation: 55+23=78, Resulting Numbers: [2, 78]
Generated Node #0,3,0: 85:[2, 78] Operation: 55+23=78
Exploring Operation: 23-2=21, Resulting Numbers: [55, 21]
Generated Node #0,3,1: 85:[55, 21] Operation: 23-2=21
Exploring Operation: 55-23=32, Resulting Numbers: [2, 32]
Generated Node #0,3,2: 85:[2, 32] Operation: 55-23=32
Exploring Operation: 55*2=110, Resulting Numbers: [23, 110]
Generated Node #0,3,3: 85:[23, 110] Operation: 55*2=110
Exploring Operation: 55+2=57, Resulting Numbers: [23, 57]
Generated Node #0,3,4: 85:[23, 57] Operation: 55+2=57
Moving to Node #0,2,3
Current State: 85:[1, 86], Operations: ['55*2=110', '110-24=86']
Exploring Operation: 1*86=86, Resulting Numbers: [86]
86,85 unequal: No Solution
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,85 unequal: No Solution
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[24, 1, 55, 2], Operations: []
Exploring Operation: 55*2=110, Resulting Numbers: [24, 1, 110]
Generated Node #0,2: 85:[24, 1, 110] Operation: 55*2=110
Moving to Node #0,2
Current State: 85:[24, 1, 110], Operations: ['55*2=110']
Exploring Operation: 110-24=86, Resulting Numbers: [1, 86]
Generated Node #0,2,3: 85:[1, 86] Operation: 110-24=86
Moving to Node #0,2,3
Current State: 85:[1, 86], Operations: ['55*2=110', '110-24=86']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.938368 | hs_5 | mult_heuristic |
[
4,
98,
88,
79
] | 73 | [
"98-4=94",
"88+79=167",
"167-94=73"
] | Current State: 73:[4, 98, 88, 79], Operations: []
Exploring Operation: 98-4=94, Resulting Numbers: [88, 79, 94]
Generated Node #2: [88, 79, 94] from Operation: 98-4=94
Current State: 73:[88, 79, 94], Operations: ['98-4=94']
Exploring Operation: 88+79=167, Resulting Numbers: [94, 167]
Generated Node #3: [94, 167] from Operation: 88+79=167
Current State: 73:[94, 167], Operations: ['98-4=94', '88+79=167']
Exploring Operation: 167-94=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[4, 98, 88, 79], Operations: []
Exploring Operation: 88-4=84, Resulting Numbers: [98, 79, 84]
Generated Node #0,0: 73:[98, 79, 84] Operation: 88-4=84
Exploring Operation: 98-4=94, Resulting Numbers: [88, 79, 94]
Generated Node #0,1: 73:[88, 79, 94] Operation: 98-4=94
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[98, 79, 84], Operations: ['88-4=84']
Exploring Operation: 98-84=14, Resulting Numbers: [79, 14]
Generated Node #0,0,0: 73:[79, 14] Operation: 98-84=14
Exploring Operation: 98-79=19, Resulting Numbers: [84, 19]
Generated Node #0,0,1: 73:[84, 19] Operation: 98-79=19
Moving to Node #0,0,0
Current State: 73:[79, 14], Operations: ['88-4=84', '98-84=14']
Exploring Operation: 79+14=93, Resulting Numbers: [93]
93,73 unequal: No Solution
Exploring Operation: 79-14=65, Resulting Numbers: [65]
65,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[84, 19], Operations: ['88-4=84', '98-79=19']
Exploring Operation: 84-19=65, Resulting Numbers: [65]
65,73 unequal: No Solution
Exploring Operation: 84+19=103, Resulting Numbers: [103]
103,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
Current State: 73:[88, 79, 94], Operations: ['98-4=94']
Exploring Operation: 94-79=15, Resulting Numbers: [88, 15]
Generated Node #0,1,0: 73:[88, 15] Operation: 94-79=15
Exploring Operation: 94-88=6, Resulting Numbers: [79, 6]
Generated Node #0,1,1: 73:[79, 6] Operation: 94-88=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[88, 15], Operations: ['98-4=94', '94-79=15']
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[4, 98, 88, 79], Operations: []
Exploring Operation: 98-4=94, Resulting Numbers: [88, 79, 94]
Generated Node #0,1: 73:[88, 79, 94] Operation: 98-4=94
Moving to Node #0,1
Current State: 73:[88, 79, 94], Operations: ['98-4=94']
Exploring Operation: 94-79=15, Resulting Numbers: [88, 15]
Generated Node #0,1,0: 73:[88, 15] Operation: 94-79=15
Moving to Node #0,1,0
Current State: 73:[88, 15], Operations: ['98-4=94', '94-79=15']
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
27,
11,
16,
39
] | 96 | [
"27+39=66",
"66/11=6",
"16*6=96"
] | Current State: 96:[27, 11, 16, 39], Operations: []
Exploring Operation: 27+39=66, Resulting Numbers: [11, 16, 66]
Generated Node #2: [11, 16, 66] from Operation: 27+39=66
Current State: 96:[11, 16, 66], Operations: ['27+39=66']
Exploring Operation: 66/11=6, Resulting Numbers: [16, 6]
Generated Node #3: [16, 6] from Operation: 66/11=6
Current State: 96:[16, 6], Operations: ['27+39=66', '66/11=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[27, 11, 16, 39], Operations: []
Exploring Operation: 11+39=50, Resulting Numbers: [27, 16, 50]
Generated Node #0,0: 96:[27, 16, 50] Operation: 11+39=50
Exploring Operation: 39-27=12, Resulting Numbers: [11, 16, 12]
Generated Node #0,1: 96:[11, 16, 12] Operation: 39-27=12
Moving to Node #0,1
Current State: 96:[11, 16, 12], Operations: ['39-27=12']
Exploring Operation: 16-11=5, Resulting Numbers: [12, 5]
Generated Node #0,1,0: 96:[12, 5] Operation: 16-11=5
Exploring Operation: 11+12=23, Resulting Numbers: [16, 23]
Generated Node #0,1,1: 96:[16, 23] Operation: 11+12=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[12, 5], Operations: ['39-27=12', '16-11=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,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,1
Current State: 96:[16, 23], Operations: ['39-27=12', '11+12=23']
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,96 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: 96:[27, 16, 50], Operations: ['11+39=50']
Exploring Operation: 27-16=11, Resulting Numbers: [50, 11]
Generated Node #0,0,0: 96:[50, 11] Operation: 27-16=11
Exploring Operation: 50-27=23, Resulting Numbers: [16, 23]
Generated Node #0,0,1: 96:[16, 23] Operation: 50-27=23
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[16, 23], Operations: ['11+39=50', '50-27=23']
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,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,0,0
Current State: 96:[50, 11], Operations: ['11+39=50', '27-16=11']
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,96 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,96 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 |
[
35,
20,
5,
14
] | 85 | [
"35-20=15",
"5*14=70",
"15+70=85"
] | Current State: 85:[35, 20, 5, 14], Operations: []
Exploring Operation: 35-20=15, Resulting Numbers: [5, 14, 15]
Generated Node #2: [5, 14, 15] from Operation: 35-20=15
Current State: 85:[5, 14, 15], Operations: ['35-20=15']
Exploring Operation: 5*14=70, Resulting Numbers: [15, 70]
Generated Node #3: [15, 70] from Operation: 5*14=70
Current State: 85:[15, 70], Operations: ['35-20=15', '5*14=70']
Exploring Operation: 15+70=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[35, 20, 5, 14], Operations: []
Exploring Operation: 35-20=15, Resulting Numbers: [5, 14, 15]
Generated Node #0,0: 85:[5, 14, 15] Operation: 35-20=15
Exploring Operation: 35-14=21, Resulting Numbers: [20, 5, 21]
Generated Node #0,1: 85:[20, 5, 21] Operation: 35-14=21
Exploring Operation: 35-5=30, Resulting Numbers: [20, 14, 30]
Generated Node #0,2: 85:[20, 14, 30] Operation: 35-5=30
Exploring Operation: 35/5=7, Resulting Numbers: [20, 14, 7]
Generated Node #0,3: 85:[20, 14, 7] Operation: 35/5=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[5, 14, 15], Operations: ['35-20=15']
Exploring Operation: 15-14=1, Resulting Numbers: [5, 1]
Generated Node #0,0,0: 85:[5, 1] Operation: 15-14=1
Exploring Operation: 15/5=3, Resulting Numbers: [14, 3]
Generated Node #0,0,1: 85:[14, 3] Operation: 15/5=3
Exploring Operation: 5+14=19, Resulting Numbers: [15, 19]
Generated Node #0,0,2: 85:[15, 19] Operation: 5+14=19
Exploring Operation: 14-5=9, Resulting Numbers: [15, 9]
Generated Node #0,0,3: 85:[15, 9] Operation: 14-5=9
Moving to Node #0,0,0
Current State: 85:[5, 1], Operations: ['35-20=15', '15-14=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[15, 19], Operations: ['35-20=15', '5+14=19']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,85 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[14, 3], Operations: ['35-20=15', '15/5=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,85 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[15, 9], Operations: ['35-20=15', '14-5=9']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[20, 5, 21], Operations: ['35-14=21']
Exploring Operation: 21-5=16, Resulting Numbers: [20, 16]
Generated Node #0,1,0: 85:[20, 16] Operation: 21-5=16
Exploring Operation: 21-20=1, Resulting Numbers: [5, 1]
Generated Node #0,1,1: 85:[5, 1] Operation: 21-20=1
Exploring Operation: 20-5=15, Resulting Numbers: [21, 15]
Generated Node #0,1,2: 85:[21, 15] Operation: 20-5=15
Exploring Operation: 20/5=4, Resulting Numbers: [21, 4]
Generated Node #0,1,3: 85:[21, 4] Operation: 20/5=4
Moving to Node #0,1,0
Current State: 85:[20, 16], Operations: ['35-14=21', '21-5=16']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[5, 1], Operations: ['35-14=21', '21-20=1']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Moving to Node #0,1,3
Current State: 85:[21, 4], Operations: ['35-14=21', '20/5=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,85 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[21, 15], Operations: ['35-14=21', '20-5=15']
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[20, 14, 7], Operations: ['35/5=7']
Exploring Operation: 14/7=2, Resulting Numbers: [20, 2]
Generated Node #0,3,0: 85:[20, 2] Operation: 14/7=2
Exploring Operation: 20-14=6, Resulting Numbers: [7, 6]
Generated Node #0,3,1: 85:[7, 6] Operation: 20-14=6
Exploring Operation: 20-7=13, Resulting Numbers: [14, 13]
Generated Node #0,3,2: 85:[14, 13] Operation: 20-7=13
Exploring Operation: 14-7=7, Resulting Numbers: [20, 7]
Generated Node #0,3,3: 85:[20, 7] Operation: 14-7=7
Moving to Node #0,3,1
Current State: 85:[7, 6], Operations: ['35/5=7', '20-14=6']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,85 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Moving to Node #0,3,3
Current State: 85:[20, 7], Operations: ['35/5=7', '14-7=7']
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,85 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,85 unequal: No Solution
Moving to Node #0,3,0
Current State: 85:[20, 2], Operations: ['35/5=7', '14/7=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[14, 13], Operations: ['35/5=7', '20-7=13']
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,85 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,85 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[20, 14, 30], Operations: ['35-5=30']
Exploring Operation: 30-14=16, Resulting Numbers: [20, 16]
Generated Node #0,2,0: 85:[20, 16] Operation: 30-14=16
Exploring Operation: 20-14=6, Resulting Numbers: [30, 6]
Generated Node #0,2,1: 85:[30, 6] Operation: 20-14=6
Exploring Operation: 30-20=10, Resulting Numbers: [14, 10]
Generated Node #0,2,2: 85:[14, 10] Operation: 30-20=10
Exploring Operation: 20+14=34, Resulting Numbers: [30, 34]
Generated Node #0,2,3: 85:[30, 34] Operation: 20+14=34
Moving to Node #0,2,0
Current State: 85:[20, 16], Operations: ['35-5=30', '30-14=16']
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[14, 10], Operations: ['35-5=30', '30-20=10']
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,85 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[30, 6], Operations: ['35-5=30', '20-14=6']
Exploring Operation: 30*6=180, Resulting Numbers: [180]
180,85 unequal: No Solution
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Moving to Node #0,2,3
Current State: 85:[30, 34], Operations: ['35-5=30', '20+14=34']
Exploring Operation: 30+34=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 30*34=1020, Resulting Numbers: [1020]
1020,85 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 |
[
79,
72,
63,
90
] | 89 | [
"72-63=9",
"90/9=10",
"79+10=89"
] | Current State: 89:[79, 72, 63, 90], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [79, 90, 9]
Generated Node #2: [79, 90, 9] from Operation: 72-63=9
Current State: 89:[79, 90, 9], Operations: ['72-63=9']
Exploring Operation: 90/9=10, Resulting Numbers: [79, 10]
Generated Node #3: [79, 10] from Operation: 90/9=10
Current State: 89:[79, 10], Operations: ['72-63=9', '90/9=10']
Exploring Operation: 79+10=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[79, 72, 63, 90], Operations: []
Exploring Operation: 72+63=135, Resulting Numbers: [79, 90, 135]
Generated Node #0,0: 89:[79, 90, 135] Operation: 72+63=135
Exploring Operation: 90-63=27, Resulting Numbers: [79, 72, 27]
Generated Node #0,1: 89:[79, 72, 27] Operation: 90-63=27
Exploring Operation: 79+72=151, Resulting Numbers: [63, 90, 151]
Generated Node #0,2: 89:[63, 90, 151] Operation: 79+72=151
Exploring Operation: 79+63=142, Resulting Numbers: [72, 90, 142]
Generated Node #0,3: 89:[72, 90, 142] Operation: 79+63=142
Exploring Operation: 79-63=16, Resulting Numbers: [72, 90, 16]
Generated Node #0,4: 89:[72, 90, 16] Operation: 79-63=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[79, 90, 135], Operations: ['72+63=135']
Exploring Operation: 90-79=11, Resulting Numbers: [135, 11]
Generated Node #0,0,0: 89:[135, 11] Operation: 90-79=11
Exploring Operation: 79+90=169, Resulting Numbers: [135, 169]
Generated Node #0,0,1: 89:[135, 169] Operation: 79+90=169
Exploring Operation: 135-90=45, Resulting Numbers: [79, 45]
Generated Node #0,0,2: 89:[79, 45] Operation: 135-90=45
Exploring Operation: 135-79=56, Resulting Numbers: [90, 56]
Generated Node #0,0,3: 89:[90, 56] Operation: 135-79=56
Exploring Operation: 79+135=214, Resulting Numbers: [90, 214]
Generated Node #0,0,4: 89:[90, 214] Operation: 79+135=214
Moving to Node #0,0,3
Current State: 89:[90, 56], Operations: ['72+63=135', '135-79=56']
Exploring Operation: 90*56=5040, Resulting Numbers: [5040]
5040,89 unequal: No Solution
Exploring Operation: 90+56=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Exploring Operation: 90-56=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[79, 45], Operations: ['72+63=135', '135-90=45']
Exploring Operation: 79+45=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 79-45=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Exploring Operation: 79*45=3555, Resulting Numbers: [3555]
3555,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[135, 11], Operations: ['72+63=135', '90-79=11']
Exploring Operation: 135+11=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Exploring Operation: 135-11=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 135*11=1485, Resulting Numbers: [1485]
1485,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[135, 169], Operations: ['72+63=135', '79+90=169']
Exploring Operation: 135+169=304, Resulting Numbers: [304]
304,89 unequal: No Solution
Exploring Operation: 169-135=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Exploring Operation: 135*169=22815, Resulting Numbers: [22815]
22815,89 unequal: No Solution
Moving to Node #0,0,4
Current State: 89:[90, 214], Operations: ['72+63=135', '79+135=214']
Exploring Operation: 90*214=19260, Resulting Numbers: [19260]
19260,89 unequal: No Solution
Exploring Operation: 90+214=304, Resulting Numbers: [304]
304,89 unequal: No Solution
Exploring Operation: 214-90=124, Resulting Numbers: [124]
124,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,3
Current State: 89:[72, 90, 142], Operations: ['79+63=142']
Exploring Operation: 142-90=52, Resulting Numbers: [72, 52]
Generated Node #0,3,0: 89:[72, 52] Operation: 142-90=52
Exploring Operation: 90-72=18, Resulting Numbers: [142, 18]
Generated Node #0,3,1: 89:[142, 18] Operation: 90-72=18
Exploring Operation: 142-72=70, Resulting Numbers: [90, 70]
Generated Node #0,3,2: 89:[90, 70] Operation: 142-72=70
Exploring Operation: 72+90=162, Resulting Numbers: [142, 162]
Generated Node #0,3,3: 89:[142, 162] Operation: 72+90=162
Exploring Operation: 72+142=214, Resulting Numbers: [90, 214]
Generated Node #0,3,4: 89:[90, 214] Operation: 72+142=214
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 89:[90, 70], Operations: ['79+63=142', '142-72=70']
Exploring Operation: 90+70=160, Resulting Numbers: [160]
160,89 unequal: No Solution
Exploring Operation: 90*70=6300, Resulting Numbers: [6300]
6300,89 unequal: No Solution
Exploring Operation: 90-70=20, Resulting Numbers: [20]
20,89 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: 89:[72, 52], Operations: ['79+63=142', '142-90=52']
Exploring Operation: 72+52=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 72*52=3744, Resulting Numbers: [3744]
3744,89 unequal: No Solution
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,89 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: 89:[142, 18], Operations: ['79+63=142', '90-72=18']
Exploring Operation: 142+18=160, Resulting Numbers: [160]
160,89 unequal: No Solution
Exploring Operation: 142*18=2556, Resulting Numbers: [2556]
2556,89 unequal: No Solution
Exploring Operation: 142-18=124, Resulting Numbers: [124]
124,89 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: 89:[142, 162], Operations: ['79+63=142', '72+90=162']
Exploring Operation: 162-142=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 142+162=304, Resulting Numbers: [304]
304,89 unequal: No Solution
Exploring Operation: 142*162=23004, Resulting Numbers: [23004]
23004,89 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: 89:[90, 214], Operations: ['79+63=142', '72+142=214']
Exploring Operation: 214-90=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 90+214=304, Resulting Numbers: [304]
304,89 unequal: No Solution
Exploring Operation: 90*214=19260, Resulting Numbers: [19260]
19260,89 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: 89:[79, 72, 27], Operations: ['90-63=27']
Exploring Operation: 72+27=99, Resulting Numbers: [79, 99]
Generated Node #0,1,0: 89:[79, 99] Operation: 72+27=99
Exploring Operation: 79-27=52, Resulting Numbers: [72, 52]
Generated Node #0,1,1: 89:[72, 52] Operation: 79-27=52
Exploring Operation: 79+72=151, Resulting Numbers: [27, 151]
Generated Node #0,1,2: 89:[27, 151] Operation: 79+72=151
Exploring Operation: 79+27=106, Resulting Numbers: [72, 106]
Generated Node #0,1,3: 89:[72, 106] Operation: 79+27=106
Exploring Operation: 72-27=45, Resulting Numbers: [79, 45]
Generated Node #0,1,4: 89:[79, 45] Operation: 72-27=45
Moving to Node #0,1,0
Current State: 89:[79, 99], Operations: ['90-63=27', '72+27=99']
Exploring Operation: 79+99=178, Resulting Numbers: [178]
178,89 unequal: No Solution
Exploring Operation: 79*99=7821, Resulting Numbers: [7821]
7821,89 unequal: No Solution
Exploring Operation: 99-79=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[72, 106], Operations: ['90-63=27', '79+27=106']
Exploring Operation: 72*106=7632, Resulting Numbers: [7632]
7632,89 unequal: No Solution
Exploring Operation: 106-72=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Exploring Operation: 72+106=178, Resulting Numbers: [178]
178,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[72, 52], Operations: ['90-63=27', '79-27=52']
Exploring Operation: 72+52=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 72*52=3744, Resulting Numbers: [3744]
3744,89 unequal: No Solution
Moving to Node #0,1,4
Current State: 89:[79, 45], Operations: ['90-63=27', '72-27=45']
Exploring Operation: 79-45=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Exploring Operation: 79*45=3555, Resulting Numbers: [3555]
3555,89 unequal: No Solution
Exploring Operation: 79+45=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[27, 151], Operations: ['90-63=27', '79+72=151']
Exploring Operation: 27*151=4077, Resulting Numbers: [4077]
4077,89 unequal: No Solution
Exploring Operation: 151-27=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 27+151=178, Resulting Numbers: [178]
178,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
Current State: 89:[63, 90, 151], Operations: ['79+72=151']
Exploring Operation: 63+90=153, Resulting Numbers: [151, 153]
Generated Node #0,2,0: 89:[151, 153] Operation: 63+90=153
Exploring Operation: 151-90=61, Resulting Numbers: [63, 61]
Generated Node #0,2,1: 89:[63, 61] Operation: 151-90=61
Exploring Operation: 63+151=214, Resulting Numbers: [90, 214]
Generated Node #0,2,2: 89:[90, 214] Operation: 63+151=214
Exploring Operation: 90-63=27, Resulting Numbers: [151, 27]
Generated Node #0,2,3: 89:[151, 27] Operation: 90-63=27
Exploring Operation: 151-63=88, Resulting Numbers: [90, 88]
Generated Node #0,2,4: 89:[90, 88] Operation: 151-63=88
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 89:[90, 88], Operations: ['79+72=151', '151-63=88']
Exploring Operation: 90+88=178, Resulting Numbers: [178]
178,89 unequal: No Solution
Exploring Operation: 90*88=7920, Resulting Numbers: [7920]
7920,89 unequal: No Solution
Exploring Operation: 90-88=2, Resulting Numbers: [2]
2,89 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: 89:[63, 61], Operations: ['79+72=151', '151-90=61']
Exploring Operation: 63+61=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 63-61=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 63*61=3843, Resulting Numbers: [3843]
3843,89 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: 89:[151, 27], Operations: ['79+72=151', '90-63=27']
Exploring Operation: 151-27=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 151*27=4077, Resulting Numbers: [4077]
4077,89 unequal: No Solution
Exploring Operation: 151+27=178, Resulting Numbers: [178]
178,89 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: 89:[151, 153], Operations: ['79+72=151', '63+90=153']
Exploring Operation: 153-151=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 151*153=23103, Resulting Numbers: [23103]
23103,89 unequal: No Solution
Exploring Operation: 151+153=304, Resulting Numbers: [304]
304,89 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: 89:[90, 214], Operations: ['79+72=151', '63+151=214']
Exploring Operation: 90+214=304, Resulting Numbers: [304]
304,89 unequal: No Solution
Exploring Operation: 214-90=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 90*214=19260, Resulting Numbers: [19260]
19260,89 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: 89:[72, 90, 16], Operations: ['79-63=16']
Exploring Operation: 90+16=106, Resulting Numbers: [72, 106]
Generated Node #0,4,0: 89:[72, 106] Operation: 90+16=106
Exploring Operation: 90-16=74, Resulting Numbers: [72, 74]
Generated Node #0,4,1: 89:[72, 74] Operation: 90-16=74
Exploring Operation: 90-72=18, Resulting Numbers: [16, 18]
Generated Node #0,4,2: 89:[16, 18] Operation: 90-72=18
Exploring Operation: 72-16=56, Resulting Numbers: [90, 56]
Generated Node #0,4,3: 89:[90, 56] Operation: 72-16=56
Exploring Operation: 72+16=88, Resulting Numbers: [90, 88]
Generated Node #0,4,4: 89:[90, 88] Operation: 72+16=88
Moving to Node #0,4,4
Current State: 89:[90, 88], Operations: ['79-63=16', '72+16=88']
Exploring Operation: 90+88=178, Resulting Numbers: [178]
178,89 unequal: No Solution
Exploring Operation: 90*88=7920, Resulting Numbers: [7920]
7920,89 unequal: No Solution
Exploring Operation: 90-88=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Moving to Node #0,4,1
Current State: 89:[72, 74], Operations: ['79-63=16', '90-16=74']
Exploring Operation: 72*74=5328, Resulting Numbers: [5328]
5328,89 unequal: No Solution
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 72+74=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Moving to Node #0,4,0
Current State: 89:[72, 106], Operations: ['79-63=16', '90+16=106']
Exploring Operation: 72*106=7632, Resulting Numbers: [7632]
7632,89 unequal: No Solution
Exploring Operation: 72+106=178, Resulting Numbers: [178]
178,89 unequal: No Solution
Exploring Operation: 106-72=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Moving to Node #0,4,3
Current State: 89:[90, 56], Operations: ['79-63=16', '72-16=56']
Exploring Operation: 90*56=5040, Resulting Numbers: [5040]
5040,89 unequal: No Solution
Exploring Operation: 90-56=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Exploring Operation: 90+56=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Moving to Node #0,4,2
Current State: 89:[16, 18], Operations: ['79-63=16', '90-72=18']
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,89 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
26,
8,
87,
29
] | 98 | [
"26-8=18",
"87+29=116",
"116-18=98"
] | Current State: 98:[26, 8, 87, 29], Operations: []
Exploring Operation: 26-8=18, Resulting Numbers: [87, 29, 18]
Generated Node #2: [87, 29, 18] from Operation: 26-8=18
Current State: 98:[87, 29, 18], Operations: ['26-8=18']
Exploring Operation: 87+29=116, Resulting Numbers: [18, 116]
Generated Node #3: [18, 116] from Operation: 87+29=116
Current State: 98:[18, 116], Operations: ['26-8=18', '87+29=116']
Exploring Operation: 116-18=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[26, 8, 87, 29], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [8, 87, 3]
Generated Node #0,0: 98:[8, 87, 3] Operation: 29-26=3
Moving to Node #0,0
Current State: 98:[8, 87, 3], Operations: ['29-26=3']
Exploring Operation: 8+87=95, Resulting Numbers: [3, 95]
Generated Node #0,0,0: 98:[3, 95] Operation: 8+87=95
Moving to Node #0,0,0
Current State: 98:[3, 95], Operations: ['29-26=3', '8+87=95']
Exploring Operation: 3+95=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[26, 8, 87, 29], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [8, 87, 3]
Generated Node #0,0: 98:[8, 87, 3] Operation: 29-26=3
Moving to Node #0,0
Current State: 98:[8, 87, 3], Operations: ['29-26=3']
Exploring Operation: 8+87=95, Resulting Numbers: [3, 95]
Generated Node #0,0,0: 98:[3, 95] Operation: 8+87=95
Moving to Node #0,0,0
Current State: 98:[3, 95], Operations: ['29-26=3', '8+87=95']
Exploring Operation: 3+95=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
59,
2,
10,
74
] | 32 | [
"59+10=69",
"74/2=37",
"69-37=32"
] | Current State: 32:[59, 2, 10, 74], Operations: []
Exploring Operation: 59+10=69, Resulting Numbers: [2, 74, 69]
Generated Node #2: [2, 74, 69] from Operation: 59+10=69
Current State: 32:[2, 74, 69], Operations: ['59+10=69']
Exploring Operation: 74/2=37, Resulting Numbers: [69, 37]
Generated Node #3: [69, 37] from Operation: 74/2=37
Current State: 32:[69, 37], Operations: ['59+10=69', '74/2=37']
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[59, 2, 10, 74], Operations: []
Exploring Operation: 74-59=15, Resulting Numbers: [2, 10, 15]
Generated Node #0,0: 32:[2, 10, 15] Operation: 74-59=15
Exploring Operation: 74/2=37, Resulting Numbers: [59, 10, 37]
Generated Node #0,1: 32:[59, 10, 37] Operation: 74/2=37
Exploring Operation: 74-10=64, Resulting Numbers: [59, 2, 64]
Generated Node #0,2: 32:[59, 2, 64] Operation: 74-10=64
Exploring Operation: 59-10=49, Resulting Numbers: [2, 74, 49]
Generated Node #0,3: 32:[2, 74, 49] Operation: 59-10=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[2, 10, 15], Operations: ['74-59=15']
Exploring Operation: 10/2=5, Resulting Numbers: [15, 5]
Generated Node #0,0,0: 32:[15, 5] Operation: 10/2=5
Exploring Operation: 10-2=8, Resulting Numbers: [15, 8]
Generated Node #0,0,1: 32:[15, 8] Operation: 10-2=8
Exploring Operation: 2+15=17, Resulting Numbers: [10, 17]
Generated Node #0,0,2: 32:[10, 17] Operation: 2+15=17
Exploring Operation: 15-10=5, Resulting Numbers: [2, 5]
Generated Node #0,0,3: 32:[2, 5] Operation: 15-10=5
Moving to Node #0,0,1
Current State: 32:[15, 8], Operations: ['74-59=15', '10-2=8']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,32 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[2, 5], Operations: ['74-59=15', '15-10=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[15, 5], Operations: ['74-59=15', '10/2=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,32 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[10, 17], Operations: ['74-59=15', '2+15=17']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,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,1
Current State: 32:[59, 10, 37], Operations: ['74/2=37']
Exploring Operation: 59+10=69, Resulting Numbers: [37, 69]
Generated Node #0,1,0: 32:[37, 69] Operation: 59+10=69
Exploring Operation: 59-10=49, Resulting Numbers: [37, 49]
Generated Node #0,1,1: 32:[37, 49] Operation: 59-10=49
Exploring Operation: 37-10=27, Resulting Numbers: [59, 27]
Generated Node #0,1,2: 32:[59, 27] Operation: 37-10=27
Exploring Operation: 59-37=22, Resulting Numbers: [10, 22]
Generated Node #0,1,3: 32:[10, 22] Operation: 59-37=22
Moving to Node #0,1,3
Current State: 32:[10, 22], Operations: ['74/2=37', '59-37=22']
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,32 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[59, 2, 10, 74], Operations: []
Exploring Operation: 74/2=37, Resulting Numbers: [59, 10, 37]
Generated Node #0,1: 32:[59, 10, 37] Operation: 74/2=37
Moving to Node #0,1
Current State: 32:[59, 10, 37], Operations: ['74/2=37']
Exploring Operation: 59-37=22, Resulting Numbers: [10, 22]
Generated Node #0,1,3: 32:[10, 22] Operation: 59-37=22
Moving to Node #0,1,3
Current State: 32:[10, 22], Operations: ['74/2=37', '59-37=22']
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
24,
50,
48,
11
] | 72 | [
"48/24=2",
"11*2=22",
"50+22=72"
] | Current State: 72:[24, 50, 48, 11], Operations: []
Exploring Operation: 48/24=2, Resulting Numbers: [50, 11, 2]
Generated Node #2: [50, 11, 2] from Operation: 48/24=2
Current State: 72:[50, 11, 2], Operations: ['48/24=2']
Exploring Operation: 11*2=22, Resulting Numbers: [50, 22]
Generated Node #3: [50, 22] from Operation: 11*2=22
Current State: 72:[50, 22], Operations: ['48/24=2', '11*2=22']
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[24, 50, 48, 11], Operations: []
Exploring Operation: 24+50=74, Resulting Numbers: [48, 11, 74]
Generated Node #0,0: 72:[48, 11, 74] Operation: 24+50=74
Exploring Operation: 50-48=2, Resulting Numbers: [24, 11, 2]
Generated Node #0,1: 72:[24, 11, 2] Operation: 50-48=2
Exploring Operation: 24+48=72, Resulting Numbers: [50, 11, 72]
Generated Node #0,2: 72:[50, 11, 72] Operation: 24+48=72
Exploring Operation: 48-24=24, Resulting Numbers: [50, 11, 24]
Generated Node #0,3: 72:[50, 11, 24] Operation: 48-24=24
Exploring Operation: 50-24=26, Resulting Numbers: [48, 11, 26]
Generated Node #0,4: 72:[48, 11, 26] Operation: 50-24=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[24, 11, 2], Operations: ['50-48=2']
Exploring Operation: 11+2=13, Resulting Numbers: [24, 13]
Generated Node #0,1,0: 72:[24, 13] Operation: 11+2=13
Exploring Operation: 24-11=13, Resulting Numbers: [2, 13]
Generated Node #0,1,1: 72:[2, 13] Operation: 24-11=13
Exploring Operation: 11-2=9, Resulting Numbers: [24, 9]
Generated Node #0,1,2: 72:[24, 9] Operation: 11-2=9
Exploring Operation: 24/2=12, Resulting Numbers: [11, 12]
Generated Node #0,1,3: 72:[11, 12] Operation: 24/2=12
Exploring Operation: 24+11=35, Resulting Numbers: [2, 35]
Generated Node #0,1,4: 72:[2, 35] Operation: 24+11=35
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 72:[24, 9], Operations: ['50-48=2', '11-2=9']
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,72 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,72 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,72 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: 72:[24, 13], Operations: ['50-48=2', '11+2=13']
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,72 unequal: No Solution
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,72 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,72 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: 72:[2, 13], Operations: ['50-48=2', '24-11=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,72 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: 72:[11, 12], Operations: ['50-48=2', '24/2=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,72 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,72 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: 72:[2, 35], Operations: ['50-48=2', '24+11=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,72 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,72 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: 72:[48, 11, 74], Operations: ['24+50=74']
Exploring Operation: 11+74=85, Resulting Numbers: [48, 85]
Generated Node #0,0,0: 72:[48, 85] Operation: 11+74=85
Exploring Operation: 48+11=59, Resulting Numbers: [74, 59]
Generated Node #0,0,1: 72:[74, 59] Operation: 48+11=59
Exploring Operation: 74-48=26, Resulting Numbers: [11, 26]
Generated Node #0,0,2: 72:[11, 26] Operation: 74-48=26
Exploring Operation: 48-11=37, Resulting Numbers: [74, 37]
Generated Node #0,0,3: 72:[74, 37] Operation: 48-11=37
Exploring Operation: 74-11=63, Resulting Numbers: [48, 63]
Generated Node #0,0,4: 72:[48, 63] Operation: 74-11=63
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 72:[11, 26], Operations: ['24+50=74', '74-48=26']
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,72 unequal: No Solution
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,72 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,72 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: 72:[74, 37], Operations: ['24+50=74', '48-11=37']
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 74+37=111, Resulting Numbers: [111]
111,72 unequal: No Solution
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,72 unequal: No Solution
Exploring Operation: 74*37=2738, Resulting Numbers: [2738]
2738,72 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: 72:[74, 59], Operations: ['24+50=74', '48+11=59']
Exploring Operation: 74*59=4366, Resulting Numbers: [4366]
4366,72 unequal: No Solution
Exploring Operation: 74-59=15, Resulting Numbers: [15]
15,72 unequal: No Solution
Exploring Operation: 74+59=133, Resulting Numbers: [133]
133,72 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: 72:[48, 63], Operations: ['24+50=74', '74-11=63']
Exploring Operation: 48*63=3024, Resulting Numbers: [3024]
3024,72 unequal: No Solution
Exploring Operation: 48+63=111, Resulting Numbers: [111]
111,72 unequal: No Solution
Exploring Operation: 63-48=15, Resulting Numbers: [15]
15,72 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: 72:[48, 85], Operations: ['24+50=74', '11+74=85']
Exploring Operation: 48+85=133, Resulting Numbers: [133]
133,72 unequal: No Solution
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,72 unequal: No Solution
Exploring Operation: 48*85=4080, Resulting Numbers: [4080]
4080,72 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: 72:[50, 11, 72], Operations: ['24+48=72']
Exploring Operation: 11+72=83, Resulting Numbers: [50, 83]
Generated Node #0,2,0: 72:[50, 83] Operation: 11+72=83
Exploring Operation: 72-50=22, Resulting Numbers: [11, 22]
Generated Node #0,2,1: 72:[11, 22] Operation: 72-50=22
Exploring Operation: 50+11=61, Resulting Numbers: [72, 61]
Generated Node #0,2,2: 72:[72, 61] Operation: 50+11=61
Exploring Operation: 72-11=61, Resulting Numbers: [50, 61]
Generated Node #0,2,3: 72:[50, 61] Operation: 72-11=61
Exploring Operation: 50-11=39, Resulting Numbers: [72, 39]
Generated Node #0,2,4: 72:[72, 39] Operation: 50-11=39
Moving to Node #0,2,1
Current State: 72:[11, 22], Operations: ['24+48=72', '72-50=22']
Exploring Operation: 11*22=242, Resulting Numbers: [242]
242,72 unequal: No Solution
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Moving to Node #0,2,4
Current State: 72:[72, 39], Operations: ['24+48=72', '50-11=39']
Exploring Operation: 72+39=111, Resulting Numbers: [111]
111,72 unequal: No Solution
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 72*39=2808, Resulting Numbers: [2808]
2808,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[72, 61], Operations: ['24+48=72', '50+11=61']
Exploring Operation: 72+61=133, Resulting Numbers: [133]
133,72 unequal: No Solution
Exploring Operation: 72*61=4392, Resulting Numbers: [4392]
4392,72 unequal: No Solution
Exploring Operation: 72-61=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[50, 83], Operations: ['24+48=72', '11+72=83']
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 50+83=133, Resulting Numbers: [133]
133,72 unequal: No Solution
Exploring Operation: 50*83=4150, Resulting Numbers: [4150]
4150,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[50, 61], Operations: ['24+48=72', '72-11=61']
Exploring Operation: 50*61=3050, Resulting Numbers: [3050]
3050,72 unequal: No Solution
Exploring Operation: 50+61=111, Resulting Numbers: [111]
111,72 unequal: No Solution
Exploring Operation: 61-50=11, Resulting Numbers: [11]
11,72 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: 72:[50, 11, 24], Operations: ['48-24=24']
Exploring Operation: 50-24=26, Resulting Numbers: [11, 26]
Generated Node #0,3,0: 72:[11, 26] Operation: 50-24=26
Exploring Operation: 50-11=39, Resulting Numbers: [24, 39]
Generated Node #0,3,1: 72:[24, 39] Operation: 50-11=39
Exploring Operation: 50+11=61, Resulting Numbers: [24, 61]
Generated Node #0,3,2: 72:[24, 61] Operation: 50+11=61
Exploring Operation: 50+24=74, Resulting Numbers: [11, 74]
Generated Node #0,3,3: 72:[11, 74] Operation: 50+24=74
Exploring Operation: 11+24=35, Resulting Numbers: [50, 35]
Generated Node #0,3,4: 72:[50, 35] Operation: 11+24=35
Moving to Node #0,3,0
Current State: 72:[11, 26], Operations: ['48-24=24', '50-24=26']
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,72 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,72 unequal: No Solution
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,72 unequal: No Solution
Moving to Node #0,3,3
Current State: 72:[11, 74], Operations: ['48-24=24', '50+24=74']
Exploring Operation: 11+74=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Exploring Operation: 11*74=814, Resulting Numbers: [814]
814,72 unequal: No Solution
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Moving to Node #0,3,1
Current State: 72:[24, 39], Operations: ['48-24=24', '50-11=39']
Exploring Operation: 24+39=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,72 unequal: No Solution
Exploring Operation: 24*39=936, Resulting Numbers: [936]
936,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[24, 61], Operations: ['48-24=24', '50+11=61']
Exploring Operation: 24+61=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,72 unequal: No Solution
Exploring Operation: 24*61=1464, Resulting Numbers: [1464]
1464,72 unequal: No Solution
Moving to Node #0,3,4
Current State: 72:[50, 35], Operations: ['48-24=24', '11+24=35']
Exploring Operation: 50+35=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Exploring Operation: 50*35=1750, Resulting Numbers: [1750]
1750,72 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,72 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: 72:[48, 11, 26], Operations: ['50-24=26']
Exploring Operation: 48-11=37, Resulting Numbers: [26, 37]
Generated Node #0,4,0: 72:[26, 37] Operation: 48-11=37
Exploring Operation: 48+11=59, Resulting Numbers: [26, 59]
Generated Node #0,4,1: 72:[26, 59] Operation: 48+11=59
Exploring Operation: 48-26=22, Resulting Numbers: [11, 22]
Generated Node #0,4,2: 72:[11, 22] Operation: 48-26=22
Exploring Operation: 11+26=37, Resulting Numbers: [48, 37]
Generated Node #0,4,3: 72:[48, 37] Operation: 11+26=37
Exploring Operation: 48+26=74, Resulting Numbers: [11, 74]
Generated Node #0,4,4: 72:[11, 74] Operation: 48+26=74
Moving to Node #0,4,0
Current State: 72:[26, 37], Operations: ['50-24=26', '48-11=37']
Exploring Operation: 26+37=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Exploring Operation: 37-26=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 26*37=962, Resulting Numbers: [962]
962,72 unequal: No Solution
Moving to Node #0,4,4
Current State: 72:[11, 74], Operations: ['50-24=26', '48+26=74']
Exploring Operation: 11+74=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Exploring Operation: 11*74=814, Resulting Numbers: [814]
814,72 unequal: No Solution
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Moving to Node #0,4,2
Current State: 72:[11, 22], Operations: ['50-24=26', '48-26=22']
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 11*22=242, Resulting Numbers: [242]
242,72 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Moving to Node #0,4,3
Current State: 72:[48, 37], Operations: ['50-24=26', '11+26=37']
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 48*37=1776, Resulting Numbers: [1776]
1776,72 unequal: No Solution
Exploring Operation: 48+37=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Moving to Node #0,4,1
Current State: 72:[26, 59], Operations: ['50-24=26', '48+11=59']
Exploring Operation: 26+59=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 26*59=1534, Resulting Numbers: [1534]
1534,72 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 |
[
40,
24,
90,
20
] | 60 | [
"90-40=50",
"24*50=1200",
"1200/20=60"
] | Current State: 60:[40, 24, 90, 20], Operations: []
Exploring Operation: 90-40=50, Resulting Numbers: [24, 20, 50]
Generated Node #2: [24, 20, 50] from Operation: 90-40=50
Current State: 60:[24, 20, 50], Operations: ['90-40=50']
Exploring Operation: 24*50=1200, Resulting Numbers: [20, 1200]
Generated Node #3: [20, 1200] from Operation: 24*50=1200
Current State: 60:[20, 1200], Operations: ['90-40=50', '24*50=1200']
Exploring Operation: 1200/20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[40, 24, 90, 20], Operations: []
Exploring Operation: 90-24=66, Resulting Numbers: [40, 20, 66]
Generated Node #0,0: 60:[40, 20, 66] Operation: 90-24=66
Exploring Operation: 90-40=50, Resulting Numbers: [24, 20, 50]
Generated Node #0,1: 60:[24, 20, 50] Operation: 90-40=50
Exploring Operation: 40-24=16, Resulting Numbers: [90, 20, 16]
Generated Node #0,2: 60:[90, 20, 16] Operation: 40-24=16
Exploring Operation: 40+24=64, Resulting Numbers: [90, 20, 64]
Generated Node #0,3: 60:[90, 20, 64] Operation: 40+24=64
Exploring Operation: 90-20=70, Resulting Numbers: [40, 24, 70]
Generated Node #0,4: 60:[40, 24, 70] Operation: 90-20=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[24, 20, 50], Operations: ['90-40=50']
Exploring Operation: 20+50=70, Resulting Numbers: [24, 70]
Generated Node #0,1,0: 60:[24, 70] Operation: 20+50=70
Exploring Operation: 24-20=4, Resulting Numbers: [50, 4]
Generated Node #0,1,1: 60:[50, 4] Operation: 24-20=4
Exploring Operation: 50-20=30, Resulting Numbers: [24, 30]
Generated Node #0,1,2: 60:[24, 30] Operation: 50-20=30
Exploring Operation: 24+50=74, Resulting Numbers: [20, 74]
Generated Node #0,1,3: 60:[20, 74] Operation: 24+50=74
Exploring Operation: 50-24=26, Resulting Numbers: [20, 26]
Generated Node #0,1,4: 60:[20, 26] Operation: 50-24=26
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 60:[24, 30], Operations: ['90-40=50', '50-20=30']
Exploring Operation: 24*30=720, Resulting Numbers: [720]
720,60 unequal: No Solution
Exploring Operation: 24+30=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 60:[20, 26], Operations: ['90-40=50', '50-24=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[50, 4], Operations: ['90-40=50', '24-20=4']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,60 unequal: No Solution
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[24, 70], Operations: ['90-40=50', '20+50=70']
Exploring Operation: 24*70=1680, Resulting Numbers: [1680]
1680,60 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 60:[20, 74], Operations: ['90-40=50', '24+50=74']
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 20*74=1480, Resulting Numbers: [1480]
1480,60 unequal: No Solution
Exploring Operation: 20+74=94, Resulting Numbers: [94]
94,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[40, 20, 66], Operations: ['90-24=66']
Exploring Operation: 40-20=20, Resulting Numbers: [66, 20]
Generated Node #0,0,0: 60:[66, 20] Operation: 40-20=20
Exploring Operation: 40/20=2, Resulting Numbers: [66, 2]
Generated Node #0,0,1: 60:[66, 2] Operation: 40/20=2
Exploring Operation: 40+20=60, Resulting Numbers: [66, 60]
Generated Node #0,0,2: 60:[66, 60] Operation: 40+20=60
Exploring Operation: 66-40=26, Resulting Numbers: [20, 26]
Generated Node #0,0,3: 60:[20, 26] Operation: 66-40=26
Exploring Operation: 66-20=46, Resulting Numbers: [40, 46]
Generated Node #0,0,4: 60:[40, 46] Operation: 66-20=46
Moving to Node #0,0,3
Current State: 60:[20, 26], Operations: ['90-24=66', '66-40=26']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,60 unequal: No Solution
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[66, 2], Operations: ['90-24=66', '40/20=2']
Exploring Operation: 66*2=132, Resulting Numbers: [132]
132,60 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[66, 20], Operations: ['90-24=66', '40-20=20']
Exploring Operation: 66+20=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 66*20=1320, Resulting Numbers: [1320]
1320,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[66, 60], Operations: ['90-24=66', '40+20=60']
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 66*60=3960, Resulting Numbers: [3960]
3960,60 unequal: No Solution
Exploring Operation: 66+60=126, Resulting Numbers: [126]
126,60 unequal: No Solution
Moving to Node #0,0,4
Current State: 60:[40, 46], Operations: ['90-24=66', '66-20=46']
Exploring Operation: 40*46=1840, Resulting Numbers: [1840]
1840,60 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,60 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: 60:[40, 24, 70], Operations: ['90-20=70']
Exploring Operation: 70-24=46, Resulting Numbers: [40, 46]
Generated Node #0,4,0: 60:[40, 46] Operation: 70-24=46
Exploring Operation: 40+24=64, Resulting Numbers: [70, 64]
Generated Node #0,4,1: 60:[70, 64] Operation: 40+24=64
Exploring Operation: 70-40=30, Resulting Numbers: [24, 30]
Generated Node #0,4,2: 60:[24, 30] Operation: 70-40=30
Exploring Operation: 24+70=94, Resulting Numbers: [40, 94]
Generated Node #0,4,3: 60:[40, 94] Operation: 24+70=94
Exploring Operation: 40-24=16, Resulting Numbers: [70, 16]
Generated Node #0,4,4: 60:[70, 16] Operation: 40-24=16
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 60:[24, 30], Operations: ['90-20=70', '70-40=30']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 24*30=720, Resulting Numbers: [720]
720,60 unequal: No Solution
Exploring Operation: 24+30=54, Resulting Numbers: [54]
54,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 60:[70, 16], Operations: ['90-20=70', '40-24=16']
Exploring Operation: 70*16=1120, Resulting Numbers: [1120]
1120,60 unequal: No Solution
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 70+16=86, Resulting Numbers: [86]
86,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 60:[70, 64], Operations: ['90-20=70', '40+24=64']
Exploring Operation: 70*64=4480, Resulting Numbers: [4480]
4480,60 unequal: No Solution
Exploring Operation: 70-64=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 70+64=134, Resulting Numbers: [134]
134,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 60:[40, 46], Operations: ['90-20=70', '70-24=46']
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 40*46=1840, Resulting Numbers: [1840]
1840,60 unequal: No Solution
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 60:[40, 94], Operations: ['90-20=70', '24+70=94']
Exploring Operation: 40*94=3760, Resulting Numbers: [3760]
3760,60 unequal: No Solution
Exploring Operation: 40+94=134, Resulting Numbers: [134]
134,60 unequal: No Solution
Exploring Operation: 94-40=54, Resulting Numbers: [54]
54,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[90, 20, 16], Operations: ['40-24=16']
Exploring Operation: 20-16=4, Resulting Numbers: [90, 4]
Generated Node #0,2,0: 60:[90, 4] Operation: 20-16=4
Exploring Operation: 90+16=106, Resulting Numbers: [20, 106]
Generated Node #0,2,1: 60:[20, 106] Operation: 90+16=106
Exploring Operation: 90-16=74, Resulting Numbers: [20, 74]
Generated Node #0,2,2: 60:[20, 74] Operation: 90-16=74
Exploring Operation: 90-20=70, Resulting Numbers: [16, 70]
Generated Node #0,2,3: 60:[16, 70] Operation: 90-20=70
Exploring Operation: 20+16=36, Resulting Numbers: [90, 36]
Generated Node #0,2,4: 60:[90, 36] Operation: 20+16=36
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 60:[16, 70], Operations: ['40-24=16', '90-20=70']
Exploring Operation: 16+70=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 16*70=1120, Resulting Numbers: [1120]
1120,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[20, 74], Operations: ['40-24=16', '90-16=74']
Exploring Operation: 20+74=94, Resulting Numbers: [94]
94,60 unequal: No Solution
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 20*74=1480, Resulting Numbers: [1480]
1480,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[90, 4], Operations: ['40-24=16', '20-16=4']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,60 unequal: No Solution
Exploring Operation: 90*4=360, Resulting Numbers: [360]
360,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 60:[90, 36], Operations: ['40-24=16', '20+16=36']
Exploring Operation: 90*36=3240, Resulting Numbers: [3240]
3240,60 unequal: No Solution
Exploring Operation: 90+36=126, Resulting Numbers: [126]
126,60 unequal: No Solution
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[20, 106], Operations: ['40-24=16', '90+16=106']
Exploring Operation: 106-20=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 20+106=126, Resulting Numbers: [126]
126,60 unequal: No Solution
Exploring Operation: 20*106=2120, Resulting Numbers: [2120]
2120,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[90, 20, 64], Operations: ['40+24=64']
Exploring Operation: 90+20=110, Resulting Numbers: [64, 110]
Generated Node #0,3,0: 60:[64, 110] Operation: 90+20=110
Exploring Operation: 64-20=44, Resulting Numbers: [90, 44]
Generated Node #0,3,1: 60:[90, 44] Operation: 64-20=44
Exploring Operation: 90-20=70, Resulting Numbers: [64, 70]
Generated Node #0,3,2: 60:[64, 70] Operation: 90-20=70
Exploring Operation: 90-64=26, Resulting Numbers: [20, 26]
Generated Node #0,3,3: 60:[20, 26] Operation: 90-64=26
Exploring Operation: 20+64=84, Resulting Numbers: [90, 84]
Generated Node #0,3,4: 60:[90, 84] Operation: 20+64=84
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 60:[20, 26], Operations: ['40+24=64', '90-64=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 60:[64, 70], Operations: ['40+24=64', '90-20=70']
Exploring Operation: 64+70=134, Resulting Numbers: [134]
134,60 unequal: No Solution
Exploring Operation: 64*70=4480, Resulting Numbers: [4480]
4480,60 unequal: No Solution
Exploring Operation: 70-64=6, Resulting Numbers: [6]
6,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 60:[90, 44], Operations: ['40+24=64', '64-20=44']
Exploring Operation: 90*44=3960, Resulting Numbers: [3960]
3960,60 unequal: No Solution
Exploring Operation: 90+44=134, Resulting Numbers: [134]
134,60 unequal: No Solution
Exploring Operation: 90-44=46, Resulting Numbers: [46]
46,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 60:[64, 110], Operations: ['40+24=64', '90+20=110']
Exploring Operation: 110-64=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 64*110=7040, Resulting Numbers: [7040]
7040,60 unequal: No Solution
Exploring Operation: 64+110=174, Resulting Numbers: [174]
174,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 60:[90, 84], Operations: ['40+24=64', '20+64=84']
Exploring Operation: 90+84=174, Resulting Numbers: [174]
174,60 unequal: No Solution
Exploring Operation: 90*84=7560, Resulting Numbers: [7560]
7560,60 unequal: No Solution
Exploring Operation: 90-84=6, Resulting Numbers: [6]
6,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
84,
75,
9,
99
] | 13 | [
"9*99=891",
"84+891=975",
"975/75=13"
] | Current State: 13:[84, 75, 9, 99], Operations: []
Exploring Operation: 9*99=891, Resulting Numbers: [84, 75, 891]
Generated Node #2: [84, 75, 891] from Operation: 9*99=891
Current State: 13:[84, 75, 891], Operations: ['9*99=891']
Exploring Operation: 84+891=975, Resulting Numbers: [75, 975]
Generated Node #3: [75, 975] from Operation: 84+891=975
Current State: 13:[75, 975], Operations: ['9*99=891', '84+891=975']
Exploring Operation: 975/75=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[84, 75, 9, 99], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [9, 99, 9]
Generated Node #0,0: 13:[9, 99, 9] Operation: 84-75=9
Exploring Operation: 99-75=24, Resulting Numbers: [84, 9, 24]
Generated Node #0,1: 13:[84, 9, 24] Operation: 99-75=24
Exploring Operation: 99-84=15, Resulting Numbers: [75, 9, 15]
Generated Node #0,2: 13:[75, 9, 15] Operation: 99-84=15
Exploring Operation: 99/9=11, Resulting Numbers: [84, 75, 11]
Generated Node #0,3: 13:[84, 75, 11] Operation: 99/9=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[75, 9, 15], Operations: ['99-84=15']
Exploring Operation: 75-15=60, Resulting Numbers: [9, 60]
Generated Node #0,2,0: 13:[9, 60] Operation: 75-15=60
Exploring Operation: 75/15=5, Resulting Numbers: [9, 5]
Generated Node #0,2,1: 13:[9, 5] Operation: 75/15=5
Exploring Operation: 75-9=66, Resulting Numbers: [15, 66]
Generated Node #0,2,2: 13:[15, 66] Operation: 75-9=66
Exploring Operation: 15-9=6, Resulting Numbers: [75, 6]
Generated Node #0,2,3: 13:[75, 6] Operation: 15-9=6
Moving to Node #0,2,1
Current State: 13:[9, 5], Operations: ['99-84=15', '75/15=5']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,13 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Moving to Node #0,2,0
Current State: 13:[9, 60], Operations: ['99-84=15', '75-15=60']
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,13 unequal: No Solution
Exploring Operation: 9+60=69, Resulting Numbers: [69]
69,13 unequal: No Solution
Exploring Operation: 9*60=540, Resulting Numbers: [540]
540,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[15, 66], Operations: ['99-84=15', '75-9=66']
Exploring Operation: 15*66=990, Resulting Numbers: [990]
990,13 unequal: No Solution
Exploring Operation: 15+66=81, Resulting Numbers: [81]
81,13 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,13 unequal: No Solution
Moving to Node #0,2,3
Current State: 13:[75, 6], Operations: ['99-84=15', '15-9=6']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,13 unequal: No Solution
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,13 unequal: No Solution
Exploring Operation: 75*6=450, Resulting Numbers: [450]
450,13 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: 13:[84, 9, 24], Operations: ['99-75=24']
Exploring Operation: 84+9=93, Resulting Numbers: [24, 93]
Generated Node #0,1,0: 13:[24, 93] Operation: 84+9=93
Exploring Operation: 84-24=60, Resulting Numbers: [9, 60]
Generated Node #0,1,1: 13:[9, 60] Operation: 84-24=60
Exploring Operation: 24-9=15, Resulting Numbers: [84, 15]
Generated Node #0,1,2: 13:[84, 15] Operation: 24-9=15
Exploring Operation: 84-9=75, Resulting Numbers: [24, 75]
Generated Node #0,1,3: 13:[24, 75] Operation: 84-9=75
Moving to Node #0,1,1
Current State: 13:[9, 60], Operations: ['99-75=24', '84-24=60']
Exploring Operation: 9*60=540, Resulting Numbers: [540]
540,13 unequal: No Solution
Exploring Operation: 9+60=69, Resulting Numbers: [69]
69,13 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[24, 75], Operations: ['99-75=24', '84-9=75']
Exploring Operation: 24+75=99, Resulting Numbers: [99]
99,13 unequal: No Solution
Exploring Operation: 24*75=1800, Resulting Numbers: [1800]
1800,13 unequal: No Solution
Exploring Operation: 75-24=51, Resulting Numbers: [51]
51,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[84, 15], Operations: ['99-75=24', '24-9=15']
Exploring Operation: 84*15=1260, Resulting Numbers: [1260]
1260,13 unequal: No Solution
Exploring Operation: 84-15=69, Resulting Numbers: [69]
69,13 unequal: No Solution
Exploring Operation: 84+15=99, Resulting Numbers: [99]
99,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[24, 93], Operations: ['99-75=24', '84+9=93']
Exploring Operation: 93-24=69, Resulting Numbers: [69]
69,13 unequal: No Solution
Exploring Operation: 24*93=2232, Resulting Numbers: [2232]
2232,13 unequal: No Solution
Exploring Operation: 24+93=117, Resulting Numbers: [117]
117,13 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: 13:[9, 99, 9], Operations: ['84-75=9']
Exploring Operation: 99-9=90, Resulting Numbers: [9, 90]
Generated Node #0,0,0: 13:[9, 90] Operation: 99-9=90
Exploring Operation: 99/9=11, Resulting Numbers: [9, 11]
Generated Node #0,0,1: 13:[9, 11] Operation: 99/9=11
Exploring Operation: 99/9=11, Resulting Numbers: [9, 11]
Generated Node #0,0,2: 13:[9, 11] Operation: 99/9=11
Exploring Operation: 99-9=90, Resulting Numbers: [9, 90]
Generated Node #0,0,3: 13:[9, 90] Operation: 99-9=90
Moving to Node #0,0,1
Current State: 13:[9, 11], Operations: ['84-75=9', '99/9=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,13 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[9, 11], Operations: ['84-75=9', '99/9=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[9, 90], Operations: ['84-75=9', '99-9=90']
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 9+90=99, Resulting Numbers: [99]
99,13 unequal: No Solution
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,13 unequal: No Solution
Exploring Operation: 9*90=810, Resulting Numbers: [810]
810,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[9, 90], Operations: ['84-75=9', '99-9=90']
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,13 unequal: No Solution
Exploring Operation: 9*90=810, Resulting Numbers: [810]
810,13 unequal: No Solution
Exploring Operation: 9+90=99, Resulting Numbers: [99]
99,13 unequal: No Solution
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,13 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: 13:[84, 75, 11], Operations: ['99/9=11']
Exploring Operation: 84-75=9, Resulting Numbers: [11, 9]
Generated Node #0,3,0: 13:[11, 9] Operation: 84-75=9
Exploring Operation: 84+11=95, Resulting Numbers: [75, 95]
Generated Node #0,3,1: 13:[75, 95] Operation: 84+11=95
Exploring Operation: 75-11=64, Resulting Numbers: [84, 64]
Generated Node #0,3,2: 13:[84, 64] Operation: 75-11=64
Exploring Operation: 84-11=73, Resulting Numbers: [75, 73]
Generated Node #0,3,3: 13:[75, 73] Operation: 84-11=73
Moving to Node #0,3,0
Current State: 13:[11, 9], Operations: ['99/9=11', '84-75=9']
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,13 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Moving to Node #0,3,3
Current State: 13:[75, 73], Operations: ['99/9=11', '84-11=73']
Exploring Operation: 75*73=5475, Resulting Numbers: [5475]
5475,13 unequal: No Solution
Exploring Operation: 75+73=148, Resulting Numbers: [148]
148,13 unequal: No Solution
Exploring Operation: 75-73=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Moving to Node #0,3,2
Current State: 13:[84, 64], Operations: ['99/9=11', '75-11=64']
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 84+64=148, Resulting Numbers: [148]
148,13 unequal: No Solution
Exploring Operation: 84*64=5376, Resulting Numbers: [5376]
5376,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[75, 95], Operations: ['99/9=11', '84+11=95']
Exploring Operation: 75+95=170, Resulting Numbers: [170]
170,13 unequal: No Solution
Exploring Operation: 75*95=7125, Resulting Numbers: [7125]
7125,13 unequal: No Solution
Exploring Operation: 95-75=20, Resulting Numbers: [20]
20,13 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 |
[
35,
40,
2,
12
] | 86 | [
"35-12=23",
"2*23=46",
"40+46=86"
] | Current State: 86:[35, 40, 2, 12], Operations: []
Exploring Operation: 35-12=23, Resulting Numbers: [40, 2, 23]
Generated Node #2: [40, 2, 23] from Operation: 35-12=23
Current State: 86:[40, 2, 23], Operations: ['35-12=23']
Exploring Operation: 2*23=46, Resulting Numbers: [40, 46]
Generated Node #3: [40, 46] from Operation: 2*23=46
Current State: 86:[40, 46], Operations: ['35-12=23', '2*23=46']
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[35, 40, 2, 12], Operations: []
Exploring Operation: 40+12=52, Resulting Numbers: [35, 2, 52]
Generated Node #0,0: 86:[35, 2, 52] Operation: 40+12=52
Exploring Operation: 35+12=47, Resulting Numbers: [40, 2, 47]
Generated Node #0,1: 86:[40, 2, 47] Operation: 35+12=47
Exploring Operation: 40-35=5, Resulting Numbers: [2, 12, 5]
Generated Node #0,2: 86:[2, 12, 5] Operation: 40-35=5
Exploring Operation: 12/2=6, Resulting Numbers: [35, 40, 6]
Generated Node #0,3: 86:[35, 40, 6] Operation: 12/2=6
Moving to Node #0,1
Current State: 86:[40, 2, 47], Operations: ['35+12=47']
Exploring Operation: 40+47=87, Resulting Numbers: [2, 87]
Generated Node #0,1,0: 86:[2, 87] Operation: 40+47=87
Exploring Operation: 47-2=45, Resulting Numbers: [40, 45]
Generated Node #0,1,1: 86:[40, 45] Operation: 47-2=45
Exploring Operation: 40+2=42, Resulting Numbers: [47, 42]
Generated Node #0,1,2: 86:[47, 42] Operation: 40+2=42
Exploring Operation: 47-40=7, Resulting Numbers: [2, 7]
Generated Node #0,1,3: 86:[2, 7] Operation: 47-40=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[2, 87], Operations: ['35+12=47', '40+47=87']
Exploring Operation: 2*87=174, Resulting Numbers: [174]
174,86 unequal: No Solution
Exploring Operation: 2+87=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,86 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: 86:[40, 45], Operations: ['35+12=47', '47-2=45']
Exploring Operation: 45-40=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 40*45=1800, Resulting Numbers: [1800]
1800,86 unequal: No Solution
Exploring Operation: 40+45=85, Resulting Numbers: [85]
85,86 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: 86:[47, 42], Operations: ['35+12=47', '40+2=42']
Exploring Operation: 47*42=1974, Resulting Numbers: [1974]
1974,86 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,86 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: 86:[2, 7], Operations: ['35+12=47', '47-40=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,86 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: 86:[2, 12, 5], Operations: ['40-35=5']
Exploring Operation: 12/2=6, Resulting Numbers: [5, 6]
Generated Node #0,2,0: 86:[5, 6] Operation: 12/2=6
Exploring Operation: 12-5=7, Resulting Numbers: [2, 7]
Generated Node #0,2,1: 86:[2, 7] Operation: 12-5=7
Exploring Operation: 12-2=10, Resulting Numbers: [5, 10]
Generated Node #0,2,2: 86:[5, 10] Operation: 12-2=10
Exploring Operation: 5-2=3, Resulting Numbers: [12, 3]
Generated Node #0,2,3: 86:[12, 3] Operation: 5-2=3
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[2, 7], Operations: ['40-35=5', '12-5=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,86 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: 86:[5, 6], Operations: ['40-35=5', '12/2=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,86 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: 86:[5, 10], Operations: ['40-35=5', '12-2=10']
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,86 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: 86:[12, 3], Operations: ['40-35=5', '5-2=3']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,86 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: 86:[35, 40, 6], Operations: ['12/2=6']
Exploring Operation: 40-35=5, Resulting Numbers: [6, 5]
Generated Node #0,3,0: 86:[6, 5] Operation: 40-35=5
Exploring Operation: 35+40=75, Resulting Numbers: [6, 75]
Generated Node #0,3,1: 86:[6, 75] Operation: 35+40=75
Exploring Operation: 40+6=46, Resulting Numbers: [35, 46]
Generated Node #0,3,2: 86:[35, 46] Operation: 40+6=46
Exploring Operation: 35+6=41, Resulting Numbers: [40, 41]
Generated Node #0,3,3: 86:[40, 41] Operation: 35+6=41
Moving to Node #0,0
Current State: 86:[35, 2, 52], Operations: ['40+12=52']
Exploring Operation: 35+52=87, Resulting Numbers: [2, 87]
Generated Node #0,0,0: 86:[2, 87] Operation: 35+52=87
Exploring Operation: 52-35=17, Resulting Numbers: [2, 17]
Generated Node #0,0,1: 86:[2, 17] Operation: 52-35=17
Exploring Operation: 52-2=50, Resulting Numbers: [35, 50]
Generated Node #0,0,2: 86:[35, 50] Operation: 52-2=50
Exploring Operation: 35+2=37, Resulting Numbers: [52, 37]
Generated Node #0,0,3: 86:[52, 37] Operation: 35+2=37
Moving to Node #0,0,0
Current State: 86:[2, 87], Operations: ['40+12=52', '35+52=87']
Exploring Operation: 2*87=174, Resulting Numbers: [174]
174,86 unequal: No Solution
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 2+87=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[40, 41], Operations: ['12/2=6', '35+6=41']
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 40*41=1640, Resulting Numbers: [1640]
1640,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[6, 5], Operations: ['12/2=6', '40-35=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[35, 46], Operations: ['12/2=6', '40+6=46']
Exploring Operation: 35+46=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 35*46=1610, Resulting Numbers: [1610]
1610,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[2, 17], Operations: ['40+12=52', '52-35=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[35, 50], Operations: ['40+12=52', '52-2=50']
Exploring Operation: 35*50=1750, Resulting Numbers: [1750]
1750,86 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 35+50=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[52, 37], Operations: ['40+12=52', '35+2=37']
Exploring Operation: 52*37=1924, Resulting Numbers: [1924]
1924,86 unequal: No Solution
Exploring Operation: 52+37=89, Resulting Numbers: [89]
89,86 unequal: No Solution
Exploring Operation: 52-37=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Moving to Node #0,3,1
Current State: 86:[6, 75], Operations: ['12/2=6', '35+40=75']
Exploring Operation: 6*75=450, Resulting Numbers: [450]
450,86 unequal: No Solution
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,86 unequal: No Solution
Exploring Operation: 6+75=81, Resulting Numbers: [81]
81,86 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
90,
61,
6,
49
] | 26 | [
"90-61=29",
"6+49=55",
"55-29=26"
] | Current State: 26:[90, 61, 6, 49], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [6, 49, 29]
Generated Node #2: [6, 49, 29] from Operation: 90-61=29
Current State: 26:[6, 49, 29], Operations: ['90-61=29']
Exploring Operation: 6+49=55, Resulting Numbers: [29, 55]
Generated Node #3: [29, 55] from Operation: 6+49=55
Current State: 26:[29, 55], Operations: ['90-61=29', '6+49=55']
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[90, 61, 6, 49], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [6, 49, 29]
Generated Node #0,0: 26:[6, 49, 29] Operation: 90-61=29
Exploring Operation: 90-49=41, Resulting Numbers: [61, 6, 41]
Generated Node #0,1: 26:[61, 6, 41] Operation: 90-49=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[6, 49, 29], Operations: ['90-61=29']
Exploring Operation: 49-29=20, Resulting Numbers: [6, 20]
Generated Node #0,0,0: 26:[6, 20] Operation: 49-29=20
Exploring Operation: 49-6=43, Resulting Numbers: [29, 43]
Generated Node #0,0,1: 26:[29, 43] Operation: 49-6=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[6, 20], Operations: ['90-61=29', '49-29=20']
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[90, 61, 6, 49], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [6, 49, 29]
Generated Node #0,0: 26:[6, 49, 29] Operation: 90-61=29
Moving to Node #0,0
Current State: 26:[6, 49, 29], Operations: ['90-61=29']
Exploring Operation: 49-29=20, Resulting Numbers: [6, 20]
Generated Node #0,0,0: 26:[6, 20] Operation: 49-29=20
Moving to Node #0,0,0
Current State: 26:[6, 20], Operations: ['90-61=29', '49-29=20']
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
17,
20,
23,
2
] | 63 | [
"20-17=3",
"23-2=21",
"3*21=63"
] | Current State: 63:[17, 20, 23, 2], Operations: []
Exploring Operation: 20-17=3, Resulting Numbers: [23, 2, 3]
Generated Node #2: [23, 2, 3] from Operation: 20-17=3
Current State: 63:[23, 2, 3], Operations: ['20-17=3']
Exploring Operation: 23-2=21, Resulting Numbers: [3, 21]
Generated Node #3: [3, 21] from Operation: 23-2=21
Current State: 63:[3, 21], Operations: ['20-17=3', '23-2=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[17, 20, 23, 2], Operations: []
Exploring Operation: 17+2=19, Resulting Numbers: [20, 23, 19]
Generated Node #0,0: 63:[20, 23, 19] Operation: 17+2=19
Exploring Operation: 23-17=6, Resulting Numbers: [20, 2, 6]
Generated Node #0,1: 63:[20, 2, 6] Operation: 23-17=6
Exploring Operation: 20-17=3, Resulting Numbers: [23, 2, 3]
Generated Node #0,2: 63:[23, 2, 3] Operation: 20-17=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[20, 2, 6], Operations: ['23-17=6']
Exploring Operation: 20/2=10, Resulting Numbers: [6, 10]
Generated Node #0,1,0: 63:[6, 10] Operation: 20/2=10
Exploring Operation: 6/2=3, Resulting Numbers: [20, 3]
Generated Node #0,1,1: 63:[20, 3] Operation: 6/2=3
Exploring Operation: 20+2=22, Resulting Numbers: [6, 22]
Generated Node #0,1,2: 63:[6, 22] Operation: 20+2=22
Moving to Node #0,1,1
Current State: 63:[20, 3], Operations: ['23-17=6', '6/2=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,63 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,63 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[6, 10], Operations: ['23-17=6', '20/2=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,63 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[6, 22], Operations: ['23-17=6', '20+2=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,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,2
Current State: 63:[23, 2, 3], Operations: ['20-17=3']
Exploring Operation: 23-2=21, Resulting Numbers: [3, 21]
Generated Node #0,2,0: 63:[3, 21] Operation: 23-2=21
Exploring Operation: 23-3=20, Resulting Numbers: [2, 20]
Generated Node #0,2,1: 63:[2, 20] Operation: 23-3=20
Exploring Operation: 2*3=6, Resulting Numbers: [23, 6]
Generated Node #0,2,2: 63:[23, 6] Operation: 2*3=6
Moving to Node #0,2,0
Current State: 63:[3, 21], Operations: ['20-17=3', '23-2=21']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[17, 20, 23, 2], Operations: []
Exploring Operation: 20-17=3, Resulting Numbers: [23, 2, 3]
Generated Node #0,2: 63:[23, 2, 3] Operation: 20-17=3
Moving to Node #0,2
Current State: 63:[23, 2, 3], Operations: ['20-17=3']
Exploring Operation: 23-2=21, Resulting Numbers: [3, 21]
Generated Node #0,2,0: 63:[3, 21] Operation: 23-2=21
Moving to Node #0,2,0
Current State: 63:[3, 21], Operations: ['20-17=3', '23-2=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
79,
95,
54,
61
] | 91 | [
"79*61=4819",
"95+4819=4914",
"4914/54=91"
] | Current State: 91:[79, 95, 54, 61], Operations: []
Exploring Operation: 79*61=4819, Resulting Numbers: [95, 54, 4819]
Generated Node #2: [95, 54, 4819] from Operation: 79*61=4819
Current State: 91:[95, 54, 4819], Operations: ['79*61=4819']
Exploring Operation: 95+4819=4914, Resulting Numbers: [54, 4914]
Generated Node #3: [54, 4914] from Operation: 95+4819=4914
Current State: 91:[54, 4914], Operations: ['79*61=4819', '95+4819=4914']
Exploring Operation: 4914/54=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[79, 95, 54, 61], Operations: []
Exploring Operation: 54+61=115, Resulting Numbers: [79, 95, 115]
Generated Node #0,0: 91:[79, 95, 115] Operation: 54+61=115
Exploring Operation: 61-54=7, Resulting Numbers: [79, 95, 7]
Generated Node #0,1: 91:[79, 95, 7] Operation: 61-54=7
Moving to Node #0,1
Current State: 91:[79, 95, 7], Operations: ['61-54=7']
Exploring Operation: 79+7=86, Resulting Numbers: [95, 86]
Generated Node #0,1,0: 91:[95, 86] Operation: 79+7=86
Exploring Operation: 95-79=16, Resulting Numbers: [7, 16]
Generated Node #0,1,1: 91:[7, 16] Operation: 95-79=16
Moving to Node #0,0
Current State: 91:[79, 95, 115], Operations: ['54+61=115']
Exploring Operation: 95-79=16, Resulting Numbers: [115, 16]
Generated Node #0,0,0: 91:[115, 16] Operation: 95-79=16
Exploring Operation: 115-95=20, Resulting Numbers: [79, 20]
Generated Node #0,0,1: 91:[79, 20] Operation: 115-95=20
Moving to Node #0,1,1
Current State: 91:[7, 16], Operations: ['61-54=7', '95-79=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[95, 86], Operations: ['61-54=7', '79+7=86']
Exploring Operation: 95+86=181, Resulting Numbers: [181]
181,91 unequal: No Solution
Exploring Operation: 95-86=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[79, 20], Operations: ['54+61=115', '115-95=20']
Exploring Operation: 79+20=99, Resulting Numbers: [99]
99,91 unequal: No Solution
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[115, 16], Operations: ['54+61=115', '95-79=16']
Exploring Operation: 115+16=131, Resulting Numbers: [131]
131,91 unequal: No Solution
Exploring Operation: 115-16=99, Resulting Numbers: [99]
99,91 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.