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 |
|---|---|---|---|---|---|---|---|---|
[
61,
50,
51,
55
] | 56 | [
"61-50=11",
"55/11=5",
"51+5=56"
] | Current State: 56:[61, 50, 51, 55], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [51, 55, 11]
Generated Node #2: [51, 55, 11] from Operation: 61-50=11
Current State: 56:[51, 55, 11], Operations: ['61-50=11']
Exploring Operation: 55/11=5, Resulting Numbers: [51, 5]
Generated Node #3: [51, 5] from Operation: 55/11=5
Current State: 56:[51, 5], Operations: ['61-50=11', '55/11=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[61, 50, 51, 55], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [51, 55, 11]
Generated Node #0,0: 56:[51, 55, 11] Operation: 61-50=11
Exploring Operation: 51-50=1, Resulting Numbers: [61, 55, 1]
Generated Node #0,1: 56:[61, 55, 1] Operation: 51-50=1
Exploring Operation: 61-51=10, Resulting Numbers: [50, 55, 10]
Generated Node #0,2: 56:[50, 55, 10] Operation: 61-51=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[61, 55, 1], Operations: ['51-50=1']
Exploring Operation: 61-55=6, Resulting Numbers: [1, 6]
Generated Node #0,1,0: 56:[1, 6] Operation: 61-55=6
Exploring Operation: 55+1=56, Resulting Numbers: [61, 56]
Generated Node #0,1,1: 56:[61, 56] Operation: 55+1=56
Exploring Operation: 61-1=60, Resulting Numbers: [55, 60]
Generated Node #0,1,2: 56:[55, 60] Operation: 61-1=60
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 56:[1, 6], Operations: ['51-50=1', '61-55=6']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[61, 56], Operations: ['51-50=1', '55+1=56']
Exploring Operation: 61*56=3416, Resulting Numbers: [3416]
3416,56 unequal: No Solution
Exploring Operation: 61+56=117, Resulting Numbers: [117]
117,56 unequal: No Solution
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[55, 60], Operations: ['51-50=1', '61-1=60']
Exploring Operation: 55*60=3300, Resulting Numbers: [3300]
3300,56 unequal: No Solution
Exploring Operation: 55+60=115, Resulting Numbers: [115]
115,56 unequal: No Solution
Exploring Operation: 60-55=5, Resulting Numbers: [5]
5,56 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: 56:[51, 55, 11], Operations: ['61-50=11']
Exploring Operation: 55-51=4, Resulting Numbers: [11, 4]
Generated Node #0,0,0: 56:[11, 4] Operation: 55-51=4
Exploring Operation: 55/11=5, Resulting Numbers: [51, 5]
Generated Node #0,0,1: 56:[51, 5] Operation: 55/11=5
Exploring Operation: 51+11=62, Resulting Numbers: [55, 62]
Generated Node #0,0,2: 56:[55, 62] Operation: 51+11=62
Moving to Node #0,0,0
Current State: 56:[11, 4], Operations: ['61-50=11', '55-51=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,56 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[51, 5], Operations: ['61-50=11', '55/11=5']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[61, 50, 51, 55], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [51, 55, 11]
Generated Node #0,0: 56:[51, 55, 11] Operation: 61-50=11
Moving to Node #0,0
Current State: 56:[51, 55, 11], Operations: ['61-50=11']
Exploring Operation: 55/11=5, Resulting Numbers: [51, 5]
Generated Node #0,0,1: 56:[51, 5] Operation: 55/11=5
Moving to Node #0,0,1
Current State: 56:[51, 5], Operations: ['61-50=11', '55/11=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
27,
29,
36,
48
] | 60 | [
"29-27=2",
"48*2=96",
"96-36=60"
] | Current State: 60:[27, 29, 36, 48], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [36, 48, 2]
Generated Node #2: [36, 48, 2] from Operation: 29-27=2
Current State: 60:[36, 48, 2], Operations: ['29-27=2']
Exploring Operation: 48*2=96, Resulting Numbers: [36, 96]
Generated Node #3: [36, 96] from Operation: 48*2=96
Current State: 60:[36, 96], Operations: ['29-27=2', '48*2=96']
Exploring Operation: 96-36=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[27, 29, 36, 48], Operations: []
Exploring Operation: 48-36=12, Resulting Numbers: [27, 29, 12]
Generated Node #0,0: 60:[27, 29, 12] Operation: 48-36=12
Exploring Operation: 48-29=19, Resulting Numbers: [27, 36, 19]
Generated Node #0,1: 60:[27, 36, 19] Operation: 48-29=19
Exploring Operation: 48-27=21, Resulting Numbers: [29, 36, 21]
Generated Node #0,2: 60:[29, 36, 21] Operation: 48-27=21
Exploring Operation: 36-27=9, Resulting Numbers: [29, 48, 9]
Generated Node #0,3: 60:[29, 48, 9] Operation: 36-27=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[27, 29, 12], Operations: ['48-36=12']
Exploring Operation: 29-27=2, Resulting Numbers: [12, 2]
Generated Node #0,0,0: 60:[12, 2] Operation: 29-27=2
Exploring Operation: 27+29=56, Resulting Numbers: [12, 56]
Generated Node #0,0,1: 60:[12, 56] Operation: 27+29=56
Exploring Operation: 29-12=17, Resulting Numbers: [27, 17]
Generated Node #0,0,2: 60:[27, 17] Operation: 29-12=17
Exploring Operation: 27-12=15, Resulting Numbers: [29, 15]
Generated Node #0,0,3: 60:[29, 15] Operation: 27-12=15
Moving to Node #0,0,0
Current State: 60:[12, 2], Operations: ['48-36=12', '29-27=2']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[29, 15], Operations: ['48-36=12', '27-12=15']
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,60 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[12, 56], Operations: ['48-36=12', '27+29=56']
Exploring Operation: 12*56=672, Resulting Numbers: [672]
672,60 unequal: No Solution
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[27, 17], Operations: ['48-36=12', '29-12=17']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,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,2
Current State: 60:[29, 36, 21], Operations: ['48-27=21']
Exploring Operation: 36-21=15, Resulting Numbers: [29, 15]
Generated Node #0,2,0: 60:[29, 15] Operation: 36-21=15
Exploring Operation: 29+36=65, Resulting Numbers: [21, 65]
Generated Node #0,2,1: 60:[21, 65] Operation: 29+36=65
Exploring Operation: 36+21=57, Resulting Numbers: [29, 57]
Generated Node #0,2,2: 60:[29, 57] Operation: 36+21=57
Exploring Operation: 36-29=7, Resulting Numbers: [21, 7]
Generated Node #0,2,3: 60:[21, 7] Operation: 36-29=7
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[29, 15], Operations: ['48-27=21', '36-21=15']
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,60 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,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,3
Current State: 60:[21, 7], Operations: ['48-27=21', '36-29=7']
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,60 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,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:[29, 57], Operations: ['48-27=21', '36+21=57']
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 29*57=1653, Resulting Numbers: [1653]
1653,60 unequal: No Solution
Exploring Operation: 29+57=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,2,1
Current State: 60:[21, 65], Operations: ['48-27=21', '29+36=65']
Exploring Operation: 21+65=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 21*65=1365, Resulting Numbers: [1365]
1365,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[27, 36, 19], Operations: ['48-29=19']
Exploring Operation: 27+36=63, Resulting Numbers: [19, 63]
Generated Node #0,1,0: 60:[19, 63] Operation: 27+36=63
Exploring Operation: 36-27=9, Resulting Numbers: [19, 9]
Generated Node #0,1,1: 60:[19, 9] Operation: 36-27=9
Exploring Operation: 27-19=8, Resulting Numbers: [36, 8]
Generated Node #0,1,2: 60:[36, 8] Operation: 27-19=8
Exploring Operation: 36-19=17, Resulting Numbers: [27, 17]
Generated Node #0,1,3: 60:[27, 17] Operation: 36-19=17
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[19, 9], Operations: ['48-29=19', '36-27=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,60 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,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:[19, 63], Operations: ['48-29=19', '27+36=63']
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,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:[27, 17], Operations: ['48-29=19', '36-19=17']
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,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,2
Current State: 60:[36, 8], Operations: ['48-29=19', '27-19=8']
Exploring Operation: 36*8=288, Resulting Numbers: [288]
288,60 unequal: No Solution
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,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:[29, 48, 9], Operations: ['36-27=9']
Exploring Operation: 29-9=20, Resulting Numbers: [48, 20]
Generated Node #0,3,0: 60:[48, 20] Operation: 29-9=20
Exploring Operation: 48-29=19, Resulting Numbers: [9, 19]
Generated Node #0,3,1: 60:[9, 19] Operation: 48-29=19
Exploring Operation: 48-9=39, Resulting Numbers: [29, 39]
Generated Node #0,3,2: 60:[29, 39] Operation: 48-9=39
Exploring Operation: 48+9=57, Resulting Numbers: [29, 57]
Generated Node #0,3,3: 60:[29, 57] Operation: 48+9=57
Moving to Node #0,3,1
Current State: 60:[9, 19], Operations: ['36-27=9', '48-29=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[29, 57], Operations: ['36-27=9', '48+9=57']
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 29*57=1653, Resulting Numbers: [1653]
1653,60 unequal: No Solution
Exploring Operation: 29+57=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[29, 39], Operations: ['36-27=9', '48-9=39']
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 29*39=1131, Resulting Numbers: [1131]
1131,60 unequal: No Solution
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[48, 20], Operations: ['36-27=9', '29-9=20']
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 48+20=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 48*20=960, Resulting Numbers: [960]
960,60 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 |
[
47,
3,
13,
3
] | 47 | [
"3-3=0",
"13*0=0",
"47+0=47"
] | Current State: 47:[47, 3, 13, 3], Operations: []
Exploring Operation: 3-3=0, Resulting Numbers: [47, 13, 0]
Generated Node #2: [47, 13, 0] from Operation: 3-3=0
Current State: 47:[47, 13, 0], Operations: ['3-3=0']
Exploring Operation: 13*0=0, Resulting Numbers: [47, 0]
Generated Node #3: [47, 0] from Operation: 13*0=0
Current State: 47:[47, 0], Operations: ['3-3=0', '13*0=0']
Exploring Operation: 47+0=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[47, 3, 13, 3], Operations: []
Exploring Operation: 3*13=39, Resulting Numbers: [47, 3, 39]
Generated Node #0,0: 47:[47, 3, 39] Operation: 3*13=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[47, 3, 39], Operations: ['3*13=39']
Exploring Operation: 3+39=42, Resulting Numbers: [47, 42]
Generated Node #0,0,0: 47:[47, 42] Operation: 3+39=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[47, 42], Operations: ['3*13=39', '3+39=42']
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
20,
48,
36,
76
] | 79 | [
"36-20=16",
"48/16=3",
"76+3=79"
] | Current State: 79:[20, 48, 36, 76], Operations: []
Exploring Operation: 36-20=16, Resulting Numbers: [48, 76, 16]
Generated Node #2: [48, 76, 16] from Operation: 36-20=16
Current State: 79:[48, 76, 16], Operations: ['36-20=16']
Exploring Operation: 48/16=3, Resulting Numbers: [76, 3]
Generated Node #3: [76, 3] from Operation: 48/16=3
Current State: 79:[76, 3], Operations: ['36-20=16', '48/16=3']
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[20, 48, 36, 76], Operations: []
Exploring Operation: 20+48=68, Resulting Numbers: [36, 76, 68]
Generated Node #0,0: 79:[36, 76, 68] Operation: 20+48=68
Exploring Operation: 20+36=56, Resulting Numbers: [48, 76, 56]
Generated Node #0,1: 79:[48, 76, 56] Operation: 20+36=56
Moving to Node #0,0
Current State: 79:[36, 76, 68], Operations: ['20+48=68']
Exploring Operation: 36+76=112, Resulting Numbers: [68, 112]
Generated Node #0,0,0: 79:[68, 112] Operation: 36+76=112
Exploring Operation: 36+68=104, Resulting Numbers: [76, 104]
Generated Node #0,0,1: 79:[76, 104] Operation: 36+68=104
Moving to Node #0,1
Current State: 79:[48, 76, 56], Operations: ['20+36=56']
Exploring Operation: 48+76=124, Resulting Numbers: [56, 124]
Generated Node #0,1,0: 79:[56, 124] Operation: 48+76=124
Exploring Operation: 48+56=104, Resulting Numbers: [76, 104]
Generated Node #0,1,1: 79:[76, 104] Operation: 48+56=104
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[76, 104], Operations: ['20+36=56', '48+56=104']
Exploring Operation: 104-76=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 76+104=180, Resulting Numbers: [180]
180,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[56, 124], Operations: ['20+36=56', '48+76=124']
Exploring Operation: 56+124=180, Resulting Numbers: [180]
180,79 unequal: No Solution
Exploring Operation: 124-56=68, Resulting Numbers: [68]
68,79 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: 79:[76, 104], Operations: ['20+48=68', '36+68=104']
Exploring Operation: 104-76=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 76+104=180, Resulting Numbers: [180]
180,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[68, 112], Operations: ['20+48=68', '36+76=112']
Exploring Operation: 112-68=44, Resulting Numbers: [44]
44,79 unequal: No Solution
Exploring Operation: 68+112=180, Resulting Numbers: [180]
180,79 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
20,
13,
18,
65
] | 39 | [
"20-18=2",
"13+65=78",
"78/2=39"
] | Current State: 39:[20, 13, 18, 65], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [13, 65, 2]
Generated Node #2: [13, 65, 2] from Operation: 20-18=2
Current State: 39:[13, 65, 2], Operations: ['20-18=2']
Exploring Operation: 13+65=78, Resulting Numbers: [2, 78]
Generated Node #3: [2, 78] from Operation: 13+65=78
Current State: 39:[2, 78], Operations: ['20-18=2', '13+65=78']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[20, 13, 18, 65], Operations: []
Exploring Operation: 65-20=45, Resulting Numbers: [13, 18, 45]
Generated Node #0,0: 39:[13, 18, 45] Operation: 65-20=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[13, 18, 45], Operations: ['65-20=45']
Exploring Operation: 18-13=5, Resulting Numbers: [45, 5]
Generated Node #0,0,0: 39:[45, 5] Operation: 18-13=5
Moving to Node #0,0,0
Current State: 39:[45, 5], Operations: ['65-20=45', '18-13=5']
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,39 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 |
[
92,
35,
57,
31
] | 31 | [
"92-35=57",
"57+31=88",
"88-57=31"
] | Current State: 31:[92, 35, 57, 31], Operations: []
Exploring Operation: 92-35=57, Resulting Numbers: [57, 31, 57]
Generated Node #2: [57, 31, 57] from Operation: 92-35=57
Current State: 31:[57, 31, 57], Operations: ['92-35=57']
Exploring Operation: 57+31=88, Resulting Numbers: [88]
88,31 equal: Goal Reached
Exploring Operation: 88-57=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[92, 35, 57, 31], Operations: []
Exploring Operation: 92-57=35, Resulting Numbers: [35, 31, 35]
Generated Node #0,0: 31:[35, 31, 35] Operation: 92-57=35
Exploring Operation: 92-35=57, Resulting Numbers: [57, 31, 57]
Generated Node #0,1: 31:[57, 31, 57] Operation: 92-35=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[35, 31, 35], Operations: ['92-57=35']
Exploring Operation: 35-31=4, Resulting Numbers: [35, 4]
Generated Node #0,0,0: 31:[35, 4] Operation: 35-31=4
Exploring Operation: 35/35=1, Resulting Numbers: [31, 1]
Generated Node #0,0,1: 31:[31, 1] Operation: 35/35=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[31, 1], Operations: ['92-57=35', '35/35=1']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[92, 35, 57, 31], Operations: []
Exploring Operation: 92-57=35, Resulting Numbers: [35, 31, 35]
Generated Node #0,0: 31:[35, 31, 35] Operation: 92-57=35
Moving to Node #0,0
Current State: 31:[35, 31, 35], Operations: ['92-57=35']
Exploring Operation: 35/35=1, Resulting Numbers: [31, 1]
Generated Node #0,0,1: 31:[31, 1] Operation: 35/35=1
Moving to Node #0,0,1
Current State: 31:[31, 1], Operations: ['92-57=35', '35/35=1']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
10,
30,
7,
67
] | 88 | [
"30/10=3",
"7*3=21",
"67+21=88"
] | Current State: 88:[10, 30, 7, 67], Operations: []
Exploring Operation: 30/10=3, Resulting Numbers: [7, 67, 3]
Generated Node #2: [7, 67, 3] from Operation: 30/10=3
Current State: 88:[7, 67, 3], Operations: ['30/10=3']
Exploring Operation: 7*3=21, Resulting Numbers: [67, 21]
Generated Node #3: [67, 21] from Operation: 7*3=21
Current State: 88:[67, 21], Operations: ['30/10=3', '7*3=21']
Exploring Operation: 67+21=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[10, 30, 7, 67], Operations: []
Exploring Operation: 67-30=37, Resulting Numbers: [10, 7, 37]
Generated Node #0,0: 88:[10, 7, 37] Operation: 67-30=37
Exploring Operation: 30+67=97, Resulting Numbers: [10, 7, 97]
Generated Node #0,1: 88:[10, 7, 97] Operation: 30+67=97
Exploring Operation: 67-10=57, Resulting Numbers: [30, 7, 57]
Generated Node #0,2: 88:[30, 7, 57] Operation: 67-10=57
Exploring Operation: 10+67=77, Resulting Numbers: [30, 7, 77]
Generated Node #0,3: 88:[30, 7, 77] Operation: 10+67=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[10, 7, 37], Operations: ['67-30=37']
Exploring Operation: 10+37=47, Resulting Numbers: [7, 47]
Generated Node #0,0,0: 88:[7, 47] Operation: 10+37=47
Exploring Operation: 37-10=27, Resulting Numbers: [7, 27]
Generated Node #0,0,1: 88:[7, 27] Operation: 37-10=27
Exploring Operation: 7+37=44, Resulting Numbers: [10, 44]
Generated Node #0,0,2: 88:[10, 44] Operation: 7+37=44
Exploring Operation: 10-7=3, Resulting Numbers: [37, 3]
Generated Node #0,0,3: 88:[37, 3] Operation: 10-7=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 88:[10, 44], Operations: ['67-30=37', '7+37=44']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,88 unequal: No Solution
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[7, 47], Operations: ['67-30=37', '10+37=47']
Exploring Operation: 7*47=329, Resulting Numbers: [329]
329,88 unequal: No Solution
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[7, 27], Operations: ['67-30=37', '37-10=27']
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,88 unequal: No Solution
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 88:[37, 3], Operations: ['67-30=37', '10-7=3']
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,88 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[10, 7, 97], Operations: ['30+67=97']
Exploring Operation: 10+7=17, Resulting Numbers: [97, 17]
Generated Node #0,1,0: 88:[97, 17] Operation: 10+7=17
Exploring Operation: 97-10=87, Resulting Numbers: [7, 87]
Generated Node #0,1,1: 88:[7, 87] Operation: 97-10=87
Exploring Operation: 10-7=3, Resulting Numbers: [97, 3]
Generated Node #0,1,2: 88:[97, 3] Operation: 10-7=3
Exploring Operation: 97-7=90, Resulting Numbers: [10, 90]
Generated Node #0,1,3: 88:[10, 90] Operation: 97-7=90
Moving to Node #0,1,1
Current State: 88:[7, 87], Operations: ['30+67=97', '97-10=87']
Exploring Operation: 7+87=94, Resulting Numbers: [94]
94,88 unequal: No Solution
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 7*87=609, Resulting Numbers: [609]
609,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[10, 90], Operations: ['30+67=97', '97-7=90']
Exploring Operation: 90/10=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 10+90=100, Resulting Numbers: [100]
100,88 unequal: No Solution
Exploring Operation: 10*90=900, Resulting Numbers: [900]
900,88 unequal: No Solution
Exploring Operation: 90-10=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[97, 3], Operations: ['30+67=97', '10-7=3']
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,88 unequal: No Solution
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,88 unequal: No Solution
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[97, 17], Operations: ['30+67=97', '10+7=17']
Exploring Operation: 97+17=114, Resulting Numbers: [114]
114,88 unequal: No Solution
Exploring Operation: 97*17=1649, Resulting Numbers: [1649]
1649,88 unequal: No Solution
Exploring Operation: 97-17=80, Resulting Numbers: [80]
80,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,3
Current State: 88:[30, 7, 77], Operations: ['10+67=77']
Exploring Operation: 30-7=23, Resulting Numbers: [77, 23]
Generated Node #0,3,0: 88:[77, 23] Operation: 30-7=23
Exploring Operation: 77/7=11, Resulting Numbers: [30, 11]
Generated Node #0,3,1: 88:[30, 11] Operation: 77/7=11
Exploring Operation: 7+77=84, Resulting Numbers: [30, 84]
Generated Node #0,3,2: 88:[30, 84] Operation: 7+77=84
Exploring Operation: 77-30=47, Resulting Numbers: [7, 47]
Generated Node #0,3,3: 88:[7, 47] Operation: 77-30=47
Moving to Node #0,3,3
Current State: 88:[7, 47], Operations: ['10+67=77', '77-30=47']
Exploring Operation: 7*47=329, Resulting Numbers: [329]
329,88 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[30, 11], Operations: ['10+67=77', '77/7=11']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 30*11=330, Resulting Numbers: [330]
330,88 unequal: No Solution
Exploring Operation: 30+11=41, Resulting Numbers: [41]
41,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[30, 84], Operations: ['10+67=77', '7+77=84']
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 30+84=114, Resulting Numbers: [114]
114,88 unequal: No Solution
Exploring Operation: 30*84=2520, Resulting Numbers: [2520]
2520,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[77, 23], Operations: ['10+67=77', '30-7=23']
Exploring Operation: 77+23=100, Resulting Numbers: [100]
100,88 unequal: No Solution
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 77*23=1771, Resulting Numbers: [1771]
1771,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,2
Current State: 88:[30, 7, 57], Operations: ['67-10=57']
Exploring Operation: 30+57=87, Resulting Numbers: [7, 87]
Generated Node #0,2,0: 88:[7, 87] Operation: 30+57=87
Exploring Operation: 57-30=27, Resulting Numbers: [7, 27]
Generated Node #0,2,1: 88:[7, 27] Operation: 57-30=27
Exploring Operation: 57-7=50, Resulting Numbers: [30, 50]
Generated Node #0,2,2: 88:[30, 50] Operation: 57-7=50
Exploring Operation: 30-7=23, Resulting Numbers: [57, 23]
Generated Node #0,2,3: 88:[57, 23] Operation: 30-7=23
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 88:[7, 87], Operations: ['67-10=57', '30+57=87']
Exploring Operation: 7*87=609, Resulting Numbers: [609]
609,88 unequal: No Solution
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 7+87=94, Resulting Numbers: [94]
94,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,1
Current State: 88:[7, 27], Operations: ['67-10=57', '57-30=27']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,88 unequal: No Solution
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,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:[30, 50], Operations: ['67-10=57', '57-7=50']
Exploring Operation: 30+50=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 30*50=1500, Resulting Numbers: [1500]
1500,88 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,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:[57, 23], Operations: ['67-10=57', '30-7=23']
Exploring Operation: 57+23=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 57*23=1311, Resulting Numbers: [1311]
1311,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_4 | sum_heuristic |
[
56,
14,
70,
91
] | 100 | [
"56+70=126",
"126/14=9",
"91+9=100"
] | Current State: 100:[56, 14, 70, 91], Operations: []
Exploring Operation: 56+70=126, Resulting Numbers: [14, 91, 126]
Generated Node #2: [14, 91, 126] from Operation: 56+70=126
Current State: 100:[14, 91, 126], Operations: ['56+70=126']
Exploring Operation: 126/14=9, Resulting Numbers: [91, 9]
Generated Node #3: [91, 9] from Operation: 126/14=9
Current State: 100:[91, 9], Operations: ['56+70=126', '126/14=9']
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[56, 14, 70, 91], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [56, 14, 21]
Generated Node #0,0: 100:[56, 14, 21] Operation: 91-70=21
Moving to Node #0,0
Current State: 100:[56, 14, 21], Operations: ['91-70=21']
Exploring Operation: 56/14=4, Resulting Numbers: [21, 4]
Generated Node #0,0,0: 100:[21, 4] Operation: 56/14=4
Moving to Node #0,0,0
Current State: 100:[21, 4], Operations: ['91-70=21', '56/14=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,100 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
23,
39,
17,
57
] | 85 | [
"23+39=62",
"62-57=5",
"17*5=85"
] | Current State: 85:[23, 39, 17, 57], Operations: []
Exploring Operation: 23+39=62, Resulting Numbers: [17, 57, 62]
Generated Node #2: [17, 57, 62] from Operation: 23+39=62
Current State: 85:[17, 57, 62], Operations: ['23+39=62']
Exploring Operation: 62-57=5, Resulting Numbers: [17, 5]
Generated Node #3: [17, 5] from Operation: 62-57=5
Current State: 85:[17, 5], Operations: ['23+39=62', '62-57=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[23, 39, 17, 57], Operations: []
Exploring Operation: 39-23=16, Resulting Numbers: [17, 57, 16]
Generated Node #0,0: 85:[17, 57, 16] Operation: 39-23=16
Exploring Operation: 23+57=80, Resulting Numbers: [39, 17, 80]
Generated Node #0,1: 85:[39, 17, 80] Operation: 23+57=80
Exploring Operation: 39+57=96, Resulting Numbers: [23, 17, 96]
Generated Node #0,2: 85:[23, 17, 96] Operation: 39+57=96
Exploring Operation: 57-39=18, Resulting Numbers: [23, 17, 18]
Generated Node #0,3: 85:[23, 17, 18] Operation: 57-39=18
Moving to Node #0,3
Current State: 85:[23, 17, 18], Operations: ['57-39=18']
Exploring Operation: 23-18=5, Resulting Numbers: [17, 5]
Generated Node #0,3,0: 85:[17, 5] Operation: 23-18=5
Exploring Operation: 23+17=40, Resulting Numbers: [18, 40]
Generated Node #0,3,1: 85:[18, 40] Operation: 23+17=40
Exploring Operation: 18-17=1, Resulting Numbers: [23, 1]
Generated Node #0,3,2: 85:[23, 1] Operation: 18-17=1
Exploring Operation: 23-17=6, Resulting Numbers: [18, 6]
Generated Node #0,3,3: 85:[18, 6] Operation: 23-17=6
Moving to Node #0,2
Current State: 85:[23, 17, 96], Operations: ['39+57=96']
Exploring Operation: 23+17=40, Resulting Numbers: [96, 40]
Generated Node #0,2,0: 85:[96, 40] Operation: 23+17=40
Exploring Operation: 96-23=73, Resulting Numbers: [17, 73]
Generated Node #0,2,1: 85:[17, 73] Operation: 96-23=73
Exploring Operation: 23-17=6, Resulting Numbers: [96, 6]
Generated Node #0,2,2: 85:[96, 6] Operation: 23-17=6
Exploring Operation: 96-17=79, Resulting Numbers: [23, 79]
Generated Node #0,2,3: 85:[23, 79] Operation: 96-17=79
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[17, 73], Operations: ['39+57=96', '96-23=73']
Exploring Operation: 17+73=90, Resulting Numbers: [90]
90,85 unequal: No Solution
Exploring Operation: 17*73=1241, Resulting Numbers: [1241]
1241,85 unequal: No Solution
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,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,2
Current State: 85:[96, 6], Operations: ['39+57=96', '23-17=6']
Exploring Operation: 96*6=576, Resulting Numbers: [576]
576,85 unequal: No Solution
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,85 unequal: No Solution
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,85 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,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,3
Current State: 85:[23, 79], Operations: ['39+57=96', '96-17=79']
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 23*79=1817, Resulting Numbers: [1817]
1817,85 unequal: No Solution
Exploring Operation: 23+79=102, Resulting Numbers: [102]
102,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,0
Current State: 85:[96, 40], Operations: ['39+57=96', '23+17=40']
Exploring Operation: 96*40=3840, Resulting Numbers: [3840]
3840,85 unequal: No Solution
Exploring Operation: 96+40=136, Resulting Numbers: [136]
136,85 unequal: No Solution
Exploring Operation: 96-40=56, Resulting Numbers: [56]
56,85 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: 85:[39, 17, 80], Operations: ['23+57=80']
Exploring Operation: 39+80=119, Resulting Numbers: [17, 119]
Generated Node #0,1,0: 85:[17, 119] Operation: 39+80=119
Exploring Operation: 39+17=56, Resulting Numbers: [80, 56]
Generated Node #0,1,1: 85:[80, 56] Operation: 39+17=56
Exploring Operation: 80-39=41, Resulting Numbers: [17, 41]
Generated Node #0,1,2: 85:[17, 41] Operation: 80-39=41
Exploring Operation: 39-17=22, Resulting Numbers: [80, 22]
Generated Node #0,1,3: 85:[80, 22] Operation: 39-17=22
Moving to Node #0,0
Current State: 85:[17, 57, 16], Operations: ['39-23=16']
Exploring Operation: 57-17=40, Resulting Numbers: [16, 40]
Generated Node #0,0,0: 85:[16, 40] Operation: 57-17=40
Exploring Operation: 17+57=74, Resulting Numbers: [16, 74]
Generated Node #0,0,1: 85:[16, 74] Operation: 17+57=74
Exploring Operation: 57-16=41, Resulting Numbers: [17, 41]
Generated Node #0,0,2: 85:[17, 41] Operation: 57-16=41
Exploring Operation: 57+16=73, Resulting Numbers: [17, 73]
Generated Node #0,0,3: 85:[17, 73] Operation: 57+16=73
Moving to Node #0,3,0
Current State: 85:[17, 5], Operations: ['57-39=18', '23-18=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[23, 39, 17, 57], Operations: []
Exploring Operation: 57-39=18, Resulting Numbers: [23, 17, 18]
Generated Node #0,3: 85:[23, 17, 18] Operation: 57-39=18
Moving to Node #0,3
Current State: 85:[23, 17, 18], Operations: ['57-39=18']
Exploring Operation: 23-18=5, Resulting Numbers: [17, 5]
Generated Node #0,3,0: 85:[17, 5] Operation: 23-18=5
Moving to Node #0,3,0
Current State: 85:[17, 5], Operations: ['57-39=18', '23-18=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.965278 | hs_4 | sum_heuristic |
[
5,
81,
9,
34
] | 61 | [
"5+81=86",
"34-9=25",
"86-25=61"
] | Current State: 61:[5, 81, 9, 34], Operations: []
Exploring Operation: 5+81=86, Resulting Numbers: [9, 34, 86]
Generated Node #2: [9, 34, 86] from Operation: 5+81=86
Current State: 61:[9, 34, 86], Operations: ['5+81=86']
Exploring Operation: 34-9=25, Resulting Numbers: [86, 25]
Generated Node #3: [86, 25] from Operation: 34-9=25
Current State: 61:[86, 25], Operations: ['5+81=86', '34-9=25']
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[5, 81, 9, 34], Operations: []
Exploring Operation: 5+34=39, Resulting Numbers: [81, 9, 39]
Generated Node #0,0: 61:[81, 9, 39] Operation: 5+34=39
Exploring Operation: 81-5=76, Resulting Numbers: [9, 34, 76]
Generated Node #0,1: 61:[9, 34, 76] Operation: 81-5=76
Exploring Operation: 5+9=14, Resulting Numbers: [81, 34, 14]
Generated Node #0,2: 61:[81, 34, 14] Operation: 5+9=14
Exploring Operation: 5*9=45, Resulting Numbers: [81, 34, 45]
Generated Node #0,3: 61:[81, 34, 45] Operation: 5*9=45
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[81, 34, 45], Operations: ['5*9=45']
Exploring Operation: 81-45=36, Resulting Numbers: [34, 36]
Generated Node #0,3,0: 61:[34, 36] Operation: 81-45=36
Exploring Operation: 81+34=115, Resulting Numbers: [45, 115]
Generated Node #0,3,1: 61:[45, 115] Operation: 81+34=115
Exploring Operation: 81-34=47, Resulting Numbers: [45, 47]
Generated Node #0,3,2: 61:[45, 47] Operation: 81-34=47
Exploring Operation: 34+45=79, Resulting Numbers: [81, 79]
Generated Node #0,3,3: 61:[81, 79] Operation: 34+45=79
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 61:[45, 47], Operations: ['5*9=45', '81-34=47']
Exploring Operation: 45*47=2115, Resulting Numbers: [2115]
2115,61 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 61:[81, 79], Operations: ['5*9=45', '34+45=79']
Exploring Operation: 81+79=160, Resulting Numbers: [160]
160,61 unequal: No Solution
Exploring Operation: 81-79=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 81*79=6399, Resulting Numbers: [6399]
6399,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 61:[34, 36], Operations: ['5*9=45', '81-45=36']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,61 unequal: No Solution
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 61:[45, 115], Operations: ['5*9=45', '81+34=115']
Exploring Operation: 115-45=70, Resulting Numbers: [70]
70,61 unequal: No Solution
Exploring Operation: 45*115=5175, Resulting Numbers: [5175]
5175,61 unequal: No Solution
Exploring Operation: 45+115=160, Resulting Numbers: [160]
160,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[81, 9, 39], Operations: ['5+34=39']
Exploring Operation: 81+9=90, Resulting Numbers: [39, 90]
Generated Node #0,0,0: 61:[39, 90] Operation: 81+9=90
Exploring Operation: 9+39=48, Resulting Numbers: [81, 48]
Generated Node #0,0,1: 61:[81, 48] Operation: 9+39=48
Exploring Operation: 81-9=72, Resulting Numbers: [39, 72]
Generated Node #0,0,2: 61:[39, 72] Operation: 81-9=72
Exploring Operation: 39-9=30, Resulting Numbers: [81, 30]
Generated Node #0,0,3: 61:[81, 30] Operation: 39-9=30
Moving to Node #0,0,1
Current State: 61:[81, 48], Operations: ['5+34=39', '9+39=48']
Exploring Operation: 81+48=129, Resulting Numbers: [129]
129,61 unequal: No Solution
Exploring Operation: 81*48=3888, Resulting Numbers: [3888]
3888,61 unequal: No Solution
Exploring Operation: 81-48=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[39, 72], Operations: ['5+34=39', '81-9=72']
Exploring Operation: 39*72=2808, Resulting Numbers: [2808]
2808,61 unequal: No Solution
Exploring Operation: 39+72=111, Resulting Numbers: [111]
111,61 unequal: No Solution
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[81, 30], Operations: ['5+34=39', '39-9=30']
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,61 unequal: No Solution
Exploring Operation: 81*30=2430, Resulting Numbers: [2430]
2430,61 unequal: No Solution
Exploring Operation: 81+30=111, Resulting Numbers: [111]
111,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[39, 90], Operations: ['5+34=39', '81+9=90']
Exploring Operation: 39+90=129, Resulting Numbers: [129]
129,61 unequal: No Solution
Exploring Operation: 39*90=3510, Resulting Numbers: [3510]
3510,61 unequal: No Solution
Exploring Operation: 90-39=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
Current State: 61:[9, 34, 76], Operations: ['81-5=76']
Exploring Operation: 9+34=43, Resulting Numbers: [76, 43]
Generated Node #0,1,0: 61:[76, 43] Operation: 9+34=43
Exploring Operation: 76-9=67, Resulting Numbers: [34, 67]
Generated Node #0,1,1: 61:[34, 67] Operation: 76-9=67
Exploring Operation: 9+76=85, Resulting Numbers: [34, 85]
Generated Node #0,1,2: 61:[34, 85] Operation: 9+76=85
Exploring Operation: 34-9=25, Resulting Numbers: [76, 25]
Generated Node #0,1,3: 61:[76, 25] Operation: 34-9=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[76, 43], Operations: ['81-5=76', '9+34=43']
Exploring Operation: 76*43=3268, Resulting Numbers: [3268]
3268,61 unequal: No Solution
Exploring Operation: 76-43=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 76+43=119, Resulting Numbers: [119]
119,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[34, 67], Operations: ['81-5=76', '76-9=67']
Exploring Operation: 34*67=2278, Resulting Numbers: [2278]
2278,61 unequal: No Solution
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 34+67=101, Resulting Numbers: [101]
101,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 61:[34, 85], Operations: ['81-5=76', '9+76=85']
Exploring Operation: 34*85=2890, Resulting Numbers: [2890]
2890,61 unequal: No Solution
Exploring Operation: 85-34=51, Resulting Numbers: [51]
51,61 unequal: No Solution
Exploring Operation: 34+85=119, Resulting Numbers: [119]
119,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 61:[76, 25], Operations: ['81-5=76', '34-9=25']
Exploring Operation: 76*25=1900, Resulting Numbers: [1900]
1900,61 unequal: No Solution
Exploring Operation: 76+25=101, Resulting Numbers: [101]
101,61 unequal: No Solution
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[81, 34, 14], Operations: ['5+9=14']
Exploring Operation: 81+14=95, Resulting Numbers: [34, 95]
Generated Node #0,2,0: 61:[34, 95] Operation: 81+14=95
Exploring Operation: 81-34=47, Resulting Numbers: [14, 47]
Generated Node #0,2,1: 61:[14, 47] Operation: 81-34=47
Exploring Operation: 34+14=48, Resulting Numbers: [81, 48]
Generated Node #0,2,2: 61:[81, 48] Operation: 34+14=48
Exploring Operation: 81-14=67, Resulting Numbers: [34, 67]
Generated Node #0,2,3: 61:[34, 67] Operation: 81-14=67
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 61:[81, 48], Operations: ['5+9=14', '34+14=48']
Exploring Operation: 81*48=3888, Resulting Numbers: [3888]
3888,61 unequal: No Solution
Exploring Operation: 81-48=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 81+48=129, Resulting Numbers: [129]
129,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 61:[34, 67], Operations: ['5+9=14', '81-14=67']
Exploring Operation: 34*67=2278, Resulting Numbers: [2278]
2278,61 unequal: No Solution
Exploring Operation: 34+67=101, Resulting Numbers: [101]
101,61 unequal: No Solution
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[34, 95], Operations: ['5+9=14', '81+14=95']
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[5, 81, 9, 34], Operations: []
Exploring Operation: 5+9=14, Resulting Numbers: [81, 34, 14]
Generated Node #0,2: 61:[81, 34, 14] Operation: 5+9=14
Moving to Node #0,2
Current State: 61:[81, 34, 14], Operations: ['5+9=14']
Exploring Operation: 81+14=95, Resulting Numbers: [34, 95]
Generated Node #0,2,0: 61:[34, 95] Operation: 81+14=95
Moving to Node #0,2,0
Current State: 61:[34, 95], Operations: ['5+9=14', '81+14=95']
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.94184 | hs_4 | mult_heuristic |
[
76,
53,
41,
99
] | 81 | [
"76-53=23",
"99-41=58",
"23+58=81"
] | Current State: 81:[76, 53, 41, 99], Operations: []
Exploring Operation: 76-53=23, Resulting Numbers: [41, 99, 23]
Generated Node #2: [41, 99, 23] from Operation: 76-53=23
Current State: 81:[41, 99, 23], Operations: ['76-53=23']
Exploring Operation: 99-41=58, Resulting Numbers: [23, 58]
Generated Node #3: [23, 58] from Operation: 99-41=58
Current State: 81:[23, 58], Operations: ['76-53=23', '99-41=58']
Exploring Operation: 23+58=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[76, 53, 41, 99], Operations: []
Exploring Operation: 99-53=46, Resulting Numbers: [76, 41, 46]
Generated Node #0,0: 81:[76, 41, 46] Operation: 99-53=46
Exploring Operation: 76-53=23, Resulting Numbers: [41, 99, 23]
Generated Node #0,1: 81:[41, 99, 23] Operation: 76-53=23
Exploring Operation: 53+41=94, Resulting Numbers: [76, 99, 94]
Generated Node #0,2: 81:[76, 99, 94] Operation: 53+41=94
Exploring Operation: 53-41=12, Resulting Numbers: [76, 99, 12]
Generated Node #0,3: 81:[76, 99, 12] Operation: 53-41=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[76, 99, 12], Operations: ['53-41=12']
Exploring Operation: 99-76=23, Resulting Numbers: [12, 23]
Generated Node #0,3,0: 81:[12, 23] Operation: 99-76=23
Exploring Operation: 99-12=87, Resulting Numbers: [76, 87]
Generated Node #0,3,1: 81:[76, 87] Operation: 99-12=87
Exploring Operation: 76-12=64, Resulting Numbers: [99, 64]
Generated Node #0,3,2: 81:[99, 64] Operation: 76-12=64
Exploring Operation: 76+12=88, Resulting Numbers: [99, 88]
Generated Node #0,3,3: 81:[99, 88] Operation: 76+12=88
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 81:[12, 23], Operations: ['53-41=12', '99-76=23']
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,81 unequal: No Solution
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,81 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,81 unequal: No Solution
No 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: 81:[76, 87], Operations: ['53-41=12', '99-12=87']
Exploring Operation: 76+87=163, Resulting Numbers: [163]
163,81 unequal: No Solution
Exploring Operation: 76*87=6612, Resulting Numbers: [6612]
6612,81 unequal: No Solution
Exploring Operation: 87-76=11, Resulting Numbers: [11]
11,81 unequal: No Solution
No 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: 81:[99, 88], Operations: ['53-41=12', '76+12=88']
Exploring Operation: 99*88=8712, Resulting Numbers: [8712]
8712,81 unequal: No Solution
Exploring Operation: 99+88=187, Resulting Numbers: [187]
187,81 unequal: No Solution
Exploring Operation: 99-88=11, Resulting Numbers: [11]
11,81 unequal: No Solution
No 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: 81:[99, 64], Operations: ['53-41=12', '76-12=64']
Exploring Operation: 99-64=35, Resulting Numbers: [35]
35,81 unequal: No Solution
Exploring Operation: 99*64=6336, Resulting Numbers: [6336]
6336,81 unequal: No Solution
Exploring Operation: 99+64=163, Resulting Numbers: [163]
163,81 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: 81:[41, 99, 23], Operations: ['76-53=23']
Exploring Operation: 99-23=76, Resulting Numbers: [41, 76]
Generated Node #0,1,0: 81:[41, 76] Operation: 99-23=76
Exploring Operation: 99-41=58, Resulting Numbers: [23, 58]
Generated Node #0,1,1: 81:[23, 58] Operation: 99-41=58
Exploring Operation: 41+23=64, Resulting Numbers: [99, 64]
Generated Node #0,1,2: 81:[99, 64] Operation: 41+23=64
Exploring Operation: 41-23=18, Resulting Numbers: [99, 18]
Generated Node #0,1,3: 81:[99, 18] Operation: 41-23=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[41, 76], Operations: ['76-53=23', '99-23=76']
Exploring Operation: 41*76=3116, Resulting Numbers: [3116]
3116,81 unequal: No Solution
Exploring Operation: 41+76=117, Resulting Numbers: [117]
117,81 unequal: No Solution
Exploring Operation: 76-41=35, Resulting Numbers: [35]
35,81 unequal: No Solution
No 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: 81:[23, 58], Operations: ['76-53=23', '99-41=58']
Exploring Operation: 23+58=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[76, 53, 41, 99], Operations: []
Exploring Operation: 76-53=23, Resulting Numbers: [41, 99, 23]
Generated Node #0,1: 81:[41, 99, 23] Operation: 76-53=23
Moving to Node #0,1
Current State: 81:[41, 99, 23], Operations: ['76-53=23']
Exploring Operation: 99-41=58, Resulting Numbers: [23, 58]
Generated Node #0,1,1: 81:[23, 58] Operation: 99-41=58
Moving to Node #0,1,1
Current State: 81:[23, 58], Operations: ['76-53=23', '99-41=58']
Exploring Operation: 23+58=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
42,
51,
35,
75
] | 53 | [
"42+51=93",
"75-35=40",
"93-40=53"
] | Current State: 53:[42, 51, 35, 75], Operations: []
Exploring Operation: 42+51=93, Resulting Numbers: [35, 75, 93]
Generated Node #2: [35, 75, 93] from Operation: 42+51=93
Current State: 53:[35, 75, 93], Operations: ['42+51=93']
Exploring Operation: 75-35=40, Resulting Numbers: [93, 40]
Generated Node #3: [93, 40] from Operation: 75-35=40
Current State: 53:[93, 40], Operations: ['42+51=93', '75-35=40']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[42, 51, 35, 75], Operations: []
Exploring Operation: 42+35=77, Resulting Numbers: [51, 75, 77]
Generated Node #0,0: 53:[51, 75, 77] Operation: 42+35=77
Exploring Operation: 75-35=40, Resulting Numbers: [42, 51, 40]
Generated Node #0,1: 53:[42, 51, 40] Operation: 75-35=40
Exploring Operation: 75-51=24, Resulting Numbers: [42, 35, 24]
Generated Node #0,2: 53:[42, 35, 24] Operation: 75-51=24
Exploring Operation: 75-42=33, Resulting Numbers: [51, 35, 33]
Generated Node #0,3: 53:[51, 35, 33] Operation: 75-42=33
Moving to Node #0,1
Current State: 53:[42, 51, 40], Operations: ['75-35=40']
Exploring Operation: 42+51=93, Resulting Numbers: [40, 93]
Generated Node #0,1,0: 53:[40, 93] Operation: 42+51=93
Exploring Operation: 51+40=91, Resulting Numbers: [42, 91]
Generated Node #0,1,1: 53:[42, 91] Operation: 51+40=91
Exploring Operation: 42+40=82, Resulting Numbers: [51, 82]
Generated Node #0,1,2: 53:[51, 82] Operation: 42+40=82
Exploring Operation: 42-40=2, Resulting Numbers: [51, 2]
Generated Node #0,1,3: 53:[51, 2] Operation: 42-40=2
Moving to Node #0,3
Current State: 53:[51, 35, 33], Operations: ['75-42=33']
Exploring Operation: 51+35=86, Resulting Numbers: [33, 86]
Generated Node #0,3,0: 53:[33, 86] Operation: 51+35=86
Exploring Operation: 51+33=84, Resulting Numbers: [35, 84]
Generated Node #0,3,1: 53:[35, 84] Operation: 51+33=84
Exploring Operation: 35+33=68, Resulting Numbers: [51, 68]
Generated Node #0,3,2: 53:[51, 68] Operation: 35+33=68
Exploring Operation: 51-33=18, Resulting Numbers: [35, 18]
Generated Node #0,3,3: 53:[35, 18] Operation: 51-33=18
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[51, 68], Operations: ['75-42=33', '35+33=68']
Exploring Operation: 51*68=3468, Resulting Numbers: [3468]
3468,53 unequal: No Solution
Exploring Operation: 51+68=119, Resulting Numbers: [119]
119,53 unequal: No Solution
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[35, 84], Operations: ['75-42=33', '51+33=84']
Exploring Operation: 84-35=49, Resulting Numbers: [49]
49,53 unequal: No Solution
Exploring Operation: 35*84=2940, Resulting Numbers: [2940]
2940,53 unequal: No Solution
Exploring Operation: 35+84=119, Resulting Numbers: [119]
119,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[33, 86], Operations: ['75-42=33', '51+35=86']
Exploring Operation: 33*86=2838, Resulting Numbers: [2838]
2838,53 unequal: No Solution
Exploring Operation: 33+86=119, Resulting Numbers: [119]
119,53 unequal: No Solution
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[42, 51, 35, 75], Operations: []
Exploring Operation: 75-42=33, Resulting Numbers: [51, 35, 33]
Generated Node #0,3: 53:[51, 35, 33] Operation: 75-42=33
Moving to Node #0,3
Current State: 53:[51, 35, 33], Operations: ['75-42=33']
Exploring Operation: 51+35=86, Resulting Numbers: [33, 86]
Generated Node #0,3,0: 53:[33, 86] Operation: 51+35=86
Moving to Node #0,3,0
Current State: 53:[33, 86], Operations: ['75-42=33', '51+35=86']
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
77,
8,
39,
62
] | 62 | [
"77+8=85",
"62-39=23",
"85-23=62"
] | Current State: 62:[77, 8, 39, 62], Operations: []
Exploring Operation: 77+8=85, Resulting Numbers: [39, 62, 85]
Generated Node #2: [39, 62, 85] from Operation: 77+8=85
Current State: 62:[39, 62, 85], Operations: ['77+8=85']
Exploring Operation: 62-39=23, Resulting Numbers: [85, 23]
Generated Node #3: [85, 23] from Operation: 62-39=23
Current State: 62:[85, 23], Operations: ['77+8=85', '62-39=23']
Exploring Operation: 85-23=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[77, 8, 39, 62], Operations: []
Exploring Operation: 77-39=38, Resulting Numbers: [8, 62, 38]
Generated Node #0,0: 62:[8, 62, 38] Operation: 77-39=38
Exploring Operation: 77-8=69, Resulting Numbers: [39, 62, 69]
Generated Node #0,1: 62:[39, 62, 69] Operation: 77-8=69
Moving to Node #0,0
Current State: 62:[8, 62, 38], Operations: ['77-39=38']
Exploring Operation: 62-38=24, Resulting Numbers: [8, 24]
Generated Node #0,0,0: 62:[8, 24] Operation: 62-38=24
Exploring Operation: 38-8=30, Resulting Numbers: [62, 30]
Generated Node #0,0,1: 62:[62, 30] Operation: 38-8=30
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[62, 30], Operations: ['77-39=38', '38-8=30']
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 62+30=92, Resulting Numbers: [92]
92,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,0,0
Current State: 62:[8, 24], Operations: ['77-39=38', '62-38=24']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 62:[39, 62, 69], Operations: ['77-8=69']
Exploring Operation: 69-39=30, Resulting Numbers: [62, 30]
Generated Node #0,1,0: 62:[62, 30] Operation: 69-39=30
Exploring Operation: 69-62=7, Resulting Numbers: [39, 7]
Generated Node #0,1,1: 62:[39, 7] Operation: 69-62=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[62, 30], Operations: ['77-8=69', '69-39=30']
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 62+30=92, Resulting Numbers: [92]
92,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:[39, 7], Operations: ['77-8=69', '69-62=7']
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,62 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 |
[
39,
29,
42,
82
] | 56 | [
"39+29=68",
"42+82=124",
"124-68=56"
] | Current State: 56:[39, 29, 42, 82], Operations: []
Exploring Operation: 39+29=68, Resulting Numbers: [42, 82, 68]
Generated Node #2: [42, 82, 68] from Operation: 39+29=68
Current State: 56:[42, 82, 68], Operations: ['39+29=68']
Exploring Operation: 42+82=124, Resulting Numbers: [68, 124]
Generated Node #3: [68, 124] from Operation: 42+82=124
Current State: 56:[68, 124], Operations: ['39+29=68', '42+82=124']
Exploring Operation: 124-68=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[39, 29, 42, 82], Operations: []
Exploring Operation: 82-29=53, Resulting Numbers: [39, 42, 53]
Generated Node #0,0: 56:[39, 42, 53] Operation: 82-29=53
Exploring Operation: 82-42=40, Resulting Numbers: [39, 29, 40]
Generated Node #0,1: 56:[39, 29, 40] Operation: 82-42=40
Exploring Operation: 42-29=13, Resulting Numbers: [39, 82, 13]
Generated Node #0,2: 56:[39, 82, 13] Operation: 42-29=13
Exploring Operation: 82-39=43, Resulting Numbers: [29, 42, 43]
Generated Node #0,3: 56:[29, 42, 43] Operation: 82-39=43
Exploring Operation: 42-39=3, Resulting Numbers: [29, 82, 3]
Generated Node #0,4: 56:[29, 82, 3] Operation: 42-39=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[39, 29, 40], Operations: ['82-42=40']
Exploring Operation: 40-39=1, Resulting Numbers: [29, 1]
Generated Node #0,1,0: 56:[29, 1] Operation: 40-39=1
Exploring Operation: 40-29=11, Resulting Numbers: [39, 11]
Generated Node #0,1,1: 56:[39, 11] Operation: 40-29=11
Exploring Operation: 39+29=68, Resulting Numbers: [40, 68]
Generated Node #0,1,2: 56:[40, 68] Operation: 39+29=68
Exploring Operation: 39-29=10, Resulting Numbers: [40, 10]
Generated Node #0,1,3: 56:[40, 10] Operation: 39-29=10
Exploring Operation: 39+40=79, Resulting Numbers: [29, 79]
Generated Node #0,1,4: 56:[29, 79] Operation: 39+40=79
Moving to Node #0,1,0
Current State: 56:[29, 1], Operations: ['82-42=40', '40-39=1']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Moving to Node #0,1,3
Current State: 56:[40, 10], Operations: ['82-42=40', '39-29=10']
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Exploring Operation: 40*10=400, Resulting Numbers: [400]
400,56 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[39, 11], Operations: ['82-42=40', '40-29=11']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,56 unequal: No Solution
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[40, 68], Operations: ['82-42=40', '39+29=68']
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 40+68=108, Resulting Numbers: [108]
108,56 unequal: No Solution
Exploring Operation: 40*68=2720, Resulting Numbers: [2720]
2720,56 unequal: No Solution
Moving to Node #0,1,4
Current State: 56:[29, 79], Operations: ['82-42=40', '39+40=79']
Exploring Operation: 29*79=2291, Resulting Numbers: [2291]
2291,56 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Exploring Operation: 29+79=108, Resulting Numbers: [108]
108,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[39, 42, 53], Operations: ['82-29=53']
Exploring Operation: 42-39=3, Resulting Numbers: [53, 3]
Generated Node #0,0,0: 56:[53, 3] Operation: 42-39=3
Exploring Operation: 39+42=81, Resulting Numbers: [53, 81]
Generated Node #0,0,1: 56:[53, 81] Operation: 39+42=81
Exploring Operation: 53-39=14, Resulting Numbers: [42, 14]
Generated Node #0,0,2: 56:[42, 14] Operation: 53-39=14
Exploring Operation: 39+53=92, Resulting Numbers: [42, 92]
Generated Node #0,0,3: 56:[42, 92] Operation: 39+53=92
Exploring Operation: 53-42=11, Resulting Numbers: [39, 11]
Generated Node #0,0,4: 56:[39, 11] Operation: 53-42=11
Moving to Node #0,0,0
Current State: 56:[53, 3], Operations: ['82-29=53', '42-39=3']
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,56 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[39, 29, 42, 82], Operations: []
Exploring Operation: 82-29=53, Resulting Numbers: [39, 42, 53]
Generated Node #0,0: 56:[39, 42, 53] Operation: 82-29=53
Moving to Node #0,0
Current State: 56:[39, 42, 53], Operations: ['82-29=53']
Exploring Operation: 42-39=3, Resulting Numbers: [53, 3]
Generated Node #0,0,0: 56:[53, 3] Operation: 42-39=3
Moving to Node #0,0,0
Current State: 56:[53, 3], Operations: ['82-29=53', '42-39=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
93,
88,
70,
15
] | 50 | [
"93-88=5",
"70-15=55",
"55-5=50"
] | Current State: 50:[93, 88, 70, 15], Operations: []
Exploring Operation: 93-88=5, Resulting Numbers: [70, 15, 5]
Generated Node #2: [70, 15, 5] from Operation: 93-88=5
Current State: 50:[70, 15, 5], Operations: ['93-88=5']
Exploring Operation: 70-15=55, Resulting Numbers: [5, 55]
Generated Node #3: [5, 55] from Operation: 70-15=55
Current State: 50:[5, 55], Operations: ['93-88=5', '70-15=55']
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[93, 88, 70, 15], Operations: []
Exploring Operation: 88-70=18, Resulting Numbers: [93, 15, 18]
Generated Node #0,0: 50:[93, 15, 18] Operation: 88-70=18
Exploring Operation: 93-15=78, Resulting Numbers: [88, 70, 78]
Generated Node #0,1: 50:[88, 70, 78] Operation: 93-15=78
Exploring Operation: 93-70=23, Resulting Numbers: [88, 15, 23]
Generated Node #0,2: 50:[88, 15, 23] Operation: 93-70=23
Exploring Operation: 93-88=5, Resulting Numbers: [70, 15, 5]
Generated Node #0,3: 50:[70, 15, 5] Operation: 93-88=5
Moving to Node #0,3
Current State: 50:[70, 15, 5], Operations: ['93-88=5']
Exploring Operation: 70-5=65, Resulting Numbers: [15, 65]
Generated Node #0,3,0: 50:[15, 65] Operation: 70-5=65
Exploring Operation: 15-5=10, Resulting Numbers: [70, 10]
Generated Node #0,3,1: 50:[70, 10] Operation: 15-5=10
Exploring Operation: 70-15=55, Resulting Numbers: [5, 55]
Generated Node #0,3,2: 50:[5, 55] Operation: 70-15=55
Exploring Operation: 70/5=14, Resulting Numbers: [15, 14]
Generated Node #0,3,3: 50:[15, 14] Operation: 70/5=14
Moving to Node #0,2
Current State: 50:[88, 15, 23], Operations: ['93-70=23']
Exploring Operation: 15+23=38, Resulting Numbers: [88, 38]
Generated Node #0,2,0: 50:[88, 38] Operation: 15+23=38
Exploring Operation: 88-15=73, Resulting Numbers: [23, 73]
Generated Node #0,2,1: 50:[23, 73] Operation: 88-15=73
Exploring Operation: 23-15=8, Resulting Numbers: [88, 8]
Generated Node #0,2,2: 50:[88, 8] Operation: 23-15=8
Exploring Operation: 88-23=65, Resulting Numbers: [15, 65]
Generated Node #0,2,3: 50:[15, 65] Operation: 88-23=65
Moving to Node #0,0
Current State: 50:[93, 15, 18], Operations: ['88-70=18']
Exploring Operation: 93-15=78, Resulting Numbers: [18, 78]
Generated Node #0,0,0: 50:[18, 78] Operation: 93-15=78
Exploring Operation: 15+18=33, Resulting Numbers: [93, 33]
Generated Node #0,0,1: 50:[93, 33] Operation: 15+18=33
Exploring Operation: 93-18=75, Resulting Numbers: [15, 75]
Generated Node #0,0,2: 50:[15, 75] Operation: 93-18=75
Exploring Operation: 18-15=3, Resulting Numbers: [93, 3]
Generated Node #0,0,3: 50:[93, 3] Operation: 18-15=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 50:[15, 75], Operations: ['88-70=18', '93-18=75']
Exploring Operation: 15*75=1125, Resulting Numbers: [1125]
1125,50 unequal: No Solution
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 15+75=90, Resulting Numbers: [90]
90,50 unequal: No Solution
Exploring Operation: 75/15=5, Resulting Numbers: [5]
5,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[18, 78], Operations: ['88-70=18', '93-15=78']
Exploring Operation: 18+78=96, Resulting Numbers: [96]
96,50 unequal: No Solution
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 18*78=1404, Resulting Numbers: [1404]
1404,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 50:[93, 3], Operations: ['88-70=18', '18-15=3']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,50 unequal: No Solution
Exploring Operation: 93*3=279, Resulting Numbers: [279]
279,50 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[93, 33], Operations: ['88-70=18', '15+18=33']
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 93*33=3069, Resulting Numbers: [3069]
3069,50 unequal: No Solution
Exploring Operation: 93+33=126, Resulting Numbers: [126]
126,50 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: 50:[88, 70, 78], Operations: ['93-15=78']
Exploring Operation: 88+70=158, Resulting Numbers: [78, 158]
Generated Node #0,1,0: 50:[78, 158] Operation: 88+70=158
Exploring Operation: 78-70=8, Resulting Numbers: [88, 8]
Generated Node #0,1,1: 50:[88, 8] Operation: 78-70=8
Exploring Operation: 88-78=10, Resulting Numbers: [70, 10]
Generated Node #0,1,2: 50:[70, 10] Operation: 88-78=10
Exploring Operation: 88-70=18, Resulting Numbers: [78, 18]
Generated Node #0,1,3: 50:[78, 18] Operation: 88-70=18
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 50:[70, 10], Operations: ['93-15=78', '88-78=10']
Exploring Operation: 70*10=700, Resulting Numbers: [700]
700,50 unequal: No Solution
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,50 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 50:[78, 18], Operations: ['93-15=78', '88-70=18']
Exploring Operation: 78*18=1404, Resulting Numbers: [1404]
1404,50 unequal: No Solution
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 78+18=96, Resulting Numbers: [96]
96,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[88, 8], Operations: ['93-15=78', '78-70=8']
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,50 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,50 unequal: No Solution
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[78, 158], Operations: ['93-15=78', '88+70=158']
Exploring Operation: 78*158=12324, Resulting Numbers: [12324]
12324,50 unequal: No Solution
Exploring Operation: 78+158=236, Resulting Numbers: [236]
236,50 unequal: No Solution
Exploring Operation: 158-78=80, Resulting Numbers: [80]
80,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 50:[5, 55], Operations: ['93-88=5', '70-15=55']
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,50 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[93, 88, 70, 15], Operations: []
Exploring Operation: 93-88=5, Resulting Numbers: [70, 15, 5]
Generated Node #0,3: 50:[70, 15, 5] Operation: 93-88=5
Moving to Node #0,3
Current State: 50:[70, 15, 5], Operations: ['93-88=5']
Exploring Operation: 70-15=55, Resulting Numbers: [5, 55]
Generated Node #0,3,2: 50:[5, 55] Operation: 70-15=55
Moving to Node #0,3,2
Current State: 50:[5, 55], Operations: ['93-88=5', '70-15=55']
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.951389 | hs_4 | mult_heuristic |
[
17,
97,
84,
57
] | 53 | [
"97-17=80",
"84-57=27",
"80-27=53"
] | Current State: 53:[17, 97, 84, 57], Operations: []
Exploring Operation: 97-17=80, Resulting Numbers: [84, 57, 80]
Generated Node #2: [84, 57, 80] from Operation: 97-17=80
Current State: 53:[84, 57, 80], Operations: ['97-17=80']
Exploring Operation: 84-57=27, Resulting Numbers: [80, 27]
Generated Node #3: [80, 27] from Operation: 84-57=27
Current State: 53:[80, 27], Operations: ['97-17=80', '84-57=27']
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[17, 97, 84, 57], Operations: []
Exploring Operation: 97-17=80, Resulting Numbers: [84, 57, 80]
Generated Node #0,0: 53:[84, 57, 80] Operation: 97-17=80
Exploring Operation: 84-17=67, Resulting Numbers: [97, 57, 67]
Generated Node #0,1: 53:[97, 57, 67] Operation: 84-17=67
Moving to Node #0,0
Current State: 53:[84, 57, 80], Operations: ['97-17=80']
Exploring Operation: 84-57=27, Resulting Numbers: [80, 27]
Generated Node #0,0,0: 53:[80, 27] Operation: 84-57=27
Exploring Operation: 84-80=4, Resulting Numbers: [57, 4]
Generated Node #0,0,1: 53:[57, 4] Operation: 84-80=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[80, 27], Operations: ['97-17=80', '84-57=27']
Exploring Operation: 80+27=107, Resulting Numbers: [107]
107,53 unequal: No Solution
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[17, 97, 84, 57], Operations: []
Exploring Operation: 97-17=80, Resulting Numbers: [84, 57, 80]
Generated Node #0,0: 53:[84, 57, 80] Operation: 97-17=80
Moving to Node #0,0
Current State: 53:[84, 57, 80], Operations: ['97-17=80']
Exploring Operation: 84-57=27, Resulting Numbers: [80, 27]
Generated Node #0,0,0: 53:[80, 27] Operation: 84-57=27
Moving to Node #0,0,0
Current State: 53:[80, 27], Operations: ['97-17=80', '84-57=27']
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
60,
23,
78,
7
] | 80 | [
"23+7=30",
"60/30=2",
"78+2=80"
] | Current State: 80:[60, 23, 78, 7], Operations: []
Exploring Operation: 23+7=30, Resulting Numbers: [60, 78, 30]
Generated Node #2: [60, 78, 30] from Operation: 23+7=30
Current State: 80:[60, 78, 30], Operations: ['23+7=30']
Exploring Operation: 60/30=2, Resulting Numbers: [78, 2]
Generated Node #3: [78, 2] from Operation: 60/30=2
Current State: 80:[78, 2], Operations: ['23+7=30', '60/30=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[60, 23, 78, 7], Operations: []
Exploring Operation: 60+23=83, Resulting Numbers: [78, 7, 83]
Generated Node #0,0: 80:[78, 7, 83] Operation: 60+23=83
Moving to Node #0,0
Current State: 80:[78, 7, 83], Operations: ['60+23=83']
Exploring Operation: 83-78=5, Resulting Numbers: [7, 5]
Generated Node #0,0,0: 80:[7, 5] Operation: 83-78=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[7, 5], Operations: ['60+23=83', '83-78=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
90,
95,
37,
43
] | 16 | [
"95-90=5",
"37+43=80",
"80/5=16"
] | Current State: 16:[90, 95, 37, 43], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [37, 43, 5]
Generated Node #2: [37, 43, 5] from Operation: 95-90=5
Current State: 16:[37, 43, 5], Operations: ['95-90=5']
Exploring Operation: 37+43=80, Resulting Numbers: [5, 80]
Generated Node #3: [5, 80] from Operation: 37+43=80
Current State: 16:[5, 80], Operations: ['95-90=5', '37+43=80']
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[90, 95, 37, 43], Operations: []
Exploring Operation: 95-43=52, Resulting Numbers: [90, 37, 52]
Generated Node #0,0: 16:[90, 37, 52] Operation: 95-43=52
Exploring Operation: 95-90=5, Resulting Numbers: [37, 43, 5]
Generated Node #0,1: 16:[37, 43, 5] Operation: 95-90=5
Exploring Operation: 90-43=47, Resulting Numbers: [95, 37, 47]
Generated Node #0,2: 16:[95, 37, 47] Operation: 90-43=47
Moving to Node #0,1
Current State: 16:[37, 43, 5], Operations: ['95-90=5']
Exploring Operation: 43-37=6, Resulting Numbers: [5, 6]
Generated Node #0,1,0: 16:[5, 6] Operation: 43-37=6
Exploring Operation: 37-5=32, Resulting Numbers: [43, 32]
Generated Node #0,1,1: 16:[43, 32] Operation: 37-5=32
Exploring Operation: 43-5=38, Resulting Numbers: [37, 38]
Generated Node #0,1,2: 16:[37, 38] Operation: 43-5=38
Moving to Node #0,0
Current State: 16:[90, 37, 52], Operations: ['95-43=52']
Exploring Operation: 90-52=38, Resulting Numbers: [37, 38]
Generated Node #0,0,0: 16:[37, 38] Operation: 90-52=38
Exploring Operation: 52-37=15, Resulting Numbers: [90, 15]
Generated Node #0,0,1: 16:[90, 15] Operation: 52-37=15
Exploring Operation: 90-37=53, Resulting Numbers: [52, 53]
Generated Node #0,0,2: 16:[52, 53] Operation: 90-37=53
Moving to Node #0,2
Current State: 16:[95, 37, 47], Operations: ['90-43=47']
Exploring Operation: 95-47=48, Resulting Numbers: [37, 48]
Generated Node #0,2,0: 16:[37, 48] Operation: 95-47=48
Exploring Operation: 95-37=58, Resulting Numbers: [47, 58]
Generated Node #0,2,1: 16:[47, 58] Operation: 95-37=58
Exploring Operation: 47-37=10, Resulting Numbers: [95, 10]
Generated Node #0,2,2: 16:[95, 10] Operation: 47-37=10
Moving to Node #0,1,0
Current State: 16:[5, 6], Operations: ['95-90=5', '43-37=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[37, 38], Operations: ['95-90=5', '43-5=38']
Exploring Operation: 37*38=1406, Resulting Numbers: [1406]
1406,16 unequal: No Solution
Exploring Operation: 37+38=75, Resulting Numbers: [75]
75,16 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[43, 32], Operations: ['95-90=5', '37-5=32']
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,16 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[37, 38], Operations: ['95-43=52', '90-52=38']
Exploring Operation: 37*38=1406, Resulting Numbers: [1406]
1406,16 unequal: No Solution
Exploring Operation: 37+38=75, Resulting Numbers: [75]
75,16 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[37, 48], Operations: ['90-43=47', '95-47=48']
Exploring Operation: 37+48=85, Resulting Numbers: [85]
85,16 unequal: No Solution
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 37*48=1776, Resulting Numbers: [1776]
1776,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[52, 53], Operations: ['95-43=52', '90-37=53']
Exploring Operation: 52+53=105, Resulting Numbers: [105]
105,16 unequal: No Solution
Exploring Operation: 52*53=2756, Resulting Numbers: [2756]
2756,16 unequal: No Solution
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[47, 58], Operations: ['90-43=47', '95-37=58']
Exploring Operation: 47+58=105, Resulting Numbers: [105]
105,16 unequal: No Solution
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 47*58=2726, Resulting Numbers: [2726]
2726,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[90, 15], Operations: ['95-43=52', '52-37=15']
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,16 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[95, 10], Operations: ['90-43=47', '47-37=10']
Exploring Operation: 95-10=85, Resulting Numbers: [85]
85,16 unequal: No Solution
Exploring Operation: 95*10=950, Resulting Numbers: [950]
950,16 unequal: No Solution
Exploring Operation: 95+10=105, Resulting Numbers: [105]
105,16 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
30,
75,
47,
62
] | 35 | [
"62-47=15",
"75/15=5",
"30+5=35"
] | Current State: 35:[30, 75, 47, 62], Operations: []
Exploring Operation: 62-47=15, Resulting Numbers: [30, 75, 15]
Generated Node #2: [30, 75, 15] from Operation: 62-47=15
Current State: 35:[30, 75, 15], Operations: ['62-47=15']
Exploring Operation: 75/15=5, Resulting Numbers: [30, 5]
Generated Node #3: [30, 5] from Operation: 75/15=5
Current State: 35:[30, 5], Operations: ['62-47=15', '75/15=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[30, 75, 47, 62], Operations: []
Exploring Operation: 62-47=15, Resulting Numbers: [30, 75, 15]
Generated Node #0,0: 35:[30, 75, 15] Operation: 62-47=15
Exploring Operation: 75-30=45, Resulting Numbers: [47, 62, 45]
Generated Node #0,1: 35:[47, 62, 45] Operation: 75-30=45
Exploring Operation: 75-47=28, Resulting Numbers: [30, 62, 28]
Generated Node #0,2: 35:[30, 62, 28] Operation: 75-47=28
Exploring Operation: 75-62=13, Resulting Numbers: [30, 47, 13]
Generated Node #0,3: 35:[30, 47, 13] Operation: 75-62=13
Moving to Node #0,3
Current State: 35:[30, 47, 13], Operations: ['75-62=13']
Exploring Operation: 47-13=34, Resulting Numbers: [30, 34]
Generated Node #0,3,0: 35:[30, 34] Operation: 47-13=34
Exploring Operation: 47-30=17, Resulting Numbers: [13, 17]
Generated Node #0,3,1: 35:[13, 17] Operation: 47-30=17
Exploring Operation: 30+13=43, Resulting Numbers: [47, 43]
Generated Node #0,3,2: 35:[47, 43] Operation: 30+13=43
Exploring Operation: 30-13=17, Resulting Numbers: [47, 17]
Generated Node #0,3,3: 35:[47, 17] Operation: 30-13=17
Moving to Node #0,2
Current State: 35:[30, 62, 28], Operations: ['75-47=28']
Exploring Operation: 62-28=34, Resulting Numbers: [30, 34]
Generated Node #0,2,0: 35:[30, 34] Operation: 62-28=34
Exploring Operation: 30+28=58, Resulting Numbers: [62, 58]
Generated Node #0,2,1: 35:[62, 58] Operation: 30+28=58
Exploring Operation: 62-30=32, Resulting Numbers: [28, 32]
Generated Node #0,2,2: 35:[28, 32] Operation: 62-30=32
Exploring Operation: 30-28=2, Resulting Numbers: [62, 2]
Generated Node #0,2,3: 35:[62, 2] Operation: 30-28=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[30, 34], Operations: ['75-47=28', '62-28=34']
Exploring Operation: 30*34=1020, Resulting Numbers: [1020]
1020,35 unequal: No Solution
Exploring Operation: 30+34=64, Resulting Numbers: [64]
64,35 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[28, 32], Operations: ['75-47=28', '62-30=32']
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 35:[62, 2], Operations: ['75-47=28', '30-28=2']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,35 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,35 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[62, 58], Operations: ['75-47=28', '30+28=58']
Exploring Operation: 62*58=3596, Resulting Numbers: [3596]
3596,35 unequal: No Solution
Exploring Operation: 62+58=120, Resulting Numbers: [120]
120,35 unequal: No Solution
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,35 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: 35:[47, 62, 45], Operations: ['75-30=45']
Exploring Operation: 62-45=17, Resulting Numbers: [47, 17]
Generated Node #0,1,0: 35:[47, 17] Operation: 62-45=17
Exploring Operation: 47-45=2, Resulting Numbers: [62, 2]
Generated Node #0,1,1: 35:[62, 2] Operation: 47-45=2
Exploring Operation: 47+62=109, Resulting Numbers: [45, 109]
Generated Node #0,1,2: 35:[45, 109] Operation: 47+62=109
Exploring Operation: 62-47=15, Resulting Numbers: [45, 15]
Generated Node #0,1,3: 35:[45, 15] Operation: 62-47=15
Moving to Node #0,0
Current State: 35:[30, 75, 15], Operations: ['62-47=15']
Exploring Operation: 75-30=45, Resulting Numbers: [15, 45]
Generated Node #0,0,0: 35:[15, 45] Operation: 75-30=45
Exploring Operation: 30/15=2, Resulting Numbers: [75, 2]
Generated Node #0,0,1: 35:[75, 2] Operation: 30/15=2
Exploring Operation: 75-15=60, Resulting Numbers: [30, 60]
Generated Node #0,0,2: 35:[30, 60] Operation: 75-15=60
Exploring Operation: 75/15=5, Resulting Numbers: [30, 5]
Generated Node #0,0,3: 35:[30, 5] Operation: 75/15=5
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[30, 5], Operations: ['62-47=15', '75/15=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,35 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[30, 75, 47, 62], Operations: []
Exploring Operation: 62-47=15, Resulting Numbers: [30, 75, 15]
Generated Node #0,0: 35:[30, 75, 15] Operation: 62-47=15
Moving to Node #0,0
Current State: 35:[30, 75, 15], Operations: ['62-47=15']
Exploring Operation: 75/15=5, Resulting Numbers: [30, 5]
Generated Node #0,0,3: 35:[30, 5] Operation: 75/15=5
Moving to Node #0,0,3
Current State: 35:[30, 5], Operations: ['62-47=15', '75/15=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | mult_heuristic |
[
33,
93,
22,
4
] | 26 | [
"33+93=126",
"126-22=104",
"104/4=26"
] | Current State: 26:[33, 93, 22, 4], Operations: []
Exploring Operation: 33+93=126, Resulting Numbers: [22, 4, 126]
Generated Node #2: [22, 4, 126] from Operation: 33+93=126
Current State: 26:[22, 4, 126], Operations: ['33+93=126']
Exploring Operation: 126-22=104, Resulting Numbers: [4, 104]
Generated Node #3: [4, 104] from Operation: 126-22=104
Current State: 26:[4, 104], Operations: ['33+93=126', '126-22=104']
Exploring Operation: 104/4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[33, 93, 22, 4], Operations: []
Exploring Operation: 93-22=71, Resulting Numbers: [33, 4, 71]
Generated Node #0,0: 26:[33, 4, 71] Operation: 93-22=71
Exploring Operation: 93-33=60, Resulting Numbers: [22, 4, 60]
Generated Node #0,1: 26:[22, 4, 60] Operation: 93-33=60
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[22, 4, 60], Operations: ['93-33=60']
Exploring Operation: 60/4=15, Resulting Numbers: [22, 15]
Generated Node #0,1,0: 26:[22, 15] Operation: 60/4=15
Exploring Operation: 60-22=38, Resulting Numbers: [4, 38]
Generated Node #0,1,1: 26:[4, 38] Operation: 60-22=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 26:[22, 15], Operations: ['93-33=60', '60/4=15']
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,26 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 26:[4, 38], Operations: ['93-33=60', '60-22=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[33, 4, 71], Operations: ['93-22=71']
Exploring Operation: 71-33=38, Resulting Numbers: [4, 38]
Generated Node #0,0,0: 26:[4, 38] Operation: 71-33=38
Exploring Operation: 33-4=29, Resulting Numbers: [71, 29]
Generated Node #0,0,1: 26:[71, 29] Operation: 33-4=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[4, 38], Operations: ['93-22=71', '71-33=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[71, 29], Operations: ['93-22=71', '33-4=29']
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,26 unequal: No Solution
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
78,
73,
66,
77
] | 67 | [
"73-66=7",
"77/7=11",
"78-11=67"
] | Current State: 67:[78, 73, 66, 77], Operations: []
Exploring Operation: 73-66=7, Resulting Numbers: [78, 77, 7]
Generated Node #2: [78, 77, 7] from Operation: 73-66=7
Current State: 67:[78, 77, 7], Operations: ['73-66=7']
Exploring Operation: 77/7=11, Resulting Numbers: [78, 11]
Generated Node #3: [78, 11] from Operation: 77/7=11
Current State: 67:[78, 11], Operations: ['73-66=7', '77/7=11']
Exploring Operation: 78-11=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[78, 73, 66, 77], Operations: []
Exploring Operation: 77-66=11, Resulting Numbers: [78, 73, 11]
Generated Node #0,0: 67:[78, 73, 11] Operation: 77-66=11
Exploring Operation: 78-66=12, Resulting Numbers: [73, 77, 12]
Generated Node #0,1: 67:[73, 77, 12] Operation: 78-66=12
Exploring Operation: 77-73=4, Resulting Numbers: [78, 66, 4]
Generated Node #0,2: 67:[78, 66, 4] Operation: 77-73=4
Exploring Operation: 78-77=1, Resulting Numbers: [73, 66, 1]
Generated Node #0,3: 67:[73, 66, 1] Operation: 78-77=1
Exploring Operation: 78-73=5, Resulting Numbers: [66, 77, 5]
Generated Node #0,4: 67:[66, 77, 5] Operation: 78-73=5
Moving to Node #0,1
Current State: 67:[73, 77, 12], Operations: ['78-66=12']
Exploring Operation: 77-73=4, Resulting Numbers: [12, 4]
Generated Node #0,1,0: 67:[12, 4] Operation: 77-73=4
Exploring Operation: 73+12=85, Resulting Numbers: [77, 85]
Generated Node #0,1,1: 67:[77, 85] Operation: 73+12=85
Exploring Operation: 77+12=89, Resulting Numbers: [73, 89]
Generated Node #0,1,2: 67:[73, 89] Operation: 77+12=89
Exploring Operation: 73-12=61, Resulting Numbers: [77, 61]
Generated Node #0,1,3: 67:[77, 61] Operation: 73-12=61
Exploring Operation: 77-12=65, Resulting Numbers: [73, 65]
Generated Node #0,1,4: 67:[73, 65] Operation: 77-12=65
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 67:[73, 65], Operations: ['78-66=12', '77-12=65']
Exploring Operation: 73*65=4745, Resulting Numbers: [4745]
4745,67 unequal: No Solution
Exploring Operation: 73-65=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 73+65=138, Resulting Numbers: [138]
138,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 67:[77, 61], Operations: ['78-66=12', '73-12=61']
Exploring Operation: 77+61=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 77-61=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 77*61=4697, Resulting Numbers: [4697]
4697,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[77, 85], Operations: ['78-66=12', '73+12=85']
Exploring Operation: 77*85=6545, Resulting Numbers: [6545]
6545,67 unequal: No Solution
Exploring Operation: 77+85=162, Resulting Numbers: [162]
162,67 unequal: No Solution
Exploring Operation: 85-77=8, Resulting Numbers: [8]
8,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[73, 89], Operations: ['78-66=12', '77+12=89']
Exploring Operation: 89-73=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 73+89=162, Resulting Numbers: [162]
162,67 unequal: No Solution
Exploring Operation: 73*89=6497, Resulting Numbers: [6497]
6497,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[12, 4], Operations: ['78-66=12', '77-73=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,67 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: 67:[73, 66, 1], Operations: ['78-77=1']
Exploring Operation: 66*1=66, Resulting Numbers: [73, 66]
Generated Node #0,3,0: 67:[73, 66] Operation: 66*1=66
Exploring Operation: 73*1=73, Resulting Numbers: [66, 73]
Generated Node #0,3,1: 67:[66, 73] Operation: 73*1=73
Exploring Operation: 73-1=72, Resulting Numbers: [66, 72]
Generated Node #0,3,2: 67:[66, 72] Operation: 73-1=72
Exploring Operation: 66+1=67, Resulting Numbers: [73, 67]
Generated Node #0,3,3: 67:[73, 67] Operation: 66+1=67
Exploring Operation: 73/1=73, Resulting Numbers: [66, 73]
Generated Node #0,3,4: 67:[66, 73] Operation: 73/1=73
Moving to Node #0,0
Current State: 67:[78, 73, 11], Operations: ['77-66=11']
Exploring Operation: 73+11=84, Resulting Numbers: [78, 84]
Generated Node #0,0,0: 67:[78, 84] Operation: 73+11=84
Exploring Operation: 73-11=62, Resulting Numbers: [78, 62]
Generated Node #0,0,1: 67:[78, 62] Operation: 73-11=62
Exploring Operation: 78+11=89, Resulting Numbers: [73, 89]
Generated Node #0,0,2: 67:[73, 89] Operation: 78+11=89
Exploring Operation: 78-11=67, Resulting Numbers: [73, 67]
Generated Node #0,0,3: 67:[73, 67] Operation: 78-11=67
Exploring Operation: 78-73=5, Resulting Numbers: [11, 5]
Generated Node #0,0,4: 67:[11, 5] Operation: 78-73=5
Moving to Node #0,4
Current State: 67:[66, 77, 5], Operations: ['78-73=5']
Exploring Operation: 66-5=61, Resulting Numbers: [77, 61]
Generated Node #0,4,0: 67:[77, 61] Operation: 66-5=61
Exploring Operation: 66+5=71, Resulting Numbers: [77, 71]
Generated Node #0,4,1: 67:[77, 71] Operation: 66+5=71
Exploring Operation: 77+5=82, Resulting Numbers: [66, 82]
Generated Node #0,4,2: 67:[66, 82] Operation: 77+5=82
Exploring Operation: 77-66=11, Resulting Numbers: [5, 11]
Generated Node #0,4,3: 67:[5, 11] Operation: 77-66=11
Exploring Operation: 77-5=72, Resulting Numbers: [66, 72]
Generated Node #0,4,4: 67:[66, 72] Operation: 77-5=72
Moving to Node #0,2
Current State: 67:[78, 66, 4], Operations: ['77-73=4']
Exploring Operation: 66-4=62, Resulting Numbers: [78, 62]
Generated Node #0,2,0: 67:[78, 62] Operation: 66-4=62
Exploring Operation: 78-4=74, Resulting Numbers: [66, 74]
Generated Node #0,2,1: 67:[66, 74] Operation: 78-4=74
Exploring Operation: 66+4=70, Resulting Numbers: [78, 70]
Generated Node #0,2,2: 67:[78, 70] Operation: 66+4=70
Exploring Operation: 78-66=12, Resulting Numbers: [4, 12]
Generated Node #0,2,3: 67:[4, 12] Operation: 78-66=12
Exploring Operation: 78+4=82, Resulting Numbers: [66, 82]
Generated Node #0,2,4: 67:[66, 82] Operation: 78+4=82
Moving to Node #0,3,2
Current State: 67:[66, 72], Operations: ['78-77=1', '73-1=72']
Exploring Operation: 66+72=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 72-66=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 66*72=4752, Resulting Numbers: [4752]
4752,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[73, 67], Operations: ['77-66=11', '78-11=67']
Exploring Operation: 73-67=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 73*67=4891, Resulting Numbers: [4891]
4891,67 unequal: No Solution
Exploring Operation: 73+67=140, Resulting Numbers: [140]
140,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[73, 67], Operations: ['78-77=1', '66+1=67']
Exploring Operation: 73*67=4891, Resulting Numbers: [4891]
4891,67 unequal: No Solution
Exploring Operation: 73-67=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 73+67=140, Resulting Numbers: [140]
140,67 unequal: No Solution
Moving to Node #0,4,4
Current State: 67:[66, 72], Operations: ['78-73=5', '77-5=72']
Exploring Operation: 66+72=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 66*72=4752, Resulting Numbers: [4752]
4752,67 unequal: No Solution
Exploring Operation: 72-66=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[73, 66], Operations: ['78-77=1', '66*1=66']
Exploring Operation: 73+66=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Exploring Operation: 73-66=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 73*66=4818, Resulting Numbers: [4818]
4818,67 unequal: No Solution
Moving to Node #0,3,4
Current State: 67:[66, 73], Operations: ['78-77=1', '73/1=73']
Exploring Operation: 66+73=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Exploring Operation: 66*73=4818, Resulting Numbers: [4818]
4818,67 unequal: No Solution
Exploring Operation: 73-66=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[66, 73], Operations: ['78-77=1', '73*1=73']
Exploring Operation: 66*73=4818, Resulting Numbers: [4818]
4818,67 unequal: No Solution
Exploring Operation: 73-66=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 66+73=139, Resulting Numbers: [139]
139,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[66, 74], Operations: ['77-73=4', '78-4=74']
Exploring Operation: 66*74=4884, Resulting Numbers: [4884]
4884,67 unequal: No Solution
Exploring Operation: 66+74=140, Resulting Numbers: [140]
140,67 unequal: No Solution
Exploring Operation: 74-66=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Moving to Node #0,4,1
Current State: 67:[77, 71], Operations: ['78-73=5', '66+5=71']
Exploring Operation: 77-71=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 77+71=148, Resulting Numbers: [148]
148,67 unequal: No Solution
Exploring Operation: 77*71=5467, Resulting Numbers: [5467]
5467,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[78, 70], Operations: ['77-73=4', '66+4=70']
Exploring Operation: 78*70=5460, Resulting Numbers: [5460]
5460,67 unequal: No Solution
Exploring Operation: 78+70=148, Resulting Numbers: [148]
148,67 unequal: No Solution
Exploring Operation: 78-70=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[78, 62], Operations: ['77-66=11', '73-11=62']
Exploring Operation: 78+62=140, Resulting Numbers: [140]
140,67 unequal: No Solution
Exploring Operation: 78*62=4836, Resulting Numbers: [4836]
4836,67 unequal: No Solution
Exploring Operation: 78-62=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Moving to Node #0,4,0
Current State: 67:[77, 61], Operations: ['78-73=5', '66-5=61']
Exploring Operation: 77+61=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 77*61=4697, Resulting Numbers: [4697]
4697,67 unequal: No Solution
Exploring Operation: 77-61=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Moving to Node #0,2,4
Current State: 67:[66, 82], Operations: ['77-73=4', '78+4=82']
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 66+82=148, Resulting Numbers: [148]
148,67 unequal: No Solution
Exploring Operation: 66*82=5412, Resulting Numbers: [5412]
5412,67 unequal: No Solution
Moving to Node #0,4,2
Current State: 67:[66, 82], Operations: ['78-73=5', '77+5=82']
Exploring Operation: 66+82=148, Resulting Numbers: [148]
148,67 unequal: No Solution
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 66*82=5412, Resulting Numbers: [5412]
5412,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[78, 62], Operations: ['77-73=4', '66-4=62']
Exploring Operation: 78+62=140, Resulting Numbers: [140]
140,67 unequal: No Solution
Exploring Operation: 78-62=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 78*62=4836, Resulting Numbers: [4836]
4836,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[73, 89], Operations: ['77-66=11', '78+11=89']
Exploring Operation: 73*89=6497, Resulting Numbers: [6497]
6497,67 unequal: No Solution
Exploring Operation: 73+89=162, Resulting Numbers: [162]
162,67 unequal: No Solution
Exploring Operation: 89-73=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[78, 84], Operations: ['77-66=11', '73+11=84']
Exploring Operation: 78+84=162, Resulting Numbers: [162]
162,67 unequal: No Solution
Exploring Operation: 78*84=6552, Resulting Numbers: [6552]
6552,67 unequal: No Solution
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Moving to Node #0,0,4
Current State: 67:[11, 5], Operations: ['77-66=11', '78-73=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[4, 12], Operations: ['77-73=4', '78-66=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,67 unequal: No Solution
Moving to Node #0,4,3
Current State: 67:[5, 11], Operations: ['78-73=5', '77-66=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,67 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,67 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
24,
83,
12,
22
] | 69 | [
"83-24=59",
"22-12=10",
"59+10=69"
] | Current State: 69:[24, 83, 12, 22], Operations: []
Exploring Operation: 83-24=59, Resulting Numbers: [12, 22, 59]
Generated Node #2: [12, 22, 59] from Operation: 83-24=59
Current State: 69:[12, 22, 59], Operations: ['83-24=59']
Exploring Operation: 22-12=10, Resulting Numbers: [59, 10]
Generated Node #3: [59, 10] from Operation: 22-12=10
Current State: 69:[59, 10], Operations: ['83-24=59', '22-12=10']
Exploring Operation: 59+10=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[24, 83, 12, 22], Operations: []
Exploring Operation: 83-12=71, Resulting Numbers: [24, 22, 71]
Generated Node #0,0: 69:[24, 22, 71] Operation: 83-12=71
Exploring Operation: 24/12=2, Resulting Numbers: [83, 22, 2]
Generated Node #0,1: 69:[83, 22, 2] Operation: 24/12=2
Exploring Operation: 83-22=61, Resulting Numbers: [24, 12, 61]
Generated Node #0,2: 69:[24, 12, 61] Operation: 83-22=61
Moving to Node #0,0
Current State: 69:[24, 22, 71], Operations: ['83-12=71']
Exploring Operation: 24-22=2, Resulting Numbers: [71, 2]
Generated Node #0,0,0: 69:[71, 2] Operation: 24-22=2
Exploring Operation: 71-24=47, Resulting Numbers: [22, 47]
Generated Node #0,0,1: 69:[22, 47] Operation: 71-24=47
Exploring Operation: 71-22=49, Resulting Numbers: [24, 49]
Generated Node #0,0,2: 69:[24, 49] Operation: 71-22=49
Moving to Node #0,1
Current State: 69:[83, 22, 2], Operations: ['24/12=2']
Exploring Operation: 22+2=24, Resulting Numbers: [83, 24]
Generated Node #0,1,0: 69:[83, 24] Operation: 22+2=24
Exploring Operation: 83-22=61, Resulting Numbers: [2, 61]
Generated Node #0,1,1: 69:[2, 61] Operation: 83-22=61
Exploring Operation: 83-2=81, Resulting Numbers: [22, 81]
Generated Node #0,1,2: 69:[22, 81] Operation: 83-2=81
Moving to Node #0,2
Current State: 69:[24, 12, 61], Operations: ['83-22=61']
Exploring Operation: 24/12=2, Resulting Numbers: [61, 2]
Generated Node #0,2,0: 69:[61, 2] Operation: 24/12=2
Exploring Operation: 24-12=12, Resulting Numbers: [61, 12]
Generated Node #0,2,1: 69:[61, 12] Operation: 24-12=12
Exploring Operation: 12+61=73, Resulting Numbers: [24, 73]
Generated Node #0,2,2: 69:[24, 73] Operation: 12+61=73
Moving to Node #0,0,0
Current State: 69:[71, 2], Operations: ['83-12=71', '24-22=2']
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,69 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[24, 83, 12, 22], Operations: []
Exploring Operation: 83-12=71, Resulting Numbers: [24, 22, 71]
Generated Node #0,0: 69:[24, 22, 71] Operation: 83-12=71
Moving to Node #0,0
Current State: 69:[24, 22, 71], Operations: ['83-12=71']
Exploring Operation: 24-22=2, Resulting Numbers: [71, 2]
Generated Node #0,0,0: 69:[71, 2] Operation: 24-22=2
Moving to Node #0,0,0
Current State: 69:[71, 2], Operations: ['83-12=71', '24-22=2']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.984375 | hs_3 | sum_heuristic |
[
31,
76,
15,
45
] | 15 | [
"76-31=45",
"15+45=60",
"60-45=15"
] | Current State: 15:[31, 76, 15, 45], Operations: []
Exploring Operation: 76-31=45, Resulting Numbers: [15, 45, 45]
Generated Node #2: [15, 45, 45] from Operation: 76-31=45
Current State: 15:[15, 45, 45], Operations: ['76-31=45']
Exploring Operation: 15+45=60, Resulting Numbers: [60]
60,15 equal: Goal Reached
Exploring Operation: 60-45=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[31, 76, 15, 45], Operations: []
Exploring Operation: 76-45=31, Resulting Numbers: [31, 15, 31]
Generated Node #0,0: 15:[31, 15, 31] Operation: 76-45=31
Exploring Operation: 76-31=45, Resulting Numbers: [15, 45, 45]
Generated Node #0,1: 15:[15, 45, 45] Operation: 76-31=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[31, 15, 31], Operations: ['76-45=31']
Exploring Operation: 31/31=1, Resulting Numbers: [15, 1]
Generated Node #0,0,0: 15:[15, 1] Operation: 31/31=1
Exploring Operation: 31-31=0, Resulting Numbers: [15, 0]
Generated Node #0,0,1: 15:[15, 0] Operation: 31-31=0
Moving to Node #0,0,0
Current State: 15:[15, 1], Operations: ['76-45=31', '31/31=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[31, 76, 15, 45], Operations: []
Exploring Operation: 76-45=31, Resulting Numbers: [31, 15, 31]
Generated Node #0,0: 15:[31, 15, 31] Operation: 76-45=31
Moving to Node #0,0
Current State: 15:[31, 15, 31], Operations: ['76-45=31']
Exploring Operation: 31/31=1, Resulting Numbers: [15, 1]
Generated Node #0,0,0: 15:[15, 1] Operation: 31/31=1
Moving to Node #0,0,0
Current State: 15:[15, 1], Operations: ['76-45=31', '31/31=1']
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
2,
94,
43,
50
] | 92 | [
"43+50=93",
"2*93=186",
"186-94=92"
] | Current State: 92:[2, 94, 43, 50], Operations: []
Exploring Operation: 43+50=93, Resulting Numbers: [2, 94, 93]
Generated Node #2: [2, 94, 93] from Operation: 43+50=93
Current State: 92:[2, 94, 93], Operations: ['43+50=93']
Exploring Operation: 2*93=186, Resulting Numbers: [94, 186]
Generated Node #3: [94, 186] from Operation: 2*93=186
Current State: 92:[94, 186], Operations: ['43+50=93', '2*93=186']
Exploring Operation: 186-94=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[2, 94, 43, 50], Operations: []
Exploring Operation: 50-43=7, Resulting Numbers: [2, 94, 7]
Generated Node #0,0: 92:[2, 94, 7] Operation: 50-43=7
Exploring Operation: 94-50=44, Resulting Numbers: [2, 43, 44]
Generated Node #0,1: 92:[2, 43, 44] Operation: 94-50=44
Exploring Operation: 43+50=93, Resulting Numbers: [2, 94, 93]
Generated Node #0,2: 92:[2, 94, 93] Operation: 43+50=93
Moving to Node #0,2
Current State: 92:[2, 94, 93], Operations: ['43+50=93']
Exploring Operation: 94-93=1, Resulting Numbers: [2, 1]
Generated Node #0,2,0: 92:[2, 1] Operation: 94-93=1
Exploring Operation: 94/2=47, Resulting Numbers: [93, 47]
Generated Node #0,2,1: 92:[93, 47] Operation: 94/2=47
Exploring Operation: 94-2=92, Resulting Numbers: [93, 92]
Generated Node #0,2,2: 92:[93, 92] Operation: 94-2=92
Moving to Node #0,0
Current State: 92:[2, 94, 7], Operations: ['50-43=7']
Exploring Operation: 94/2=47, Resulting Numbers: [7, 47]
Generated Node #0,0,0: 92:[7, 47] Operation: 94/2=47
Exploring Operation: 94-2=92, Resulting Numbers: [7, 92]
Generated Node #0,0,1: 92:[7, 92] Operation: 94-2=92
Exploring Operation: 7-2=5, Resulting Numbers: [94, 5]
Generated Node #0,0,2: 92:[94, 5] Operation: 7-2=5
Moving to Node #0,1
Current State: 92:[2, 43, 44], Operations: ['94-50=44']
Exploring Operation: 44-43=1, Resulting Numbers: [2, 1]
Generated Node #0,1,0: 92:[2, 1] Operation: 44-43=1
Exploring Operation: 2+44=46, Resulting Numbers: [43, 46]
Generated Node #0,1,1: 92:[43, 46] Operation: 2+44=46
Exploring Operation: 2+43=45, Resulting Numbers: [44, 45]
Generated Node #0,1,2: 92:[44, 45] Operation: 2+43=45
Moving to Node #0,2,0
Current State: 92:[2, 1], Operations: ['43+50=93', '94-93=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[2, 1], Operations: ['94-50=44', '44-43=1']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[93, 92], Operations: ['43+50=93', '94-2=92']
Exploring Operation: 93*92=8556, Resulting Numbers: [8556]
8556,92 unequal: No Solution
Exploring Operation: 93-92=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 93+92=185, Resulting Numbers: [185]
185,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[93, 47], Operations: ['43+50=93', '94/2=47']
Exploring Operation: 93-47=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 93*47=4371, Resulting Numbers: [4371]
4371,92 unequal: No Solution
Exploring Operation: 93+47=140, Resulting Numbers: [140]
140,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[44, 45], Operations: ['94-50=44', '2+43=45']
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,92 unequal: No Solution
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 44*45=1980, Resulting Numbers: [1980]
1980,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[94, 5], Operations: ['50-43=7', '7-2=5']
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,92 unequal: No Solution
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,92 unequal: No Solution
Exploring Operation: 94*5=470, Resulting Numbers: [470]
470,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[7, 92], Operations: ['50-43=7', '94-2=92']
Exploring Operation: 7*92=644, Resulting Numbers: [644]
644,92 unequal: No Solution
Exploring Operation: 7+92=99, Resulting Numbers: [99]
99,92 unequal: No Solution
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[43, 46], Operations: ['94-50=44', '2+44=46']
Exploring Operation: 43+46=89, Resulting Numbers: [89]
89,92 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 43*46=1978, Resulting Numbers: [1978]
1978,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[7, 47], Operations: ['50-43=7', '94/2=47']
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Exploring Operation: 7*47=329, Resulting Numbers: [329]
329,92 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
24,
39,
40,
29
] | 26 | [
"39-24=15",
"40-29=11",
"15+11=26"
] | Current State: 26:[24, 39, 40, 29], Operations: []
Exploring Operation: 39-24=15, Resulting Numbers: [40, 29, 15]
Generated Node #2: [40, 29, 15] from Operation: 39-24=15
Current State: 26:[40, 29, 15], Operations: ['39-24=15']
Exploring Operation: 40-29=11, Resulting Numbers: [15, 11]
Generated Node #3: [15, 11] from Operation: 40-29=11
Current State: 26:[15, 11], Operations: ['39-24=15', '40-29=11']
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[24, 39, 40, 29], Operations: []
Exploring Operation: 40-29=11, Resulting Numbers: [24, 39, 11]
Generated Node #0,0: 26:[24, 39, 11] Operation: 40-29=11
Exploring Operation: 40-39=1, Resulting Numbers: [24, 29, 1]
Generated Node #0,1: 26:[24, 29, 1] Operation: 40-39=1
Moving to Node #0,1
Current State: 26:[24, 29, 1], Operations: ['40-39=1']
Exploring Operation: 24+1=25, Resulting Numbers: [29, 25]
Generated Node #0,1,0: 26:[29, 25] Operation: 24+1=25
Exploring Operation: 29-24=5, Resulting Numbers: [1, 5]
Generated Node #0,1,1: 26:[1, 5] Operation: 29-24=5
Moving to Node #0,0
Current State: 26:[24, 39, 11], Operations: ['40-29=11']
Exploring Operation: 39-11=28, Resulting Numbers: [24, 28]
Generated Node #0,0,0: 26:[24, 28] Operation: 39-11=28
Exploring Operation: 39-24=15, Resulting Numbers: [11, 15]
Generated Node #0,0,1: 26:[11, 15] Operation: 39-24=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[24, 28], Operations: ['40-29=11', '39-11=28']
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[11, 15], Operations: ['40-29=11', '39-24=15']
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[24, 39, 40, 29], Operations: []
Exploring Operation: 40-29=11, Resulting Numbers: [24, 39, 11]
Generated Node #0,0: 26:[24, 39, 11] Operation: 40-29=11
Moving to Node #0,0
Current State: 26:[24, 39, 11], Operations: ['40-29=11']
Exploring Operation: 39-24=15, Resulting Numbers: [11, 15]
Generated Node #0,0,1: 26:[11, 15] Operation: 39-24=15
Moving to Node #0,0,1
Current State: 26:[11, 15], Operations: ['40-29=11', '39-24=15']
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_2 | mult_heuristic |
[
58,
22,
41,
65
] | 25 | [
"58+65=123",
"123/41=3",
"22+3=25"
] | Current State: 25:[58, 22, 41, 65], Operations: []
Exploring Operation: 58+65=123, Resulting Numbers: [22, 41, 123]
Generated Node #2: [22, 41, 123] from Operation: 58+65=123
Current State: 25:[22, 41, 123], Operations: ['58+65=123']
Exploring Operation: 123/41=3, Resulting Numbers: [22, 3]
Generated Node #3: [22, 3] from Operation: 123/41=3
Current State: 25:[22, 3], Operations: ['58+65=123', '123/41=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[58, 22, 41, 65], Operations: []
Exploring Operation: 65-58=7, Resulting Numbers: [22, 41, 7]
Generated Node #0,0: 25:[22, 41, 7] Operation: 65-58=7
Exploring Operation: 65-41=24, Resulting Numbers: [58, 22, 24]
Generated Node #0,1: 25:[58, 22, 24] Operation: 65-41=24
Exploring Operation: 58-41=17, Resulting Numbers: [22, 65, 17]
Generated Node #0,2: 25:[22, 65, 17] Operation: 58-41=17
Moving to Node #0,0
Current State: 25:[22, 41, 7], Operations: ['65-58=7']
Exploring Operation: 41-7=34, Resulting Numbers: [22, 34]
Generated Node #0,0,0: 25:[22, 34] Operation: 41-7=34
Exploring Operation: 41-22=19, Resulting Numbers: [7, 19]
Generated Node #0,0,1: 25:[7, 19] Operation: 41-22=19
Exploring Operation: 22+7=29, Resulting Numbers: [41, 29]
Generated Node #0,0,2: 25:[41, 29] Operation: 22+7=29
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[7, 19], Operations: ['65-58=7', '41-22=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,25 unequal: No Solution
No 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: 25:[22, 34], Operations: ['65-58=7', '41-7=34']
Exploring Operation: 22+34=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 22*34=748, Resulting Numbers: [748]
748,25 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,25 unequal: No Solution
No 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: 25:[41, 29], Operations: ['65-58=7', '22+7=29']
Exploring Operation: 41*29=1189, Resulting Numbers: [1189]
1189,25 unequal: No Solution
Exploring Operation: 41+29=70, Resulting Numbers: [70]
70,25 unequal: No Solution
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,25 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: 25:[58, 22, 24], Operations: ['65-41=24']
Exploring Operation: 24-22=2, Resulting Numbers: [58, 2]
Generated Node #0,1,0: 25:[58, 2] Operation: 24-22=2
Exploring Operation: 58-22=36, Resulting Numbers: [24, 36]
Generated Node #0,1,1: 25:[24, 36] Operation: 58-22=36
Exploring Operation: 58-24=34, Resulting Numbers: [22, 34]
Generated Node #0,1,2: 25:[22, 34] Operation: 58-24=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[24, 36], Operations: ['65-41=24', '58-22=36']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 24+36=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 24*36=864, Resulting Numbers: [864]
864,25 unequal: No Solution
No 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: 25:[22, 34], Operations: ['65-41=24', '58-24=34']
Exploring Operation: 22+34=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 22*34=748, Resulting Numbers: [748]
748,25 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,25 unequal: No Solution
No 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: 25:[58, 2], Operations: ['65-41=24', '24-22=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,25 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: 25:[22, 65, 17], Operations: ['58-41=17']
Exploring Operation: 22-17=5, Resulting Numbers: [65, 5]
Generated Node #0,2,0: 25:[65, 5] Operation: 22-17=5
Exploring Operation: 65-17=48, Resulting Numbers: [22, 48]
Generated Node #0,2,1: 25:[22, 48] Operation: 65-17=48
Exploring Operation: 65-22=43, Resulting Numbers: [17, 43]
Generated Node #0,2,2: 25:[17, 43] Operation: 65-22=43
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[22, 48], Operations: ['58-41=17', '65-17=48']
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,25 unequal: No Solution
Exploring Operation: 22*48=1056, Resulting Numbers: [1056]
1056,25 unequal: No Solution
No 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: 25:[17, 43], Operations: ['58-41=17', '65-22=43']
Exploring Operation: 17*43=731, Resulting Numbers: [731]
731,25 unequal: No Solution
Exploring Operation: 17+43=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,25 unequal: No Solution
No 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: 25:[65, 5], Operations: ['58-41=17', '22-17=5']
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,25 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,25 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 |
[
42,
33,
32,
29
] | 50 | [
"33-29=4",
"32/4=8",
"42+8=50"
] | Current State: 50:[42, 33, 32, 29], Operations: []
Exploring Operation: 33-29=4, Resulting Numbers: [42, 32, 4]
Generated Node #2: [42, 32, 4] from Operation: 33-29=4
Current State: 50:[42, 32, 4], Operations: ['33-29=4']
Exploring Operation: 32/4=8, Resulting Numbers: [42, 8]
Generated Node #3: [42, 8] from Operation: 32/4=8
Current State: 50:[42, 8], Operations: ['33-29=4', '32/4=8']
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[42, 33, 32, 29], Operations: []
Exploring Operation: 42-33=9, Resulting Numbers: [32, 29, 9]
Generated Node #0,0: 50:[32, 29, 9] Operation: 42-33=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[32, 29, 9], Operations: ['42-33=9']
Exploring Operation: 32-29=3, Resulting Numbers: [9, 3]
Generated Node #0,0,0: 50:[9, 3] Operation: 32-29=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[9, 3], Operations: ['42-33=9', '32-29=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
83,
3,
40,
52
] | 11 | [
"83+40=123",
"123/3=41",
"52-41=11"
] | Current State: 11:[83, 3, 40, 52], Operations: []
Exploring Operation: 83+40=123, Resulting Numbers: [3, 52, 123]
Generated Node #2: [3, 52, 123] from Operation: 83+40=123
Current State: 11:[3, 52, 123], Operations: ['83+40=123']
Exploring Operation: 123/3=41, Resulting Numbers: [52, 41]
Generated Node #3: [52, 41] from Operation: 123/3=41
Current State: 11:[52, 41], Operations: ['83+40=123', '123/3=41']
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[83, 3, 40, 52], Operations: []
Exploring Operation: 83-52=31, Resulting Numbers: [3, 40, 31]
Generated Node #0,0: 11:[3, 40, 31] Operation: 83-52=31
Moving to Node #0,0
Current State: 11:[3, 40, 31], Operations: ['83-52=31']
Exploring Operation: 40-31=9, Resulting Numbers: [3, 9]
Generated Node #0,0,0: 11:[3, 9] Operation: 40-31=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[3, 9], Operations: ['83-52=31', '40-31=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,11 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 |
[
44,
96,
40,
26
] | 66 | [
"96-44=52",
"40-26=14",
"52+14=66"
] | Current State: 66:[44, 96, 40, 26], Operations: []
Exploring Operation: 96-44=52, Resulting Numbers: [40, 26, 52]
Generated Node #2: [40, 26, 52] from Operation: 96-44=52
Current State: 66:[40, 26, 52], Operations: ['96-44=52']
Exploring Operation: 40-26=14, Resulting Numbers: [52, 14]
Generated Node #3: [52, 14] from Operation: 40-26=14
Current State: 66:[52, 14], Operations: ['96-44=52', '40-26=14']
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[44, 96, 40, 26], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [96, 26, 4]
Generated Node #0,0: 66:[96, 26, 4] Operation: 44-40=4
Exploring Operation: 96-44=52, Resulting Numbers: [40, 26, 52]
Generated Node #0,1: 66:[40, 26, 52] Operation: 96-44=52
Exploring Operation: 96-26=70, Resulting Numbers: [44, 40, 70]
Generated Node #0,2: 66:[44, 40, 70] Operation: 96-26=70
Exploring Operation: 96-40=56, Resulting Numbers: [44, 26, 56]
Generated Node #0,3: 66:[44, 26, 56] Operation: 96-40=56
Moving to Node #0,2
Current State: 66:[44, 40, 70], Operations: ['96-26=70']
Exploring Operation: 70-40=30, Resulting Numbers: [44, 30]
Generated Node #0,2,0: 66:[44, 30] Operation: 70-40=30
Exploring Operation: 44+40=84, Resulting Numbers: [70, 84]
Generated Node #0,2,1: 66:[70, 84] Operation: 44+40=84
Exploring Operation: 44-40=4, Resulting Numbers: [70, 4]
Generated Node #0,2,2: 66:[70, 4] Operation: 44-40=4
Exploring Operation: 70-44=26, Resulting Numbers: [40, 26]
Generated Node #0,2,3: 66:[40, 26] Operation: 70-44=26
Moving to Node #0,3
Current State: 66:[44, 26, 56], Operations: ['96-40=56']
Exploring Operation: 44-26=18, Resulting Numbers: [56, 18]
Generated Node #0,3,0: 66:[56, 18] Operation: 44-26=18
Exploring Operation: 44+26=70, Resulting Numbers: [56, 70]
Generated Node #0,3,1: 66:[56, 70] Operation: 44+26=70
Exploring Operation: 56-44=12, Resulting Numbers: [26, 12]
Generated Node #0,3,2: 66:[26, 12] Operation: 56-44=12
Exploring Operation: 56-26=30, Resulting Numbers: [44, 30]
Generated Node #0,3,3: 66:[44, 30] Operation: 56-26=30
Moving to Node #0,1
Current State: 66:[40, 26, 52], Operations: ['96-44=52']
Exploring Operation: 40+26=66, Resulting Numbers: [52, 66]
Generated Node #0,1,0: 66:[52, 66] Operation: 40+26=66
Exploring Operation: 52-26=26, Resulting Numbers: [40, 26]
Generated Node #0,1,1: 66:[40, 26] Operation: 52-26=26
Exploring Operation: 52/26=2, Resulting Numbers: [40, 2]
Generated Node #0,1,2: 66:[40, 2] Operation: 52/26=2
Exploring Operation: 52-40=12, Resulting Numbers: [26, 12]
Generated Node #0,1,3: 66:[26, 12] Operation: 52-40=12
Moving to Node #0,0
Current State: 66:[96, 26, 4], Operations: ['44-40=4']
Exploring Operation: 96-4=92, Resulting Numbers: [26, 92]
Generated Node #0,0,0: 66:[26, 92] Operation: 96-4=92
Exploring Operation: 26-4=22, Resulting Numbers: [96, 22]
Generated Node #0,0,1: 66:[96, 22] Operation: 26-4=22
Exploring Operation: 96/4=24, Resulting Numbers: [26, 24]
Generated Node #0,0,2: 66:[26, 24] Operation: 96/4=24
Exploring Operation: 96-26=70, Resulting Numbers: [4, 70]
Generated Node #0,0,3: 66:[4, 70] Operation: 96-26=70
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[4, 70], Operations: ['44-40=4', '96-26=70']
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,66 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[44, 96, 40, 26], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [96, 26, 4]
Generated Node #0,0: 66:[96, 26, 4] Operation: 44-40=4
Moving to Node #0,0
Current State: 66:[96, 26, 4], Operations: ['44-40=4']
Exploring Operation: 96-26=70, Resulting Numbers: [4, 70]
Generated Node #0,0,3: 66:[4, 70] Operation: 96-26=70
Moving to Node #0,0,3
Current State: 66:[4, 70], Operations: ['44-40=4', '96-26=70']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | mult_heuristic |
[
53,
78,
4,
38
] | 89 | [
"53+78=131",
"4+38=42",
"131-42=89"
] | Current State: 89:[53, 78, 4, 38], Operations: []
Exploring Operation: 53+78=131, Resulting Numbers: [4, 38, 131]
Generated Node #2: [4, 38, 131] from Operation: 53+78=131
Current State: 89:[4, 38, 131], Operations: ['53+78=131']
Exploring Operation: 4+38=42, Resulting Numbers: [131, 42]
Generated Node #3: [131, 42] from Operation: 4+38=42
Current State: 89:[131, 42], Operations: ['53+78=131', '4+38=42']
Exploring Operation: 131-42=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[53, 78, 4, 38], Operations: []
Exploring Operation: 53+38=91, Resulting Numbers: [78, 4, 91]
Generated Node #0,0: 89:[78, 4, 91] Operation: 53+38=91
Exploring Operation: 78+4=82, Resulting Numbers: [53, 38, 82]
Generated Node #0,1: 89:[53, 38, 82] Operation: 78+4=82
Exploring Operation: 53+4=57, Resulting Numbers: [78, 38, 57]
Generated Node #0,2: 89:[78, 38, 57] Operation: 53+4=57
Exploring Operation: 4+38=42, Resulting Numbers: [53, 78, 42]
Generated Node #0,3: 89:[53, 78, 42] Operation: 4+38=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[53, 38, 82], Operations: ['78+4=82']
Exploring Operation: 82-38=44, Resulting Numbers: [53, 44]
Generated Node #0,1,0: 89:[53, 44] Operation: 82-38=44
Exploring Operation: 53-38=15, Resulting Numbers: [82, 15]
Generated Node #0,1,1: 89:[82, 15] Operation: 53-38=15
Exploring Operation: 53+38=91, Resulting Numbers: [82, 91]
Generated Node #0,1,2: 89:[82, 91] Operation: 53+38=91
Exploring Operation: 38+82=120, Resulting Numbers: [53, 120]
Generated Node #0,1,3: 89:[53, 120] Operation: 38+82=120
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 89:[82, 91], Operations: ['78+4=82', '53+38=91']
Exploring Operation: 82*91=7462, Resulting Numbers: [7462]
7462,89 unequal: No Solution
Exploring Operation: 82+91=173, Resulting Numbers: [173]
173,89 unequal: No Solution
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,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,1,3
Current State: 89:[53, 120], Operations: ['78+4=82', '38+82=120']
Exploring Operation: 120-53=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 53+120=173, Resulting Numbers: [173]
173,89 unequal: No Solution
Exploring Operation: 53*120=6360, Resulting Numbers: [6360]
6360,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,1,0
Current State: 89:[53, 44], Operations: ['78+4=82', '82-38=44']
Exploring Operation: 53+44=97, Resulting Numbers: [97]
97,89 unequal: No Solution
Exploring Operation: 53*44=2332, Resulting Numbers: [2332]
2332,89 unequal: No Solution
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,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,1,1
Current State: 89:[82, 15], Operations: ['78+4=82', '53-38=15']
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 82*15=1230, Resulting Numbers: [1230]
1230,89 unequal: No Solution
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,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,2
Current State: 89:[78, 38, 57], Operations: ['53+4=57']
Exploring Operation: 38+57=95, Resulting Numbers: [78, 95]
Generated Node #0,2,0: 89:[78, 95] Operation: 38+57=95
Exploring Operation: 57-38=19, Resulting Numbers: [78, 19]
Generated Node #0,2,1: 89:[78, 19] Operation: 57-38=19
Exploring Operation: 78+38=116, Resulting Numbers: [57, 116]
Generated Node #0,2,2: 89:[57, 116] Operation: 78+38=116
Exploring Operation: 78-38=40, Resulting Numbers: [57, 40]
Generated Node #0,2,3: 89:[57, 40] Operation: 78-38=40
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[78, 95], Operations: ['53+4=57', '38+57=95']
Exploring Operation: 78*95=7410, Resulting Numbers: [7410]
7410,89 unequal: No Solution
Exploring Operation: 95-78=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 78+95=173, Resulting Numbers: [173]
173,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:[57, 116], Operations: ['53+4=57', '78+38=116']
Exploring Operation: 57*116=6612, Resulting Numbers: [6612]
6612,89 unequal: No Solution
Exploring Operation: 116-57=59, Resulting Numbers: [59]
59,89 unequal: No Solution
Exploring Operation: 57+116=173, Resulting Numbers: [173]
173,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:[78, 19], Operations: ['53+4=57', '57-38=19']
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,89 unequal: No Solution
Exploring Operation: 78+19=97, Resulting Numbers: [97]
97,89 unequal: No Solution
Exploring Operation: 78*19=1482, Resulting Numbers: [1482]
1482,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:[57, 40], Operations: ['53+4=57', '78-38=40']
Exploring Operation: 57*40=2280, Resulting Numbers: [2280]
2280,89 unequal: No Solution
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 57+40=97, Resulting Numbers: [97]
97,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,3
Current State: 89:[53, 78, 42], Operations: ['4+38=42']
Exploring Operation: 53-42=11, Resulting Numbers: [78, 11]
Generated Node #0,3,0: 89:[78, 11] Operation: 53-42=11
Exploring Operation: 53+78=131, Resulting Numbers: [42, 131]
Generated Node #0,3,1: 89:[42, 131] Operation: 53+78=131
Exploring Operation: 78+42=120, Resulting Numbers: [53, 120]
Generated Node #0,3,2: 89:[53, 120] Operation: 78+42=120
Exploring Operation: 53+42=95, Resulting Numbers: [78, 95]
Generated Node #0,3,3: 89:[78, 95] Operation: 53+42=95
Moving to Node #0,3,3
Current State: 89:[78, 95], Operations: ['4+38=42', '53+42=95']
Exploring Operation: 95-78=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 78+95=173, Resulting Numbers: [173]
173,89 unequal: No Solution
Exploring Operation: 78*95=7410, Resulting Numbers: [7410]
7410,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[53, 120], Operations: ['4+38=42', '78+42=120']
Exploring Operation: 53*120=6360, Resulting Numbers: [6360]
6360,89 unequal: No Solution
Exploring Operation: 120-53=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 53+120=173, Resulting Numbers: [173]
173,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[42, 131], Operations: ['4+38=42', '53+78=131']
Exploring Operation: 131-42=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[53, 78, 4, 38], Operations: []
Exploring Operation: 4+38=42, Resulting Numbers: [53, 78, 42]
Generated Node #0,3: 89:[53, 78, 42] Operation: 4+38=42
Moving to Node #0,3
Current State: 89:[53, 78, 42], Operations: ['4+38=42']
Exploring Operation: 53+78=131, Resulting Numbers: [42, 131]
Generated Node #0,3,1: 89:[42, 131] Operation: 53+78=131
Moving to Node #0,3,1
Current State: 89:[42, 131], Operations: ['4+38=42', '53+78=131']
Exploring Operation: 131-42=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 | hs_4 | mult_heuristic |
[
41,
98,
8,
2
] | 67 | [
"98-41=57",
"8+2=10",
"57+10=67"
] | Current State: 67:[41, 98, 8, 2], Operations: []
Exploring Operation: 98-41=57, Resulting Numbers: [8, 2, 57]
Generated Node #2: [8, 2, 57] from Operation: 98-41=57
Current State: 67:[8, 2, 57], Operations: ['98-41=57']
Exploring Operation: 8+2=10, Resulting Numbers: [57, 10]
Generated Node #3: [57, 10] from Operation: 8+2=10
Current State: 67:[57, 10], Operations: ['98-41=57', '8+2=10']
Exploring Operation: 57+10=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[41, 98, 8, 2], Operations: []
Exploring Operation: 98/2=49, Resulting Numbers: [41, 8, 49]
Generated Node #0,0: 67:[41, 8, 49] Operation: 98/2=49
Moving to Node #0,0
Current State: 67:[41, 8, 49], Operations: ['98/2=49']
Exploring Operation: 41+8=49, Resulting Numbers: [49, 49]
Generated Node #0,0,0: 67:[49, 49] Operation: 41+8=49
Moving to Node #0,0,0
Current State: 67:[49, 49], Operations: ['98/2=49', '41+8=49']
Exploring Operation: 49+49=98, Resulting Numbers: [98]
98,67 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
91,
21,
10,
69
] | 37 | [
"91+69=160",
"160/10=16",
"21+16=37"
] | Current State: 37:[91, 21, 10, 69], Operations: []
Exploring Operation: 91+69=160, Resulting Numbers: [21, 10, 160]
Generated Node #2: [21, 10, 160] from Operation: 91+69=160
Current State: 37:[21, 10, 160], Operations: ['91+69=160']
Exploring Operation: 160/10=16, Resulting Numbers: [21, 16]
Generated Node #3: [21, 16] from Operation: 160/10=16
Current State: 37:[21, 16], Operations: ['91+69=160', '160/10=16']
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[91, 21, 10, 69], Operations: []
Exploring Operation: 21+10=31, Resulting Numbers: [91, 69, 31]
Generated Node #0,0: 37:[91, 69, 31] Operation: 21+10=31
Exploring Operation: 91-10=81, Resulting Numbers: [21, 69, 81]
Generated Node #0,1: 37:[21, 69, 81] Operation: 91-10=81
Exploring Operation: 91-69=22, Resulting Numbers: [21, 10, 22]
Generated Node #0,2: 37:[21, 10, 22] Operation: 91-69=22
Exploring Operation: 69-21=48, Resulting Numbers: [91, 10, 48]
Generated Node #0,3: 37:[91, 10, 48] Operation: 69-21=48
Exploring Operation: 91-21=70, Resulting Numbers: [10, 69, 70]
Generated Node #0,4: 37:[10, 69, 70] Operation: 91-21=70
Moving to Node #0,2
Current State: 37:[21, 10, 22], Operations: ['91-69=22']
Exploring Operation: 22-10=12, Resulting Numbers: [21, 12]
Generated Node #0,2,0: 37:[21, 12] Operation: 22-10=12
Exploring Operation: 10+22=32, Resulting Numbers: [21, 32]
Generated Node #0,2,1: 37:[21, 32] Operation: 10+22=32
Exploring Operation: 21+22=43, Resulting Numbers: [10, 43]
Generated Node #0,2,2: 37:[10, 43] Operation: 21+22=43
Exploring Operation: 21+10=31, Resulting Numbers: [22, 31]
Generated Node #0,2,3: 37:[22, 31] Operation: 21+10=31
Exploring Operation: 21-10=11, Resulting Numbers: [22, 11]
Generated Node #0,2,4: 37:[22, 11] Operation: 21-10=11
Moving to Node #0,1
Current State: 37:[21, 69, 81], Operations: ['91-10=81']
Exploring Operation: 81-21=60, Resulting Numbers: [69, 60]
Generated Node #0,1,0: 37:[69, 60] Operation: 81-21=60
Exploring Operation: 69-21=48, Resulting Numbers: [81, 48]
Generated Node #0,1,1: 37:[81, 48] Operation: 69-21=48
Exploring Operation: 21+81=102, Resulting Numbers: [69, 102]
Generated Node #0,1,2: 37:[69, 102] Operation: 21+81=102
Exploring Operation: 81-69=12, Resulting Numbers: [21, 12]
Generated Node #0,1,3: 37:[21, 12] Operation: 81-69=12
Exploring Operation: 21+69=90, Resulting Numbers: [81, 90]
Generated Node #0,1,4: 37:[81, 90] Operation: 21+69=90
Moving to Node #0,4
Current State: 37:[10, 69, 70], Operations: ['91-21=70']
Exploring Operation: 69-10=59, Resulting Numbers: [70, 59]
Generated Node #0,4,0: 37:[70, 59] Operation: 69-10=59
Exploring Operation: 70/10=7, Resulting Numbers: [69, 7]
Generated Node #0,4,1: 37:[69, 7] Operation: 70/10=7
Exploring Operation: 70-69=1, Resulting Numbers: [10, 1]
Generated Node #0,4,2: 37:[10, 1] Operation: 70-69=1
Exploring Operation: 10+69=79, Resulting Numbers: [70, 79]
Generated Node #0,4,3: 37:[70, 79] Operation: 10+69=79
Exploring Operation: 70-10=60, Resulting Numbers: [69, 60]
Generated Node #0,4,4: 37:[69, 60] Operation: 70-10=60
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 37:[70, 59], Operations: ['91-21=70', '69-10=59']
Exploring Operation: 70-59=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 70*59=4130, Resulting Numbers: [4130]
4130,37 unequal: No Solution
Exploring Operation: 70+59=129, Resulting Numbers: [129]
129,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 37:[69, 60], Operations: ['91-21=70', '70-10=60']
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Exploring Operation: 69+60=129, Resulting Numbers: [129]
129,37 unequal: No Solution
Exploring Operation: 69*60=4140, Resulting Numbers: [4140]
4140,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 37:[69, 7], Operations: ['91-21=70', '70/10=7']
Exploring Operation: 69+7=76, Resulting Numbers: [76]
76,37 unequal: No Solution
Exploring Operation: 69*7=483, Resulting Numbers: [483]
483,37 unequal: No Solution
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 37:[10, 1], Operations: ['91-21=70', '70-69=1']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 37:[70, 79], Operations: ['91-21=70', '10+69=79']
Exploring Operation: 70*79=5530, Resulting Numbers: [5530]
5530,37 unequal: No Solution
Exploring Operation: 79-70=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Exploring Operation: 70+79=149, Resulting Numbers: [149]
149,37 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: 37:[91, 69, 31], Operations: ['21+10=31']
Exploring Operation: 69+31=100, Resulting Numbers: [91, 100]
Generated Node #0,0,0: 37:[91, 100] Operation: 69+31=100
Exploring Operation: 91-31=60, Resulting Numbers: [69, 60]
Generated Node #0,0,1: 37:[69, 60] Operation: 91-31=60
Exploring Operation: 91+31=122, Resulting Numbers: [69, 122]
Generated Node #0,0,2: 37:[69, 122] Operation: 91+31=122
Exploring Operation: 91-69=22, Resulting Numbers: [31, 22]
Generated Node #0,0,3: 37:[31, 22] Operation: 91-69=22
Exploring Operation: 69-31=38, Resulting Numbers: [91, 38]
Generated Node #0,0,4: 37:[91, 38] Operation: 69-31=38
Moving to Node #0,3
Current State: 37:[91, 10, 48], Operations: ['69-21=48']
Exploring Operation: 91-10=81, Resulting Numbers: [48, 81]
Generated Node #0,3,0: 37:[48, 81] Operation: 91-10=81
Exploring Operation: 91+10=101, Resulting Numbers: [48, 101]
Generated Node #0,3,1: 37:[48, 101] Operation: 91+10=101
Exploring Operation: 48-10=38, Resulting Numbers: [91, 38]
Generated Node #0,3,2: 37:[91, 38] Operation: 48-10=38
Exploring Operation: 91-48=43, Resulting Numbers: [10, 43]
Generated Node #0,3,3: 37:[10, 43] Operation: 91-48=43
Exploring Operation: 10+48=58, Resulting Numbers: [91, 58]
Generated Node #0,3,4: 37:[91, 58] Operation: 10+48=58
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 37:[10, 43], Operations: ['69-21=48', '91-48=43']
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 10*43=430, Resulting Numbers: [430]
430,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 37:[48, 81], Operations: ['69-21=48', '91-10=81']
Exploring Operation: 48+81=129, Resulting Numbers: [129]
129,37 unequal: No Solution
Exploring Operation: 48*81=3888, Resulting Numbers: [3888]
3888,37 unequal: No Solution
Exploring Operation: 81-48=33, Resulting Numbers: [33]
33,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,2
Current State: 37:[91, 38], Operations: ['69-21=48', '48-10=38']
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 91+38=129, Resulting Numbers: [129]
129,37 unequal: No Solution
Exploring Operation: 91*38=3458, Resulting Numbers: [3458]
3458,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 37:[48, 101], Operations: ['69-21=48', '91+10=101']
Exploring Operation: 48*101=4848, Resulting Numbers: [4848]
4848,37 unequal: No Solution
Exploring Operation: 48+101=149, Resulting Numbers: [149]
149,37 unequal: No Solution
Exploring Operation: 101-48=53, Resulting Numbers: [53]
53,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 37:[91, 58], Operations: ['69-21=48', '10+48=58']
Exploring Operation: 91*58=5278, Resulting Numbers: [5278]
5278,37 unequal: No Solution
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 91+58=149, Resulting Numbers: [149]
149,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 37:[21, 32], Operations: ['91-69=22', '10+22=32']
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 21*32=672, Resulting Numbers: [672]
672,37 unequal: No Solution
Exploring Operation: 21+32=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Moving to Node #0,2,3
Current State: 37:[22, 31], Operations: ['91-69=22', '21+10=31']
Exploring Operation: 22+31=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 22*31=682, Resulting Numbers: [682]
682,37 unequal: No Solution
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[31, 22], Operations: ['21+10=31', '91-69=22']
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Exploring Operation: 31*22=682, Resulting Numbers: [682]
682,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[10, 43], Operations: ['91-69=22', '21+22=43']
Exploring Operation: 10*43=430, Resulting Numbers: [430]
430,37 unequal: No Solution
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[21, 12], Operations: ['91-10=81', '81-69=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,37 unequal: No Solution
Moving to Node #0,2,4
Current State: 37:[22, 11], Operations: ['91-69=22', '21-10=11']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 22*11=242, Resulting Numbers: [242]
242,37 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[21, 12], Operations: ['91-69=22', '22-10=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,37 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[69, 60], Operations: ['91-10=81', '81-21=60']
Exploring Operation: 69*60=4140, Resulting Numbers: [4140]
4140,37 unequal: No Solution
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Exploring Operation: 69+60=129, Resulting Numbers: [129]
129,37 unequal: No Solution
Moving to Node #0,0,4
Current State: 37:[91, 38], Operations: ['21+10=31', '69-31=38']
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 91+38=129, Resulting Numbers: [129]
129,37 unequal: No Solution
Exploring Operation: 91*38=3458, Resulting Numbers: [3458]
3458,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[69, 60], Operations: ['21+10=31', '91-31=60']
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Exploring Operation: 69+60=129, Resulting Numbers: [129]
129,37 unequal: No Solution
Exploring Operation: 69*60=4140, Resulting Numbers: [4140]
4140,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[81, 48], Operations: ['91-10=81', '69-21=48']
Exploring Operation: 81*48=3888, Resulting Numbers: [3888]
3888,37 unequal: No Solution
Exploring Operation: 81-48=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 81+48=129, Resulting Numbers: [129]
129,37 unequal: No Solution
Moving to Node #0,1,4
Current State: 37:[81, 90], Operations: ['91-10=81', '21+69=90']
Exploring Operation: 81*90=7290, Resulting Numbers: [7290]
7290,37 unequal: No Solution
Exploring Operation: 90-81=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Exploring Operation: 81+90=171, Resulting Numbers: [171]
171,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[69, 102], Operations: ['91-10=81', '21+81=102']
Exploring Operation: 102-69=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 69+102=171, Resulting Numbers: [171]
171,37 unequal: No Solution
Exploring Operation: 69*102=7038, Resulting Numbers: [7038]
7038,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[91, 100], Operations: ['21+10=31', '69+31=100']
Exploring Operation: 91+100=191, Resulting Numbers: [191]
191,37 unequal: No Solution
Exploring Operation: 91*100=9100, Resulting Numbers: [9100]
9100,37 unequal: No Solution
Exploring Operation: 100-91=9, Resulting Numbers: [9]
9,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[69, 122], Operations: ['21+10=31', '91+31=122']
Exploring Operation: 69*122=8418, Resulting Numbers: [8418]
8418,37 unequal: No Solution
Exploring Operation: 69+122=191, Resulting Numbers: [191]
191,37 unequal: No Solution
Exploring Operation: 122-69=53, Resulting Numbers: [53]
53,37 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
90,
14,
15,
2
] | 32 | [
"14+15=29",
"2*29=58",
"90-58=32"
] | Current State: 32:[90, 14, 15, 2], Operations: []
Exploring Operation: 14+15=29, Resulting Numbers: [90, 2, 29]
Generated Node #2: [90, 2, 29] from Operation: 14+15=29
Current State: 32:[90, 2, 29], Operations: ['14+15=29']
Exploring Operation: 2*29=58, Resulting Numbers: [90, 58]
Generated Node #3: [90, 58] from Operation: 2*29=58
Current State: 32:[90, 58], Operations: ['14+15=29', '2*29=58']
Exploring Operation: 90-58=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[90, 14, 15, 2], Operations: []
Exploring Operation: 90/2=45, Resulting Numbers: [14, 15, 45]
Generated Node #0,0: 32:[14, 15, 45] Operation: 90/2=45
Exploring Operation: 90/15=6, Resulting Numbers: [14, 2, 6]
Generated Node #0,1: 32:[14, 2, 6] Operation: 90/15=6
Exploring Operation: 90-2=88, Resulting Numbers: [14, 15, 88]
Generated Node #0,2: 32:[14, 15, 88] Operation: 90-2=88
Exploring Operation: 90-14=76, Resulting Numbers: [15, 2, 76]
Generated Node #0,3: 32:[15, 2, 76] Operation: 90-14=76
Exploring Operation: 90-15=75, Resulting Numbers: [14, 2, 75]
Generated Node #0,4: 32:[14, 2, 75] Operation: 90-15=75
Moving to Node #0,1
Current State: 32:[14, 2, 6], Operations: ['90/15=6']
Exploring Operation: 14/2=7, Resulting Numbers: [6, 7]
Generated Node #0,1,0: 32:[6, 7] Operation: 14/2=7
Exploring Operation: 2+6=8, Resulting Numbers: [14, 8]
Generated Node #0,1,1: 32:[14, 8] Operation: 2+6=8
Exploring Operation: 14-6=8, Resulting Numbers: [2, 8]
Generated Node #0,1,2: 32:[2, 8] Operation: 14-6=8
Exploring Operation: 6-2=4, Resulting Numbers: [14, 4]
Generated Node #0,1,3: 32:[14, 4] Operation: 6-2=4
Exploring Operation: 14+2=16, Resulting Numbers: [6, 16]
Generated Node #0,1,4: 32:[6, 16] Operation: 14+2=16
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 32:[2, 8], Operations: ['90/15=6', '14-6=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,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,1
Current State: 32:[14, 8], Operations: ['90/15=6', '2+6=8']
Exploring Operation: 14+8=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 14*8=112, Resulting Numbers: [112]
112,32 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,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,3
Current State: 32:[14, 4], Operations: ['90/15=6', '6-2=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,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,4
Current State: 32:[6, 16], Operations: ['90/15=6', '14+2=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,32 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,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,0
Current State: 32:[6, 7], Operations: ['90/15=6', '14/2=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,32 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,32 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: 32:[14, 15, 45], Operations: ['90/2=45']
Exploring Operation: 45-15=30, Resulting Numbers: [14, 30]
Generated Node #0,0,0: 32:[14, 30] Operation: 45-15=30
Exploring Operation: 14+15=29, Resulting Numbers: [45, 29]
Generated Node #0,0,1: 32:[45, 29] Operation: 14+15=29
Exploring Operation: 15-14=1, Resulting Numbers: [45, 1]
Generated Node #0,0,2: 32:[45, 1] Operation: 15-14=1
Exploring Operation: 45-14=31, Resulting Numbers: [15, 31]
Generated Node #0,0,3: 32:[15, 31] Operation: 45-14=31
Exploring Operation: 45/15=3, Resulting Numbers: [14, 3]
Generated Node #0,0,4: 32:[14, 3] Operation: 45/15=3
Moving to Node #0,3
Current State: 32:[15, 2, 76], Operations: ['90-14=76']
Exploring Operation: 76-15=61, Resulting Numbers: [2, 61]
Generated Node #0,3,0: 32:[2, 61] Operation: 76-15=61
Exploring Operation: 15*2=30, Resulting Numbers: [76, 30]
Generated Node #0,3,1: 32:[76, 30] Operation: 15*2=30
Exploring Operation: 76/2=38, Resulting Numbers: [15, 38]
Generated Node #0,3,2: 32:[15, 38] Operation: 76/2=38
Exploring Operation: 15+2=17, Resulting Numbers: [76, 17]
Generated Node #0,3,3: 32:[76, 17] Operation: 15+2=17
Exploring Operation: 76-2=74, Resulting Numbers: [15, 74]
Generated Node #0,3,4: 32:[15, 74] Operation: 76-2=74
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 32:[15, 38], Operations: ['90-14=76', '76/2=38']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,32 unequal: No Solution
Exploring Operation: 15*38=570, Resulting Numbers: [570]
570,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,3,0
Current State: 32:[2, 61], Operations: ['90-14=76', '76-15=61']
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 2*61=122, Resulting Numbers: [122]
122,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,3,4
Current State: 32:[15, 74], Operations: ['90-14=76', '76-2=74']
Exploring Operation: 15*74=1110, Resulting Numbers: [1110]
1110,32 unequal: No Solution
Exploring Operation: 15+74=89, Resulting Numbers: [89]
89,32 unequal: No Solution
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,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,3,3
Current State: 32:[76, 17], Operations: ['90-14=76', '15+2=17']
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 76*17=1292, Resulting Numbers: [1292]
1292,32 unequal: No Solution
Exploring Operation: 76+17=93, Resulting Numbers: [93]
93,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,3,1
Current State: 32:[76, 30], Operations: ['90-14=76', '15*2=30']
Exploring Operation: 76+30=106, Resulting Numbers: [106]
106,32 unequal: No Solution
Exploring Operation: 76*30=2280, Resulting Numbers: [2280]
2280,32 unequal: No Solution
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,32 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: 32:[14, 2, 75], Operations: ['90-15=75']
Exploring Operation: 14*2=28, Resulting Numbers: [75, 28]
Generated Node #0,4,0: 32:[75, 28] Operation: 14*2=28
Exploring Operation: 14+2=16, Resulting Numbers: [75, 16]
Generated Node #0,4,1: 32:[75, 16] Operation: 14+2=16
Exploring Operation: 75-2=73, Resulting Numbers: [14, 73]
Generated Node #0,4,2: 32:[14, 73] Operation: 75-2=73
Exploring Operation: 14/2=7, Resulting Numbers: [75, 7]
Generated Node #0,4,3: 32:[75, 7] Operation: 14/2=7
Exploring Operation: 75-14=61, Resulting Numbers: [2, 61]
Generated Node #0,4,4: 32:[2, 61] Operation: 75-14=61
Moving to Node #0,2
Current State: 32:[14, 15, 88], Operations: ['90-2=88']
Exploring Operation: 15-14=1, Resulting Numbers: [88, 1]
Generated Node #0,2,0: 32:[88, 1] Operation: 15-14=1
Exploring Operation: 88-15=73, Resulting Numbers: [14, 73]
Generated Node #0,2,1: 32:[14, 73] Operation: 88-15=73
Exploring Operation: 14+88=102, Resulting Numbers: [15, 102]
Generated Node #0,2,2: 32:[15, 102] Operation: 14+88=102
Exploring Operation: 88-14=74, Resulting Numbers: [15, 74]
Generated Node #0,2,3: 32:[15, 74] Operation: 88-14=74
Exploring Operation: 14+15=29, Resulting Numbers: [88, 29]
Generated Node #0,2,4: 32:[88, 29] Operation: 14+15=29
Moving to Node #0,0,3
Current State: 32:[15, 31], Operations: ['90/2=45', '45-14=31']
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,32 unequal: No Solution
Moving to Node #0,0,4
Current State: 32:[14, 3], Operations: ['90/2=45', '45/15=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[14, 30], Operations: ['90/2=45', '45-15=30']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,32 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[45, 1], Operations: ['90/2=45', '15-14=1']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,32 unequal: No Solution
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[45, 29], Operations: ['90/2=45', '14+15=29']
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,32 unequal: No Solution
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,32 unequal: No Solution
Moving to Node #0,4,4
Current State: 32:[2, 61], Operations: ['90-15=75', '75-14=61']
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,32 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 2*61=122, Resulting Numbers: [122]
122,32 unequal: No Solution
Moving to Node #0,4,1
Current State: 32:[75, 16], Operations: ['90-15=75', '14+2=16']
Exploring Operation: 75*16=1200, Resulting Numbers: [1200]
1200,32 unequal: No Solution
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,32 unequal: No Solution
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[15, 74], Operations: ['90-2=88', '88-14=74']
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 15+74=89, Resulting Numbers: [89]
89,32 unequal: No Solution
Exploring Operation: 15*74=1110, Resulting Numbers: [1110]
1110,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[14, 73], Operations: ['90-2=88', '88-15=73']
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 14*73=1022, Resulting Numbers: [1022]
1022,32 unequal: No Solution
Exploring Operation: 14+73=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Moving to Node #0,4,2
Current State: 32:[14, 73], Operations: ['90-15=75', '75-2=73']
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 14+73=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Exploring Operation: 14*73=1022, Resulting Numbers: [1022]
1022,32 unequal: No Solution
Moving to Node #0,4,3
Current State: 32:[75, 7], Operations: ['90-15=75', '14/2=7']
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,32 unequal: No Solution
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,32 unequal: No Solution
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,32 unequal: No Solution
Moving to Node #0,4,0
Current State: 32:[75, 28], Operations: ['90-15=75', '14*2=28']
Exploring Operation: 75+28=103, Resulting Numbers: [103]
103,32 unequal: No Solution
Exploring Operation: 75*28=2100, Resulting Numbers: [2100]
2100,32 unequal: No Solution
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[88, 1], Operations: ['90-2=88', '15-14=1']
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,32 unequal: No Solution
Exploring Operation: 88/1=88, Resulting Numbers: [88]
88,32 unequal: No Solution
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,32 unequal: No Solution
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Moving to Node #0,2,4
Current State: 32:[88, 29], Operations: ['90-2=88', '14+15=29']
Exploring Operation: 88+29=117, Resulting Numbers: [117]
117,32 unequal: No Solution
Exploring Operation: 88-29=59, Resulting Numbers: [59]
59,32 unequal: No Solution
Exploring Operation: 88*29=2552, Resulting Numbers: [2552]
2552,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[15, 102], Operations: ['90-2=88', '14+88=102']
Exploring Operation: 102-15=87, Resulting Numbers: [87]
87,32 unequal: No Solution
Exploring Operation: 15*102=1530, Resulting Numbers: [1530]
1530,32 unequal: No Solution
Exploring Operation: 15+102=117, Resulting Numbers: [117]
117,32 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
17,
49,
70,
27
] | 23 | [
"17+49=66",
"70-27=43",
"66-43=23"
] | Current State: 23:[17, 49, 70, 27], Operations: []
Exploring Operation: 17+49=66, Resulting Numbers: [70, 27, 66]
Generated Node #2: [70, 27, 66] from Operation: 17+49=66
Current State: 23:[70, 27, 66], Operations: ['17+49=66']
Exploring Operation: 70-27=43, Resulting Numbers: [66, 43]
Generated Node #3: [66, 43] from Operation: 70-27=43
Current State: 23:[66, 43], Operations: ['17+49=66', '70-27=43']
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[17, 49, 70, 27], Operations: []
Exploring Operation: 49-17=32, Resulting Numbers: [70, 27, 32]
Generated Node #0,0: 23:[70, 27, 32] Operation: 49-17=32
Exploring Operation: 70-27=43, Resulting Numbers: [17, 49, 43]
Generated Node #0,1: 23:[17, 49, 43] Operation: 70-27=43
Exploring Operation: 70-49=21, Resulting Numbers: [17, 27, 21]
Generated Node #0,2: 23:[17, 27, 21] Operation: 70-49=21
Exploring Operation: 49-27=22, Resulting Numbers: [17, 70, 22]
Generated Node #0,3: 23:[17, 70, 22] Operation: 49-27=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[17, 27, 21], Operations: ['70-49=21']
Exploring Operation: 17+27=44, Resulting Numbers: [21, 44]
Generated Node #0,2,0: 23:[21, 44] Operation: 17+27=44
Exploring Operation: 21-17=4, Resulting Numbers: [27, 4]
Generated Node #0,2,1: 23:[27, 4] Operation: 21-17=4
Exploring Operation: 17+21=38, Resulting Numbers: [27, 38]
Generated Node #0,2,2: 23:[27, 38] Operation: 17+21=38
Exploring Operation: 27-17=10, Resulting Numbers: [21, 10]
Generated Node #0,2,3: 23:[21, 10] Operation: 27-17=10
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 23:[21, 10], Operations: ['70-49=21', '27-17=10']
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,23 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,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:[27, 38], Operations: ['70-49=21', '17+21=38']
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,23 unequal: No Solution
Exploring Operation: 27+38=65, Resulting Numbers: [65]
65,23 unequal: No Solution
Exploring Operation: 27*38=1026, Resulting Numbers: [1026]
1026,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:[21, 44], Operations: ['70-49=21', '17+27=44']
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[17, 49, 70, 27], Operations: []
Exploring Operation: 70-49=21, Resulting Numbers: [17, 27, 21]
Generated Node #0,2: 23:[17, 27, 21] Operation: 70-49=21
Moving to Node #0,2
Current State: 23:[17, 27, 21], Operations: ['70-49=21']
Exploring Operation: 17+27=44, Resulting Numbers: [21, 44]
Generated Node #0,2,0: 23:[21, 44] Operation: 17+27=44
Moving to Node #0,2,0
Current State: 23:[21, 44], Operations: ['70-49=21', '17+27=44']
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
72,
80,
13,
35
] | 40 | [
"80-72=8",
"13+35=48",
"48-8=40"
] | Current State: 40:[72, 80, 13, 35], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [13, 35, 8]
Generated Node #2: [13, 35, 8] from Operation: 80-72=8
Current State: 40:[13, 35, 8], Operations: ['80-72=8']
Exploring Operation: 13+35=48, Resulting Numbers: [8, 48]
Generated Node #3: [8, 48] from Operation: 13+35=48
Current State: 40:[8, 48], Operations: ['80-72=8', '13+35=48']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[72, 80, 13, 35], Operations: []
Exploring Operation: 80-35=45, Resulting Numbers: [72, 13, 45]
Generated Node #0,0: 40:[72, 13, 45] Operation: 80-35=45
Exploring Operation: 80-72=8, Resulting Numbers: [13, 35, 8]
Generated Node #0,1: 40:[13, 35, 8] Operation: 80-72=8
Exploring Operation: 72-35=37, Resulting Numbers: [80, 13, 37]
Generated Node #0,2: 40:[80, 13, 37] Operation: 72-35=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[13, 35, 8], Operations: ['80-72=8']
Exploring Operation: 13+8=21, Resulting Numbers: [35, 21]
Generated Node #0,1,0: 40:[35, 21] Operation: 13+8=21
Exploring Operation: 13-8=5, Resulting Numbers: [35, 5]
Generated Node #0,1,1: 40:[35, 5] Operation: 13-8=5
Exploring Operation: 35-13=22, Resulting Numbers: [8, 22]
Generated Node #0,1,2: 40:[8, 22] Operation: 35-13=22
Moving to Node #0,1,2
Current State: 40:[8, 22], Operations: ['80-72=8', '35-13=22']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,40 unequal: No Solution
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[35, 5], Operations: ['80-72=8', '13-8=5']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,40 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[72, 80, 13, 35], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [13, 35, 8]
Generated Node #0,1: 40:[13, 35, 8] Operation: 80-72=8
Moving to Node #0,1
Current State: 40:[13, 35, 8], Operations: ['80-72=8']
Exploring Operation: 13-8=5, Resulting Numbers: [35, 5]
Generated Node #0,1,1: 40:[35, 5] Operation: 13-8=5
Moving to Node #0,1,1
Current State: 40:[35, 5], Operations: ['80-72=8', '13-8=5']
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
22,
6,
23,
46
] | 92 | [
"22*23=506",
"46+506=552",
"552/6=92"
] | Current State: 92:[22, 6, 23, 46], Operations: []
Exploring Operation: 22*23=506, Resulting Numbers: [6, 46, 506]
Generated Node #2: [6, 46, 506] from Operation: 22*23=506
Current State: 92:[6, 46, 506], Operations: ['22*23=506']
Exploring Operation: 46+506=552, Resulting Numbers: [6, 552]
Generated Node #3: [6, 552] from Operation: 46+506=552
Current State: 92:[6, 552], Operations: ['22*23=506', '46+506=552']
Exploring Operation: 552/6=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[22, 6, 23, 46], Operations: []
Exploring Operation: 23-22=1, Resulting Numbers: [6, 46, 1]
Generated Node #0,0: 92:[6, 46, 1] Operation: 23-22=1
Exploring Operation: 46-22=24, Resulting Numbers: [6, 23, 24]
Generated Node #0,1: 92:[6, 23, 24] Operation: 46-22=24
Exploring Operation: 22+23=45, Resulting Numbers: [6, 46, 45]
Generated Node #0,2: 92:[6, 46, 45] Operation: 22+23=45
Moving to Node #0,0
Current State: 92:[6, 46, 1], Operations: ['23-22=1']
Exploring Operation: 6/1=6, Resulting Numbers: [46, 6]
Generated Node #0,0,0: 92:[46, 6] Operation: 6/1=6
Exploring Operation: 6-1=5, Resulting Numbers: [46, 5]
Generated Node #0,0,1: 92:[46, 5] Operation: 6-1=5
Exploring Operation: 6*1=6, Resulting Numbers: [46, 6]
Generated Node #0,0,2: 92:[46, 6] Operation: 6*1=6
Moving to Node #0,1
Current State: 92:[6, 23, 24], Operations: ['46-22=24']
Exploring Operation: 24/6=4, Resulting Numbers: [23, 4]
Generated Node #0,1,0: 92:[23, 4] Operation: 24/6=4
Exploring Operation: 24-23=1, Resulting Numbers: [6, 1]
Generated Node #0,1,1: 92:[6, 1] Operation: 24-23=1
Exploring Operation: 23+24=47, Resulting Numbers: [6, 47]
Generated Node #0,1,2: 92:[6, 47] Operation: 23+24=47
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[23, 4], Operations: ['46-22=24', '24/6=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,92 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[22, 6, 23, 46], Operations: []
Exploring Operation: 46-22=24, Resulting Numbers: [6, 23, 24]
Generated Node #0,1: 92:[6, 23, 24] Operation: 46-22=24
Moving to Node #0,1
Current State: 92:[6, 23, 24], Operations: ['46-22=24']
Exploring Operation: 24/6=4, Resulting Numbers: [23, 4]
Generated Node #0,1,0: 92:[23, 4] Operation: 24/6=4
Moving to Node #0,1,0
Current State: 92:[23, 4], Operations: ['46-22=24', '24/6=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
5,
46,
79,
77
] | 49 | [
"5+46=51",
"79-77=2",
"51-2=49"
] | Current State: 49:[5, 46, 79, 77], Operations: []
Exploring Operation: 5+46=51, Resulting Numbers: [79, 77, 51]
Generated Node #2: [79, 77, 51] from Operation: 5+46=51
Current State: 49:[79, 77, 51], Operations: ['5+46=51']
Exploring Operation: 79-77=2, Resulting Numbers: [51, 2]
Generated Node #3: [51, 2] from Operation: 79-77=2
Current State: 49:[51, 2], Operations: ['5+46=51', '79-77=2']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[5, 46, 79, 77], Operations: []
Exploring Operation: 79-46=33, Resulting Numbers: [5, 77, 33]
Generated Node #0,0: 49:[5, 77, 33] Operation: 79-46=33
Exploring Operation: 77-46=31, Resulting Numbers: [5, 79, 31]
Generated Node #0,1: 49:[5, 79, 31] Operation: 77-46=31
Exploring Operation: 79-77=2, Resulting Numbers: [5, 46, 2]
Generated Node #0,2: 49:[5, 46, 2] Operation: 79-77=2
Exploring Operation: 79-5=74, Resulting Numbers: [46, 77, 74]
Generated Node #0,3: 49:[46, 77, 74] Operation: 79-5=74
Moving to Node #0,2
Current State: 49:[5, 46, 2], Operations: ['79-77=2']
Exploring Operation: 5*2=10, Resulting Numbers: [46, 10]
Generated Node #0,2,0: 49:[46, 10] Operation: 5*2=10
Exploring Operation: 46+2=48, Resulting Numbers: [5, 48]
Generated Node #0,2,1: 49:[5, 48] Operation: 46+2=48
Exploring Operation: 5+46=51, Resulting Numbers: [2, 51]
Generated Node #0,2,2: 49:[2, 51] Operation: 5+46=51
Exploring Operation: 5+2=7, Resulting Numbers: [46, 7]
Generated Node #0,2,3: 49:[46, 7] Operation: 5+2=7
Moving to Node #0,0
Current State: 49:[5, 77, 33], Operations: ['79-46=33']
Exploring Operation: 77-33=44, Resulting Numbers: [5, 44]
Generated Node #0,0,0: 49:[5, 44] Operation: 77-33=44
Exploring Operation: 77-5=72, Resulting Numbers: [33, 72]
Generated Node #0,0,1: 49:[33, 72] Operation: 77-5=72
Exploring Operation: 5+33=38, Resulting Numbers: [77, 38]
Generated Node #0,0,2: 49:[77, 38] Operation: 5+33=38
Exploring Operation: 5+77=82, Resulting Numbers: [33, 82]
Generated Node #0,0,3: 49:[33, 82] Operation: 5+77=82
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[5, 44], Operations: ['79-46=33', '77-33=44']
Exploring Operation: 5*44=220, Resulting Numbers: [220]
220,49 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[5, 46, 79, 77], Operations: []
Exploring Operation: 79-46=33, Resulting Numbers: [5, 77, 33]
Generated Node #0,0: 49:[5, 77, 33] Operation: 79-46=33
Moving to Node #0,0
Current State: 49:[5, 77, 33], Operations: ['79-46=33']
Exploring Operation: 77-33=44, Resulting Numbers: [5, 44]
Generated Node #0,0,0: 49:[5, 44] Operation: 77-33=44
Moving to Node #0,0,0
Current State: 49:[5, 44], Operations: ['79-46=33', '77-33=44']
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
28,
98,
15,
3
] | 88 | [
"98-28=70",
"15+3=18",
"70+18=88"
] | Current State: 88:[28, 98, 15, 3], Operations: []
Exploring Operation: 98-28=70, Resulting Numbers: [15, 3, 70]
Generated Node #2: [15, 3, 70] from Operation: 98-28=70
Current State: 88:[15, 3, 70], Operations: ['98-28=70']
Exploring Operation: 15+3=18, Resulting Numbers: [70, 18]
Generated Node #3: [70, 18] from Operation: 15+3=18
Current State: 88:[70, 18], Operations: ['98-28=70', '15+3=18']
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[28, 98, 15, 3], Operations: []
Exploring Operation: 98-15=83, Resulting Numbers: [28, 3, 83]
Generated Node #0,0: 88:[28, 3, 83] Operation: 98-15=83
Exploring Operation: 28-15=13, Resulting Numbers: [98, 3, 13]
Generated Node #0,1: 88:[98, 3, 13] Operation: 28-15=13
Exploring Operation: 28+15=43, Resulting Numbers: [98, 3, 43]
Generated Node #0,2: 88:[98, 3, 43] Operation: 28+15=43
Moving to Node #0,0
Current State: 88:[28, 3, 83], Operations: ['98-15=83']
Exploring Operation: 28-3=25, Resulting Numbers: [83, 25]
Generated Node #0,0,0: 88:[83, 25] Operation: 28-3=25
Exploring Operation: 28*3=84, Resulting Numbers: [83, 84]
Generated Node #0,0,1: 88:[83, 84] Operation: 28*3=84
Exploring Operation: 3+83=86, Resulting Numbers: [28, 86]
Generated Node #0,0,2: 88:[28, 86] Operation: 3+83=86
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[83, 25], Operations: ['98-15=83', '28-3=25']
Exploring Operation: 83*25=2075, Resulting Numbers: [2075]
2075,88 unequal: No Solution
Exploring Operation: 83+25=108, Resulting Numbers: [108]
108,88 unequal: No Solution
Exploring Operation: 83-25=58, Resulting Numbers: [58]
58,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[28, 86], Operations: ['98-15=83', '3+83=86']
Exploring Operation: 28+86=114, Resulting Numbers: [114]
114,88 unequal: No Solution
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Exploring Operation: 28*86=2408, Resulting Numbers: [2408]
2408,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[83, 84], Operations: ['98-15=83', '28*3=84']
Exploring Operation: 84-83=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 83*84=6972, Resulting Numbers: [6972]
6972,88 unequal: No Solution
Exploring Operation: 83+84=167, Resulting Numbers: [167]
167,88 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: 88:[98, 3, 43], Operations: ['28+15=43']
Exploring Operation: 98-43=55, Resulting Numbers: [3, 55]
Generated Node #0,2,0: 88:[3, 55] Operation: 98-43=55
Exploring Operation: 98-3=95, Resulting Numbers: [43, 95]
Generated Node #0,2,1: 88:[43, 95] Operation: 98-3=95
Exploring Operation: 3+43=46, Resulting Numbers: [98, 46]
Generated Node #0,2,2: 88:[98, 46] Operation: 3+43=46
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[43, 95], Operations: ['28+15=43', '98-3=95']
Exploring Operation: 43+95=138, Resulting Numbers: [138]
138,88 unequal: No Solution
Exploring Operation: 95-43=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 43*95=4085, Resulting Numbers: [4085]
4085,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,2,0
Current State: 88:[3, 55], Operations: ['28+15=43', '98-43=55']
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,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,2,2
Current State: 88:[98, 46], Operations: ['28+15=43', '3+43=46']
Exploring Operation: 98*46=4508, Resulting Numbers: [4508]
4508,88 unequal: No Solution
Exploring Operation: 98-46=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 98+46=144, Resulting Numbers: [144]
144,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 88:[98, 3, 13], Operations: ['28-15=13']
Exploring Operation: 98-3=95, Resulting Numbers: [13, 95]
Generated Node #0,1,0: 88:[13, 95] Operation: 98-3=95
Exploring Operation: 98-13=85, Resulting Numbers: [3, 85]
Generated Node #0,1,1: 88:[3, 85] Operation: 98-13=85
Exploring Operation: 13-3=10, Resulting Numbers: [98, 10]
Generated Node #0,1,2: 88:[98, 10] Operation: 13-3=10
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[3, 85], Operations: ['28-15=13', '98-13=85']
Exploring Operation: 3*85=255, Resulting Numbers: [255]
255,88 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[28, 98, 15, 3], Operations: []
Exploring Operation: 28-15=13, Resulting Numbers: [98, 3, 13]
Generated Node #0,1: 88:[98, 3, 13] Operation: 28-15=13
Moving to Node #0,1
Current State: 88:[98, 3, 13], Operations: ['28-15=13']
Exploring Operation: 98-13=85, Resulting Numbers: [3, 85]
Generated Node #0,1,1: 88:[3, 85] Operation: 98-13=85
Moving to Node #0,1,1
Current State: 88:[3, 85], Operations: ['28-15=13', '98-13=85']
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_3 | mult_heuristic |
[
93,
38,
18,
69
] | 80 | [
"93+38=131",
"69-18=51",
"131-51=80"
] | Current State: 80:[93, 38, 18, 69], Operations: []
Exploring Operation: 93+38=131, Resulting Numbers: [18, 69, 131]
Generated Node #2: [18, 69, 131] from Operation: 93+38=131
Current State: 80:[18, 69, 131], Operations: ['93+38=131']
Exploring Operation: 69-18=51, Resulting Numbers: [131, 51]
Generated Node #3: [131, 51] from Operation: 69-18=51
Current State: 80:[131, 51], Operations: ['93+38=131', '69-18=51']
Exploring Operation: 131-51=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[93, 38, 18, 69], Operations: []
Exploring Operation: 93-18=75, Resulting Numbers: [38, 69, 75]
Generated Node #0,0: 80:[38, 69, 75] Operation: 93-18=75
Exploring Operation: 93-69=24, Resulting Numbers: [38, 18, 24]
Generated Node #0,1: 80:[38, 18, 24] Operation: 93-69=24
Exploring Operation: 18+69=87, Resulting Numbers: [93, 38, 87]
Generated Node #0,2: 80:[93, 38, 87] Operation: 18+69=87
Exploring Operation: 38-18=20, Resulting Numbers: [93, 69, 20]
Generated Node #0,3: 80:[93, 69, 20] Operation: 38-18=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[38, 18, 24], Operations: ['93-69=24']
Exploring Operation: 38-18=20, Resulting Numbers: [24, 20]
Generated Node #0,1,0: 80:[24, 20] Operation: 38-18=20
Exploring Operation: 38-24=14, Resulting Numbers: [18, 14]
Generated Node #0,1,1: 80:[18, 14] Operation: 38-24=14
Exploring Operation: 24-18=6, Resulting Numbers: [38, 6]
Generated Node #0,1,2: 80:[38, 6] Operation: 24-18=6
Exploring Operation: 18+24=42, Resulting Numbers: [38, 42]
Generated Node #0,1,3: 80:[38, 42] Operation: 18+24=42
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[38, 6], Operations: ['93-69=24', '24-18=6']
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,80 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,80 unequal: No Solution
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[24, 20], Operations: ['93-69=24', '38-18=20']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,80 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[18, 14], Operations: ['93-69=24', '38-24=14']
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,80 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 80:[38, 42], Operations: ['93-69=24', '18+24=42']
Exploring Operation: 38*42=1596, Resulting Numbers: [1596]
1596,80 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[93, 38, 18, 69], Operations: []
Exploring Operation: 93-69=24, Resulting Numbers: [38, 18, 24]
Generated Node #0,1: 80:[38, 18, 24] Operation: 93-69=24
Moving to Node #0,1
Current State: 80:[38, 18, 24], Operations: ['93-69=24']
Exploring Operation: 18+24=42, Resulting Numbers: [38, 42]
Generated Node #0,1,3: 80:[38, 42] Operation: 18+24=42
Moving to Node #0,1,3
Current State: 80:[38, 42], Operations: ['93-69=24', '18+24=42']
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
56,
34,
51,
39
] | 53 | [
"56-39=17",
"34/17=2",
"51+2=53"
] | Current State: 53:[56, 34, 51, 39], Operations: []
Exploring Operation: 56-39=17, Resulting Numbers: [34, 51, 17]
Generated Node #2: [34, 51, 17] from Operation: 56-39=17
Current State: 53:[34, 51, 17], Operations: ['56-39=17']
Exploring Operation: 34/17=2, Resulting Numbers: [51, 2]
Generated Node #3: [51, 2] from Operation: 34/17=2
Current State: 53:[51, 2], Operations: ['56-39=17', '34/17=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[56, 34, 51, 39], Operations: []
Exploring Operation: 34+39=73, Resulting Numbers: [56, 51, 73]
Generated Node #0,0: 53:[56, 51, 73] Operation: 34+39=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[56, 51, 73], Operations: ['34+39=73']
Exploring Operation: 73-51=22, Resulting Numbers: [56, 22]
Generated Node #0,0,0: 53:[56, 22] Operation: 73-51=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[56, 22], Operations: ['34+39=73', '73-51=22']
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,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_1 | mult_heuristic |
[
17,
3,
98,
24
] | 54 | [
"17+3=20",
"98-24=74",
"74-20=54"
] | Current State: 54:[17, 3, 98, 24], Operations: []
Exploring Operation: 17+3=20, Resulting Numbers: [98, 24, 20]
Generated Node #2: [98, 24, 20] from Operation: 17+3=20
Current State: 54:[98, 24, 20], Operations: ['17+3=20']
Exploring Operation: 98-24=74, Resulting Numbers: [20, 74]
Generated Node #3: [20, 74] from Operation: 98-24=74
Current State: 54:[20, 74], Operations: ['17+3=20', '98-24=74']
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[17, 3, 98, 24], Operations: []
Exploring Operation: 24-17=7, Resulting Numbers: [3, 98, 7]
Generated Node #0,0: 54:[3, 98, 7] Operation: 24-17=7
Exploring Operation: 98-3=95, Resulting Numbers: [17, 24, 95]
Generated Node #0,1: 54:[17, 24, 95] Operation: 98-3=95
Exploring Operation: 98-17=81, Resulting Numbers: [3, 24, 81]
Generated Node #0,2: 54:[3, 24, 81] Operation: 98-17=81
Exploring Operation: 98-24=74, Resulting Numbers: [17, 3, 74]
Generated Node #0,3: 54:[17, 3, 74] Operation: 98-24=74
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[17, 3, 74], Operations: ['98-24=74']
Exploring Operation: 74-3=71, Resulting Numbers: [17, 71]
Generated Node #0,3,0: 54:[17, 71] Operation: 74-3=71
Exploring Operation: 74-17=57, Resulting Numbers: [3, 57]
Generated Node #0,3,1: 54:[3, 57] Operation: 74-17=57
Exploring Operation: 17+3=20, Resulting Numbers: [74, 20]
Generated Node #0,3,2: 54:[74, 20] Operation: 17+3=20
Exploring Operation: 17*3=51, Resulting Numbers: [74, 51]
Generated Node #0,3,3: 54:[74, 51] Operation: 17*3=51
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 54:[3, 57], Operations: ['98-24=74', '74-17=57']
Exploring Operation: 3*57=171, Resulting Numbers: [171]
171,54 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[17, 3, 98, 24], Operations: []
Exploring Operation: 98-24=74, Resulting Numbers: [17, 3, 74]
Generated Node #0,3: 54:[17, 3, 74] Operation: 98-24=74
Moving to Node #0,3
Current State: 54:[17, 3, 74], Operations: ['98-24=74']
Exploring Operation: 74-17=57, Resulting Numbers: [3, 57]
Generated Node #0,3,1: 54:[3, 57] Operation: 74-17=57
Moving to Node #0,3,1
Current State: 54:[3, 57], Operations: ['98-24=74', '74-17=57']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
45,
4,
36,
93
] | 96 | [
"93-45=48",
"4*36=144",
"144-48=96"
] | Current State: 96:[45, 4, 36, 93], Operations: []
Exploring Operation: 93-45=48, Resulting Numbers: [4, 36, 48]
Generated Node #2: [4, 36, 48] from Operation: 93-45=48
Current State: 96:[4, 36, 48], Operations: ['93-45=48']
Exploring Operation: 4*36=144, Resulting Numbers: [48, 144]
Generated Node #3: [48, 144] from Operation: 4*36=144
Current State: 96:[48, 144], Operations: ['93-45=48', '4*36=144']
Exploring Operation: 144-48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[45, 4, 36, 93], Operations: []
Exploring Operation: 36/4=9, Resulting Numbers: [45, 93, 9]
Generated Node #0,0: 96:[45, 93, 9] Operation: 36/4=9
Exploring Operation: 93-45=48, Resulting Numbers: [4, 36, 48]
Generated Node #0,1: 96:[4, 36, 48] Operation: 93-45=48
Exploring Operation: 36-4=32, Resulting Numbers: [45, 93, 32]
Generated Node #0,2: 96:[45, 93, 32] Operation: 36-4=32
Exploring Operation: 45-36=9, Resulting Numbers: [4, 93, 9]
Generated Node #0,3: 96:[4, 93, 9] Operation: 45-36=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[4, 36, 48], Operations: ['93-45=48']
Exploring Operation: 36/4=9, Resulting Numbers: [48, 9]
Generated Node #0,1,0: 96:[48, 9] Operation: 36/4=9
Exploring Operation: 36-4=32, Resulting Numbers: [48, 32]
Generated Node #0,1,1: 96:[48, 32] Operation: 36-4=32
Exploring Operation: 48-36=12, Resulting Numbers: [4, 12]
Generated Node #0,1,2: 96:[4, 12] Operation: 48-36=12
Exploring Operation: 48/4=12, Resulting Numbers: [36, 12]
Generated Node #0,1,3: 96:[36, 12] Operation: 48/4=12
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[48, 32], Operations: ['93-45=48', '36-4=32']
Exploring Operation: 48*32=1536, Resulting Numbers: [1536]
1536,96 unequal: No Solution
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[4, 12], Operations: ['93-45=48', '48-36=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[48, 9], Operations: ['93-45=48', '36/4=9']
Exploring Operation: 48*9=432, Resulting Numbers: [432]
432,96 unequal: No Solution
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,96 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 96:[36, 12], Operations: ['93-45=48', '48/4=12']
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,96 unequal: No Solution
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[4, 93, 9], Operations: ['45-36=9']
Exploring Operation: 93+9=102, Resulting Numbers: [4, 102]
Generated Node #0,3,0: 96:[4, 102] Operation: 93+9=102
Exploring Operation: 4+93=97, Resulting Numbers: [9, 97]
Generated Node #0,3,1: 96:[9, 97] Operation: 4+93=97
Exploring Operation: 4+9=13, Resulting Numbers: [93, 13]
Generated Node #0,3,2: 96:[93, 13] Operation: 4+9=13
Exploring Operation: 9-4=5, Resulting Numbers: [93, 5]
Generated Node #0,3,3: 96:[93, 5] Operation: 9-4=5
Moving to Node #0,3,1
Current State: 96:[9, 97], Operations: ['45-36=9', '4+93=97']
Exploring Operation: 9*97=873, Resulting Numbers: [873]
873,96 unequal: No Solution
Exploring Operation: 9+97=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[93, 5], Operations: ['45-36=9', '9-4=5']
Exploring Operation: 93*5=465, Resulting Numbers: [465]
465,96 unequal: No Solution
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,96 unequal: No Solution
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[93, 13], Operations: ['45-36=9', '4+9=13']
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 93+13=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Exploring Operation: 93*13=1209, Resulting Numbers: [1209]
1209,96 unequal: No Solution
Moving to Node #0,3,0
Current State: 96:[4, 102], Operations: ['45-36=9', '93+9=102']
Exploring Operation: 4*102=408, Resulting Numbers: [408]
408,96 unequal: No Solution
Exploring Operation: 102-4=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 4+102=106, Resulting Numbers: [106]
106,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,2
Current State: 96:[45, 93, 32], Operations: ['36-4=32']
Exploring Operation: 93-45=48, Resulting Numbers: [32, 48]
Generated Node #0,2,0: 96:[32, 48] Operation: 93-45=48
Exploring Operation: 93-32=61, Resulting Numbers: [45, 61]
Generated Node #0,2,1: 96:[45, 61] Operation: 93-32=61
Exploring Operation: 45+32=77, Resulting Numbers: [93, 77]
Generated Node #0,2,2: 96:[93, 77] Operation: 45+32=77
Exploring Operation: 45-32=13, Resulting Numbers: [93, 13]
Generated Node #0,2,3: 96:[93, 13] Operation: 45-32=13
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[32, 48], Operations: ['36-4=32', '93-45=48']
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,96 unequal: No Solution
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 96:[93, 13], Operations: ['36-4=32', '45-32=13']
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 93*13=1209, Resulting Numbers: [1209]
1209,96 unequal: No Solution
Exploring Operation: 93+13=106, Resulting Numbers: [106]
106,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 96:[45, 61], Operations: ['36-4=32', '93-32=61']
Exploring Operation: 45*61=2745, Resulting Numbers: [2745]
2745,96 unequal: No Solution
Exploring Operation: 45+61=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Exploring Operation: 61-45=16, Resulting Numbers: [16]
16,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 96:[93, 77], Operations: ['36-4=32', '45+32=77']
Exploring Operation: 93+77=170, Resulting Numbers: [170]
170,96 unequal: No Solution
Exploring Operation: 93-77=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Exploring Operation: 93*77=7161, Resulting Numbers: [7161]
7161,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[45, 93, 9], Operations: ['36/4=9']
Exploring Operation: 93-45=48, Resulting Numbers: [9, 48]
Generated Node #0,0,0: 96:[9, 48] Operation: 93-45=48
Exploring Operation: 45-9=36, Resulting Numbers: [93, 36]
Generated Node #0,0,1: 96:[93, 36] Operation: 45-9=36
Exploring Operation: 45+9=54, Resulting Numbers: [93, 54]
Generated Node #0,0,2: 96:[93, 54] Operation: 45+9=54
Exploring Operation: 45/9=5, Resulting Numbers: [93, 5]
Generated Node #0,0,3: 96:[93, 5] Operation: 45/9=5
Moving to Node #0,0,0
Current State: 96:[9, 48], Operations: ['36/4=9', '93-45=48']
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,96 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 9*48=432, Resulting Numbers: [432]
432,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[93, 5], Operations: ['36/4=9', '45/9=5']
Exploring Operation: 93*5=465, Resulting Numbers: [465]
465,96 unequal: No Solution
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,96 unequal: No Solution
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[93, 36], Operations: ['36/4=9', '45-9=36']
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,96 unequal: No Solution
Exploring Operation: 93*36=3348, Resulting Numbers: [3348]
3348,96 unequal: No Solution
Exploring Operation: 93+36=129, Resulting Numbers: [129]
129,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[93, 54], Operations: ['36/4=9', '45+9=54']
Exploring Operation: 93+54=147, Resulting Numbers: [147]
147,96 unequal: No Solution
Exploring Operation: 93-54=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 93*54=5022, Resulting Numbers: [5022]
5022,96 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 |
[
25,
4,
76,
75
] | 77 | [
"75/25=3",
"4+76=80",
"80-3=77"
] | Current State: 77:[25, 4, 76, 75], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [4, 76, 3]
Generated Node #2: [4, 76, 3] from Operation: 75/25=3
Current State: 77:[4, 76, 3], Operations: ['75/25=3']
Exploring Operation: 4+76=80, Resulting Numbers: [3, 80]
Generated Node #3: [3, 80] from Operation: 4+76=80
Current State: 77:[3, 80], Operations: ['75/25=3', '4+76=80']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[25, 4, 76, 75], Operations: []
Exploring Operation: 4+75=79, Resulting Numbers: [25, 76, 79]
Generated Node #0,0: 77:[25, 76, 79] Operation: 4+75=79
Exploring Operation: 4+76=80, Resulting Numbers: [25, 75, 80]
Generated Node #0,1: 77:[25, 75, 80] Operation: 4+76=80
Exploring Operation: 25-4=21, Resulting Numbers: [76, 75, 21]
Generated Node #0,2: 77:[76, 75, 21] Operation: 25-4=21
Exploring Operation: 75/25=3, Resulting Numbers: [4, 76, 3]
Generated Node #0,3: 77:[4, 76, 3] Operation: 75/25=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[4, 76, 3], Operations: ['75/25=3']
Exploring Operation: 4+76=80, Resulting Numbers: [3, 80]
Generated Node #0,3,0: 77:[3, 80] Operation: 4+76=80
Exploring Operation: 76+3=79, Resulting Numbers: [4, 79]
Generated Node #0,3,1: 77:[4, 79] Operation: 76+3=79
Exploring Operation: 4+3=7, Resulting Numbers: [76, 7]
Generated Node #0,3,2: 77:[76, 7] Operation: 4+3=7
Exploring Operation: 4*3=12, Resulting Numbers: [76, 12]
Generated Node #0,3,3: 77:[76, 12] Operation: 4*3=12
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 77:[76, 7], Operations: ['75/25=3', '4+3=7']
Exploring Operation: 76*7=532, Resulting Numbers: [532]
532,77 unequal: No Solution
Exploring Operation: 76+7=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,77 unequal: No Solution
No 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: 77:[76, 12], Operations: ['75/25=3', '4*3=12']
Exploring Operation: 76*12=912, Resulting Numbers: [912]
912,77 unequal: No Solution
Exploring Operation: 76+12=88, Resulting Numbers: [88]
88,77 unequal: No Solution
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,77 unequal: No Solution
No 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: 77:[4, 79], Operations: ['75/25=3', '76+3=79']
Exploring Operation: 4*79=316, Resulting Numbers: [316]
316,77 unequal: No Solution
Exploring Operation: 4+79=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,77 unequal: No Solution
No 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: 77:[3, 80], Operations: ['75/25=3', '4+76=80']
Exploring Operation: 3+80=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 3*80=240, Resulting Numbers: [240]
240,77 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[25, 4, 76, 75], Operations: []
Exploring Operation: 75/25=3, Resulting Numbers: [4, 76, 3]
Generated Node #0,3: 77:[4, 76, 3] Operation: 75/25=3
Moving to Node #0,3
Current State: 77:[4, 76, 3], Operations: ['75/25=3']
Exploring Operation: 4+76=80, Resulting Numbers: [3, 80]
Generated Node #0,3,0: 77:[3, 80] Operation: 4+76=80
Moving to Node #0,3,0
Current State: 77:[3, 80], Operations: ['75/25=3', '4+76=80']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
71,
73,
1,
17
] | 20 | [
"73-71=2",
"1+17=18",
"2+18=20"
] | Current State: 20:[71, 73, 1, 17], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [1, 17, 2]
Generated Node #2: [1, 17, 2] from Operation: 73-71=2
Current State: 20:[1, 17, 2], Operations: ['73-71=2']
Exploring Operation: 1+17=18, Resulting Numbers: [2, 18]
Generated Node #3: [2, 18] from Operation: 1+17=18
Current State: 20:[2, 18], Operations: ['73-71=2', '1+17=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[71, 73, 1, 17], Operations: []
Exploring Operation: 73-1=72, Resulting Numbers: [71, 17, 72]
Generated Node #0,0: 20:[71, 17, 72] Operation: 73-1=72
Exploring Operation: 73-17=56, Resulting Numbers: [71, 1, 56]
Generated Node #0,1: 20:[71, 1, 56] Operation: 73-17=56
Exploring Operation: 73-71=2, Resulting Numbers: [1, 17, 2]
Generated Node #0,2: 20:[1, 17, 2] Operation: 73-71=2
Exploring Operation: 71-17=54, Resulting Numbers: [73, 1, 54]
Generated Node #0,3: 20:[73, 1, 54] Operation: 71-17=54
Exploring Operation: 71-1=70, Resulting Numbers: [73, 17, 70]
Generated Node #0,4: 20:[73, 17, 70] Operation: 71-1=70
Moving to Node #0,2
Current State: 20:[1, 17, 2], Operations: ['73-71=2']
Exploring Operation: 1+17=18, Resulting Numbers: [2, 18]
Generated Node #0,2,0: 20:[2, 18] Operation: 1+17=18
Exploring Operation: 1*2=2, Resulting Numbers: [17, 2]
Generated Node #0,2,1: 20:[17, 2] Operation: 1*2=2
Exploring Operation: 17/1=17, Resulting Numbers: [2, 17]
Generated Node #0,2,2: 20:[2, 17] Operation: 17/1=17
Exploring Operation: 1*17=17, Resulting Numbers: [2, 17]
Generated Node #0,2,3: 20:[2, 17] Operation: 1*17=17
Exploring Operation: 17+2=19, Resulting Numbers: [1, 19]
Generated Node #0,2,4: 20:[1, 19] Operation: 17+2=19
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[2, 18], Operations: ['73-71=2', '1+17=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[71, 73, 1, 17], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [1, 17, 2]
Generated Node #0,2: 20:[1, 17, 2] Operation: 73-71=2
Moving to Node #0,2
Current State: 20:[1, 17, 2], Operations: ['73-71=2']
Exploring Operation: 1+17=18, Resulting Numbers: [2, 18]
Generated Node #0,2,0: 20:[2, 18] Operation: 1+17=18
Moving to Node #0,2,0
Current State: 20:[2, 18], Operations: ['73-71=2', '1+17=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
24,
20,
25,
35
] | 16 | [
"24+20=44",
"25+35=60",
"60-44=16"
] | Current State: 16:[24, 20, 25, 35], Operations: []
Exploring Operation: 24+20=44, Resulting Numbers: [25, 35, 44]
Generated Node #2: [25, 35, 44] from Operation: 24+20=44
Current State: 16:[25, 35, 44], Operations: ['24+20=44']
Exploring Operation: 25+35=60, Resulting Numbers: [44, 60]
Generated Node #3: [44, 60] from Operation: 25+35=60
Current State: 16:[44, 60], Operations: ['24+20=44', '25+35=60']
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[24, 20, 25, 35], Operations: []
Exploring Operation: 35-20=15, Resulting Numbers: [24, 25, 15]
Generated Node #0,0: 16:[24, 25, 15] Operation: 35-20=15
Exploring Operation: 25-24=1, Resulting Numbers: [20, 35, 1]
Generated Node #0,1: 16:[20, 35, 1] Operation: 25-24=1
Exploring Operation: 35-24=11, Resulting Numbers: [20, 25, 11]
Generated Node #0,2: 16:[20, 25, 11] Operation: 35-24=11
Exploring Operation: 24-20=4, Resulting Numbers: [25, 35, 4]
Generated Node #0,3: 16:[25, 35, 4] Operation: 24-20=4
Exploring Operation: 35-25=10, Resulting Numbers: [24, 20, 10]
Generated Node #0,4: 16:[24, 20, 10] Operation: 35-25=10
Start Sub Search at level 1: Moving to Node #0,4
Current State: 16:[24, 20, 10], Operations: ['35-25=10']
Exploring Operation: 20/10=2, Resulting Numbers: [24, 2]
Generated Node #0,4,0: 16:[24, 2] Operation: 20/10=2
Exploring Operation: 20-10=10, Resulting Numbers: [24, 10]
Generated Node #0,4,1: 16:[24, 10] Operation: 20-10=10
Exploring Operation: 24-10=14, Resulting Numbers: [20, 14]
Generated Node #0,4,2: 16:[20, 14] Operation: 24-10=14
Exploring Operation: 24-20=4, Resulting Numbers: [10, 4]
Generated Node #0,4,3: 16:[10, 4] Operation: 24-20=4
Exploring Operation: 24+10=34, Resulting Numbers: [20, 34]
Generated Node #0,4,4: 16:[20, 34] Operation: 24+10=34
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 16:[10, 4], Operations: ['35-25=10', '24-20=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,16 unequal: No Solution
No 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: 16:[20, 14], Operations: ['35-25=10', '24-10=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,16 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,16 unequal: No Solution
No 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: 16:[24, 2], Operations: ['35-25=10', '20/10=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,16 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,16 unequal: No Solution
No 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: 16:[24, 10], Operations: ['35-25=10', '20-10=10']
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,16 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,16 unequal: No Solution
No 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: 16:[20, 34], Operations: ['35-25=10', '24+10=34']
Exploring Operation: 20+34=54, Resulting Numbers: [54]
54,16 unequal: No Solution
Exploring Operation: 20*34=680, Resulting Numbers: [680]
680,16 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[20, 25, 11], Operations: ['35-24=11']
Exploring Operation: 25-11=14, Resulting Numbers: [20, 14]
Generated Node #0,2,0: 16:[20, 14] Operation: 25-11=14
Exploring Operation: 20+11=31, Resulting Numbers: [25, 31]
Generated Node #0,2,1: 16:[25, 31] Operation: 20+11=31
Exploring Operation: 25-20=5, Resulting Numbers: [11, 5]
Generated Node #0,2,2: 16:[11, 5] Operation: 25-20=5
Exploring Operation: 25+11=36, Resulting Numbers: [20, 36]
Generated Node #0,2,3: 16:[20, 36] Operation: 25+11=36
Exploring Operation: 20-11=9, Resulting Numbers: [25, 9]
Generated Node #0,2,4: 16:[25, 9] Operation: 20-11=9
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 16:[11, 5], Operations: ['35-24=11', '25-20=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[24, 20, 25, 35], Operations: []
Exploring Operation: 35-24=11, Resulting Numbers: [20, 25, 11]
Generated Node #0,2: 16:[20, 25, 11] Operation: 35-24=11
Moving to Node #0,2
Current State: 16:[20, 25, 11], Operations: ['35-24=11']
Exploring Operation: 25-20=5, Resulting Numbers: [11, 5]
Generated Node #0,2,2: 16:[11, 5] Operation: 25-20=5
Moving to Node #0,2,2
Current State: 16:[11, 5], Operations: ['35-24=11', '25-20=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
53,
27,
75,
29
] | 97 | [
"29-27=2",
"75*2=150",
"150-53=97"
] | Current State: 97:[53, 27, 75, 29], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [53, 75, 2]
Generated Node #2: [53, 75, 2] from Operation: 29-27=2
Current State: 97:[53, 75, 2], Operations: ['29-27=2']
Exploring Operation: 75*2=150, Resulting Numbers: [53, 150]
Generated Node #3: [53, 150] from Operation: 75*2=150
Current State: 97:[53, 150], Operations: ['29-27=2', '75*2=150']
Exploring Operation: 150-53=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[53, 27, 75, 29], Operations: []
Exploring Operation: 53+27=80, Resulting Numbers: [75, 29, 80]
Generated Node #0,0: 97:[75, 29, 80] Operation: 53+27=80
Exploring Operation: 53+29=82, Resulting Numbers: [27, 75, 82]
Generated Node #0,1: 97:[27, 75, 82] Operation: 53+29=82
Exploring Operation: 27+29=56, Resulting Numbers: [53, 75, 56]
Generated Node #0,2: 97:[53, 75, 56] Operation: 27+29=56
Exploring Operation: 27+75=102, Resulting Numbers: [53, 29, 102]
Generated Node #0,3: 97:[53, 29, 102] Operation: 27+75=102
Moving to Node #0,0
Current State: 97:[75, 29, 80], Operations: ['53+27=80']
Exploring Operation: 80-29=51, Resulting Numbers: [75, 51]
Generated Node #0,0,0: 97:[75, 51] Operation: 80-29=51
Exploring Operation: 75-29=46, Resulting Numbers: [80, 46]
Generated Node #0,0,1: 97:[80, 46] Operation: 75-29=46
Exploring Operation: 75+29=104, Resulting Numbers: [80, 104]
Generated Node #0,0,2: 97:[80, 104] Operation: 75+29=104
Exploring Operation: 29+80=109, Resulting Numbers: [75, 109]
Generated Node #0,0,3: 97:[75, 109] Operation: 29+80=109
Moving to Node #0,2
Current State: 97:[53, 75, 56], Operations: ['27+29=56']
Exploring Operation: 53+75=128, Resulting Numbers: [56, 128]
Generated Node #0,2,0: 97:[56, 128] Operation: 53+75=128
Exploring Operation: 53+56=109, Resulting Numbers: [75, 109]
Generated Node #0,2,1: 97:[75, 109] Operation: 53+56=109
Exploring Operation: 75-53=22, Resulting Numbers: [56, 22]
Generated Node #0,2,2: 97:[56, 22] Operation: 75-53=22
Exploring Operation: 75+56=131, Resulting Numbers: [53, 131]
Generated Node #0,2,3: 97:[53, 131] Operation: 75+56=131
Moving to Node #0,1
Current State: 97:[27, 75, 82], Operations: ['53+29=82']
Exploring Operation: 75-27=48, Resulting Numbers: [82, 48]
Generated Node #0,1,0: 97:[82, 48] Operation: 75-27=48
Exploring Operation: 27+75=102, Resulting Numbers: [82, 102]
Generated Node #0,1,1: 97:[82, 102] Operation: 27+75=102
Exploring Operation: 27+82=109, Resulting Numbers: [75, 109]
Generated Node #0,1,2: 97:[75, 109] Operation: 27+82=109
Exploring Operation: 82-27=55, Resulting Numbers: [75, 55]
Generated Node #0,1,3: 97:[75, 55] Operation: 82-27=55
Moving to Node #0,3
Current State: 97:[53, 29, 102], Operations: ['27+75=102']
Exploring Operation: 53+29=82, Resulting Numbers: [102, 82]
Generated Node #0,3,0: 97:[102, 82] Operation: 53+29=82
Exploring Operation: 29+102=131, Resulting Numbers: [53, 131]
Generated Node #0,3,1: 97:[53, 131] Operation: 29+102=131
Exploring Operation: 102-29=73, Resulting Numbers: [53, 73]
Generated Node #0,3,2: 97:[53, 73] Operation: 102-29=73
Exploring Operation: 53-29=24, Resulting Numbers: [102, 24]
Generated Node #0,3,3: 97:[102, 24] Operation: 53-29=24
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[102, 82], Operations: ['27+75=102', '53+29=82']
Exploring Operation: 102+82=184, Resulting Numbers: [184]
184,97 unequal: No Solution
Exploring Operation: 102-82=20, Resulting Numbers: [20]
20,97 unequal: No Solution
Exploring Operation: 102*82=8364, Resulting Numbers: [8364]
8364,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 97:[53, 73], Operations: ['27+75=102', '102-29=73']
Exploring Operation: 53+73=126, Resulting Numbers: [126]
126,97 unequal: No Solution
Exploring Operation: 53*73=3869, Resulting Numbers: [3869]
3869,97 unequal: No Solution
Exploring Operation: 73-53=20, Resulting Numbers: [20]
20,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 97:[53, 131], Operations: ['27+75=102', '29+102=131']
Exploring Operation: 53+131=184, Resulting Numbers: [184]
184,97 unequal: No Solution
Exploring Operation: 53*131=6943, Resulting Numbers: [6943]
6943,97 unequal: No Solution
Exploring Operation: 131-53=78, Resulting Numbers: [78]
78,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 97:[102, 24], Operations: ['27+75=102', '53-29=24']
Exploring Operation: 102*24=2448, Resulting Numbers: [2448]
2448,97 unequal: No Solution
Exploring Operation: 102-24=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 102+24=126, Resulting Numbers: [126]
126,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 97:[82, 102], Operations: ['53+29=82', '27+75=102']
Exploring Operation: 82+102=184, Resulting Numbers: [184]
184,97 unequal: No Solution
Exploring Operation: 102-82=20, Resulting Numbers: [20]
20,97 unequal: No Solution
Exploring Operation: 82*102=8364, Resulting Numbers: [8364]
8364,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[80, 104], Operations: ['53+27=80', '75+29=104']
Exploring Operation: 80*104=8320, Resulting Numbers: [8320]
8320,97 unequal: No Solution
Exploring Operation: 80+104=184, Resulting Numbers: [184]
184,97 unequal: No Solution
Exploring Operation: 104-80=24, Resulting Numbers: [24]
24,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[75, 109], Operations: ['27+29=56', '53+56=109']
Exploring Operation: 109-75=34, Resulting Numbers: [34]
34,97 unequal: No Solution
Exploring Operation: 75*109=8175, Resulting Numbers: [8175]
8175,97 unequal: No Solution
Exploring Operation: 75+109=184, Resulting Numbers: [184]
184,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[75, 109], Operations: ['53+29=82', '27+82=109']
Exploring Operation: 109-75=34, Resulting Numbers: [34]
34,97 unequal: No Solution
Exploring Operation: 75+109=184, Resulting Numbers: [184]
184,97 unequal: No Solution
Exploring Operation: 75*109=8175, Resulting Numbers: [8175]
8175,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[75, 109], Operations: ['53+27=80', '29+80=109']
Exploring Operation: 109-75=34, Resulting Numbers: [34]
34,97 unequal: No Solution
Exploring Operation: 75*109=8175, Resulting Numbers: [8175]
8175,97 unequal: No Solution
Exploring Operation: 75+109=184, Resulting Numbers: [184]
184,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[75, 55], Operations: ['53+29=82', '82-27=55']
Exploring Operation: 75*55=4125, Resulting Numbers: [4125]
4125,97 unequal: No Solution
Exploring Operation: 75-55=20, Resulting Numbers: [20]
20,97 unequal: No Solution
Exploring Operation: 75+55=130, Resulting Numbers: [130]
130,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[82, 48], Operations: ['53+29=82', '75-27=48']
Exploring Operation: 82+48=130, Resulting Numbers: [130]
130,97 unequal: No Solution
Exploring Operation: 82*48=3936, Resulting Numbers: [3936]
3936,97 unequal: No Solution
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[75, 51], Operations: ['53+27=80', '80-29=51']
Exploring Operation: 75*51=3825, Resulting Numbers: [3825]
3825,97 unequal: No Solution
Exploring Operation: 75-51=24, Resulting Numbers: [24]
24,97 unequal: No Solution
Exploring Operation: 75+51=126, Resulting Numbers: [126]
126,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[80, 46], Operations: ['53+27=80', '75-29=46']
Exploring Operation: 80*46=3680, Resulting Numbers: [3680]
3680,97 unequal: No Solution
Exploring Operation: 80-46=34, Resulting Numbers: [34]
34,97 unequal: No Solution
Exploring Operation: 80+46=126, Resulting Numbers: [126]
126,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[56, 128], Operations: ['27+29=56', '53+75=128']
Exploring Operation: 56*128=7168, Resulting Numbers: [7168]
7168,97 unequal: No Solution
Exploring Operation: 128-56=72, Resulting Numbers: [72]
72,97 unequal: No Solution
Exploring Operation: 56+128=184, Resulting Numbers: [184]
184,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[53, 131], Operations: ['27+29=56', '75+56=131']
Exploring Operation: 53+131=184, Resulting Numbers: [184]
184,97 unequal: No Solution
Exploring Operation: 131-53=78, Resulting Numbers: [78]
78,97 unequal: No Solution
Exploring Operation: 53*131=6943, Resulting Numbers: [6943]
6943,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[56, 22], Operations: ['27+29=56', '75-53=22']
Exploring Operation: 56*22=1232, Resulting Numbers: [1232]
1232,97 unequal: No Solution
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,97 unequal: No Solution
Exploring Operation: 56+22=78, Resulting Numbers: [78]
78,97 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
22,
98,
17,
13
] | 17 | [
"22-17=5",
"98-13=85",
"85/5=17"
] | Current State: 17:[22, 98, 17, 13], Operations: []
Exploring Operation: 22-17=5, Resulting Numbers: [98, 13, 5]
Generated Node #2: [98, 13, 5] from Operation: 22-17=5
Current State: 17:[98, 13, 5], Operations: ['22-17=5']
Exploring Operation: 98-13=85, Resulting Numbers: [5, 85]
Generated Node #3: [5, 85] from Operation: 98-13=85
Current State: 17:[5, 85], Operations: ['22-17=5', '98-13=85']
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[22, 98, 17, 13], Operations: []
Exploring Operation: 98-22=76, Resulting Numbers: [17, 13, 76]
Generated Node #0,0: 17:[17, 13, 76] Operation: 98-22=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[17, 13, 76], Operations: ['98-22=76']
Exploring Operation: 76-17=59, Resulting Numbers: [13, 59]
Generated Node #0,0,0: 17:[13, 59] Operation: 76-17=59
Moving to Node #0,0,0
Current State: 17:[13, 59], Operations: ['98-22=76', '76-17=59']
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,17 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 |
[
72,
71,
78,
66
] | 85 | [
"71*78=5538",
"72+5538=5610",
"5610/66=85"
] | Current State: 85:[72, 71, 78, 66], Operations: []
Exploring Operation: 71*78=5538, Resulting Numbers: [72, 66, 5538]
Generated Node #2: [72, 66, 5538] from Operation: 71*78=5538
Current State: 85:[72, 66, 5538], Operations: ['71*78=5538']
Exploring Operation: 72+5538=5610, Resulting Numbers: [66, 5610]
Generated Node #3: [66, 5610] from Operation: 72+5538=5610
Current State: 85:[66, 5610], Operations: ['71*78=5538', '72+5538=5610']
Exploring Operation: 5610/66=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[72, 71, 78, 66], Operations: []
Exploring Operation: 71-66=5, Resulting Numbers: [72, 78, 5]
Generated Node #0,0: 85:[72, 78, 5] Operation: 71-66=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[72, 78, 5], Operations: ['71-66=5']
Exploring Operation: 78-72=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 85:[5, 6] Operation: 78-72=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[5, 6], Operations: ['71-66=5', '78-72=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
81,
47,
79,
79
] | 64 | [
"81-79=2",
"79-47=32",
"2*32=64"
] | Current State: 64:[81, 47, 79, 79], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [47, 2]
Generated Node #2: [47, 2] from Operation: 81-79=2
Current State: 64:[47, 2], Operations: ['81-79=2']
Exploring Operation: 79-47=32, Resulting Numbers: [2, 32]
Generated Node #3: [2, 32] from Operation: 79-47=32
Current State: 64:[2, 32], Operations: ['81-79=2', '79-47=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[81, 47, 79, 79], Operations: []
Exploring Operation: 81-47=34, Resulting Numbers: [79, 79, 34]
Generated Node #0,0: 64:[79, 79, 34] Operation: 81-47=34
Exploring Operation: 81-79=2, Resulting Numbers: [47, 79, 2]
Generated Node #0,1: 64:[47, 79, 2] Operation: 81-79=2
Exploring Operation: 81-79=2, Resulting Numbers: [47, 79, 2]
Generated Node #0,2: 64:[47, 79, 2] Operation: 81-79=2
Exploring Operation: 79-47=32, Resulting Numbers: [81, 79, 32]
Generated Node #0,3: 64:[81, 79, 32] Operation: 79-47=32
Moving to Node #0,1
Current State: 64:[47, 79, 2], Operations: ['81-79=2']
Exploring Operation: 47+2=49, Resulting Numbers: [79, 49]
Generated Node #0,1,0: 64:[79, 49] Operation: 47+2=49
Exploring Operation: 47-2=45, Resulting Numbers: [79, 45]
Generated Node #0,1,1: 64:[79, 45] Operation: 47-2=45
Exploring Operation: 79-2=77, Resulting Numbers: [47, 77]
Generated Node #0,1,2: 64:[47, 77] Operation: 79-2=77
Exploring Operation: 79-47=32, Resulting Numbers: [2, 32]
Generated Node #0,1,3: 64:[2, 32] Operation: 79-47=32
Moving to Node #0,2
Current State: 64:[47, 79, 2], Operations: ['81-79=2']
Exploring Operation: 47-2=45, Resulting Numbers: [79, 45]
Generated Node #0,2,0: 64:[79, 45] Operation: 47-2=45
Exploring Operation: 79-2=77, Resulting Numbers: [47, 77]
Generated Node #0,2,1: 64:[47, 77] Operation: 79-2=77
Exploring Operation: 47+2=49, Resulting Numbers: [79, 49]
Generated Node #0,2,2: 64:[79, 49] Operation: 47+2=49
Exploring Operation: 79-47=32, Resulting Numbers: [2, 32]
Generated Node #0,2,3: 64:[2, 32] Operation: 79-47=32
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 64:[2, 32], Operations: ['81-79=2', '79-47=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[81, 47, 79, 79], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [47, 79, 2]
Generated Node #0,2: 64:[47, 79, 2] Operation: 81-79=2
Moving to Node #0,2
Current State: 64:[47, 79, 2], Operations: ['81-79=2']
Exploring Operation: 79-47=32, Resulting Numbers: [2, 32]
Generated Node #0,2,3: 64:[2, 32] Operation: 79-47=32
Moving to Node #0,2,3
Current State: 64:[2, 32], Operations: ['81-79=2', '79-47=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
69,
2,
69,
21
] | 22 | [
"69/69=1",
"2+21=23",
"23-1=22"
] | Current State: 22:[69, 2, 69, 21], Operations: []
Exploring Operation: 69/69=1, Resulting Numbers: [2, 21, 1]
Generated Node #2: [2, 21, 1] from Operation: 69/69=1
Current State: 22:[2, 21, 1], Operations: ['69/69=1']
Exploring Operation: 2+21=23, Resulting Numbers: [1, 23]
Generated Node #3: [1, 23] from Operation: 2+21=23
Current State: 22:[1, 23], Operations: ['69/69=1', '2+21=23']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[69, 2, 69, 21], Operations: []
Exploring Operation: 69/69=1, Resulting Numbers: [2, 21, 1]
Generated Node #0,0: 22:[2, 21, 1] Operation: 69/69=1
Moving to Node #0,0
Current State: 22:[2, 21, 1], Operations: ['69/69=1']
Exploring Operation: 21+1=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 22:[2, 22] Operation: 21+1=22
Moving to Node #0,0,0
Current State: 22:[2, 22], Operations: ['69/69=1', '21+1=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,22 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
17,
12,
73,
19
] | 25 | [
"17+12=29",
"73-19=54",
"54-29=25"
] | Current State: 25:[17, 12, 73, 19], Operations: []
Exploring Operation: 17+12=29, Resulting Numbers: [73, 19, 29]
Generated Node #2: [73, 19, 29] from Operation: 17+12=29
Current State: 25:[73, 19, 29], Operations: ['17+12=29']
Exploring Operation: 73-19=54, Resulting Numbers: [29, 54]
Generated Node #3: [29, 54] from Operation: 73-19=54
Current State: 25:[29, 54], Operations: ['17+12=29', '73-19=54']
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[17, 12, 73, 19], Operations: []
Exploring Operation: 73-17=56, Resulting Numbers: [12, 19, 56]
Generated Node #0,0: 25:[12, 19, 56] Operation: 73-17=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[12, 19, 56], Operations: ['73-17=56']
Exploring Operation: 56-19=37, Resulting Numbers: [12, 37]
Generated Node #0,0,0: 25:[12, 37] Operation: 56-19=37
Moving to Node #0,0,0
Current State: 25:[12, 37], Operations: ['73-17=56', '56-19=37']
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[17, 12, 73, 19], Operations: []
Exploring Operation: 73-17=56, Resulting Numbers: [12, 19, 56]
Generated Node #0,0: 25:[12, 19, 56] Operation: 73-17=56
Moving to Node #0,0
Current State: 25:[12, 19, 56], Operations: ['73-17=56']
Exploring Operation: 56-19=37, Resulting Numbers: [12, 37]
Generated Node #0,0,0: 25:[12, 37] Operation: 56-19=37
Moving to Node #0,0,0
Current State: 25:[12, 37], Operations: ['73-17=56', '56-19=37']
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
3,
61,
77,
91
] | 78 | [
"3+61=64",
"91-77=14",
"64+14=78"
] | Current State: 78:[3, 61, 77, 91], Operations: []
Exploring Operation: 3+61=64, Resulting Numbers: [77, 91, 64]
Generated Node #2: [77, 91, 64] from Operation: 3+61=64
Current State: 78:[77, 91, 64], Operations: ['3+61=64']
Exploring Operation: 91-77=14, Resulting Numbers: [64, 14]
Generated Node #3: [64, 14] from Operation: 91-77=14
Current State: 78:[64, 14], Operations: ['3+61=64', '91-77=14']
Exploring Operation: 64+14=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[3, 61, 77, 91], Operations: []
Exploring Operation: 91-77=14, Resulting Numbers: [3, 61, 14]
Generated Node #0,0: 78:[3, 61, 14] Operation: 91-77=14
Exploring Operation: 3+61=64, Resulting Numbers: [77, 91, 64]
Generated Node #0,1: 78:[77, 91, 64] Operation: 3+61=64
Exploring Operation: 91-61=30, Resulting Numbers: [3, 77, 30]
Generated Node #0,2: 78:[3, 77, 30] Operation: 91-61=30
Exploring Operation: 77-61=16, Resulting Numbers: [3, 91, 16]
Generated Node #0,3: 78:[3, 91, 16] Operation: 77-61=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[3, 77, 30], Operations: ['91-61=30']
Exploring Operation: 3+30=33, Resulting Numbers: [77, 33]
Generated Node #0,2,0: 78:[77, 33] Operation: 3+30=33
Exploring Operation: 30-3=27, Resulting Numbers: [77, 27]
Generated Node #0,2,1: 78:[77, 27] Operation: 30-3=27
Exploring Operation: 30/3=10, Resulting Numbers: [77, 10]
Generated Node #0,2,2: 78:[77, 10] Operation: 30/3=10
Exploring Operation: 3+77=80, Resulting Numbers: [30, 80]
Generated Node #0,2,3: 78:[30, 80] Operation: 3+77=80
Moving to Node #0,2,1
Current State: 78:[77, 27], Operations: ['91-61=30', '30-3=27']
Exploring Operation: 77+27=104, Resulting Numbers: [104]
104,78 unequal: No Solution
Exploring Operation: 77*27=2079, Resulting Numbers: [2079]
2079,78 unequal: No Solution
Exploring Operation: 77-27=50, Resulting Numbers: [50]
50,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[77, 10], Operations: ['91-61=30', '30/3=10']
Exploring Operation: 77*10=770, Resulting Numbers: [770]
770,78 unequal: No Solution
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,78 unequal: No Solution
Exploring Operation: 77+10=87, Resulting Numbers: [87]
87,78 unequal: No Solution
Moving to Node #0,2,3
Current State: 78:[30, 80], Operations: ['91-61=30', '3+77=80']
Exploring Operation: 30*80=2400, Resulting Numbers: [2400]
2400,78 unequal: No Solution
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,78 unequal: No Solution
Exploring Operation: 30+80=110, Resulting Numbers: [110]
110,78 unequal: No Solution
Moving to Node #0,2,0
Current State: 78:[77, 33], Operations: ['91-61=30', '3+30=33']
Exploring Operation: 77+33=110, Resulting Numbers: [110]
110,78 unequal: No Solution
Exploring Operation: 77*33=2541, Resulting Numbers: [2541]
2541,78 unequal: No Solution
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 78:[3, 91, 16], Operations: ['77-61=16']
Exploring Operation: 3+91=94, Resulting Numbers: [16, 94]
Generated Node #0,3,0: 78:[16, 94] Operation: 3+91=94
Exploring Operation: 91-16=75, Resulting Numbers: [3, 75]
Generated Node #0,3,1: 78:[3, 75] Operation: 91-16=75
Exploring Operation: 91-3=88, Resulting Numbers: [16, 88]
Generated Node #0,3,2: 78:[16, 88] Operation: 91-3=88
Exploring Operation: 16-3=13, Resulting Numbers: [91, 13]
Generated Node #0,3,3: 78:[91, 13] Operation: 16-3=13
Moving to Node #0,3,1
Current State: 78:[3, 75], Operations: ['77-61=16', '91-16=75']
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[3, 61, 77, 91], Operations: []
Exploring Operation: 77-61=16, Resulting Numbers: [3, 91, 16]
Generated Node #0,3: 78:[3, 91, 16] Operation: 77-61=16
Moving to Node #0,3
Current State: 78:[3, 91, 16], Operations: ['77-61=16']
Exploring Operation: 91-16=75, Resulting Numbers: [3, 75]
Generated Node #0,3,1: 78:[3, 75] Operation: 91-16=75
Moving to Node #0,3,1
Current State: 78:[3, 75], Operations: ['77-61=16', '91-16=75']
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
34,
94,
93,
88
] | 65 | [
"94-34=60",
"93-88=5",
"60+5=65"
] | Current State: 65:[34, 94, 93, 88], Operations: []
Exploring Operation: 94-34=60, Resulting Numbers: [93, 88, 60]
Generated Node #2: [93, 88, 60] from Operation: 94-34=60
Current State: 65:[93, 88, 60], Operations: ['94-34=60']
Exploring Operation: 93-88=5, Resulting Numbers: [60, 5]
Generated Node #3: [60, 5] from Operation: 93-88=5
Current State: 65:[60, 5], Operations: ['94-34=60', '93-88=5']
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[34, 94, 93, 88], Operations: []
Exploring Operation: 93-88=5, Resulting Numbers: [34, 94, 5]
Generated Node #0,0: 65:[34, 94, 5] Operation: 93-88=5
Exploring Operation: 94-88=6, Resulting Numbers: [34, 93, 6]
Generated Node #0,1: 65:[34, 93, 6] Operation: 94-88=6
Exploring Operation: 94-93=1, Resulting Numbers: [34, 88, 1]
Generated Node #0,2: 65:[34, 88, 1] Operation: 94-93=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[34, 88, 1], Operations: ['94-93=1']
Exploring Operation: 34-1=33, Resulting Numbers: [88, 33]
Generated Node #0,2,0: 65:[88, 33] Operation: 34-1=33
Exploring Operation: 88-1=87, Resulting Numbers: [34, 87]
Generated Node #0,2,1: 65:[34, 87] Operation: 88-1=87
Exploring Operation: 88-34=54, Resulting Numbers: [1, 54]
Generated Node #0,2,2: 65:[1, 54] Operation: 88-34=54
Moving to Node #0,2,2
Current State: 65:[1, 54], Operations: ['94-93=1', '88-34=54']
Exploring Operation: 1*54=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 1+54=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[88, 33], Operations: ['94-93=1', '34-1=33']
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,65 unequal: No Solution
Exploring Operation: 88*33=2904, Resulting Numbers: [2904]
2904,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[34, 87], Operations: ['94-93=1', '88-1=87']
Exploring Operation: 34*87=2958, Resulting Numbers: [2958]
2958,65 unequal: No Solution
Exploring Operation: 34+87=121, Resulting Numbers: [121]
121,65 unequal: No Solution
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,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
Current State: 65:[34, 94, 5], Operations: ['93-88=5']
Exploring Operation: 94-5=89, Resulting Numbers: [34, 89]
Generated Node #0,0,0: 65:[34, 89] Operation: 94-5=89
Exploring Operation: 94-34=60, Resulting Numbers: [5, 60]
Generated Node #0,0,1: 65:[5, 60] Operation: 94-34=60
Exploring Operation: 34-5=29, Resulting Numbers: [94, 29]
Generated Node #0,0,2: 65:[94, 29] Operation: 34-5=29
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[5, 60], Operations: ['93-88=5', '94-34=60']
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[34, 94, 93, 88], Operations: []
Exploring Operation: 93-88=5, Resulting Numbers: [34, 94, 5]
Generated Node #0,0: 65:[34, 94, 5] Operation: 93-88=5
Moving to Node #0,0
Current State: 65:[34, 94, 5], Operations: ['93-88=5']
Exploring Operation: 94-34=60, Resulting Numbers: [5, 60]
Generated Node #0,0,1: 65:[5, 60] Operation: 94-34=60
Moving to Node #0,0,1
Current State: 65:[5, 60], Operations: ['93-88=5', '94-34=60']
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
50,
53,
49,
31
] | 21 | [
"53-50=3",
"49-31=18",
"3+18=21"
] | Current State: 21:[50, 53, 49, 31], Operations: []
Exploring Operation: 53-50=3, Resulting Numbers: [49, 31, 3]
Generated Node #2: [49, 31, 3] from Operation: 53-50=3
Current State: 21:[49, 31, 3], Operations: ['53-50=3']
Exploring Operation: 49-31=18, Resulting Numbers: [3, 18]
Generated Node #3: [3, 18] from Operation: 49-31=18
Current State: 21:[3, 18], Operations: ['53-50=3', '49-31=18']
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[50, 53, 49, 31], Operations: []
Exploring Operation: 50-49=1, Resulting Numbers: [53, 31, 1]
Generated Node #0,0: 21:[53, 31, 1] Operation: 50-49=1
Exploring Operation: 53-49=4, Resulting Numbers: [50, 31, 4]
Generated Node #0,1: 21:[50, 31, 4] Operation: 53-49=4
Exploring Operation: 53-50=3, Resulting Numbers: [49, 31, 3]
Generated Node #0,2: 21:[49, 31, 3] Operation: 53-50=3
Exploring Operation: 53-31=22, Resulting Numbers: [50, 49, 22]
Generated Node #0,3: 21:[50, 49, 22] Operation: 53-31=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[49, 31, 3], Operations: ['53-50=3']
Exploring Operation: 31-3=28, Resulting Numbers: [49, 28]
Generated Node #0,2,0: 21:[49, 28] Operation: 31-3=28
Exploring Operation: 49-3=46, Resulting Numbers: [31, 46]
Generated Node #0,2,1: 21:[31, 46] Operation: 49-3=46
Exploring Operation: 49-31=18, Resulting Numbers: [3, 18]
Generated Node #0,2,2: 21:[3, 18] Operation: 49-31=18
Exploring Operation: 49+3=52, Resulting Numbers: [31, 52]
Generated Node #0,2,3: 21:[31, 52] Operation: 49+3=52
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 21:[3, 18], Operations: ['53-50=3', '49-31=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[50, 53, 49, 31], Operations: []
Exploring Operation: 53-50=3, Resulting Numbers: [49, 31, 3]
Generated Node #0,2: 21:[49, 31, 3] Operation: 53-50=3
Moving to Node #0,2
Current State: 21:[49, 31, 3], Operations: ['53-50=3']
Exploring Operation: 49-31=18, Resulting Numbers: [3, 18]
Generated Node #0,2,2: 21:[3, 18] Operation: 49-31=18
Moving to Node #0,2,2
Current State: 21:[3, 18], Operations: ['53-50=3', '49-31=18']
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
18,
34,
54,
40
] | 36 | [
"18*40=720",
"54-34=20",
"720/20=36"
] | Current State: 36:[18, 34, 54, 40], Operations: []
Exploring Operation: 18*40=720, Resulting Numbers: [34, 54, 720]
Generated Node #2: [34, 54, 720] from Operation: 18*40=720
Current State: 36:[34, 54, 720], Operations: ['18*40=720']
Exploring Operation: 54-34=20, Resulting Numbers: [720, 20]
Generated Node #3: [720, 20] from Operation: 54-34=20
Current State: 36:[720, 20], Operations: ['18*40=720', '54-34=20']
Exploring Operation: 720/20=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[18, 34, 54, 40], Operations: []
Exploring Operation: 54-18=36, Resulting Numbers: [34, 40, 36]
Generated Node #0,0: 36:[34, 40, 36] Operation: 54-18=36
Exploring Operation: 54-40=14, Resulting Numbers: [18, 34, 14]
Generated Node #0,1: 36:[18, 34, 14] Operation: 54-40=14
Moving to Node #0,1
Current State: 36:[18, 34, 14], Operations: ['54-40=14']
Exploring Operation: 34-14=20, Resulting Numbers: [18, 20]
Generated Node #0,1,0: 36:[18, 20] Operation: 34-14=20
Exploring Operation: 18-14=4, Resulting Numbers: [34, 4]
Generated Node #0,1,1: 36:[34, 4] Operation: 18-14=4
Moving to Node #0,0
Current State: 36:[34, 40, 36], Operations: ['54-18=36']
Exploring Operation: 40-36=4, Resulting Numbers: [34, 4]
Generated Node #0,0,0: 36:[34, 4] Operation: 40-36=4
Exploring Operation: 40-34=6, Resulting Numbers: [36, 6]
Generated Node #0,0,1: 36:[36, 6] Operation: 40-34=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[36, 6], Operations: ['54-18=36', '40-34=6']
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,36 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[34, 4], Operations: ['54-18=36', '40-36=4']
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 36:[18, 20], Operations: ['54-40=14', '34-14=20']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[34, 4], Operations: ['54-40=14', '18-14=4']
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,36 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
42,
94,
56,
89
] | 93 | [
"94-42=52",
"56+89=145",
"145-52=93"
] | Current State: 93:[42, 94, 56, 89], Operations: []
Exploring Operation: 94-42=52, Resulting Numbers: [56, 89, 52]
Generated Node #2: [56, 89, 52] from Operation: 94-42=52
Current State: 93:[56, 89, 52], Operations: ['94-42=52']
Exploring Operation: 56+89=145, Resulting Numbers: [52, 145]
Generated Node #3: [52, 145] from Operation: 56+89=145
Current State: 93:[52, 145], Operations: ['94-42=52', '56+89=145']
Exploring Operation: 145-52=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[42, 94, 56, 89], Operations: []
Exploring Operation: 42+56=98, Resulting Numbers: [94, 89, 98]
Generated Node #0,0: 93:[94, 89, 98] Operation: 42+56=98
Exploring Operation: 94-56=38, Resulting Numbers: [42, 89, 38]
Generated Node #0,1: 93:[42, 89, 38] Operation: 94-56=38
Exploring Operation: 94-89=5, Resulting Numbers: [42, 56, 5]
Generated Node #0,2: 93:[42, 56, 5] Operation: 94-89=5
Exploring Operation: 89-56=33, Resulting Numbers: [42, 94, 33]
Generated Node #0,3: 93:[42, 94, 33] Operation: 89-56=33
Exploring Operation: 56-42=14, Resulting Numbers: [94, 89, 14]
Generated Node #0,4: 93:[94, 89, 14] Operation: 56-42=14
Moving to Node #0,0
Current State: 93:[94, 89, 98], Operations: ['42+56=98']
Exploring Operation: 94+89=183, Resulting Numbers: [98, 183]
Generated Node #0,0,0: 93:[98, 183] Operation: 94+89=183
Exploring Operation: 98-89=9, Resulting Numbers: [94, 9]
Generated Node #0,0,1: 93:[94, 9] Operation: 98-89=9
Exploring Operation: 98-94=4, Resulting Numbers: [89, 4]
Generated Node #0,0,2: 93:[89, 4] Operation: 98-94=4
Exploring Operation: 94-89=5, Resulting Numbers: [98, 5]
Generated Node #0,0,3: 93:[98, 5] Operation: 94-89=5
Exploring Operation: 89+98=187, Resulting Numbers: [94, 187]
Generated Node #0,0,4: 93:[94, 187] Operation: 89+98=187
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[89, 4], Operations: ['42+56=98', '98-94=4']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,93 unequal: No Solution
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[42, 94, 56, 89], Operations: []
Exploring Operation: 42+56=98, Resulting Numbers: [94, 89, 98]
Generated Node #0,0: 93:[94, 89, 98] Operation: 42+56=98
Moving to Node #0,0
Current State: 93:[94, 89, 98], Operations: ['42+56=98']
Exploring Operation: 98-94=4, Resulting Numbers: [89, 4]
Generated Node #0,0,2: 93:[89, 4] Operation: 98-94=4
Moving to Node #0,0,2
Current State: 93:[89, 4], Operations: ['42+56=98', '98-94=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
4,
83,
4,
17
] | 26 | [
"4+83=87",
"17+87=104",
"104/4=26"
] | Current State: 26:[4, 83, 4, 17], Operations: []
Exploring Operation: 4+83=87, Resulting Numbers: [17, 87]
Generated Node #2: [17, 87] from Operation: 4+83=87
Current State: 26:[17, 87], Operations: ['4+83=87']
Exploring Operation: 17+87=104, Resulting Numbers: [104]
104,26 equal: Goal Reached
Exploring Operation: 104/4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[4, 83, 4, 17], Operations: []
Exploring Operation: 83-4=79, Resulting Numbers: [4, 17, 79]
Generated Node #0,0: 26:[4, 17, 79] Operation: 83-4=79
Exploring Operation: 83-17=66, Resulting Numbers: [4, 4, 66]
Generated Node #0,1: 26:[4, 4, 66] Operation: 83-17=66
Exploring Operation: 17-4=13, Resulting Numbers: [83, 4, 13]
Generated Node #0,2: 26:[83, 4, 13] Operation: 17-4=13
Exploring Operation: 83-4=79, Resulting Numbers: [4, 17, 79]
Generated Node #0,3: 26:[4, 17, 79] Operation: 83-4=79
Moving to Node #0,1
Current State: 26:[4, 4, 66], Operations: ['83-17=66']
Exploring Operation: 4/4=1, Resulting Numbers: [66, 1]
Generated Node #0,1,0: 26:[66, 1] Operation: 4/4=1
Exploring Operation: 4-4=0, Resulting Numbers: [66, 0]
Generated Node #0,1,1: 26:[66, 0] Operation: 4-4=0
Exploring Operation: 66-4=62, Resulting Numbers: [4, 62]
Generated Node #0,1,2: 26:[4, 62] Operation: 66-4=62
Exploring Operation: 66-4=62, Resulting Numbers: [4, 62]
Generated Node #0,1,3: 26:[4, 62] Operation: 66-4=62
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[4, 62], Operations: ['83-17=66', '66-4=62']
Exploring Operation: 4*62=248, Resulting Numbers: [248]
248,26 unequal: No Solution
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 26:[4, 62], Operations: ['83-17=66', '66-4=62']
Exploring Operation: 4*62=248, Resulting Numbers: [248]
248,26 unequal: No Solution
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[66, 1], Operations: ['83-17=66', '4/4=1']
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 66+1=67, Resulting Numbers: [67]
67,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[66, 0], Operations: ['83-17=66', '4-4=0']
Exploring Operation: 66+0=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 66*0=0, Resulting Numbers: [0]
0,26 unequal: No Solution
Exploring Operation: 66-0=66, Resulting Numbers: [66]
66,26 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: 26:[83, 4, 13], Operations: ['17-4=13']
Exploring Operation: 83-4=79, Resulting Numbers: [13, 79]
Generated Node #0,2,0: 26:[13, 79] Operation: 83-4=79
Exploring Operation: 83-13=70, Resulting Numbers: [4, 70]
Generated Node #0,2,1: 26:[4, 70] Operation: 83-13=70
Exploring Operation: 4+13=17, Resulting Numbers: [83, 17]
Generated Node #0,2,2: 26:[83, 17] Operation: 4+13=17
Exploring Operation: 83+4=87, Resulting Numbers: [13, 87]
Generated Node #0,2,3: 26:[13, 87] Operation: 83+4=87
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 26:[4, 70], Operations: ['17-4=13', '83-13=70']
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,26 unequal: No Solution
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,26 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[13, 79], Operations: ['17-4=13', '83-4=79']
Exploring Operation: 79-13=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 13*79=1027, Resulting Numbers: [1027]
1027,26 unequal: No Solution
Exploring Operation: 13+79=92, Resulting Numbers: [92]
92,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[83, 17], Operations: ['17-4=13', '4+13=17']
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,26 unequal: No Solution
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,26 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 26:[13, 87], Operations: ['17-4=13', '83+4=87']
Exploring Operation: 87-13=74, Resulting Numbers: [74]
74,26 unequal: No Solution
Exploring Operation: 13+87=100, Resulting Numbers: [100]
100,26 unequal: No Solution
Exploring Operation: 13*87=1131, Resulting Numbers: [1131]
1131,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 26:[4, 17, 79], Operations: ['83-4=79']
Exploring Operation: 79-17=62, Resulting Numbers: [4, 62]
Generated Node #0,0,0: 26:[4, 62] Operation: 79-17=62
Exploring Operation: 79-4=75, Resulting Numbers: [17, 75]
Generated Node #0,0,1: 26:[17, 75] Operation: 79-4=75
Exploring Operation: 17-4=13, Resulting Numbers: [79, 13]
Generated Node #0,0,2: 26:[79, 13] Operation: 17-4=13
Exploring Operation: 4+17=21, Resulting Numbers: [79, 21]
Generated Node #0,0,3: 26:[79, 21] Operation: 4+17=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[4, 62], Operations: ['83-4=79', '79-17=62']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,26 unequal: No Solution
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 4*62=248, Resulting Numbers: [248]
248,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[17, 75], Operations: ['83-4=79', '79-4=75']
Exploring Operation: 17*75=1275, Resulting Numbers: [1275]
1275,26 unequal: No Solution
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,26 unequal: No Solution
Exploring Operation: 17+75=92, Resulting Numbers: [92]
92,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[79, 13], Operations: ['83-4=79', '17-4=13']
Exploring Operation: 79-13=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 79+13=92, Resulting Numbers: [92]
92,26 unequal: No Solution
Exploring Operation: 79*13=1027, Resulting Numbers: [1027]
1027,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 26:[79, 21], Operations: ['83-4=79', '4+17=21']
Exploring Operation: 79*21=1659, Resulting Numbers: [1659]
1659,26 unequal: No Solution
Exploring Operation: 79+21=100, Resulting Numbers: [100]
100,26 unequal: No Solution
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,26 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: 26:[4, 17, 79], Operations: ['83-4=79']
Exploring Operation: 17-4=13, Resulting Numbers: [79, 13]
Generated Node #0,3,0: 26:[79, 13] Operation: 17-4=13
Exploring Operation: 79-17=62, Resulting Numbers: [4, 62]
Generated Node #0,3,1: 26:[4, 62] Operation: 79-17=62
Exploring Operation: 79-4=75, Resulting Numbers: [17, 75]
Generated Node #0,3,2: 26:[17, 75] Operation: 79-4=75
Exploring Operation: 4+17=21, Resulting Numbers: [79, 21]
Generated Node #0,3,3: 26:[79, 21] Operation: 4+17=21
Moving to Node #0,3,1
Current State: 26:[4, 62], Operations: ['83-4=79', '79-17=62']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,26 unequal: No Solution
Exploring Operation: 4*62=248, Resulting Numbers: [248]
248,26 unequal: No Solution
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Moving to Node #0,3,2
Current State: 26:[17, 75], Operations: ['83-4=79', '79-4=75']
Exploring Operation: 17+75=92, Resulting Numbers: [92]
92,26 unequal: No Solution
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,26 unequal: No Solution
Exploring Operation: 17*75=1275, Resulting Numbers: [1275]
1275,26 unequal: No Solution
Moving to Node #0,3,0
Current State: 26:[79, 13], Operations: ['83-4=79', '17-4=13']
Exploring Operation: 79-13=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 79*13=1027, Resulting Numbers: [1027]
1027,26 unequal: No Solution
Exploring Operation: 79+13=92, Resulting Numbers: [92]
92,26 unequal: No Solution
Moving to Node #0,3,3
Current State: 26:[79, 21], Operations: ['83-4=79', '4+17=21']
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,26 unequal: No Solution
Exploring Operation: 79*21=1659, Resulting Numbers: [1659]
1659,26 unequal: No Solution
Exploring Operation: 79+21=100, Resulting Numbers: [100]
100,26 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
57,
74,
88,
21
] | 64 | [
"57+74=131",
"88-21=67",
"131-67=64"
] | Current State: 64:[57, 74, 88, 21], Operations: []
Exploring Operation: 57+74=131, Resulting Numbers: [88, 21, 131]
Generated Node #2: [88, 21, 131] from Operation: 57+74=131
Current State: 64:[88, 21, 131], Operations: ['57+74=131']
Exploring Operation: 88-21=67, Resulting Numbers: [131, 67]
Generated Node #3: [131, 67] from Operation: 88-21=67
Current State: 64:[131, 67], Operations: ['57+74=131', '88-21=67']
Exploring Operation: 131-67=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[57, 74, 88, 21], Operations: []
Exploring Operation: 88-74=14, Resulting Numbers: [57, 21, 14]
Generated Node #0,0: 64:[57, 21, 14] Operation: 88-74=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[57, 21, 14], Operations: ['88-74=14']
Exploring Operation: 57-21=36, Resulting Numbers: [14, 36]
Generated Node #0,0,0: 64:[14, 36] Operation: 57-21=36
Moving to Node #0,0,0
Current State: 64:[14, 36], Operations: ['88-74=14', '57-21=36']
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,64 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 |
[
75,
35,
3,
1
] | 10 | [
"75-35=40",
"3+1=4",
"40/4=10"
] | Current State: 10:[75, 35, 3, 1], Operations: []
Exploring Operation: 75-35=40, Resulting Numbers: [3, 1, 40]
Generated Node #2: [3, 1, 40] from Operation: 75-35=40
Current State: 10:[3, 1, 40], Operations: ['75-35=40']
Exploring Operation: 3+1=4, Resulting Numbers: [40, 4]
Generated Node #3: [40, 4] from Operation: 3+1=4
Current State: 10:[40, 4], Operations: ['75-35=40', '3+1=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[75, 35, 3, 1], Operations: []
Exploring Operation: 75-1=74, Resulting Numbers: [35, 3, 74]
Generated Node #0,0: 10:[35, 3, 74] Operation: 75-1=74
Exploring Operation: 35-3=32, Resulting Numbers: [75, 1, 32]
Generated Node #0,1: 10:[75, 1, 32] Operation: 35-3=32
Exploring Operation: 75/3=25, Resulting Numbers: [35, 1, 25]
Generated Node #0,2: 10:[35, 1, 25] Operation: 75/3=25
Exploring Operation: 75-3=72, Resulting Numbers: [35, 1, 72]
Generated Node #0,3: 10:[35, 1, 72] Operation: 75-3=72
Exploring Operation: 75-35=40, Resulting Numbers: [3, 1, 40]
Generated Node #0,4: 10:[3, 1, 40] Operation: 75-35=40
Start Sub Search at level 1: Moving to Node #0,4
Current State: 10:[3, 1, 40], Operations: ['75-35=40']
Exploring Operation: 40-3=37, Resulting Numbers: [1, 37]
Generated Node #0,4,0: 10:[1, 37] Operation: 40-3=37
Exploring Operation: 3-1=2, Resulting Numbers: [40, 2]
Generated Node #0,4,1: 10:[40, 2] Operation: 3-1=2
Exploring Operation: 3*1=3, Resulting Numbers: [40, 3]
Generated Node #0,4,2: 10:[40, 3] Operation: 3*1=3
Exploring Operation: 40-1=39, Resulting Numbers: [3, 39]
Generated Node #0,4,3: 10:[3, 39] Operation: 40-1=39
Exploring Operation: 3+1=4, Resulting Numbers: [40, 4]
Generated Node #0,4,4: 10:[40, 4] Operation: 3+1=4
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 10:[1, 37], Operations: ['75-35=40', '40-3=37']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 10:[40, 2], Operations: ['75-35=40', '3-1=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 10:[3, 39], Operations: ['75-35=40', '40-1=39']
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,10 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 10:[40, 3], Operations: ['75-35=40', '3*1=3']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,10 unequal: No Solution
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,10 unequal: No Solution
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 10:[40, 4], Operations: ['75-35=40', '3+1=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[75, 35, 3, 1], Operations: []
Exploring Operation: 75-35=40, Resulting Numbers: [3, 1, 40]
Generated Node #0,4: 10:[3, 1, 40] Operation: 75-35=40
Moving to Node #0,4
Current State: 10:[3, 1, 40], Operations: ['75-35=40']
Exploring Operation: 3+1=4, Resulting Numbers: [40, 4]
Generated Node #0,4,4: 10:[40, 4] Operation: 3+1=4
Moving to Node #0,4,4
Current State: 10:[40, 4], Operations: ['75-35=40', '3+1=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_5 | sum_heuristic |
[
87,
27,
57,
25
] | 92 | [
"87-27=60",
"57-25=32",
"60+32=92"
] | Current State: 92:[87, 27, 57, 25], Operations: []
Exploring Operation: 87-27=60, Resulting Numbers: [57, 25, 60]
Generated Node #2: [57, 25, 60] from Operation: 87-27=60
Current State: 92:[57, 25, 60], Operations: ['87-27=60']
Exploring Operation: 57-25=32, Resulting Numbers: [60, 32]
Generated Node #3: [60, 32] from Operation: 57-25=32
Current State: 92:[60, 32], Operations: ['87-27=60', '57-25=32']
Exploring Operation: 60+32=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[87, 27, 57, 25], Operations: []
Exploring Operation: 87-57=30, Resulting Numbers: [27, 25, 30]
Generated Node #0,0: 92:[27, 25, 30] Operation: 87-57=30
Exploring Operation: 57-27=30, Resulting Numbers: [87, 25, 30]
Generated Node #0,1: 92:[87, 25, 30] Operation: 57-27=30
Exploring Operation: 27+57=84, Resulting Numbers: [87, 25, 84]
Generated Node #0,2: 92:[87, 25, 84] Operation: 27+57=84
Moving to Node #0,0
Current State: 92:[27, 25, 30], Operations: ['87-57=30']
Exploring Operation: 30-27=3, Resulting Numbers: [25, 3]
Generated Node #0,0,0: 92:[25, 3] Operation: 30-27=3
Exploring Operation: 30-25=5, Resulting Numbers: [27, 5]
Generated Node #0,0,1: 92:[27, 5] Operation: 30-25=5
Exploring Operation: 27-25=2, Resulting Numbers: [30, 2]
Generated Node #0,0,2: 92:[30, 2] Operation: 27-25=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[25, 3], Operations: ['87-57=30', '30-27=3']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,92 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[27, 5], Operations: ['87-57=30', '30-25=5']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,92 unequal: No Solution
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,92 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 92:[30, 2], Operations: ['87-57=30', '27-25=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,92 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,92 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: 92:[87, 25, 30], Operations: ['57-27=30']
Exploring Operation: 30-25=5, Resulting Numbers: [87, 5]
Generated Node #0,1,0: 92:[87, 5] Operation: 30-25=5
Exploring Operation: 25+30=55, Resulting Numbers: [87, 55]
Generated Node #0,1,1: 92:[87, 55] Operation: 25+30=55
Exploring Operation: 87-30=57, Resulting Numbers: [25, 57]
Generated Node #0,1,2: 92:[25, 57] Operation: 87-30=57
Moving to Node #0,2
Current State: 92:[87, 25, 84], Operations: ['27+57=84']
Exploring Operation: 84-25=59, Resulting Numbers: [87, 59]
Generated Node #0,2,0: 92:[87, 59] Operation: 84-25=59
Exploring Operation: 87-84=3, Resulting Numbers: [25, 3]
Generated Node #0,2,1: 92:[25, 3] Operation: 87-84=3
Exploring Operation: 25+84=109, Resulting Numbers: [87, 109]
Generated Node #0,2,2: 92:[87, 109] Operation: 25+84=109
Moving to Node #0,2,1
Current State: 92:[25, 3], Operations: ['27+57=84', '87-84=3']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,92 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[87, 5], Operations: ['57-27=30', '30-25=5']
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[87, 27, 57, 25], Operations: []
Exploring Operation: 57-27=30, Resulting Numbers: [87, 25, 30]
Generated Node #0,1: 92:[87, 25, 30] Operation: 57-27=30
Moving to Node #0,1
Current State: 92:[87, 25, 30], Operations: ['57-27=30']
Exploring Operation: 30-25=5, Resulting Numbers: [87, 5]
Generated Node #0,1,0: 92:[87, 5] Operation: 30-25=5
Moving to Node #0,1,0
Current State: 92:[87, 5], Operations: ['57-27=30', '30-25=5']
Exploring Operation: 87+5=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.974826 | hs_3 | mult_heuristic |
[
59,
20,
14,
73
] | 84 | [
"59+20=79",
"79-73=6",
"14*6=84"
] | Current State: 84:[59, 20, 14, 73], Operations: []
Exploring Operation: 59+20=79, Resulting Numbers: [14, 73, 79]
Generated Node #2: [14, 73, 79] from Operation: 59+20=79
Current State: 84:[14, 73, 79], Operations: ['59+20=79']
Exploring Operation: 79-73=6, Resulting Numbers: [14, 6]
Generated Node #3: [14, 6] from Operation: 79-73=6
Current State: 84:[14, 6], Operations: ['59+20=79', '79-73=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[59, 20, 14, 73], Operations: []
Exploring Operation: 73-59=14, Resulting Numbers: [20, 14, 14]
Generated Node #0,0: 84:[20, 14, 14] Operation: 73-59=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[20, 14, 14], Operations: ['73-59=14']
Exploring Operation: 20-14=6, Resulting Numbers: [14, 6]
Generated Node #0,0,0: 84:[14, 6] Operation: 20-14=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[14, 6], Operations: ['73-59=14', '20-14=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[59, 20, 14, 73], Operations: []
Exploring Operation: 73-59=14, Resulting Numbers: [20, 14, 14]
Generated Node #0,0: 84:[20, 14, 14] Operation: 73-59=14
Moving to Node #0,0
Current State: 84:[20, 14, 14], Operations: ['73-59=14']
Exploring Operation: 20-14=6, Resulting Numbers: [14, 6]
Generated Node #0,0,0: 84:[14, 6] Operation: 20-14=6
Moving to Node #0,0,0
Current State: 84:[14, 6], Operations: ['73-59=14', '20-14=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
59,
69,
27,
60
] | 43 | [
"69-59=10",
"60-27=33",
"10+33=43"
] | Current State: 43:[59, 69, 27, 60], Operations: []
Exploring Operation: 69-59=10, Resulting Numbers: [27, 60, 10]
Generated Node #2: [27, 60, 10] from Operation: 69-59=10
Current State: 43:[27, 60, 10], Operations: ['69-59=10']
Exploring Operation: 60-27=33, Resulting Numbers: [10, 33]
Generated Node #3: [10, 33] from Operation: 60-27=33
Current State: 43:[10, 33], Operations: ['69-59=10', '60-27=33']
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[59, 69, 27, 60], Operations: []
Exploring Operation: 60-27=33, Resulting Numbers: [59, 69, 33]
Generated Node #0,0: 43:[59, 69, 33] Operation: 60-27=33
Exploring Operation: 69-27=42, Resulting Numbers: [59, 60, 42]
Generated Node #0,1: 43:[59, 60, 42] Operation: 69-27=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[59, 60, 42], Operations: ['69-27=42']
Exploring Operation: 60-42=18, Resulting Numbers: [59, 18]
Generated Node #0,1,0: 43:[59, 18] Operation: 60-42=18
Exploring Operation: 60-59=1, Resulting Numbers: [42, 1]
Generated Node #0,1,1: 43:[42, 1] Operation: 60-59=1
Moving to Node #0,1,0
Current State: 43:[59, 18], Operations: ['69-27=42', '60-42=18']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 59+18=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[42, 1], Operations: ['69-27=42', '60-59=1']
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[59, 69, 27, 60], Operations: []
Exploring Operation: 69-27=42, Resulting Numbers: [59, 60, 42]
Generated Node #0,1: 43:[59, 60, 42] Operation: 69-27=42
Moving to Node #0,1
Current State: 43:[59, 60, 42], Operations: ['69-27=42']
Exploring Operation: 60-59=1, Resulting Numbers: [42, 1]
Generated Node #0,1,1: 43:[42, 1] Operation: 60-59=1
Moving to Node #0,1,1
Current State: 43:[42, 1], Operations: ['69-27=42', '60-59=1']
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
35,
1,
57,
4
] | 97 | [
"35+1=36",
"57+4=61",
"36+61=97"
] | Current State: 97:[35, 1, 57, 4], Operations: []
Exploring Operation: 35+1=36, Resulting Numbers: [57, 4, 36]
Generated Node #2: [57, 4, 36] from Operation: 35+1=36
Current State: 97:[57, 4, 36], Operations: ['35+1=36']
Exploring Operation: 57+4=61, Resulting Numbers: [36, 61]
Generated Node #3: [36, 61] from Operation: 57+4=61
Current State: 97:[36, 61], Operations: ['35+1=36', '57+4=61']
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[35, 1, 57, 4], Operations: []
Exploring Operation: 35*4=140, Resulting Numbers: [1, 57, 140]
Generated Node #0,0: 97:[1, 57, 140] Operation: 35*4=140
Exploring Operation: 35+1=36, Resulting Numbers: [57, 4, 36]
Generated Node #0,1: 97:[57, 4, 36] Operation: 35+1=36
Moving to Node #0,0
Current State: 97:[1, 57, 140], Operations: ['35*4=140']
Exploring Operation: 140-1=139, Resulting Numbers: [57, 139]
Generated Node #0,0,0: 97:[57, 139] Operation: 140-1=139
Exploring Operation: 1+57=58, Resulting Numbers: [140, 58]
Generated Node #0,0,1: 97:[140, 58] Operation: 1+57=58
Moving to Node #0,1
Current State: 97:[57, 4, 36], Operations: ['35+1=36']
Exploring Operation: 4*36=144, Resulting Numbers: [57, 144]
Generated Node #0,1,0: 97:[57, 144] Operation: 4*36=144
Exploring Operation: 57+4=61, Resulting Numbers: [36, 61]
Generated Node #0,1,1: 97:[36, 61] Operation: 57+4=61
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[57, 144], Operations: ['35+1=36', '4*36=144']
Exploring Operation: 57+144=201, Resulting Numbers: [201]
201,97 unequal: No Solution
Exploring Operation: 144-57=87, Resulting Numbers: [87]
87,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[36, 61], Operations: ['35+1=36', '57+4=61']
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,97 unequal: No Solution
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[35, 1, 57, 4], Operations: []
Exploring Operation: 35+1=36, Resulting Numbers: [57, 4, 36]
Generated Node #0,1: 97:[57, 4, 36] Operation: 35+1=36
Moving to Node #0,1
Current State: 97:[57, 4, 36], Operations: ['35+1=36']
Exploring Operation: 57+4=61, Resulting Numbers: [36, 61]
Generated Node #0,1,1: 97:[36, 61] Operation: 57+4=61
Moving to Node #0,1,1
Current State: 97:[36, 61], Operations: ['35+1=36', '57+4=61']
Exploring Operation: 36+61=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | mult_heuristic |
[
42,
14,
34,
6
] | 44 | [
"34-6=28",
"28/14=2",
"42+2=44"
] | Current State: 44:[42, 14, 34, 6], Operations: []
Exploring Operation: 34-6=28, Resulting Numbers: [42, 14, 28]
Generated Node #2: [42, 14, 28] from Operation: 34-6=28
Current State: 44:[42, 14, 28], Operations: ['34-6=28']
Exploring Operation: 28/14=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 28/14=2
Current State: 44:[42, 2], Operations: ['34-6=28', '28/14=2']
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[42, 14, 34, 6], Operations: []
Exploring Operation: 34-14=20, Resulting Numbers: [42, 6, 20]
Generated Node #0,0: 44:[42, 6, 20] Operation: 34-14=20
Exploring Operation: 42-34=8, Resulting Numbers: [14, 6, 8]
Generated Node #0,1: 44:[14, 6, 8] Operation: 42-34=8
Moving to Node #0,0
Current State: 44:[42, 6, 20], Operations: ['34-14=20']
Exploring Operation: 42/6=7, Resulting Numbers: [20, 7]
Generated Node #0,0,0: 44:[20, 7] Operation: 42/6=7
Exploring Operation: 42-20=22, Resulting Numbers: [6, 22]
Generated Node #0,0,1: 44:[6, 22] Operation: 42-20=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[6, 22], Operations: ['34-14=20', '42-20=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,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,0,0
Current State: 44:[20, 7], Operations: ['34-14=20', '42/6=7']
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,44 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,44 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: 44:[14, 6, 8], Operations: ['42-34=8']
Exploring Operation: 8-6=2, Resulting Numbers: [14, 2]
Generated Node #0,1,0: 44:[14, 2] Operation: 8-6=2
Exploring Operation: 14+8=22, Resulting Numbers: [6, 22]
Generated Node #0,1,1: 44:[6, 22] Operation: 14+8=22
Moving to Node #0,1,1
Current State: 44:[6, 22], Operations: ['42-34=8', '14+8=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[14, 2], Operations: ['42-34=8', '8-6=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,44 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
49,
55,
1,
2
] | 13 | [
"55-49=6",
"2*6=12",
"1+12=13"
] | Current State: 13:[49, 55, 1, 2], Operations: []
Exploring Operation: 55-49=6, Resulting Numbers: [1, 2, 6]
Generated Node #2: [1, 2, 6] from Operation: 55-49=6
Current State: 13:[1, 2, 6], Operations: ['55-49=6']
Exploring Operation: 2*6=12, Resulting Numbers: [1, 12]
Generated Node #3: [1, 12] from Operation: 2*6=12
Current State: 13:[1, 12], Operations: ['55-49=6', '2*6=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[49, 55, 1, 2], Operations: []
Exploring Operation: 55-2=53, Resulting Numbers: [49, 1, 53]
Generated Node #0,0: 13:[49, 1, 53] Operation: 55-2=53
Exploring Operation: 49-1=48, Resulting Numbers: [55, 2, 48]
Generated Node #0,1: 13:[55, 2, 48] Operation: 49-1=48
Exploring Operation: 55-1=54, Resulting Numbers: [49, 2, 54]
Generated Node #0,2: 13:[49, 2, 54] Operation: 55-1=54
Exploring Operation: 49-2=47, Resulting Numbers: [55, 1, 47]
Generated Node #0,3: 13:[55, 1, 47] Operation: 49-2=47
Exploring Operation: 55-49=6, Resulting Numbers: [1, 2, 6]
Generated Node #0,4: 13:[1, 2, 6] Operation: 55-49=6
Moving to Node #0,4
Current State: 13:[1, 2, 6], Operations: ['55-49=6']
Exploring Operation: 1*2=2, Resulting Numbers: [6, 2]
Generated Node #0,4,0: 13:[6, 2] Operation: 1*2=2
Exploring Operation: 1+2=3, Resulting Numbers: [6, 3]
Generated Node #0,4,1: 13:[6, 3] Operation: 1+2=3
Exploring Operation: 1+6=7, Resulting Numbers: [2, 7]
Generated Node #0,4,2: 13:[2, 7] Operation: 1+6=7
Exploring Operation: 2+6=8, Resulting Numbers: [1, 8]
Generated Node #0,4,3: 13:[1, 8] Operation: 2+6=8
Exploring Operation: 2*6=12, Resulting Numbers: [1, 12]
Generated Node #0,4,4: 13:[1, 12] Operation: 2*6=12
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 13:[1, 12], Operations: ['55-49=6', '2*6=12']
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:[49, 55, 1, 2], Operations: []
Exploring Operation: 55-49=6, Resulting Numbers: [1, 2, 6]
Generated Node #0,4: 13:[1, 2, 6] Operation: 55-49=6
Moving to Node #0,4
Current State: 13:[1, 2, 6], Operations: ['55-49=6']
Exploring Operation: 2*6=12, Resulting Numbers: [1, 12]
Generated Node #0,4,4: 13:[1, 12] Operation: 2*6=12
Moving to Node #0,4,4
Current State: 13:[1, 12], Operations: ['55-49=6', '2*6=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
6,
1,
29,
3
] | 87 | [
"6*1=6",
"6-3=3",
"29*3=87"
] | Current State: 87:[6, 1, 29, 3], Operations: []
Exploring Operation: 6*1=6, Resulting Numbers: [29, 3, 6]
Generated Node #2: [29, 3, 6] from Operation: 6*1=6
Current State: 87:[29, 3, 6], Operations: ['6*1=6']
Exploring Operation: 6-3=3, Resulting Numbers: [29, 3]
Generated Node #3: [29, 3] from Operation: 6-3=3
Current State: 87:[29, 3], Operations: ['6*1=6', '6-3=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[6, 1, 29, 3], Operations: []
Exploring Operation: 6*1=6, Resulting Numbers: [29, 3, 6]
Generated Node #0,0: 87:[29, 3, 6] Operation: 6*1=6
Exploring Operation: 6-1=5, Resulting Numbers: [29, 3, 5]
Generated Node #0,1: 87:[29, 3, 5] Operation: 6-1=5
Exploring Operation: 6-3=3, Resulting Numbers: [1, 29, 3]
Generated Node #0,2: 87:[1, 29, 3] Operation: 6-3=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[29, 3, 5], Operations: ['6-1=5']
Exploring Operation: 29*3=87, Resulting Numbers: [5, 87]
Generated Node #0,1,0: 87:[5, 87] Operation: 29*3=87
Exploring Operation: 29+3=32, Resulting Numbers: [5, 32]
Generated Node #0,1,1: 87:[5, 32] Operation: 29+3=32
Exploring Operation: 5-3=2, Resulting Numbers: [29, 2]
Generated Node #0,1,2: 87:[29, 2] Operation: 5-3=2
Moving to Node #0,1,2
Current State: 87:[29, 2], Operations: ['6-1=5', '5-3=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[5, 87], Operations: ['6-1=5', '29*3=87']
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,87 unequal: No Solution
Exploring Operation: 5*87=435, Resulting Numbers: [435]
435,87 unequal: No Solution
Exploring Operation: 5+87=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[5, 32], Operations: ['6-1=5', '29+3=32']
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,87 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,87 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,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,2
Current State: 87:[1, 29, 3], Operations: ['6-3=3']
Exploring Operation: 29/1=29, Resulting Numbers: [3, 29]
Generated Node #0,2,0: 87:[3, 29] Operation: 29/1=29
Exploring Operation: 1*3=3, Resulting Numbers: [29, 3]
Generated Node #0,2,1: 87:[29, 3] Operation: 1*3=3
Exploring Operation: 1*29=29, Resulting Numbers: [3, 29]
Generated Node #0,2,2: 87:[3, 29] Operation: 1*29=29
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 87:[3, 29], Operations: ['6-3=3', '29/1=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,87 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[6, 1, 29, 3], Operations: []
Exploring Operation: 6-3=3, Resulting Numbers: [1, 29, 3]
Generated Node #0,2: 87:[1, 29, 3] Operation: 6-3=3
Moving to Node #0,2
Current State: 87:[1, 29, 3], Operations: ['6-3=3']
Exploring Operation: 29/1=29, Resulting Numbers: [3, 29]
Generated Node #0,2,0: 87:[3, 29] Operation: 29/1=29
Moving to Node #0,2,0
Current State: 87:[3, 29], Operations: ['6-3=3', '29/1=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
89,
34,
73,
55
] | 37 | [
"89-34=55",
"73-55=18",
"55-18=37"
] | Current State: 37:[89, 34, 73, 55], Operations: []
Exploring Operation: 89-34=55, Resulting Numbers: [73, 55, 55]
Generated Node #2: [73, 55, 55] from Operation: 89-34=55
Current State: 37:[73, 55, 55], Operations: ['89-34=55']
Exploring Operation: 73-55=18, Resulting Numbers: [18]
18,37 equal: Goal Reached
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[89, 34, 73, 55], Operations: []
Exploring Operation: 89-55=34, Resulting Numbers: [34, 73, 34]
Generated Node #0,0: 37:[34, 73, 34] Operation: 89-55=34
Exploring Operation: 89-73=16, Resulting Numbers: [34, 55, 16]
Generated Node #0,1: 37:[34, 55, 16] Operation: 89-73=16
Exploring Operation: 89-34=55, Resulting Numbers: [73, 55, 55]
Generated Node #0,2: 37:[73, 55, 55] Operation: 89-34=55
Exploring Operation: 73-55=18, Resulting Numbers: [89, 34, 18]
Generated Node #0,3: 37:[89, 34, 18] Operation: 73-55=18
Exploring Operation: 73-34=39, Resulting Numbers: [89, 55, 39]
Generated Node #0,4: 37:[89, 55, 39] Operation: 73-34=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[34, 73, 34], Operations: ['89-55=34']
Exploring Operation: 34+34=68, Resulting Numbers: [73, 68]
Generated Node #0,0,0: 37:[73, 68] Operation: 34+34=68
Exploring Operation: 73-34=39, Resulting Numbers: [34, 39]
Generated Node #0,0,1: 37:[34, 39] Operation: 73-34=39
Exploring Operation: 73-34=39, Resulting Numbers: [34, 39]
Generated Node #0,0,2: 37:[34, 39] Operation: 73-34=39
Exploring Operation: 34+73=107, Resulting Numbers: [34, 107]
Generated Node #0,0,3: 37:[34, 107] Operation: 34+73=107
Exploring Operation: 34/34=1, Resulting Numbers: [73, 1]
Generated Node #0,0,4: 37:[73, 1] Operation: 34/34=1
Moving to Node #0,0,1
Current State: 37:[34, 39], Operations: ['89-55=34', '73-34=39']
Exploring Operation: 34*39=1326, Resulting Numbers: [1326]
1326,37 unequal: No Solution
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Exploring Operation: 34+39=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[34, 39], Operations: ['89-55=34', '73-34=39']
Exploring Operation: 34+39=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 34*39=1326, Resulting Numbers: [1326]
1326,37 unequal: No Solution
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[73, 68], Operations: ['89-55=34', '34+34=68']
Exploring Operation: 73+68=141, Resulting Numbers: [141]
141,37 unequal: No Solution
Exploring Operation: 73*68=4964, Resulting Numbers: [4964]
4964,37 unequal: No Solution
Exploring Operation: 73-68=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Moving to Node #0,0,4
Current State: 37:[73, 1], Operations: ['89-55=34', '34/34=1']
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[34, 107], Operations: ['89-55=34', '34+73=107']
Exploring Operation: 107-34=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 34+107=141, Resulting Numbers: [141]
141,37 unequal: No Solution
Exploring Operation: 34*107=3638, Resulting Numbers: [3638]
3638,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[34, 55, 16], Operations: ['89-73=16']
Exploring Operation: 34-16=18, Resulting Numbers: [55, 18]
Generated Node #0,1,0: 37:[55, 18] Operation: 34-16=18
Exploring Operation: 34+16=50, Resulting Numbers: [55, 50]
Generated Node #0,1,1: 37:[55, 50] Operation: 34+16=50
Exploring Operation: 55-34=21, Resulting Numbers: [16, 21]
Generated Node #0,1,2: 37:[16, 21] Operation: 55-34=21
Exploring Operation: 55-16=39, Resulting Numbers: [34, 39]
Generated Node #0,1,3: 37:[34, 39] Operation: 55-16=39
Exploring Operation: 55+16=71, Resulting Numbers: [34, 71]
Generated Node #0,1,4: 37:[34, 71] Operation: 55+16=71
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 37:[34, 39], Operations: ['89-73=16', '55-16=39']
Exploring Operation: 34*39=1326, Resulting Numbers: [1326]
1326,37 unequal: No Solution
Exploring Operation: 34+39=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[55, 50], Operations: ['89-73=16', '34+16=50']
Exploring Operation: 55*50=2750, Resulting Numbers: [2750]
2750,37 unequal: No Solution
Exploring Operation: 55+50=105, Resulting Numbers: [105]
105,37 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[55, 18], Operations: ['89-73=16', '34-16=18']
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[89, 34, 73, 55], Operations: []
Exploring Operation: 89-73=16, Resulting Numbers: [34, 55, 16]
Generated Node #0,1: 37:[34, 55, 16] Operation: 89-73=16
Moving to Node #0,1
Current State: 37:[34, 55, 16], Operations: ['89-73=16']
Exploring Operation: 34-16=18, Resulting Numbers: [55, 18]
Generated Node #0,1,0: 37:[55, 18] Operation: 34-16=18
Moving to Node #0,1,0
Current State: 37:[55, 18], Operations: ['89-73=16', '34-16=18']
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
45,
37,
53,
55
] | 53 | [
"37+53=90",
"90/45=2",
"55-2=53"
] | Current State: 53:[45, 37, 53, 55], Operations: []
Exploring Operation: 37+53=90, Resulting Numbers: [45, 55, 90]
Generated Node #2: [45, 55, 90] from Operation: 37+53=90
Current State: 53:[45, 55, 90], Operations: ['37+53=90']
Exploring Operation: 90/45=2, Resulting Numbers: [55, 2]
Generated Node #3: [55, 2] from Operation: 90/45=2
Current State: 53:[55, 2], Operations: ['37+53=90', '90/45=2']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[45, 37, 53, 55], Operations: []
Exploring Operation: 45+37=82, Resulting Numbers: [53, 55, 82]
Generated Node #0,0: 53:[53, 55, 82] Operation: 45+37=82
Moving to Node #0,0
Current State: 53:[53, 55, 82], Operations: ['45+37=82']
Exploring Operation: 82-53=29, Resulting Numbers: [55, 29]
Generated Node #0,0,0: 53:[55, 29] Operation: 82-53=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[55, 29], Operations: ['45+37=82', '82-53=29']
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,53 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 |
[
82,
10,
19,
60
] | 12 | [
"60-19=41",
"82/41=2",
"10+2=12"
] | Current State: 12:[82, 10, 19, 60], Operations: []
Exploring Operation: 60-19=41, Resulting Numbers: [82, 10, 41]
Generated Node #2: [82, 10, 41] from Operation: 60-19=41
Current State: 12:[82, 10, 41], Operations: ['60-19=41']
Exploring Operation: 82/41=2, Resulting Numbers: [10, 2]
Generated Node #3: [10, 2] from Operation: 82/41=2
Current State: 12:[10, 2], Operations: ['60-19=41', '82/41=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[82, 10, 19, 60], Operations: []
Exploring Operation: 60/10=6, Resulting Numbers: [82, 19, 6]
Generated Node #0,0: 12:[82, 19, 6] Operation: 60/10=6
Exploring Operation: 82-60=22, Resulting Numbers: [10, 19, 22]
Generated Node #0,1: 12:[10, 19, 22] Operation: 82-60=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[10, 19, 22], Operations: ['82-60=22']
Exploring Operation: 22-19=3, Resulting Numbers: [10, 3]
Generated Node #0,1,0: 12:[10, 3] Operation: 22-19=3
Exploring Operation: 22-10=12, Resulting Numbers: [19, 12]
Generated Node #0,1,1: 12:[19, 12] Operation: 22-10=12
Moving to Node #0,1,0
Current State: 12:[10, 3], Operations: ['82-60=22', '22-19=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[19, 12], Operations: ['82-60=22', '22-10=12']
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 19+12=31, Resulting Numbers: [31]
31,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[82, 19, 6], Operations: ['60/10=6']
Exploring Operation: 82-6=76, Resulting Numbers: [19, 76]
Generated Node #0,0,0: 12:[19, 76] Operation: 82-6=76
Exploring Operation: 82-19=63, Resulting Numbers: [6, 63]
Generated Node #0,0,1: 12:[6, 63] Operation: 82-19=63
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 12:[6, 63], Operations: ['60/10=6', '82-19=63']
Exploring Operation: 6+63=69, Resulting Numbers: [69]
69,12 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[19, 76], Operations: ['60/10=6', '82-6=76']
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
54,
11,
32,
33
] | 66 | [
"54+11=65",
"33-32=1",
"65+1=66"
] | Current State: 66:[54, 11, 32, 33], Operations: []
Exploring Operation: 54+11=65, Resulting Numbers: [32, 33, 65]
Generated Node #2: [32, 33, 65] from Operation: 54+11=65
Current State: 66:[32, 33, 65], Operations: ['54+11=65']
Exploring Operation: 33-32=1, Resulting Numbers: [65, 1]
Generated Node #3: [65, 1] from Operation: 33-32=1
Current State: 66:[65, 1], Operations: ['54+11=65', '33-32=1']
Exploring Operation: 65+1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[54, 11, 32, 33], Operations: []
Exploring Operation: 54+11=65, Resulting Numbers: [32, 33, 65]
Generated Node #0,0: 66:[32, 33, 65] Operation: 54+11=65
Exploring Operation: 54-32=22, Resulting Numbers: [11, 33, 22]
Generated Node #0,1: 66:[11, 33, 22] Operation: 54-32=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[11, 33, 22], Operations: ['54-32=22']
Exploring Operation: 33-11=22, Resulting Numbers: [22, 22]
Generated Node #0,1,0: 66:[22, 22] Operation: 33-11=22
Exploring Operation: 33/11=3, Resulting Numbers: [22, 3]
Generated Node #0,1,1: 66:[22, 3] Operation: 33/11=3
Moving to Node #0,1,0
Current State: 66:[22, 22], Operations: ['54-32=22', '33-11=22']
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[22, 3], Operations: ['54-32=22', '33/11=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[54, 11, 32, 33], Operations: []
Exploring Operation: 54-32=22, Resulting Numbers: [11, 33, 22]
Generated Node #0,1: 66:[11, 33, 22] Operation: 54-32=22
Moving to Node #0,1
Current State: 66:[11, 33, 22], Operations: ['54-32=22']
Exploring Operation: 33/11=3, Resulting Numbers: [22, 3]
Generated Node #0,1,1: 66:[22, 3] Operation: 33/11=3
Moving to Node #0,1,1
Current State: 66:[22, 3], Operations: ['54-32=22', '33/11=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
8,
35,
2,
4
] | 70 | [
"8-2=6",
"6-4=2",
"35*2=70"
] | Current State: 70:[8, 35, 2, 4], Operations: []
Exploring Operation: 8-2=6, Resulting Numbers: [35, 4, 6]
Generated Node #2: [35, 4, 6] from Operation: 8-2=6
Current State: 70:[35, 4, 6], Operations: ['8-2=6']
Exploring Operation: 6-4=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 6-4=2
Current State: 70:[35, 2], Operations: ['8-2=6', '6-4=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[8, 35, 2, 4], Operations: []
Exploring Operation: 4/2=2, Resulting Numbers: [8, 35, 2]
Generated Node #0,0: 70:[8, 35, 2] Operation: 4/2=2
Exploring Operation: 4-2=2, Resulting Numbers: [8, 35, 2]
Generated Node #0,1: 70:[8, 35, 2] Operation: 4-2=2
Exploring Operation: 8-4=4, Resulting Numbers: [35, 2, 4]
Generated Node #0,2: 70:[35, 2, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [35, 2, 2]
Generated Node #0,3: 70:[35, 2, 2] Operation: 8/4=2
Exploring Operation: 8+2=10, Resulting Numbers: [35, 4, 10]
Generated Node #0,4: 70:[35, 4, 10] Operation: 8+2=10
Moving to Node #0,3
Current State: 70:[35, 2, 2], Operations: ['8/4=2']
Exploring Operation: 2*2=4, Resulting Numbers: [35, 4]
Generated Node #0,3,0: 70:[35, 4] Operation: 2*2=4
Exploring Operation: 2/2=1, Resulting Numbers: [35, 1]
Generated Node #0,3,1: 70:[35, 1] Operation: 2/2=1
Exploring Operation: 2+2=4, Resulting Numbers: [35, 4]
Generated Node #0,3,2: 70:[35, 4] Operation: 2+2=4
Exploring Operation: 35*2=70, Resulting Numbers: [2, 70]
Generated Node #0,3,3: 70:[2, 70] Operation: 35*2=70
Exploring Operation: 35*2=70, Resulting Numbers: [2, 70]
Generated Node #0,3,4: 70:[2, 70] Operation: 35*2=70
Moving to Node #0,1
Current State: 70:[8, 35, 2], Operations: ['4-2=2']
Exploring Operation: 8+2=10, Resulting Numbers: [35, 10]
Generated Node #0,1,0: 70:[35, 10] Operation: 8+2=10
Exploring Operation: 35*2=70, Resulting Numbers: [8, 70]
Generated Node #0,1,1: 70:[8, 70] Operation: 35*2=70
Exploring Operation: 8*2=16, Resulting Numbers: [35, 16]
Generated Node #0,1,2: 70:[35, 16] Operation: 8*2=16
Exploring Operation: 8/2=4, Resulting Numbers: [35, 4]
Generated Node #0,1,3: 70:[35, 4] Operation: 8/2=4
Exploring Operation: 8-2=6, Resulting Numbers: [35, 6]
Generated Node #0,1,4: 70:[35, 6] Operation: 8-2=6
Moving to Node #0,4
Current State: 70:[35, 4, 10], Operations: ['8+2=10']
Exploring Operation: 35-4=31, Resulting Numbers: [10, 31]
Generated Node #0,4,0: 70:[10, 31] Operation: 35-4=31
Exploring Operation: 4*10=40, Resulting Numbers: [35, 40]
Generated Node #0,4,1: 70:[35, 40] Operation: 4*10=40
Exploring Operation: 35+4=39, Resulting Numbers: [10, 39]
Generated Node #0,4,2: 70:[10, 39] Operation: 35+4=39
Exploring Operation: 10-4=6, Resulting Numbers: [35, 6]
Generated Node #0,4,3: 70:[35, 6] Operation: 10-4=6
Exploring Operation: 4+10=14, Resulting Numbers: [35, 14]
Generated Node #0,4,4: 70:[35, 14] Operation: 4+10=14
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 70:[35, 14], Operations: ['8+2=10', '4+10=14']
Exploring Operation: 35+14=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Exploring Operation: 35*14=490, Resulting Numbers: [490]
490,70 unequal: No Solution
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 70:[35, 6], Operations: ['8+2=10', '10-4=6']
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 70:[10, 31], Operations: ['8+2=10', '35-4=31']
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,70 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 70:[10, 39], Operations: ['8+2=10', '35+4=39']
Exploring Operation: 10*39=390, Resulting Numbers: [390]
390,70 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 70:[35, 40], Operations: ['8+2=10', '4*10=40']
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 35*40=1400, Resulting Numbers: [1400]
1400,70 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: 70:[8, 35, 2], Operations: ['4/2=2']
Exploring Operation: 8*2=16, Resulting Numbers: [35, 16]
Generated Node #0,0,0: 70:[35, 16] Operation: 8*2=16
Exploring Operation: 35*2=70, Resulting Numbers: [8, 70]
Generated Node #0,0,1: 70:[8, 70] Operation: 35*2=70
Exploring Operation: 8-2=6, Resulting Numbers: [35, 6]
Generated Node #0,0,2: 70:[35, 6] Operation: 8-2=6
Exploring Operation: 8+2=10, Resulting Numbers: [35, 10]
Generated Node #0,0,3: 70:[35, 10] Operation: 8+2=10
Exploring Operation: 8/2=4, Resulting Numbers: [35, 4]
Generated Node #0,0,4: 70:[35, 4] Operation: 8/2=4
Moving to Node #0,2
Current State: 70:[35, 2, 4], Operations: ['8-4=4']
Exploring Operation: 2+4=6, Resulting Numbers: [35, 6]
Generated Node #0,2,0: 70:[35, 6] Operation: 2+4=6
Exploring Operation: 35*2=70, Resulting Numbers: [4, 70]
Generated Node #0,2,1: 70:[4, 70] Operation: 35*2=70
Exploring Operation: 4/2=2, Resulting Numbers: [35, 2]
Generated Node #0,2,2: 70:[35, 2] Operation: 4/2=2
Exploring Operation: 2*4=8, Resulting Numbers: [35, 8]
Generated Node #0,2,3: 70:[35, 8] Operation: 2*4=8
Exploring Operation: 4-2=2, Resulting Numbers: [35, 2]
Generated Node #0,2,4: 70:[35, 2] Operation: 4-2=2
Moving to Node #0,3,3
Current State: 70:[2, 70], Operations: ['8/4=2', '35*2=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[35, 10], Operations: ['4-2=2', '8+2=10']
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,70 unequal: No Solution
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,70 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Moving to Node #0,3,4
Current State: 70:[2, 70], Operations: ['8/4=2', '35*2=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,70 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,70 unequal: No Solution
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[35, 10], Operations: ['4/2=2', '8+2=10']
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,70 unequal: No Solution
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,70 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[35, 2], Operations: ['8-4=4', '4/2=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,70 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[8, 35, 2, 4], Operations: []
Exploring Operation: 8-4=4, Resulting Numbers: [35, 2, 4]
Generated Node #0,2: 70:[35, 2, 4] Operation: 8-4=4
Moving to Node #0,2
Current State: 70:[35, 2, 4], Operations: ['8-4=4']
Exploring Operation: 4/2=2, Resulting Numbers: [35, 2]
Generated Node #0,2,2: 70:[35, 2] Operation: 4/2=2
Moving to Node #0,2,2
Current State: 70:[35, 2], Operations: ['8-4=4', '4/2=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.942708 | hs_5 | sum_heuristic |
[
34,
37,
49,
45
] | 23 | [
"34+37=71",
"49+45=94",
"94-71=23"
] | Current State: 23:[34, 37, 49, 45], Operations: []
Exploring Operation: 34+37=71, Resulting Numbers: [49, 45, 71]
Generated Node #2: [49, 45, 71] from Operation: 34+37=71
Current State: 23:[49, 45, 71], Operations: ['34+37=71']
Exploring Operation: 49+45=94, Resulting Numbers: [71, 94]
Generated Node #3: [71, 94] from Operation: 49+45=94
Current State: 23:[71, 94], Operations: ['34+37=71', '49+45=94']
Exploring Operation: 94-71=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[34, 37, 49, 45], Operations: []
Exploring Operation: 49-37=12, Resulting Numbers: [34, 45, 12]
Generated Node #0,0: 23:[34, 45, 12] Operation: 49-37=12
Exploring Operation: 49-45=4, Resulting Numbers: [34, 37, 4]
Generated Node #0,1: 23:[34, 37, 4] Operation: 49-45=4
Exploring Operation: 45-37=8, Resulting Numbers: [34, 49, 8]
Generated Node #0,2: 23:[34, 49, 8] Operation: 45-37=8
Exploring Operation: 49-34=15, Resulting Numbers: [37, 45, 15]
Generated Node #0,3: 23:[37, 45, 15] Operation: 49-34=15
Exploring Operation: 45-34=11, Resulting Numbers: [37, 49, 11]
Generated Node #0,4: 23:[37, 49, 11] Operation: 45-34=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[34, 45, 12], Operations: ['49-37=12']
Exploring Operation: 45+12=57, Resulting Numbers: [34, 57]
Generated Node #0,0,0: 23:[34, 57] Operation: 45+12=57
Exploring Operation: 34+12=46, Resulting Numbers: [45, 46]
Generated Node #0,0,1: 23:[45, 46] Operation: 34+12=46
Exploring Operation: 45-34=11, Resulting Numbers: [12, 11]
Generated Node #0,0,2: 23:[12, 11] Operation: 45-34=11
Exploring Operation: 45-12=33, Resulting Numbers: [34, 33]
Generated Node #0,0,3: 23:[34, 33] Operation: 45-12=33
Exploring Operation: 34-12=22, Resulting Numbers: [45, 22]
Generated Node #0,0,4: 23:[45, 22] Operation: 34-12=22
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 23:[34, 33], Operations: ['49-37=12', '45-12=33']
Exploring Operation: 34*33=1122, Resulting Numbers: [1122]
1122,23 unequal: No Solution
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,23 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,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,0,2
Current State: 23:[12, 11], Operations: ['49-37=12', '45-34=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[34, 37, 49, 45], Operations: []
Exploring Operation: 49-37=12, Resulting Numbers: [34, 45, 12]
Generated Node #0,0: 23:[34, 45, 12] Operation: 49-37=12
Moving to Node #0,0
Current State: 23:[34, 45, 12], Operations: ['49-37=12']
Exploring Operation: 45-34=11, Resulting Numbers: [12, 11]
Generated Node #0,0,2: 23:[12, 11] Operation: 45-34=11
Moving to Node #0,0,2
Current State: 23:[12, 11], Operations: ['49-37=12', '45-34=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
68,
4,
44,
3
] | 52 | [
"4+44=48",
"48/3=16",
"68-16=52"
] | Current State: 52:[68, 4, 44, 3], Operations: []
Exploring Operation: 4+44=48, Resulting Numbers: [68, 3, 48]
Generated Node #2: [68, 3, 48] from Operation: 4+44=48
Current State: 52:[68, 3, 48], Operations: ['4+44=48']
Exploring Operation: 48/3=16, Resulting Numbers: [68, 16]
Generated Node #3: [68, 16] from Operation: 48/3=16
Current State: 52:[68, 16], Operations: ['4+44=48', '48/3=16']
Exploring Operation: 68-16=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[68, 4, 44, 3], Operations: []
Exploring Operation: 68-44=24, Resulting Numbers: [4, 3, 24]
Generated Node #0,0: 52:[4, 3, 24] Operation: 68-44=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[4, 3, 24], Operations: ['68-44=24']
Exploring Operation: 3+24=27, Resulting Numbers: [4, 27]
Generated Node #0,0,0: 52:[4, 27] Operation: 3+24=27
Moving to Node #0,0,0
Current State: 52:[4, 27], Operations: ['68-44=24', '3+24=27']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
37,
19,
48
] | 29 | [
"6*19=114",
"37+48=85",
"114-85=29"
] | Current State: 29:[6, 37, 19, 48], Operations: []
Exploring Operation: 6*19=114, Resulting Numbers: [37, 48, 114]
Generated Node #2: [37, 48, 114] from Operation: 6*19=114
Current State: 29:[37, 48, 114], Operations: ['6*19=114']
Exploring Operation: 37+48=85, Resulting Numbers: [114, 85]
Generated Node #3: [114, 85] from Operation: 37+48=85
Current State: 29:[114, 85], Operations: ['6*19=114', '37+48=85']
Exploring Operation: 114-85=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[6, 37, 19, 48], Operations: []
Exploring Operation: 48-6=42, Resulting Numbers: [37, 19, 42]
Generated Node #0,0: 29:[37, 19, 42] Operation: 48-6=42
Exploring Operation: 37-6=31, Resulting Numbers: [19, 48, 31]
Generated Node #0,1: 29:[19, 48, 31] Operation: 37-6=31
Exploring Operation: 6+19=25, Resulting Numbers: [37, 48, 25]
Generated Node #0,2: 29:[37, 48, 25] Operation: 6+19=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[37, 19, 42], Operations: ['48-6=42']
Exploring Operation: 37-19=18, Resulting Numbers: [42, 18]
Generated Node #0,0,0: 29:[42, 18] Operation: 37-19=18
Exploring Operation: 42-37=5, Resulting Numbers: [19, 5]
Generated Node #0,0,1: 29:[19, 5] Operation: 42-37=5
Exploring Operation: 42-19=23, Resulting Numbers: [37, 23]
Generated Node #0,0,2: 29:[37, 23] Operation: 42-19=23
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 29:[37, 23], Operations: ['48-6=42', '42-19=23']
Exploring Operation: 37*23=851, Resulting Numbers: [851]
851,29 unequal: No Solution
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[42, 18], Operations: ['48-6=42', '37-19=18']
Exploring Operation: 42*18=756, Resulting Numbers: [756]
756,29 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[19, 5], Operations: ['48-6=42', '42-37=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,29 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[19, 48, 31], Operations: ['37-6=31']
Exploring Operation: 31-19=12, Resulting Numbers: [48, 12]
Generated Node #0,1,0: 29:[48, 12] Operation: 31-19=12
Exploring Operation: 48-19=29, Resulting Numbers: [31, 29]
Generated Node #0,1,1: 29:[31, 29] Operation: 48-19=29
Exploring Operation: 48-31=17, Resulting Numbers: [19, 17]
Generated Node #0,1,2: 29:[19, 17] Operation: 48-31=17
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[31, 29], Operations: ['37-6=31', '48-19=29']
Exploring Operation: 31+29=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 31*29=899, Resulting Numbers: [899]
899,29 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 29:[19, 17], Operations: ['37-6=31', '48-31=17']
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,29 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[48, 12], Operations: ['37-6=31', '31-19=12']
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[37, 48, 25], Operations: ['6+19=25']
Exploring Operation: 37-25=12, Resulting Numbers: [48, 12]
Generated Node #0,2,0: 29:[48, 12] Operation: 37-25=12
Exploring Operation: 48-37=11, Resulting Numbers: [25, 11]
Generated Node #0,2,1: 29:[25, 11] Operation: 48-37=11
Exploring Operation: 48-25=23, Resulting Numbers: [37, 23]
Generated Node #0,2,2: 29:[37, 23] Operation: 48-25=23
Moving to Node #0,2,2
Current State: 29:[37, 23], Operations: ['6+19=25', '48-25=23']
Exploring Operation: 37+23=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 37*23=851, Resulting Numbers: [851]
851,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[25, 11], Operations: ['6+19=25', '48-37=11']
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,29 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[48, 12], Operations: ['6+19=25', '37-25=12']
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,29 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,29 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 |
[
13,
89,
2,
22
] | 85 | [
"13*2=26",
"89+22=111",
"111-26=85"
] | Current State: 85:[13, 89, 2, 22], Operations: []
Exploring Operation: 13*2=26, Resulting Numbers: [89, 22, 26]
Generated Node #2: [89, 22, 26] from Operation: 13*2=26
Current State: 85:[89, 22, 26], Operations: ['13*2=26']
Exploring Operation: 89+22=111, Resulting Numbers: [26, 111]
Generated Node #3: [26, 111] from Operation: 89+22=111
Current State: 85:[26, 111], Operations: ['13*2=26', '89+22=111']
Exploring Operation: 111-26=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[13, 89, 2, 22], Operations: []
Exploring Operation: 89-2=87, Resulting Numbers: [13, 22, 87]
Generated Node #0,0: 85:[13, 22, 87] Operation: 89-2=87
Exploring Operation: 22-2=20, Resulting Numbers: [13, 89, 20]
Generated Node #0,1: 85:[13, 89, 20] Operation: 22-2=20
Exploring Operation: 13+2=15, Resulting Numbers: [89, 22, 15]
Generated Node #0,2: 85:[89, 22, 15] Operation: 13+2=15
Exploring Operation: 22/2=11, Resulting Numbers: [13, 89, 11]
Generated Node #0,3: 85:[13, 89, 11] Operation: 22/2=11
Exploring Operation: 22-13=9, Resulting Numbers: [89, 2, 9]
Generated Node #0,4: 85:[89, 2, 9] Operation: 22-13=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[13, 22, 87], Operations: ['89-2=87']
Exploring Operation: 87-13=74, Resulting Numbers: [22, 74]
Generated Node #0,0,0: 85:[22, 74] Operation: 87-13=74
Exploring Operation: 13+87=100, Resulting Numbers: [22, 100]
Generated Node #0,0,1: 85:[22, 100] Operation: 13+87=100
Exploring Operation: 22-13=9, Resulting Numbers: [87, 9]
Generated Node #0,0,2: 85:[87, 9] Operation: 22-13=9
Exploring Operation: 13+22=35, Resulting Numbers: [87, 35]
Generated Node #0,0,3: 85:[87, 35] Operation: 13+22=35
Exploring Operation: 87-22=65, Resulting Numbers: [13, 65]
Generated Node #0,0,4: 85:[13, 65] Operation: 87-22=65
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 85:[87, 9], Operations: ['89-2=87', '22-13=9']
Exploring Operation: 87*9=783, Resulting Numbers: [783]
783,85 unequal: No Solution
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 87+9=96, Resulting Numbers: [96]
96,85 unequal: No Solution
No 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: 85:[22, 74], Operations: ['89-2=87', '87-13=74']
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 22*74=1628, Resulting Numbers: [1628]
1628,85 unequal: No Solution
Exploring Operation: 22+74=96, Resulting Numbers: [96]
96,85 unequal: No Solution
No 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: 85:[22, 100], Operations: ['89-2=87', '13+87=100']
Exploring Operation: 100-22=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 22+100=122, Resulting Numbers: [122]
122,85 unequal: No Solution
Exploring Operation: 22*100=2200, Resulting Numbers: [2200]
2200,85 unequal: No Solution
No 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: 85:[87, 35], Operations: ['89-2=87', '13+22=35']
Exploring Operation: 87*35=3045, Resulting Numbers: [3045]
3045,85 unequal: No Solution
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 87+35=122, Resulting Numbers: [122]
122,85 unequal: No Solution
No 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: 85:[13, 65], Operations: ['89-2=87', '87-22=65']
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 13+65=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 13*65=845, Resulting Numbers: [845]
845,85 unequal: No Solution
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,85 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: 85:[13, 89, 20], Operations: ['22-2=20']
Exploring Operation: 89-20=69, Resulting Numbers: [13, 69]
Generated Node #0,1,0: 85:[13, 69] Operation: 89-20=69
Exploring Operation: 20-13=7, Resulting Numbers: [89, 7]
Generated Node #0,1,1: 85:[89, 7] Operation: 20-13=7
Exploring Operation: 89-13=76, Resulting Numbers: [20, 76]
Generated Node #0,1,2: 85:[20, 76] Operation: 89-13=76
Exploring Operation: 13+89=102, Resulting Numbers: [20, 102]
Generated Node #0,1,3: 85:[20, 102] Operation: 13+89=102
Exploring Operation: 13+20=33, Resulting Numbers: [89, 33]
Generated Node #0,1,4: 85:[89, 33] Operation: 13+20=33
Moving to Node #0,1,1
Current State: 85:[89, 7], Operations: ['22-2=20', '20-13=7']
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,85 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[20, 76], Operations: ['22-2=20', '89-13=76']
Exploring Operation: 20*76=1520, Resulting Numbers: [1520]
1520,85 unequal: No Solution
Exploring Operation: 20+76=96, Resulting Numbers: [96]
96,85 unequal: No Solution
Exploring Operation: 76-20=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[13, 69], Operations: ['22-2=20', '89-20=69']
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 13*69=897, Resulting Numbers: [897]
897,85 unequal: No Solution
Exploring Operation: 13+69=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Moving to Node #0,1,3
Current State: 85:[20, 102], Operations: ['22-2=20', '13+89=102']
Exploring Operation: 20*102=2040, Resulting Numbers: [2040]
2040,85 unequal: No Solution
Exploring Operation: 20+102=122, Resulting Numbers: [122]
122,85 unequal: No Solution
Exploring Operation: 102-20=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Moving to Node #0,1,4
Current State: 85:[89, 33], Operations: ['22-2=20', '13+20=33']
Exploring Operation: 89-33=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 89+33=122, Resulting Numbers: [122]
122,85 unequal: No Solution
Exploring Operation: 89*33=2937, Resulting Numbers: [2937]
2937,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:[89, 22, 15], Operations: ['13+2=15']
Exploring Operation: 89+15=104, Resulting Numbers: [22, 104]
Generated Node #0,2,0: 85:[22, 104] Operation: 89+15=104
Exploring Operation: 89-15=74, Resulting Numbers: [22, 74]
Generated Node #0,2,1: 85:[22, 74] Operation: 89-15=74
Exploring Operation: 22-15=7, Resulting Numbers: [89, 7]
Generated Node #0,2,2: 85:[89, 7] Operation: 22-15=7
Exploring Operation: 89-22=67, Resulting Numbers: [15, 67]
Generated Node #0,2,3: 85:[15, 67] Operation: 89-22=67
Exploring Operation: 22+15=37, Resulting Numbers: [89, 37]
Generated Node #0,2,4: 85:[89, 37] Operation: 22+15=37
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 85:[89, 7], Operations: ['13+2=15', '22-15=7']
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,85 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,85 unequal: No Solution
No 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: 85:[22, 74], Operations: ['13+2=15', '89-15=74']
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 22+74=96, Resulting Numbers: [96]
96,85 unequal: No Solution
Exploring Operation: 22*74=1628, Resulting Numbers: [1628]
1628,85 unequal: No Solution
No 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: 85:[15, 67], Operations: ['13+2=15', '89-22=67']
Exploring Operation: 15*67=1005, Resulting Numbers: [1005]
1005,85 unequal: No Solution
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 15+67=82, Resulting Numbers: [82]
82,85 unequal: No Solution
No 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: 85:[22, 104], Operations: ['13+2=15', '89+15=104']
Exploring Operation: 22*104=2288, Resulting Numbers: [2288]
2288,85 unequal: No Solution
Exploring Operation: 22+104=126, Resulting Numbers: [126]
126,85 unequal: No Solution
Exploring Operation: 104-22=82, Resulting Numbers: [82]
82,85 unequal: No Solution
No 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: 85:[89, 37], Operations: ['13+2=15', '22+15=37']
Exploring Operation: 89+37=126, Resulting Numbers: [126]
126,85 unequal: No Solution
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 89*37=3293, Resulting Numbers: [3293]
3293,85 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: 85:[89, 2, 9], Operations: ['22-13=9']
Exploring Operation: 89-9=80, Resulting Numbers: [2, 80]
Generated Node #0,4,0: 85:[2, 80] Operation: 89-9=80
Exploring Operation: 89-2=87, Resulting Numbers: [9, 87]
Generated Node #0,4,1: 85:[9, 87] Operation: 89-2=87
Exploring Operation: 2*9=18, Resulting Numbers: [89, 18]
Generated Node #0,4,2: 85:[89, 18] Operation: 2*9=18
Exploring Operation: 9-2=7, Resulting Numbers: [89, 7]
Generated Node #0,4,3: 85:[89, 7] Operation: 9-2=7
Exploring Operation: 89+2=91, Resulting Numbers: [9, 91]
Generated Node #0,4,4: 85:[9, 91] Operation: 89+2=91
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 85:[89, 18], Operations: ['22-13=9', '2*9=18']
Exploring Operation: 89*18=1602, Resulting Numbers: [1602]
1602,85 unequal: No Solution
Exploring Operation: 89+18=107, Resulting Numbers: [107]
107,85 unequal: No Solution
Exploring Operation: 89-18=71, Resulting Numbers: [71]
71,85 unequal: No Solution
No 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: 85:[9, 87], Operations: ['22-13=9', '89-2=87']
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 9+87=96, Resulting Numbers: [96]
96,85 unequal: No Solution
Exploring Operation: 9*87=783, Resulting Numbers: [783]
783,85 unequal: No Solution
No 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: 85:[89, 7], Operations: ['22-13=9', '9-2=7']
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,85 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,85 unequal: No Solution
No 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: 85:[2, 80], Operations: ['22-13=9', '89-9=80']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 2*80=160, Resulting Numbers: [160]
160,85 unequal: No Solution
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,85 unequal: No Solution
No 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: 85:[9, 91], Operations: ['22-13=9', '89+2=91']
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,85 unequal: No Solution
Exploring Operation: 9*91=819, Resulting Numbers: [819]
819,85 unequal: No Solution
Exploring Operation: 9+91=100, Resulting Numbers: [100]
100,85 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: 85:[13, 89, 11], Operations: ['22/2=11']
Exploring Operation: 13+11=24, Resulting Numbers: [89, 24]
Generated Node #0,3,0: 85:[89, 24] Operation: 13+11=24
Exploring Operation: 89-11=78, Resulting Numbers: [13, 78]
Generated Node #0,3,1: 85:[13, 78] Operation: 89-11=78
Exploring Operation: 89-13=76, Resulting Numbers: [11, 76]
Generated Node #0,3,2: 85:[11, 76] Operation: 89-13=76
Exploring Operation: 89+11=100, Resulting Numbers: [13, 100]
Generated Node #0,3,3: 85:[13, 100] Operation: 89+11=100
Exploring Operation: 13-11=2, Resulting Numbers: [89, 2]
Generated Node #0,3,4: 85:[89, 2] Operation: 13-11=2
Moving to Node #0,3,4
Current State: 85:[89, 2], Operations: ['22/2=11', '13-11=2']
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,85 unequal: No Solution
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,85 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[13, 78], Operations: ['22/2=11', '89-11=78']
Exploring Operation: 78-13=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Exploring Operation: 13+78=91, Resulting Numbers: [91]
91,85 unequal: No Solution
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 13*78=1014, Resulting Numbers: [1014]
1014,85 unequal: No Solution
Moving to Node #0,3,0
Current State: 85:[89, 24], Operations: ['22/2=11', '13+11=24']
Exploring Operation: 89+24=113, Resulting Numbers: [113]
113,85 unequal: No Solution
Exploring Operation: 89-24=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Exploring Operation: 89*24=2136, Resulting Numbers: [2136]
2136,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[11, 76], Operations: ['22/2=11', '89-13=76']
Exploring Operation: 11+76=87, Resulting Numbers: [87]
87,85 unequal: No Solution
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Exploring Operation: 11*76=836, Resulting Numbers: [836]
836,85 unequal: No Solution
Moving to Node #0,3,3
Current State: 85:[13, 100], Operations: ['22/2=11', '89+11=100']
Exploring Operation: 13+100=113, Resulting Numbers: [113]
113,85 unequal: No Solution
Exploring Operation: 13*100=1300, Resulting Numbers: [1300]
1300,85 unequal: No Solution
Exploring Operation: 100-13=87, Resulting Numbers: [87]
87,85 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 |
[
2,
26,
99,
10
] | 68 | [
"10/2=5",
"99-26=73",
"73-5=68"
] | Current State: 68:[2, 26, 99, 10], Operations: []
Exploring Operation: 10/2=5, Resulting Numbers: [26, 99, 5]
Generated Node #2: [26, 99, 5] from Operation: 10/2=5
Current State: 68:[26, 99, 5], Operations: ['10/2=5']
Exploring Operation: 99-26=73, Resulting Numbers: [5, 73]
Generated Node #3: [5, 73] from Operation: 99-26=73
Current State: 68:[5, 73], Operations: ['10/2=5', '99-26=73']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[2, 26, 99, 10], Operations: []
Exploring Operation: 99-26=73, Resulting Numbers: [2, 10, 73]
Generated Node #0,0: 68:[2, 10, 73] Operation: 99-26=73
Exploring Operation: 99-10=89, Resulting Numbers: [2, 26, 89]
Generated Node #0,1: 68:[2, 26, 89] Operation: 99-10=89
Moving to Node #0,0
Current State: 68:[2, 10, 73], Operations: ['99-26=73']
Exploring Operation: 73-10=63, Resulting Numbers: [2, 63]
Generated Node #0,0,0: 68:[2, 63] Operation: 73-10=63
Exploring Operation: 10/2=5, Resulting Numbers: [73, 5]
Generated Node #0,0,1: 68:[73, 5] Operation: 10/2=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[2, 63], Operations: ['99-26=73', '73-10=63']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,68 unequal: No Solution
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,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,0,1
Current State: 68:[73, 5], Operations: ['99-26=73', '10/2=5']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[2, 26, 99, 10], Operations: []
Exploring Operation: 99-26=73, Resulting Numbers: [2, 10, 73]
Generated Node #0,0: 68:[2, 10, 73] Operation: 99-26=73
Moving to Node #0,0
Current State: 68:[2, 10, 73], Operations: ['99-26=73']
Exploring Operation: 10/2=5, Resulting Numbers: [73, 5]
Generated Node #0,0,1: 68:[73, 5] Operation: 10/2=5
Moving to Node #0,0,1
Current State: 68:[73, 5], Operations: ['99-26=73', '10/2=5']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
11,
62,
63,
99
] | 15 | [
"62-11=51",
"99-63=36",
"51-36=15"
] | Current State: 15:[11, 62, 63, 99], Operations: []
Exploring Operation: 62-11=51, Resulting Numbers: [63, 99, 51]
Generated Node #2: [63, 99, 51] from Operation: 62-11=51
Current State: 15:[63, 99, 51], Operations: ['62-11=51']
Exploring Operation: 99-63=36, Resulting Numbers: [51, 36]
Generated Node #3: [51, 36] from Operation: 99-63=36
Current State: 15:[51, 36], Operations: ['62-11=51', '99-63=36']
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[11, 62, 63, 99], Operations: []
Exploring Operation: 99-62=37, Resulting Numbers: [11, 63, 37]
Generated Node #0,0: 15:[11, 63, 37] Operation: 99-62=37
Exploring Operation: 99-63=36, Resulting Numbers: [11, 62, 36]
Generated Node #0,1: 15:[11, 62, 36] Operation: 99-63=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[11, 62, 36], Operations: ['99-63=36']
Exploring Operation: 62-36=26, Resulting Numbers: [11, 26]
Generated Node #0,1,0: 15:[11, 26] Operation: 62-36=26
Exploring Operation: 62-11=51, Resulting Numbers: [36, 51]
Generated Node #0,1,1: 15:[36, 51] Operation: 62-11=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 15:[11, 26], Operations: ['99-63=36', '62-36=26']
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,15 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[11, 62, 63, 99], Operations: []
Exploring Operation: 99-63=36, Resulting Numbers: [11, 62, 36]
Generated Node #0,1: 15:[11, 62, 36] Operation: 99-63=36
Moving to Node #0,1
Current State: 15:[11, 62, 36], Operations: ['99-63=36']
Exploring Operation: 62-36=26, Resulting Numbers: [11, 26]
Generated Node #0,1,0: 15:[11, 26] Operation: 62-36=26
Moving to Node #0,1,0
Current State: 15:[11, 26], Operations: ['99-63=36', '62-36=26']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
64,
2,
33,
31
] | 31 | [
"64-2=62",
"33-31=2",
"62/2=31"
] | Current State: 31:[64, 2, 33, 31], Operations: []
Exploring Operation: 64-2=62, Resulting Numbers: [33, 31, 62]
Generated Node #2: [33, 31, 62] from Operation: 64-2=62
Current State: 31:[33, 31, 62], Operations: ['64-2=62']
Exploring Operation: 33-31=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 33-31=2
Current State: 31:[62, 2], Operations: ['64-2=62', '33-31=2']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[64, 2, 33, 31], Operations: []
Exploring Operation: 64-33=31, Resulting Numbers: [2, 31, 31]
Generated Node #0,0: 31:[2, 31, 31] Operation: 64-33=31
Exploring Operation: 64-2=62, Resulting Numbers: [33, 31, 62]
Generated Node #0,1: 31:[33, 31, 62] Operation: 64-2=62
Exploring Operation: 64/2=32, Resulting Numbers: [33, 31, 32]
Generated Node #0,2: 31:[33, 31, 32] Operation: 64/2=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[33, 31, 32], Operations: ['64/2=32']
Exploring Operation: 33-32=1, Resulting Numbers: [31, 1]
Generated Node #0,2,0: 31:[31, 1] Operation: 33-32=1
Exploring Operation: 33-31=2, Resulting Numbers: [32, 2]
Generated Node #0,2,1: 31:[32, 2] Operation: 33-31=2
Exploring Operation: 32-31=1, Resulting Numbers: [33, 1]
Generated Node #0,2,2: 31:[33, 1] Operation: 32-31=1
Moving to Node #0,2,0
Current State: 31:[31, 1], Operations: ['64/2=32', '33-32=1']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[64, 2, 33, 31], Operations: []
Exploring Operation: 64/2=32, Resulting Numbers: [33, 31, 32]
Generated Node #0,2: 31:[33, 31, 32] Operation: 64/2=32
Moving to Node #0,2
Current State: 31:[33, 31, 32], Operations: ['64/2=32']
Exploring Operation: 33-32=1, Resulting Numbers: [31, 1]
Generated Node #0,2,0: 31:[31, 1] Operation: 33-32=1
Moving to Node #0,2,0
Current State: 31:[31, 1], Operations: ['64/2=32', '33-32=1']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
41,
36,
5,
39
] | 14 | [
"41-36=5",
"5*5=25",
"39-25=14"
] | Current State: 14:[41, 36, 5, 39], Operations: []
Exploring Operation: 41-36=5, Resulting Numbers: [5, 39, 5]
Generated Node #2: [5, 39, 5] from Operation: 41-36=5
Current State: 14:[5, 39, 5], Operations: ['41-36=5']
Exploring Operation: 5*5=25, Resulting Numbers: [39, 25]
Generated Node #3: [39, 25] from Operation: 5*5=25
Current State: 14:[39, 25], Operations: ['41-36=5', '5*5=25']
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[41, 36, 5, 39], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [36, 5, 2]
Generated Node #0,0: 14:[36, 5, 2] Operation: 41-39=2
Exploring Operation: 41-36=5, Resulting Numbers: [5, 39, 5]
Generated Node #0,1: 14:[5, 39, 5] Operation: 41-36=5
Exploring Operation: 41-5=36, Resulting Numbers: [36, 39, 36]
Generated Node #0,2: 14:[36, 39, 36] Operation: 41-5=36
Exploring Operation: 39-36=3, Resulting Numbers: [41, 5, 3]
Generated Node #0,3: 14:[41, 5, 3] Operation: 39-36=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[36, 5, 2], Operations: ['41-39=2']
Exploring Operation: 36-2=34, Resulting Numbers: [5, 34]
Generated Node #0,0,0: 14:[5, 34] Operation: 36-2=34
Exploring Operation: 5+2=7, Resulting Numbers: [36, 7]
Generated Node #0,0,1: 14:[36, 7] Operation: 5+2=7
Exploring Operation: 36-5=31, Resulting Numbers: [2, 31]
Generated Node #0,0,2: 14:[2, 31] Operation: 36-5=31
Exploring Operation: 36/2=18, Resulting Numbers: [5, 18]
Generated Node #0,0,3: 14:[5, 18] Operation: 36/2=18
Moving to Node #0,0,3
Current State: 14:[5, 18], Operations: ['41-39=2', '36/2=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,14 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[2, 31], Operations: ['41-39=2', '36-5=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[36, 7], Operations: ['41-39=2', '5+2=7']
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,14 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[5, 34], Operations: ['41-39=2', '36-2=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,14 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[5, 39, 5], Operations: ['41-36=5']
Exploring Operation: 5-5=0, Resulting Numbers: [39, 0]
Generated Node #0,1,0: 14:[39, 0] Operation: 5-5=0
Exploring Operation: 5/5=1, Resulting Numbers: [39, 1]
Generated Node #0,1,1: 14:[39, 1] Operation: 5/5=1
Exploring Operation: 39-5=34, Resulting Numbers: [5, 34]
Generated Node #0,1,2: 14:[5, 34] Operation: 39-5=34
Exploring Operation: 39-5=34, Resulting Numbers: [5, 34]
Generated Node #0,1,3: 14:[5, 34] Operation: 39-5=34
Moving to Node #0,1,2
Current State: 14:[5, 34], Operations: ['41-36=5', '39-5=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,14 unequal: No Solution
Moving to Node #0,1,3
Current State: 14:[5, 34], Operations: ['41-36=5', '39-5=34']
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,14 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[39, 1], Operations: ['41-36=5', '5/5=1']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[39, 0], Operations: ['41-36=5', '5-5=0']
Exploring Operation: 39*0=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 39-0=39, Resulting Numbers: [39]
39,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[41, 5, 3], Operations: ['39-36=3']
Exploring Operation: 41-3=38, Resulting Numbers: [5, 38]
Generated Node #0,3,0: 14:[5, 38] Operation: 41-3=38
Exploring Operation: 5+3=8, Resulting Numbers: [41, 8]
Generated Node #0,3,1: 14:[41, 8] Operation: 5+3=8
Exploring Operation: 5-3=2, Resulting Numbers: [41, 2]
Generated Node #0,3,2: 14:[41, 2] Operation: 5-3=2
Exploring Operation: 41-5=36, Resulting Numbers: [3, 36]
Generated Node #0,3,3: 14:[3, 36] Operation: 41-5=36
Moving to Node #0,3,3
Current State: 14:[3, 36], Operations: ['39-36=3', '41-5=36']
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,14 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Moving to Node #0,3,0
Current State: 14:[5, 38], Operations: ['39-36=3', '41-3=38']
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,14 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[41, 2], Operations: ['39-36=3', '5-3=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,14 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Moving to Node #0,3,1
Current State: 14:[41, 8], Operations: ['39-36=3', '5+3=8']
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Exploring Operation: 41*8=328, Resulting Numbers: [328]
328,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[36, 39, 36], Operations: ['41-5=36']
Exploring Operation: 39-36=3, Resulting Numbers: [36, 3]
Generated Node #0,2,0: 14:[36, 3] Operation: 39-36=3
Exploring Operation: 36-36=0, Resulting Numbers: [39, 0]
Generated Node #0,2,1: 14:[39, 0] Operation: 36-36=0
Exploring Operation: 36/36=1, Resulting Numbers: [39, 1]
Generated Node #0,2,2: 14:[39, 1] Operation: 36/36=1
Exploring Operation: 39-36=3, Resulting Numbers: [36, 3]
Generated Node #0,2,3: 14:[36, 3] Operation: 39-36=3
Moving to Node #0,2,0
Current State: 14:[36, 3], Operations: ['41-5=36', '39-36=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 36*3=108, Resulting Numbers: [108]
108,14 unequal: No Solution
Moving to Node #0,2,3
Current State: 14:[36, 3], Operations: ['41-5=36', '39-36=3']
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 36*3=108, Resulting Numbers: [108]
108,14 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[39, 1], Operations: ['41-5=36', '36/36=1']
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[39, 0], Operations: ['41-5=36', '36-36=0']
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 39-0=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 39*0=0, Resulting Numbers: [0]
0,14 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 |
[
72,
47,
29,
64
] | 26 | [
"72+47=119",
"29+64=93",
"119-93=26"
] | Current State: 26:[72, 47, 29, 64], Operations: []
Exploring Operation: 72+47=119, Resulting Numbers: [29, 64, 119]
Generated Node #2: [29, 64, 119] from Operation: 72+47=119
Current State: 26:[29, 64, 119], Operations: ['72+47=119']
Exploring Operation: 29+64=93, Resulting Numbers: [119, 93]
Generated Node #3: [119, 93] from Operation: 29+64=93
Current State: 26:[119, 93], Operations: ['72+47=119', '29+64=93']
Exploring Operation: 119-93=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[72, 47, 29, 64], Operations: []
Exploring Operation: 64-47=17, Resulting Numbers: [72, 29, 17]
Generated Node #0,0: 26:[72, 29, 17] Operation: 64-47=17
Exploring Operation: 72-64=8, Resulting Numbers: [47, 29, 8]
Generated Node #0,1: 26:[47, 29, 8] Operation: 72-64=8
Exploring Operation: 72-47=25, Resulting Numbers: [29, 64, 25]
Generated Node #0,2: 26:[29, 64, 25] Operation: 72-47=25
Moving to Node #0,1
Current State: 26:[47, 29, 8], Operations: ['72-64=8']
Exploring Operation: 47-29=18, Resulting Numbers: [8, 18]
Generated Node #0,1,0: 26:[8, 18] Operation: 47-29=18
Exploring Operation: 47-8=39, Resulting Numbers: [29, 39]
Generated Node #0,1,1: 26:[29, 39] Operation: 47-8=39
Exploring Operation: 29-8=21, Resulting Numbers: [47, 21]
Generated Node #0,1,2: 26:[47, 21] Operation: 29-8=21
Moving to Node #0,2
Current State: 26:[29, 64, 25], Operations: ['72-47=25']
Exploring Operation: 64-25=39, Resulting Numbers: [29, 39]
Generated Node #0,2,0: 26:[29, 39] Operation: 64-25=39
Exploring Operation: 64-29=35, Resulting Numbers: [25, 35]
Generated Node #0,2,1: 26:[25, 35] Operation: 64-29=35
Exploring Operation: 29-25=4, Resulting Numbers: [64, 4]
Generated Node #0,2,2: 26:[64, 4] Operation: 29-25=4
Moving to Node #0,0
Current State: 26:[72, 29, 17], Operations: ['64-47=17']
Exploring Operation: 29-17=12, Resulting Numbers: [72, 12]
Generated Node #0,0,0: 26:[72, 12] Operation: 29-17=12
Exploring Operation: 72-29=43, Resulting Numbers: [17, 43]
Generated Node #0,0,1: 26:[17, 43] Operation: 72-29=43
Exploring Operation: 72-17=55, Resulting Numbers: [29, 55]
Generated Node #0,0,2: 26:[29, 55] Operation: 72-17=55
Moving to Node #0,1,0
Current State: 26:[8, 18], Operations: ['72-64=8', '47-29=18']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,26 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[72, 47, 29, 64], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [47, 29, 8]
Generated Node #0,1: 26:[47, 29, 8] Operation: 72-64=8
Moving to Node #0,1
Current State: 26:[47, 29, 8], Operations: ['72-64=8']
Exploring Operation: 47-29=18, Resulting Numbers: [8, 18]
Generated Node #0,1,0: 26:[8, 18] Operation: 47-29=18
Moving to Node #0,1,0
Current State: 26:[8, 18], Operations: ['72-64=8', '47-29=18']
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.983507 | hs_3 | sum_heuristic |
[
72,
57,
75,
63
] | 27 | [
"72-57=15",
"75-63=12",
"15+12=27"
] | Current State: 27:[72, 57, 75, 63], Operations: []
Exploring Operation: 72-57=15, Resulting Numbers: [75, 63, 15]
Generated Node #2: [75, 63, 15] from Operation: 72-57=15
Current State: 27:[75, 63, 15], Operations: ['72-57=15']
Exploring Operation: 75-63=12, Resulting Numbers: [15, 12]
Generated Node #3: [15, 12] from Operation: 75-63=12
Current State: 27:[15, 12], Operations: ['72-57=15', '75-63=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[72, 57, 75, 63], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [57, 75, 9]
Generated Node #0,0: 27:[57, 75, 9] Operation: 72-63=9
Exploring Operation: 75-63=12, Resulting Numbers: [72, 57, 12]
Generated Node #0,1: 27:[72, 57, 12] Operation: 75-63=12
Exploring Operation: 75-72=3, Resulting Numbers: [57, 63, 3]
Generated Node #0,2: 27:[57, 63, 3] Operation: 75-72=3
Exploring Operation: 72-57=15, Resulting Numbers: [75, 63, 15]
Generated Node #0,3: 27:[75, 63, 15] Operation: 72-57=15
Exploring Operation: 75-57=18, Resulting Numbers: [72, 63, 18]
Generated Node #0,4: 27:[72, 63, 18] Operation: 75-57=18
Moving to Node #0,2
Current State: 27:[57, 63, 3], Operations: ['75-72=3']
Exploring Operation: 63-57=6, Resulting Numbers: [3, 6]
Generated Node #0,2,0: 27:[3, 6] Operation: 63-57=6
Exploring Operation: 63-3=60, Resulting Numbers: [57, 60]
Generated Node #0,2,1: 27:[57, 60] Operation: 63-3=60
Exploring Operation: 57-3=54, Resulting Numbers: [63, 54]
Generated Node #0,2,2: 27:[63, 54] Operation: 57-3=54
Exploring Operation: 63/3=21, Resulting Numbers: [57, 21]
Generated Node #0,2,3: 27:[57, 21] Operation: 63/3=21
Exploring Operation: 57/3=19, Resulting Numbers: [63, 19]
Generated Node #0,2,4: 27:[63, 19] Operation: 57/3=19
Moving to Node #0,1
Current State: 27:[72, 57, 12], Operations: ['75-63=12']
Exploring Operation: 57-12=45, Resulting Numbers: [72, 45]
Generated Node #0,1,0: 27:[72, 45] Operation: 57-12=45
Exploring Operation: 72-57=15, Resulting Numbers: [12, 15]
Generated Node #0,1,1: 27:[12, 15] Operation: 72-57=15
Exploring Operation: 72+12=84, Resulting Numbers: [57, 84]
Generated Node #0,1,2: 27:[57, 84] Operation: 72+12=84
Exploring Operation: 72/12=6, Resulting Numbers: [57, 6]
Generated Node #0,1,3: 27:[57, 6] Operation: 72/12=6
Exploring Operation: 72-12=60, Resulting Numbers: [57, 60]
Generated Node #0,1,4: 27:[57, 60] Operation: 72-12=60
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[12, 15], Operations: ['75-63=12', '72-57=15']
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,27 unequal: No Solution
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[72, 57, 75, 63], Operations: []
Exploring Operation: 75-63=12, Resulting Numbers: [72, 57, 12]
Generated Node #0,1: 27:[72, 57, 12] Operation: 75-63=12
Moving to Node #0,1
Current State: 27:[72, 57, 12], Operations: ['75-63=12']
Exploring Operation: 72-57=15, Resulting Numbers: [12, 15]
Generated Node #0,1,1: 27:[12, 15] Operation: 72-57=15
Moving to Node #0,1,1
Current State: 27:[12, 15], Operations: ['75-63=12', '72-57=15']
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
26,
21,
63,
87
] | 23 | [
"26+21=47",
"87-63=24",
"47-24=23"
] | Current State: 23:[26, 21, 63, 87], Operations: []
Exploring Operation: 26+21=47, Resulting Numbers: [63, 87, 47]
Generated Node #2: [63, 87, 47] from Operation: 26+21=47
Current State: 23:[63, 87, 47], Operations: ['26+21=47']
Exploring Operation: 87-63=24, Resulting Numbers: [47, 24]
Generated Node #3: [47, 24] from Operation: 87-63=24
Current State: 23:[47, 24], Operations: ['26+21=47', '87-63=24']
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[26, 21, 63, 87], Operations: []
Exploring Operation: 87-21=66, Resulting Numbers: [26, 63, 66]
Generated Node #0,0: 23:[26, 63, 66] Operation: 87-21=66
Exploring Operation: 87-63=24, Resulting Numbers: [26, 21, 24]
Generated Node #0,1: 23:[26, 21, 24] Operation: 87-63=24
Exploring Operation: 63-26=37, Resulting Numbers: [21, 87, 37]
Generated Node #0,2: 23:[21, 87, 37] Operation: 63-26=37
Exploring Operation: 87-26=61, Resulting Numbers: [21, 63, 61]
Generated Node #0,3: 23:[21, 63, 61] Operation: 87-26=61
Exploring Operation: 63-21=42, Resulting Numbers: [26, 87, 42]
Generated Node #0,4: 23:[26, 87, 42] Operation: 63-21=42
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[26, 21, 24], Operations: ['87-63=24']
Exploring Operation: 21+24=45, Resulting Numbers: [26, 45]
Generated Node #0,1,0: 23:[26, 45] Operation: 21+24=45
Exploring Operation: 26-24=2, Resulting Numbers: [21, 2]
Generated Node #0,1,1: 23:[21, 2] Operation: 26-24=2
Exploring Operation: 26-21=5, Resulting Numbers: [24, 5]
Generated Node #0,1,2: 23:[24, 5] Operation: 26-21=5
Exploring Operation: 24-21=3, Resulting Numbers: [26, 3]
Generated Node #0,1,3: 23:[26, 3] Operation: 24-21=3
Exploring Operation: 26+21=47, Resulting Numbers: [24, 47]
Generated Node #0,1,4: 23:[24, 47] Operation: 26+21=47
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 23:[24, 5], Operations: ['87-63=24', '26-21=5']
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 24*5=120, Resulting Numbers: [120]
120,23 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,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,1,1
Current State: 23:[21, 2], Operations: ['87-63=24', '26-24=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[26, 21, 63, 87], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [26, 21, 24]
Generated Node #0,1: 23:[26, 21, 24] Operation: 87-63=24
Moving to Node #0,1
Current State: 23:[26, 21, 24], Operations: ['87-63=24']
Exploring Operation: 26-24=2, Resulting Numbers: [21, 2]
Generated Node #0,1,1: 23:[21, 2] Operation: 26-24=2
Moving to Node #0,1,1
Current State: 23:[21, 2], Operations: ['87-63=24', '26-24=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
36,
50,
98,
52
] | 67 | [
"36+98=134",
"52-50=2",
"134/2=67"
] | Current State: 67:[36, 50, 98, 52], Operations: []
Exploring Operation: 36+98=134, Resulting Numbers: [50, 52, 134]
Generated Node #2: [50, 52, 134] from Operation: 36+98=134
Current State: 67:[50, 52, 134], Operations: ['36+98=134']
Exploring Operation: 52-50=2, Resulting Numbers: [134, 2]
Generated Node #3: [134, 2] from Operation: 52-50=2
Current State: 67:[134, 2], Operations: ['36+98=134', '52-50=2']
Exploring Operation: 134/2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[36, 50, 98, 52], Operations: []
Exploring Operation: 98-50=48, Resulting Numbers: [36, 52, 48]
Generated Node #0,0: 67:[36, 52, 48] Operation: 98-50=48
Exploring Operation: 36+52=88, Resulting Numbers: [50, 98, 88]
Generated Node #0,1: 67:[50, 98, 88] Operation: 36+52=88
Exploring Operation: 98-36=62, Resulting Numbers: [50, 52, 62]
Generated Node #0,2: 67:[50, 52, 62] Operation: 98-36=62
Exploring Operation: 98-52=46, Resulting Numbers: [36, 50, 46]
Generated Node #0,3: 67:[36, 50, 46] Operation: 98-52=46
Exploring Operation: 36+50=86, Resulting Numbers: [98, 52, 86]
Generated Node #0,4: 67:[98, 52, 86] Operation: 36+50=86
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[50, 52, 62], Operations: ['98-36=62']
Exploring Operation: 62-50=12, Resulting Numbers: [52, 12]
Generated Node #0,2,0: 67:[52, 12] Operation: 62-50=12
Exploring Operation: 52+62=114, Resulting Numbers: [50, 114]
Generated Node #0,2,1: 67:[50, 114] Operation: 52+62=114
Exploring Operation: 50+62=112, Resulting Numbers: [52, 112]
Generated Node #0,2,2: 67:[52, 112] Operation: 50+62=112
Exploring Operation: 52-50=2, Resulting Numbers: [62, 2]
Generated Node #0,2,3: 67:[62, 2] Operation: 52-50=2
Exploring Operation: 50+52=102, Resulting Numbers: [62, 102]
Generated Node #0,2,4: 67:[62, 102] Operation: 50+52=102
Moving to Node #0,2,4
Current State: 67:[62, 102], Operations: ['98-36=62', '50+52=102']
Exploring Operation: 62*102=6324, Resulting Numbers: [6324]
6324,67 unequal: No Solution
Exploring Operation: 102-62=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 62+102=164, Resulting Numbers: [164]
164,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[52, 112], Operations: ['98-36=62', '50+62=112']
Exploring Operation: 52+112=164, Resulting Numbers: [164]
164,67 unequal: No Solution
Exploring Operation: 112-52=60, Resulting Numbers: [60]
60,67 unequal: No Solution
Exploring Operation: 52*112=5824, Resulting Numbers: [5824]
5824,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[50, 114], Operations: ['98-36=62', '52+62=114']
Exploring Operation: 50+114=164, Resulting Numbers: [164]
164,67 unequal: No Solution
Exploring Operation: 114-50=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 50*114=5700, Resulting Numbers: [5700]
5700,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[52, 12], Operations: ['98-36=62', '62-50=12']
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 52*12=624, Resulting Numbers: [624]
624,67 unequal: No Solution
Exploring Operation: 52+12=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[62, 2], Operations: ['98-36=62', '52-50=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,67 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,67 unequal: No Solution
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[36, 52, 48], Operations: ['98-50=48']
Exploring Operation: 52+48=100, Resulting Numbers: [36, 100]
Generated Node #0,0,0: 67:[36, 100] Operation: 52+48=100
Exploring Operation: 52-36=16, Resulting Numbers: [48, 16]
Generated Node #0,0,1: 67:[48, 16] Operation: 52-36=16
Exploring Operation: 48-36=12, Resulting Numbers: [52, 12]
Generated Node #0,0,2: 67:[52, 12] Operation: 48-36=12
Exploring Operation: 36+52=88, Resulting Numbers: [48, 88]
Generated Node #0,0,3: 67:[48, 88] Operation: 36+52=88
Exploring Operation: 36+48=84, Resulting Numbers: [52, 84]
Generated Node #0,0,4: 67:[52, 84] Operation: 36+48=84
Moving to Node #0,0,4
Current State: 67:[52, 84], Operations: ['98-50=48', '36+48=84']
Exploring Operation: 52+84=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 52*84=4368, Resulting Numbers: [4368]
4368,67 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[48, 88], Operations: ['98-50=48', '36+52=88']
Exploring Operation: 48+88=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 88-48=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 48*88=4224, Resulting Numbers: [4224]
4224,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[36, 100], Operations: ['98-50=48', '52+48=100']
Exploring Operation: 100-36=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 36*100=3600, Resulting Numbers: [3600]
3600,67 unequal: No Solution
Exploring Operation: 36+100=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[48, 16], Operations: ['98-50=48', '52-36=16']
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,67 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[52, 12], Operations: ['98-50=48', '48-36=12']
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 52*12=624, Resulting Numbers: [624]
624,67 unequal: No Solution
Exploring Operation: 52+12=64, Resulting Numbers: [64]
64,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 67:[98, 52, 86], Operations: ['36+50=86']
Exploring Operation: 52+86=138, Resulting Numbers: [98, 138]
Generated Node #0,4,0: 67:[98, 138] Operation: 52+86=138
Exploring Operation: 86-52=34, Resulting Numbers: [98, 34]
Generated Node #0,4,1: 67:[98, 34] Operation: 86-52=34
Exploring Operation: 98+52=150, Resulting Numbers: [86, 150]
Generated Node #0,4,2: 67:[86, 150] Operation: 98+52=150
Exploring Operation: 98-52=46, Resulting Numbers: [86, 46]
Generated Node #0,4,3: 67:[86, 46] Operation: 98-52=46
Exploring Operation: 98-86=12, Resulting Numbers: [52, 12]
Generated Node #0,4,4: 67:[52, 12] Operation: 98-86=12
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 67:[86, 46], Operations: ['36+50=86', '98-52=46']
Exploring Operation: 86-46=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 86*46=3956, Resulting Numbers: [3956]
3956,67 unequal: No Solution
Exploring Operation: 86+46=132, Resulting Numbers: [132]
132,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 67:[98, 34], Operations: ['36+50=86', '86-52=34']
Exploring Operation: 98*34=3332, Resulting Numbers: [3332]
3332,67 unequal: No Solution
Exploring Operation: 98-34=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 98+34=132, Resulting Numbers: [132]
132,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 67:[52, 12], Operations: ['36+50=86', '98-86=12']
Exploring Operation: 52+12=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 52*12=624, Resulting Numbers: [624]
624,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 67:[98, 138], Operations: ['36+50=86', '52+86=138']
Exploring Operation: 98+138=236, Resulting Numbers: [236]
236,67 unequal: No Solution
Exploring Operation: 98*138=13524, Resulting Numbers: [13524]
13524,67 unequal: No Solution
Exploring Operation: 138-98=40, Resulting Numbers: [40]
40,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 67:[86, 150], Operations: ['36+50=86', '98+52=150']
Exploring Operation: 150-86=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 86*150=12900, Resulting Numbers: [12900]
12900,67 unequal: No Solution
Exploring Operation: 86+150=236, Resulting Numbers: [236]
236,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[50, 98, 88], Operations: ['36+52=88']
Exploring Operation: 88-50=38, Resulting Numbers: [98, 38]
Generated Node #0,1,0: 67:[98, 38] Operation: 88-50=38
Exploring Operation: 98-50=48, Resulting Numbers: [88, 48]
Generated Node #0,1,1: 67:[88, 48] Operation: 98-50=48
Exploring Operation: 50+98=148, Resulting Numbers: [88, 148]
Generated Node #0,1,2: 67:[88, 148] Operation: 50+98=148
Exploring Operation: 98-88=10, Resulting Numbers: [50, 10]
Generated Node #0,1,3: 67:[50, 10] Operation: 98-88=10
Exploring Operation: 50+88=138, Resulting Numbers: [98, 138]
Generated Node #0,1,4: 67:[98, 138] Operation: 50+88=138
Moving to Node #0,1,1
Current State: 67:[88, 48], Operations: ['36+52=88', '98-50=48']
Exploring Operation: 88-48=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 88+48=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 88*48=4224, Resulting Numbers: [4224]
4224,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[98, 38], Operations: ['36+52=88', '88-50=38']
Exploring Operation: 98*38=3724, Resulting Numbers: [3724]
3724,67 unequal: No Solution
Exploring Operation: 98-38=60, Resulting Numbers: [60]
60,67 unequal: No Solution
Exploring Operation: 98+38=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[50, 10], Operations: ['36+52=88', '98-88=10']
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,67 unequal: No Solution
Exploring Operation: 50*10=500, Resulting Numbers: [500]
500,67 unequal: No Solution
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[88, 148], Operations: ['36+52=88', '50+98=148']
Exploring Operation: 148-88=60, Resulting Numbers: [60]
60,67 unequal: No Solution
Exploring Operation: 88*148=13024, Resulting Numbers: [13024]
13024,67 unequal: No Solution
Exploring Operation: 88+148=236, Resulting Numbers: [236]
236,67 unequal: No Solution
Moving to Node #0,1,4
Current State: 67:[98, 138], Operations: ['36+52=88', '50+88=138']
Exploring Operation: 98*138=13524, Resulting Numbers: [13524]
13524,67 unequal: No Solution
Exploring Operation: 138-98=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 98+138=236, Resulting Numbers: [236]
236,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[36, 50, 46], Operations: ['98-52=46']
Exploring Operation: 46-36=10, Resulting Numbers: [50, 10]
Generated Node #0,3,0: 67:[50, 10] Operation: 46-36=10
Exploring Operation: 50-36=14, Resulting Numbers: [46, 14]
Generated Node #0,3,1: 67:[46, 14] Operation: 50-36=14
Exploring Operation: 36+46=82, Resulting Numbers: [50, 82]
Generated Node #0,3,2: 67:[50, 82] Operation: 36+46=82
Exploring Operation: 36+50=86, Resulting Numbers: [46, 86]
Generated Node #0,3,3: 67:[46, 86] Operation: 36+50=86
Exploring Operation: 50+46=96, Resulting Numbers: [36, 96]
Generated Node #0,3,4: 67:[36, 96] Operation: 50+46=96
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 67:[50, 82], Operations: ['98-52=46', '36+46=82']
Exploring Operation: 50*82=4100, Resulting Numbers: [4100]
4100,67 unequal: No Solution
Exploring Operation: 50+82=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 82-50=32, Resulting Numbers: [32]
32,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 67:[46, 86], Operations: ['98-52=46', '36+50=86']
Exploring Operation: 86-46=40, Resulting Numbers: [40]
40,67 unequal: No Solution
Exploring Operation: 46+86=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 46*86=3956, Resulting Numbers: [3956]
3956,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 67:[36, 96], Operations: ['98-52=46', '50+46=96']
Exploring Operation: 36*96=3456, Resulting Numbers: [3456]
3456,67 unequal: No Solution
Exploring Operation: 36+96=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 96-36=60, Resulting Numbers: [60]
60,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 67:[50, 10], Operations: ['98-52=46', '46-36=10']
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,67 unequal: No Solution
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,67 unequal: No Solution
Exploring Operation: 50*10=500, Resulting Numbers: [500]
500,67 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 67:[46, 14], Operations: ['98-52=46', '50-36=14']
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,67 unequal: No Solution
Exploring Operation: 46*14=644, Resulting Numbers: [644]
644,67 unequal: No Solution
Exploring Operation: 46+14=60, Resulting Numbers: [60]
60,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
39,
3,
33,
63
] | 49 | [
"63-33=30",
"30/3=10",
"39+10=49"
] | Current State: 49:[39, 3, 33, 63], Operations: []
Exploring Operation: 63-33=30, Resulting Numbers: [39, 3, 30]
Generated Node #2: [39, 3, 30] from Operation: 63-33=30
Current State: 49:[39, 3, 30], Operations: ['63-33=30']
Exploring Operation: 30/3=10, Resulting Numbers: [39, 10]
Generated Node #3: [39, 10] from Operation: 30/3=10
Current State: 49:[39, 10], Operations: ['63-33=30', '30/3=10']
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[39, 3, 33, 63], Operations: []
Exploring Operation: 39-33=6, Resulting Numbers: [3, 63, 6]
Generated Node #0,0: 49:[3, 63, 6] Operation: 39-33=6
Moving to Node #0,0
Current State: 49:[3, 63, 6], Operations: ['39-33=6']
Exploring Operation: 63-3=60, Resulting Numbers: [6, 60]
Generated Node #0,0,0: 49:[6, 60] Operation: 63-3=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[6, 60], Operations: ['39-33=6', '63-3=60']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,49 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,
35,
61,
14
] | 52 | [
"16-14=2",
"61-35=26",
"2*26=52"
] | Current State: 52:[16, 35, 61, 14], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [35, 61, 2]
Generated Node #2: [35, 61, 2] from Operation: 16-14=2
Current State: 52:[35, 61, 2], Operations: ['16-14=2']
Exploring Operation: 61-35=26, Resulting Numbers: [2, 26]
Generated Node #3: [2, 26] from Operation: 61-35=26
Current State: 52:[2, 26], Operations: ['16-14=2', '61-35=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[16, 35, 61, 14], Operations: []
Exploring Operation: 61-35=26, Resulting Numbers: [16, 14, 26]
Generated Node #0,0: 52:[16, 14, 26] Operation: 61-35=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[16, 14, 26], Operations: ['61-35=26']
Exploring Operation: 16-14=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 52:[26, 2] Operation: 16-14=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[26, 2], Operations: ['61-35=26', '16-14=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[16, 35, 61, 14], Operations: []
Exploring Operation: 61-35=26, Resulting Numbers: [16, 14, 26]
Generated Node #0,0: 52:[16, 14, 26] Operation: 61-35=26
Moving to Node #0,0
Current State: 52:[16, 14, 26], Operations: ['61-35=26']
Exploring Operation: 16-14=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 52:[26, 2] Operation: 16-14=2
Moving to Node #0,0,0
Current State: 52:[26, 2], Operations: ['61-35=26', '16-14=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
38,
56,
53,
50
] | 85 | [
"56-38=18",
"53+50=103",
"103-18=85"
] | Current State: 85:[38, 56, 53, 50], Operations: []
Exploring Operation: 56-38=18, Resulting Numbers: [53, 50, 18]
Generated Node #2: [53, 50, 18] from Operation: 56-38=18
Current State: 85:[53, 50, 18], Operations: ['56-38=18']
Exploring Operation: 53+50=103, Resulting Numbers: [18, 103]
Generated Node #3: [18, 103] from Operation: 53+50=103
Current State: 85:[18, 103], Operations: ['56-38=18', '53+50=103']
Exploring Operation: 103-18=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[38, 56, 53, 50], Operations: []
Exploring Operation: 56-50=6, Resulting Numbers: [38, 53, 6]
Generated Node #0,0: 85:[38, 53, 6] Operation: 56-50=6
Exploring Operation: 56-53=3, Resulting Numbers: [38, 50, 3]
Generated Node #0,1: 85:[38, 50, 3] Operation: 56-53=3
Exploring Operation: 38+50=88, Resulting Numbers: [56, 53, 88]
Generated Node #0,2: 85:[56, 53, 88] Operation: 38+50=88
Exploring Operation: 53-50=3, Resulting Numbers: [38, 56, 3]
Generated Node #0,3: 85:[38, 56, 3] Operation: 53-50=3
Exploring Operation: 53-38=15, Resulting Numbers: [56, 50, 15]
Generated Node #0,4: 85:[56, 50, 15] Operation: 53-38=15
Moving to Node #0,3
Current State: 85:[38, 56, 3], Operations: ['53-50=3']
Exploring Operation: 56+3=59, Resulting Numbers: [38, 59]
Generated Node #0,3,0: 85:[38, 59] Operation: 56+3=59
Exploring Operation: 56-38=18, Resulting Numbers: [3, 18]
Generated Node #0,3,1: 85:[3, 18] Operation: 56-38=18
Exploring Operation: 38-3=35, Resulting Numbers: [56, 35]
Generated Node #0,3,2: 85:[56, 35] Operation: 38-3=35
Exploring Operation: 38+3=41, Resulting Numbers: [56, 41]
Generated Node #0,3,3: 85:[56, 41] Operation: 38+3=41
Exploring Operation: 38+56=94, Resulting Numbers: [3, 94]
Generated Node #0,3,4: 85:[3, 94] Operation: 38+56=94
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 85:[3, 18], Operations: ['53-50=3', '56-38=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,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,4
Current State: 85:[3, 94], Operations: ['53-50=3', '38+56=94']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,85 unequal: No Solution
Exploring Operation: 3*94=282, Resulting Numbers: [282]
282,85 unequal: No Solution
Exploring Operation: 3+94=97, Resulting Numbers: [97]
97,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,0
Current State: 85:[38, 59], Operations: ['53-50=3', '56+3=59']
Exploring Operation: 38+59=97, Resulting Numbers: [97]
97,85 unequal: No Solution
Exploring Operation: 38*59=2242, Resulting Numbers: [2242]
2242,85 unequal: No Solution
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,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,2
Current State: 85:[56, 35], Operations: ['53-50=3', '38-3=35']
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 56+35=91, Resulting Numbers: [91]
91,85 unequal: No Solution
Exploring Operation: 56*35=1960, Resulting Numbers: [1960]
1960,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,3
Current State: 85:[56, 41], Operations: ['53-50=3', '38+3=41']
Exploring Operation: 56*41=2296, Resulting Numbers: [2296]
2296,85 unequal: No Solution
Exploring Operation: 56-41=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 56+41=97, Resulting Numbers: [97]
97,85 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: 85:[38, 53, 6], Operations: ['56-50=6']
Exploring Operation: 53-38=15, Resulting Numbers: [6, 15]
Generated Node #0,0,0: 85:[6, 15] Operation: 53-38=15
Exploring Operation: 38-6=32, Resulting Numbers: [53, 32]
Generated Node #0,0,1: 85:[53, 32] Operation: 38-6=32
Exploring Operation: 53-6=47, Resulting Numbers: [38, 47]
Generated Node #0,0,2: 85:[38, 47] Operation: 53-6=47
Exploring Operation: 38+53=91, Resulting Numbers: [6, 91]
Generated Node #0,0,3: 85:[6, 91] Operation: 38+53=91
Exploring Operation: 53+6=59, Resulting Numbers: [38, 59]
Generated Node #0,0,4: 85:[38, 59] Operation: 53+6=59
Moving to Node #0,1
Current State: 85:[38, 50, 3], Operations: ['56-53=3']
Exploring Operation: 50+3=53, Resulting Numbers: [38, 53]
Generated Node #0,1,0: 85:[38, 53] Operation: 50+3=53
Exploring Operation: 38+50=88, Resulting Numbers: [3, 88]
Generated Node #0,1,1: 85:[3, 88] Operation: 38+50=88
Exploring Operation: 50-3=47, Resulting Numbers: [38, 47]
Generated Node #0,1,2: 85:[38, 47] Operation: 50-3=47
Exploring Operation: 38-3=35, Resulting Numbers: [50, 35]
Generated Node #0,1,3: 85:[50, 35] Operation: 38-3=35
Exploring Operation: 50-38=12, Resulting Numbers: [3, 12]
Generated Node #0,1,4: 85:[3, 12] Operation: 50-38=12
Moving to Node #0,2
Current State: 85:[56, 53, 88], Operations: ['38+50=88']
Exploring Operation: 56-53=3, Resulting Numbers: [88, 3]
Generated Node #0,2,0: 85:[88, 3] Operation: 56-53=3
Exploring Operation: 53+88=141, Resulting Numbers: [56, 141]
Generated Node #0,2,1: 85:[56, 141] Operation: 53+88=141
Exploring Operation: 88-56=32, Resulting Numbers: [53, 32]
Generated Node #0,2,2: 85:[53, 32] Operation: 88-56=32
Exploring Operation: 56+53=109, Resulting Numbers: [88, 109]
Generated Node #0,2,3: 85:[88, 109] Operation: 56+53=109
Exploring Operation: 88-53=35, Resulting Numbers: [56, 35]
Generated Node #0,2,4: 85:[56, 35] Operation: 88-53=35
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[88, 3], Operations: ['38+50=88', '56-53=3']
Exploring Operation: 88*3=264, Resulting Numbers: [264]
264,85 unequal: No Solution
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,85 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[38, 56, 53, 50], Operations: []
Exploring Operation: 38+50=88, Resulting Numbers: [56, 53, 88]
Generated Node #0,2: 85:[56, 53, 88] Operation: 38+50=88
Moving to Node #0,2
Current State: 85:[56, 53, 88], Operations: ['38+50=88']
Exploring Operation: 56-53=3, Resulting Numbers: [88, 3]
Generated Node #0,2,0: 85:[88, 3] Operation: 56-53=3
Moving to Node #0,2,0
Current State: 85:[88, 3], Operations: ['38+50=88', '56-53=3']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_5 | sum_heuristic |
[
43,
99,
46,
38
] | 71 | [
"46-43=3",
"99/3=33",
"38+33=71"
] | Current State: 71:[43, 99, 46, 38], Operations: []
Exploring Operation: 46-43=3, Resulting Numbers: [99, 38, 3]
Generated Node #2: [99, 38, 3] from Operation: 46-43=3
Current State: 71:[99, 38, 3], Operations: ['46-43=3']
Exploring Operation: 99/3=33, Resulting Numbers: [38, 33]
Generated Node #3: [38, 33] from Operation: 99/3=33
Current State: 71:[38, 33], Operations: ['46-43=3', '99/3=33']
Exploring Operation: 38+33=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[43, 99, 46, 38], Operations: []
Exploring Operation: 43+46=89, Resulting Numbers: [99, 38, 89]
Generated Node #0,0: 71:[99, 38, 89] Operation: 43+46=89
Exploring Operation: 43+38=81, Resulting Numbers: [99, 46, 81]
Generated Node #0,1: 71:[99, 46, 81] Operation: 43+38=81
Exploring Operation: 46+38=84, Resulting Numbers: [43, 99, 84]
Generated Node #0,2: 71:[43, 99, 84] Operation: 46+38=84
Exploring Operation: 99-38=61, Resulting Numbers: [43, 46, 61]
Generated Node #0,3: 71:[43, 46, 61] Operation: 99-38=61
Exploring Operation: 99-43=56, Resulting Numbers: [46, 38, 56]
Generated Node #0,4: 71:[46, 38, 56] Operation: 99-43=56
Moving to Node #0,1
Current State: 71:[99, 46, 81], Operations: ['43+38=81']
Exploring Operation: 46+81=127, Resulting Numbers: [99, 127]
Generated Node #0,1,0: 71:[99, 127] Operation: 46+81=127
Exploring Operation: 81-46=35, Resulting Numbers: [99, 35]
Generated Node #0,1,1: 71:[99, 35] Operation: 81-46=35
Exploring Operation: 99-46=53, Resulting Numbers: [81, 53]
Generated Node #0,1,2: 71:[81, 53] Operation: 99-46=53
Exploring Operation: 99-81=18, Resulting Numbers: [46, 18]
Generated Node #0,1,3: 71:[46, 18] Operation: 99-81=18
Exploring Operation: 99+46=145, Resulting Numbers: [81, 145]
Generated Node #0,1,4: 71:[81, 145] Operation: 99+46=145
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[81, 53], Operations: ['43+38=81', '99-46=53']
Exploring Operation: 81+53=134, Resulting Numbers: [134]
134,71 unequal: No Solution
Exploring Operation: 81*53=4293, Resulting Numbers: [4293]
4293,71 unequal: No Solution
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[99, 35], Operations: ['43+38=81', '81-46=35']
Exploring Operation: 99-35=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 99+35=134, Resulting Numbers: [134]
134,71 unequal: No Solution
Exploring Operation: 99*35=3465, Resulting Numbers: [3465]
3465,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 71:[46, 18], Operations: ['43+38=81', '99-81=18']
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[99, 127], Operations: ['43+38=81', '46+81=127']
Exploring Operation: 99+127=226, Resulting Numbers: [226]
226,71 unequal: No Solution
Exploring Operation: 127-99=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 99*127=12573, Resulting Numbers: [12573]
12573,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 71:[81, 145], Operations: ['43+38=81', '99+46=145']
Exploring Operation: 145-81=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 81*145=11745, Resulting Numbers: [11745]
11745,71 unequal: No Solution
Exploring Operation: 81+145=226, Resulting Numbers: [226]
226,71 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: 71:[43, 46, 61], Operations: ['99-38=61']
Exploring Operation: 46+61=107, Resulting Numbers: [43, 107]
Generated Node #0,3,0: 71:[43, 107] Operation: 46+61=107
Exploring Operation: 46-43=3, Resulting Numbers: [61, 3]
Generated Node #0,3,1: 71:[61, 3] Operation: 46-43=3
Exploring Operation: 61-43=18, Resulting Numbers: [46, 18]
Generated Node #0,3,2: 71:[46, 18] Operation: 61-43=18
Exploring Operation: 43+46=89, Resulting Numbers: [61, 89]
Generated Node #0,3,3: 71:[61, 89] Operation: 43+46=89
Exploring Operation: 43+61=104, Resulting Numbers: [46, 104]
Generated Node #0,3,4: 71:[46, 104] Operation: 43+61=104
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[61, 89], Operations: ['99-38=61', '43+46=89']
Exploring Operation: 89-61=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 61*89=5429, Resulting Numbers: [5429]
5429,71 unequal: No Solution
Exploring Operation: 61+89=150, Resulting Numbers: [150]
150,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 71:[46, 104], Operations: ['99-38=61', '43+61=104']
Exploring Operation: 46+104=150, Resulting Numbers: [150]
150,71 unequal: No Solution
Exploring Operation: 46*104=4784, Resulting Numbers: [4784]
4784,71 unequal: No Solution
Exploring Operation: 104-46=58, Resulting Numbers: [58]
58,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[43, 107], Operations: ['99-38=61', '46+61=107']
Exploring Operation: 107-43=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 43+107=150, Resulting Numbers: [150]
150,71 unequal: No Solution
Exploring Operation: 43*107=4601, Resulting Numbers: [4601]
4601,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[61, 3], Operations: ['99-38=61', '46-43=3']
Exploring Operation: 61+3=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 61*3=183, Resulting Numbers: [183]
183,71 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[46, 18], Operations: ['99-38=61', '61-43=18']
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,71 unequal: No Solution
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 71:[43, 99, 84], Operations: ['46+38=84']
Exploring Operation: 99-84=15, Resulting Numbers: [43, 15]
Generated Node #0,2,0: 71:[43, 15] Operation: 99-84=15
Exploring Operation: 99-43=56, Resulting Numbers: [84, 56]
Generated Node #0,2,1: 71:[84, 56] Operation: 99-43=56
Exploring Operation: 84-43=41, Resulting Numbers: [99, 41]
Generated Node #0,2,2: 71:[99, 41] Operation: 84-43=41
Exploring Operation: 43+99=142, Resulting Numbers: [84, 142]
Generated Node #0,2,3: 71:[84, 142] Operation: 43+99=142
Exploring Operation: 43+84=127, Resulting Numbers: [99, 127]
Generated Node #0,2,4: 71:[99, 127] Operation: 43+84=127
Moving to Node #0,4
Current State: 71:[46, 38, 56], Operations: ['99-43=56']
Exploring Operation: 46+56=102, Resulting Numbers: [38, 102]
Generated Node #0,4,0: 71:[38, 102] Operation: 46+56=102
Exploring Operation: 38+56=94, Resulting Numbers: [46, 94]
Generated Node #0,4,1: 71:[46, 94] Operation: 38+56=94
Exploring Operation: 56-38=18, Resulting Numbers: [46, 18]
Generated Node #0,4,2: 71:[46, 18] Operation: 56-38=18
Exploring Operation: 46-38=8, Resulting Numbers: [56, 8]
Generated Node #0,4,3: 71:[56, 8] Operation: 46-38=8
Exploring Operation: 46+38=84, Resulting Numbers: [56, 84]
Generated Node #0,4,4: 71:[56, 84] Operation: 46+38=84
Moving to Node #0,0
Current State: 71:[99, 38, 89], Operations: ['43+46=89']
Exploring Operation: 99-89=10, Resulting Numbers: [38, 10]
Generated Node #0,0,0: 71:[38, 10] Operation: 99-89=10
Exploring Operation: 99-38=61, Resulting Numbers: [89, 61]
Generated Node #0,0,1: 71:[89, 61] Operation: 99-38=61
Exploring Operation: 38+89=127, Resulting Numbers: [99, 127]
Generated Node #0,0,2: 71:[99, 127] Operation: 38+89=127
Exploring Operation: 99+38=137, Resulting Numbers: [89, 137]
Generated Node #0,0,3: 71:[89, 137] Operation: 99+38=137
Exploring Operation: 89-38=51, Resulting Numbers: [99, 51]
Generated Node #0,0,4: 71:[99, 51] Operation: 89-38=51
Moving to Node #0,2,1
Current State: 71:[84, 56], Operations: ['46+38=84', '99-43=56']
Exploring Operation: 84+56=140, Resulting Numbers: [140]
140,71 unequal: No Solution
Exploring Operation: 84-56=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 84*56=4704, Resulting Numbers: [4704]
4704,71 unequal: No Solution
Moving to Node #0,4,4
Current State: 71:[56, 84], Operations: ['99-43=56', '46+38=84']
Exploring Operation: 84-56=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 56*84=4704, Resulting Numbers: [4704]
4704,71 unequal: No Solution
Exploring Operation: 56+84=140, Resulting Numbers: [140]
140,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[89, 61], Operations: ['43+46=89', '99-38=61']
Exploring Operation: 89+61=150, Resulting Numbers: [150]
150,71 unequal: No Solution
Exploring Operation: 89-61=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 89*61=5429, Resulting Numbers: [5429]
5429,71 unequal: No Solution
Moving to Node #0,4,1
Current State: 71:[46, 94], Operations: ['99-43=56', '38+56=94']
Exploring Operation: 94-46=48, Resulting Numbers: [48]
48,71 unequal: No Solution
Exploring Operation: 46*94=4324, Resulting Numbers: [4324]
4324,71 unequal: No Solution
Exploring Operation: 46+94=140, Resulting Numbers: [140]
140,71 unequal: No Solution
Moving to Node #0,0,4
Current State: 71:[99, 51], Operations: ['43+46=89', '89-38=51']
Exploring Operation: 99*51=5049, Resulting Numbers: [5049]
5049,71 unequal: No Solution
Exploring Operation: 99+51=150, Resulting Numbers: [150]
150,71 unequal: No Solution
Exploring Operation: 99-51=48, Resulting Numbers: [48]
48,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[99, 41], Operations: ['46+38=84', '84-43=41']
Exploring Operation: 99*41=4059, Resulting Numbers: [4059]
4059,71 unequal: No Solution
Exploring Operation: 99+41=140, Resulting Numbers: [140]
140,71 unequal: No Solution
Exploring Operation: 99-41=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Moving to Node #0,4,0
Current State: 71:[38, 102], Operations: ['99-43=56', '46+56=102']
Exploring Operation: 38*102=3876, Resulting Numbers: [3876]
3876,71 unequal: No Solution
Exploring Operation: 102-38=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 38+102=140, Resulting Numbers: [140]
140,71 unequal: No Solution
Moving to Node #0,4,3
Current State: 71:[56, 8], Operations: ['99-43=56', '46-38=8']
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 56*8=448, Resulting Numbers: [448]
448,71 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,71 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Moving to Node #0,4,2
Current State: 71:[46, 18], Operations: ['99-43=56', '56-38=18']
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,71 unequal: No Solution
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[89, 137], Operations: ['43+46=89', '99+38=137']
Exploring Operation: 89*137=12193, Resulting Numbers: [12193]
12193,71 unequal: No Solution
Exploring Operation: 89+137=226, Resulting Numbers: [226]
226,71 unequal: No Solution
Exploring Operation: 137-89=48, Resulting Numbers: [48]
48,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[43, 15], Operations: ['46+38=84', '99-84=15']
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 43*15=645, Resulting Numbers: [645]
645,71 unequal: No Solution
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[99, 127], Operations: ['43+46=89', '38+89=127']
Exploring Operation: 99+127=226, Resulting Numbers: [226]
226,71 unequal: No Solution
Exploring Operation: 99*127=12573, Resulting Numbers: [12573]
12573,71 unequal: No Solution
Exploring Operation: 127-99=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Moving to Node #0,2,4
Current State: 71:[99, 127], Operations: ['46+38=84', '43+84=127']
Exploring Operation: 127-99=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 99*127=12573, Resulting Numbers: [12573]
12573,71 unequal: No Solution
Exploring Operation: 99+127=226, Resulting Numbers: [226]
226,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[84, 142], Operations: ['46+38=84', '43+99=142']
Exploring Operation: 84*142=11928, Resulting Numbers: [11928]
11928,71 unequal: No Solution
Exploring Operation: 84+142=226, Resulting Numbers: [226]
226,71 unequal: No Solution
Exploring Operation: 142-84=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[38, 10], Operations: ['43+46=89', '99-89=10']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,71 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,71 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
30,
15,
31,
62
] | 45 | [
"30*62=1860",
"1860/31=60",
"60-15=45"
] | Current State: 45:[30, 15, 31, 62], Operations: []
Exploring Operation: 30*62=1860, Resulting Numbers: [15, 31, 1860]
Generated Node #2: [15, 31, 1860] from Operation: 30*62=1860
Current State: 45:[15, 31, 1860], Operations: ['30*62=1860']
Exploring Operation: 1860/31=60, Resulting Numbers: [15, 60]
Generated Node #3: [15, 60] from Operation: 1860/31=60
Current State: 45:[15, 60], Operations: ['30*62=1860', '1860/31=60']
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[30, 15, 31, 62], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [30, 15, 2]
Generated Node #0,0: 45:[30, 15, 2] Operation: 62/31=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[30, 15, 2], Operations: ['62/31=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15, 15]
Generated Node #0,0,0: 45:[15, 15] Operation: 30/2=15
Moving to Node #0,0,0
Current State: 45:[15, 15], Operations: ['62/31=2', '30/2=15']
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,45 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 |
[
20,
38,
17,
80
] | 25 | [
"80/20=4",
"38-17=21",
"4+21=25"
] | Current State: 25:[20, 38, 17, 80], Operations: []
Exploring Operation: 80/20=4, Resulting Numbers: [38, 17, 4]
Generated Node #2: [38, 17, 4] from Operation: 80/20=4
Current State: 25:[38, 17, 4], Operations: ['80/20=4']
Exploring Operation: 38-17=21, Resulting Numbers: [4, 21]
Generated Node #3: [4, 21] from Operation: 38-17=21
Current State: 25:[4, 21], Operations: ['80/20=4', '38-17=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[20, 38, 17, 80], Operations: []
Exploring Operation: 80-38=42, Resulting Numbers: [20, 17, 42]
Generated Node #0,0: 25:[20, 17, 42] Operation: 80-38=42
Exploring Operation: 80-17=63, Resulting Numbers: [20, 38, 63]
Generated Node #0,1: 25:[20, 38, 63] Operation: 80-17=63
Exploring Operation: 80/20=4, Resulting Numbers: [38, 17, 4]
Generated Node #0,2: 25:[38, 17, 4] Operation: 80/20=4
Exploring Operation: 38-17=21, Resulting Numbers: [20, 80, 21]
Generated Node #0,3: 25:[20, 80, 21] Operation: 38-17=21
Exploring Operation: 80-20=60, Resulting Numbers: [38, 17, 60]
Generated Node #0,4: 25:[38, 17, 60] Operation: 80-20=60
Moving to Node #0,2
Current State: 25:[38, 17, 4], Operations: ['80/20=4']
Exploring Operation: 38-17=21, Resulting Numbers: [4, 21]
Generated Node #0,2,0: 25:[4, 21] Operation: 38-17=21
Exploring Operation: 38-4=34, Resulting Numbers: [17, 34]
Generated Node #0,2,1: 25:[17, 34] Operation: 38-4=34
Exploring Operation: 17+4=21, Resulting Numbers: [38, 21]
Generated Node #0,2,2: 25:[38, 21] Operation: 17+4=21
Exploring Operation: 17-4=13, Resulting Numbers: [38, 13]
Generated Node #0,2,3: 25:[38, 13] Operation: 17-4=13
Exploring Operation: 38+4=42, Resulting Numbers: [17, 42]
Generated Node #0,2,4: 25:[17, 42] Operation: 38+4=42
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[4, 21], Operations: ['80/20=4', '38-17=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[20, 38, 17, 80], Operations: []
Exploring Operation: 80/20=4, Resulting Numbers: [38, 17, 4]
Generated Node #0,2: 25:[38, 17, 4] Operation: 80/20=4
Moving to Node #0,2
Current State: 25:[38, 17, 4], Operations: ['80/20=4']
Exploring Operation: 38-17=21, Resulting Numbers: [4, 21]
Generated Node #0,2,0: 25:[4, 21] Operation: 38-17=21
Moving to Node #0,2,0
Current State: 25:[4, 21], Operations: ['80/20=4', '38-17=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
76,
62,
74,
45
] | 72 | [
"76-45=31",
"62/31=2",
"74-2=72"
] | Current State: 72:[76, 62, 74, 45], Operations: []
Exploring Operation: 76-45=31, Resulting Numbers: [62, 74, 31]
Generated Node #2: [62, 74, 31] from Operation: 76-45=31
Current State: 72:[62, 74, 31], Operations: ['76-45=31']
Exploring Operation: 62/31=2, Resulting Numbers: [74, 2]
Generated Node #3: [74, 2] from Operation: 62/31=2
Current State: 72:[74, 2], Operations: ['76-45=31', '62/31=2']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[76, 62, 74, 45], Operations: []
Exploring Operation: 76-62=14, Resulting Numbers: [74, 45, 14]
Generated Node #0,0: 72:[74, 45, 14] Operation: 76-62=14
Exploring Operation: 62-45=17, Resulting Numbers: [76, 74, 17]
Generated Node #0,1: 72:[76, 74, 17] Operation: 62-45=17
Moving to Node #0,1
Current State: 72:[76, 74, 17], Operations: ['62-45=17']
Exploring Operation: 76-74=2, Resulting Numbers: [17, 2]
Generated Node #0,1,0: 72:[17, 2] Operation: 76-74=2
Exploring Operation: 76-17=59, Resulting Numbers: [74, 59]
Generated Node #0,1,1: 72:[74, 59] Operation: 76-17=59
Moving to Node #0,0
Current State: 72:[74, 45, 14], Operations: ['76-62=14']
Exploring Operation: 74-45=29, Resulting Numbers: [14, 29]
Generated Node #0,0,0: 72:[14, 29] Operation: 74-45=29
Exploring Operation: 45-14=31, Resulting Numbers: [74, 31]
Generated Node #0,0,1: 72:[74, 31] Operation: 45-14=31
Moving to Node #0,1,0
Current State: 72:[17, 2], Operations: ['62-45=17', '76-74=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[14, 29], Operations: ['76-62=14', '74-45=29']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,72 unequal: No Solution
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[74, 31], Operations: ['76-62=14', '45-14=31']
Exploring Operation: 74-31=43, Resulting Numbers: [43]
43,72 unequal: No Solution
Exploring Operation: 74+31=105, Resulting Numbers: [105]
105,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[74, 59], Operations: ['62-45=17', '76-17=59']
Exploring Operation: 74+59=133, Resulting Numbers: [133]
133,72 unequal: No Solution
Exploring Operation: 74-59=15, Resulting Numbers: [15]
15,72 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
6,
40,
38,
70
] | 43 | [
"70-40=30",
"30/6=5",
"38+5=43"
] | Current State: 43:[6, 40, 38, 70], Operations: []
Exploring Operation: 70-40=30, Resulting Numbers: [6, 38, 30]
Generated Node #2: [6, 38, 30] from Operation: 70-40=30
Current State: 43:[6, 38, 30], Operations: ['70-40=30']
Exploring Operation: 30/6=5, Resulting Numbers: [38, 5]
Generated Node #3: [38, 5] from Operation: 30/6=5
Current State: 43:[38, 5], Operations: ['70-40=30', '30/6=5']
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[6, 40, 38, 70], Operations: []
Exploring Operation: 6+40=46, Resulting Numbers: [38, 70, 46]
Generated Node #0,0: 43:[38, 70, 46] Operation: 6+40=46
Exploring Operation: 70-6=64, Resulting Numbers: [40, 38, 64]
Generated Node #0,1: 43:[40, 38, 64] Operation: 70-6=64
Exploring Operation: 40-6=34, Resulting Numbers: [38, 70, 34]
Generated Node #0,2: 43:[38, 70, 34] Operation: 40-6=34
Exploring Operation: 6+38=44, Resulting Numbers: [40, 70, 44]
Generated Node #0,3: 43:[40, 70, 44] Operation: 6+38=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[40, 38, 64], Operations: ['70-6=64']
Exploring Operation: 64-40=24, Resulting Numbers: [38, 24]
Generated Node #0,1,0: 43:[38, 24] Operation: 64-40=24
Exploring Operation: 40+38=78, Resulting Numbers: [64, 78]
Generated Node #0,1,1: 43:[64, 78] Operation: 40+38=78
Exploring Operation: 64-38=26, Resulting Numbers: [40, 26]
Generated Node #0,1,2: 43:[40, 26] Operation: 64-38=26
Exploring Operation: 40-38=2, Resulting Numbers: [64, 2]
Generated Node #0,1,3: 43:[64, 2] Operation: 40-38=2
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 43:[40, 26], Operations: ['70-6=64', '64-38=26']
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 40*26=1040, Resulting Numbers: [1040]
1040,43 unequal: No Solution
No 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: 43:[38, 24], Operations: ['70-6=64', '64-40=24']
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,43 unequal: No Solution
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,43 unequal: No Solution
No 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: 43:[64, 78], Operations: ['70-6=64', '40+38=78']
Exploring Operation: 64*78=4992, Resulting Numbers: [4992]
4992,43 unequal: No Solution
Exploring Operation: 78-64=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 64+78=142, Resulting Numbers: [142]
142,43 unequal: No Solution
No 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: 43:[64, 2], Operations: ['70-6=64', '40-38=2']
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,43 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,43 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: 43:[40, 70, 44], Operations: ['6+38=44']
Exploring Operation: 70-40=30, Resulting Numbers: [44, 30]
Generated Node #0,3,0: 43:[44, 30] Operation: 70-40=30
Exploring Operation: 44-40=4, Resulting Numbers: [70, 4]
Generated Node #0,3,1: 43:[70, 4] Operation: 44-40=4
Exploring Operation: 40+70=110, Resulting Numbers: [44, 110]
Generated Node #0,3,2: 43:[44, 110] Operation: 40+70=110
Exploring Operation: 70-44=26, Resulting Numbers: [40, 26]
Generated Node #0,3,3: 43:[40, 26] Operation: 70-44=26
Moving to Node #0,3,0
Current State: 43:[44, 30], Operations: ['6+38=44', '70-40=30']
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,43 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[40, 26], Operations: ['6+38=44', '70-44=26']
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 40*26=1040, Resulting Numbers: [1040]
1040,43 unequal: No Solution
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[70, 4], Operations: ['6+38=44', '44-40=4']
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,43 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Moving to Node #0,3,2
Current State: 43:[44, 110], Operations: ['6+38=44', '40+70=110']
Exploring Operation: 44*110=4840, Resulting Numbers: [4840]
4840,43 unequal: No Solution
Exploring Operation: 110-44=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 44+110=154, Resulting Numbers: [154]
154,43 unequal: No Solution
No 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: 43:[38, 70, 46], Operations: ['6+40=46']
Exploring Operation: 38+70=108, Resulting Numbers: [46, 108]
Generated Node #0,0,0: 43:[46, 108] Operation: 38+70=108
Exploring Operation: 70-38=32, Resulting Numbers: [46, 32]
Generated Node #0,0,1: 43:[46, 32] Operation: 70-38=32
Exploring Operation: 46-38=8, Resulting Numbers: [70, 8]
Generated Node #0,0,2: 43:[70, 8] Operation: 46-38=8
Exploring Operation: 70-46=24, Resulting Numbers: [38, 24]
Generated Node #0,0,3: 43:[38, 24] Operation: 70-46=24
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[46, 32], Operations: ['6+40=46', '70-38=32']
Exploring Operation: 46*32=1472, Resulting Numbers: [1472]
1472,43 unequal: No Solution
Exploring Operation: 46+32=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,43 unequal: No Solution
No 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: 43:[38, 24], Operations: ['6+40=46', '70-46=24']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,43 unequal: No Solution
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,43 unequal: No Solution
No 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: 43:[70, 8], Operations: ['6+40=46', '46-38=8']
Exploring Operation: 70*8=560, Resulting Numbers: [560]
560,43 unequal: No Solution
Exploring Operation: 70+8=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,43 unequal: No Solution
No 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: 43:[46, 108], Operations: ['6+40=46', '38+70=108']
Exploring Operation: 46+108=154, Resulting Numbers: [154]
154,43 unequal: No Solution
Exploring Operation: 108-46=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 46*108=4968, Resulting Numbers: [4968]
4968,43 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: 43:[38, 70, 34], Operations: ['40-6=34']
Exploring Operation: 70-34=36, Resulting Numbers: [38, 36]
Generated Node #0,2,0: 43:[38, 36] Operation: 70-34=36
Exploring Operation: 70-38=32, Resulting Numbers: [34, 32]
Generated Node #0,2,1: 43:[34, 32] Operation: 70-38=32
Exploring Operation: 38-34=4, Resulting Numbers: [70, 4]
Generated Node #0,2,2: 43:[70, 4] Operation: 38-34=4
Exploring Operation: 38+34=72, Resulting Numbers: [70, 72]
Generated Node #0,2,3: 43:[70, 72] Operation: 38+34=72
Moving to Node #0,2,0
Current State: 43:[38, 36], Operations: ['40-6=34', '70-34=36']
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[34, 32], Operations: ['40-6=34', '70-38=32']
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 34*32=1088, Resulting Numbers: [1088]
1088,43 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[70, 72], Operations: ['40-6=34', '38+34=72']
Exploring Operation: 70*72=5040, Resulting Numbers: [5040]
5040,43 unequal: No Solution
Exploring Operation: 70+72=142, Resulting Numbers: [142]
142,43 unequal: No Solution
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[70, 4], Operations: ['40-6=34', '38-34=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,43 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 |
[
50,
90,
26,
25
] | 89 | [
"50+90=140",
"26+25=51",
"140-51=89"
] | Current State: 89:[50, 90, 26, 25], Operations: []
Exploring Operation: 50+90=140, Resulting Numbers: [26, 25, 140]
Generated Node #2: [26, 25, 140] from Operation: 50+90=140
Current State: 89:[26, 25, 140], Operations: ['50+90=140']
Exploring Operation: 26+25=51, Resulting Numbers: [140, 51]
Generated Node #3: [140, 51] from Operation: 26+25=51
Current State: 89:[140, 51], Operations: ['50+90=140', '26+25=51']
Exploring Operation: 140-51=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[50, 90, 26, 25], Operations: []
Exploring Operation: 26+25=51, Resulting Numbers: [50, 90, 51]
Generated Node #0,0: 89:[50, 90, 51] Operation: 26+25=51
Exploring Operation: 50+25=75, Resulting Numbers: [90, 26, 75]
Generated Node #0,1: 89:[90, 26, 75] Operation: 50+25=75
Exploring Operation: 50+26=76, Resulting Numbers: [90, 25, 76]
Generated Node #0,2: 89:[90, 25, 76] Operation: 50+26=76
Moving to Node #0,0
Current State: 89:[50, 90, 51], Operations: ['26+25=51']
Exploring Operation: 90-50=40, Resulting Numbers: [51, 40]
Generated Node #0,0,0: 89:[51, 40] Operation: 90-50=40
Exploring Operation: 50+90=140, Resulting Numbers: [51, 140]
Generated Node #0,0,1: 89:[51, 140] Operation: 50+90=140
Exploring Operation: 50+51=101, Resulting Numbers: [90, 101]
Generated Node #0,0,2: 89:[90, 101] Operation: 50+51=101
Moving to Node #0,1
Current State: 89:[90, 26, 75], Operations: ['50+25=75']
Exploring Operation: 90+26=116, Resulting Numbers: [75, 116]
Generated Node #0,1,0: 89:[75, 116] Operation: 90+26=116
Exploring Operation: 26+75=101, Resulting Numbers: [90, 101]
Generated Node #0,1,1: 89:[90, 101] Operation: 26+75=101
Exploring Operation: 90-26=64, Resulting Numbers: [75, 64]
Generated Node #0,1,2: 89:[75, 64] Operation: 90-26=64
Moving to Node #0,2
Current State: 89:[90, 25, 76], Operations: ['50+26=76']
Exploring Operation: 25+76=101, Resulting Numbers: [90, 101]
Generated Node #0,2,0: 89:[90, 101] Operation: 25+76=101
Exploring Operation: 90+25=115, Resulting Numbers: [76, 115]
Generated Node #0,2,1: 89:[76, 115] Operation: 90+25=115
Exploring Operation: 90-25=65, Resulting Numbers: [76, 65]
Generated Node #0,2,2: 89:[76, 65] Operation: 90-25=65
Moving to Node #0,0,2
Current State: 89:[90, 101], Operations: ['26+25=51', '50+51=101']
Exploring Operation: 101-90=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 90*101=9090, Resulting Numbers: [9090]
9090,89 unequal: No Solution
Exploring Operation: 90+101=191, Resulting Numbers: [191]
191,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[90, 101], Operations: ['50+26=76', '25+76=101']
Exploring Operation: 101-90=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 90*101=9090, Resulting Numbers: [9090]
9090,89 unequal: No Solution
Exploring Operation: 90+101=191, Resulting Numbers: [191]
191,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[90, 101], Operations: ['50+25=75', '26+75=101']
Exploring Operation: 101-90=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 90*101=9090, Resulting Numbers: [9090]
9090,89 unequal: No Solution
Exploring Operation: 90+101=191, Resulting Numbers: [191]
191,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[76, 65], Operations: ['50+26=76', '90-25=65']
Exploring Operation: 76-65=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 76*65=4940, Resulting Numbers: [4940]
4940,89 unequal: No Solution
Exploring Operation: 76+65=141, Resulting Numbers: [141]
141,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[76, 115], Operations: ['50+26=76', '90+25=115']
Exploring Operation: 76+115=191, Resulting Numbers: [191]
191,89 unequal: No Solution
Exploring Operation: 115-76=39, Resulting Numbers: [39]
39,89 unequal: No Solution
Exploring Operation: 76*115=8740, Resulting Numbers: [8740]
8740,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[75, 64], Operations: ['50+25=75', '90-26=64']
Exploring Operation: 75+64=139, Resulting Numbers: [139]
139,89 unequal: No Solution
Exploring Operation: 75*64=4800, Resulting Numbers: [4800]
4800,89 unequal: No Solution
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[75, 116], Operations: ['50+25=75', '90+26=116']
Exploring Operation: 116-75=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 75*116=8700, Resulting Numbers: [8700]
8700,89 unequal: No Solution
Exploring Operation: 75+116=191, Resulting Numbers: [191]
191,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[51, 40], Operations: ['26+25=51', '90-50=40']
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 51*40=2040, Resulting Numbers: [2040]
2040,89 unequal: No Solution
Exploring Operation: 51+40=91, Resulting Numbers: [91]
91,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[51, 140], Operations: ['26+25=51', '50+90=140']
Exploring Operation: 51*140=7140, Resulting Numbers: [7140]
7140,89 unequal: No Solution
Exploring Operation: 140-51=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[50, 90, 26, 25], Operations: []
Exploring Operation: 26+25=51, Resulting Numbers: [50, 90, 51]
Generated Node #0,0: 89:[50, 90, 51] Operation: 26+25=51
Moving to Node #0,0
Current State: 89:[50, 90, 51], Operations: ['26+25=51']
Exploring Operation: 50+90=140, Resulting Numbers: [51, 140]
Generated Node #0,0,1: 89:[51, 140] Operation: 50+90=140
Moving to Node #0,0,1
Current State: 89:[51, 140], Operations: ['26+25=51', '50+90=140']
Exploring Operation: 140-51=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 0.963542 | hs_3 | sum_heuristic |
[
59,
2,
59,
78
] | 40 | [
"59/59=1",
"78/2=39",
"1+39=40"
] | Current State: 40:[59, 2, 59, 78], Operations: []
Exploring Operation: 59/59=1, Resulting Numbers: [2, 78, 1]
Generated Node #2: [2, 78, 1] from Operation: 59/59=1
Current State: 40:[2, 78, 1], Operations: ['59/59=1']
Exploring Operation: 78/2=39, Resulting Numbers: [1, 39]
Generated Node #3: [1, 39] from Operation: 78/2=39
Current State: 40:[1, 39], Operations: ['59/59=1', '78/2=39']
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[59, 2, 59, 78], Operations: []
Exploring Operation: 78-59=19, Resulting Numbers: [59, 2, 19]
Generated Node #0,0: 40:[59, 2, 19] Operation: 78-59=19
Exploring Operation: 78-59=19, Resulting Numbers: [2, 59, 19]
Generated Node #0,1: 40:[2, 59, 19] Operation: 78-59=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[59, 2, 19], Operations: ['78-59=19']
Exploring Operation: 59-2=57, Resulting Numbers: [19, 57]
Generated Node #0,0,0: 40:[19, 57] Operation: 59-2=57
Exploring Operation: 59-19=40, Resulting Numbers: [2, 40]
Generated Node #0,0,1: 40:[2, 40] Operation: 59-19=40
Moving to Node #0,0,1
Current State: 40:[2, 40], Operations: ['78-59=19', '59-19=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[19, 57], Operations: ['78-59=19', '59-2=57']
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[2, 59, 19], Operations: ['78-59=19']
Exploring Operation: 59-2=57, Resulting Numbers: [19, 57]
Generated Node #0,1,0: 40:[19, 57] Operation: 59-2=57
Exploring Operation: 59-19=40, Resulting Numbers: [2, 40]
Generated Node #0,1,1: 40:[2, 40] Operation: 59-19=40
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 40:[2, 40], Operations: ['78-59=19', '59-19=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,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,1,0
Current State: 40:[19, 57], Operations: ['78-59=19', '59-2=57']
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
14,
63,
24,
69
] | 56 | [
"14*24=336",
"69-63=6",
"336/6=56"
] | Current State: 56:[14, 63, 24, 69], Operations: []
Exploring Operation: 14*24=336, Resulting Numbers: [63, 69, 336]
Generated Node #2: [63, 69, 336] from Operation: 14*24=336
Current State: 56:[63, 69, 336], Operations: ['14*24=336']
Exploring Operation: 69-63=6, Resulting Numbers: [336, 6]
Generated Node #3: [336, 6] from Operation: 69-63=6
Current State: 56:[336, 6], Operations: ['14*24=336', '69-63=6']
Exploring Operation: 336/6=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[14, 63, 24, 69], Operations: []
Exploring Operation: 24-14=10, Resulting Numbers: [63, 69, 10]
Generated Node #0,0: 56:[63, 69, 10] Operation: 24-14=10
Exploring Operation: 69-63=6, Resulting Numbers: [14, 24, 6]
Generated Node #0,1: 56:[14, 24, 6] Operation: 69-63=6
Exploring Operation: 69-14=55, Resulting Numbers: [63, 24, 55]
Generated Node #0,2: 56:[63, 24, 55] Operation: 69-14=55
Exploring Operation: 69-24=45, Resulting Numbers: [14, 63, 45]
Generated Node #0,3: 56:[14, 63, 45] Operation: 69-24=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[14, 24, 6], Operations: ['69-63=6']
Exploring Operation: 14-6=8, Resulting Numbers: [24, 8]
Generated Node #0,1,0: 56:[24, 8] Operation: 14-6=8
Exploring Operation: 24+6=30, Resulting Numbers: [14, 30]
Generated Node #0,1,1: 56:[14, 30] Operation: 24+6=30
Exploring Operation: 24-14=10, Resulting Numbers: [6, 10]
Generated Node #0,1,2: 56:[6, 10] Operation: 24-14=10
Exploring Operation: 24/6=4, Resulting Numbers: [14, 4]
Generated Node #0,1,3: 56:[14, 4] Operation: 24/6=4
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 56:[14, 4], Operations: ['69-63=6', '24/6=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[14, 63, 24, 69], Operations: []
Exploring Operation: 69-63=6, Resulting Numbers: [14, 24, 6]
Generated Node #0,1: 56:[14, 24, 6] Operation: 69-63=6
Moving to Node #0,1
Current State: 56:[14, 24, 6], Operations: ['69-63=6']
Exploring Operation: 24/6=4, Resulting Numbers: [14, 4]
Generated Node #0,1,3: 56:[14, 4] Operation: 24/6=4
Moving to Node #0,1,3
Current State: 56:[14, 4], Operations: ['69-63=6', '24/6=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
74,
82,
78,
83
] | 81 | [
"74+82=156",
"156/78=2",
"83-2=81"
] | Current State: 81:[74, 82, 78, 83], Operations: []
Exploring Operation: 74+82=156, Resulting Numbers: [78, 83, 156]
Generated Node #2: [78, 83, 156] from Operation: 74+82=156
Current State: 81:[78, 83, 156], Operations: ['74+82=156']
Exploring Operation: 156/78=2, Resulting Numbers: [83, 2]
Generated Node #3: [83, 2] from Operation: 156/78=2
Current State: 81:[83, 2], Operations: ['74+82=156', '156/78=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[74, 82, 78, 83], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [74, 83, 4]
Generated Node #0,0: 81:[74, 83, 4] Operation: 82-78=4
Exploring Operation: 83-74=9, Resulting Numbers: [82, 78, 9]
Generated Node #0,1: 81:[82, 78, 9] Operation: 83-74=9
Exploring Operation: 78-74=4, Resulting Numbers: [82, 83, 4]
Generated Node #0,2: 81:[82, 83, 4] Operation: 78-74=4
Exploring Operation: 82-74=8, Resulting Numbers: [78, 83, 8]
Generated Node #0,3: 81:[78, 83, 8] Operation: 82-74=8
Moving to Node #0,1
Current State: 81:[82, 78, 9], Operations: ['83-74=9']
Exploring Operation: 82-78=4, Resulting Numbers: [9, 4]
Generated Node #0,1,0: 81:[9, 4] Operation: 82-78=4
Exploring Operation: 78+9=87, Resulting Numbers: [82, 87]
Generated Node #0,1,1: 81:[82, 87] Operation: 78+9=87
Exploring Operation: 82-9=73, Resulting Numbers: [78, 73]
Generated Node #0,1,2: 81:[78, 73] Operation: 82-9=73
Exploring Operation: 82+9=91, Resulting Numbers: [78, 91]
Generated Node #0,1,3: 81:[78, 91] Operation: 82+9=91
Moving to Node #0,2
Current State: 81:[82, 83, 4], Operations: ['78-74=4']
Exploring Operation: 83-4=79, Resulting Numbers: [82, 79]
Generated Node #0,2,0: 81:[82, 79] Operation: 83-4=79
Exploring Operation: 82+4=86, Resulting Numbers: [83, 86]
Generated Node #0,2,1: 81:[83, 86] Operation: 82+4=86
Exploring Operation: 82-4=78, Resulting Numbers: [83, 78]
Generated Node #0,2,2: 81:[83, 78] Operation: 82-4=78
Exploring Operation: 83-82=1, Resulting Numbers: [4, 1]
Generated Node #0,2,3: 81:[4, 1] Operation: 83-82=1
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[82, 79], Operations: ['78-74=4', '83-4=79']
Exploring Operation: 82*79=6478, Resulting Numbers: [6478]
6478,81 unequal: No Solution
Exploring Operation: 82+79=161, Resulting Numbers: [161]
161,81 unequal: No Solution
Exploring Operation: 82-79=3, Resulting Numbers: [3]
3,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 81:[4, 1], Operations: ['78-74=4', '83-82=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[83, 78], Operations: ['78-74=4', '82-4=78']
Exploring Operation: 83+78=161, Resulting Numbers: [161]
161,81 unequal: No Solution
Exploring Operation: 83*78=6474, Resulting Numbers: [6474]
6474,81 unequal: No Solution
Exploring Operation: 83-78=5, Resulting Numbers: [5]
5,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[83, 86], Operations: ['78-74=4', '82+4=86']
Exploring Operation: 83+86=169, Resulting Numbers: [169]
169,81 unequal: No Solution
Exploring Operation: 86-83=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 83*86=7138, Resulting Numbers: [7138]
7138,81 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: 81:[78, 83, 8], Operations: ['82-74=8']
Exploring Operation: 83-8=75, Resulting Numbers: [78, 75]
Generated Node #0,3,0: 81:[78, 75] Operation: 83-8=75
Exploring Operation: 78-8=70, Resulting Numbers: [83, 70]
Generated Node #0,3,1: 81:[83, 70] Operation: 78-8=70
Exploring Operation: 83-78=5, Resulting Numbers: [8, 5]
Generated Node #0,3,2: 81:[8, 5] Operation: 83-78=5
Exploring Operation: 78+8=86, Resulting Numbers: [83, 86]
Generated Node #0,3,3: 81:[83, 86] Operation: 78+8=86
Moving to Node #0,0
Current State: 81:[74, 83, 4], Operations: ['82-78=4']
Exploring Operation: 74-4=70, Resulting Numbers: [83, 70]
Generated Node #0,0,0: 81:[83, 70] Operation: 74-4=70
Exploring Operation: 74+4=78, Resulting Numbers: [83, 78]
Generated Node #0,0,1: 81:[83, 78] Operation: 74+4=78
Exploring Operation: 83-74=9, Resulting Numbers: [4, 9]
Generated Node #0,0,2: 81:[4, 9] Operation: 83-74=9
Exploring Operation: 83-4=79, Resulting Numbers: [74, 79]
Generated Node #0,0,3: 81:[74, 79] Operation: 83-4=79
Moving to Node #0,1,0
Current State: 81:[9, 4], Operations: ['83-74=9', '82-78=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[4, 9], Operations: ['82-78=4', '83-74=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[8, 5], Operations: ['82-74=8', '83-78=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,81 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[83, 78], Operations: ['82-78=4', '74+4=78']
Exploring Operation: 83*78=6474, Resulting Numbers: [6474]
6474,81 unequal: No Solution
Exploring Operation: 83+78=161, Resulting Numbers: [161]
161,81 unequal: No Solution
Exploring Operation: 83-78=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[83, 86], Operations: ['82-74=8', '78+8=86']
Exploring Operation: 86-83=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 83+86=169, Resulting Numbers: [169]
169,81 unequal: No Solution
Exploring Operation: 83*86=7138, Resulting Numbers: [7138]
7138,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[82, 87], Operations: ['83-74=9', '78+9=87']
Exploring Operation: 82*87=7134, Resulting Numbers: [7134]
7134,81 unequal: No Solution
Exploring Operation: 87-82=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 82+87=169, Resulting Numbers: [169]
169,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[78, 75], Operations: ['82-74=8', '83-8=75']
Exploring Operation: 78+75=153, Resulting Numbers: [153]
153,81 unequal: No Solution
Exploring Operation: 78*75=5850, Resulting Numbers: [5850]
5850,81 unequal: No Solution
Exploring Operation: 78-75=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[74, 79], Operations: ['82-78=4', '83-4=79']
Exploring Operation: 74*79=5846, Resulting Numbers: [5846]
5846,81 unequal: No Solution
Exploring Operation: 79-74=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 74+79=153, Resulting Numbers: [153]
153,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[78, 73], Operations: ['83-74=9', '82-9=73']
Exploring Operation: 78*73=5694, Resulting Numbers: [5694]
5694,81 unequal: No Solution
Exploring Operation: 78+73=151, Resulting Numbers: [151]
151,81 unequal: No Solution
Exploring Operation: 78-73=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[83, 70], Operations: ['82-78=4', '74-4=70']
Exploring Operation: 83+70=153, Resulting Numbers: [153]
153,81 unequal: No Solution
Exploring Operation: 83-70=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 83*70=5810, Resulting Numbers: [5810]
5810,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[83, 70], Operations: ['82-74=8', '78-8=70']
Exploring Operation: 83*70=5810, Resulting Numbers: [5810]
5810,81 unequal: No Solution
Exploring Operation: 83-70=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 83+70=153, Resulting Numbers: [153]
153,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[78, 91], Operations: ['83-74=9', '82+9=91']
Exploring Operation: 78*91=7098, Resulting Numbers: [7098]
7098,81 unequal: No Solution
Exploring Operation: 78+91=169, Resulting Numbers: [169]
169,81 unequal: No Solution
Exploring Operation: 91-78=13, Resulting Numbers: [13]
13,81 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
67,
82,
95,
4
] | 35 | [
"82-67=15",
"4*15=60",
"95-60=35"
] | Current State: 35:[67, 82, 95, 4], Operations: []
Exploring Operation: 82-67=15, Resulting Numbers: [95, 4, 15]
Generated Node #2: [95, 4, 15] from Operation: 82-67=15
Current State: 35:[95, 4, 15], Operations: ['82-67=15']
Exploring Operation: 4*15=60, Resulting Numbers: [95, 60]
Generated Node #3: [95, 60] from Operation: 4*15=60
Current State: 35:[95, 60], Operations: ['82-67=15', '4*15=60']
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[67, 82, 95, 4], Operations: []
Exploring Operation: 95-82=13, Resulting Numbers: [67, 4, 13]
Generated Node #0,0: 35:[67, 4, 13] Operation: 95-82=13
Exploring Operation: 67-4=63, Resulting Numbers: [82, 95, 63]
Generated Node #0,1: 35:[82, 95, 63] Operation: 67-4=63
Exploring Operation: 82-4=78, Resulting Numbers: [67, 95, 78]
Generated Node #0,2: 35:[67, 95, 78] Operation: 82-4=78
Exploring Operation: 82-67=15, Resulting Numbers: [95, 4, 15]
Generated Node #0,3: 35:[95, 4, 15] Operation: 82-67=15
Exploring Operation: 95-67=28, Resulting Numbers: [82, 4, 28]
Generated Node #0,4: 35:[82, 4, 28] Operation: 95-67=28
Moving to Node #0,0
Current State: 35:[67, 4, 13], Operations: ['95-82=13']
Exploring Operation: 4+13=17, Resulting Numbers: [67, 17]
Generated Node #0,0,0: 35:[67, 17] Operation: 4+13=17
Exploring Operation: 67-4=63, Resulting Numbers: [13, 63]
Generated Node #0,0,1: 35:[13, 63] Operation: 67-4=63
Exploring Operation: 13-4=9, Resulting Numbers: [67, 9]
Generated Node #0,0,2: 35:[67, 9] Operation: 13-4=9
Exploring Operation: 67+4=71, Resulting Numbers: [13, 71]
Generated Node #0,0,3: 35:[13, 71] Operation: 67+4=71
Exploring Operation: 67-13=54, Resulting Numbers: [4, 54]
Generated Node #0,0,4: 35:[4, 54] Operation: 67-13=54
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 35:[4, 54], Operations: ['95-82=13', '67-13=54']
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 4*54=216, Resulting Numbers: [216]
216,35 unequal: No Solution
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[13, 63], Operations: ['95-82=13', '67-4=63']
Exploring Operation: 13*63=819, Resulting Numbers: [819]
819,35 unequal: No Solution
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 13+63=76, Resulting Numbers: [76]
76,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[67, 9], Operations: ['95-82=13', '13-4=9']
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,35 unequal: No Solution
Exploring Operation: 67*9=603, Resulting Numbers: [603]
603,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[67, 17], Operations: ['95-82=13', '4+13=17']
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 67*17=1139, Resulting Numbers: [1139]
1139,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[13, 71], Operations: ['95-82=13', '67+4=71']
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,35 unequal: No Solution
Exploring Operation: 13+71=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Exploring Operation: 13*71=923, Resulting Numbers: [923]
923,35 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: 35:[82, 4, 28], Operations: ['95-67=28']
Exploring Operation: 82-4=78, Resulting Numbers: [28, 78]
Generated Node #0,4,0: 35:[28, 78] Operation: 82-4=78
Exploring Operation: 28/4=7, Resulting Numbers: [82, 7]
Generated Node #0,4,1: 35:[82, 7] Operation: 28/4=7
Exploring Operation: 82+4=86, Resulting Numbers: [28, 86]
Generated Node #0,4,2: 35:[28, 86] Operation: 82+4=86
Exploring Operation: 82-28=54, Resulting Numbers: [4, 54]
Generated Node #0,4,3: 35:[4, 54] Operation: 82-28=54
Exploring Operation: 4+28=32, Resulting Numbers: [82, 32]
Generated Node #0,4,4: 35:[82, 32] Operation: 4+28=32
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 35:[4, 54], Operations: ['95-67=28', '82-28=54']
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 4*54=216, Resulting Numbers: [216]
216,35 unequal: No Solution
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 35:[82, 7], Operations: ['95-67=28', '28/4=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,35 unequal: No Solution
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,35 unequal: No Solution
Exploring Operation: 82*7=574, Resulting Numbers: [574]
574,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 35:[28, 78], Operations: ['95-67=28', '82-4=78']
Exploring Operation: 28*78=2184, Resulting Numbers: [2184]
2184,35 unequal: No Solution
Exploring Operation: 28+78=106, Resulting Numbers: [106]
106,35 unequal: No Solution
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 35:[82, 32], Operations: ['95-67=28', '4+28=32']
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 82+32=114, Resulting Numbers: [114]
114,35 unequal: No Solution
Exploring Operation: 82*32=2624, Resulting Numbers: [2624]
2624,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 35:[28, 86], Operations: ['95-67=28', '82+4=86']
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,35 unequal: No Solution
Exploring Operation: 28+86=114, Resulting Numbers: [114]
114,35 unequal: No Solution
Exploring Operation: 28*86=2408, Resulting Numbers: [2408]
2408,35 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: 35:[95, 4, 15], Operations: ['82-67=15']
Exploring Operation: 95-15=80, Resulting Numbers: [4, 80]
Generated Node #0,3,0: 35:[4, 80] Operation: 95-15=80
Exploring Operation: 4+15=19, Resulting Numbers: [95, 19]
Generated Node #0,3,1: 35:[95, 19] Operation: 4+15=19
Exploring Operation: 95-4=91, Resulting Numbers: [15, 91]
Generated Node #0,3,2: 35:[15, 91] Operation: 95-4=91
Exploring Operation: 95+4=99, Resulting Numbers: [15, 99]
Generated Node #0,3,3: 35:[15, 99] Operation: 95+4=99
Exploring Operation: 15-4=11, Resulting Numbers: [95, 11]
Generated Node #0,3,4: 35:[95, 11] Operation: 15-4=11
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 35:[4, 80], Operations: ['82-67=15', '95-15=80']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 4+80=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Exploring Operation: 4*80=320, Resulting Numbers: [320]
320,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 35:[15, 91], Operations: ['82-67=15', '95-4=91']
Exploring Operation: 15+91=106, Resulting Numbers: [106]
106,35 unequal: No Solution
Exploring Operation: 15*91=1365, Resulting Numbers: [1365]
1365,35 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 35:[95, 11], Operations: ['82-67=15', '15-4=11']
Exploring Operation: 95*11=1045, Resulting Numbers: [1045]
1045,35 unequal: No Solution
Exploring Operation: 95+11=106, Resulting Numbers: [106]
106,35 unequal: No Solution
Exploring Operation: 95-11=84, Resulting Numbers: [84]
84,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 35:[95, 19], Operations: ['82-67=15', '4+15=19']
Exploring Operation: 95-19=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 95/19=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 95+19=114, Resulting Numbers: [114]
114,35 unequal: No Solution
Exploring Operation: 95*19=1805, Resulting Numbers: [1805]
1805,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 35:[15, 99], Operations: ['82-67=15', '95+4=99']
Exploring Operation: 15*99=1485, Resulting Numbers: [1485]
1485,35 unequal: No Solution
Exploring Operation: 99-15=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Exploring Operation: 15+99=114, Resulting Numbers: [114]
114,35 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: 35:[82, 95, 63], Operations: ['67-4=63']
Exploring Operation: 82-63=19, Resulting Numbers: [95, 19]
Generated Node #0,1,0: 35:[95, 19] Operation: 82-63=19
Exploring Operation: 82+95=177, Resulting Numbers: [63, 177]
Generated Node #0,1,1: 35:[63, 177] Operation: 82+95=177
Exploring Operation: 95-63=32, Resulting Numbers: [82, 32]
Generated Node #0,1,2: 35:[82, 32] Operation: 95-63=32
Exploring Operation: 95-82=13, Resulting Numbers: [63, 13]
Generated Node #0,1,3: 35:[63, 13] Operation: 95-82=13
Exploring Operation: 82+63=145, Resulting Numbers: [95, 145]
Generated Node #0,1,4: 35:[95, 145] Operation: 82+63=145
Moving to Node #0,2
Current State: 35:[67, 95, 78], Operations: ['82-4=78']
Exploring Operation: 67+95=162, Resulting Numbers: [78, 162]
Generated Node #0,2,0: 35:[78, 162] Operation: 67+95=162
Exploring Operation: 78-67=11, Resulting Numbers: [95, 11]
Generated Node #0,2,1: 35:[95, 11] Operation: 78-67=11
Exploring Operation: 67+78=145, Resulting Numbers: [95, 145]
Generated Node #0,2,2: 35:[95, 145] Operation: 67+78=145
Exploring Operation: 95-78=17, Resulting Numbers: [67, 17]
Generated Node #0,2,3: 35:[67, 17] Operation: 95-78=17
Exploring Operation: 95-67=28, Resulting Numbers: [78, 28]
Generated Node #0,2,4: 35:[78, 28] Operation: 95-67=28
Moving to Node #0,1,3
Current State: 35:[63, 13], Operations: ['67-4=63', '95-82=13']
Exploring Operation: 63*13=819, Resulting Numbers: [819]
819,35 unequal: No Solution
Exploring Operation: 63+13=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[67, 17], Operations: ['82-4=78', '95-78=17']
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 67*17=1139, Resulting Numbers: [1139]
1139,35 unequal: No Solution
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Moving to Node #0,2,4
Current State: 35:[78, 28], Operations: ['82-4=78', '95-67=28']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 78*28=2184, Resulting Numbers: [2184]
2184,35 unequal: No Solution
Exploring Operation: 78+28=106, Resulting Numbers: [106]
106,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[82, 32], Operations: ['67-4=63', '95-63=32']
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 82*32=2624, Resulting Numbers: [2624]
2624,35 unequal: No Solution
Exploring Operation: 82+32=114, Resulting Numbers: [114]
114,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[95, 11], Operations: ['82-4=78', '78-67=11']
Exploring Operation: 95*11=1045, Resulting Numbers: [1045]
1045,35 unequal: No Solution
Exploring Operation: 95-11=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Exploring Operation: 95+11=106, Resulting Numbers: [106]
106,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[95, 19], Operations: ['67-4=63', '82-63=19']
Exploring Operation: 95-19=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 95+19=114, Resulting Numbers: [114]
114,35 unequal: No Solution
Exploring Operation: 95/19=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 95*19=1805, Resulting Numbers: [1805]
1805,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[78, 162], Operations: ['82-4=78', '67+95=162']
Exploring Operation: 78*162=12636, Resulting Numbers: [12636]
12636,35 unequal: No Solution
Exploring Operation: 162-78=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Exploring Operation: 78+162=240, Resulting Numbers: [240]
240,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[95, 145], Operations: ['82-4=78', '67+78=145']
Exploring Operation: 95*145=13775, Resulting Numbers: [13775]
13775,35 unequal: No Solution
Exploring Operation: 95+145=240, Resulting Numbers: [240]
240,35 unequal: No Solution
Exploring Operation: 145-95=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Moving to Node #0,1,4
Current State: 35:[95, 145], Operations: ['67-4=63', '82+63=145']
Exploring Operation: 145-95=50, Resulting Numbers: [50]
50,35 unequal: No Solution
Exploring Operation: 95+145=240, Resulting Numbers: [240]
240,35 unequal: No Solution
Exploring Operation: 95*145=13775, Resulting Numbers: [13775]
13775,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[63, 177], Operations: ['67-4=63', '82+95=177']
Exploring Operation: 63+177=240, Resulting Numbers: [240]
240,35 unequal: No Solution
Exploring Operation: 177-63=114, Resulting Numbers: [114]
114,35 unequal: No Solution
Exploring Operation: 63*177=11151, Resulting Numbers: [11151]
11151,35 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
93,
1,
3,
19
] | 70 | [
"93-1=92",
"3+19=22",
"92-22=70"
] | Current State: 70:[93, 1, 3, 19], Operations: []
Exploring Operation: 93-1=92, Resulting Numbers: [3, 19, 92]
Generated Node #2: [3, 19, 92] from Operation: 93-1=92
Current State: 70:[3, 19, 92], Operations: ['93-1=92']
Exploring Operation: 3+19=22, Resulting Numbers: [92, 22]
Generated Node #3: [92, 22] from Operation: 3+19=22
Current State: 70:[92, 22], Operations: ['93-1=92', '3+19=22']
Exploring Operation: 92-22=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[93, 1, 3, 19], Operations: []
Exploring Operation: 93-19=74, Resulting Numbers: [1, 3, 74]
Generated Node #0,0: 70:[1, 3, 74] Operation: 93-19=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[1, 3, 74], Operations: ['93-19=74']
Exploring Operation: 74-3=71, Resulting Numbers: [1, 71]
Generated Node #0,0,0: 70:[1, 71] Operation: 74-3=71
Moving to Node #0,0,0
Current State: 70:[1, 71], Operations: ['93-19=74', '74-3=71']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[93, 1, 3, 19], Operations: []
Exploring Operation: 93-19=74, Resulting Numbers: [1, 3, 74]
Generated Node #0,0: 70:[1, 3, 74] Operation: 93-19=74
Moving to Node #0,0
Current State: 70:[1, 3, 74], Operations: ['93-19=74']
Exploring Operation: 74-3=71, Resulting Numbers: [1, 71]
Generated Node #0,0,0: 70:[1, 71] Operation: 74-3=71
Moving to Node #0,0,0
Current State: 70:[1, 71], Operations: ['93-19=74', '74-3=71']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
21,
72,
64,
55
] | 60 | [
"72-21=51",
"64-55=9",
"51+9=60"
] | Current State: 60:[21, 72, 64, 55], Operations: []
Exploring Operation: 72-21=51, Resulting Numbers: [64, 55, 51]
Generated Node #2: [64, 55, 51] from Operation: 72-21=51
Current State: 60:[64, 55, 51], Operations: ['72-21=51']
Exploring Operation: 64-55=9, Resulting Numbers: [51, 9]
Generated Node #3: [51, 9] from Operation: 64-55=9
Current State: 60:[51, 9], Operations: ['72-21=51', '64-55=9']
Exploring Operation: 51+9=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[21, 72, 64, 55], Operations: []
Exploring Operation: 72-64=8, Resulting Numbers: [21, 55, 8]
Generated Node #0,0: 60:[21, 55, 8] Operation: 72-64=8
Exploring Operation: 64-55=9, Resulting Numbers: [21, 72, 9]
Generated Node #0,1: 60:[21, 72, 9] Operation: 64-55=9
Exploring Operation: 72-55=17, Resulting Numbers: [21, 64, 17]
Generated Node #0,2: 60:[21, 64, 17] Operation: 72-55=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[21, 64, 17], Operations: ['72-55=17']
Exploring Operation: 21-17=4, Resulting Numbers: [64, 4]
Generated Node #0,2,0: 60:[64, 4] Operation: 21-17=4
Exploring Operation: 64-17=47, Resulting Numbers: [21, 47]
Generated Node #0,2,1: 60:[21, 47] Operation: 64-17=47
Exploring Operation: 21+17=38, Resulting Numbers: [64, 38]
Generated Node #0,2,2: 60:[64, 38] Operation: 21+17=38
Moving to Node #0,2,0
Current State: 60:[64, 4], Operations: ['72-55=17', '21-17=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[21, 72, 64, 55], Operations: []
Exploring Operation: 72-55=17, Resulting Numbers: [21, 64, 17]
Generated Node #0,2: 60:[21, 64, 17] Operation: 72-55=17
Moving to Node #0,2
Current State: 60:[21, 64, 17], Operations: ['72-55=17']
Exploring Operation: 21-17=4, Resulting Numbers: [64, 4]
Generated Node #0,2,0: 60:[64, 4] Operation: 21-17=4
Moving to Node #0,2,0
Current State: 60:[64, 4], Operations: ['72-55=17', '21-17=4']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
44,
64,
8,
92
] | 56 | [
"92-44=48",
"64/8=8",
"48+8=56"
] | Current State: 56:[44, 64, 8, 92], Operations: []
Exploring Operation: 92-44=48, Resulting Numbers: [64, 8, 48]
Generated Node #2: [64, 8, 48] from Operation: 92-44=48
Current State: 56:[64, 8, 48], Operations: ['92-44=48']
Exploring Operation: 64/8=8, Resulting Numbers: [48, 8]
Generated Node #3: [48, 8] from Operation: 64/8=8
Current State: 56:[48, 8], Operations: ['92-44=48', '64/8=8']
Exploring Operation: 48+8=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[44, 64, 8, 92], Operations: []
Exploring Operation: 92-64=28, Resulting Numbers: [44, 8, 28]
Generated Node #0,0: 56:[44, 8, 28] Operation: 92-64=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[44, 8, 28], Operations: ['92-64=28']
Exploring Operation: 44-28=16, Resulting Numbers: [8, 16]
Generated Node #0,0,0: 56:[8, 16] Operation: 44-28=16
Moving to Node #0,0,0
Current State: 56:[8, 16], Operations: ['92-64=28', '44-28=16']
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,56 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 |
[
26,
75,
10,
2
] | 29 | [
"75-26=49",
"10*2=20",
"49-20=29"
] | Current State: 29:[26, 75, 10, 2], Operations: []
Exploring Operation: 75-26=49, Resulting Numbers: [10, 2, 49]
Generated Node #2: [10, 2, 49] from Operation: 75-26=49
Current State: 29:[10, 2, 49], Operations: ['75-26=49']
Exploring Operation: 10*2=20, Resulting Numbers: [49, 20]
Generated Node #3: [49, 20] from Operation: 10*2=20
Current State: 29:[49, 20], Operations: ['75-26=49', '10*2=20']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[26, 75, 10, 2], Operations: []
Exploring Operation: 75-10=65, Resulting Numbers: [26, 2, 65]
Generated Node #0,0: 29:[26, 2, 65] Operation: 75-10=65
Exploring Operation: 10*2=20, Resulting Numbers: [26, 75, 20]
Generated Node #0,1: 29:[26, 75, 20] Operation: 10*2=20
Exploring Operation: 75-26=49, Resulting Numbers: [10, 2, 49]
Generated Node #0,2: 29:[10, 2, 49] Operation: 75-26=49
Exploring Operation: 75-2=73, Resulting Numbers: [26, 10, 73]
Generated Node #0,3: 29:[26, 10, 73] Operation: 75-2=73
Exploring Operation: 26+2=28, Resulting Numbers: [75, 10, 28]
Generated Node #0,4: 29:[75, 10, 28] Operation: 26+2=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[26, 75, 20], Operations: ['10*2=20']
Exploring Operation: 75+20=95, Resulting Numbers: [26, 95]
Generated Node #0,1,0: 29:[26, 95] Operation: 75+20=95
Exploring Operation: 26-20=6, Resulting Numbers: [75, 6]
Generated Node #0,1,1: 29:[75, 6] Operation: 26-20=6
Exploring Operation: 26+20=46, Resulting Numbers: [75, 46]
Generated Node #0,1,2: 29:[75, 46] Operation: 26+20=46
Exploring Operation: 75-26=49, Resulting Numbers: [20, 49]
Generated Node #0,1,3: 29:[20, 49] Operation: 75-26=49
Exploring Operation: 75-20=55, Resulting Numbers: [26, 55]
Generated Node #0,1,4: 29:[26, 55] Operation: 75-20=55
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 29:[20, 49], Operations: ['10*2=20', '75-26=49']
Exploring Operation: 20*49=980, Resulting Numbers: [980]
980,29 unequal: No Solution
Exploring Operation: 20+49=69, Resulting Numbers: [69]
69,29 unequal: No Solution
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[26, 75, 10, 2], Operations: []
Exploring Operation: 10*2=20, Resulting Numbers: [26, 75, 20]
Generated Node #0,1: 29:[26, 75, 20] Operation: 10*2=20
Moving to Node #0,1
Current State: 29:[26, 75, 20], Operations: ['10*2=20']
Exploring Operation: 75-26=49, Resulting Numbers: [20, 49]
Generated Node #0,1,3: 29:[20, 49] Operation: 75-26=49
Moving to Node #0,1,3
Current State: 29:[20, 49], Operations: ['10*2=20', '75-26=49']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.