nums listlengths 4 4 | target int64 10 100 | solution listlengths 3 3 | optimal_path stringlengths 282 529 | start_size int64 4 4 | search_path stringlengths 505 16.8k | rating float64 0 0.99 | search_type stringclasses 5 values | heuristic stringclasses 2 values |
|---|---|---|---|---|---|---|---|---|
[
32,
7,
83,
99
] | 55 | [
"32+7=39",
"99-83=16",
"39+16=55"
] | Current State: 55:[32, 7, 83, 99], Operations: []
Exploring Operation: 32+7=39, Resulting Numbers: [83, 99, 39]
Generated Node #2: [83, 99, 39] from Operation: 32+7=39
Current State: 55:[83, 99, 39], Operations: ['32+7=39']
Exploring Operation: 99-83=16, Resulting Numbers: [39, 16]
Generated Node #3: [39, 16] from Operation: 99-83=16
Current State: 55:[39, 16], Operations: ['32+7=39', '99-83=16']
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[32, 7, 83, 99], Operations: []
Exploring Operation: 99-32=67, Resulting Numbers: [7, 83, 67]
Generated Node #0,0: 55:[7, 83, 67] Operation: 99-32=67
Exploring Operation: 99-83=16, Resulting Numbers: [32, 7, 16]
Generated Node #0,1: 55:[32, 7, 16] Operation: 99-83=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[32, 7, 16], Operations: ['99-83=16']
Exploring Operation: 32-16=16, Resulting Numbers: [7, 16]
Generated Node #0,1,0: 55:[7, 16] Operation: 32-16=16
Exploring Operation: 32/16=2, Resulting Numbers: [7, 2]
Generated Node #0,1,1: 55:[7, 2] Operation: 32/16=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[7, 2], Operations: ['99-83=16', '32/16=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[7, 16], Operations: ['99-83=16', '32-16=16']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,55 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: 55:[7, 83, 67], Operations: ['99-32=67']
Exploring Operation: 83-67=16, Resulting Numbers: [7, 16]
Generated Node #0,0,0: 55:[7, 16] Operation: 83-67=16
Exploring Operation: 83-7=76, Resulting Numbers: [67, 76]
Generated Node #0,0,1: 55:[67, 76] Operation: 83-7=76
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[7, 16], Operations: ['99-32=67', '83-67=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,55 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 55:[67, 76], Operations: ['99-32=67', '83-7=76']
Exploring Operation: 67+76=143, Resulting Numbers: [143]
143,55 unequal: No Solution
Exploring Operation: 76-67=9, Resulting Numbers: [9]
9,55 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 |
[
58,
25,
4,
80
] | 12 | [
"58+25=83",
"83-80=3",
"4*3=12"
] | Current State: 12:[58, 25, 4, 80], Operations: []
Exploring Operation: 58+25=83, Resulting Numbers: [4, 80, 83]
Generated Node #2: [4, 80, 83] from Operation: 58+25=83
Current State: 12:[4, 80, 83], Operations: ['58+25=83']
Exploring Operation: 83-80=3, Resulting Numbers: [4, 3]
Generated Node #3: [4, 3] from Operation: 83-80=3
Current State: 12:[4, 3], Operations: ['58+25=83', '83-80=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[58, 25, 4, 80], Operations: []
Exploring Operation: 58-25=33, Resulting Numbers: [4, 80, 33]
Generated Node #0,0: 12:[4, 80, 33] Operation: 58-25=33
Exploring Operation: 58-4=54, Resulting Numbers: [25, 80, 54]
Generated Node #0,1: 12:[25, 80, 54] Operation: 58-4=54
Exploring Operation: 80-58=22, Resulting Numbers: [25, 4, 22]
Generated Node #0,2: 12:[25, 4, 22] Operation: 80-58=22
Exploring Operation: 80/4=20, Resulting Numbers: [58, 25, 20]
Generated Node #0,3: 12:[58, 25, 20] Operation: 80/4=20
Exploring Operation: 80-25=55, Resulting Numbers: [58, 4, 55]
Generated Node #0,4: 12:[58, 4, 55] Operation: 80-25=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[25, 4, 22], Operations: ['80-58=22']
Exploring Operation: 25-4=21, Resulting Numbers: [22, 21]
Generated Node #0,2,0: 12:[22, 21] Operation: 25-4=21
Exploring Operation: 22-4=18, Resulting Numbers: [25, 18]
Generated Node #0,2,1: 12:[25, 18] Operation: 22-4=18
Exploring Operation: 25-22=3, Resulting Numbers: [4, 3]
Generated Node #0,2,2: 12:[4, 3] Operation: 25-22=3
Exploring Operation: 25+4=29, Resulting Numbers: [22, 29]
Generated Node #0,2,3: 12:[22, 29] Operation: 25+4=29
Exploring Operation: 4+22=26, Resulting Numbers: [25, 26]
Generated Node #0,2,4: 12:[25, 26] Operation: 4+22=26
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 12:[4, 3], Operations: ['80-58=22', '25-22=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[58, 25, 4, 80], Operations: []
Exploring Operation: 80-58=22, Resulting Numbers: [25, 4, 22]
Generated Node #0,2: 12:[25, 4, 22] Operation: 80-58=22
Moving to Node #0,2
Current State: 12:[25, 4, 22], Operations: ['80-58=22']
Exploring Operation: 25-22=3, Resulting Numbers: [4, 3]
Generated Node #0,2,2: 12:[4, 3] Operation: 25-22=3
Moving to Node #0,2,2
Current State: 12:[4, 3], Operations: ['80-58=22', '25-22=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
95,
42,
78,
65
] | 90 | [
"95-42=53",
"78+65=143",
"143-53=90"
] | Current State: 90:[95, 42, 78, 65], Operations: []
Exploring Operation: 95-42=53, Resulting Numbers: [78, 65, 53]
Generated Node #2: [78, 65, 53] from Operation: 95-42=53
Current State: 90:[78, 65, 53], Operations: ['95-42=53']
Exploring Operation: 78+65=143, Resulting Numbers: [53, 143]
Generated Node #3: [53, 143] from Operation: 78+65=143
Current State: 90:[53, 143], Operations: ['95-42=53', '78+65=143']
Exploring Operation: 143-53=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[95, 42, 78, 65], Operations: []
Exploring Operation: 95-65=30, Resulting Numbers: [42, 78, 30]
Generated Node #0,0: 90:[42, 78, 30] Operation: 95-65=30
Exploring Operation: 78-65=13, Resulting Numbers: [95, 42, 13]
Generated Node #0,1: 90:[95, 42, 13] Operation: 78-65=13
Moving to Node #0,1
Current State: 90:[95, 42, 13], Operations: ['78-65=13']
Exploring Operation: 95-42=53, Resulting Numbers: [13, 53]
Generated Node #0,1,0: 90:[13, 53] Operation: 95-42=53
Exploring Operation: 42-13=29, Resulting Numbers: [95, 29]
Generated Node #0,1,1: 90:[95, 29] Operation: 42-13=29
Moving to Node #0,0
Current State: 90:[42, 78, 30], Operations: ['95-65=30']
Exploring Operation: 78-42=36, Resulting Numbers: [30, 36]
Generated Node #0,0,0: 90:[30, 36] Operation: 78-42=36
Exploring Operation: 78-30=48, Resulting Numbers: [42, 48]
Generated Node #0,0,1: 90:[42, 48] Operation: 78-30=48
Moving to Node #0,1,1
Current State: 90:[95, 29], Operations: ['78-65=13', '42-13=29']
Exploring Operation: 95-29=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 95+29=124, Resulting Numbers: [124]
124,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[30, 36], Operations: ['95-65=30', '78-42=36']
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[42, 48], Operations: ['95-65=30', '78-30=48']
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[95, 42, 78, 65], Operations: []
Exploring Operation: 95-65=30, Resulting Numbers: [42, 78, 30]
Generated Node #0,0: 90:[42, 78, 30] Operation: 95-65=30
Moving to Node #0,0
Current State: 90:[42, 78, 30], Operations: ['95-65=30']
Exploring Operation: 78-30=48, Resulting Numbers: [42, 48]
Generated Node #0,0,1: 90:[42, 48] Operation: 78-30=48
Moving to Node #0,0,1
Current State: 90:[42, 48], Operations: ['95-65=30', '78-30=48']
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
60,
7,
9,
64
] | 60 | [
"7*9=63",
"64-63=1",
"60*1=60"
] | Current State: 60:[60, 7, 9, 64], Operations: []
Exploring Operation: 7*9=63, Resulting Numbers: [60, 64, 63]
Generated Node #2: [60, 64, 63] from Operation: 7*9=63
Current State: 60:[60, 64, 63], Operations: ['7*9=63']
Exploring Operation: 64-63=1, Resulting Numbers: [60, 1]
Generated Node #3: [60, 1] from Operation: 64-63=1
Current State: 60:[60, 1], Operations: ['7*9=63', '64-63=1']
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[60, 7, 9, 64], Operations: []
Exploring Operation: 64-60=4, Resulting Numbers: [7, 9, 4]
Generated Node #0,0: 60:[7, 9, 4] Operation: 64-60=4
Moving to Node #0,0
Current State: 60:[7, 9, 4], Operations: ['64-60=4']
Exploring Operation: 9-7=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 60:[4, 2] Operation: 9-7=2
Moving to Node #0,0,0
Current State: 60:[4, 2], Operations: ['64-60=4', '9-7=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,60 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
95,
17,
19,
15
] | 65 | [
"19-17=2",
"15*2=30",
"95-30=65"
] | Current State: 65:[95, 17, 19, 15], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [95, 15, 2]
Generated Node #2: [95, 15, 2] from Operation: 19-17=2
Current State: 65:[95, 15, 2], Operations: ['19-17=2']
Exploring Operation: 15*2=30, Resulting Numbers: [95, 30]
Generated Node #3: [95, 30] from Operation: 15*2=30
Current State: 65:[95, 30], Operations: ['19-17=2', '15*2=30']
Exploring Operation: 95-30=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[95, 17, 19, 15], Operations: []
Exploring Operation: 95/19=5, Resulting Numbers: [17, 15, 5]
Generated Node #0,0: 65:[17, 15, 5] Operation: 95/19=5
Exploring Operation: 95-19=76, Resulting Numbers: [17, 15, 76]
Generated Node #0,1: 65:[17, 15, 76] Operation: 95-19=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[17, 15, 5], Operations: ['95/19=5']
Exploring Operation: 17-15=2, Resulting Numbers: [5, 2]
Generated Node #0,0,0: 65:[5, 2] Operation: 17-15=2
Exploring Operation: 17-5=12, Resulting Numbers: [15, 12]
Generated Node #0,0,1: 65:[15, 12] Operation: 17-5=12
Moving to Node #0,0,0
Current State: 65:[5, 2], Operations: ['95/19=5', '17-15=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[15, 12], Operations: ['95/19=5', '17-5=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[17, 15, 76], Operations: ['95-19=76']
Exploring Operation: 76-17=59, Resulting Numbers: [15, 59]
Generated Node #0,1,0: 65:[15, 59] Operation: 76-17=59
Exploring Operation: 76-15=61, Resulting Numbers: [17, 61]
Generated Node #0,1,1: 65:[17, 61] Operation: 76-15=61
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[15, 59], Operations: ['95-19=76', '76-17=59']
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 15+59=74, Resulting Numbers: [74]
74,65 unequal: No Solution
No 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: 65:[17, 61], Operations: ['95-19=76', '76-15=61']
Exploring Operation: 17+61=78, Resulting Numbers: [78]
78,65 unequal: No Solution
Exploring Operation: 61-17=44, Resulting Numbers: [44]
44,65 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 |
[
43,
19,
4,
31
] | 67 | [
"43-31=12",
"4*12=48",
"19+48=67"
] | Current State: 67:[43, 19, 4, 31], Operations: []
Exploring Operation: 43-31=12, Resulting Numbers: [19, 4, 12]
Generated Node #2: [19, 4, 12] from Operation: 43-31=12
Current State: 67:[19, 4, 12], Operations: ['43-31=12']
Exploring Operation: 4*12=48, Resulting Numbers: [19, 48]
Generated Node #3: [19, 48] from Operation: 4*12=48
Current State: 67:[19, 48], Operations: ['43-31=12', '4*12=48']
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[43, 19, 4, 31], Operations: []
Exploring Operation: 19*4=76, Resulting Numbers: [43, 31, 76]
Generated Node #0,0: 67:[43, 31, 76] Operation: 19*4=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[43, 31, 76], Operations: ['19*4=76']
Exploring Operation: 43+31=74, Resulting Numbers: [76, 74]
Generated Node #0,0,0: 67:[76, 74] Operation: 43+31=74
Moving to Node #0,0,0
Current State: 67:[76, 74], Operations: ['19*4=76', '43+31=74']
Exploring Operation: 76-74=2, Resulting Numbers: [2]
2,67 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 |
[
50,
71,
14,
4
] | 35 | [
"71-50=21",
"14*4=56",
"56-21=35"
] | Current State: 35:[50, 71, 14, 4], Operations: []
Exploring Operation: 71-50=21, Resulting Numbers: [14, 4, 21]
Generated Node #2: [14, 4, 21] from Operation: 71-50=21
Current State: 35:[14, 4, 21], Operations: ['71-50=21']
Exploring Operation: 14*4=56, Resulting Numbers: [21, 56]
Generated Node #3: [21, 56] from Operation: 14*4=56
Current State: 35:[21, 56], Operations: ['71-50=21', '14*4=56']
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[50, 71, 14, 4], Operations: []
Exploring Operation: 71-14=57, Resulting Numbers: [50, 4, 57]
Generated Node #0,0: 35:[50, 4, 57] Operation: 71-14=57
Exploring Operation: 71-50=21, Resulting Numbers: [14, 4, 21]
Generated Node #0,1: 35:[14, 4, 21] Operation: 71-50=21
Exploring Operation: 50-14=36, Resulting Numbers: [71, 4, 36]
Generated Node #0,2: 35:[71, 4, 36] Operation: 50-14=36
Moving to Node #0,1
Current State: 35:[14, 4, 21], Operations: ['71-50=21']
Exploring Operation: 14-4=10, Resulting Numbers: [21, 10]
Generated Node #0,1,0: 35:[21, 10] Operation: 14-4=10
Exploring Operation: 14+21=35, Resulting Numbers: [4, 35]
Generated Node #0,1,1: 35:[4, 35] Operation: 14+21=35
Exploring Operation: 21-14=7, Resulting Numbers: [4, 7]
Generated Node #0,1,2: 35:[4, 7] Operation: 21-14=7
Moving to Node #0,0
Current State: 35:[50, 4, 57], Operations: ['71-14=57']
Exploring Operation: 57-4=53, Resulting Numbers: [50, 53]
Generated Node #0,0,0: 35:[50, 53] Operation: 57-4=53
Exploring Operation: 50-4=46, Resulting Numbers: [57, 46]
Generated Node #0,0,1: 35:[57, 46] Operation: 50-4=46
Exploring Operation: 57-50=7, Resulting Numbers: [4, 7]
Generated Node #0,0,2: 35:[4, 7] Operation: 57-50=7
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[4, 7], Operations: ['71-14=57', '57-50=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,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:[50, 53], Operations: ['71-14=57', '57-4=53']
Exploring Operation: 50*53=2650, Resulting Numbers: [2650]
2650,35 unequal: No Solution
Exploring Operation: 50+53=103, Resulting Numbers: [103]
103,35 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,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:[57, 46], Operations: ['71-14=57', '50-4=46']
Exploring Operation: 57+46=103, Resulting Numbers: [103]
103,35 unequal: No Solution
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 57*46=2622, Resulting Numbers: [2622]
2622,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 35:[71, 4, 36], Operations: ['50-14=36']
Exploring Operation: 36/4=9, Resulting Numbers: [71, 9]
Generated Node #0,2,0: 35:[71, 9] Operation: 36/4=9
Exploring Operation: 71-4=67, Resulting Numbers: [36, 67]
Generated Node #0,2,1: 35:[36, 67] Operation: 71-4=67
Exploring Operation: 71-36=35, Resulting Numbers: [4, 35]
Generated Node #0,2,2: 35:[4, 35] Operation: 71-36=35
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[4, 35], Operations: ['50-14=36', '71-36=35']
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,35 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,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:[36, 67], Operations: ['50-14=36', '71-4=67']
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 36*67=2412, Resulting Numbers: [2412]
2412,35 unequal: No Solution
Exploring Operation: 36+67=103, Resulting Numbers: [103]
103,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,0
Current State: 35:[71, 9], Operations: ['50-14=36', '36/4=9']
Exploring Operation: 71*9=639, Resulting Numbers: [639]
639,35 unequal: No Solution
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,35 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: 35:[4, 35], Operations: ['71-50=21', '14+21=35']
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,35 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[4, 7], Operations: ['71-50=21', '21-14=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[21, 10], Operations: ['71-50=21', '14-4=10']
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,35 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,35 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
75,
45,
85,
69
] | 46 | [
"75-45=30",
"85-69=16",
"30+16=46"
] | Current State: 46:[75, 45, 85, 69], Operations: []
Exploring Operation: 75-45=30, Resulting Numbers: [85, 69, 30]
Generated Node #2: [85, 69, 30] from Operation: 75-45=30
Current State: 46:[85, 69, 30], Operations: ['75-45=30']
Exploring Operation: 85-69=16, Resulting Numbers: [30, 16]
Generated Node #3: [30, 16] from Operation: 85-69=16
Current State: 46:[30, 16], Operations: ['75-45=30', '85-69=16']
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[75, 45, 85, 69], Operations: []
Exploring Operation: 75-69=6, Resulting Numbers: [45, 85, 6]
Generated Node #0,0: 46:[45, 85, 6] Operation: 75-69=6
Exploring Operation: 85-75=10, Resulting Numbers: [45, 69, 10]
Generated Node #0,1: 46:[45, 69, 10] Operation: 85-75=10
Exploring Operation: 85-69=16, Resulting Numbers: [75, 45, 16]
Generated Node #0,2: 46:[75, 45, 16] Operation: 85-69=16
Moving to Node #0,1
Current State: 46:[45, 69, 10], Operations: ['85-75=10']
Exploring Operation: 45+10=55, Resulting Numbers: [69, 55]
Generated Node #0,1,0: 46:[69, 55] Operation: 45+10=55
Exploring Operation: 69-10=59, Resulting Numbers: [45, 59]
Generated Node #0,1,1: 46:[45, 59] Operation: 69-10=59
Exploring Operation: 69-45=24, Resulting Numbers: [10, 24]
Generated Node #0,1,2: 46:[10, 24] Operation: 69-45=24
Moving to Node #0,2
Current State: 46:[75, 45, 16], Operations: ['85-69=16']
Exploring Operation: 75-45=30, Resulting Numbers: [16, 30]
Generated Node #0,2,0: 46:[16, 30] Operation: 75-45=30
Exploring Operation: 75-16=59, Resulting Numbers: [45, 59]
Generated Node #0,2,1: 46:[45, 59] Operation: 75-16=59
Exploring Operation: 45-16=29, Resulting Numbers: [75, 29]
Generated Node #0,2,2: 46:[75, 29] Operation: 45-16=29
Moving to Node #0,0
Current State: 46:[45, 85, 6], Operations: ['75-69=6']
Exploring Operation: 85-45=40, Resulting Numbers: [6, 40]
Generated Node #0,0,0: 46:[6, 40] Operation: 85-45=40
Exploring Operation: 85-6=79, Resulting Numbers: [45, 79]
Generated Node #0,0,1: 46:[45, 79] Operation: 85-6=79
Exploring Operation: 45+6=51, Resulting Numbers: [85, 51]
Generated Node #0,0,2: 46:[85, 51] Operation: 45+6=51
Moving to Node #0,1,2
Current State: 46:[10, 24], Operations: ['85-75=10', '69-45=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,46 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[6, 40], Operations: ['75-69=6', '85-45=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,46 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[75, 45, 85, 69], Operations: []
Exploring Operation: 75-69=6, Resulting Numbers: [45, 85, 6]
Generated Node #0,0: 46:[45, 85, 6] Operation: 75-69=6
Moving to Node #0,0
Current State: 46:[45, 85, 6], Operations: ['75-69=6']
Exploring Operation: 85-45=40, Resulting Numbers: [6, 40]
Generated Node #0,0,0: 46:[6, 40] Operation: 85-45=40
Moving to Node #0,0,0
Current State: 46:[6, 40], Operations: ['75-69=6', '85-45=40']
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.981771 | hs_3 | mult_heuristic |
[
63,
1,
47,
82
] | 65 | [
"63+1=64",
"47+82=129",
"129-64=65"
] | Current State: 65:[63, 1, 47, 82], Operations: []
Exploring Operation: 63+1=64, Resulting Numbers: [47, 82, 64]
Generated Node #2: [47, 82, 64] from Operation: 63+1=64
Current State: 65:[47, 82, 64], Operations: ['63+1=64']
Exploring Operation: 47+82=129, Resulting Numbers: [64, 129]
Generated Node #3: [64, 129] from Operation: 47+82=129
Current State: 65:[64, 129], Operations: ['63+1=64', '47+82=129']
Exploring Operation: 129-64=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[63, 1, 47, 82], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [1, 47, 19]
Generated Node #0,0: 65:[1, 47, 19] Operation: 82-63=19
Exploring Operation: 82-47=35, Resulting Numbers: [63, 1, 35]
Generated Node #0,1: 65:[63, 1, 35] Operation: 82-47=35
Exploring Operation: 63+1=64, Resulting Numbers: [47, 82, 64]
Generated Node #0,2: 65:[47, 82, 64] Operation: 63+1=64
Exploring Operation: 1+47=48, Resulting Numbers: [63, 82, 48]
Generated Node #0,3: 65:[63, 82, 48] Operation: 1+47=48
Exploring Operation: 63-47=16, Resulting Numbers: [1, 82, 16]
Generated Node #0,4: 65:[1, 82, 16] Operation: 63-47=16
Start Sub Search at level 1: Moving to Node #0,4
Current State: 65:[1, 82, 16], Operations: ['63-47=16']
Exploring Operation: 82-16=66, Resulting Numbers: [1, 66]
Generated Node #0,4,0: 65:[1, 66] Operation: 82-16=66
Exploring Operation: 16-1=15, Resulting Numbers: [82, 15]
Generated Node #0,4,1: 65:[82, 15] Operation: 16-1=15
Exploring Operation: 82/1=82, Resulting Numbers: [16, 82]
Generated Node #0,4,2: 65:[16, 82] Operation: 82/1=82
Exploring Operation: 82-1=81, Resulting Numbers: [16, 81]
Generated Node #0,4,3: 65:[16, 81] Operation: 82-1=81
Exploring Operation: 1*82=82, Resulting Numbers: [16, 82]
Generated Node #0,4,4: 65:[16, 82] Operation: 1*82=82
Moving to Node #0,4,0
Current State: 65:[1, 66], Operations: ['63-47=16', '82-16=66']
Exploring Operation: 1+66=67, Resulting Numbers: [67]
67,65 unequal: No Solution
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,65 unequal: No Solution
Exploring Operation: 1*66=66, Resulting Numbers: [66]
66,65 unequal: No Solution
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[63, 1, 47, 82], Operations: []
Exploring Operation: 63-47=16, Resulting Numbers: [1, 82, 16]
Generated Node #0,4: 65:[1, 82, 16] Operation: 63-47=16
Moving to Node #0,4
Current State: 65:[1, 82, 16], Operations: ['63-47=16']
Exploring Operation: 82-16=66, Resulting Numbers: [1, 66]
Generated Node #0,4,0: 65:[1, 66] Operation: 82-16=66
Moving to Node #0,4,0
Current State: 65:[1, 66], Operations: ['63-47=16', '82-16=66']
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
28,
8,
4,
81
] | 39 | [
"28*4=112",
"81-8=73",
"112-73=39"
] | Current State: 39:[28, 8, 4, 81], Operations: []
Exploring Operation: 28*4=112, Resulting Numbers: [8, 81, 112]
Generated Node #2: [8, 81, 112] from Operation: 28*4=112
Current State: 39:[8, 81, 112], Operations: ['28*4=112']
Exploring Operation: 81-8=73, Resulting Numbers: [112, 73]
Generated Node #3: [112, 73] from Operation: 81-8=73
Current State: 39:[112, 73], Operations: ['28*4=112', '81-8=73']
Exploring Operation: 112-73=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[28, 8, 4, 81], Operations: []
Exploring Operation: 28+8=36, Resulting Numbers: [4, 81, 36]
Generated Node #0,0: 39:[4, 81, 36] Operation: 28+8=36
Exploring Operation: 81-8=73, Resulting Numbers: [28, 4, 73]
Generated Node #0,1: 39:[28, 4, 73] Operation: 81-8=73
Exploring Operation: 81-28=53, Resulting Numbers: [8, 4, 53]
Generated Node #0,2: 39:[8, 4, 53] Operation: 81-28=53
Moving to Node #0,2
Current State: 39:[8, 4, 53], Operations: ['81-28=53']
Exploring Operation: 8-4=4, Resulting Numbers: [53, 4]
Generated Node #0,2,0: 39:[53, 4] Operation: 8-4=4
Exploring Operation: 53-8=45, Resulting Numbers: [4, 45]
Generated Node #0,2,1: 39:[4, 45] Operation: 53-8=45
Exploring Operation: 8+4=12, Resulting Numbers: [53, 12]
Generated Node #0,2,2: 39:[53, 12] Operation: 8+4=12
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 39:[4, 45], Operations: ['81-28=53', '53-8=45']
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,39 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 39:[53, 4], Operations: ['81-28=53', '8-4=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,39 unequal: No Solution
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 39:[53, 12], Operations: ['81-28=53', '8+4=12']
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 53*12=636, Resulting Numbers: [636]
636,39 unequal: No Solution
Exploring Operation: 53+12=65, Resulting Numbers: [65]
65,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 39:[4, 81, 36], Operations: ['28+8=36']
Exploring Operation: 81-36=45, Resulting Numbers: [4, 45]
Generated Node #0,0,0: 39:[4, 45] Operation: 81-36=45
Exploring Operation: 81-4=77, Resulting Numbers: [36, 77]
Generated Node #0,0,1: 39:[36, 77] Operation: 81-4=77
Exploring Operation: 4+36=40, Resulting Numbers: [81, 40]
Generated Node #0,0,2: 39:[81, 40] Operation: 4+36=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[4, 45], Operations: ['28+8=36', '81-36=45']
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,39 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[36, 77], Operations: ['28+8=36', '81-4=77']
Exploring Operation: 36+77=113, Resulting Numbers: [113]
113,39 unequal: No Solution
Exploring Operation: 77-36=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 36*77=2772, Resulting Numbers: [2772]
2772,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 39:[81, 40], Operations: ['28+8=36', '4+36=40']
Exploring Operation: 81*40=3240, Resulting Numbers: [3240]
3240,39 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 81+40=121, Resulting Numbers: [121]
121,39 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: 39:[28, 4, 73], Operations: ['81-8=73']
Exploring Operation: 28+4=32, Resulting Numbers: [73, 32]
Generated Node #0,1,0: 39:[73, 32] Operation: 28+4=32
Exploring Operation: 28/4=7, Resulting Numbers: [73, 7]
Generated Node #0,1,1: 39:[73, 7] Operation: 28/4=7
Exploring Operation: 73-28=45, Resulting Numbers: [4, 45]
Generated Node #0,1,2: 39:[4, 45] Operation: 73-28=45
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[4, 45], Operations: ['81-8=73', '73-28=45']
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,39 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[73, 7], Operations: ['81-8=73', '28/4=7']
Exploring Operation: 73+7=80, Resulting Numbers: [80]
80,39 unequal: No Solution
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,39 unequal: No Solution
Exploring Operation: 73*7=511, Resulting Numbers: [511]
511,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[73, 32], Operations: ['81-8=73', '28+4=32']
Exploring Operation: 73+32=105, Resulting Numbers: [105]
105,39 unequal: No Solution
Exploring Operation: 73-32=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 73*32=2336, Resulting Numbers: [2336]
2336,39 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 |
[
16,
89,
64,
65
] | 73 | [
"89-16=73",
"65-64=1",
"73*1=73"
] | Current State: 73:[16, 89, 64, 65], Operations: []
Exploring Operation: 89-16=73, Resulting Numbers: [64, 65, 73]
Generated Node #2: [64, 65, 73] from Operation: 89-16=73
Current State: 73:[64, 65, 73], Operations: ['89-16=73']
Exploring Operation: 65-64=1, Resulting Numbers: [73, 1]
Generated Node #3: [73, 1] from Operation: 65-64=1
Current State: 73:[73, 1], Operations: ['89-16=73', '65-64=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[16, 89, 64, 65], Operations: []
Exploring Operation: 16+65=81, Resulting Numbers: [89, 64, 81]
Generated Node #0,0: 73:[89, 64, 81] Operation: 16+65=81
Exploring Operation: 16+89=105, Resulting Numbers: [64, 65, 105]
Generated Node #0,1: 73:[64, 65, 105] Operation: 16+89=105
Exploring Operation: 16+64=80, Resulting Numbers: [89, 65, 80]
Generated Node #0,2: 73:[89, 65, 80] Operation: 16+64=80
Exploring Operation: 89-16=73, Resulting Numbers: [64, 65, 73]
Generated Node #0,3: 73:[64, 65, 73] Operation: 89-16=73
Moving to Node #0,3
Current State: 73:[64, 65, 73], Operations: ['89-16=73']
Exploring Operation: 64+73=137, Resulting Numbers: [65, 137]
Generated Node #0,3,0: 73:[65, 137] Operation: 64+73=137
Exploring Operation: 73-64=9, Resulting Numbers: [65, 9]
Generated Node #0,3,1: 73:[65, 9] Operation: 73-64=9
Exploring Operation: 64+65=129, Resulting Numbers: [73, 129]
Generated Node #0,3,2: 73:[73, 129] Operation: 64+65=129
Exploring Operation: 65-64=1, Resulting Numbers: [73, 1]
Generated Node #0,3,3: 73:[73, 1] Operation: 65-64=1
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 73:[73, 129], Operations: ['89-16=73', '64+65=129']
Exploring Operation: 129-73=56, Resulting Numbers: [56]
56,73 unequal: No Solution
Exploring Operation: 73*129=9417, Resulting Numbers: [9417]
9417,73 unequal: No Solution
Exploring Operation: 73+129=202, Resulting Numbers: [202]
202,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 73:[65, 137], Operations: ['89-16=73', '64+73=137']
Exploring Operation: 137-65=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 65+137=202, Resulting Numbers: [202]
202,73 unequal: No Solution
Exploring Operation: 65*137=8905, Resulting Numbers: [8905]
8905,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 73:[65, 9], Operations: ['89-16=73', '73-64=9']
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,73 unequal: No Solution
Exploring Operation: 65+9=74, Resulting Numbers: [74]
74,73 unequal: No Solution
Exploring Operation: 65*9=585, Resulting Numbers: [585]
585,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 73:[73, 1], Operations: ['89-16=73', '65-64=1']
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,73 unequal: No Solution
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[16, 89, 64, 65], Operations: []
Exploring Operation: 89-16=73, Resulting Numbers: [64, 65, 73]
Generated Node #0,3: 73:[64, 65, 73] Operation: 89-16=73
Moving to Node #0,3
Current State: 73:[64, 65, 73], Operations: ['89-16=73']
Exploring Operation: 65-64=1, Resulting Numbers: [73, 1]
Generated Node #0,3,3: 73:[73, 1] Operation: 65-64=1
Moving to Node #0,3,3
Current State: 73:[73, 1], Operations: ['89-16=73', '65-64=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
66,
26,
25,
34
] | 83 | [
"66+26=92",
"34-25=9",
"92-9=83"
] | Current State: 83:[66, 26, 25, 34], Operations: []
Exploring Operation: 66+26=92, Resulting Numbers: [25, 34, 92]
Generated Node #2: [25, 34, 92] from Operation: 66+26=92
Current State: 83:[25, 34, 92], Operations: ['66+26=92']
Exploring Operation: 34-25=9, Resulting Numbers: [92, 9]
Generated Node #3: [92, 9] from Operation: 34-25=9
Current State: 83:[92, 9], Operations: ['66+26=92', '34-25=9']
Exploring Operation: 92-9=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[66, 26, 25, 34], Operations: []
Exploring Operation: 26+34=60, Resulting Numbers: [66, 25, 60]
Generated Node #0,0: 83:[66, 25, 60] Operation: 26+34=60
Exploring Operation: 25+34=59, Resulting Numbers: [66, 26, 59]
Generated Node #0,1: 83:[66, 26, 59] Operation: 25+34=59
Exploring Operation: 26+25=51, Resulting Numbers: [66, 34, 51]
Generated Node #0,2: 83:[66, 34, 51] Operation: 26+25=51
Moving to Node #0,0
Current State: 83:[66, 25, 60], Operations: ['26+34=60']
Exploring Operation: 66+25=91, Resulting Numbers: [60, 91]
Generated Node #0,0,0: 83:[60, 91] Operation: 66+25=91
Exploring Operation: 25+60=85, Resulting Numbers: [66, 85]
Generated Node #0,0,1: 83:[66, 85] Operation: 25+60=85
Exploring Operation: 66-25=41, Resulting Numbers: [60, 41]
Generated Node #0,0,2: 83:[60, 41] Operation: 66-25=41
Moving to Node #0,1
Current State: 83:[66, 26, 59], Operations: ['25+34=59']
Exploring Operation: 26+59=85, Resulting Numbers: [66, 85]
Generated Node #0,1,0: 83:[66, 85] Operation: 26+59=85
Exploring Operation: 66-26=40, Resulting Numbers: [59, 40]
Generated Node #0,1,1: 83:[59, 40] Operation: 66-26=40
Exploring Operation: 66+26=92, Resulting Numbers: [59, 92]
Generated Node #0,1,2: 83:[59, 92] Operation: 66+26=92
Moving to Node #0,2
Current State: 83:[66, 34, 51], Operations: ['26+25=51']
Exploring Operation: 66-34=32, Resulting Numbers: [51, 32]
Generated Node #0,2,0: 83:[51, 32] Operation: 66-34=32
Exploring Operation: 66+34=100, Resulting Numbers: [51, 100]
Generated Node #0,2,1: 83:[51, 100] Operation: 66+34=100
Exploring Operation: 34+51=85, Resulting Numbers: [66, 85]
Generated Node #0,2,2: 83:[66, 85] Operation: 34+51=85
Moving to Node #0,0,1
Current State: 83:[66, 85], Operations: ['26+34=60', '25+60=85']
Exploring Operation: 66*85=5610, Resulting Numbers: [5610]
5610,83 unequal: No Solution
Exploring Operation: 66+85=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[66, 85], Operations: ['26+25=51', '34+51=85']
Exploring Operation: 66+85=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Exploring Operation: 66*85=5610, Resulting Numbers: [5610]
5610,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[66, 85], Operations: ['25+34=59', '26+59=85']
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Exploring Operation: 66*85=5610, Resulting Numbers: [5610]
5610,83 unequal: No Solution
Exploring Operation: 66+85=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[60, 91], Operations: ['26+34=60', '66+25=91']
Exploring Operation: 60+91=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Exploring Operation: 60*91=5460, Resulting Numbers: [5460]
5460,83 unequal: No Solution
Exploring Operation: 91-60=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[59, 92], Operations: ['25+34=59', '66+26=92']
Exploring Operation: 92-59=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 59*92=5428, Resulting Numbers: [5428]
5428,83 unequal: No Solution
Exploring Operation: 59+92=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[51, 100], Operations: ['26+25=51', '66+34=100']
Exploring Operation: 51*100=5100, Resulting Numbers: [5100]
5100,83 unequal: No Solution
Exploring Operation: 100-51=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Exploring Operation: 51+100=151, Resulting Numbers: [151]
151,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[60, 41], Operations: ['26+34=60', '66-25=41']
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,83 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[59, 40], Operations: ['25+34=59', '66-26=40']
Exploring Operation: 59*40=2360, Resulting Numbers: [2360]
2360,83 unequal: No Solution
Exploring Operation: 59+40=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[51, 32], Operations: ['26+25=51', '66-34=32']
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,83 unequal: No Solution
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[66, 26, 25, 34], Operations: []
Exploring Operation: 26+25=51, Resulting Numbers: [66, 34, 51]
Generated Node #0,2: 83:[66, 34, 51] Operation: 26+25=51
Moving to Node #0,2
Current State: 83:[66, 34, 51], Operations: ['26+25=51']
Exploring Operation: 66-34=32, Resulting Numbers: [51, 32]
Generated Node #0,2,0: 83:[51, 32] Operation: 66-34=32
Moving to Node #0,2,0
Current State: 83:[51, 32], Operations: ['26+25=51', '66-34=32']
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 0.963542 | hs_3 | sum_heuristic |
[
4,
10,
2,
17
] | 66 | [
"2+17=19",
"4*19=76",
"76-10=66"
] | Current State: 66:[4, 10, 2, 17], Operations: []
Exploring Operation: 2+17=19, Resulting Numbers: [4, 10, 19]
Generated Node #2: [4, 10, 19] from Operation: 2+17=19
Current State: 66:[4, 10, 19], Operations: ['2+17=19']
Exploring Operation: 4*19=76, Resulting Numbers: [10, 76]
Generated Node #3: [10, 76] from Operation: 4*19=76
Current State: 66:[10, 76], Operations: ['2+17=19', '4*19=76']
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[4, 10, 2, 17], Operations: []
Exploring Operation: 17-10=7, Resulting Numbers: [4, 2, 7]
Generated Node #0,0: 66:[4, 2, 7] Operation: 17-10=7
Exploring Operation: 4+17=21, Resulting Numbers: [10, 2, 21]
Generated Node #0,1: 66:[10, 2, 21] Operation: 4+17=21
Moving to Node #0,0
Current State: 66:[4, 2, 7], Operations: ['17-10=7']
Exploring Operation: 7-4=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 66:[2, 3] Operation: 7-4=3
Exploring Operation: 4+7=11, Resulting Numbers: [2, 11]
Generated Node #0,0,1: 66:[2, 11] Operation: 4+7=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[2, 3], Operations: ['17-10=7', '7-4=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[2, 11], Operations: ['17-10=7', '4+7=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 66:[10, 2, 21], Operations: ['4+17=21']
Exploring Operation: 10+2=12, Resulting Numbers: [21, 12]
Generated Node #0,1,0: 66:[21, 12] Operation: 10+2=12
Exploring Operation: 21-10=11, Resulting Numbers: [2, 11]
Generated Node #0,1,1: 66:[2, 11] Operation: 21-10=11
Moving to Node #0,1,1
Current State: 66:[2, 11], Operations: ['4+17=21', '21-10=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,66 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[21, 12], Operations: ['4+17=21', '10+2=12']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,66 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
62,
54,
36,
59
] | 31 | [
"62-54=8",
"59-36=23",
"8+23=31"
] | Current State: 31:[62, 54, 36, 59], Operations: []
Exploring Operation: 62-54=8, Resulting Numbers: [36, 59, 8]
Generated Node #2: [36, 59, 8] from Operation: 62-54=8
Current State: 31:[36, 59, 8], Operations: ['62-54=8']
Exploring Operation: 59-36=23, Resulting Numbers: [8, 23]
Generated Node #3: [8, 23] from Operation: 59-36=23
Current State: 31:[8, 23], Operations: ['62-54=8', '59-36=23']
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[62, 54, 36, 59], Operations: []
Exploring Operation: 62-36=26, Resulting Numbers: [54, 59, 26]
Generated Node #0,0: 31:[54, 59, 26] Operation: 62-36=26
Exploring Operation: 62-59=3, Resulting Numbers: [54, 36, 3]
Generated Node #0,1: 31:[54, 36, 3] Operation: 62-59=3
Exploring Operation: 62-54=8, Resulting Numbers: [36, 59, 8]
Generated Node #0,2: 31:[36, 59, 8] Operation: 62-54=8
Moving to Node #0,0
Current State: 31:[54, 59, 26], Operations: ['62-36=26']
Exploring Operation: 59-54=5, Resulting Numbers: [26, 5]
Generated Node #0,0,0: 31:[26, 5] Operation: 59-54=5
Exploring Operation: 54-26=28, Resulting Numbers: [59, 28]
Generated Node #0,0,1: 31:[59, 28] Operation: 54-26=28
Exploring Operation: 59-26=33, Resulting Numbers: [54, 33]
Generated Node #0,0,2: 31:[54, 33] Operation: 59-26=33
Moving to Node #0,1
Current State: 31:[54, 36, 3], Operations: ['62-59=3']
Exploring Operation: 54-3=51, Resulting Numbers: [36, 51]
Generated Node #0,1,0: 31:[36, 51] Operation: 54-3=51
Exploring Operation: 36-3=33, Resulting Numbers: [54, 33]
Generated Node #0,1,1: 31:[54, 33] Operation: 36-3=33
Exploring Operation: 54/3=18, Resulting Numbers: [36, 18]
Generated Node #0,1,2: 31:[36, 18] Operation: 54/3=18
Moving to Node #0,2
Current State: 31:[36, 59, 8], Operations: ['62-54=8']
Exploring Operation: 59-36=23, Resulting Numbers: [8, 23]
Generated Node #0,2,0: 31:[8, 23] Operation: 59-36=23
Exploring Operation: 59-8=51, Resulting Numbers: [36, 51]
Generated Node #0,2,1: 31:[36, 51] Operation: 59-8=51
Exploring Operation: 36-8=28, Resulting Numbers: [59, 28]
Generated Node #0,2,2: 31:[59, 28] Operation: 36-8=28
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[36, 51], Operations: ['62-54=8', '59-8=51']
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 36*51=1836, Resulting Numbers: [1836]
1836,31 unequal: No Solution
Exploring Operation: 36+51=87, Resulting Numbers: [87]
87,31 unequal: No Solution
No 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: 31:[8, 23], Operations: ['62-54=8', '59-36=23']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,31 unequal: No Solution
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[62, 54, 36, 59], Operations: []
Exploring Operation: 62-54=8, Resulting Numbers: [36, 59, 8]
Generated Node #0,2: 31:[36, 59, 8] Operation: 62-54=8
Moving to Node #0,2
Current State: 31:[36, 59, 8], Operations: ['62-54=8']
Exploring Operation: 59-36=23, Resulting Numbers: [8, 23]
Generated Node #0,2,0: 31:[8, 23] Operation: 59-36=23
Moving to Node #0,2,0
Current State: 31:[8, 23], Operations: ['62-54=8', '59-36=23']
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_3 | sum_heuristic |
[
44,
92,
67,
64
] | 60 | [
"67-44=23",
"92/23=4",
"64-4=60"
] | Current State: 60:[44, 92, 67, 64], Operations: []
Exploring Operation: 67-44=23, Resulting Numbers: [92, 64, 23]
Generated Node #2: [92, 64, 23] from Operation: 67-44=23
Current State: 60:[92, 64, 23], Operations: ['67-44=23']
Exploring Operation: 92/23=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 92/23=4
Current State: 60:[64, 4], Operations: ['67-44=23', '92/23=4']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[44, 92, 67, 64], Operations: []
Exploring Operation: 92-64=28, Resulting Numbers: [44, 67, 28]
Generated Node #0,0: 60:[44, 67, 28] Operation: 92-64=28
Exploring Operation: 92-67=25, Resulting Numbers: [44, 64, 25]
Generated Node #0,1: 60:[44, 64, 25] Operation: 92-67=25
Exploring Operation: 92-44=48, Resulting Numbers: [67, 64, 48]
Generated Node #0,2: 60:[67, 64, 48] Operation: 92-44=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[44, 67, 28], Operations: ['92-64=28']
Exploring Operation: 44+28=72, Resulting Numbers: [67, 72]
Generated Node #0,0,0: 60:[67, 72] Operation: 44+28=72
Exploring Operation: 44-28=16, Resulting Numbers: [67, 16]
Generated Node #0,0,1: 60:[67, 16] Operation: 44-28=16
Exploring Operation: 67-44=23, Resulting Numbers: [28, 23]
Generated Node #0,0,2: 60:[28, 23] Operation: 67-44=23
Moving to Node #0,0,2
Current State: 60:[28, 23], Operations: ['92-64=28', '67-44=23']
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Exploring Operation: 28*23=644, Resulting Numbers: [644]
644,60 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[67, 16], Operations: ['92-64=28', '44-28=16']
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Exploring Operation: 67*16=1072, Resulting Numbers: [1072]
1072,60 unequal: No Solution
Exploring Operation: 67+16=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[67, 72], Operations: ['92-64=28', '44+28=72']
Exploring Operation: 67+72=139, Resulting Numbers: [139]
139,60 unequal: No Solution
Exploring Operation: 67*72=4824, Resulting Numbers: [4824]
4824,60 unequal: No Solution
Exploring Operation: 72-67=5, Resulting Numbers: [5]
5,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,1
Current State: 60:[44, 64, 25], Operations: ['92-67=25']
Exploring Operation: 64-44=20, Resulting Numbers: [25, 20]
Generated Node #0,1,0: 60:[25, 20] Operation: 64-44=20
Exploring Operation: 44+25=69, Resulting Numbers: [64, 69]
Generated Node #0,1,1: 60:[64, 69] Operation: 44+25=69
Exploring Operation: 44-25=19, Resulting Numbers: [64, 19]
Generated Node #0,1,2: 60:[64, 19] Operation: 44-25=19
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[25, 20], Operations: ['92-67=25', '64-44=20']
Exploring Operation: 25+20=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Exploring Operation: 25*20=500, Resulting Numbers: [500]
500,60 unequal: No Solution
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,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:[64, 19], Operations: ['92-67=25', '44-25=19']
Exploring Operation: 64*19=1216, Resulting Numbers: [1216]
1216,60 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[64, 69], Operations: ['92-67=25', '44+25=69']
Exploring Operation: 64*69=4416, Resulting Numbers: [4416]
4416,60 unequal: No Solution
Exploring Operation: 69-64=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 64+69=133, Resulting Numbers: [133]
133,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[67, 64, 48], Operations: ['92-44=48']
Exploring Operation: 67-64=3, Resulting Numbers: [48, 3]
Generated Node #0,2,0: 60:[48, 3] Operation: 67-64=3
Exploring Operation: 64-48=16, Resulting Numbers: [67, 16]
Generated Node #0,2,1: 60:[67, 16] Operation: 64-48=16
Exploring Operation: 67-48=19, Resulting Numbers: [64, 19]
Generated Node #0,2,2: 60:[64, 19] Operation: 67-48=19
Moving to Node #0,2,2
Current State: 60:[64, 19], Operations: ['92-44=48', '67-48=19']
Exploring Operation: 64*19=1216, Resulting Numbers: [1216]
1216,60 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[67, 16], Operations: ['92-44=48', '64-48=16']
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Exploring Operation: 67+16=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 67*16=1072, Resulting Numbers: [1072]
1072,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[48, 3], Operations: ['92-44=48', '67-64=3']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,60 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 |
[
85,
43,
69,
56
] | 87 | [
"43+69=112",
"112/56=2",
"85+2=87"
] | Current State: 87:[85, 43, 69, 56], Operations: []
Exploring Operation: 43+69=112, Resulting Numbers: [85, 56, 112]
Generated Node #2: [85, 56, 112] from Operation: 43+69=112
Current State: 87:[85, 56, 112], Operations: ['43+69=112']
Exploring Operation: 112/56=2, Resulting Numbers: [85, 2]
Generated Node #3: [85, 2] from Operation: 112/56=2
Current State: 87:[85, 2], Operations: ['43+69=112', '112/56=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[85, 43, 69, 56], Operations: []
Exploring Operation: 69-56=13, Resulting Numbers: [85, 43, 13]
Generated Node #0,0: 87:[85, 43, 13] Operation: 69-56=13
Moving to Node #0,0
Current State: 87:[85, 43, 13], Operations: ['69-56=13']
Exploring Operation: 43-13=30, Resulting Numbers: [85, 30]
Generated Node #0,0,0: 87:[85, 30] Operation: 43-13=30
Moving to Node #0,0,0
Current State: 87:[85, 30], Operations: ['69-56=13', '43-13=30']
Exploring Operation: 85-30=55, Resulting Numbers: [55]
55,87 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
93,
64,
36,
26
] | 39 | [
"93-64=29",
"36-26=10",
"29+10=39"
] | Current State: 39:[93, 64, 36, 26], Operations: []
Exploring Operation: 93-64=29, Resulting Numbers: [36, 26, 29]
Generated Node #2: [36, 26, 29] from Operation: 93-64=29
Current State: 39:[36, 26, 29], Operations: ['93-64=29']
Exploring Operation: 36-26=10, Resulting Numbers: [29, 10]
Generated Node #3: [29, 10] from Operation: 36-26=10
Current State: 39:[29, 10], Operations: ['93-64=29', '36-26=10']
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[93, 64, 36, 26], Operations: []
Exploring Operation: 93-64=29, Resulting Numbers: [36, 26, 29]
Generated Node #0,0: 39:[36, 26, 29] Operation: 93-64=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[36, 26, 29], Operations: ['93-64=29']
Exploring Operation: 29-26=3, Resulting Numbers: [36, 3]
Generated Node #0,0,0: 39:[36, 3] Operation: 29-26=3
Moving to Node #0,0,0
Current State: 39:[36, 3], Operations: ['93-64=29', '29-26=3']
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[93, 64, 36, 26], Operations: []
Exploring Operation: 93-64=29, Resulting Numbers: [36, 26, 29]
Generated Node #0,0: 39:[36, 26, 29] Operation: 93-64=29
Moving to Node #0,0
Current State: 39:[36, 26, 29], Operations: ['93-64=29']
Exploring Operation: 29-26=3, Resulting Numbers: [36, 3]
Generated Node #0,0,0: 39:[36, 3] Operation: 29-26=3
Moving to Node #0,0,0
Current State: 39:[36, 3], Operations: ['93-64=29', '29-26=3']
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
58,
35,
79,
55
] | 26 | [
"58-55=3",
"35*3=105",
"105-79=26"
] | Current State: 26:[58, 35, 79, 55], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [35, 79, 3]
Generated Node #2: [35, 79, 3] from Operation: 58-55=3
Current State: 26:[35, 79, 3], Operations: ['58-55=3']
Exploring Operation: 35*3=105, Resulting Numbers: [79, 105]
Generated Node #3: [79, 105] from Operation: 35*3=105
Current State: 26:[79, 105], Operations: ['58-55=3', '35*3=105']
Exploring Operation: 105-79=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[58, 35, 79, 55], Operations: []
Exploring Operation: 79-58=21, Resulting Numbers: [35, 55, 21]
Generated Node #0,0: 26:[35, 55, 21] Operation: 79-58=21
Exploring Operation: 58-55=3, Resulting Numbers: [35, 79, 3]
Generated Node #0,1: 26:[35, 79, 3] Operation: 58-55=3
Exploring Operation: 79-35=44, Resulting Numbers: [58, 55, 44]
Generated Node #0,2: 26:[58, 55, 44] Operation: 79-35=44
Exploring Operation: 58-35=23, Resulting Numbers: [79, 55, 23]
Generated Node #0,3: 26:[79, 55, 23] Operation: 58-35=23
Exploring Operation: 79-55=24, Resulting Numbers: [58, 35, 24]
Generated Node #0,4: 26:[58, 35, 24] Operation: 79-55=24
Moving to Node #0,0
Current State: 26:[35, 55, 21], Operations: ['79-58=21']
Exploring Operation: 35+21=56, Resulting Numbers: [55, 56]
Generated Node #0,0,0: 26:[55, 56] Operation: 35+21=56
Exploring Operation: 55+21=76, Resulting Numbers: [35, 76]
Generated Node #0,0,1: 26:[35, 76] Operation: 55+21=76
Exploring Operation: 35-21=14, Resulting Numbers: [55, 14]
Generated Node #0,0,2: 26:[55, 14] Operation: 35-21=14
Exploring Operation: 55-21=34, Resulting Numbers: [35, 34]
Generated Node #0,0,3: 26:[35, 34] Operation: 55-21=34
Exploring Operation: 55-35=20, Resulting Numbers: [21, 20]
Generated Node #0,0,4: 26:[21, 20] Operation: 55-35=20
Moving to Node #0,4
Current State: 26:[58, 35, 24], Operations: ['79-55=24']
Exploring Operation: 35+24=59, Resulting Numbers: [58, 59]
Generated Node #0,4,0: 26:[58, 59] Operation: 35+24=59
Exploring Operation: 58-24=34, Resulting Numbers: [35, 34]
Generated Node #0,4,1: 26:[35, 34] Operation: 58-24=34
Exploring Operation: 35-24=11, Resulting Numbers: [58, 11]
Generated Node #0,4,2: 26:[58, 11] Operation: 35-24=11
Exploring Operation: 58-35=23, Resulting Numbers: [24, 23]
Generated Node #0,4,3: 26:[24, 23] Operation: 58-35=23
Exploring Operation: 58+24=82, Resulting Numbers: [35, 82]
Generated Node #0,4,4: 26:[35, 82] Operation: 58+24=82
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 26:[24, 23], Operations: ['79-55=24', '58-35=23']
Exploring Operation: 24*23=552, Resulting Numbers: [552]
552,26 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,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,4,1
Current State: 26:[35, 34], Operations: ['79-55=24', '58-24=34']
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 35+34=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 35*34=1190, Resulting Numbers: [1190]
1190,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,4,2
Current State: 26:[58, 11], Operations: ['79-55=24', '35-24=11']
Exploring Operation: 58+11=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,26 unequal: No Solution
Exploring Operation: 58*11=638, Resulting Numbers: [638]
638,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,4,0
Current State: 26:[58, 59], Operations: ['79-55=24', '35+24=59']
Exploring Operation: 58*59=3422, Resulting Numbers: [3422]
3422,26 unequal: No Solution
Exploring Operation: 59-58=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 58+59=117, Resulting Numbers: [117]
117,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,4,4
Current State: 26:[35, 82], Operations: ['79-55=24', '58+24=82']
Exploring Operation: 35+82=117, Resulting Numbers: [117]
117,26 unequal: No Solution
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,26 unequal: No Solution
Exploring Operation: 35*82=2870, Resulting Numbers: [2870]
2870,26 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: 26:[35, 79, 3], Operations: ['58-55=3']
Exploring Operation: 35+3=38, Resulting Numbers: [79, 38]
Generated Node #0,1,0: 26:[79, 38] Operation: 35+3=38
Exploring Operation: 79+3=82, Resulting Numbers: [35, 82]
Generated Node #0,1,1: 26:[35, 82] Operation: 79+3=82
Exploring Operation: 35-3=32, Resulting Numbers: [79, 32]
Generated Node #0,1,2: 26:[79, 32] Operation: 35-3=32
Exploring Operation: 79-35=44, Resulting Numbers: [3, 44]
Generated Node #0,1,3: 26:[3, 44] Operation: 79-35=44
Exploring Operation: 79-3=76, Resulting Numbers: [35, 76]
Generated Node #0,1,4: 26:[35, 76] Operation: 79-3=76
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 26:[3, 44], Operations: ['58-55=3', '79-35=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,26 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,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,2
Current State: 26:[79, 32], Operations: ['58-55=3', '35-3=32']
Exploring Operation: 79+32=111, Resulting Numbers: [111]
111,26 unequal: No Solution
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,26 unequal: No Solution
Exploring Operation: 79*32=2528, Resulting Numbers: [2528]
2528,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,4
Current State: 26:[35, 76], Operations: ['58-55=3', '79-3=76']
Exploring Operation: 35*76=2660, Resulting Numbers: [2660]
2660,26 unequal: No Solution
Exploring Operation: 35+76=111, Resulting Numbers: [111]
111,26 unequal: No Solution
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,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:[79, 38], Operations: ['58-55=3', '35+3=38']
Exploring Operation: 79*38=3002, Resulting Numbers: [3002]
3002,26 unequal: No Solution
Exploring Operation: 79+38=117, Resulting Numbers: [117]
117,26 unequal: No Solution
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,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:[35, 82], Operations: ['58-55=3', '79+3=82']
Exploring Operation: 35*82=2870, Resulting Numbers: [2870]
2870,26 unequal: No Solution
Exploring Operation: 35+82=117, Resulting Numbers: [117]
117,26 unequal: No Solution
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,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:[58, 55, 44], Operations: ['79-35=44']
Exploring Operation: 58-44=14, Resulting Numbers: [55, 14]
Generated Node #0,2,0: 26:[55, 14] Operation: 58-44=14
Exploring Operation: 55-44=11, Resulting Numbers: [58, 11]
Generated Node #0,2,1: 26:[58, 11] Operation: 55-44=11
Exploring Operation: 58+44=102, Resulting Numbers: [55, 102]
Generated Node #0,2,2: 26:[55, 102] Operation: 58+44=102
Exploring Operation: 58-55=3, Resulting Numbers: [44, 3]
Generated Node #0,2,3: 26:[44, 3] Operation: 58-55=3
Exploring Operation: 58+55=113, Resulting Numbers: [44, 113]
Generated Node #0,2,4: 26:[44, 113] Operation: 58+55=113
Moving to Node #0,3
Current State: 26:[79, 55, 23], Operations: ['58-35=23']
Exploring Operation: 79-55=24, Resulting Numbers: [23, 24]
Generated Node #0,3,0: 26:[23, 24] Operation: 79-55=24
Exploring Operation: 79+23=102, Resulting Numbers: [55, 102]
Generated Node #0,3,1: 26:[55, 102] Operation: 79+23=102
Exploring Operation: 55+23=78, Resulting Numbers: [79, 78]
Generated Node #0,3,2: 26:[79, 78] Operation: 55+23=78
Exploring Operation: 55-23=32, Resulting Numbers: [79, 32]
Generated Node #0,3,3: 26:[79, 32] Operation: 55-23=32
Exploring Operation: 79-23=56, Resulting Numbers: [55, 56]
Generated Node #0,3,4: 26:[55, 56] Operation: 79-23=56
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 26:[23, 24], Operations: ['58-35=23', '79-55=24']
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,26 unequal: No Solution
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,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,3,3
Current State: 26:[79, 32], Operations: ['58-35=23', '55-23=32']
Exploring Operation: 79+32=111, Resulting Numbers: [111]
111,26 unequal: No Solution
Exploring Operation: 79*32=2528, Resulting Numbers: [2528]
2528,26 unequal: No Solution
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,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,3,4
Current State: 26:[55, 56], Operations: ['58-35=23', '79-23=56']
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 55*56=3080, Resulting Numbers: [3080]
3080,26 unequal: No Solution
Exploring Operation: 55+56=111, Resulting Numbers: [111]
111,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,3,1
Current State: 26:[55, 102], Operations: ['58-35=23', '79+23=102']
Exploring Operation: 55+102=157, Resulting Numbers: [157]
157,26 unequal: No Solution
Exploring Operation: 55*102=5610, Resulting Numbers: [5610]
5610,26 unequal: No Solution
Exploring Operation: 102-55=47, Resulting Numbers: [47]
47,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,3,2
Current State: 26:[79, 78], Operations: ['58-35=23', '55+23=78']
Exploring Operation: 79-78=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 79*78=6162, Resulting Numbers: [6162]
6162,26 unequal: No Solution
Exploring Operation: 79+78=157, Resulting Numbers: [157]
157,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 26:[21, 20], Operations: ['79-58=21', '55-35=20']
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 21*20=420, Resulting Numbers: [420]
420,26 unequal: No Solution
Moving to Node #0,0,3
Current State: 26:[35, 34], Operations: ['79-58=21', '55-21=34']
Exploring Operation: 35*34=1190, Resulting Numbers: [1190]
1190,26 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 35+34=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[44, 3], Operations: ['79-35=44', '58-55=3']
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,26 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[55, 14], Operations: ['79-35=44', '58-44=14']
Exploring Operation: 55*14=770, Resulting Numbers: [770]
770,26 unequal: No Solution
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[55, 14], Operations: ['79-58=21', '35-21=14']
Exploring Operation: 55*14=770, Resulting Numbers: [770]
770,26 unequal: No Solution
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[58, 11], Operations: ['79-35=44', '55-44=11']
Exploring Operation: 58*11=638, Resulting Numbers: [638]
638,26 unequal: No Solution
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,26 unequal: No Solution
Exploring Operation: 58+11=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[35, 76], Operations: ['79-58=21', '55+21=76']
Exploring Operation: 35+76=111, Resulting Numbers: [111]
111,26 unequal: No Solution
Exploring Operation: 35*76=2660, Resulting Numbers: [2660]
2660,26 unequal: No Solution
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[55, 56], Operations: ['79-58=21', '35+21=56']
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,26 unequal: No Solution
Exploring Operation: 55*56=3080, Resulting Numbers: [3080]
3080,26 unequal: No Solution
Exploring Operation: 55+56=111, Resulting Numbers: [111]
111,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[55, 102], Operations: ['79-35=44', '58+44=102']
Exploring Operation: 55+102=157, Resulting Numbers: [157]
157,26 unequal: No Solution
Exploring Operation: 55*102=5610, Resulting Numbers: [5610]
5610,26 unequal: No Solution
Exploring Operation: 102-55=47, Resulting Numbers: [47]
47,26 unequal: No Solution
Moving to Node #0,2,4
Current State: 26:[44, 113], Operations: ['79-35=44', '58+55=113']
Exploring Operation: 113-44=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 44*113=4972, Resulting Numbers: [4972]
4972,26 unequal: No Solution
Exploring Operation: 44+113=157, Resulting Numbers: [157]
157,26 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
77,
49,
67,
10
] | 69 | [
"77+49=126",
"67-10=57",
"126-57=69"
] | Current State: 69:[77, 49, 67, 10], Operations: []
Exploring Operation: 77+49=126, Resulting Numbers: [67, 10, 126]
Generated Node #2: [67, 10, 126] from Operation: 77+49=126
Current State: 69:[67, 10, 126], Operations: ['77+49=126']
Exploring Operation: 67-10=57, Resulting Numbers: [126, 57]
Generated Node #3: [126, 57] from Operation: 67-10=57
Current State: 69:[126, 57], Operations: ['77+49=126', '67-10=57']
Exploring Operation: 126-57=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[77, 49, 67, 10], Operations: []
Exploring Operation: 77-49=28, Resulting Numbers: [67, 10, 28]
Generated Node #0,0: 69:[67, 10, 28] Operation: 77-49=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[67, 10, 28], Operations: ['77-49=28']
Exploring Operation: 28-10=18, Resulting Numbers: [67, 18]
Generated Node #0,0,0: 69:[67, 18] Operation: 28-10=18
Moving to Node #0,0,0
Current State: 69:[67, 18], Operations: ['77-49=28', '28-10=18']
Exploring Operation: 67+18=85, Resulting Numbers: [85]
85,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
14,
60,
76,
74
] | 92 | [
"60-14=46",
"76-74=2",
"46*2=92"
] | Current State: 92:[14, 60, 76, 74], Operations: []
Exploring Operation: 60-14=46, Resulting Numbers: [76, 74, 46]
Generated Node #2: [76, 74, 46] from Operation: 60-14=46
Current State: 92:[76, 74, 46], Operations: ['60-14=46']
Exploring Operation: 76-74=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 76-74=2
Current State: 92:[46, 2], Operations: ['60-14=46', '76-74=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[14, 60, 76, 74], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [14, 60, 2]
Generated Node #0,0: 92:[14, 60, 2] Operation: 76-74=2
Exploring Operation: 60-14=46, Resulting Numbers: [76, 74, 46]
Generated Node #0,1: 92:[76, 74, 46] Operation: 60-14=46
Moving to Node #0,0
Current State: 92:[14, 60, 2], Operations: ['76-74=2']
Exploring Operation: 60-14=46, Resulting Numbers: [2, 46]
Generated Node #0,0,0: 92:[2, 46] Operation: 60-14=46
Exploring Operation: 60/2=30, Resulting Numbers: [14, 30]
Generated Node #0,0,1: 92:[14, 30] Operation: 60/2=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[2, 46], Operations: ['76-74=2', '60-14=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,92 unequal: No Solution
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[14, 60, 76, 74], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [14, 60, 2]
Generated Node #0,0: 92:[14, 60, 2] Operation: 76-74=2
Moving to Node #0,0
Current State: 92:[14, 60, 2], Operations: ['76-74=2']
Exploring Operation: 60-14=46, Resulting Numbers: [2, 46]
Generated Node #0,0,0: 92:[2, 46] Operation: 60-14=46
Moving to Node #0,0,0
Current State: 92:[2, 46], Operations: ['76-74=2', '60-14=46']
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
5,
35,
1,
52
] | 80 | [
"35+1=36",
"52-36=16",
"5*16=80"
] | Current State: 80:[5, 35, 1, 52], Operations: []
Exploring Operation: 35+1=36, Resulting Numbers: [5, 52, 36]
Generated Node #2: [5, 52, 36] from Operation: 35+1=36
Current State: 80:[5, 52, 36], Operations: ['35+1=36']
Exploring Operation: 52-36=16, Resulting Numbers: [5, 16]
Generated Node #3: [5, 16] from Operation: 52-36=16
Current State: 80:[5, 16], Operations: ['35+1=36', '52-36=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[5, 35, 1, 52], Operations: []
Exploring Operation: 35+52=87, Resulting Numbers: [5, 1, 87]
Generated Node #0,0: 80:[5, 1, 87] Operation: 35+52=87
Exploring Operation: 52-35=17, Resulting Numbers: [5, 1, 17]
Generated Node #0,1: 80:[5, 1, 17] Operation: 52-35=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[5, 1, 17], Operations: ['52-35=17']
Exploring Operation: 17-1=16, Resulting Numbers: [5, 16]
Generated Node #0,1,0: 80:[5, 16] Operation: 17-1=16
Exploring Operation: 5*1=5, Resulting Numbers: [17, 5]
Generated Node #0,1,1: 80:[17, 5] Operation: 5*1=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[5, 16], Operations: ['52-35=17', '17-1=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[5, 35, 1, 52], Operations: []
Exploring Operation: 52-35=17, Resulting Numbers: [5, 1, 17]
Generated Node #0,1: 80:[5, 1, 17] Operation: 52-35=17
Moving to Node #0,1
Current State: 80:[5, 1, 17], Operations: ['52-35=17']
Exploring Operation: 17-1=16, Resulting Numbers: [5, 16]
Generated Node #0,1,0: 80:[5, 16] Operation: 17-1=16
Moving to Node #0,1,0
Current State: 80:[5, 16], Operations: ['52-35=17', '17-1=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
56,
34,
33,
28
] | 29 | [
"56+34=90",
"33+28=61",
"90-61=29"
] | Current State: 29:[56, 34, 33, 28], Operations: []
Exploring Operation: 56+34=90, Resulting Numbers: [33, 28, 90]
Generated Node #2: [33, 28, 90] from Operation: 56+34=90
Current State: 29:[33, 28, 90], Operations: ['56+34=90']
Exploring Operation: 33+28=61, Resulting Numbers: [90, 61]
Generated Node #3: [90, 61] from Operation: 33+28=61
Current State: 29:[90, 61], Operations: ['56+34=90', '33+28=61']
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[56, 34, 33, 28], Operations: []
Exploring Operation: 56-34=22, Resulting Numbers: [33, 28, 22]
Generated Node #0,0: 29:[33, 28, 22] Operation: 56-34=22
Exploring Operation: 56-33=23, Resulting Numbers: [34, 28, 23]
Generated Node #0,1: 29:[34, 28, 23] Operation: 56-33=23
Exploring Operation: 56-28=28, Resulting Numbers: [34, 33, 28]
Generated Node #0,2: 29:[34, 33, 28] Operation: 56-28=28
Moving to Node #0,2
Current State: 29:[34, 33, 28], Operations: ['56-28=28']
Exploring Operation: 34-28=6, Resulting Numbers: [33, 6]
Generated Node #0,2,0: 29:[33, 6] Operation: 34-28=6
Exploring Operation: 33-28=5, Resulting Numbers: [34, 5]
Generated Node #0,2,1: 29:[34, 5] Operation: 33-28=5
Exploring Operation: 34-33=1, Resulting Numbers: [28, 1]
Generated Node #0,2,2: 29:[28, 1] Operation: 34-33=1
Moving to Node #0,0
Current State: 29:[33, 28, 22], Operations: ['56-34=22']
Exploring Operation: 33-22=11, Resulting Numbers: [28, 11]
Generated Node #0,0,0: 29:[28, 11] Operation: 33-22=11
Exploring Operation: 33+22=55, Resulting Numbers: [28, 55]
Generated Node #0,0,1: 29:[28, 55] Operation: 33+22=55
Exploring Operation: 28+22=50, Resulting Numbers: [33, 50]
Generated Node #0,0,2: 29:[33, 50] Operation: 28+22=50
Moving to Node #0,1
Current State: 29:[34, 28, 23], Operations: ['56-33=23']
Exploring Operation: 28+23=51, Resulting Numbers: [34, 51]
Generated Node #0,1,0: 29:[34, 51] Operation: 28+23=51
Exploring Operation: 34-28=6, Resulting Numbers: [23, 6]
Generated Node #0,1,1: 29:[23, 6] Operation: 34-28=6
Exploring Operation: 34-23=11, Resulting Numbers: [28, 11]
Generated Node #0,1,2: 29:[28, 11] Operation: 34-23=11
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[28, 11], Operations: ['56-33=23', '34-23=11']
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,29 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[34, 51], Operations: ['56-33=23', '28+23=51']
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,29 unequal: No Solution
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[23, 6], Operations: ['56-33=23', '34-28=6']
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[56, 34, 33, 28], Operations: []
Exploring Operation: 56-33=23, Resulting Numbers: [34, 28, 23]
Generated Node #0,1: 29:[34, 28, 23] Operation: 56-33=23
Moving to Node #0,1
Current State: 29:[34, 28, 23], Operations: ['56-33=23']
Exploring Operation: 34-28=6, Resulting Numbers: [23, 6]
Generated Node #0,1,1: 29:[23, 6] Operation: 34-28=6
Moving to Node #0,1,1
Current State: 29:[23, 6], Operations: ['56-33=23', '34-28=6']
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
58,
77,
41,
29
] | 59 | [
"58/29=2",
"77+41=118",
"118/2=59"
] | Current State: 59:[58, 77, 41, 29], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [77, 41, 2]
Generated Node #2: [77, 41, 2] from Operation: 58/29=2
Current State: 59:[77, 41, 2], Operations: ['58/29=2']
Exploring Operation: 77+41=118, Resulting Numbers: [2, 118]
Generated Node #3: [2, 118] from Operation: 77+41=118
Current State: 59:[2, 118], Operations: ['58/29=2', '77+41=118']
Exploring Operation: 118/2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[58, 77, 41, 29], Operations: []
Exploring Operation: 77-29=48, Resulting Numbers: [58, 41, 48]
Generated Node #0,0: 59:[58, 41, 48] Operation: 77-29=48
Exploring Operation: 41+29=70, Resulting Numbers: [58, 77, 70]
Generated Node #0,1: 59:[58, 77, 70] Operation: 41+29=70
Moving to Node #0,0
Current State: 59:[58, 41, 48], Operations: ['77-29=48']
Exploring Operation: 41+48=89, Resulting Numbers: [58, 89]
Generated Node #0,0,0: 59:[58, 89] Operation: 41+48=89
Exploring Operation: 58+41=99, Resulting Numbers: [48, 99]
Generated Node #0,0,1: 59:[48, 99] Operation: 58+41=99
Moving to Node #0,1
Current State: 59:[58, 77, 70], Operations: ['41+29=70']
Exploring Operation: 77-58=19, Resulting Numbers: [70, 19]
Generated Node #0,1,0: 59:[70, 19] Operation: 77-58=19
Exploring Operation: 77-70=7, Resulting Numbers: [58, 7]
Generated Node #0,1,1: 59:[58, 7] Operation: 77-70=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[70, 19], Operations: ['41+29=70', '77-58=19']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Exploring Operation: 70+19=89, Resulting Numbers: [89]
89,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[58, 7], Operations: ['41+29=70', '77-70=7']
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 59:[58, 89], Operations: ['77-29=48', '41+48=89']
Exploring Operation: 89-58=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 58+89=147, Resulting Numbers: [147]
147,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[48, 99], Operations: ['77-29=48', '58+41=99']
Exploring Operation: 99-48=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Exploring Operation: 48+99=147, Resulting Numbers: [147]
147,59 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
88,
72,
24,
15
] | 43 | [
"72/24=3",
"15*3=45",
"88-45=43"
] | Current State: 43:[88, 72, 24, 15], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [88, 15, 3]
Generated Node #2: [88, 15, 3] from Operation: 72/24=3
Current State: 43:[88, 15, 3], Operations: ['72/24=3']
Exploring Operation: 15*3=45, Resulting Numbers: [88, 45]
Generated Node #3: [88, 45] from Operation: 15*3=45
Current State: 43:[88, 45], Operations: ['72/24=3', '15*3=45']
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[88, 72, 24, 15], Operations: []
Exploring Operation: 88-72=16, Resulting Numbers: [24, 15, 16]
Generated Node #0,0: 43:[24, 15, 16] Operation: 88-72=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[24, 15, 16], Operations: ['88-72=16']
Exploring Operation: 24+15=39, Resulting Numbers: [16, 39]
Generated Node #0,0,0: 43:[16, 39] Operation: 24+15=39
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[16, 39], Operations: ['88-72=16', '24+15=39']
Exploring Operation: 16+39=55, Resulting Numbers: [55]
55,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
24,
81,
46,
3
] | 14 | [
"81-24=57",
"46-3=43",
"57-43=14"
] | Current State: 14:[24, 81, 46, 3], Operations: []
Exploring Operation: 81-24=57, Resulting Numbers: [46, 3, 57]
Generated Node #2: [46, 3, 57] from Operation: 81-24=57
Current State: 14:[46, 3, 57], Operations: ['81-24=57']
Exploring Operation: 46-3=43, Resulting Numbers: [57, 43]
Generated Node #3: [57, 43] from Operation: 46-3=43
Current State: 14:[57, 43], Operations: ['81-24=57', '46-3=43']
Exploring Operation: 57-43=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[24, 81, 46, 3], Operations: []
Exploring Operation: 81-46=35, Resulting Numbers: [24, 3, 35]
Generated Node #0,0: 14:[24, 3, 35] Operation: 81-46=35
Moving to Node #0,0
Current State: 14:[24, 3, 35], Operations: ['81-46=35']
Exploring Operation: 35-24=11, Resulting Numbers: [3, 11]
Generated Node #0,0,0: 14:[3, 11] Operation: 35-24=11
Moving to Node #0,0,0
Current State: 14:[3, 11], Operations: ['81-46=35', '35-24=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[24, 81, 46, 3], Operations: []
Exploring Operation: 81-46=35, Resulting Numbers: [24, 3, 35]
Generated Node #0,0: 14:[24, 3, 35] Operation: 81-46=35
Moving to Node #0,0
Current State: 14:[24, 3, 35], Operations: ['81-46=35']
Exploring Operation: 35-24=11, Resulting Numbers: [3, 11]
Generated Node #0,0,0: 14:[3, 11] Operation: 35-24=11
Moving to Node #0,0,0
Current State: 14:[3, 11], Operations: ['81-46=35', '35-24=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
83,
4,
14,
33
] | 40 | [
"83+4=87",
"14+33=47",
"87-47=40"
] | Current State: 40:[83, 4, 14, 33], Operations: []
Exploring Operation: 83+4=87, Resulting Numbers: [14, 33, 87]
Generated Node #2: [14, 33, 87] from Operation: 83+4=87
Current State: 40:[14, 33, 87], Operations: ['83+4=87']
Exploring Operation: 14+33=47, Resulting Numbers: [87, 47]
Generated Node #3: [87, 47] from Operation: 14+33=47
Current State: 40:[87, 47], Operations: ['83+4=87', '14+33=47']
Exploring Operation: 87-47=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[83, 4, 14, 33], Operations: []
Exploring Operation: 83-33=50, Resulting Numbers: [4, 14, 50]
Generated Node #0,0: 40:[4, 14, 50] Operation: 83-33=50
Moving to Node #0,0
Current State: 40:[4, 14, 50], Operations: ['83-33=50']
Exploring Operation: 50-14=36, Resulting Numbers: [4, 36]
Generated Node #0,0,0: 40:[4, 36] Operation: 50-14=36
Moving to Node #0,0,0
Current State: 40:[4, 36], Operations: ['83-33=50', '50-14=36']
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[83, 4, 14, 33], Operations: []
Exploring Operation: 83-33=50, Resulting Numbers: [4, 14, 50]
Generated Node #0,0: 40:[4, 14, 50] Operation: 83-33=50
Moving to Node #0,0
Current State: 40:[4, 14, 50], Operations: ['83-33=50']
Exploring Operation: 50-14=36, Resulting Numbers: [4, 36]
Generated Node #0,0,0: 40:[4, 36] Operation: 50-14=36
Moving to Node #0,0,0
Current State: 40:[4, 36], Operations: ['83-33=50', '50-14=36']
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
94,
4,
21,
42
] | 52 | [
"94+42=136",
"4*21=84",
"136-84=52"
] | Current State: 52:[94, 4, 21, 42], Operations: []
Exploring Operation: 94+42=136, Resulting Numbers: [4, 21, 136]
Generated Node #2: [4, 21, 136] from Operation: 94+42=136
Current State: 52:[4, 21, 136], Operations: ['94+42=136']
Exploring Operation: 4*21=84, Resulting Numbers: [136, 84]
Generated Node #3: [136, 84] from Operation: 4*21=84
Current State: 52:[136, 84], Operations: ['94+42=136', '4*21=84']
Exploring Operation: 136-84=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[94, 4, 21, 42], Operations: []
Exploring Operation: 94-42=52, Resulting Numbers: [4, 21, 52]
Generated Node #0,0: 52:[4, 21, 52] Operation: 94-42=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[4, 21, 52], Operations: ['94-42=52']
Exploring Operation: 4+21=25, Resulting Numbers: [52, 25]
Generated Node #0,0,0: 52:[52, 25] Operation: 4+21=25
Moving to Node #0,0,0
Current State: 52:[52, 25], Operations: ['94-42=52', '4+21=25']
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,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 | sum_heuristic |
[
96,
1,
36,
3
] | 21 | [
"96-36=60",
"60/3=20",
"1+20=21"
] | Current State: 21:[96, 1, 36, 3], Operations: []
Exploring Operation: 96-36=60, Resulting Numbers: [1, 3, 60]
Generated Node #2: [1, 3, 60] from Operation: 96-36=60
Current State: 21:[1, 3, 60], Operations: ['96-36=60']
Exploring Operation: 60/3=20, Resulting Numbers: [1, 20]
Generated Node #3: [1, 20] from Operation: 60/3=20
Current State: 21:[1, 20], Operations: ['96-36=60', '60/3=20']
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[96, 1, 36, 3], Operations: []
Exploring Operation: 96/3=32, Resulting Numbers: [1, 36, 32]
Generated Node #0,0: 21:[1, 36, 32] Operation: 96/3=32
Moving to Node #0,0
Current State: 21:[1, 36, 32], Operations: ['96/3=32']
Exploring Operation: 36-32=4, Resulting Numbers: [1, 4]
Generated Node #0,0,0: 21:[1, 4] Operation: 36-32=4
Moving to Node #0,0,0
Current State: 21:[1, 4], Operations: ['96/3=32', '36-32=4']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,21 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
90,
3,
58,
7
] | 89 | [
"90-58=32",
"3*32=96",
"96-7=89"
] | Current State: 89:[90, 3, 58, 7], Operations: []
Exploring Operation: 90-58=32, Resulting Numbers: [3, 7, 32]
Generated Node #2: [3, 7, 32] from Operation: 90-58=32
Current State: 89:[3, 7, 32], Operations: ['90-58=32']
Exploring Operation: 3*32=96, Resulting Numbers: [7, 96]
Generated Node #3: [7, 96] from Operation: 3*32=96
Current State: 89:[7, 96], Operations: ['90-58=32', '3*32=96']
Exploring Operation: 96-7=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[90, 3, 58, 7], Operations: []
Exploring Operation: 3*7=21, Resulting Numbers: [90, 58, 21]
Generated Node #0,0: 89:[90, 58, 21] Operation: 3*7=21
Exploring Operation: 58+7=65, Resulting Numbers: [90, 3, 65]
Generated Node #0,1: 89:[90, 3, 65] Operation: 58+7=65
Exploring Operation: 3+7=10, Resulting Numbers: [90, 58, 10]
Generated Node #0,2: 89:[90, 58, 10] Operation: 3+7=10
Exploring Operation: 90-3=87, Resulting Numbers: [58, 7, 87]
Generated Node #0,3: 89:[58, 7, 87] Operation: 90-3=87
Exploring Operation: 3+58=61, Resulting Numbers: [90, 7, 61]
Generated Node #0,4: 89:[90, 7, 61] Operation: 3+58=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[90, 58, 21], Operations: ['3*7=21']
Exploring Operation: 90-58=32, Resulting Numbers: [21, 32]
Generated Node #0,0,0: 89:[21, 32] Operation: 90-58=32
Exploring Operation: 58+21=79, Resulting Numbers: [90, 79]
Generated Node #0,0,1: 89:[90, 79] Operation: 58+21=79
Exploring Operation: 90-21=69, Resulting Numbers: [58, 69]
Generated Node #0,0,2: 89:[58, 69] Operation: 90-21=69
Exploring Operation: 90+21=111, Resulting Numbers: [58, 111]
Generated Node #0,0,3: 89:[58, 111] Operation: 90+21=111
Exploring Operation: 58-21=37, Resulting Numbers: [90, 37]
Generated Node #0,0,4: 89:[90, 37] Operation: 58-21=37
Moving to Node #0,0,1
Current State: 89:[90, 79], Operations: ['3*7=21', '58+21=79']
Exploring Operation: 90+79=169, Resulting Numbers: [169]
169,89 unequal: No Solution
Exploring Operation: 90-79=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 90*79=7110, Resulting Numbers: [7110]
7110,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[58, 69], Operations: ['3*7=21', '90-21=69']
Exploring Operation: 58+69=127, Resulting Numbers: [127]
127,89 unequal: No Solution
Exploring Operation: 58*69=4002, Resulting Numbers: [4002]
4002,89 unequal: No Solution
Exploring Operation: 69-58=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[58, 111], Operations: ['3*7=21', '90+21=111']
Exploring Operation: 58+111=169, Resulting Numbers: [169]
169,89 unequal: No Solution
Exploring Operation: 111-58=53, Resulting Numbers: [53]
53,89 unequal: No Solution
Exploring Operation: 58*111=6438, Resulting Numbers: [6438]
6438,89 unequal: No Solution
Moving to Node #0,0,4
Current State: 89:[90, 37], Operations: ['3*7=21', '58-21=37']
Exploring Operation: 90*37=3330, Resulting Numbers: [3330]
3330,89 unequal: No Solution
Exploring Operation: 90+37=127, Resulting Numbers: [127]
127,89 unequal: No Solution
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[21, 32], Operations: ['3*7=21', '90-58=32']
Exploring Operation: 21*32=672, Resulting Numbers: [672]
672,89 unequal: No Solution
Exploring Operation: 21+32=53, Resulting Numbers: [53]
53,89 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[90, 3, 65], Operations: ['58+7=65']
Exploring Operation: 3+65=68, Resulting Numbers: [90, 68]
Generated Node #0,1,0: 89:[90, 68] Operation: 3+65=68
Exploring Operation: 90-3=87, Resulting Numbers: [65, 87]
Generated Node #0,1,1: 89:[65, 87] Operation: 90-3=87
Exploring Operation: 90+3=93, Resulting Numbers: [65, 93]
Generated Node #0,1,2: 89:[65, 93] Operation: 90+3=93
Exploring Operation: 65-3=62, Resulting Numbers: [90, 62]
Generated Node #0,1,3: 89:[90, 62] Operation: 65-3=62
Exploring Operation: 90/3=30, Resulting Numbers: [65, 30]
Generated Node #0,1,4: 89:[65, 30] Operation: 90/3=30
Moving to Node #0,1,0
Current State: 89:[90, 68], Operations: ['58+7=65', '3+65=68']
Exploring Operation: 90*68=6120, Resulting Numbers: [6120]
6120,89 unequal: No Solution
Exploring Operation: 90+68=158, Resulting Numbers: [158]
158,89 unequal: No Solution
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[65, 87], Operations: ['58+7=65', '90-3=87']
Exploring Operation: 65+87=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Exploring Operation: 65*87=5655, Resulting Numbers: [5655]
5655,89 unequal: No Solution
Exploring Operation: 87-65=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[65, 93], Operations: ['58+7=65', '90+3=93']
Exploring Operation: 93-65=28, Resulting Numbers: [28]
28,89 unequal: No Solution
Exploring Operation: 65*93=6045, Resulting Numbers: [6045]
6045,89 unequal: No Solution
Exploring Operation: 65+93=158, Resulting Numbers: [158]
158,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[90, 62], Operations: ['58+7=65', '65-3=62']
Exploring Operation: 90+62=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Exploring Operation: 90-62=28, Resulting Numbers: [28]
28,89 unequal: No Solution
Exploring Operation: 90*62=5580, Resulting Numbers: [5580]
5580,89 unequal: No Solution
Moving to Node #0,1,4
Current State: 89:[65, 30], Operations: ['58+7=65', '90/3=30']
Exploring Operation: 65*30=1950, Resulting Numbers: [1950]
1950,89 unequal: No Solution
Exploring Operation: 65+30=95, Resulting Numbers: [95]
95,89 unequal: No Solution
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[90, 58, 10], Operations: ['3+7=10']
Exploring Operation: 90+10=100, Resulting Numbers: [58, 100]
Generated Node #0,2,0: 89:[58, 100] Operation: 90+10=100
Exploring Operation: 58+10=68, Resulting Numbers: [90, 68]
Generated Node #0,2,1: 89:[90, 68] Operation: 58+10=68
Exploring Operation: 90-10=80, Resulting Numbers: [58, 80]
Generated Node #0,2,2: 89:[58, 80] Operation: 90-10=80
Exploring Operation: 58-10=48, Resulting Numbers: [90, 48]
Generated Node #0,2,3: 89:[90, 48] Operation: 58-10=48
Exploring Operation: 90/10=9, Resulting Numbers: [58, 9]
Generated Node #0,2,4: 89:[58, 9] Operation: 90/10=9
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 89:[90, 68], Operations: ['3+7=10', '58+10=68']
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 90+68=158, Resulting Numbers: [158]
158,89 unequal: No Solution
Exploring Operation: 90*68=6120, Resulting Numbers: [6120]
6120,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:[58, 80], Operations: ['3+7=10', '90-10=80']
Exploring Operation: 58*80=4640, Resulting Numbers: [4640]
4640,89 unequal: No Solution
Exploring Operation: 58+80=138, Resulting Numbers: [138]
138,89 unequal: No Solution
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[58, 100], Operations: ['3+7=10', '90+10=100']
Exploring Operation: 100-58=42, Resulting Numbers: [42]
42,89 unequal: No Solution
Exploring Operation: 58+100=158, Resulting Numbers: [158]
158,89 unequal: No Solution
Exploring Operation: 58*100=5800, Resulting Numbers: [5800]
5800,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:[90, 48], Operations: ['3+7=10', '58-10=48']
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,89 unequal: No Solution
Exploring Operation: 90+48=138, Resulting Numbers: [138]
138,89 unequal: No Solution
Exploring Operation: 90*48=4320, Resulting Numbers: [4320]
4320,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,4
Current State: 89:[58, 9], Operations: ['3+7=10', '90/10=9']
Exploring Operation: 58*9=522, Resulting Numbers: [522]
522,89 unequal: No Solution
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 89:[90, 7, 61], Operations: ['3+58=61']
Exploring Operation: 7+61=68, Resulting Numbers: [90, 68]
Generated Node #0,4,0: 89:[90, 68] Operation: 7+61=68
Exploring Operation: 90+7=97, Resulting Numbers: [61, 97]
Generated Node #0,4,1: 89:[61, 97] Operation: 90+7=97
Exploring Operation: 90-7=83, Resulting Numbers: [61, 83]
Generated Node #0,4,2: 89:[61, 83] Operation: 90-7=83
Exploring Operation: 61-7=54, Resulting Numbers: [90, 54]
Generated Node #0,4,3: 89:[90, 54] Operation: 61-7=54
Exploring Operation: 90-61=29, Resulting Numbers: [7, 29]
Generated Node #0,4,4: 89:[7, 29] Operation: 90-61=29
Moving to Node #0,4,0
Current State: 89:[90, 68], Operations: ['3+58=61', '7+61=68']
Exploring Operation: 90*68=6120, Resulting Numbers: [6120]
6120,89 unequal: No Solution
Exploring Operation: 90+68=158, Resulting Numbers: [158]
158,89 unequal: No Solution
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Moving to Node #0,4,2
Current State: 89:[61, 83], Operations: ['3+58=61', '90-7=83']
Exploring Operation: 83-61=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 61*83=5063, Resulting Numbers: [5063]
5063,89 unequal: No Solution
Exploring Operation: 61+83=144, Resulting Numbers: [144]
144,89 unequal: No Solution
Moving to Node #0,4,1
Current State: 89:[61, 97], Operations: ['3+58=61', '90+7=97']
Exploring Operation: 61+97=158, Resulting Numbers: [158]
158,89 unequal: No Solution
Exploring Operation: 97-61=36, Resulting Numbers: [36]
36,89 unequal: No Solution
Exploring Operation: 61*97=5917, Resulting Numbers: [5917]
5917,89 unequal: No Solution
Moving to Node #0,4,3
Current State: 89:[90, 54], Operations: ['3+58=61', '61-7=54']
Exploring Operation: 90*54=4860, Resulting Numbers: [4860]
4860,89 unequal: No Solution
Exploring Operation: 90+54=144, Resulting Numbers: [144]
144,89 unequal: No Solution
Exploring Operation: 90-54=36, Resulting Numbers: [36]
36,89 unequal: No Solution
Moving to Node #0,4,4
Current State: 89:[7, 29], Operations: ['3+58=61', '90-61=29']
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,89 unequal: No Solution
Exploring Operation: 7*29=203, Resulting Numbers: [203]
203,89 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[58, 7, 87], Operations: ['90-3=87']
Exploring Operation: 58+87=145, Resulting Numbers: [7, 145]
Generated Node #0,3,0: 89:[7, 145] Operation: 58+87=145
Exploring Operation: 87-7=80, Resulting Numbers: [58, 80]
Generated Node #0,3,1: 89:[58, 80] Operation: 87-7=80
Exploring Operation: 7+87=94, Resulting Numbers: [58, 94]
Generated Node #0,3,2: 89:[58, 94] Operation: 7+87=94
Exploring Operation: 58+7=65, Resulting Numbers: [87, 65]
Generated Node #0,3,3: 89:[87, 65] Operation: 58+7=65
Exploring Operation: 58-7=51, Resulting Numbers: [87, 51]
Generated Node #0,3,4: 89:[87, 51] Operation: 58-7=51
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 89:[87, 65], Operations: ['90-3=87', '58+7=65']
Exploring Operation: 87-65=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 87+65=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Exploring Operation: 87*65=5655, Resulting Numbers: [5655]
5655,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 89:[58, 94], Operations: ['90-3=87', '7+87=94']
Exploring Operation: 58*94=5452, Resulting Numbers: [5452]
5452,89 unequal: No Solution
Exploring Operation: 58+94=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Exploring Operation: 94-58=36, Resulting Numbers: [36]
36,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 89:[58, 80], Operations: ['90-3=87', '87-7=80']
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 58*80=4640, Resulting Numbers: [4640]
4640,89 unequal: No Solution
Exploring Operation: 58+80=138, Resulting Numbers: [138]
138,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 89:[87, 51], Operations: ['90-3=87', '58-7=51']
Exploring Operation: 87-51=36, Resulting Numbers: [36]
36,89 unequal: No Solution
Exploring Operation: 87*51=4437, Resulting Numbers: [4437]
4437,89 unequal: No Solution
Exploring Operation: 87+51=138, Resulting Numbers: [138]
138,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 89:[7, 145], Operations: ['90-3=87', '58+87=145']
Exploring Operation: 7*145=1015, Resulting Numbers: [1015]
1015,89 unequal: No Solution
Exploring Operation: 145-7=138, Resulting Numbers: [138]
138,89 unequal: No Solution
Exploring Operation: 7+145=152, Resulting Numbers: [152]
152,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
No solution found.
| 0 | hs_5 | sum_heuristic |
[
18,
54,
2,
44
] | 43 | [
"54/18=3",
"2+44=46",
"46-3=43"
] | Current State: 43:[18, 54, 2, 44], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [2, 44, 3]
Generated Node #2: [2, 44, 3] from Operation: 54/18=3
Current State: 43:[2, 44, 3], Operations: ['54/18=3']
Exploring Operation: 2+44=46, Resulting Numbers: [3, 46]
Generated Node #3: [3, 46] from Operation: 2+44=46
Current State: 43:[3, 46], Operations: ['54/18=3', '2+44=46']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[18, 54, 2, 44], Operations: []
Exploring Operation: 54-2=52, Resulting Numbers: [18, 44, 52]
Generated Node #0,0: 43:[18, 44, 52] Operation: 54-2=52
Exploring Operation: 18*2=36, Resulting Numbers: [54, 44, 36]
Generated Node #0,1: 43:[54, 44, 36] Operation: 18*2=36
Exploring Operation: 18+2=20, Resulting Numbers: [54, 44, 20]
Generated Node #0,2: 43:[54, 44, 20] Operation: 18+2=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[54, 44, 36], Operations: ['18*2=36']
Exploring Operation: 54-44=10, Resulting Numbers: [36, 10]
Generated Node #0,1,0: 43:[36, 10] Operation: 54-44=10
Exploring Operation: 44-36=8, Resulting Numbers: [54, 8]
Generated Node #0,1,1: 43:[54, 8] Operation: 44-36=8
Exploring Operation: 54-36=18, Resulting Numbers: [44, 18]
Generated Node #0,1,2: 43:[44, 18] Operation: 54-36=18
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 43:[44, 18], Operations: ['18*2=36', '54-36=18']
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,43 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 44*18=792, Resulting Numbers: [792]
792,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:[36, 10], Operations: ['18*2=36', '54-44=10']
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 36*10=360, Resulting Numbers: [360]
360,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:[54, 8], Operations: ['18*2=36', '44-36=8']
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,43 unequal: No Solution
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 54+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
No 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:[18, 44, 52], Operations: ['54-2=52']
Exploring Operation: 44-18=26, Resulting Numbers: [52, 26]
Generated Node #0,0,0: 43:[52, 26] Operation: 44-18=26
Exploring Operation: 18+44=62, Resulting Numbers: [52, 62]
Generated Node #0,0,1: 43:[52, 62] Operation: 18+44=62
Exploring Operation: 52-18=34, Resulting Numbers: [44, 34]
Generated Node #0,0,2: 43:[44, 34] Operation: 52-18=34
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[44, 34], Operations: ['54-2=52', '52-18=34']
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Exploring Operation: 44*34=1496, Resulting Numbers: [1496]
1496,43 unequal: No Solution
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,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:[52, 26], Operations: ['54-2=52', '44-18=26']
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 52+26=78, Resulting Numbers: [78]
78,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,1
Current State: 43:[52, 62], Operations: ['54-2=52', '18+44=62']
Exploring Operation: 62-52=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 52*62=3224, Resulting Numbers: [3224]
3224,43 unequal: No Solution
Exploring Operation: 52+62=114, Resulting Numbers: [114]
114,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:[54, 44, 20], Operations: ['18+2=20']
Exploring Operation: 54-20=34, Resulting Numbers: [44, 34]
Generated Node #0,2,0: 43:[44, 34] Operation: 54-20=34
Exploring Operation: 54+20=74, Resulting Numbers: [44, 74]
Generated Node #0,2,1: 43:[44, 74] Operation: 54+20=74
Exploring Operation: 44-20=24, Resulting Numbers: [54, 24]
Generated Node #0,2,2: 43:[54, 24] Operation: 44-20=24
Moving to Node #0,2,0
Current State: 43:[44, 34], Operations: ['18+2=20', '54-20=34']
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,43 unequal: No Solution
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Exploring Operation: 44*34=1496, Resulting Numbers: [1496]
1496,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[54, 24], Operations: ['18+2=20', '44-20=24']
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,43 unequal: No Solution
Exploring Operation: 54*24=1296, Resulting Numbers: [1296]
1296,43 unequal: No Solution
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[44, 74], Operations: ['18+2=20', '54+20=74']
Exploring Operation: 44*74=3256, Resulting Numbers: [3256]
3256,43 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,43 unequal: No Solution
Exploring Operation: 44+74=118, Resulting Numbers: [118]
118,43 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,
42,
83,
4
] | 18 | [
"13+83=96",
"96/4=24",
"42-24=18"
] | Current State: 18:[13, 42, 83, 4], Operations: []
Exploring Operation: 13+83=96, Resulting Numbers: [42, 4, 96]
Generated Node #2: [42, 4, 96] from Operation: 13+83=96
Current State: 18:[42, 4, 96], Operations: ['13+83=96']
Exploring Operation: 96/4=24, Resulting Numbers: [42, 24]
Generated Node #3: [42, 24] from Operation: 96/4=24
Current State: 18:[42, 24], Operations: ['13+83=96', '96/4=24']
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[13, 42, 83, 4], Operations: []
Exploring Operation: 83-42=41, Resulting Numbers: [13, 4, 41]
Generated Node #0,0: 18:[13, 4, 41] Operation: 83-42=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[13, 4, 41], Operations: ['83-42=41']
Exploring Operation: 41-13=28, Resulting Numbers: [4, 28]
Generated Node #0,0,0: 18:[4, 28] Operation: 41-13=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[4, 28], Operations: ['83-42=41', '41-13=28']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
91,
4,
72,
43
] | 28 | [
"91-4=87",
"72+43=115",
"115-87=28"
] | Current State: 28:[91, 4, 72, 43], Operations: []
Exploring Operation: 91-4=87, Resulting Numbers: [72, 43, 87]
Generated Node #2: [72, 43, 87] from Operation: 91-4=87
Current State: 28:[72, 43, 87], Operations: ['91-4=87']
Exploring Operation: 72+43=115, Resulting Numbers: [87, 115]
Generated Node #3: [87, 115] from Operation: 72+43=115
Current State: 28:[87, 115], Operations: ['91-4=87', '72+43=115']
Exploring Operation: 115-87=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[91, 4, 72, 43], Operations: []
Exploring Operation: 72/4=18, Resulting Numbers: [91, 43, 18]
Generated Node #0,0: 28:[91, 43, 18] Operation: 72/4=18
Exploring Operation: 91-43=48, Resulting Numbers: [4, 72, 48]
Generated Node #0,1: 28:[4, 72, 48] Operation: 91-43=48
Exploring Operation: 72-43=29, Resulting Numbers: [91, 4, 29]
Generated Node #0,2: 28:[91, 4, 29] Operation: 72-43=29
Exploring Operation: 91-72=19, Resulting Numbers: [4, 43, 19]
Generated Node #0,3: 28:[4, 43, 19] Operation: 91-72=19
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[4, 43, 19], Operations: ['91-72=19']
Exploring Operation: 19-4=15, Resulting Numbers: [43, 15]
Generated Node #0,3,0: 28:[43, 15] Operation: 19-4=15
Exploring Operation: 43-4=39, Resulting Numbers: [19, 39]
Generated Node #0,3,1: 28:[19, 39] Operation: 43-4=39
Exploring Operation: 43-19=24, Resulting Numbers: [4, 24]
Generated Node #0,3,2: 28:[4, 24] Operation: 43-19=24
Exploring Operation: 4+19=23, Resulting Numbers: [43, 23]
Generated Node #0,3,3: 28:[43, 23] Operation: 4+19=23
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 28:[4, 24], Operations: ['91-72=19', '43-19=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,28 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[91, 4, 72, 43], Operations: []
Exploring Operation: 91-72=19, Resulting Numbers: [4, 43, 19]
Generated Node #0,3: 28:[4, 43, 19] Operation: 91-72=19
Moving to Node #0,3
Current State: 28:[4, 43, 19], Operations: ['91-72=19']
Exploring Operation: 43-19=24, Resulting Numbers: [4, 24]
Generated Node #0,3,2: 28:[4, 24] Operation: 43-19=24
Moving to Node #0,3,2
Current State: 28:[4, 24], Operations: ['91-72=19', '43-19=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
13,
62,
32,
50
] | 67 | [
"62-13=49",
"50-32=18",
"49+18=67"
] | Current State: 67:[13, 62, 32, 50], Operations: []
Exploring Operation: 62-13=49, Resulting Numbers: [32, 50, 49]
Generated Node #2: [32, 50, 49] from Operation: 62-13=49
Current State: 67:[32, 50, 49], Operations: ['62-13=49']
Exploring Operation: 50-32=18, Resulting Numbers: [49, 18]
Generated Node #3: [49, 18] from Operation: 50-32=18
Current State: 67:[49, 18], Operations: ['62-13=49', '50-32=18']
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[13, 62, 32, 50], Operations: []
Exploring Operation: 32-13=19, Resulting Numbers: [62, 50, 19]
Generated Node #0,0: 67:[62, 50, 19] Operation: 32-13=19
Exploring Operation: 62-13=49, Resulting Numbers: [32, 50, 49]
Generated Node #0,1: 67:[32, 50, 49] Operation: 62-13=49
Exploring Operation: 13+32=45, Resulting Numbers: [62, 50, 45]
Generated Node #0,2: 67:[62, 50, 45] Operation: 13+32=45
Exploring Operation: 13+50=63, Resulting Numbers: [62, 32, 63]
Generated Node #0,3: 67:[62, 32, 63] Operation: 13+50=63
Exploring Operation: 13+62=75, Resulting Numbers: [32, 50, 75]
Generated Node #0,4: 67:[32, 50, 75] Operation: 13+62=75
Moving to Node #0,2
Current State: 67:[62, 50, 45], Operations: ['13+32=45']
Exploring Operation: 50+45=95, Resulting Numbers: [62, 95]
Generated Node #0,2,0: 67:[62, 95] Operation: 50+45=95
Exploring Operation: 62-45=17, Resulting Numbers: [50, 17]
Generated Node #0,2,1: 67:[50, 17] Operation: 62-45=17
Exploring Operation: 50-45=5, Resulting Numbers: [62, 5]
Generated Node #0,2,2: 67:[62, 5] Operation: 50-45=5
Exploring Operation: 62+50=112, Resulting Numbers: [45, 112]
Generated Node #0,2,3: 67:[45, 112] Operation: 62+50=112
Exploring Operation: 62+45=107, Resulting Numbers: [50, 107]
Generated Node #0,2,4: 67:[50, 107] Operation: 62+45=107
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[62, 95], Operations: ['13+32=45', '50+45=95']
Exploring Operation: 95-62=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Exploring Operation: 62*95=5890, Resulting Numbers: [5890]
5890,67 unequal: No Solution
Exploring Operation: 62+95=157, Resulting Numbers: [157]
157,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,2,4
Current State: 67:[50, 107], Operations: ['13+32=45', '62+45=107']
Exploring Operation: 107-50=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 50*107=5350, Resulting Numbers: [5350]
5350,67 unequal: No Solution
Exploring Operation: 50+107=157, Resulting Numbers: [157]
157,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,2,1
Current State: 67:[50, 17], Operations: ['13+32=45', '62-45=17']
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[13, 62, 32, 50], Operations: []
Exploring Operation: 13+32=45, Resulting Numbers: [62, 50, 45]
Generated Node #0,2: 67:[62, 50, 45] Operation: 13+32=45
Moving to Node #0,2
Current State: 67:[62, 50, 45], Operations: ['13+32=45']
Exploring Operation: 62-45=17, Resulting Numbers: [50, 17]
Generated Node #0,2,1: 67:[50, 17] Operation: 62-45=17
Moving to Node #0,2,1
Current State: 67:[50, 17], Operations: ['13+32=45', '62-45=17']
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
2,
62,
73,
35
] | 65 | [
"2*35=70",
"62+73=135",
"135-70=65"
] | Current State: 65:[2, 62, 73, 35], Operations: []
Exploring Operation: 2*35=70, Resulting Numbers: [62, 73, 70]
Generated Node #2: [62, 73, 70] from Operation: 2*35=70
Current State: 65:[62, 73, 70], Operations: ['2*35=70']
Exploring Operation: 62+73=135, Resulting Numbers: [70, 135]
Generated Node #3: [70, 135] from Operation: 62+73=135
Current State: 65:[70, 135], Operations: ['2*35=70', '62+73=135']
Exploring Operation: 135-70=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[2, 62, 73, 35], Operations: []
Exploring Operation: 2*35=70, Resulting Numbers: [62, 73, 70]
Generated Node #0,0: 65:[62, 73, 70] Operation: 2*35=70
Exploring Operation: 2+62=64, Resulting Numbers: [73, 35, 64]
Generated Node #0,1: 65:[73, 35, 64] Operation: 2+62=64
Exploring Operation: 62-35=27, Resulting Numbers: [2, 73, 27]
Generated Node #0,2: 65:[2, 73, 27] Operation: 62-35=27
Exploring Operation: 73-62=11, Resulting Numbers: [2, 35, 11]
Generated Node #0,3: 65:[2, 35, 11] Operation: 73-62=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[62, 73, 70], Operations: ['2*35=70']
Exploring Operation: 70-62=8, Resulting Numbers: [73, 8]
Generated Node #0,0,0: 65:[73, 8] Operation: 70-62=8
Exploring Operation: 73-62=11, Resulting Numbers: [70, 11]
Generated Node #0,0,1: 65:[70, 11] Operation: 73-62=11
Exploring Operation: 62+73=135, Resulting Numbers: [70, 135]
Generated Node #0,0,2: 65:[70, 135] Operation: 62+73=135
Exploring Operation: 73-70=3, Resulting Numbers: [62, 3]
Generated Node #0,0,3: 65:[62, 3] Operation: 73-70=3
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 65:[62, 3], Operations: ['2*35=70', '73-70=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,65 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[2, 62, 73, 35], Operations: []
Exploring Operation: 2*35=70, Resulting Numbers: [62, 73, 70]
Generated Node #0,0: 65:[62, 73, 70] Operation: 2*35=70
Moving to Node #0,0
Current State: 65:[62, 73, 70], Operations: ['2*35=70']
Exploring Operation: 73-70=3, Resulting Numbers: [62, 3]
Generated Node #0,0,3: 65:[62, 3] Operation: 73-70=3
Moving to Node #0,0,3
Current State: 65:[62, 3], Operations: ['2*35=70', '73-70=3']
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
84,
49,
14,
40
] | 56 | [
"49*40=1960",
"1960/14=140",
"140-84=56"
] | Current State: 56:[84, 49, 14, 40], Operations: []
Exploring Operation: 49*40=1960, Resulting Numbers: [84, 14, 1960]
Generated Node #2: [84, 14, 1960] from Operation: 49*40=1960
Current State: 56:[84, 14, 1960], Operations: ['49*40=1960']
Exploring Operation: 1960/14=140, Resulting Numbers: [84, 140]
Generated Node #3: [84, 140] from Operation: 1960/14=140
Current State: 56:[84, 140], Operations: ['49*40=1960', '1960/14=140']
Exploring Operation: 140-84=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[84, 49, 14, 40], Operations: []
Exploring Operation: 84/14=6, Resulting Numbers: [49, 40, 6]
Generated Node #0,0: 56:[49, 40, 6] Operation: 84/14=6
Exploring Operation: 84-49=35, Resulting Numbers: [14, 40, 35]
Generated Node #0,1: 56:[14, 40, 35] Operation: 84-49=35
Exploring Operation: 84-40=44, Resulting Numbers: [49, 14, 44]
Generated Node #0,2: 56:[49, 14, 44] Operation: 84-40=44
Moving to Node #0,1
Current State: 56:[14, 40, 35], Operations: ['84-49=35']
Exploring Operation: 40-14=26, Resulting Numbers: [35, 26]
Generated Node #0,1,0: 56:[35, 26] Operation: 40-14=26
Exploring Operation: 40-35=5, Resulting Numbers: [14, 5]
Generated Node #0,1,1: 56:[14, 5] Operation: 40-35=5
Exploring Operation: 14+40=54, Resulting Numbers: [35, 54]
Generated Node #0,1,2: 56:[35, 54] Operation: 14+40=54
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[14, 5], Operations: ['84-49=35', '40-35=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,56 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,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,1,0
Current State: 56:[35, 26], Operations: ['84-49=35', '40-14=26']
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 35*26=910, Resulting Numbers: [910]
910,56 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,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,1,2
Current State: 56:[35, 54], Operations: ['84-49=35', '14+40=54']
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 35*54=1890, Resulting Numbers: [1890]
1890,56 unequal: No Solution
Exploring Operation: 35+54=89, Resulting Numbers: [89]
89,56 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: 56:[49, 14, 44], Operations: ['84-40=44']
Exploring Operation: 14+44=58, Resulting Numbers: [49, 58]
Generated Node #0,2,0: 56:[49, 58] Operation: 14+44=58
Exploring Operation: 44-14=30, Resulting Numbers: [49, 30]
Generated Node #0,2,1: 56:[49, 30] Operation: 44-14=30
Exploring Operation: 49-44=5, Resulting Numbers: [14, 5]
Generated Node #0,2,2: 56:[14, 5] Operation: 49-44=5
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 56:[14, 5], Operations: ['84-40=44', '49-44=5']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,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,2,0
Current State: 56:[49, 58], Operations: ['84-40=44', '14+44=58']
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 49+58=107, Resulting Numbers: [107]
107,56 unequal: No Solution
Exploring Operation: 49*58=2842, Resulting Numbers: [2842]
2842,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,2,1
Current State: 56:[49, 30], Operations: ['84-40=44', '44-14=30']
Exploring Operation: 49+30=79, Resulting Numbers: [79]
79,56 unequal: No Solution
Exploring Operation: 49*30=1470, Resulting Numbers: [1470]
1470,56 unequal: No Solution
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,56 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: 56:[49, 40, 6], Operations: ['84/14=6']
Exploring Operation: 40-6=34, Resulting Numbers: [49, 34]
Generated Node #0,0,0: 56:[49, 34] Operation: 40-6=34
Exploring Operation: 49+6=55, Resulting Numbers: [40, 55]
Generated Node #0,0,1: 56:[40, 55] Operation: 49+6=55
Exploring Operation: 49-40=9, Resulting Numbers: [6, 9]
Generated Node #0,0,2: 56:[6, 9] Operation: 49-40=9
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 56:[6, 9], Operations: ['84/14=6', '49-40=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,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,0
Current State: 56:[49, 34], Operations: ['84/14=6', '40-6=34']
Exploring Operation: 49+34=83, Resulting Numbers: [83]
83,56 unequal: No Solution
Exploring Operation: 49*34=1666, Resulting Numbers: [1666]
1666,56 unequal: No Solution
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,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,1
Current State: 56:[40, 55], Operations: ['84/14=6', '49+6=55']
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 40*55=2200, Resulting Numbers: [2200]
2200,56 unequal: No Solution
Exploring Operation: 40+55=95, Resulting Numbers: [95]
95,56 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 |
[
85,
5,
68,
80
] | 69 | [
"85-5=80",
"80/80=1",
"68+1=69"
] | Current State: 69:[85, 5, 68, 80], Operations: []
Exploring Operation: 85-5=80, Resulting Numbers: [68, 80, 80]
Generated Node #2: [68, 80, 80] from Operation: 85-5=80
Current State: 69:[68, 80, 80], Operations: ['85-5=80']
Exploring Operation: 80/80=1, Resulting Numbers: [68, 1]
Generated Node #3: [68, 1] from Operation: 80/80=1
Current State: 69:[68, 1], Operations: ['85-5=80', '80/80=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[85, 5, 68, 80], Operations: []
Exploring Operation: 85-5=80, Resulting Numbers: [68, 80, 80]
Generated Node #0,0: 69:[68, 80, 80] Operation: 85-5=80
Exploring Operation: 85-68=17, Resulting Numbers: [5, 80, 17]
Generated Node #0,1: 69:[5, 80, 17] Operation: 85-68=17
Exploring Operation: 85-80=5, Resulting Numbers: [5, 68, 5]
Generated Node #0,2: 69:[5, 68, 5] Operation: 85-80=5
Exploring Operation: 85/5=17, Resulting Numbers: [68, 80, 17]
Generated Node #0,3: 69:[68, 80, 17] Operation: 85/5=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[5, 68, 5], Operations: ['85-80=5']
Exploring Operation: 5*5=25, Resulting Numbers: [68, 25]
Generated Node #0,2,0: 69:[68, 25] Operation: 5*5=25
Exploring Operation: 5-5=0, Resulting Numbers: [68, 0]
Generated Node #0,2,1: 69:[68, 0] Operation: 5-5=0
Exploring Operation: 5+68=73, Resulting Numbers: [5, 73]
Generated Node #0,2,2: 69:[5, 73] Operation: 5+68=73
Exploring Operation: 5/5=1, Resulting Numbers: [68, 1]
Generated Node #0,2,3: 69:[68, 1] Operation: 5/5=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 69:[68, 25], Operations: ['85-80=5', '5*5=25']
Exploring Operation: 68*25=1700, Resulting Numbers: [1700]
1700,69 unequal: No Solution
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,69 unequal: No Solution
Exploring Operation: 68+25=93, Resulting Numbers: [93]
93,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 69:[68, 1], Operations: ['85-80=5', '5/5=1']
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,69 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[85, 5, 68, 80], Operations: []
Exploring Operation: 85-80=5, Resulting Numbers: [5, 68, 5]
Generated Node #0,2: 69:[5, 68, 5] Operation: 85-80=5
Moving to Node #0,2
Current State: 69:[5, 68, 5], Operations: ['85-80=5']
Exploring Operation: 5/5=1, Resulting Numbers: [68, 1]
Generated Node #0,2,3: 69:[68, 1] Operation: 5/5=1
Moving to Node #0,2,3
Current State: 69:[68, 1], Operations: ['85-80=5', '5/5=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
59,
46,
38,
99
] | 92 | [
"59+38=97",
"99-97=2",
"46*2=92"
] | Current State: 92:[59, 46, 38, 99], Operations: []
Exploring Operation: 59+38=97, Resulting Numbers: [46, 99, 97]
Generated Node #2: [46, 99, 97] from Operation: 59+38=97
Current State: 92:[46, 99, 97], Operations: ['59+38=97']
Exploring Operation: 99-97=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 99-97=2
Current State: 92:[46, 2], Operations: ['59+38=97', '99-97=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[59, 46, 38, 99], Operations: []
Exploring Operation: 59+38=97, Resulting Numbers: [46, 99, 97]
Generated Node #0,0: 92:[46, 99, 97] Operation: 59+38=97
Exploring Operation: 59-38=21, Resulting Numbers: [46, 99, 21]
Generated Node #0,1: 92:[46, 99, 21] Operation: 59-38=21
Exploring Operation: 59-46=13, Resulting Numbers: [38, 99, 13]
Generated Node #0,2: 92:[38, 99, 13] Operation: 59-46=13
Exploring Operation: 99-59=40, Resulting Numbers: [46, 38, 40]
Generated Node #0,3: 92:[46, 38, 40] Operation: 99-59=40
Exploring Operation: 46-38=8, Resulting Numbers: [59, 99, 8]
Generated Node #0,4: 92:[59, 99, 8] Operation: 46-38=8
Moving to Node #0,1
Current State: 92:[46, 99, 21], Operations: ['59-38=21']
Exploring Operation: 46-21=25, Resulting Numbers: [99, 25]
Generated Node #0,1,0: 92:[99, 25] Operation: 46-21=25
Exploring Operation: 46+21=67, Resulting Numbers: [99, 67]
Generated Node #0,1,1: 92:[99, 67] Operation: 46+21=67
Exploring Operation: 99-21=78, Resulting Numbers: [46, 78]
Generated Node #0,1,2: 92:[46, 78] Operation: 99-21=78
Exploring Operation: 99-46=53, Resulting Numbers: [21, 53]
Generated Node #0,1,3: 92:[21, 53] Operation: 99-46=53
Exploring Operation: 99+21=120, Resulting Numbers: [46, 120]
Generated Node #0,1,4: 92:[46, 120] Operation: 99+21=120
Moving to Node #0,0
Current State: 92:[46, 99, 97], Operations: ['59+38=97']
Exploring Operation: 46+97=143, Resulting Numbers: [99, 143]
Generated Node #0,0,0: 92:[99, 143] Operation: 46+97=143
Exploring Operation: 99-97=2, Resulting Numbers: [46, 2]
Generated Node #0,0,1: 92:[46, 2] Operation: 99-97=2
Exploring Operation: 99-46=53, Resulting Numbers: [97, 53]
Generated Node #0,0,2: 92:[97, 53] Operation: 99-46=53
Exploring Operation: 46+99=145, Resulting Numbers: [97, 145]
Generated Node #0,0,3: 92:[97, 145] Operation: 46+99=145
Exploring Operation: 97-46=51, Resulting Numbers: [99, 51]
Generated Node #0,0,4: 92:[99, 51] Operation: 97-46=51
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[46, 2], Operations: ['59+38=97', '99-97=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[59, 46, 38, 99], Operations: []
Exploring Operation: 59+38=97, Resulting Numbers: [46, 99, 97]
Generated Node #0,0: 92:[46, 99, 97] Operation: 59+38=97
Moving to Node #0,0
Current State: 92:[46, 99, 97], Operations: ['59+38=97']
Exploring Operation: 99-97=2, Resulting Numbers: [46, 2]
Generated Node #0,0,1: 92:[46, 2] Operation: 99-97=2
Moving to Node #0,0,1
Current State: 92:[46, 2], Operations: ['59+38=97', '99-97=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
72,
84,
15,
24
] | 51 | [
"84-72=12",
"15+24=39",
"12+39=51"
] | Current State: 51:[72, 84, 15, 24], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [15, 24, 12]
Generated Node #2: [15, 24, 12] from Operation: 84-72=12
Current State: 51:[15, 24, 12], Operations: ['84-72=12']
Exploring Operation: 15+24=39, Resulting Numbers: [12, 39]
Generated Node #3: [12, 39] from Operation: 15+24=39
Current State: 51:[12, 39], Operations: ['84-72=12', '15+24=39']
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[72, 84, 15, 24], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [15, 24, 12]
Generated Node #0,0: 51:[15, 24, 12] Operation: 84-72=12
Exploring Operation: 72/24=3, Resulting Numbers: [84, 15, 3]
Generated Node #0,1: 51:[84, 15, 3] Operation: 72/24=3
Exploring Operation: 72-15=57, Resulting Numbers: [84, 24, 57]
Generated Node #0,2: 51:[84, 24, 57] Operation: 72-15=57
Exploring Operation: 72-24=48, Resulting Numbers: [84, 15, 48]
Generated Node #0,3: 51:[84, 15, 48] Operation: 72-24=48
Exploring Operation: 84-24=60, Resulting Numbers: [72, 15, 60]
Generated Node #0,4: 51:[72, 15, 60] Operation: 84-24=60
Moving to Node #0,0
Current State: 51:[15, 24, 12], Operations: ['84-72=12']
Exploring Operation: 15-12=3, Resulting Numbers: [24, 3]
Generated Node #0,0,0: 51:[24, 3] Operation: 15-12=3
Exploring Operation: 24/12=2, Resulting Numbers: [15, 2]
Generated Node #0,0,1: 51:[15, 2] Operation: 24/12=2
Exploring Operation: 15+24=39, Resulting Numbers: [12, 39]
Generated Node #0,0,2: 51:[12, 39] Operation: 15+24=39
Exploring Operation: 24-15=9, Resulting Numbers: [12, 9]
Generated Node #0,0,3: 51:[12, 9] Operation: 24-15=9
Exploring Operation: 24-12=12, Resulting Numbers: [15, 12]
Generated Node #0,0,4: 51:[15, 12] Operation: 24-12=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[15, 2], Operations: ['84-72=12', '24/12=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[24, 3], Operations: ['84-72=12', '15-12=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,51 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 51:[15, 12], Operations: ['84-72=12', '24-12=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,51 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 51:[12, 9], Operations: ['84-72=12', '24-15=9']
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,51 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[12, 39], Operations: ['84-72=12', '15+24=39']
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,51 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[72, 84, 15, 24], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [15, 24, 12]
Generated Node #0,0: 51:[15, 24, 12] Operation: 84-72=12
Moving to Node #0,0
Current State: 51:[15, 24, 12], Operations: ['84-72=12']
Exploring Operation: 15+24=39, Resulting Numbers: [12, 39]
Generated Node #0,0,2: 51:[12, 39] Operation: 15+24=39
Moving to Node #0,0,2
Current State: 51:[12, 39], Operations: ['84-72=12', '15+24=39']
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | sum_heuristic |
[
29,
13,
16,
15
] | 39 | [
"29+16=45",
"13*45=585",
"585/15=39"
] | Current State: 39:[29, 13, 16, 15], Operations: []
Exploring Operation: 29+16=45, Resulting Numbers: [13, 15, 45]
Generated Node #2: [13, 15, 45] from Operation: 29+16=45
Current State: 39:[13, 15, 45], Operations: ['29+16=45']
Exploring Operation: 13*45=585, Resulting Numbers: [15, 585]
Generated Node #3: [15, 585] from Operation: 13*45=585
Current State: 39:[15, 585], Operations: ['29+16=45', '13*45=585']
Exploring Operation: 585/15=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[29, 13, 16, 15], Operations: []
Exploring Operation: 29+13=42, Resulting Numbers: [16, 15, 42]
Generated Node #0,0: 39:[16, 15, 42] Operation: 29+13=42
Exploring Operation: 29-15=14, Resulting Numbers: [13, 16, 14]
Generated Node #0,1: 39:[13, 16, 14] Operation: 29-15=14
Exploring Operation: 29-16=13, Resulting Numbers: [13, 15, 13]
Generated Node #0,2: 39:[13, 15, 13] Operation: 29-16=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[13, 15, 13], Operations: ['29-16=13']
Exploring Operation: 15-13=2, Resulting Numbers: [13, 2]
Generated Node #0,2,0: 39:[13, 2] Operation: 15-13=2
Exploring Operation: 15-13=2, Resulting Numbers: [13, 2]
Generated Node #0,2,1: 39:[13, 2] Operation: 15-13=2
Exploring Operation: 13/13=1, Resulting Numbers: [15, 1]
Generated Node #0,2,2: 39:[15, 1] Operation: 13/13=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 39:[13, 2], Operations: ['29-16=13', '15-13=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[13, 2], Operations: ['29-16=13', '15-13=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[15, 1], Operations: ['29-16=13', '13/13=1']
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[13, 16, 14], Operations: ['29-15=14']
Exploring Operation: 16-14=2, Resulting Numbers: [13, 2]
Generated Node #0,1,0: 39:[13, 2] Operation: 16-14=2
Exploring Operation: 16-13=3, Resulting Numbers: [14, 3]
Generated Node #0,1,1: 39:[14, 3] Operation: 16-13=3
Exploring Operation: 14-13=1, Resulting Numbers: [16, 1]
Generated Node #0,1,2: 39:[16, 1] Operation: 14-13=1
Moving to Node #0,1,0
Current State: 39:[13, 2], Operations: ['29-15=14', '16-14=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[14, 3], Operations: ['29-15=14', '16-13=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[16, 1], Operations: ['29-15=14', '14-13=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[16, 15, 42], Operations: ['29+13=42']
Exploring Operation: 42-16=26, Resulting Numbers: [15, 26]
Generated Node #0,0,0: 39:[15, 26] Operation: 42-16=26
Exploring Operation: 16-15=1, Resulting Numbers: [42, 1]
Generated Node #0,0,1: 39:[42, 1] Operation: 16-15=1
Exploring Operation: 16+15=31, Resulting Numbers: [42, 31]
Generated Node #0,0,2: 39:[42, 31] Operation: 16+15=31
Moving to Node #0,0,1
Current State: 39:[42, 1], Operations: ['29+13=42', '16-15=1']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[42, 31], Operations: ['29+13=42', '16+15=31']
Exploring Operation: 42+31=73, Resulting Numbers: [73]
73,39 unequal: No Solution
Exploring Operation: 42*31=1302, Resulting Numbers: [1302]
1302,39 unequal: No Solution
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[15, 26], Operations: ['29+13=42', '42-16=26']
Exploring Operation: 15*26=390, Resulting Numbers: [390]
390,39 unequal: No Solution
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,39 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 |
[
69,
81,
3,
58
] | 16 | [
"69-58=11",
"81/3=27",
"27-11=16"
] | Current State: 16:[69, 81, 3, 58], Operations: []
Exploring Operation: 69-58=11, Resulting Numbers: [81, 3, 11]
Generated Node #2: [81, 3, 11] from Operation: 69-58=11
Current State: 16:[81, 3, 11], Operations: ['69-58=11']
Exploring Operation: 81/3=27, Resulting Numbers: [11, 27]
Generated Node #3: [11, 27] from Operation: 81/3=27
Current State: 16:[11, 27], Operations: ['69-58=11', '81/3=27']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[69, 81, 3, 58], Operations: []
Exploring Operation: 81-58=23, Resulting Numbers: [69, 3, 23]
Generated Node #0,0: 16:[69, 3, 23] Operation: 81-58=23
Exploring Operation: 69-58=11, Resulting Numbers: [81, 3, 11]
Generated Node #0,1: 16:[81, 3, 11] Operation: 69-58=11
Exploring Operation: 81-69=12, Resulting Numbers: [3, 58, 12]
Generated Node #0,2: 16:[3, 58, 12] Operation: 81-69=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[3, 58, 12], Operations: ['81-69=12']
Exploring Operation: 12/3=4, Resulting Numbers: [58, 4]
Generated Node #0,2,0: 16:[58, 4] Operation: 12/3=4
Exploring Operation: 58-3=55, Resulting Numbers: [12, 55]
Generated Node #0,2,1: 16:[12, 55] Operation: 58-3=55
Exploring Operation: 58-12=46, Resulting Numbers: [3, 46]
Generated Node #0,2,2: 16:[3, 46] Operation: 58-12=46
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 16:[3, 46], Operations: ['81-69=12', '58-12=46']
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,16 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,16 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,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,2,0
Current State: 16:[58, 4], Operations: ['81-69=12', '12/3=4']
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,16 unequal: No Solution
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,16 unequal: No Solution
Exploring Operation: 58*4=232, Resulting Numbers: [232]
232,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,2,1
Current State: 16:[12, 55], Operations: ['81-69=12', '58-3=55']
Exploring Operation: 12*55=660, Resulting Numbers: [660]
660,16 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,16 unequal: No Solution
Exploring Operation: 12+55=67, Resulting Numbers: [67]
67,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,0
Current State: 16:[69, 3, 23], Operations: ['81-58=23']
Exploring Operation: 69-23=46, Resulting Numbers: [3, 46]
Generated Node #0,0,0: 16:[3, 46] Operation: 69-23=46
Exploring Operation: 69/23=3, Resulting Numbers: [3, 3]
Generated Node #0,0,1: 16:[3, 3] Operation: 69/23=3
Exploring Operation: 69/3=23, Resulting Numbers: [23, 23]
Generated Node #0,0,2: 16:[23, 23] Operation: 69/3=23
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 16:[3, 3], Operations: ['81-58=23', '69/23=3']
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,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,0,2
Current State: 16:[23, 23], Operations: ['81-58=23', '69/3=23']
Exploring Operation: 23-23=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 23/23=1, Resulting Numbers: [1]
1,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,0,0
Current State: 16:[3, 46], Operations: ['81-58=23', '69-23=46']
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,16 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,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,1
Current State: 16:[81, 3, 11], Operations: ['69-58=11']
Exploring Operation: 81-3=78, Resulting Numbers: [11, 78]
Generated Node #0,1,0: 16:[11, 78] Operation: 81-3=78
Exploring Operation: 81-11=70, Resulting Numbers: [3, 70]
Generated Node #0,1,1: 16:[3, 70] Operation: 81-11=70
Exploring Operation: 81/3=27, Resulting Numbers: [11, 27]
Generated Node #0,1,2: 16:[11, 27] Operation: 81/3=27
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 16:[11, 27], Operations: ['69-58=11', '81/3=27']
Exploring Operation: 11*27=297, Resulting Numbers: [297]
297,16 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[69, 81, 3, 58], Operations: []
Exploring Operation: 69-58=11, Resulting Numbers: [81, 3, 11]
Generated Node #0,1: 16:[81, 3, 11] Operation: 69-58=11
Moving to Node #0,1
Current State: 16:[81, 3, 11], Operations: ['69-58=11']
Exploring Operation: 81/3=27, Resulting Numbers: [11, 27]
Generated Node #0,1,2: 16:[11, 27] Operation: 81/3=27
Moving to Node #0,1,2
Current State: 16:[11, 27], Operations: ['69-58=11', '81/3=27']
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_3 | sum_heuristic |
[
94,
53,
62,
48
] | 69 | [
"94-53=41",
"62+48=110",
"110-41=69"
] | Current State: 69:[94, 53, 62, 48], Operations: []
Exploring Operation: 94-53=41, Resulting Numbers: [62, 48, 41]
Generated Node #2: [62, 48, 41] from Operation: 94-53=41
Current State: 69:[62, 48, 41], Operations: ['94-53=41']
Exploring Operation: 62+48=110, Resulting Numbers: [41, 110]
Generated Node #3: [41, 110] from Operation: 62+48=110
Current State: 69:[41, 110], Operations: ['94-53=41', '62+48=110']
Exploring Operation: 110-41=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[94, 53, 62, 48], Operations: []
Exploring Operation: 53-48=5, Resulting Numbers: [94, 62, 5]
Generated Node #0,0: 69:[94, 62, 5] Operation: 53-48=5
Exploring Operation: 94-53=41, Resulting Numbers: [62, 48, 41]
Generated Node #0,1: 69:[62, 48, 41] Operation: 94-53=41
Exploring Operation: 94-62=32, Resulting Numbers: [53, 48, 32]
Generated Node #0,2: 69:[53, 48, 32] Operation: 94-62=32
Exploring Operation: 94-48=46, Resulting Numbers: [53, 62, 46]
Generated Node #0,3: 69:[53, 62, 46] Operation: 94-48=46
Moving to Node #0,0
Current State: 69:[94, 62, 5], Operations: ['53-48=5']
Exploring Operation: 94+5=99, Resulting Numbers: [62, 99]
Generated Node #0,0,0: 69:[62, 99] Operation: 94+5=99
Exploring Operation: 94-62=32, Resulting Numbers: [5, 32]
Generated Node #0,0,1: 69:[5, 32] Operation: 94-62=32
Exploring Operation: 62+5=67, Resulting Numbers: [94, 67]
Generated Node #0,0,2: 69:[94, 67] Operation: 62+5=67
Exploring Operation: 94-5=89, Resulting Numbers: [62, 89]
Generated Node #0,0,3: 69:[62, 89] Operation: 94-5=89
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[5, 32], Operations: ['53-48=5', '94-62=32']
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,69 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[94, 67], Operations: ['53-48=5', '62+5=67']
Exploring Operation: 94*67=6298, Resulting Numbers: [6298]
6298,69 unequal: No Solution
Exploring Operation: 94+67=161, Resulting Numbers: [161]
161,69 unequal: No Solution
Exploring Operation: 94-67=27, Resulting Numbers: [27]
27,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 69:[62, 89], Operations: ['53-48=5', '94-5=89']
Exploring Operation: 89-62=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Exploring Operation: 62+89=151, Resulting Numbers: [151]
151,69 unequal: No Solution
Exploring Operation: 62*89=5518, Resulting Numbers: [5518]
5518,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[62, 99], Operations: ['53-48=5', '94+5=99']
Exploring Operation: 62*99=6138, Resulting Numbers: [6138]
6138,69 unequal: No Solution
Exploring Operation: 62+99=161, Resulting Numbers: [161]
161,69 unequal: No Solution
Exploring Operation: 99-62=37, Resulting Numbers: [37]
37,69 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: 69:[53, 48, 32], Operations: ['94-62=32']
Exploring Operation: 48+32=80, Resulting Numbers: [53, 80]
Generated Node #0,2,0: 69:[53, 80] Operation: 48+32=80
Exploring Operation: 53-48=5, Resulting Numbers: [32, 5]
Generated Node #0,2,1: 69:[32, 5] Operation: 53-48=5
Exploring Operation: 53-32=21, Resulting Numbers: [48, 21]
Generated Node #0,2,2: 69:[48, 21] Operation: 53-32=21
Exploring Operation: 48-32=16, Resulting Numbers: [53, 16]
Generated Node #0,2,3: 69:[53, 16] Operation: 48-32=16
Moving to Node #0,1
Current State: 69:[62, 48, 41], Operations: ['94-53=41']
Exploring Operation: 48-41=7, Resulting Numbers: [62, 7]
Generated Node #0,1,0: 69:[62, 7] Operation: 48-41=7
Exploring Operation: 62-41=21, Resulting Numbers: [48, 21]
Generated Node #0,1,1: 69:[48, 21] Operation: 62-41=21
Exploring Operation: 48+41=89, Resulting Numbers: [62, 89]
Generated Node #0,1,2: 69:[62, 89] Operation: 48+41=89
Exploring Operation: 62-48=14, Resulting Numbers: [41, 14]
Generated Node #0,1,3: 69:[41, 14] Operation: 62-48=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[62, 7], Operations: ['94-53=41', '48-41=7']
Exploring Operation: 62+7=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[94, 53, 62, 48], Operations: []
Exploring Operation: 94-53=41, Resulting Numbers: [62, 48, 41]
Generated Node #0,1: 69:[62, 48, 41] Operation: 94-53=41
Moving to Node #0,1
Current State: 69:[62, 48, 41], Operations: ['94-53=41']
Exploring Operation: 48-41=7, Resulting Numbers: [62, 7]
Generated Node #0,1,0: 69:[62, 7] Operation: 48-41=7
Moving to Node #0,1,0
Current State: 69:[62, 7], Operations: ['94-53=41', '48-41=7']
Exploring Operation: 62+7=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
11,
1,
82,
16
] | 87 | [
"11*1=11",
"82+16=98",
"98-11=87"
] | Current State: 87:[11, 1, 82, 16], Operations: []
Exploring Operation: 11*1=11, Resulting Numbers: [82, 16, 11]
Generated Node #2: [82, 16, 11] from Operation: 11*1=11
Current State: 87:[82, 16, 11], Operations: ['11*1=11']
Exploring Operation: 82+16=98, Resulting Numbers: [11, 98]
Generated Node #3: [11, 98] from Operation: 82+16=98
Current State: 87:[11, 98], Operations: ['11*1=11', '82+16=98']
Exploring Operation: 98-11=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[11, 1, 82, 16], Operations: []
Exploring Operation: 11+82=93, Resulting Numbers: [1, 16, 93]
Generated Node #0,0: 87:[1, 16, 93] Operation: 11+82=93
Exploring Operation: 11+16=27, Resulting Numbers: [1, 82, 27]
Generated Node #0,1: 87:[1, 82, 27] Operation: 11+16=27
Exploring Operation: 16-11=5, Resulting Numbers: [1, 82, 5]
Generated Node #0,2: 87:[1, 82, 5] Operation: 16-11=5
Moving to Node #0,1
Current State: 87:[1, 82, 27], Operations: ['11+16=27']
Exploring Operation: 1+82=83, Resulting Numbers: [27, 83]
Generated Node #0,1,0: 87:[27, 83] Operation: 1+82=83
Exploring Operation: 1*82=82, Resulting Numbers: [27, 82]
Generated Node #0,1,1: 87:[27, 82] Operation: 1*82=82
Exploring Operation: 1+27=28, Resulting Numbers: [82, 28]
Generated Node #0,1,2: 87:[82, 28] Operation: 1+27=28
Moving to Node #0,2
Current State: 87:[1, 82, 5], Operations: ['16-11=5']
Exploring Operation: 82+5=87, Resulting Numbers: [1, 87]
Generated Node #0,2,0: 87:[1, 87] Operation: 82+5=87
Exploring Operation: 5-1=4, Resulting Numbers: [82, 4]
Generated Node #0,2,1: 87:[82, 4] Operation: 5-1=4
Exploring Operation: 1+82=83, Resulting Numbers: [5, 83]
Generated Node #0,2,2: 87:[5, 83] Operation: 1+82=83
Moving to Node #0,0
Current State: 87:[1, 16, 93], Operations: ['11+82=93']
Exploring Operation: 1+16=17, Resulting Numbers: [93, 17]
Generated Node #0,0,0: 87:[93, 17] Operation: 1+16=17
Exploring Operation: 16-1=15, Resulting Numbers: [93, 15]
Generated Node #0,0,1: 87:[93, 15] Operation: 16-1=15
Exploring Operation: 93-16=77, Resulting Numbers: [1, 77]
Generated Node #0,0,2: 87:[1, 77] Operation: 93-16=77
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 87:[1, 77], Operations: ['11+82=93', '93-16=77']
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,87 unequal: No Solution
Exploring Operation: 1+77=78, Resulting Numbers: [78]
78,87 unequal: No Solution
Exploring Operation: 1*77=77, Resulting Numbers: [77]
77,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[93, 17], Operations: ['11+82=93', '1+16=17']
Exploring Operation: 93+17=110, Resulting Numbers: [110]
110,87 unequal: No Solution
Exploring Operation: 93*17=1581, Resulting Numbers: [1581]
1581,87 unequal: No Solution
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[93, 15], Operations: ['11+82=93', '16-1=15']
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,87 unequal: No Solution
Exploring Operation: 93*15=1395, Resulting Numbers: [1395]
1395,87 unequal: No Solution
Exploring Operation: 93+15=108, Resulting Numbers: [108]
108,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 87:[1, 87], Operations: ['16-11=5', '82+5=87']
Exploring Operation: 1*87=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[11, 1, 82, 16], Operations: []
Exploring Operation: 16-11=5, Resulting Numbers: [1, 82, 5]
Generated Node #0,2: 87:[1, 82, 5] Operation: 16-11=5
Moving to Node #0,2
Current State: 87:[1, 82, 5], Operations: ['16-11=5']
Exploring Operation: 82+5=87, Resulting Numbers: [1, 87]
Generated Node #0,2,0: 87:[1, 87] Operation: 82+5=87
Moving to Node #0,2,0
Current State: 87:[1, 87], Operations: ['16-11=5', '82+5=87']
Exploring Operation: 1*87=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.977431 | hs_3 | sum_heuristic |
[
87,
27,
50,
10
] | 11 | [
"87-27=60",
"50+60=110",
"110/10=11"
] | Current State: 11:[87, 27, 50, 10], Operations: []
Exploring Operation: 87-27=60, Resulting Numbers: [50, 10, 60]
Generated Node #2: [50, 10, 60] from Operation: 87-27=60
Current State: 11:[50, 10, 60], Operations: ['87-27=60']
Exploring Operation: 50+60=110, Resulting Numbers: [10, 110]
Generated Node #3: [10, 110] from Operation: 50+60=110
Current State: 11:[10, 110], Operations: ['87-27=60', '50+60=110']
Exploring Operation: 110/10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[87, 27, 50, 10], Operations: []
Exploring Operation: 50/10=5, Resulting Numbers: [87, 27, 5]
Generated Node #0,0: 11:[87, 27, 5] Operation: 50/10=5
Exploring Operation: 87-50=37, Resulting Numbers: [27, 10, 37]
Generated Node #0,1: 11:[27, 10, 37] Operation: 87-50=37
Exploring Operation: 87-27=60, Resulting Numbers: [50, 10, 60]
Generated Node #0,2: 11:[50, 10, 60] Operation: 87-27=60
Exploring Operation: 50-27=23, Resulting Numbers: [87, 10, 23]
Generated Node #0,3: 11:[87, 10, 23] Operation: 50-27=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[27, 10, 37], Operations: ['87-50=37']
Exploring Operation: 27-10=17, Resulting Numbers: [37, 17]
Generated Node #0,1,0: 11:[37, 17] Operation: 27-10=17
Exploring Operation: 37-10=27, Resulting Numbers: [27, 27]
Generated Node #0,1,1: 11:[27, 27] Operation: 37-10=27
Exploring Operation: 37-27=10, Resulting Numbers: [10, 10]
Generated Node #0,1,2: 11:[10, 10] Operation: 37-27=10
Exploring Operation: 27+10=37, Resulting Numbers: [37, 37]
Generated Node #0,1,3: 11:[37, 37] Operation: 27+10=37
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 11:[10, 10], Operations: ['87-50=37', '37-27=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,11 unequal: No Solution
No 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: 11:[37, 17], Operations: ['87-50=37', '27-10=17']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,11 unequal: No Solution
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,11 unequal: No Solution
No 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: 11:[27, 27], Operations: ['87-50=37', '37-10=27']
Exploring Operation: 27*27=729, Resulting Numbers: [729]
729,11 unequal: No Solution
Exploring Operation: 27/27=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 27+27=54, Resulting Numbers: [54]
54,11 unequal: No Solution
Exploring Operation: 27-27=0, Resulting Numbers: [0]
0,11 unequal: No Solution
No 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: 11:[37, 37], Operations: ['87-50=37', '27+10=37']
Exploring Operation: 37*37=1369, Resulting Numbers: [1369]
1369,11 unequal: No Solution
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,11 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: 11:[50, 10, 60], Operations: ['87-27=60']
Exploring Operation: 60/10=6, Resulting Numbers: [50, 6]
Generated Node #0,2,0: 11:[50, 6] Operation: 60/10=6
Exploring Operation: 50-10=40, Resulting Numbers: [60, 40]
Generated Node #0,2,1: 11:[60, 40] Operation: 50-10=40
Exploring Operation: 50/10=5, Resulting Numbers: [60, 5]
Generated Node #0,2,2: 11:[60, 5] Operation: 50/10=5
Exploring Operation: 60-50=10, Resulting Numbers: [10, 10]
Generated Node #0,2,3: 11:[10, 10] Operation: 60-50=10
Moving to Node #0,2,3
Current State: 11:[10, 10], Operations: ['87-27=60', '60-50=10']
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[50, 6], Operations: ['87-27=60', '60/10=6']
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,11 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[60, 5], Operations: ['87-27=60', '50/10=5']
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,11 unequal: No Solution
Exploring Operation: 60*5=300, Resulting Numbers: [300]
300,11 unequal: No Solution
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[60, 40], Operations: ['87-27=60', '50-10=40']
Exploring Operation: 60*40=2400, Resulting Numbers: [2400]
2400,11 unequal: No Solution
Exploring Operation: 60+40=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,11 unequal: No Solution
No 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: 11:[87, 10, 23], Operations: ['50-27=23']
Exploring Operation: 87+10=97, Resulting Numbers: [23, 97]
Generated Node #0,3,0: 11:[23, 97] Operation: 87+10=97
Exploring Operation: 23-10=13, Resulting Numbers: [87, 13]
Generated Node #0,3,1: 11:[87, 13] Operation: 23-10=13
Exploring Operation: 87-10=77, Resulting Numbers: [23, 77]
Generated Node #0,3,2: 11:[23, 77] Operation: 87-10=77
Exploring Operation: 87-23=64, Resulting Numbers: [10, 64]
Generated Node #0,3,3: 11:[10, 64] Operation: 87-23=64
Moving to Node #0,3,3
Current State: 11:[10, 64], Operations: ['50-27=23', '87-23=64']
Exploring Operation: 10+64=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 10*64=640, Resulting Numbers: [640]
640,11 unequal: No Solution
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[23, 77], Operations: ['50-27=23', '87-10=77']
Exploring Operation: 23*77=1771, Resulting Numbers: [1771]
1771,11 unequal: No Solution
Exploring Operation: 23+77=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[87, 13], Operations: ['50-27=23', '23-10=13']
Exploring Operation: 87-13=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 87*13=1131, Resulting Numbers: [1131]
1131,11 unequal: No Solution
Exploring Operation: 87+13=100, Resulting Numbers: [100]
100,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[23, 97], Operations: ['50-27=23', '87+10=97']
Exploring Operation: 23*97=2231, Resulting Numbers: [2231]
2231,11 unequal: No Solution
Exploring Operation: 23+97=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 97-23=74, Resulting Numbers: [74]
74,11 unequal: No Solution
No 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: 11:[87, 27, 5], Operations: ['50/10=5']
Exploring Operation: 87+5=92, Resulting Numbers: [27, 92]
Generated Node #0,0,0: 11:[27, 92] Operation: 87+5=92
Exploring Operation: 87-27=60, Resulting Numbers: [5, 60]
Generated Node #0,0,1: 11:[5, 60] Operation: 87-27=60
Exploring Operation: 87-5=82, Resulting Numbers: [27, 82]
Generated Node #0,0,2: 11:[27, 82] Operation: 87-5=82
Exploring Operation: 27-5=22, Resulting Numbers: [87, 22]
Generated Node #0,0,3: 11:[87, 22] Operation: 27-5=22
Moving to Node #0,0,1
Current State: 11:[5, 60], Operations: ['50/10=5', '87-27=60']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,11 unequal: No Solution
Exploring Operation: 5*60=300, Resulting Numbers: [300]
300,11 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[87, 22], Operations: ['50/10=5', '27-5=22']
Exploring Operation: 87+22=109, Resulting Numbers: [109]
109,11 unequal: No Solution
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,11 unequal: No Solution
Exploring Operation: 87*22=1914, Resulting Numbers: [1914]
1914,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[27, 82], Operations: ['50/10=5', '87-5=82']
Exploring Operation: 27*82=2214, Resulting Numbers: [2214]
2214,11 unequal: No Solution
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,11 unequal: No Solution
Exploring Operation: 27+82=109, Resulting Numbers: [109]
109,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[27, 92], Operations: ['50/10=5', '87+5=92']
Exploring Operation: 92-27=65, Resulting Numbers: [65]
65,11 unequal: No Solution
Exploring Operation: 27*92=2484, Resulting Numbers: [2484]
2484,11 unequal: No Solution
Exploring Operation: 27+92=119, Resulting Numbers: [119]
119,11 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 |
[
86,
47,
43,
55
] | 39 | [
"86*47=4042",
"4042/43=94",
"94-55=39"
] | Current State: 39:[86, 47, 43, 55], Operations: []
Exploring Operation: 86*47=4042, Resulting Numbers: [43, 55, 4042]
Generated Node #2: [43, 55, 4042] from Operation: 86*47=4042
Current State: 39:[43, 55, 4042], Operations: ['86*47=4042']
Exploring Operation: 4042/43=94, Resulting Numbers: [55, 94]
Generated Node #3: [55, 94] from Operation: 4042/43=94
Current State: 39:[55, 94], Operations: ['86*47=4042', '4042/43=94']
Exploring Operation: 94-55=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[86, 47, 43, 55], Operations: []
Exploring Operation: 86-47=39, Resulting Numbers: [43, 55, 39]
Generated Node #0,0: 39:[43, 55, 39] Operation: 86-47=39
Moving to Node #0,0
Current State: 39:[43, 55, 39], Operations: ['86-47=39']
Exploring Operation: 55-43=12, Resulting Numbers: [39, 12]
Generated Node #0,0,0: 39:[39, 12] Operation: 55-43=12
Moving to Node #0,0,0
Current State: 39:[39, 12], Operations: ['86-47=39', '55-43=12']
Exploring Operation: 39+12=51, Resulting Numbers: [51]
51,39 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
83,
91,
30,
71
] | 49 | [
"91-83=8",
"71-30=41",
"8+41=49"
] | Current State: 49:[83, 91, 30, 71], Operations: []
Exploring Operation: 91-83=8, Resulting Numbers: [30, 71, 8]
Generated Node #2: [30, 71, 8] from Operation: 91-83=8
Current State: 49:[30, 71, 8], Operations: ['91-83=8']
Exploring Operation: 71-30=41, Resulting Numbers: [8, 41]
Generated Node #3: [8, 41] from Operation: 71-30=41
Current State: 49:[8, 41], Operations: ['91-83=8', '71-30=41']
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[83, 91, 30, 71], Operations: []
Exploring Operation: 91-83=8, Resulting Numbers: [30, 71, 8]
Generated Node #0,0: 49:[30, 71, 8] Operation: 91-83=8
Moving to Node #0,0
Current State: 49:[30, 71, 8], Operations: ['91-83=8']
Exploring Operation: 71-30=41, Resulting Numbers: [8, 41]
Generated Node #0,0,0: 49:[8, 41] Operation: 71-30=41
Moving to Node #0,0,0
Current State: 49:[8, 41], Operations: ['91-83=8', '71-30=41']
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[83, 91, 30, 71], Operations: []
Exploring Operation: 91-83=8, Resulting Numbers: [30, 71, 8]
Generated Node #0,0: 49:[30, 71, 8] Operation: 91-83=8
Moving to Node #0,0
Current State: 49:[30, 71, 8], Operations: ['91-83=8']
Exploring Operation: 71-30=41, Resulting Numbers: [8, 41]
Generated Node #0,0,0: 49:[8, 41] Operation: 71-30=41
Moving to Node #0,0,0
Current State: 49:[8, 41], Operations: ['91-83=8', '71-30=41']
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
67,
46,
71,
62
] | 12 | [
"67-46=21",
"71-62=9",
"21-9=12"
] | Current State: 12:[67, 46, 71, 62], Operations: []
Exploring Operation: 67-46=21, Resulting Numbers: [71, 62, 21]
Generated Node #2: [71, 62, 21] from Operation: 67-46=21
Current State: 12:[71, 62, 21], Operations: ['67-46=21']
Exploring Operation: 71-62=9, Resulting Numbers: [21, 9]
Generated Node #3: [21, 9] from Operation: 71-62=9
Current State: 12:[21, 9], Operations: ['67-46=21', '71-62=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[67, 46, 71, 62], Operations: []
Exploring Operation: 67-62=5, Resulting Numbers: [46, 71, 5]
Generated Node #0,0: 12:[46, 71, 5] Operation: 67-62=5
Exploring Operation: 71-67=4, Resulting Numbers: [46, 62, 4]
Generated Node #0,1: 12:[46, 62, 4] Operation: 71-67=4
Exploring Operation: 71-62=9, Resulting Numbers: [67, 46, 9]
Generated Node #0,2: 12:[67, 46, 9] Operation: 71-62=9
Moving to Node #0,1
Current State: 12:[46, 62, 4], Operations: ['71-67=4']
Exploring Operation: 62-46=16, Resulting Numbers: [4, 16]
Generated Node #0,1,0: 12:[4, 16] Operation: 62-46=16
Exploring Operation: 46-4=42, Resulting Numbers: [62, 42]
Generated Node #0,1,1: 12:[62, 42] Operation: 46-4=42
Exploring Operation: 62-4=58, Resulting Numbers: [46, 58]
Generated Node #0,1,2: 12:[46, 58] Operation: 62-4=58
Moving to Node #0,2
Current State: 12:[67, 46, 9], Operations: ['71-62=9']
Exploring Operation: 67-9=58, Resulting Numbers: [46, 58]
Generated Node #0,2,0: 12:[46, 58] Operation: 67-9=58
Exploring Operation: 46-9=37, Resulting Numbers: [67, 37]
Generated Node #0,2,1: 12:[67, 37] Operation: 46-9=37
Exploring Operation: 67-46=21, Resulting Numbers: [9, 21]
Generated Node #0,2,2: 12:[9, 21] Operation: 67-46=21
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[9, 21], Operations: ['71-62=9', '67-46=21']
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[67, 46, 71, 62], Operations: []
Exploring Operation: 71-62=9, Resulting Numbers: [67, 46, 9]
Generated Node #0,2: 12:[67, 46, 9] Operation: 71-62=9
Moving to Node #0,2
Current State: 12:[67, 46, 9], Operations: ['71-62=9']
Exploring Operation: 67-46=21, Resulting Numbers: [9, 21]
Generated Node #0,2,2: 12:[9, 21] Operation: 67-46=21
Moving to Node #0,2,2
Current State: 12:[9, 21], Operations: ['71-62=9', '67-46=21']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
81,
22,
9,
22
] | 28 | [
"81-22=59",
"9+22=31",
"59-31=28"
] | Current State: 28:[81, 22, 9, 22], Operations: []
Exploring Operation: 81-22=59, Resulting Numbers: [9, 59]
Generated Node #2: [9, 59] from Operation: 81-22=59
Current State: 28:[9, 59], Operations: ['81-22=59']
Exploring Operation: 9+22=31, Resulting Numbers: [59, 31]
Generated Node #3: [59, 31] from Operation: 9+22=31
Current State: 28:[59, 31], Operations: ['81-22=59', '9+22=31']
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[81, 22, 9, 22], Operations: []
Exploring Operation: 81/9=9, Resulting Numbers: [22, 22, 9]
Generated Node #0,0: 28:[22, 22, 9] Operation: 81/9=9
Exploring Operation: 81-22=59, Resulting Numbers: [22, 9, 59]
Generated Node #0,1: 28:[22, 9, 59] Operation: 81-22=59
Exploring Operation: 81-9=72, Resulting Numbers: [22, 22, 72]
Generated Node #0,2: 28:[22, 22, 72] Operation: 81-9=72
Exploring Operation: 81-22=59, Resulting Numbers: [9, 22, 59]
Generated Node #0,3: 28:[9, 22, 59] Operation: 81-22=59
Moving to Node #0,0
Current State: 28:[22, 22, 9], Operations: ['81/9=9']
Exploring Operation: 22-9=13, Resulting Numbers: [22, 13]
Generated Node #0,0,0: 28:[22, 13] Operation: 22-9=13
Exploring Operation: 22-22=0, Resulting Numbers: [9, 0]
Generated Node #0,0,1: 28:[9, 0] Operation: 22-22=0
Exploring Operation: 22/22=1, Resulting Numbers: [9, 1]
Generated Node #0,0,2: 28:[9, 1] Operation: 22/22=1
Exploring Operation: 22-9=13, Resulting Numbers: [22, 13]
Generated Node #0,0,3: 28:[22, 13] Operation: 22-9=13
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 28:[9, 1], Operations: ['81/9=9', '22/22=1']
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,28 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,28 unequal: No Solution
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,28 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,28 unequal: No Solution
No 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: 28:[9, 0], Operations: ['81/9=9', '22-22=0']
Exploring Operation: 9*0=0, Resulting Numbers: [0]
0,28 unequal: No Solution
Exploring Operation: 9-0=9, Resulting Numbers: [9]
9,28 unequal: No Solution
Exploring Operation: 9+0=9, Resulting Numbers: [9]
9,28 unequal: No Solution
No 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: 28:[22, 13], Operations: ['81/9=9', '22-9=13']
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,28 unequal: No Solution
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,28 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,28 unequal: No Solution
No 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: 28:[22, 13], Operations: ['81/9=9', '22-9=13']
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,28 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,28 unequal: No Solution
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,28 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: 28:[9, 22, 59], Operations: ['81-22=59']
Exploring Operation: 59-22=37, Resulting Numbers: [9, 37]
Generated Node #0,3,0: 28:[9, 37] Operation: 59-22=37
Exploring Operation: 9+22=31, Resulting Numbers: [59, 31]
Generated Node #0,3,1: 28:[59, 31] Operation: 9+22=31
Exploring Operation: 22-9=13, Resulting Numbers: [59, 13]
Generated Node #0,3,2: 28:[59, 13] Operation: 22-9=13
Exploring Operation: 59-9=50, Resulting Numbers: [22, 50]
Generated Node #0,3,3: 28:[22, 50] Operation: 59-9=50
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 28:[9, 37], Operations: ['81-22=59', '59-22=37']
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,28 unequal: No Solution
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,28 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[81, 22, 9, 22], Operations: []
Exploring Operation: 81-22=59, Resulting Numbers: [9, 22, 59]
Generated Node #0,3: 28:[9, 22, 59] Operation: 81-22=59
Moving to Node #0,3
Current State: 28:[9, 22, 59], Operations: ['81-22=59']
Exploring Operation: 59-22=37, Resulting Numbers: [9, 37]
Generated Node #0,3,0: 28:[9, 37] Operation: 59-22=37
Moving to Node #0,3,0
Current State: 28:[9, 37], Operations: ['81-22=59', '59-22=37']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
37,
10,
11,
83
] | 67 | [
"37-10=27",
"11+83=94",
"94-27=67"
] | Current State: 67:[37, 10, 11, 83], Operations: []
Exploring Operation: 37-10=27, Resulting Numbers: [11, 83, 27]
Generated Node #2: [11, 83, 27] from Operation: 37-10=27
Current State: 67:[11, 83, 27], Operations: ['37-10=27']
Exploring Operation: 11+83=94, Resulting Numbers: [27, 94]
Generated Node #3: [27, 94] from Operation: 11+83=94
Current State: 67:[27, 94], Operations: ['37-10=27', '11+83=94']
Exploring Operation: 94-27=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[37, 10, 11, 83], Operations: []
Exploring Operation: 37+11=48, Resulting Numbers: [10, 83, 48]
Generated Node #0,0: 67:[10, 83, 48] Operation: 37+11=48
Exploring Operation: 10*11=110, Resulting Numbers: [37, 83, 110]
Generated Node #0,1: 67:[37, 83, 110] Operation: 10*11=110
Exploring Operation: 10+11=21, Resulting Numbers: [37, 83, 21]
Generated Node #0,2: 67:[37, 83, 21] Operation: 10+11=21
Exploring Operation: 83-10=73, Resulting Numbers: [37, 11, 73]
Generated Node #0,3: 67:[37, 11, 73] Operation: 83-10=73
Exploring Operation: 37+10=47, Resulting Numbers: [11, 83, 47]
Generated Node #0,4: 67:[11, 83, 47] Operation: 37+10=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[37, 83, 110], Operations: ['10*11=110']
Exploring Operation: 83-37=46, Resulting Numbers: [110, 46]
Generated Node #0,1,0: 67:[110, 46] Operation: 83-37=46
Exploring Operation: 110-37=73, Resulting Numbers: [83, 73]
Generated Node #0,1,1: 67:[83, 73] Operation: 110-37=73
Exploring Operation: 110-83=27, Resulting Numbers: [37, 27]
Generated Node #0,1,2: 67:[37, 27] Operation: 110-83=27
Exploring Operation: 37+83=120, Resulting Numbers: [110, 120]
Generated Node #0,1,3: 67:[110, 120] Operation: 37+83=120
Exploring Operation: 37+110=147, Resulting Numbers: [83, 147]
Generated Node #0,1,4: 67:[83, 147] Operation: 37+110=147
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[83, 73], Operations: ['10*11=110', '110-37=73']
Exploring Operation: 83-73=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 83+73=156, Resulting Numbers: [156]
156,67 unequal: No Solution
Exploring Operation: 83*73=6059, Resulting Numbers: [6059]
6059,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[110, 46], Operations: ['10*11=110', '83-37=46']
Exploring Operation: 110+46=156, Resulting Numbers: [156]
156,67 unequal: No Solution
Exploring Operation: 110*46=5060, Resulting Numbers: [5060]
5060,67 unequal: No Solution
Exploring Operation: 110-46=64, Resulting Numbers: [64]
64,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[37, 27], Operations: ['10*11=110', '110-83=27']
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,67 unequal: No Solution
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 67:[110, 120], Operations: ['10*11=110', '37+83=120']
Exploring Operation: 110+120=230, Resulting Numbers: [230]
230,67 unequal: No Solution
Exploring Operation: 110*120=13200, Resulting Numbers: [13200]
13200,67 unequal: No Solution
Exploring Operation: 120-110=10, Resulting Numbers: [10]
10,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 67:[83, 147], Operations: ['10*11=110', '37+110=147']
Exploring Operation: 147-83=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 83+147=230, Resulting Numbers: [230]
230,67 unequal: No Solution
Exploring Operation: 83*147=12201, Resulting Numbers: [12201]
12201,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,0
Current State: 67:[10, 83, 48], Operations: ['37+11=48']
Exploring Operation: 83-48=35, Resulting Numbers: [10, 35]
Generated Node #0,0,0: 67:[10, 35] Operation: 83-48=35
Exploring Operation: 10+83=93, Resulting Numbers: [48, 93]
Generated Node #0,0,1: 67:[48, 93] Operation: 10+83=93
Exploring Operation: 83-10=73, Resulting Numbers: [48, 73]
Generated Node #0,0,2: 67:[48, 73] Operation: 83-10=73
Exploring Operation: 48-10=38, Resulting Numbers: [83, 38]
Generated Node #0,0,3: 67:[83, 38] Operation: 48-10=38
Exploring Operation: 10+48=58, Resulting Numbers: [83, 58]
Generated Node #0,0,4: 67:[83, 58] Operation: 10+48=58
Moving to Node #0,0,2
Current State: 67:[48, 73], Operations: ['37+11=48', '83-10=73']
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 48*73=3504, Resulting Numbers: [3504]
3504,67 unequal: No Solution
Exploring Operation: 48+73=121, Resulting Numbers: [121]
121,67 unequal: No Solution
Moving to Node #0,0,4
Current State: 67:[83, 58], Operations: ['37+11=48', '10+48=58']
Exploring Operation: 83-58=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 83+58=141, Resulting Numbers: [141]
141,67 unequal: No Solution
Exploring Operation: 83*58=4814, Resulting Numbers: [4814]
4814,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[48, 93], Operations: ['37+11=48', '10+83=93']
Exploring Operation: 93-48=45, Resulting Numbers: [45]
45,67 unequal: No Solution
Exploring Operation: 48*93=4464, Resulting Numbers: [4464]
4464,67 unequal: No Solution
Exploring Operation: 48+93=141, Resulting Numbers: [141]
141,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[83, 38], Operations: ['37+11=48', '48-10=38']
Exploring Operation: 83-38=45, Resulting Numbers: [45]
45,67 unequal: No Solution
Exploring Operation: 83*38=3154, Resulting Numbers: [3154]
3154,67 unequal: No Solution
Exploring Operation: 83+38=121, Resulting Numbers: [121]
121,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[10, 35], Operations: ['37+11=48', '83-48=35']
Exploring Operation: 10*35=350, Resulting Numbers: [350]
350,67 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 10+35=45, Resulting Numbers: [45]
45,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,2
Current State: 67:[37, 83, 21], Operations: ['10+11=21']
Exploring Operation: 83+21=104, Resulting Numbers: [37, 104]
Generated Node #0,2,0: 67:[37, 104] Operation: 83+21=104
Exploring Operation: 37-21=16, Resulting Numbers: [83, 16]
Generated Node #0,2,1: 67:[83, 16] Operation: 37-21=16
Exploring Operation: 37+21=58, Resulting Numbers: [83, 58]
Generated Node #0,2,2: 67:[83, 58] Operation: 37+21=58
Exploring Operation: 83-37=46, Resulting Numbers: [21, 46]
Generated Node #0,2,3: 67:[21, 46] Operation: 83-37=46
Exploring Operation: 83-21=62, Resulting Numbers: [37, 62]
Generated Node #0,2,4: 67:[37, 62] Operation: 83-21=62
Moving to Node #0,2,2
Current State: 67:[83, 58], Operations: ['10+11=21', '37+21=58']
Exploring Operation: 83+58=141, Resulting Numbers: [141]
141,67 unequal: No Solution
Exploring Operation: 83*58=4814, Resulting Numbers: [4814]
4814,67 unequal: No Solution
Exploring Operation: 83-58=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Moving to Node #0,2,4
Current State: 67:[37, 62], Operations: ['10+11=21', '83-21=62']
Exploring Operation: 37*62=2294, Resulting Numbers: [2294]
2294,67 unequal: No Solution
Exploring Operation: 62-37=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 37+62=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[37, 104], Operations: ['10+11=21', '83+21=104']
Exploring Operation: 37*104=3848, Resulting Numbers: [3848]
3848,67 unequal: No Solution
Exploring Operation: 37+104=141, Resulting Numbers: [141]
141,67 unequal: No Solution
Exploring Operation: 104-37=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[37, 10, 11, 83], Operations: []
Exploring Operation: 10+11=21, Resulting Numbers: [37, 83, 21]
Generated Node #0,2: 67:[37, 83, 21] Operation: 10+11=21
Moving to Node #0,2
Current State: 67:[37, 83, 21], Operations: ['10+11=21']
Exploring Operation: 83+21=104, Resulting Numbers: [37, 104]
Generated Node #0,2,0: 67:[37, 104] Operation: 83+21=104
Moving to Node #0,2,0
Current State: 67:[37, 104], Operations: ['10+11=21', '83+21=104']
Exploring Operation: 104-37=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_5 | sum_heuristic |
[
31,
15,
32,
39
] | 78 | [
"31-15=16",
"32*39=1248",
"1248/16=78"
] | Current State: 78:[31, 15, 32, 39], Operations: []
Exploring Operation: 31-15=16, Resulting Numbers: [32, 39, 16]
Generated Node #2: [32, 39, 16] from Operation: 31-15=16
Current State: 78:[32, 39, 16], Operations: ['31-15=16']
Exploring Operation: 32*39=1248, Resulting Numbers: [16, 1248]
Generated Node #3: [16, 1248] from Operation: 32*39=1248
Current State: 78:[16, 1248], Operations: ['31-15=16', '32*39=1248']
Exploring Operation: 1248/16=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[31, 15, 32, 39], Operations: []
Exploring Operation: 32-15=17, Resulting Numbers: [31, 39, 17]
Generated Node #0,0: 78:[31, 39, 17] Operation: 32-15=17
Exploring Operation: 32-31=1, Resulting Numbers: [15, 39, 1]
Generated Node #0,1: 78:[15, 39, 1] Operation: 32-31=1
Exploring Operation: 31-15=16, Resulting Numbers: [32, 39, 16]
Generated Node #0,2: 78:[32, 39, 16] Operation: 31-15=16
Exploring Operation: 39-32=7, Resulting Numbers: [31, 15, 7]
Generated Node #0,3: 78:[31, 15, 7] Operation: 39-32=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[15, 39, 1], Operations: ['32-31=1']
Exploring Operation: 15-1=14, Resulting Numbers: [39, 14]
Generated Node #0,1,0: 78:[39, 14] Operation: 15-1=14
Exploring Operation: 15/1=15, Resulting Numbers: [39, 15]
Generated Node #0,1,1: 78:[39, 15] Operation: 15/1=15
Exploring Operation: 39*1=39, Resulting Numbers: [15, 39]
Generated Node #0,1,2: 78:[15, 39] Operation: 39*1=39
Exploring Operation: 15*1=15, Resulting Numbers: [39, 15]
Generated Node #0,1,3: 78:[39, 15] Operation: 15*1=15
Moving to Node #0,1,0
Current State: 78:[39, 14], Operations: ['32-31=1', '15-1=14']
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,78 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,78 unequal: No Solution
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[15, 39], Operations: ['32-31=1', '39*1=39']
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,78 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[39, 15], Operations: ['32-31=1', '15/1=15']
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Exploring Operation: 39*15=585, Resulting Numbers: [585]
585,78 unequal: No Solution
Exploring Operation: 39+15=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Moving to Node #0,1,3
Current State: 78:[39, 15], Operations: ['32-31=1', '15*1=15']
Exploring Operation: 39*15=585, Resulting Numbers: [585]
585,78 unequal: No Solution
Exploring Operation: 39+15=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,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:[31, 15, 7], Operations: ['39-32=7']
Exploring Operation: 31-15=16, Resulting Numbers: [7, 16]
Generated Node #0,3,0: 78:[7, 16] Operation: 31-15=16
Exploring Operation: 31-7=24, Resulting Numbers: [15, 24]
Generated Node #0,3,1: 78:[15, 24] Operation: 31-7=24
Exploring Operation: 15-7=8, Resulting Numbers: [31, 8]
Generated Node #0,3,2: 78:[31, 8] Operation: 15-7=8
Exploring Operation: 31+7=38, Resulting Numbers: [15, 38]
Generated Node #0,3,3: 78:[15, 38] Operation: 31+7=38
Moving to Node #0,3,3
Current State: 78:[15, 38], Operations: ['39-32=7', '31+7=38']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,78 unequal: No Solution
Exploring Operation: 15*38=570, Resulting Numbers: [570]
570,78 unequal: No Solution
Moving to Node #0,3,1
Current State: 78:[15, 24], Operations: ['39-32=7', '31-7=24']
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,78 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Moving to Node #0,3,0
Current State: 78:[7, 16], Operations: ['39-32=7', '31-15=16']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,78 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Moving to Node #0,3,2
Current State: 78:[31, 8], Operations: ['39-32=7', '15-7=8']
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,78 unequal: No Solution
Exploring Operation: 31*8=248, Resulting Numbers: [248]
248,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,0
Current State: 78:[31, 39, 17], Operations: ['32-15=17']
Exploring Operation: 39-31=8, Resulting Numbers: [17, 8]
Generated Node #0,0,0: 78:[17, 8] Operation: 39-31=8
Exploring Operation: 31+17=48, Resulting Numbers: [39, 48]
Generated Node #0,0,1: 78:[39, 48] Operation: 31+17=48
Exploring Operation: 39-17=22, Resulting Numbers: [31, 22]
Generated Node #0,0,2: 78:[31, 22] Operation: 39-17=22
Exploring Operation: 31-17=14, Resulting Numbers: [39, 14]
Generated Node #0,0,3: 78:[39, 14] Operation: 31-17=14
Moving to Node #0,0,3
Current State: 78:[39, 14], Operations: ['32-15=17', '31-17=14']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,78 unequal: No Solution
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,78 unequal: No Solution
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[17, 8], Operations: ['32-15=17', '39-31=8']
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,78 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Exploring Operation: 17*8=136, Resulting Numbers: [136]
136,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[31, 22], Operations: ['32-15=17', '39-17=22']
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Exploring Operation: 31*22=682, Resulting Numbers: [682]
682,78 unequal: No Solution
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[39, 48], Operations: ['32-15=17', '31+17=48']
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Exploring Operation: 39*48=1872, Resulting Numbers: [1872]
1872,78 unequal: No Solution
Exploring Operation: 39+48=87, Resulting Numbers: [87]
87,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[32, 39, 16], Operations: ['31-15=16']
Exploring Operation: 39-32=7, Resulting Numbers: [16, 7]
Generated Node #0,2,0: 78:[16, 7] Operation: 39-32=7
Exploring Operation: 32-16=16, Resulting Numbers: [39, 16]
Generated Node #0,2,1: 78:[39, 16] Operation: 32-16=16
Exploring Operation: 32/16=2, Resulting Numbers: [39, 2]
Generated Node #0,2,2: 78:[39, 2] Operation: 32/16=2
Exploring Operation: 32+16=48, Resulting Numbers: [39, 48]
Generated Node #0,2,3: 78:[39, 48] Operation: 32+16=48
Moving to Node #0,2,2
Current State: 78:[39, 2], Operations: ['31-15=16', '32/16=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,78 unequal: No Solution
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[31, 15, 32, 39], Operations: []
Exploring Operation: 31-15=16, Resulting Numbers: [32, 39, 16]
Generated Node #0,2: 78:[32, 39, 16] Operation: 31-15=16
Moving to Node #0,2
Current State: 78:[32, 39, 16], Operations: ['31-15=16']
Exploring Operation: 32/16=2, Resulting Numbers: [39, 2]
Generated Node #0,2,2: 78:[39, 2] Operation: 32/16=2
Moving to Node #0,2,2
Current State: 78:[39, 2], Operations: ['31-15=16', '32/16=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.946181 | hs_4 | sum_heuristic |
[
95,
24,
70,
1
] | 49 | [
"95+24=119",
"70*1=70",
"119-70=49"
] | Current State: 49:[95, 24, 70, 1], Operations: []
Exploring Operation: 95+24=119, Resulting Numbers: [70, 1, 119]
Generated Node #2: [70, 1, 119] from Operation: 95+24=119
Current State: 49:[70, 1, 119], Operations: ['95+24=119']
Exploring Operation: 70*1=70, Resulting Numbers: [119, 70]
Generated Node #3: [119, 70] from Operation: 70*1=70
Current State: 49:[119, 70], Operations: ['95+24=119', '70*1=70']
Exploring Operation: 119-70=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[95, 24, 70, 1], Operations: []
Exploring Operation: 95-70=25, Resulting Numbers: [24, 1, 25]
Generated Node #0,0: 49:[24, 1, 25] Operation: 95-70=25
Exploring Operation: 95-24=71, Resulting Numbers: [70, 1, 71]
Generated Node #0,1: 49:[70, 1, 71] Operation: 95-24=71
Moving to Node #0,0
Current State: 49:[24, 1, 25], Operations: ['95-70=25']
Exploring Operation: 25-24=1, Resulting Numbers: [1, 1]
Generated Node #0,0,0: 49:[1, 1] Operation: 25-24=1
Exploring Operation: 24+25=49, Resulting Numbers: [1, 49]
Generated Node #0,0,1: 49:[1, 49] Operation: 24+25=49
Moving to Node #0,1
Current State: 49:[70, 1, 71], Operations: ['95-24=71']
Exploring Operation: 71-70=1, Resulting Numbers: [1, 1]
Generated Node #0,1,0: 49:[1, 1] Operation: 71-70=1
Exploring Operation: 70-1=69, Resulting Numbers: [71, 69]
Generated Node #0,1,1: 49:[71, 69] Operation: 70-1=69
Moving to Node #0,0,1
Current State: 49:[1, 49], Operations: ['95-70=25', '24+25=49']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[95, 24, 70, 1], Operations: []
Exploring Operation: 95-70=25, Resulting Numbers: [24, 1, 25]
Generated Node #0,0: 49:[24, 1, 25] Operation: 95-70=25
Moving to Node #0,0
Current State: 49:[24, 1, 25], Operations: ['95-70=25']
Exploring Operation: 24+25=49, Resulting Numbers: [1, 49]
Generated Node #0,0,1: 49:[1, 49] Operation: 24+25=49
Moving to Node #0,0,1
Current State: 49:[1, 49], Operations: ['95-70=25', '24+25=49']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
50,
41,
65,
90
] | 39 | [
"90-65=25",
"50/25=2",
"41-2=39"
] | Current State: 39:[50, 41, 65, 90], Operations: []
Exploring Operation: 90-65=25, Resulting Numbers: [50, 41, 25]
Generated Node #2: [50, 41, 25] from Operation: 90-65=25
Current State: 39:[50, 41, 25], Operations: ['90-65=25']
Exploring Operation: 50/25=2, Resulting Numbers: [41, 2]
Generated Node #3: [41, 2] from Operation: 50/25=2
Current State: 39:[41, 2], Operations: ['90-65=25', '50/25=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[50, 41, 65, 90], Operations: []
Exploring Operation: 90-65=25, Resulting Numbers: [50, 41, 25]
Generated Node #0,0: 39:[50, 41, 25] Operation: 90-65=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[50, 41, 25], Operations: ['90-65=25']
Exploring Operation: 50/25=2, Resulting Numbers: [41, 2]
Generated Node #0,0,0: 39:[41, 2] Operation: 50/25=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[41, 2], Operations: ['90-65=25', '50/25=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[50, 41, 65, 90], Operations: []
Exploring Operation: 90-65=25, Resulting Numbers: [50, 41, 25]
Generated Node #0,0: 39:[50, 41, 25] Operation: 90-65=25
Moving to Node #0,0
Current State: 39:[50, 41, 25], Operations: ['90-65=25']
Exploring Operation: 50/25=2, Resulting Numbers: [41, 2]
Generated Node #0,0,0: 39:[41, 2] Operation: 50/25=2
Moving to Node #0,0,0
Current State: 39:[41, 2], Operations: ['90-65=25', '50/25=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
17,
5,
68,
6
] | 86 | [
"17-5=12",
"68+6=74",
"12+74=86"
] | Current State: 86:[17, 5, 68, 6], Operations: []
Exploring Operation: 17-5=12, Resulting Numbers: [68, 6, 12]
Generated Node #2: [68, 6, 12] from Operation: 17-5=12
Current State: 86:[68, 6, 12], Operations: ['17-5=12']
Exploring Operation: 68+6=74, Resulting Numbers: [12, 74]
Generated Node #3: [12, 74] from Operation: 68+6=74
Current State: 86:[12, 74], Operations: ['17-5=12', '68+6=74']
Exploring Operation: 12+74=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[17, 5, 68, 6], Operations: []
Exploring Operation: 17+68=85, Resulting Numbers: [5, 6, 85]
Generated Node #0,0: 86:[5, 6, 85] Operation: 17+68=85
Exploring Operation: 68-17=51, Resulting Numbers: [5, 6, 51]
Generated Node #0,1: 86:[5, 6, 51] Operation: 68-17=51
Exploring Operation: 68/17=4, Resulting Numbers: [5, 6, 4]
Generated Node #0,2: 86:[5, 6, 4] Operation: 68/17=4
Exploring Operation: 17*5=85, Resulting Numbers: [68, 6, 85]
Generated Node #0,3: 86:[68, 6, 85] Operation: 17*5=85
Moving to Node #0,0
Current State: 86:[5, 6, 85], Operations: ['17+68=85']
Exploring Operation: 6+85=91, Resulting Numbers: [5, 91]
Generated Node #0,0,0: 86:[5, 91] Operation: 6+85=91
Exploring Operation: 6-5=1, Resulting Numbers: [85, 1]
Generated Node #0,0,1: 86:[85, 1] Operation: 6-5=1
Exploring Operation: 5+6=11, Resulting Numbers: [85, 11]
Generated Node #0,0,2: 86:[85, 11] Operation: 5+6=11
Exploring Operation: 5+85=90, Resulting Numbers: [6, 90]
Generated Node #0,0,3: 86:[6, 90] Operation: 5+85=90
Moving to Node #0,2
Current State: 86:[5, 6, 4], Operations: ['68/17=4']
Exploring Operation: 6-4=2, Resulting Numbers: [5, 2]
Generated Node #0,2,0: 86:[5, 2] Operation: 6-4=2
Exploring Operation: 5-4=1, Resulting Numbers: [6, 1]
Generated Node #0,2,1: 86:[6, 1] Operation: 5-4=1
Exploring Operation: 5+6=11, Resulting Numbers: [4, 11]
Generated Node #0,2,2: 86:[4, 11] Operation: 5+6=11
Exploring Operation: 6-5=1, Resulting Numbers: [4, 1]
Generated Node #0,2,3: 86:[4, 1] Operation: 6-5=1
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[5, 2], Operations: ['68/17=4', '6-4=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 86:[4, 1], Operations: ['68/17=4', '6-5=1']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[6, 1], Operations: ['68/17=4', '5-4=1']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[4, 11], Operations: ['68/17=4', '5+6=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,86 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: 86:[5, 6, 51], Operations: ['68-17=51']
Exploring Operation: 6-5=1, Resulting Numbers: [51, 1]
Generated Node #0,1,0: 86:[51, 1] Operation: 6-5=1
Exploring Operation: 5+6=11, Resulting Numbers: [51, 11]
Generated Node #0,1,1: 86:[51, 11] Operation: 5+6=11
Exploring Operation: 51-5=46, Resulting Numbers: [6, 46]
Generated Node #0,1,2: 86:[6, 46] Operation: 51-5=46
Exploring Operation: 51-6=45, Resulting Numbers: [5, 45]
Generated Node #0,1,3: 86:[5, 45] Operation: 51-6=45
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[5, 45], Operations: ['68-17=51', '51-6=45']
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,86 unequal: No Solution
Exploring Operation: 5*45=225, Resulting Numbers: [225]
225,86 unequal: No Solution
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[6, 46], Operations: ['68-17=51', '51-5=46']
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,86 unequal: No Solution
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,86 unequal: No Solution
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[51, 1], Operations: ['68-17=51', '6-5=1']
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,86 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[51, 11], Operations: ['68-17=51', '5+6=11']
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,86 unequal: No Solution
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,86 unequal: No Solution
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 86:[68, 6, 85], Operations: ['17*5=85']
Exploring Operation: 85-68=17, Resulting Numbers: [6, 17]
Generated Node #0,3,0: 86:[6, 17] Operation: 85-68=17
Exploring Operation: 68-6=62, Resulting Numbers: [85, 62]
Generated Node #0,3,1: 86:[85, 62] Operation: 68-6=62
Exploring Operation: 68+6=74, Resulting Numbers: [85, 74]
Generated Node #0,3,2: 86:[85, 74] Operation: 68+6=74
Exploring Operation: 6+85=91, Resulting Numbers: [68, 91]
Generated Node #0,3,3: 86:[68, 91] Operation: 6+85=91
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 86:[85, 74], Operations: ['17*5=85', '68+6=74']
Exploring Operation: 85-74=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 85*74=6290, Resulting Numbers: [6290]
6290,86 unequal: No Solution
Exploring Operation: 85+74=159, Resulting Numbers: [159]
159,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 86:[6, 17], Operations: ['17*5=85', '85-68=17']
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,86 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 86:[85, 62], Operations: ['17*5=85', '68-6=62']
Exploring Operation: 85-62=23, Resulting Numbers: [23]
23,86 unequal: No Solution
Exploring Operation: 85+62=147, Resulting Numbers: [147]
147,86 unequal: No Solution
Exploring Operation: 85*62=5270, Resulting Numbers: [5270]
5270,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 86:[68, 91], Operations: ['17*5=85', '6+85=91']
Exploring Operation: 68+91=159, Resulting Numbers: [159]
159,86 unequal: No Solution
Exploring Operation: 68*91=6188, Resulting Numbers: [6188]
6188,86 unequal: No Solution
Exploring Operation: 91-68=23, Resulting Numbers: [23]
23,86 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: 86:[85, 1], Operations: ['17+68=85', '6-5=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[17, 5, 68, 6], Operations: []
Exploring Operation: 17+68=85, Resulting Numbers: [5, 6, 85]
Generated Node #0,0: 86:[5, 6, 85] Operation: 17+68=85
Moving to Node #0,0
Current State: 86:[5, 6, 85], Operations: ['17+68=85']
Exploring Operation: 6-5=1, Resulting Numbers: [85, 1]
Generated Node #0,0,1: 86:[85, 1] Operation: 6-5=1
Moving to Node #0,0,1
Current State: 86:[85, 1], Operations: ['17+68=85', '6-5=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.943576 | hs_4 | mult_heuristic |
[
63,
9,
14,
4
] | 25 | [
"63/9=7",
"14+4=18",
"7+18=25"
] | Current State: 25:[63, 9, 14, 4], Operations: []
Exploring Operation: 63/9=7, Resulting Numbers: [14, 4, 7]
Generated Node #2: [14, 4, 7] from Operation: 63/9=7
Current State: 25:[14, 4, 7], Operations: ['63/9=7']
Exploring Operation: 14+4=18, Resulting Numbers: [7, 18]
Generated Node #3: [7, 18] from Operation: 14+4=18
Current State: 25:[7, 18], Operations: ['63/9=7', '14+4=18']
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[63, 9, 14, 4], Operations: []
Exploring Operation: 63-14=49, Resulting Numbers: [9, 4, 49]
Generated Node #0,0: 25:[9, 4, 49] Operation: 63-14=49
Exploring Operation: 63/9=7, Resulting Numbers: [14, 4, 7]
Generated Node #0,1: 25:[14, 4, 7] Operation: 63/9=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[14, 4, 7], Operations: ['63/9=7']
Exploring Operation: 14-7=7, Resulting Numbers: [4, 7]
Generated Node #0,1,0: 25:[4, 7] Operation: 14-7=7
Exploring Operation: 14/7=2, Resulting Numbers: [4, 2]
Generated Node #0,1,1: 25:[4, 2] Operation: 14/7=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[4, 7], Operations: ['63/9=7', '14-7=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,25 unequal: No Solution
No 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: 25:[4, 2], Operations: ['63/9=7', '14/7=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,25 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: 25:[9, 4, 49], Operations: ['63-14=49']
Exploring Operation: 9-4=5, Resulting Numbers: [49, 5]
Generated Node #0,0,0: 25:[49, 5] Operation: 9-4=5
Exploring Operation: 49-9=40, Resulting Numbers: [4, 40]
Generated Node #0,0,1: 25:[4, 40] Operation: 49-9=40
Moving to Node #0,0,1
Current State: 25:[4, 40], Operations: ['63-14=49', '49-9=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[49, 5], Operations: ['63-14=49', '9-4=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,25 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
93,
5,
73,
82
] | 57 | [
"93+5=98",
"73+82=155",
"155-98=57"
] | Current State: 57:[93, 5, 73, 82], Operations: []
Exploring Operation: 93+5=98, Resulting Numbers: [73, 82, 98]
Generated Node #2: [73, 82, 98] from Operation: 93+5=98
Current State: 57:[73, 82, 98], Operations: ['93+5=98']
Exploring Operation: 73+82=155, Resulting Numbers: [98, 155]
Generated Node #3: [98, 155] from Operation: 73+82=155
Current State: 57:[98, 155], Operations: ['93+5=98', '73+82=155']
Exploring Operation: 155-98=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[93, 5, 73, 82], Operations: []
Exploring Operation: 93-73=20, Resulting Numbers: [5, 82, 20]
Generated Node #0,0: 57:[5, 82, 20] Operation: 93-73=20
Exploring Operation: 93-82=11, Resulting Numbers: [5, 73, 11]
Generated Node #0,1: 57:[5, 73, 11] Operation: 93-82=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[5, 73, 11], Operations: ['93-82=11']
Exploring Operation: 5*11=55, Resulting Numbers: [73, 55]
Generated Node #0,1,0: 57:[73, 55] Operation: 5*11=55
Exploring Operation: 73-11=62, Resulting Numbers: [5, 62]
Generated Node #0,1,1: 57:[5, 62] Operation: 73-11=62
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[5, 62], Operations: ['93-82=11', '73-11=62']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[93, 5, 73, 82], Operations: []
Exploring Operation: 93-82=11, Resulting Numbers: [5, 73, 11]
Generated Node #0,1: 57:[5, 73, 11] Operation: 93-82=11
Moving to Node #0,1
Current State: 57:[5, 73, 11], Operations: ['93-82=11']
Exploring Operation: 73-11=62, Resulting Numbers: [5, 62]
Generated Node #0,1,1: 57:[5, 62] Operation: 73-11=62
Moving to Node #0,1,1
Current State: 57:[5, 62], Operations: ['93-82=11', '73-11=62']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
17,
7,
88,
39
] | 10 | [
"88-39=49",
"49/7=7",
"17-7=10"
] | Current State: 10:[17, 7, 88, 39], Operations: []
Exploring Operation: 88-39=49, Resulting Numbers: [17, 7, 49]
Generated Node #2: [17, 7, 49] from Operation: 88-39=49
Current State: 10:[17, 7, 49], Operations: ['88-39=49']
Exploring Operation: 49/7=7, Resulting Numbers: [17, 7]
Generated Node #3: [17, 7] from Operation: 49/7=7
Current State: 10:[17, 7], Operations: ['88-39=49', '49/7=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[17, 7, 88, 39], Operations: []
Exploring Operation: 88-39=49, Resulting Numbers: [17, 7, 49]
Generated Node #0,0: 10:[17, 7, 49] Operation: 88-39=49
Moving to Node #0,0
Current State: 10:[17, 7, 49], Operations: ['88-39=49']
Exploring Operation: 49/7=7, Resulting Numbers: [17, 7]
Generated Node #0,0,0: 10:[17, 7] Operation: 49/7=7
Moving to Node #0,0,0
Current State: 10:[17, 7], Operations: ['88-39=49', '49/7=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[17, 7, 88, 39], Operations: []
Exploring Operation: 88-39=49, Resulting Numbers: [17, 7, 49]
Generated Node #0,0: 10:[17, 7, 49] Operation: 88-39=49
Moving to Node #0,0
Current State: 10:[17, 7, 49], Operations: ['88-39=49']
Exploring Operation: 49/7=7, Resulting Numbers: [17, 7]
Generated Node #0,0,0: 10:[17, 7] Operation: 49/7=7
Moving to Node #0,0,0
Current State: 10:[17, 7], Operations: ['88-39=49', '49/7=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
60,
22,
76,
82
] | 76 | [
"60+22=82",
"76+82=158",
"158-82=76"
] | Current State: 76:[60, 22, 76, 82], Operations: []
Exploring Operation: 60+22=82, Resulting Numbers: [76, 82, 82]
Generated Node #2: [76, 82, 82] from Operation: 60+22=82
Current State: 76:[76, 82, 82], Operations: ['60+22=82']
Exploring Operation: 76+82=158, Resulting Numbers: [158]
158,76 equal: Goal Reached
Exploring Operation: 158-82=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[60, 22, 76, 82], Operations: []
Exploring Operation: 82-60=22, Resulting Numbers: [22, 76, 22]
Generated Node #0,0: 76:[22, 76, 22] Operation: 82-60=22
Exploring Operation: 60+22=82, Resulting Numbers: [76, 82, 82]
Generated Node #0,1: 76:[76, 82, 82] Operation: 60+22=82
Exploring Operation: 60-22=38, Resulting Numbers: [76, 82, 38]
Generated Node #0,2: 76:[76, 82, 38] Operation: 60-22=38
Exploring Operation: 82-76=6, Resulting Numbers: [60, 22, 6]
Generated Node #0,3: 76:[60, 22, 6] Operation: 82-76=6
Exploring Operation: 76-60=16, Resulting Numbers: [22, 82, 16]
Generated Node #0,4: 76:[22, 82, 16] Operation: 76-60=16
Moving to Node #0,0
Current State: 76:[22, 76, 22], Operations: ['82-60=22']
Exploring Operation: 22+22=44, Resulting Numbers: [76, 44]
Generated Node #0,0,0: 76:[76, 44] Operation: 22+22=44
Exploring Operation: 22/22=1, Resulting Numbers: [76, 1]
Generated Node #0,0,1: 76:[76, 1] Operation: 22/22=1
Exploring Operation: 76-22=54, Resulting Numbers: [22, 54]
Generated Node #0,0,2: 76:[22, 54] Operation: 76-22=54
Exploring Operation: 22-22=0, Resulting Numbers: [76, 0]
Generated Node #0,0,3: 76:[76, 0] Operation: 22-22=0
Exploring Operation: 76-22=54, Resulting Numbers: [22, 54]
Generated Node #0,0,4: 76:[22, 54] Operation: 76-22=54
Moving to Node #0,2
Current State: 76:[76, 82, 38], Operations: ['60-22=38']
Exploring Operation: 76+38=114, Resulting Numbers: [82, 114]
Generated Node #0,2,0: 76:[82, 114] Operation: 76+38=114
Exploring Operation: 76-38=38, Resulting Numbers: [82, 38]
Generated Node #0,2,1: 76:[82, 38] Operation: 76-38=38
Exploring Operation: 82-76=6, Resulting Numbers: [38, 6]
Generated Node #0,2,2: 76:[38, 6] Operation: 82-76=6
Exploring Operation: 76/38=2, Resulting Numbers: [82, 2]
Generated Node #0,2,3: 76:[82, 2] Operation: 76/38=2
Exploring Operation: 82-38=44, Resulting Numbers: [76, 44]
Generated Node #0,2,4: 76:[76, 44] Operation: 82-38=44
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[38, 6], Operations: ['60-22=38', '82-76=6']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,76 unequal: No Solution
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 76:[82, 38], Operations: ['60-22=38', '76-38=38']
Exploring Operation: 82*38=3116, Resulting Numbers: [3116]
3116,76 unequal: No Solution
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 82+38=120, Resulting Numbers: [120]
120,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 76:[82, 2], Operations: ['60-22=38', '76/38=2']
Exploring Operation: 82*2=164, Resulting Numbers: [164]
164,76 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 76:[76, 44], Operations: ['60-22=38', '82-38=44']
Exploring Operation: 76+44=120, Resulting Numbers: [120]
120,76 unequal: No Solution
Exploring Operation: 76*44=3344, Resulting Numbers: [3344]
3344,76 unequal: No Solution
Exploring Operation: 76-44=32, Resulting Numbers: [32]
32,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[82, 114], Operations: ['60-22=38', '76+38=114']
Exploring Operation: 114-82=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 82*114=9348, Resulting Numbers: [9348]
9348,76 unequal: No Solution
Exploring Operation: 82+114=196, Resulting Numbers: [196]
196,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 76:[76, 82, 82], Operations: ['60+22=82']
Exploring Operation: 82-76=6, Resulting Numbers: [82, 6]
Generated Node #0,1,0: 76:[82, 6] Operation: 82-76=6
Exploring Operation: 76+82=158, Resulting Numbers: [82, 158]
Generated Node #0,1,1: 76:[82, 158] Operation: 76+82=158
Exploring Operation: 82-82=0, Resulting Numbers: [76, 0]
Generated Node #0,1,2: 76:[76, 0] Operation: 82-82=0
Exploring Operation: 82-76=6, Resulting Numbers: [82, 6]
Generated Node #0,1,3: 76:[82, 6] Operation: 82-76=6
Exploring Operation: 82/82=1, Resulting Numbers: [76, 1]
Generated Node #0,1,4: 76:[76, 1] Operation: 82/82=1
Moving to Node #0,4
Current State: 76:[22, 82, 16], Operations: ['76-60=16']
Exploring Operation: 82+16=98, Resulting Numbers: [22, 98]
Generated Node #0,4,0: 76:[22, 98] Operation: 82+16=98
Exploring Operation: 22-16=6, Resulting Numbers: [82, 6]
Generated Node #0,4,1: 76:[82, 6] Operation: 22-16=6
Exploring Operation: 82-16=66, Resulting Numbers: [22, 66]
Generated Node #0,4,2: 76:[22, 66] Operation: 82-16=66
Exploring Operation: 82-22=60, Resulting Numbers: [16, 60]
Generated Node #0,4,3: 76:[16, 60] Operation: 82-22=60
Exploring Operation: 22+16=38, Resulting Numbers: [82, 38]
Generated Node #0,4,4: 76:[82, 38] Operation: 22+16=38
Moving to Node #0,3
Current State: 76:[60, 22, 6], Operations: ['82-76=6']
Exploring Operation: 60+6=66, Resulting Numbers: [22, 66]
Generated Node #0,3,0: 76:[22, 66] Operation: 60+6=66
Exploring Operation: 60-6=54, Resulting Numbers: [22, 54]
Generated Node #0,3,1: 76:[22, 54] Operation: 60-6=54
Exploring Operation: 60+22=82, Resulting Numbers: [6, 82]
Generated Node #0,3,2: 76:[6, 82] Operation: 60+22=82
Exploring Operation: 60-22=38, Resulting Numbers: [6, 38]
Generated Node #0,3,3: 76:[6, 38] Operation: 60-22=38
Exploring Operation: 60/6=10, Resulting Numbers: [22, 10]
Generated Node #0,3,4: 76:[22, 10] Operation: 60/6=10
Moving to Node #0,0,1
Current State: 76:[76, 1], Operations: ['82-60=22', '22/22=1']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[60, 22, 76, 82], Operations: []
Exploring Operation: 82-60=22, Resulting Numbers: [22, 76, 22]
Generated Node #0,0: 76:[22, 76, 22] Operation: 82-60=22
Moving to Node #0,0
Current State: 76:[22, 76, 22], Operations: ['82-60=22']
Exploring Operation: 22/22=1, Resulting Numbers: [76, 1]
Generated Node #0,0,1: 76:[76, 1] Operation: 22/22=1
Moving to Node #0,0,1
Current State: 76:[76, 1], Operations: ['82-60=22', '22/22=1']
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.954861 | hs_5 | sum_heuristic |
[
88,
72,
2,
83
] | 24 | [
"88-2=86",
"86-83=3",
"72/3=24"
] | Current State: 24:[88, 72, 2, 83], Operations: []
Exploring Operation: 88-2=86, Resulting Numbers: [72, 83, 86]
Generated Node #2: [72, 83, 86] from Operation: 88-2=86
Current State: 24:[72, 83, 86], Operations: ['88-2=86']
Exploring Operation: 86-83=3, Resulting Numbers: [72, 3]
Generated Node #3: [72, 3] from Operation: 86-83=3
Current State: 24:[72, 3], Operations: ['88-2=86', '86-83=3']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[88, 72, 2, 83], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [72, 2, 5]
Generated Node #0,0: 24:[72, 2, 5] Operation: 88-83=5
Moving to Node #0,0
Current State: 24:[72, 2, 5], Operations: ['88-83=5']
Exploring Operation: 72/2=36, Resulting Numbers: [5, 36]
Generated Node #0,0,0: 24:[5, 36] Operation: 72/2=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[5, 36], Operations: ['88-83=5', '72/2=36']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,24 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 |
[
87,
94,
80,
86
] | 14 | [
"87-86=1",
"94-80=14",
"1*14=14"
] | Current State: 14:[87, 94, 80, 86], Operations: []
Exploring Operation: 87-86=1, Resulting Numbers: [94, 80, 1]
Generated Node #2: [94, 80, 1] from Operation: 87-86=1
Current State: 14:[94, 80, 1], Operations: ['87-86=1']
Exploring Operation: 94-80=14, Resulting Numbers: [1, 14]
Generated Node #3: [1, 14] from Operation: 94-80=14
Current State: 14:[1, 14], Operations: ['87-86=1', '94-80=14']
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[87, 94, 80, 86], Operations: []
Exploring Operation: 94-87=7, Resulting Numbers: [80, 86, 7]
Generated Node #0,0: 14:[80, 86, 7] Operation: 94-87=7
Exploring Operation: 94-80=14, Resulting Numbers: [87, 86, 14]
Generated Node #0,1: 14:[87, 86, 14] Operation: 94-80=14
Exploring Operation: 94-86=8, Resulting Numbers: [87, 80, 8]
Generated Node #0,2: 14:[87, 80, 8] Operation: 94-86=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[80, 86, 7], Operations: ['94-87=7']
Exploring Operation: 86-7=79, Resulting Numbers: [80, 79]
Generated Node #0,0,0: 14:[80, 79] Operation: 86-7=79
Exploring Operation: 86-80=6, Resulting Numbers: [7, 6]
Generated Node #0,0,1: 14:[7, 6] Operation: 86-80=6
Exploring Operation: 80-7=73, Resulting Numbers: [86, 73]
Generated Node #0,0,2: 14:[86, 73] Operation: 80-7=73
Moving to Node #0,0,1
Current State: 14:[7, 6], Operations: ['94-87=7', '86-80=6']
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[80, 79], Operations: ['94-87=7', '86-7=79']
Exploring Operation: 80+79=159, Resulting Numbers: [159]
159,14 unequal: No Solution
Exploring Operation: 80-79=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 80*79=6320, Resulting Numbers: [6320]
6320,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[86, 73], Operations: ['94-87=7', '80-7=73']
Exploring Operation: 86*73=6278, Resulting Numbers: [6278]
6278,14 unequal: No Solution
Exploring Operation: 86+73=159, Resulting Numbers: [159]
159,14 unequal: No Solution
Exploring Operation: 86-73=13, Resulting Numbers: [13]
13,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:[87, 80, 8], Operations: ['94-86=8']
Exploring Operation: 87-8=79, Resulting Numbers: [80, 79]
Generated Node #0,2,0: 14:[80, 79] Operation: 87-8=79
Exploring Operation: 80/8=10, Resulting Numbers: [87, 10]
Generated Node #0,2,1: 14:[87, 10] Operation: 80/8=10
Exploring Operation: 87-80=7, Resulting Numbers: [8, 7]
Generated Node #0,2,2: 14:[8, 7] Operation: 87-80=7
Moving to Node #0,2,2
Current State: 14:[8, 7], Operations: ['94-86=8', '87-80=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,14 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[87, 10], Operations: ['94-86=8', '80/8=10']
Exploring Operation: 87-10=77, Resulting Numbers: [77]
77,14 unequal: No Solution
Exploring Operation: 87+10=97, Resulting Numbers: [97]
97,14 unequal: No Solution
Exploring Operation: 87*10=870, Resulting Numbers: [870]
870,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[80, 79], Operations: ['94-86=8', '87-8=79']
Exploring Operation: 80+79=159, Resulting Numbers: [159]
159,14 unequal: No Solution
Exploring Operation: 80*79=6320, Resulting Numbers: [6320]
6320,14 unequal: No Solution
Exploring Operation: 80-79=1, Resulting Numbers: [1]
1,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:[87, 86, 14], Operations: ['94-80=14']
Exploring Operation: 87-14=73, Resulting Numbers: [86, 73]
Generated Node #0,1,0: 14:[86, 73] Operation: 87-14=73
Exploring Operation: 87-86=1, Resulting Numbers: [14, 1]
Generated Node #0,1,1: 14:[14, 1] Operation: 87-86=1
Exploring Operation: 86-14=72, Resulting Numbers: [87, 72]
Generated Node #0,1,2: 14:[87, 72] Operation: 86-14=72
Moving to Node #0,1,1
Current State: 14:[14, 1], Operations: ['94-80=14', '87-86=1']
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[87, 94, 80, 86], Operations: []
Exploring Operation: 94-80=14, Resulting Numbers: [87, 86, 14]
Generated Node #0,1: 14:[87, 86, 14] Operation: 94-80=14
Moving to Node #0,1
Current State: 14:[87, 86, 14], Operations: ['94-80=14']
Exploring Operation: 87-86=1, Resulting Numbers: [14, 1]
Generated Node #0,1,1: 14:[14, 1] Operation: 87-86=1
Moving to Node #0,1,1
Current State: 14:[14, 1], Operations: ['94-80=14', '87-86=1']
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_3 | sum_heuristic |
[
74,
76,
61,
36
] | 50 | [
"76-74=2",
"61-36=25",
"2*25=50"
] | Current State: 50:[74, 76, 61, 36], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [61, 36, 2]
Generated Node #2: [61, 36, 2] from Operation: 76-74=2
Current State: 50:[61, 36, 2], Operations: ['76-74=2']
Exploring Operation: 61-36=25, Resulting Numbers: [2, 25]
Generated Node #3: [2, 25] from Operation: 61-36=25
Current State: 50:[2, 25], Operations: ['76-74=2', '61-36=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[74, 76, 61, 36], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [61, 36, 2]
Generated Node #0,0: 50:[61, 36, 2] Operation: 76-74=2
Exploring Operation: 74-61=13, Resulting Numbers: [76, 36, 13]
Generated Node #0,1: 50:[76, 36, 13] Operation: 74-61=13
Exploring Operation: 76-61=15, Resulting Numbers: [74, 36, 15]
Generated Node #0,2: 50:[74, 36, 15] Operation: 76-61=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[61, 36, 2], Operations: ['76-74=2']
Exploring Operation: 36/2=18, Resulting Numbers: [61, 18]
Generated Node #0,0,0: 50:[61, 18] Operation: 36/2=18
Exploring Operation: 61-36=25, Resulting Numbers: [2, 25]
Generated Node #0,0,1: 50:[2, 25] Operation: 61-36=25
Exploring Operation: 61-2=59, Resulting Numbers: [36, 59]
Generated Node #0,0,2: 50:[36, 59] Operation: 61-2=59
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 50:[2, 25], Operations: ['76-74=2', '61-36=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[74, 76, 61, 36], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [61, 36, 2]
Generated Node #0,0: 50:[61, 36, 2] Operation: 76-74=2
Moving to Node #0,0
Current State: 50:[61, 36, 2], Operations: ['76-74=2']
Exploring Operation: 61-36=25, Resulting Numbers: [2, 25]
Generated Node #0,0,1: 50:[2, 25] Operation: 61-36=25
Moving to Node #0,0,1
Current State: 50:[2, 25], Operations: ['76-74=2', '61-36=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
25,
50,
49,
23
] | 48 | [
"25+23=48",
"50-49=1",
"48*1=48"
] | Current State: 48:[25, 50, 49, 23], Operations: []
Exploring Operation: 25+23=48, Resulting Numbers: [50, 49, 48]
Generated Node #2: [50, 49, 48] from Operation: 25+23=48
Current State: 48:[50, 49, 48], Operations: ['25+23=48']
Exploring Operation: 50-49=1, Resulting Numbers: [48, 1]
Generated Node #3: [48, 1] from Operation: 50-49=1
Current State: 48:[48, 1], Operations: ['25+23=48', '50-49=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[25, 50, 49, 23], Operations: []
Exploring Operation: 49-25=24, Resulting Numbers: [50, 23, 24]
Generated Node #0,0: 48:[50, 23, 24] Operation: 49-25=24
Exploring Operation: 25-23=2, Resulting Numbers: [50, 49, 2]
Generated Node #0,1: 48:[50, 49, 2] Operation: 25-23=2
Exploring Operation: 25+23=48, Resulting Numbers: [50, 49, 48]
Generated Node #0,2: 48:[50, 49, 48] Operation: 25+23=48
Exploring Operation: 50/25=2, Resulting Numbers: [49, 23, 2]
Generated Node #0,3: 48:[49, 23, 2] Operation: 50/25=2
Exploring Operation: 50-25=25, Resulting Numbers: [49, 23, 25]
Generated Node #0,4: 48:[49, 23, 25] Operation: 50-25=25
Moving to Node #0,3
Current State: 48:[49, 23, 2], Operations: ['50/25=2']
Exploring Operation: 49-2=47, Resulting Numbers: [23, 47]
Generated Node #0,3,0: 48:[23, 47] Operation: 49-2=47
Exploring Operation: 23+2=25, Resulting Numbers: [49, 25]
Generated Node #0,3,1: 48:[49, 25] Operation: 23+2=25
Exploring Operation: 49+2=51, Resulting Numbers: [23, 51]
Generated Node #0,3,2: 48:[23, 51] Operation: 49+2=51
Exploring Operation: 49-23=26, Resulting Numbers: [2, 26]
Generated Node #0,3,3: 48:[2, 26] Operation: 49-23=26
Exploring Operation: 23*2=46, Resulting Numbers: [49, 46]
Generated Node #0,3,4: 48:[49, 46] Operation: 23*2=46
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 48:[23, 47], Operations: ['50/25=2', '49-2=47']
Exploring Operation: 23*47=1081, Resulting Numbers: [1081]
1081,48 unequal: No Solution
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 23+47=70, Resulting Numbers: [70]
70,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 48:[49, 25], Operations: ['50/25=2', '23+2=25']
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 49+25=74, Resulting Numbers: [74]
74,48 unequal: No Solution
Exploring Operation: 49*25=1225, Resulting Numbers: [1225]
1225,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 48:[2, 26], Operations: ['50/25=2', '49-23=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,48 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 48:[49, 46], Operations: ['50/25=2', '23*2=46']
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 49*46=2254, Resulting Numbers: [2254]
2254,48 unequal: No Solution
Exploring Operation: 49+46=95, Resulting Numbers: [95]
95,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 48:[23, 51], Operations: ['50/25=2', '49+2=51']
Exploring Operation: 23+51=74, Resulting Numbers: [74]
74,48 unequal: No Solution
Exploring Operation: 51-23=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 23*51=1173, Resulting Numbers: [1173]
1173,48 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: 48:[50, 49, 2], Operations: ['25-23=2']
Exploring Operation: 50-2=48, Resulting Numbers: [49, 48]
Generated Node #0,1,0: 48:[49, 48] Operation: 50-2=48
Exploring Operation: 49-2=47, Resulting Numbers: [50, 47]
Generated Node #0,1,1: 48:[50, 47] Operation: 49-2=47
Exploring Operation: 50+2=52, Resulting Numbers: [49, 52]
Generated Node #0,1,2: 48:[49, 52] Operation: 50+2=52
Exploring Operation: 50/2=25, Resulting Numbers: [49, 25]
Generated Node #0,1,3: 48:[49, 25] Operation: 50/2=25
Exploring Operation: 50-49=1, Resulting Numbers: [2, 1]
Generated Node #0,1,4: 48:[2, 1] Operation: 50-49=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[49, 48], Operations: ['25-23=2', '50-2=48']
Exploring Operation: 49*48=2352, Resulting Numbers: [2352]
2352,48 unequal: No Solution
Exploring Operation: 49+48=97, Resulting Numbers: [97]
97,48 unequal: No Solution
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 48:[2, 1], Operations: ['25-23=2', '50-49=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 48:[49, 25], Operations: ['25-23=2', '50/2=25']
Exploring Operation: 49+25=74, Resulting Numbers: [74]
74,48 unequal: No Solution
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 49*25=1225, Resulting Numbers: [1225]
1225,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[50, 47], Operations: ['25-23=2', '49-2=47']
Exploring Operation: 50+47=97, Resulting Numbers: [97]
97,48 unequal: No Solution
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 50*47=2350, Resulting Numbers: [2350]
2350,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[49, 52], Operations: ['25-23=2', '50+2=52']
Exploring Operation: 49+52=101, Resulting Numbers: [101]
101,48 unequal: No Solution
Exploring Operation: 49*52=2548, Resulting Numbers: [2548]
2548,48 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,48 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: 48:[49, 23, 25], Operations: ['50-25=25']
Exploring Operation: 25-23=2, Resulting Numbers: [49, 2]
Generated Node #0,4,0: 48:[49, 2] Operation: 25-23=2
Exploring Operation: 49+23=72, Resulting Numbers: [25, 72]
Generated Node #0,4,1: 48:[25, 72] Operation: 49+23=72
Exploring Operation: 49-25=24, Resulting Numbers: [23, 24]
Generated Node #0,4,2: 48:[23, 24] Operation: 49-25=24
Exploring Operation: 49-23=26, Resulting Numbers: [25, 26]
Generated Node #0,4,3: 48:[25, 26] Operation: 49-23=26
Exploring Operation: 23+25=48, Resulting Numbers: [49, 48]
Generated Node #0,4,4: 48:[49, 48] Operation: 23+25=48
Moving to Node #0,0
Current State: 48:[50, 23, 24], Operations: ['49-25=24']
Exploring Operation: 24-23=1, Resulting Numbers: [50, 1]
Generated Node #0,0,0: 48:[50, 1] Operation: 24-23=1
Exploring Operation: 23+24=47, Resulting Numbers: [50, 47]
Generated Node #0,0,1: 48:[50, 47] Operation: 23+24=47
Exploring Operation: 50-24=26, Resulting Numbers: [23, 26]
Generated Node #0,0,2: 48:[23, 26] Operation: 50-24=26
Exploring Operation: 50-23=27, Resulting Numbers: [24, 27]
Generated Node #0,0,3: 48:[24, 27] Operation: 50-23=27
Exploring Operation: 50+23=73, Resulting Numbers: [24, 73]
Generated Node #0,0,4: 48:[24, 73] Operation: 50+23=73
Moving to Node #0,2
Current State: 48:[50, 49, 48], Operations: ['25+23=48']
Exploring Operation: 50-48=2, Resulting Numbers: [49, 2]
Generated Node #0,2,0: 48:[49, 2] Operation: 50-48=2
Exploring Operation: 50-49=1, Resulting Numbers: [48, 1]
Generated Node #0,2,1: 48:[48, 1] Operation: 50-49=1
Exploring Operation: 50+48=98, Resulting Numbers: [49, 98]
Generated Node #0,2,2: 48:[49, 98] Operation: 50+48=98
Exploring Operation: 49-48=1, Resulting Numbers: [50, 1]
Generated Node #0,2,3: 48:[50, 1] Operation: 49-48=1
Exploring Operation: 50+49=99, Resulting Numbers: [48, 99]
Generated Node #0,2,4: 48:[48, 99] Operation: 50+49=99
Moving to Node #0,4,0
Current State: 48:[49, 2], Operations: ['50-25=25', '25-23=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,48 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Moving to Node #0,4,4
Current State: 48:[49, 48], Operations: ['50-25=25', '23+25=48']
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 49+48=97, Resulting Numbers: [97]
97,48 unequal: No Solution
Exploring Operation: 49*48=2352, Resulting Numbers: [2352]
2352,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[48, 1], Operations: ['25+23=48', '50-49=1']
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,48 unequal: No Solution
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[25, 50, 49, 23], Operations: []
Exploring Operation: 25+23=48, Resulting Numbers: [50, 49, 48]
Generated Node #0,2: 48:[50, 49, 48] Operation: 25+23=48
Moving to Node #0,2
Current State: 48:[50, 49, 48], Operations: ['25+23=48']
Exploring Operation: 50-49=1, Resulting Numbers: [48, 1]
Generated Node #0,2,1: 48:[48, 1] Operation: 50-49=1
Moving to Node #0,2,1
Current State: 48:[48, 1], Operations: ['25+23=48', '50-49=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.934896 | hs_5 | mult_heuristic |
[
85,
51,
80,
38
] | 70 | [
"80-38=42",
"85*42=3570",
"3570/51=70"
] | Current State: 70:[85, 51, 80, 38], Operations: []
Exploring Operation: 80-38=42, Resulting Numbers: [85, 51, 42]
Generated Node #2: [85, 51, 42] from Operation: 80-38=42
Current State: 70:[85, 51, 42], Operations: ['80-38=42']
Exploring Operation: 85*42=3570, Resulting Numbers: [51, 3570]
Generated Node #3: [51, 3570] from Operation: 85*42=3570
Current State: 70:[51, 3570], Operations: ['80-38=42', '85*42=3570']
Exploring Operation: 3570/51=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[85, 51, 80, 38], Operations: []
Exploring Operation: 85-80=5, Resulting Numbers: [51, 38, 5]
Generated Node #0,0: 70:[51, 38, 5] Operation: 85-80=5
Exploring Operation: 85-51=34, Resulting Numbers: [80, 38, 34]
Generated Node #0,1: 70:[80, 38, 34] Operation: 85-51=34
Moving to Node #0,1
Current State: 70:[80, 38, 34], Operations: ['85-51=34']
Exploring Operation: 80-38=42, Resulting Numbers: [34, 42]
Generated Node #0,1,0: 70:[34, 42] Operation: 80-38=42
Exploring Operation: 38-34=4, Resulting Numbers: [80, 4]
Generated Node #0,1,1: 70:[80, 4] Operation: 38-34=4
Moving to Node #0,0
Current State: 70:[51, 38, 5], Operations: ['85-80=5']
Exploring Operation: 51-38=13, Resulting Numbers: [5, 13]
Generated Node #0,0,0: 70:[5, 13] Operation: 51-38=13
Exploring Operation: 51-5=46, Resulting Numbers: [38, 46]
Generated Node #0,0,1: 70:[38, 46] Operation: 51-5=46
Moving to Node #0,0,0
Current State: 70:[5, 13], Operations: ['85-80=5', '51-38=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[34, 42], Operations: ['85-51=34', '80-38=42']
Exploring Operation: 34+42=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[80, 4], Operations: ['85-51=34', '38-34=4']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[38, 46], Operations: ['85-80=5', '51-5=46']
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,70 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
88,
73,
83
] | 14 | [
"73-3=70",
"88-83=5",
"70/5=14"
] | Current State: 14:[3, 88, 73, 83], Operations: []
Exploring Operation: 73-3=70, Resulting Numbers: [88, 83, 70]
Generated Node #2: [88, 83, 70] from Operation: 73-3=70
Current State: 14:[88, 83, 70], Operations: ['73-3=70']
Exploring Operation: 88-83=5, Resulting Numbers: [70, 5]
Generated Node #3: [70, 5] from Operation: 88-83=5
Current State: 14:[70, 5], Operations: ['73-3=70', '88-83=5']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[3, 88, 73, 83], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [3, 73, 5]
Generated Node #0,0: 14:[3, 73, 5] Operation: 88-83=5
Exploring Operation: 88-73=15, Resulting Numbers: [3, 83, 15]
Generated Node #0,1: 14:[3, 83, 15] Operation: 88-73=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[3, 73, 5], Operations: ['88-83=5']
Exploring Operation: 73-5=68, Resulting Numbers: [3, 68]
Generated Node #0,0,0: 14:[3, 68] Operation: 73-5=68
Exploring Operation: 73-3=70, Resulting Numbers: [5, 70]
Generated Node #0,0,1: 14:[5, 70] Operation: 73-3=70
Moving to Node #0,0,0
Current State: 14:[3, 68], Operations: ['88-83=5', '73-5=68']
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,14 unequal: No Solution
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[5, 70], Operations: ['88-83=5', '73-3=70']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[3, 88, 73, 83], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [3, 73, 5]
Generated Node #0,0: 14:[3, 73, 5] Operation: 88-83=5
Moving to Node #0,0
Current State: 14:[3, 73, 5], Operations: ['88-83=5']
Exploring Operation: 73-3=70, Resulting Numbers: [5, 70]
Generated Node #0,0,1: 14:[5, 70] Operation: 73-3=70
Moving to Node #0,0,1
Current State: 14:[5, 70], Operations: ['88-83=5', '73-3=70']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
64,
21,
95,
72
] | 32 | [
"95-21=74",
"74-72=2",
"64/2=32"
] | Current State: 32:[64, 21, 95, 72], Operations: []
Exploring Operation: 95-21=74, Resulting Numbers: [64, 72, 74]
Generated Node #2: [64, 72, 74] from Operation: 95-21=74
Current State: 32:[64, 72, 74], Operations: ['95-21=74']
Exploring Operation: 74-72=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 74-72=2
Current State: 32:[64, 2], Operations: ['95-21=74', '74-72=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[64, 21, 95, 72], Operations: []
Exploring Operation: 95-64=31, Resulting Numbers: [21, 72, 31]
Generated Node #0,0: 32:[21, 72, 31] Operation: 95-64=31
Exploring Operation: 72-64=8, Resulting Numbers: [21, 95, 8]
Generated Node #0,1: 32:[21, 95, 8] Operation: 72-64=8
Exploring Operation: 95-72=23, Resulting Numbers: [64, 21, 23]
Generated Node #0,2: 32:[64, 21, 23] Operation: 95-72=23
Moving to Node #0,2
Current State: 32:[64, 21, 23], Operations: ['95-72=23']
Exploring Operation: 64-23=41, Resulting Numbers: [21, 41]
Generated Node #0,2,0: 32:[21, 41] Operation: 64-23=41
Exploring Operation: 64-21=43, Resulting Numbers: [23, 43]
Generated Node #0,2,1: 32:[23, 43] Operation: 64-21=43
Exploring Operation: 23-21=2, Resulting Numbers: [64, 2]
Generated Node #0,2,2: 32:[64, 2] Operation: 23-21=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 32:[21, 41], Operations: ['95-72=23', '64-23=41']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 21+41=62, Resulting Numbers: [62]
62,32 unequal: No Solution
Exploring Operation: 21*41=861, Resulting Numbers: [861]
861,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 32:[23, 43], Operations: ['95-72=23', '64-21=43']
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 23+43=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 23*43=989, Resulting Numbers: [989]
989,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 32:[64, 2], Operations: ['95-72=23', '23-21=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[64, 21, 95, 72], Operations: []
Exploring Operation: 95-72=23, Resulting Numbers: [64, 21, 23]
Generated Node #0,2: 32:[64, 21, 23] Operation: 95-72=23
Moving to Node #0,2
Current State: 32:[64, 21, 23], Operations: ['95-72=23']
Exploring Operation: 23-21=2, Resulting Numbers: [64, 2]
Generated Node #0,2,2: 32:[64, 2] Operation: 23-21=2
Moving to Node #0,2,2
Current State: 32:[64, 2], Operations: ['95-72=23', '23-21=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
80,
11,
83,
74
] | 100 | [
"80+11=91",
"83-74=9",
"91+9=100"
] | Current State: 100:[80, 11, 83, 74], Operations: []
Exploring Operation: 80+11=91, Resulting Numbers: [83, 74, 91]
Generated Node #2: [83, 74, 91] from Operation: 80+11=91
Current State: 100:[83, 74, 91], Operations: ['80+11=91']
Exploring Operation: 83-74=9, Resulting Numbers: [91, 9]
Generated Node #3: [91, 9] from Operation: 83-74=9
Current State: 100:[91, 9], Operations: ['80+11=91', '83-74=9']
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[80, 11, 83, 74], Operations: []
Exploring Operation: 80-74=6, Resulting Numbers: [11, 83, 6]
Generated Node #0,0: 100:[11, 83, 6] Operation: 80-74=6
Exploring Operation: 83-80=3, Resulting Numbers: [11, 74, 3]
Generated Node #0,1: 100:[11, 74, 3] Operation: 83-80=3
Exploring Operation: 83-74=9, Resulting Numbers: [80, 11, 9]
Generated Node #0,2: 100:[80, 11, 9] Operation: 83-74=9
Moving to Node #0,0
Current State: 100:[11, 83, 6], Operations: ['80-74=6']
Exploring Operation: 11+83=94, Resulting Numbers: [6, 94]
Generated Node #0,0,0: 100:[6, 94] Operation: 11+83=94
Exploring Operation: 83+6=89, Resulting Numbers: [11, 89]
Generated Node #0,0,1: 100:[11, 89] Operation: 83+6=89
Exploring Operation: 11-6=5, Resulting Numbers: [83, 5]
Generated Node #0,0,2: 100:[83, 5] Operation: 11-6=5
Moving to Node #0,2
Current State: 100:[80, 11, 9], Operations: ['83-74=9']
Exploring Operation: 80+11=91, Resulting Numbers: [9, 91]
Generated Node #0,2,0: 100:[9, 91] Operation: 80+11=91
Exploring Operation: 80-11=69, Resulting Numbers: [9, 69]
Generated Node #0,2,1: 100:[9, 69] Operation: 80-11=69
Exploring Operation: 80+9=89, Resulting Numbers: [11, 89]
Generated Node #0,2,2: 100:[11, 89] Operation: 80+9=89
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 100:[9, 91], Operations: ['83-74=9', '80+11=91']
Exploring Operation: 9*91=819, Resulting Numbers: [819]
819,100 unequal: No Solution
Exploring Operation: 9+91=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[80, 11, 83, 74], Operations: []
Exploring Operation: 83-74=9, Resulting Numbers: [80, 11, 9]
Generated Node #0,2: 100:[80, 11, 9] Operation: 83-74=9
Moving to Node #0,2
Current State: 100:[80, 11, 9], Operations: ['83-74=9']
Exploring Operation: 80+11=91, Resulting Numbers: [9, 91]
Generated Node #0,2,0: 100:[9, 91] Operation: 80+11=91
Moving to Node #0,2,0
Current State: 100:[9, 91], Operations: ['83-74=9', '80+11=91']
Exploring Operation: 9+91=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
41,
26,
16,
43
] | 12 | [
"41-26=15",
"43-16=27",
"27-15=12"
] | Current State: 12:[41, 26, 16, 43], Operations: []
Exploring Operation: 41-26=15, Resulting Numbers: [16, 43, 15]
Generated Node #2: [16, 43, 15] from Operation: 41-26=15
Current State: 12:[16, 43, 15], Operations: ['41-26=15']
Exploring Operation: 43-16=27, Resulting Numbers: [15, 27]
Generated Node #3: [15, 27] from Operation: 43-16=27
Current State: 12:[15, 27], Operations: ['41-26=15', '43-16=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[41, 26, 16, 43], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [26, 16, 2]
Generated Node #0,0: 12:[26, 16, 2] Operation: 43-41=2
Exploring Operation: 41-26=15, Resulting Numbers: [16, 43, 15]
Generated Node #0,1: 12:[16, 43, 15] Operation: 41-26=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[26, 16, 2], Operations: ['43-41=2']
Exploring Operation: 26-16=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 12:[2, 10] Operation: 26-16=10
Exploring Operation: 26/2=13, Resulting Numbers: [16, 13]
Generated Node #0,0,1: 12:[16, 13] Operation: 26/2=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[2, 10], Operations: ['43-41=2', '26-16=10']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[41, 26, 16, 43], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [26, 16, 2]
Generated Node #0,0: 12:[26, 16, 2] Operation: 43-41=2
Moving to Node #0,0
Current State: 12:[26, 16, 2], Operations: ['43-41=2']
Exploring Operation: 26-16=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 12:[2, 10] Operation: 26-16=10
Moving to Node #0,0,0
Current State: 12:[2, 10], Operations: ['43-41=2', '26-16=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
24,
42,
80,
9
] | 94 | [
"24*9=216",
"42+80=122",
"216-122=94"
] | Current State: 94:[24, 42, 80, 9], Operations: []
Exploring Operation: 24*9=216, Resulting Numbers: [42, 80, 216]
Generated Node #2: [42, 80, 216] from Operation: 24*9=216
Current State: 94:[42, 80, 216], Operations: ['24*9=216']
Exploring Operation: 42+80=122, Resulting Numbers: [216, 122]
Generated Node #3: [216, 122] from Operation: 42+80=122
Current State: 94:[216, 122], Operations: ['24*9=216', '42+80=122']
Exploring Operation: 216-122=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[24, 42, 80, 9], Operations: []
Exploring Operation: 80+9=89, Resulting Numbers: [24, 42, 89]
Generated Node #0,0: 94:[24, 42, 89] Operation: 80+9=89
Exploring Operation: 24+80=104, Resulting Numbers: [42, 9, 104]
Generated Node #0,1: 94:[42, 9, 104] Operation: 24+80=104
Exploring Operation: 80-24=56, Resulting Numbers: [42, 9, 56]
Generated Node #0,2: 94:[42, 9, 56] Operation: 80-24=56
Exploring Operation: 24-9=15, Resulting Numbers: [42, 80, 15]
Generated Node #0,3: 94:[42, 80, 15] Operation: 24-9=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[42, 9, 56], Operations: ['80-24=56']
Exploring Operation: 42+9=51, Resulting Numbers: [56, 51]
Generated Node #0,2,0: 94:[56, 51] Operation: 42+9=51
Exploring Operation: 42+56=98, Resulting Numbers: [9, 98]
Generated Node #0,2,1: 94:[9, 98] Operation: 42+56=98
Exploring Operation: 56-9=47, Resulting Numbers: [42, 47]
Generated Node #0,2,2: 94:[42, 47] Operation: 56-9=47
Exploring Operation: 56-42=14, Resulting Numbers: [9, 14]
Generated Node #0,2,3: 94:[9, 14] Operation: 56-42=14
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 94:[42, 47], Operations: ['80-24=56', '56-9=47']
Exploring Operation: 42*47=1974, Resulting Numbers: [1974]
1974,94 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,94 unequal: No Solution
No 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: 94:[9, 98], Operations: ['80-24=56', '42+56=98']
Exploring Operation: 9+98=107, Resulting Numbers: [107]
107,94 unequal: No Solution
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Exploring Operation: 9*98=882, Resulting Numbers: [882]
882,94 unequal: No Solution
No 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: 94:[56, 51], Operations: ['80-24=56', '42+9=51']
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,94 unequal: No Solution
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,94 unequal: No Solution
No 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: 94:[9, 14], Operations: ['80-24=56', '56-42=14']
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,94 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,94 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: 94:[42, 9, 104], Operations: ['24+80=104']
Exploring Operation: 104-42=62, Resulting Numbers: [9, 62]
Generated Node #0,1,0: 94:[9, 62] Operation: 104-42=62
Exploring Operation: 42-9=33, Resulting Numbers: [104, 33]
Generated Node #0,1,1: 94:[104, 33] Operation: 42-9=33
Exploring Operation: 104-9=95, Resulting Numbers: [42, 95]
Generated Node #0,1,2: 94:[42, 95] Operation: 104-9=95
Exploring Operation: 42+9=51, Resulting Numbers: [104, 51]
Generated Node #0,1,3: 94:[104, 51] Operation: 42+9=51
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 94:[42, 95], Operations: ['24+80=104', '104-9=95']
Exploring Operation: 42*95=3990, Resulting Numbers: [3990]
3990,94 unequal: No Solution
Exploring Operation: 42+95=137, Resulting Numbers: [137]
137,94 unequal: No Solution
Exploring Operation: 95-42=53, Resulting Numbers: [53]
53,94 unequal: No Solution
No 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: 94:[104, 51], Operations: ['24+80=104', '42+9=51']
Exploring Operation: 104-51=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 104+51=155, Resulting Numbers: [155]
155,94 unequal: No Solution
Exploring Operation: 104*51=5304, Resulting Numbers: [5304]
5304,94 unequal: No Solution
No 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: 94:[9, 62], Operations: ['24+80=104', '104-42=62']
Exploring Operation: 9+62=71, Resulting Numbers: [71]
71,94 unequal: No Solution
Exploring Operation: 9*62=558, Resulting Numbers: [558]
558,94 unequal: No Solution
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,94 unequal: No Solution
No 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: 94:[104, 33], Operations: ['24+80=104', '42-9=33']
Exploring Operation: 104+33=137, Resulting Numbers: [137]
137,94 unequal: No Solution
Exploring Operation: 104-33=71, Resulting Numbers: [71]
71,94 unequal: No Solution
Exploring Operation: 104*33=3432, Resulting Numbers: [3432]
3432,94 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: 94:[24, 42, 89], Operations: ['80+9=89']
Exploring Operation: 24+42=66, Resulting Numbers: [89, 66]
Generated Node #0,0,0: 94:[89, 66] Operation: 24+42=66
Exploring Operation: 42-24=18, Resulting Numbers: [89, 18]
Generated Node #0,0,1: 94:[89, 18] Operation: 42-24=18
Exploring Operation: 89-42=47, Resulting Numbers: [24, 47]
Generated Node #0,0,2: 94:[24, 47] Operation: 89-42=47
Exploring Operation: 89-24=65, Resulting Numbers: [42, 65]
Generated Node #0,0,3: 94:[42, 65] Operation: 89-24=65
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 94:[89, 18], Operations: ['80+9=89', '42-24=18']
Exploring Operation: 89*18=1602, Resulting Numbers: [1602]
1602,94 unequal: No Solution
Exploring Operation: 89+18=107, Resulting Numbers: [107]
107,94 unequal: No Solution
Exploring Operation: 89-18=71, Resulting Numbers: [71]
71,94 unequal: No Solution
No 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: 94:[24, 47], Operations: ['80+9=89', '89-42=47']
Exploring Operation: 24*47=1128, Resulting Numbers: [1128]
1128,94 unequal: No Solution
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 24+47=71, Resulting Numbers: [71]
71,94 unequal: No Solution
No 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: 94:[42, 65], Operations: ['80+9=89', '89-24=65']
Exploring Operation: 42+65=107, Resulting Numbers: [107]
107,94 unequal: No Solution
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 42*65=2730, Resulting Numbers: [2730]
2730,94 unequal: No Solution
No 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: 94:[89, 66], Operations: ['80+9=89', '24+42=66']
Exploring Operation: 89-66=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 89+66=155, Resulting Numbers: [155]
155,94 unequal: No Solution
Exploring Operation: 89*66=5874, Resulting Numbers: [5874]
5874,94 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: 94:[42, 80, 15], Operations: ['24-9=15']
Exploring Operation: 80-42=38, Resulting Numbers: [15, 38]
Generated Node #0,3,0: 94:[15, 38] Operation: 80-42=38
Exploring Operation: 42+15=57, Resulting Numbers: [80, 57]
Generated Node #0,3,1: 94:[80, 57] Operation: 42+15=57
Exploring Operation: 80-15=65, Resulting Numbers: [42, 65]
Generated Node #0,3,2: 94:[42, 65] Operation: 80-15=65
Exploring Operation: 80+15=95, Resulting Numbers: [42, 95]
Generated Node #0,3,3: 94:[42, 95] Operation: 80+15=95
Moving to Node #0,3,3
Current State: 94:[42, 95], Operations: ['24-9=15', '80+15=95']
Exploring Operation: 42+95=137, Resulting Numbers: [137]
137,94 unequal: No Solution
Exploring Operation: 42*95=3990, Resulting Numbers: [3990]
3990,94 unequal: No Solution
Exploring Operation: 95-42=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[15, 38], Operations: ['24-9=15', '80-42=38']
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 15*38=570, Resulting Numbers: [570]
570,94 unequal: No Solution
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[42, 65], Operations: ['24-9=15', '80-15=65']
Exploring Operation: 42+65=107, Resulting Numbers: [107]
107,94 unequal: No Solution
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 42*65=2730, Resulting Numbers: [2730]
2730,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[80, 57], Operations: ['24-9=15', '42+15=57']
Exploring Operation: 80-57=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 80*57=4560, Resulting Numbers: [4560]
4560,94 unequal: No Solution
Exploring Operation: 80+57=137, Resulting Numbers: [137]
137,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
63,
2,
65,
98
] | 28 | [
"63-2=61",
"98-65=33",
"61-33=28"
] | Current State: 28:[63, 2, 65, 98], Operations: []
Exploring Operation: 63-2=61, Resulting Numbers: [65, 98, 61]
Generated Node #2: [65, 98, 61] from Operation: 63-2=61
Current State: 28:[65, 98, 61], Operations: ['63-2=61']
Exploring Operation: 98-65=33, Resulting Numbers: [61, 33]
Generated Node #3: [61, 33] from Operation: 98-65=33
Current State: 28:[61, 33], Operations: ['63-2=61', '98-65=33']
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[63, 2, 65, 98], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [63, 2, 33]
Generated Node #0,0: 28:[63, 2, 33] Operation: 98-65=33
Moving to Node #0,0
Current State: 28:[63, 2, 33], Operations: ['98-65=33']
Exploring Operation: 63-33=30, Resulting Numbers: [2, 30]
Generated Node #0,0,0: 28:[2, 30] Operation: 63-33=30
Moving to Node #0,0,0
Current State: 28:[2, 30], Operations: ['98-65=33', '63-33=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[63, 2, 65, 98], Operations: []
Exploring Operation: 98-65=33, Resulting Numbers: [63, 2, 33]
Generated Node #0,0: 28:[63, 2, 33] Operation: 98-65=33
Moving to Node #0,0
Current State: 28:[63, 2, 33], Operations: ['98-65=33']
Exploring Operation: 63-33=30, Resulting Numbers: [2, 30]
Generated Node #0,0,0: 28:[2, 30] Operation: 63-33=30
Moving to Node #0,0,0
Current State: 28:[2, 30], Operations: ['98-65=33', '63-33=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
87,
65,
85,
32
] | 95 | [
"87-65=22",
"85+32=117",
"117-22=95"
] | Current State: 95:[87, 65, 85, 32], Operations: []
Exploring Operation: 87-65=22, Resulting Numbers: [85, 32, 22]
Generated Node #2: [85, 32, 22] from Operation: 87-65=22
Current State: 95:[85, 32, 22], Operations: ['87-65=22']
Exploring Operation: 85+32=117, Resulting Numbers: [22, 117]
Generated Node #3: [22, 117] from Operation: 85+32=117
Current State: 95:[22, 117], Operations: ['87-65=22', '85+32=117']
Exploring Operation: 117-22=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[87, 65, 85, 32], Operations: []
Exploring Operation: 85-65=20, Resulting Numbers: [87, 32, 20]
Generated Node #0,0: 95:[87, 32, 20] Operation: 85-65=20
Exploring Operation: 65+32=97, Resulting Numbers: [87, 85, 97]
Generated Node #0,1: 95:[87, 85, 97] Operation: 65+32=97
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[87, 85, 97], Operations: ['65+32=97']
Exploring Operation: 87-85=2, Resulting Numbers: [97, 2]
Generated Node #0,1,0: 95:[97, 2] Operation: 87-85=2
Exploring Operation: 97-87=10, Resulting Numbers: [85, 10]
Generated Node #0,1,1: 95:[85, 10] Operation: 97-87=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[97, 2], Operations: ['65+32=97', '87-85=2']
Exploring Operation: 97+2=99, Resulting Numbers: [99]
99,95 unequal: No Solution
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[87, 65, 85, 32], Operations: []
Exploring Operation: 65+32=97, Resulting Numbers: [87, 85, 97]
Generated Node #0,1: 95:[87, 85, 97] Operation: 65+32=97
Moving to Node #0,1
Current State: 95:[87, 85, 97], Operations: ['65+32=97']
Exploring Operation: 87-85=2, Resulting Numbers: [97, 2]
Generated Node #0,1,0: 95:[97, 2] Operation: 87-85=2
Moving to Node #0,1,0
Current State: 95:[97, 2], Operations: ['65+32=97', '87-85=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
27,
20,
2,
28
] | 19 | [
"27-20=7",
"28-2=26",
"26-7=19"
] | Current State: 19:[27, 20, 2, 28], Operations: []
Exploring Operation: 27-20=7, Resulting Numbers: [2, 28, 7]
Generated Node #2: [2, 28, 7] from Operation: 27-20=7
Current State: 19:[2, 28, 7], Operations: ['27-20=7']
Exploring Operation: 28-2=26, Resulting Numbers: [7, 26]
Generated Node #3: [7, 26] from Operation: 28-2=26
Current State: 19:[7, 26], Operations: ['27-20=7', '28-2=26']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[27, 20, 2, 28], Operations: []
Exploring Operation: 27-2=25, Resulting Numbers: [20, 28, 25]
Generated Node #0,0: 19:[20, 28, 25] Operation: 27-2=25
Exploring Operation: 20-2=18, Resulting Numbers: [27, 28, 18]
Generated Node #0,1: 19:[27, 28, 18] Operation: 20-2=18
Exploring Operation: 28-2=26, Resulting Numbers: [27, 20, 26]
Generated Node #0,2: 19:[27, 20, 26] Operation: 28-2=26
Exploring Operation: 28/2=14, Resulting Numbers: [27, 20, 14]
Generated Node #0,3: 19:[27, 20, 14] Operation: 28/2=14
Moving to Node #0,3
Current State: 19:[27, 20, 14], Operations: ['28/2=14']
Exploring Operation: 20-14=6, Resulting Numbers: [27, 6]
Generated Node #0,3,0: 19:[27, 6] Operation: 20-14=6
Exploring Operation: 27+14=41, Resulting Numbers: [20, 41]
Generated Node #0,3,1: 19:[20, 41] Operation: 27+14=41
Exploring Operation: 27-14=13, Resulting Numbers: [20, 13]
Generated Node #0,3,2: 19:[20, 13] Operation: 27-14=13
Exploring Operation: 27-20=7, Resulting Numbers: [14, 7]
Generated Node #0,3,3: 19:[14, 7] Operation: 27-20=7
Moving to Node #0,2
Current State: 19:[27, 20, 26], Operations: ['28-2=26']
Exploring Operation: 27-26=1, Resulting Numbers: [20, 1]
Generated Node #0,2,0: 19:[20, 1] Operation: 27-26=1
Exploring Operation: 27-20=7, Resulting Numbers: [26, 7]
Generated Node #0,2,1: 19:[26, 7] Operation: 27-20=7
Exploring Operation: 27+20=47, Resulting Numbers: [26, 47]
Generated Node #0,2,2: 19:[26, 47] Operation: 27+20=47
Exploring Operation: 26-20=6, Resulting Numbers: [27, 6]
Generated Node #0,2,3: 19:[27, 6] Operation: 26-20=6
Moving to Node #0,0
Current State: 19:[20, 28, 25], Operations: ['27-2=25']
Exploring Operation: 25-20=5, Resulting Numbers: [28, 5]
Generated Node #0,0,0: 19:[28, 5] Operation: 25-20=5
Exploring Operation: 28-25=3, Resulting Numbers: [20, 3]
Generated Node #0,0,1: 19:[20, 3] Operation: 28-25=3
Exploring Operation: 28-20=8, Resulting Numbers: [25, 8]
Generated Node #0,0,2: 19:[25, 8] Operation: 28-20=8
Exploring Operation: 20+28=48, Resulting Numbers: [25, 48]
Generated Node #0,0,3: 19:[25, 48] Operation: 20+28=48
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[20, 3], Operations: ['27-2=25', '28-25=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[25, 8], Operations: ['27-2=25', '28-20=8']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,19 unequal: No Solution
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[28, 5], Operations: ['27-2=25', '25-20=5']
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,19 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 19:[25, 48], Operations: ['27-2=25', '20+28=48']
Exploring Operation: 25+48=73, Resulting Numbers: [73]
73,19 unequal: No Solution
Exploring Operation: 25*48=1200, Resulting Numbers: [1200]
1200,19 unequal: No Solution
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 19:[27, 28, 18], Operations: ['20-2=18']
Exploring Operation: 27+18=45, Resulting Numbers: [28, 45]
Generated Node #0,1,0: 19:[28, 45] Operation: 27+18=45
Exploring Operation: 27-18=9, Resulting Numbers: [28, 9]
Generated Node #0,1,1: 19:[28, 9] Operation: 27-18=9
Exploring Operation: 28-18=10, Resulting Numbers: [27, 10]
Generated Node #0,1,2: 19:[27, 10] Operation: 28-18=10
Exploring Operation: 28-27=1, Resulting Numbers: [18, 1]
Generated Node #0,1,3: 19:[18, 1] Operation: 28-27=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[27, 10], Operations: ['20-2=18', '28-18=10']
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,19 unequal: No Solution
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,19 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[28, 9], Operations: ['20-2=18', '27-18=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[27, 20, 2, 28], Operations: []
Exploring Operation: 20-2=18, Resulting Numbers: [27, 28, 18]
Generated Node #0,1: 19:[27, 28, 18] Operation: 20-2=18
Moving to Node #0,1
Current State: 19:[27, 28, 18], Operations: ['20-2=18']
Exploring Operation: 27-18=9, Resulting Numbers: [28, 9]
Generated Node #0,1,1: 19:[28, 9] Operation: 27-18=9
Moving to Node #0,1,1
Current State: 19:[28, 9], Operations: ['20-2=18', '27-18=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_4 | sum_heuristic |
[
75,
19,
42,
99
] | 25 | [
"75*19=1425",
"99-42=57",
"1425/57=25"
] | Current State: 25:[75, 19, 42, 99], Operations: []
Exploring Operation: 75*19=1425, Resulting Numbers: [42, 99, 1425]
Generated Node #2: [42, 99, 1425] from Operation: 75*19=1425
Current State: 25:[42, 99, 1425], Operations: ['75*19=1425']
Exploring Operation: 99-42=57, Resulting Numbers: [1425, 57]
Generated Node #3: [1425, 57] from Operation: 99-42=57
Current State: 25:[1425, 57], Operations: ['75*19=1425', '99-42=57']
Exploring Operation: 1425/57=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[75, 19, 42, 99], Operations: []
Exploring Operation: 75-42=33, Resulting Numbers: [19, 99, 33]
Generated Node #0,0: 25:[19, 99, 33] Operation: 75-42=33
Exploring Operation: 75-19=56, Resulting Numbers: [42, 99, 56]
Generated Node #0,1: 25:[42, 99, 56] Operation: 75-19=56
Exploring Operation: 99-75=24, Resulting Numbers: [19, 42, 24]
Generated Node #0,2: 25:[19, 42, 24] Operation: 99-75=24
Exploring Operation: 99-42=57, Resulting Numbers: [75, 19, 57]
Generated Node #0,3: 25:[75, 19, 57] Operation: 99-42=57
Exploring Operation: 99-19=80, Resulting Numbers: [75, 42, 80]
Generated Node #0,4: 25:[75, 42, 80] Operation: 99-19=80
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[19, 42, 24], Operations: ['99-75=24']
Exploring Operation: 42-19=23, Resulting Numbers: [24, 23]
Generated Node #0,2,0: 25:[24, 23] Operation: 42-19=23
Exploring Operation: 24-19=5, Resulting Numbers: [42, 5]
Generated Node #0,2,1: 25:[42, 5] Operation: 24-19=5
Exploring Operation: 19+24=43, Resulting Numbers: [42, 43]
Generated Node #0,2,2: 25:[42, 43] Operation: 19+24=43
Exploring Operation: 19+42=61, Resulting Numbers: [24, 61]
Generated Node #0,2,3: 25:[24, 61] Operation: 19+42=61
Exploring Operation: 42-24=18, Resulting Numbers: [19, 18]
Generated Node #0,2,4: 25:[19, 18] Operation: 42-24=18
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 25:[24, 23], Operations: ['99-75=24', '42-19=23']
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 24*23=552, Resulting Numbers: [552]
552,25 unequal: No Solution
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,25 unequal: No Solution
No 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: 25:[19, 18], Operations: ['99-75=24', '42-24=18']
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,25 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,25 unequal: No Solution
No 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: 25:[42, 5], Operations: ['99-75=24', '24-19=5']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,25 unequal: No Solution
Exploring Operation: 42+5=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 42*5=210, Resulting Numbers: [210]
210,25 unequal: No Solution
No 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: 25:[42, 43], Operations: ['99-75=24', '19+24=43']
Exploring Operation: 42*43=1806, Resulting Numbers: [1806]
1806,25 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 42+43=85, Resulting Numbers: [85]
85,25 unequal: No Solution
No 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: 25:[24, 61], Operations: ['99-75=24', '19+42=61']
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,25 unequal: No Solution
Exploring Operation: 24*61=1464, Resulting Numbers: [1464]
1464,25 unequal: No Solution
Exploring Operation: 24+61=85, Resulting Numbers: [85]
85,25 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: 25:[19, 99, 33], Operations: ['75-42=33']
Exploring Operation: 19+99=118, Resulting Numbers: [33, 118]
Generated Node #0,0,0: 25:[33, 118] Operation: 19+99=118
Exploring Operation: 99-19=80, Resulting Numbers: [33, 80]
Generated Node #0,0,1: 25:[33, 80] Operation: 99-19=80
Exploring Operation: 33-19=14, Resulting Numbers: [99, 14]
Generated Node #0,0,2: 25:[99, 14] Operation: 33-19=14
Exploring Operation: 99/33=3, Resulting Numbers: [19, 3]
Generated Node #0,0,3: 25:[19, 3] Operation: 99/33=3
Exploring Operation: 99-33=66, Resulting Numbers: [19, 66]
Generated Node #0,0,4: 25:[19, 66] Operation: 99-33=66
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 25:[19, 3], Operations: ['75-42=33', '99/33=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,25 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,25 unequal: No Solution
No 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: 25:[19, 66], Operations: ['75-42=33', '99-33=66']
Exploring Operation: 19+66=85, Resulting Numbers: [85]
85,25 unequal: No Solution
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 19*66=1254, Resulting Numbers: [1254]
1254,25 unequal: No Solution
No 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: 25:[33, 80], Operations: ['75-42=33', '99-19=80']
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 33*80=2640, Resulting Numbers: [2640]
2640,25 unequal: No Solution
Exploring Operation: 33+80=113, Resulting Numbers: [113]
113,25 unequal: No Solution
No 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: 25:[99, 14], Operations: ['75-42=33', '33-19=14']
Exploring Operation: 99*14=1386, Resulting Numbers: [1386]
1386,25 unequal: No Solution
Exploring Operation: 99-14=85, Resulting Numbers: [85]
85,25 unequal: No Solution
Exploring Operation: 99+14=113, Resulting Numbers: [113]
113,25 unequal: No Solution
No 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: 25:[33, 118], Operations: ['75-42=33', '19+99=118']
Exploring Operation: 33*118=3894, Resulting Numbers: [3894]
3894,25 unequal: No Solution
Exploring Operation: 118-33=85, Resulting Numbers: [85]
85,25 unequal: No Solution
Exploring Operation: 33+118=151, Resulting Numbers: [151]
151,25 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: 25:[75, 19, 57], Operations: ['99-42=57']
Exploring Operation: 75-19=56, Resulting Numbers: [57, 56]
Generated Node #0,3,0: 25:[57, 56] Operation: 75-19=56
Exploring Operation: 75-57=18, Resulting Numbers: [19, 18]
Generated Node #0,3,1: 25:[19, 18] Operation: 75-57=18
Exploring Operation: 75+19=94, Resulting Numbers: [57, 94]
Generated Node #0,3,2: 25:[57, 94] Operation: 75+19=94
Exploring Operation: 57/19=3, Resulting Numbers: [75, 3]
Generated Node #0,3,3: 25:[75, 3] Operation: 57/19=3
Exploring Operation: 57-19=38, Resulting Numbers: [75, 38]
Generated Node #0,3,4: 25:[75, 38] Operation: 57-19=38
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 25:[19, 18], Operations: ['99-42=57', '75-57=18']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,25 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,25 unequal: No Solution
No 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: 25:[75, 3], Operations: ['99-42=57', '57/19=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 75*3=225, Resulting Numbers: [225]
225,25 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[75, 19, 42, 99], Operations: []
Exploring Operation: 99-42=57, Resulting Numbers: [75, 19, 57]
Generated Node #0,3: 25:[75, 19, 57] Operation: 99-42=57
Moving to Node #0,3
Current State: 25:[75, 19, 57], Operations: ['99-42=57']
Exploring Operation: 57/19=3, Resulting Numbers: [75, 3]
Generated Node #0,3,3: 25:[75, 3] Operation: 57/19=3
Moving to Node #0,3,3
Current State: 25:[75, 3], Operations: ['99-42=57', '57/19=3']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.947049 | hs_5 | sum_heuristic |
[
97,
31,
96,
76
] | 57 | [
"97+31=128",
"96*76=7296",
"7296/128=57"
] | Current State: 57:[97, 31, 96, 76], Operations: []
Exploring Operation: 97+31=128, Resulting Numbers: [96, 76, 128]
Generated Node #2: [96, 76, 128] from Operation: 97+31=128
Current State: 57:[96, 76, 128], Operations: ['97+31=128']
Exploring Operation: 96*76=7296, Resulting Numbers: [128, 7296]
Generated Node #3: [128, 7296] from Operation: 96*76=7296
Current State: 57:[128, 7296], Operations: ['97+31=128', '96*76=7296']
Exploring Operation: 7296/128=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[97, 31, 96, 76], Operations: []
Exploring Operation: 97-96=1, Resulting Numbers: [31, 76, 1]
Generated Node #0,0: 57:[31, 76, 1] Operation: 97-96=1
Exploring Operation: 97-76=21, Resulting Numbers: [31, 96, 21]
Generated Node #0,1: 57:[31, 96, 21] Operation: 97-76=21
Exploring Operation: 96-76=20, Resulting Numbers: [97, 31, 20]
Generated Node #0,2: 57:[97, 31, 20] Operation: 96-76=20
Exploring Operation: 97-31=66, Resulting Numbers: [96, 76, 66]
Generated Node #0,3: 57:[96, 76, 66] Operation: 97-31=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[31, 76, 1], Operations: ['97-96=1']
Exploring Operation: 31-1=30, Resulting Numbers: [76, 30]
Generated Node #0,0,0: 57:[76, 30] Operation: 31-1=30
Exploring Operation: 76-1=75, Resulting Numbers: [31, 75]
Generated Node #0,0,1: 57:[31, 75] Operation: 76-1=75
Exploring Operation: 76-31=45, Resulting Numbers: [1, 45]
Generated Node #0,0,2: 57:[1, 45] Operation: 76-31=45
Exploring Operation: 31*1=31, Resulting Numbers: [76, 31]
Generated Node #0,0,3: 57:[76, 31] Operation: 31*1=31
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 57:[1, 45], Operations: ['97-96=1', '76-31=45']
Exploring Operation: 1*45=45, Resulting Numbers: [45]
45,57 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,57 unequal: No Solution
Exploring Operation: 1+45=46, Resulting Numbers: [46]
46,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[76, 30], Operations: ['97-96=1', '31-1=30']
Exploring Operation: 76*30=2280, Resulting Numbers: [2280]
2280,57 unequal: No Solution
Exploring Operation: 76+30=106, Resulting Numbers: [106]
106,57 unequal: No Solution
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[31, 75], Operations: ['97-96=1', '76-1=75']
Exploring Operation: 31*75=2325, Resulting Numbers: [2325]
2325,57 unequal: No Solution
Exploring Operation: 75-31=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 31+75=106, Resulting Numbers: [106]
106,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 57:[76, 31], Operations: ['97-96=1', '31*1=31']
Exploring Operation: 76+31=107, Resulting Numbers: [107]
107,57 unequal: No Solution
Exploring Operation: 76*31=2356, Resulting Numbers: [2356]
2356,57 unequal: No Solution
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[31, 96, 21], Operations: ['97-76=21']
Exploring Operation: 96-21=75, Resulting Numbers: [31, 75]
Generated Node #0,1,0: 57:[31, 75] Operation: 96-21=75
Exploring Operation: 31+21=52, Resulting Numbers: [96, 52]
Generated Node #0,1,1: 57:[96, 52] Operation: 31+21=52
Exploring Operation: 96-31=65, Resulting Numbers: [21, 65]
Generated Node #0,1,2: 57:[21, 65] Operation: 96-31=65
Exploring Operation: 31-21=10, Resulting Numbers: [96, 10]
Generated Node #0,1,3: 57:[96, 10] Operation: 31-21=10
Moving to Node #0,1,2
Current State: 57:[21, 65], Operations: ['97-76=21', '96-31=65']
Exploring Operation: 21+65=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 21*65=1365, Resulting Numbers: [1365]
1365,57 unequal: No Solution
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[31, 75], Operations: ['97-76=21', '96-21=75']
Exploring Operation: 75-31=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 31*75=2325, Resulting Numbers: [2325]
2325,57 unequal: No Solution
Exploring Operation: 31+75=106, Resulting Numbers: [106]
106,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[96, 52], Operations: ['97-76=21', '31+21=52']
Exploring Operation: 96-52=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 96+52=148, Resulting Numbers: [148]
148,57 unequal: No Solution
Exploring Operation: 96*52=4992, Resulting Numbers: [4992]
4992,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[96, 10], Operations: ['97-76=21', '31-21=10']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 96*10=960, Resulting Numbers: [960]
960,57 unequal: No Solution
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[97, 31, 20], Operations: ['96-76=20']
Exploring Operation: 97-20=77, Resulting Numbers: [31, 77]
Generated Node #0,2,0: 57:[31, 77] Operation: 97-20=77
Exploring Operation: 31-20=11, Resulting Numbers: [97, 11]
Generated Node #0,2,1: 57:[97, 11] Operation: 31-20=11
Exploring Operation: 31+20=51, Resulting Numbers: [97, 51]
Generated Node #0,2,2: 57:[97, 51] Operation: 31+20=51
Exploring Operation: 97-31=66, Resulting Numbers: [20, 66]
Generated Node #0,2,3: 57:[20, 66] Operation: 97-31=66
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 57:[20, 66], Operations: ['96-76=20', '97-31=66']
Exploring Operation: 20*66=1320, Resulting Numbers: [1320]
1320,57 unequal: No Solution
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,57 unequal: No Solution
Exploring Operation: 20+66=86, Resulting Numbers: [86]
86,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 57:[31, 77], Operations: ['96-76=20', '97-20=77']
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,57 unequal: No Solution
Exploring Operation: 31+77=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Exploring Operation: 31*77=2387, Resulting Numbers: [2387]
2387,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 57:[97, 51], Operations: ['96-76=20', '31+20=51']
Exploring Operation: 97-51=46, Resulting Numbers: [46]
46,57 unequal: No Solution
Exploring Operation: 97+51=148, Resulting Numbers: [148]
148,57 unequal: No Solution
Exploring Operation: 97*51=4947, Resulting Numbers: [4947]
4947,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 57:[97, 11], Operations: ['96-76=20', '31-20=11']
Exploring Operation: 97*11=1067, Resulting Numbers: [1067]
1067,57 unequal: No Solution
Exploring Operation: 97+11=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Exploring Operation: 97-11=86, Resulting Numbers: [86]
86,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[96, 76, 66], Operations: ['97-31=66']
Exploring Operation: 76-66=10, Resulting Numbers: [96, 10]
Generated Node #0,3,0: 57:[96, 10] Operation: 76-66=10
Exploring Operation: 96-66=30, Resulting Numbers: [76, 30]
Generated Node #0,3,1: 57:[76, 30] Operation: 96-66=30
Exploring Operation: 96+76=172, Resulting Numbers: [66, 172]
Generated Node #0,3,2: 57:[66, 172] Operation: 96+76=172
Exploring Operation: 96-76=20, Resulting Numbers: [66, 20]
Generated Node #0,3,3: 57:[66, 20] Operation: 96-76=20
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 57:[66, 20], Operations: ['97-31=66', '96-76=20']
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,57 unequal: No Solution
Exploring Operation: 66*20=1320, Resulting Numbers: [1320]
1320,57 unequal: No Solution
Exploring Operation: 66+20=86, Resulting Numbers: [86]
86,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 57:[76, 30], Operations: ['97-31=66', '96-66=30']
Exploring Operation: 76+30=106, Resulting Numbers: [106]
106,57 unequal: No Solution
Exploring Operation: 76*30=2280, Resulting Numbers: [2280]
2280,57 unequal: No Solution
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 57:[96, 10], Operations: ['97-31=66', '76-66=10']
Exploring Operation: 96*10=960, Resulting Numbers: [960]
960,57 unequal: No Solution
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,57 unequal: No Solution
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 57:[66, 172], Operations: ['97-31=66', '96+76=172']
Exploring Operation: 172-66=106, Resulting Numbers: [106]
106,57 unequal: No Solution
Exploring Operation: 66*172=11352, Resulting Numbers: [11352]
11352,57 unequal: No Solution
Exploring Operation: 66+172=238, Resulting Numbers: [238]
238,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
17,
77,
54,
79
] | 85 | [
"77-17=60",
"79-54=25",
"60+25=85"
] | Current State: 85:[17, 77, 54, 79], Operations: []
Exploring Operation: 77-17=60, Resulting Numbers: [54, 79, 60]
Generated Node #2: [54, 79, 60] from Operation: 77-17=60
Current State: 85:[54, 79, 60], Operations: ['77-17=60']
Exploring Operation: 79-54=25, Resulting Numbers: [60, 25]
Generated Node #3: [60, 25] from Operation: 79-54=25
Current State: 85:[60, 25], Operations: ['77-17=60', '79-54=25']
Exploring Operation: 60+25=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[17, 77, 54, 79], Operations: []
Exploring Operation: 17+54=71, Resulting Numbers: [77, 79, 71]
Generated Node #0,0: 85:[77, 79, 71] Operation: 17+54=71
Exploring Operation: 77-54=23, Resulting Numbers: [17, 79, 23]
Generated Node #0,1: 85:[17, 79, 23] Operation: 77-54=23
Exploring Operation: 79-77=2, Resulting Numbers: [17, 54, 2]
Generated Node #0,2: 85:[17, 54, 2] Operation: 79-77=2
Exploring Operation: 79-54=25, Resulting Numbers: [17, 77, 25]
Generated Node #0,3: 85:[17, 77, 25] Operation: 79-54=25
Exploring Operation: 54-17=37, Resulting Numbers: [77, 79, 37]
Generated Node #0,4: 85:[77, 79, 37] Operation: 54-17=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[17, 79, 23], Operations: ['77-54=23']
Exploring Operation: 79-17=62, Resulting Numbers: [23, 62]
Generated Node #0,1,0: 85:[23, 62] Operation: 79-17=62
Exploring Operation: 79+23=102, Resulting Numbers: [17, 102]
Generated Node #0,1,1: 85:[17, 102] Operation: 79+23=102
Exploring Operation: 17+79=96, Resulting Numbers: [23, 96]
Generated Node #0,1,2: 85:[23, 96] Operation: 17+79=96
Exploring Operation: 17+23=40, Resulting Numbers: [79, 40]
Generated Node #0,1,3: 85:[79, 40] Operation: 17+23=40
Exploring Operation: 23-17=6, Resulting Numbers: [79, 6]
Generated Node #0,1,4: 85:[79, 6] Operation: 23-17=6
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 85:[79, 6], Operations: ['77-54=23', '23-17=6']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,85 unequal: No Solution
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[17, 77, 54, 79], Operations: []
Exploring Operation: 77-54=23, Resulting Numbers: [17, 79, 23]
Generated Node #0,1: 85:[17, 79, 23] Operation: 77-54=23
Moving to Node #0,1
Current State: 85:[17, 79, 23], Operations: ['77-54=23']
Exploring Operation: 23-17=6, Resulting Numbers: [79, 6]
Generated Node #0,1,4: 85:[79, 6] Operation: 23-17=6
Moving to Node #0,1,4
Current State: 85:[79, 6], Operations: ['77-54=23', '23-17=6']
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
50,
12,
75,
51
] | 26 | [
"51-12=39",
"50*39=1950",
"1950/75=26"
] | Current State: 26:[50, 12, 75, 51], Operations: []
Exploring Operation: 51-12=39, Resulting Numbers: [50, 75, 39]
Generated Node #2: [50, 75, 39] from Operation: 51-12=39
Current State: 26:[50, 75, 39], Operations: ['51-12=39']
Exploring Operation: 50*39=1950, Resulting Numbers: [75, 1950]
Generated Node #3: [75, 1950] from Operation: 50*39=1950
Current State: 26:[75, 1950], Operations: ['51-12=39', '50*39=1950']
Exploring Operation: 1950/75=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[50, 12, 75, 51], Operations: []
Exploring Operation: 75-50=25, Resulting Numbers: [12, 51, 25]
Generated Node #0,0: 26:[12, 51, 25] Operation: 75-50=25
Exploring Operation: 75-51=24, Resulting Numbers: [50, 12, 24]
Generated Node #0,1: 26:[50, 12, 24] Operation: 75-51=24
Moving to Node #0,0
Current State: 26:[12, 51, 25], Operations: ['75-50=25']
Exploring Operation: 51-25=26, Resulting Numbers: [12, 26]
Generated Node #0,0,0: 26:[12, 26] Operation: 51-25=26
Exploring Operation: 51-12=39, Resulting Numbers: [25, 39]
Generated Node #0,0,1: 26:[25, 39] Operation: 51-12=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[12, 26], Operations: ['75-50=25', '51-25=26']
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,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:[25, 39], Operations: ['75-50=25', '51-12=39']
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 25+39=64, Resulting Numbers: [64]
64,26 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: 26:[50, 12, 24], Operations: ['75-51=24']
Exploring Operation: 50-12=38, Resulting Numbers: [24, 38]
Generated Node #0,1,0: 26:[24, 38] Operation: 50-12=38
Exploring Operation: 50-24=26, Resulting Numbers: [12, 26]
Generated Node #0,1,1: 26:[12, 26] Operation: 50-24=26
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[12, 26], Operations: ['75-51=24', '50-24=26']
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,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:[24, 38], Operations: ['75-51=24', '50-12=38']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 24+38=62, Resulting Numbers: [62]
62,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
22,
90,
80,
66
] | 78 | [
"90-22=68",
"80+66=146",
"146-68=78"
] | Current State: 78:[22, 90, 80, 66], Operations: []
Exploring Operation: 90-22=68, Resulting Numbers: [80, 66, 68]
Generated Node #2: [80, 66, 68] from Operation: 90-22=68
Current State: 78:[80, 66, 68], Operations: ['90-22=68']
Exploring Operation: 80+66=146, Resulting Numbers: [68, 146]
Generated Node #3: [68, 146] from Operation: 80+66=146
Current State: 78:[68, 146], Operations: ['90-22=68', '80+66=146']
Exploring Operation: 146-68=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[22, 90, 80, 66], Operations: []
Exploring Operation: 90-66=24, Resulting Numbers: [22, 80, 24]
Generated Node #0,0: 78:[22, 80, 24] Operation: 90-66=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[22, 80, 24], Operations: ['90-66=24']
Exploring Operation: 24-22=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 78:[80, 2] Operation: 24-22=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[80, 2], Operations: ['90-66=24', '24-22=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[22, 90, 80, 66], Operations: []
Exploring Operation: 90-66=24, Resulting Numbers: [22, 80, 24]
Generated Node #0,0: 78:[22, 80, 24] Operation: 90-66=24
Moving to Node #0,0
Current State: 78:[22, 80, 24], Operations: ['90-66=24']
Exploring Operation: 24-22=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 78:[80, 2] Operation: 24-22=2
Moving to Node #0,0,0
Current State: 78:[80, 2], Operations: ['90-66=24', '24-22=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
46,
32,
52,
59
] | 36 | [
"59-46=13",
"52/13=4",
"32+4=36"
] | Current State: 36:[46, 32, 52, 59], Operations: []
Exploring Operation: 59-46=13, Resulting Numbers: [32, 52, 13]
Generated Node #2: [32, 52, 13] from Operation: 59-46=13
Current State: 36:[32, 52, 13], Operations: ['59-46=13']
Exploring Operation: 52/13=4, Resulting Numbers: [32, 4]
Generated Node #3: [32, 4] from Operation: 52/13=4
Current State: 36:[32, 4], Operations: ['59-46=13', '52/13=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[46, 32, 52, 59], Operations: []
Exploring Operation: 59-52=7, Resulting Numbers: [46, 32, 7]
Generated Node #0,0: 36:[46, 32, 7] Operation: 59-52=7
Exploring Operation: 59-46=13, Resulting Numbers: [32, 52, 13]
Generated Node #0,1: 36:[32, 52, 13] Operation: 59-46=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[46, 32, 7], Operations: ['59-52=7']
Exploring Operation: 46-7=39, Resulting Numbers: [32, 39]
Generated Node #0,0,0: 36:[32, 39] Operation: 46-7=39
Exploring Operation: 46-32=14, Resulting Numbers: [7, 14]
Generated Node #0,0,1: 36:[7, 14] Operation: 46-32=14
Moving to Node #0,0,1
Current State: 36:[7, 14], Operations: ['59-52=7', '46-32=14']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[32, 39], Operations: ['59-52=7', '46-7=39']
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,36 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,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,1
Current State: 36:[32, 52, 13], Operations: ['59-46=13']
Exploring Operation: 52-32=20, Resulting Numbers: [13, 20]
Generated Node #0,1,0: 36:[13, 20] Operation: 52-32=20
Exploring Operation: 52/13=4, Resulting Numbers: [32, 4]
Generated Node #0,1,1: 36:[32, 4] Operation: 52/13=4
Moving to Node #0,1,0
Current State: 36:[13, 20], Operations: ['59-46=13', '52-32=20']
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[32, 4], Operations: ['59-46=13', '52/13=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[46, 32, 52, 59], Operations: []
Exploring Operation: 59-46=13, Resulting Numbers: [32, 52, 13]
Generated Node #0,1: 36:[32, 52, 13] Operation: 59-46=13
Moving to Node #0,1
Current State: 36:[32, 52, 13], Operations: ['59-46=13']
Exploring Operation: 52/13=4, Resulting Numbers: [32, 4]
Generated Node #0,1,1: 36:[32, 4] Operation: 52/13=4
Moving to Node #0,1,1
Current State: 36:[32, 4], Operations: ['59-46=13', '52/13=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
69,
30,
19,
38
] | 80 | [
"69+30=99",
"38-19=19",
"99-19=80"
] | Current State: 80:[69, 30, 19, 38], Operations: []
Exploring Operation: 69+30=99, Resulting Numbers: [19, 38, 99]
Generated Node #2: [19, 38, 99] from Operation: 69+30=99
Current State: 80:[19, 38, 99], Operations: ['69+30=99']
Exploring Operation: 38-19=19, Resulting Numbers: [99, 19]
Generated Node #3: [99, 19] from Operation: 38-19=19
Current State: 80:[99, 19], Operations: ['69+30=99', '38-19=19']
Exploring Operation: 99-19=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[69, 30, 19, 38], Operations: []
Exploring Operation: 38-30=8, Resulting Numbers: [69, 19, 8]
Generated Node #0,0: 80:[69, 19, 8] Operation: 38-30=8
Exploring Operation: 69+19=88, Resulting Numbers: [30, 38, 88]
Generated Node #0,1: 80:[30, 38, 88] Operation: 69+19=88
Exploring Operation: 30-19=11, Resulting Numbers: [69, 38, 11]
Generated Node #0,2: 80:[69, 38, 11] Operation: 30-19=11
Exploring Operation: 69-38=31, Resulting Numbers: [30, 19, 31]
Generated Node #0,3: 80:[30, 19, 31] Operation: 69-38=31
Exploring Operation: 69-30=39, Resulting Numbers: [19, 38, 39]
Generated Node #0,4: 80:[19, 38, 39] Operation: 69-30=39
Moving to Node #0,4
Current State: 80:[19, 38, 39], Operations: ['69-30=39']
Exploring Operation: 38+39=77, Resulting Numbers: [19, 77]
Generated Node #0,4,0: 80:[19, 77] Operation: 38+39=77
Exploring Operation: 38/19=2, Resulting Numbers: [39, 2]
Generated Node #0,4,1: 80:[39, 2] Operation: 38/19=2
Exploring Operation: 39-38=1, Resulting Numbers: [19, 1]
Generated Node #0,4,2: 80:[19, 1] Operation: 39-38=1
Exploring Operation: 38-19=19, Resulting Numbers: [39, 19]
Generated Node #0,4,3: 80:[39, 19] Operation: 38-19=19
Exploring Operation: 39-19=20, Resulting Numbers: [38, 20]
Generated Node #0,4,4: 80:[38, 20] Operation: 39-19=20
Moving to Node #0,0
Current State: 80:[69, 19, 8], Operations: ['38-30=8']
Exploring Operation: 69+19=88, Resulting Numbers: [8, 88]
Generated Node #0,0,0: 80:[8, 88] Operation: 69+19=88
Exploring Operation: 19-8=11, Resulting Numbers: [69, 11]
Generated Node #0,0,1: 80:[69, 11] Operation: 19-8=11
Exploring Operation: 69+8=77, Resulting Numbers: [19, 77]
Generated Node #0,0,2: 80:[19, 77] Operation: 69+8=77
Exploring Operation: 19+8=27, Resulting Numbers: [69, 27]
Generated Node #0,0,3: 80:[69, 27] Operation: 19+8=27
Exploring Operation: 69-19=50, Resulting Numbers: [8, 50]
Generated Node #0,0,4: 80:[8, 50] Operation: 69-19=50
Moving to Node #0,2
Current State: 80:[69, 38, 11], Operations: ['30-19=11']
Exploring Operation: 69-11=58, Resulting Numbers: [38, 58]
Generated Node #0,2,0: 80:[38, 58] Operation: 69-11=58
Exploring Operation: 38+11=49, Resulting Numbers: [69, 49]
Generated Node #0,2,1: 80:[69, 49] Operation: 38+11=49
Exploring Operation: 69+11=80, Resulting Numbers: [38, 80]
Generated Node #0,2,2: 80:[38, 80] Operation: 69+11=80
Exploring Operation: 38-11=27, Resulting Numbers: [69, 27]
Generated Node #0,2,3: 80:[69, 27] Operation: 38-11=27
Exploring Operation: 69-38=31, Resulting Numbers: [11, 31]
Generated Node #0,2,4: 80:[11, 31] Operation: 69-38=31
Moving to Node #0,1
Current State: 80:[30, 38, 88], Operations: ['69+19=88']
Exploring Operation: 30+88=118, Resulting Numbers: [38, 118]
Generated Node #0,1,0: 80:[38, 118] Operation: 30+88=118
Exploring Operation: 38-30=8, Resulting Numbers: [88, 8]
Generated Node #0,1,1: 80:[88, 8] Operation: 38-30=8
Exploring Operation: 88-30=58, Resulting Numbers: [38, 58]
Generated Node #0,1,2: 80:[38, 58] Operation: 88-30=58
Exploring Operation: 30+38=68, Resulting Numbers: [88, 68]
Generated Node #0,1,3: 80:[88, 68] Operation: 30+38=68
Exploring Operation: 88-38=50, Resulting Numbers: [30, 50]
Generated Node #0,1,4: 80:[30, 50] Operation: 88-38=50
Moving to Node #0,3
Current State: 80:[30, 19, 31], Operations: ['69-38=31']
Exploring Operation: 31-30=1, Resulting Numbers: [19, 1]
Generated Node #0,3,0: 80:[19, 1] Operation: 31-30=1
Exploring Operation: 30+19=49, Resulting Numbers: [31, 49]
Generated Node #0,3,1: 80:[31, 49] Operation: 30+19=49
Exploring Operation: 31-19=12, Resulting Numbers: [30, 12]
Generated Node #0,3,2: 80:[30, 12] Operation: 31-19=12
Exploring Operation: 30-19=11, Resulting Numbers: [31, 11]
Generated Node #0,3,3: 80:[31, 11] Operation: 30-19=11
Exploring Operation: 30+31=61, Resulting Numbers: [19, 61]
Generated Node #0,3,4: 80:[19, 61] Operation: 30+31=61
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 80:[19, 1], Operations: ['69-38=31', '31-30=1']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,80 unequal: No Solution
No 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: 80:[31, 11], Operations: ['69-38=31', '30-19=11']
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,80 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,80 unequal: No Solution
No 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: 80:[30, 12], Operations: ['69-38=31', '31-19=12']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,80 unequal: No Solution
No 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: 80:[31, 49], Operations: ['69-38=31', '30+19=49']
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,80 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[69, 30, 19, 38], Operations: []
Exploring Operation: 69-38=31, Resulting Numbers: [30, 19, 31]
Generated Node #0,3: 80:[30, 19, 31] Operation: 69-38=31
Moving to Node #0,3
Current State: 80:[30, 19, 31], Operations: ['69-38=31']
Exploring Operation: 30+19=49, Resulting Numbers: [31, 49]
Generated Node #0,3,1: 80:[31, 49] Operation: 30+19=49
Moving to Node #0,3,1
Current State: 80:[31, 49], Operations: ['69-38=31', '30+19=49']
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_5 | mult_heuristic |
[
91,
93,
89,
96
] | 94 | [
"93+89=182",
"182/91=2",
"96-2=94"
] | Current State: 94:[91, 93, 89, 96], Operations: []
Exploring Operation: 93+89=182, Resulting Numbers: [91, 96, 182]
Generated Node #2: [91, 96, 182] from Operation: 93+89=182
Current State: 94:[91, 96, 182], Operations: ['93+89=182']
Exploring Operation: 182/91=2, Resulting Numbers: [96, 2]
Generated Node #3: [96, 2] from Operation: 182/91=2
Current State: 94:[96, 2], Operations: ['93+89=182', '182/91=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[91, 93, 89, 96], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [93, 96, 2]
Generated Node #0,0: 94:[93, 96, 2] Operation: 91-89=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[93, 96, 2], Operations: ['91-89=2']
Exploring Operation: 96-93=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 94:[2, 3] Operation: 96-93=3
Moving to Node #0,0,0
Current State: 94:[2, 3], Operations: ['91-89=2', '96-93=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,94 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 |
[
12,
30,
69,
71
] | 16 | [
"30-12=18",
"71-69=2",
"18-2=16"
] | Current State: 16:[12, 30, 69, 71], Operations: []
Exploring Operation: 30-12=18, Resulting Numbers: [69, 71, 18]
Generated Node #2: [69, 71, 18] from Operation: 30-12=18
Current State: 16:[69, 71, 18], Operations: ['30-12=18']
Exploring Operation: 71-69=2, Resulting Numbers: [18, 2]
Generated Node #3: [18, 2] from Operation: 71-69=2
Current State: 16:[18, 2], Operations: ['30-12=18', '71-69=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[12, 30, 69, 71], Operations: []
Exploring Operation: 69-30=39, Resulting Numbers: [12, 71, 39]
Generated Node #0,0: 16:[12, 71, 39] Operation: 69-30=39
Exploring Operation: 30-12=18, Resulting Numbers: [69, 71, 18]
Generated Node #0,1: 16:[69, 71, 18] Operation: 30-12=18
Exploring Operation: 71-30=41, Resulting Numbers: [12, 69, 41]
Generated Node #0,2: 16:[12, 69, 41] Operation: 71-30=41
Exploring Operation: 71-69=2, Resulting Numbers: [12, 30, 2]
Generated Node #0,3: 16:[12, 30, 2] Operation: 71-69=2
Moving to Node #0,3
Current State: 16:[12, 30, 2], Operations: ['71-69=2']
Exploring Operation: 12-2=10, Resulting Numbers: [30, 10]
Generated Node #0,3,0: 16:[30, 10] Operation: 12-2=10
Exploring Operation: 12+2=14, Resulting Numbers: [30, 14]
Generated Node #0,3,1: 16:[30, 14] Operation: 12+2=14
Exploring Operation: 30-12=18, Resulting Numbers: [2, 18]
Generated Node #0,3,2: 16:[2, 18] Operation: 30-12=18
Exploring Operation: 30/2=15, Resulting Numbers: [12, 15]
Generated Node #0,3,3: 16:[12, 15] Operation: 30/2=15
Moving to Node #0,2
Current State: 16:[12, 69, 41], Operations: ['71-30=41']
Exploring Operation: 69-41=28, Resulting Numbers: [12, 28]
Generated Node #0,2,0: 16:[12, 28] Operation: 69-41=28
Exploring Operation: 12+69=81, Resulting Numbers: [41, 81]
Generated Node #0,2,1: 16:[41, 81] Operation: 12+69=81
Exploring Operation: 41-12=29, Resulting Numbers: [69, 29]
Generated Node #0,2,2: 16:[69, 29] Operation: 41-12=29
Exploring Operation: 69-12=57, Resulting Numbers: [41, 57]
Generated Node #0,2,3: 16:[41, 57] Operation: 69-12=57
Moving to Node #0,0
Current State: 16:[12, 71, 39], Operations: ['69-30=39']
Exploring Operation: 71-39=32, Resulting Numbers: [12, 32]
Generated Node #0,0,0: 16:[12, 32] Operation: 71-39=32
Exploring Operation: 12+71=83, Resulting Numbers: [39, 83]
Generated Node #0,0,1: 16:[39, 83] Operation: 12+71=83
Exploring Operation: 39-12=27, Resulting Numbers: [71, 27]
Generated Node #0,0,2: 16:[71, 27] Operation: 39-12=27
Exploring Operation: 71-12=59, Resulting Numbers: [39, 59]
Generated Node #0,0,3: 16:[39, 59] Operation: 71-12=59
Moving to Node #0,1
Current State: 16:[69, 71, 18], Operations: ['30-12=18']
Exploring Operation: 69+71=140, Resulting Numbers: [18, 140]
Generated Node #0,1,0: 16:[18, 140] Operation: 69+71=140
Exploring Operation: 71-69=2, Resulting Numbers: [18, 2]
Generated Node #0,1,1: 16:[18, 2] Operation: 71-69=2
Exploring Operation: 69-18=51, Resulting Numbers: [71, 51]
Generated Node #0,1,2: 16:[71, 51] Operation: 69-18=51
Exploring Operation: 71-18=53, Resulting Numbers: [69, 53]
Generated Node #0,1,3: 16:[69, 53] Operation: 71-18=53
Moving to Node #0,3,2
Current State: 16:[2, 18], Operations: ['71-69=2', '30-12=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[12, 30, 69, 71], Operations: []
Exploring Operation: 71-69=2, Resulting Numbers: [12, 30, 2]
Generated Node #0,3: 16:[12, 30, 2] Operation: 71-69=2
Moving to Node #0,3
Current State: 16:[12, 30, 2], Operations: ['71-69=2']
Exploring Operation: 30-12=18, Resulting Numbers: [2, 18]
Generated Node #0,3,2: 16:[2, 18] Operation: 30-12=18
Moving to Node #0,3,2
Current State: 16:[2, 18], Operations: ['71-69=2', '30-12=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.976563 | hs_4 | sum_heuristic |
[
48,
58,
2,
48
] | 36 | [
"58-48=10",
"48-2=46",
"46-10=36"
] | Current State: 36:[48, 58, 2, 48], Operations: []
Exploring Operation: 58-48=10, Resulting Numbers: [2, 10]
Generated Node #2: [2, 10] from Operation: 58-48=10
Current State: 36:[2, 10], Operations: ['58-48=10']
Exploring Operation: 48-2=46, Resulting Numbers: [10, 46]
Generated Node #3: [10, 46] from Operation: 48-2=46
Current State: 36:[10, 46], Operations: ['58-48=10', '48-2=46']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[48, 58, 2, 48], Operations: []
Exploring Operation: 58-48=10, Resulting Numbers: [2, 48, 10]
Generated Node #0,0: 36:[2, 48, 10] Operation: 58-48=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[2, 48, 10], Operations: ['58-48=10']
Exploring Operation: 48-10=38, Resulting Numbers: [2, 38]
Generated Node #0,0,0: 36:[2, 38] Operation: 48-10=38
Moving to Node #0,0,0
Current State: 36:[2, 38], Operations: ['58-48=10', '48-10=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[48, 58, 2, 48], Operations: []
Exploring Operation: 58-48=10, Resulting Numbers: [2, 48, 10]
Generated Node #0,0: 36:[2, 48, 10] Operation: 58-48=10
Moving to Node #0,0
Current State: 36:[2, 48, 10], Operations: ['58-48=10']
Exploring Operation: 48-10=38, Resulting Numbers: [2, 38]
Generated Node #0,0,0: 36:[2, 38] Operation: 48-10=38
Moving to Node #0,0,0
Current State: 36:[2, 38], Operations: ['58-48=10', '48-10=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
90,
7,
70,
68
] | 81 | [
"90-7=83",
"70-68=2",
"83-2=81"
] | Current State: 81:[90, 7, 70, 68], Operations: []
Exploring Operation: 90-7=83, Resulting Numbers: [70, 68, 83]
Generated Node #2: [70, 68, 83] from Operation: 90-7=83
Current State: 81:[70, 68, 83], Operations: ['90-7=83']
Exploring Operation: 70-68=2, Resulting Numbers: [83, 2]
Generated Node #3: [83, 2] from Operation: 70-68=2
Current State: 81:[83, 2], Operations: ['90-7=83', '70-68=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[90, 7, 70, 68], Operations: []
Exploring Operation: 90-70=20, Resulting Numbers: [7, 68, 20]
Generated Node #0,0: 81:[7, 68, 20] Operation: 90-70=20
Exploring Operation: 70-68=2, Resulting Numbers: [90, 7, 2]
Generated Node #0,1: 81:[90, 7, 2] Operation: 70-68=2
Exploring Operation: 90-68=22, Resulting Numbers: [7, 70, 22]
Generated Node #0,2: 81:[7, 70, 22] Operation: 90-68=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[90, 7, 2], Operations: ['70-68=2']
Exploring Operation: 7+2=9, Resulting Numbers: [90, 9]
Generated Node #0,1,0: 81:[90, 9] Operation: 7+2=9
Exploring Operation: 90-7=83, Resulting Numbers: [2, 83]
Generated Node #0,1,1: 81:[2, 83] Operation: 90-7=83
Exploring Operation: 90-2=88, Resulting Numbers: [7, 88]
Generated Node #0,1,2: 81:[7, 88] Operation: 90-2=88
Moving to Node #0,1,1
Current State: 81:[2, 83], Operations: ['70-68=2', '90-7=83']
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,81 unequal: No Solution
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,81 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[90, 7, 70, 68], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [90, 7, 2]
Generated Node #0,1: 81:[90, 7, 2] Operation: 70-68=2
Moving to Node #0,1
Current State: 81:[90, 7, 2], Operations: ['70-68=2']
Exploring Operation: 90-7=83, Resulting Numbers: [2, 83]
Generated Node #0,1,1: 81:[2, 83] Operation: 90-7=83
Moving to Node #0,1,1
Current State: 81:[2, 83], Operations: ['70-68=2', '90-7=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
38,
34,
88,
15
] | 37 | [
"38-34=4",
"88/4=22",
"15+22=37"
] | Current State: 37:[38, 34, 88, 15], Operations: []
Exploring Operation: 38-34=4, Resulting Numbers: [88, 15, 4]
Generated Node #2: [88, 15, 4] from Operation: 38-34=4
Current State: 37:[88, 15, 4], Operations: ['38-34=4']
Exploring Operation: 88/4=22, Resulting Numbers: [15, 22]
Generated Node #3: [15, 22] from Operation: 88/4=22
Current State: 37:[15, 22], Operations: ['38-34=4', '88/4=22']
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[38, 34, 88, 15], Operations: []
Exploring Operation: 88-15=73, Resulting Numbers: [38, 34, 73]
Generated Node #0,0: 37:[38, 34, 73] Operation: 88-15=73
Exploring Operation: 88-34=54, Resulting Numbers: [38, 15, 54]
Generated Node #0,1: 37:[38, 15, 54] Operation: 88-34=54
Exploring Operation: 88-38=50, Resulting Numbers: [34, 15, 50]
Generated Node #0,2: 37:[34, 15, 50] Operation: 88-38=50
Moving to Node #0,2
Current State: 37:[34, 15, 50], Operations: ['88-38=50']
Exploring Operation: 34+15=49, Resulting Numbers: [50, 49]
Generated Node #0,2,0: 37:[50, 49] Operation: 34+15=49
Exploring Operation: 34-15=19, Resulting Numbers: [50, 19]
Generated Node #0,2,1: 37:[50, 19] Operation: 34-15=19
Exploring Operation: 50-15=35, Resulting Numbers: [34, 35]
Generated Node #0,2,2: 37:[34, 35] Operation: 50-15=35
Moving to Node #0,0
Current State: 37:[38, 34, 73], Operations: ['88-15=73']
Exploring Operation: 73-38=35, Resulting Numbers: [34, 35]
Generated Node #0,0,0: 37:[34, 35] Operation: 73-38=35
Exploring Operation: 38-34=4, Resulting Numbers: [73, 4]
Generated Node #0,0,1: 37:[73, 4] Operation: 38-34=4
Exploring Operation: 73-34=39, Resulting Numbers: [38, 39]
Generated Node #0,0,2: 37:[38, 39] Operation: 73-34=39
Moving to Node #0,1
Current State: 37:[38, 15, 54], Operations: ['88-34=54']
Exploring Operation: 38-15=23, Resulting Numbers: [54, 23]
Generated Node #0,1,0: 37:[54, 23] Operation: 38-15=23
Exploring Operation: 54-15=39, Resulting Numbers: [38, 39]
Generated Node #0,1,1: 37:[38, 39] Operation: 54-15=39
Exploring Operation: 38+15=53, Resulting Numbers: [54, 53]
Generated Node #0,1,2: 37:[54, 53] Operation: 38+15=53
Moving to Node #0,0,2
Current State: 37:[38, 39], Operations: ['88-15=73', '73-34=39']
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 38*39=1482, Resulting Numbers: [1482]
1482,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[38, 39], Operations: ['88-34=54', '54-15=39']
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 38*39=1482, Resulting Numbers: [1482]
1482,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[34, 35], Operations: ['88-38=50', '50-15=35']
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[34, 35], Operations: ['88-15=73', '73-38=35']
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,37 unequal: No Solution
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[50, 49], Operations: ['88-38=50', '34+15=49']
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 50+49=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Exploring Operation: 50*49=2450, Resulting Numbers: [2450]
2450,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[50, 19], Operations: ['88-38=50', '34-15=19']
Exploring Operation: 50+19=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Exploring Operation: 50*19=950, Resulting Numbers: [950]
950,37 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[54, 23], Operations: ['88-34=54', '38-15=23']
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[54, 53], Operations: ['88-34=54', '38+15=53']
Exploring Operation: 54+53=107, Resulting Numbers: [107]
107,37 unequal: No Solution
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 54*53=2862, Resulting Numbers: [2862]
2862,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[73, 4], Operations: ['88-15=73', '38-34=4']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,37 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
96,
95,
72,
24
] | 93 | [
"72-24=48",
"96/48=2",
"95-2=93"
] | Current State: 93:[96, 95, 72, 24], Operations: []
Exploring Operation: 72-24=48, Resulting Numbers: [96, 95, 48]
Generated Node #2: [96, 95, 48] from Operation: 72-24=48
Current State: 93:[96, 95, 48], Operations: ['72-24=48']
Exploring Operation: 96/48=2, Resulting Numbers: [95, 2]
Generated Node #3: [95, 2] from Operation: 96/48=2
Current State: 93:[95, 2], Operations: ['72-24=48', '96/48=2']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[96, 95, 72, 24], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [96, 95, 3]
Generated Node #0,0: 93:[96, 95, 3] Operation: 72/24=3
Exploring Operation: 96-72=24, Resulting Numbers: [95, 24, 24]
Generated Node #0,1: 93:[95, 24, 24] Operation: 96-72=24
Exploring Operation: 72+24=96, Resulting Numbers: [96, 95, 96]
Generated Node #0,2: 93:[96, 95, 96] Operation: 72+24=96
Moving to Node #0,0
Current State: 93:[96, 95, 3], Operations: ['72/24=3']
Exploring Operation: 96-95=1, Resulting Numbers: [3, 1]
Generated Node #0,0,0: 93:[3, 1] Operation: 96-95=1
Exploring Operation: 96/3=32, Resulting Numbers: [95, 32]
Generated Node #0,0,1: 93:[95, 32] Operation: 96/3=32
Exploring Operation: 96-3=93, Resulting Numbers: [95, 93]
Generated Node #0,0,2: 93:[95, 93] Operation: 96-3=93
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[3, 1], Operations: ['72/24=3', '96-95=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[95, 93], Operations: ['72/24=3', '96-3=93']
Exploring Operation: 95+93=188, Resulting Numbers: [188]
188,93 unequal: No Solution
Exploring Operation: 95*93=8835, Resulting Numbers: [8835]
8835,93 unequal: No Solution
Exploring Operation: 95-93=2, Resulting Numbers: [2]
2,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[95, 32], Operations: ['72/24=3', '96/3=32']
Exploring Operation: 95-32=63, Resulting Numbers: [63]
63,93 unequal: No Solution
Exploring Operation: 95*32=3040, Resulting Numbers: [3040]
3040,93 unequal: No Solution
Exploring Operation: 95+32=127, Resulting Numbers: [127]
127,93 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: 93:[96, 95, 96], Operations: ['72+24=96']
Exploring Operation: 96-95=1, Resulting Numbers: [96, 1]
Generated Node #0,2,0: 93:[96, 1] Operation: 96-95=1
Exploring Operation: 96/96=1, Resulting Numbers: [95, 1]
Generated Node #0,2,1: 93:[95, 1] Operation: 96/96=1
Exploring Operation: 96-96=0, Resulting Numbers: [95, 0]
Generated Node #0,2,2: 93:[95, 0] Operation: 96-96=0
Moving to Node #0,1
Current State: 93:[95, 24, 24], Operations: ['96-72=24']
Exploring Operation: 24/24=1, Resulting Numbers: [95, 1]
Generated Node #0,1,0: 93:[95, 1] Operation: 24/24=1
Exploring Operation: 24+24=48, Resulting Numbers: [95, 48]
Generated Node #0,1,1: 93:[95, 48] Operation: 24+24=48
Exploring Operation: 24-24=0, Resulting Numbers: [95, 0]
Generated Node #0,1,2: 93:[95, 0] Operation: 24-24=0
Moving to Node #0,2,1
Current State: 93:[95, 1], Operations: ['72+24=96', '96/96=1']
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[95, 1], Operations: ['96-72=24', '24/24=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,93 unequal: No Solution
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[95, 0], Operations: ['72+24=96', '96-96=0']
Exploring Operation: 95-0=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 95+0=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 95*0=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[95, 0], Operations: ['96-72=24', '24-24=0']
Exploring Operation: 95+0=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 95*0=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Exploring Operation: 95-0=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[96, 1], Operations: ['72+24=96', '96-95=1']
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,93 unequal: No Solution
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[95, 48], Operations: ['96-72=24', '24+24=48']
Exploring Operation: 95-48=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 95*48=4560, Resulting Numbers: [4560]
4560,93 unequal: No Solution
Exploring Operation: 95+48=143, Resulting Numbers: [143]
143,93 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
35,
67,
52,
40
] | 65 | [
"67-35=32",
"52*40=2080",
"2080/32=65"
] | Current State: 65:[35, 67, 52, 40], Operations: []
Exploring Operation: 67-35=32, Resulting Numbers: [52, 40, 32]
Generated Node #2: [52, 40, 32] from Operation: 67-35=32
Current State: 65:[52, 40, 32], Operations: ['67-35=32']
Exploring Operation: 52*40=2080, Resulting Numbers: [32, 2080]
Generated Node #3: [32, 2080] from Operation: 52*40=2080
Current State: 65:[32, 2080], Operations: ['67-35=32', '52*40=2080']
Exploring Operation: 2080/32=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[35, 67, 52, 40], Operations: []
Exploring Operation: 52-35=17, Resulting Numbers: [67, 40, 17]
Generated Node #0,0: 65:[67, 40, 17] Operation: 52-35=17
Exploring Operation: 35+40=75, Resulting Numbers: [67, 52, 75]
Generated Node #0,1: 65:[67, 52, 75] Operation: 35+40=75
Exploring Operation: 40-35=5, Resulting Numbers: [67, 52, 5]
Generated Node #0,2: 65:[67, 52, 5] Operation: 40-35=5
Exploring Operation: 52-40=12, Resulting Numbers: [35, 67, 12]
Generated Node #0,3: 65:[35, 67, 12] Operation: 52-40=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[67, 52, 5], Operations: ['40-35=5']
Exploring Operation: 67-5=62, Resulting Numbers: [52, 62]
Generated Node #0,2,0: 65:[52, 62] Operation: 67-5=62
Exploring Operation: 67-52=15, Resulting Numbers: [5, 15]
Generated Node #0,2,1: 65:[5, 15] Operation: 67-52=15
Exploring Operation: 52+5=57, Resulting Numbers: [67, 57]
Generated Node #0,2,2: 65:[67, 57] Operation: 52+5=57
Exploring Operation: 67+5=72, Resulting Numbers: [52, 72]
Generated Node #0,2,3: 65:[52, 72] Operation: 67+5=72
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 65:[5, 15], Operations: ['40-35=5', '67-52=15']
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,65 unequal: No Solution
No 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: 65:[67, 57], Operations: ['40-35=5', '52+5=57']
Exploring Operation: 67+57=124, Resulting Numbers: [124]
124,65 unequal: No Solution
Exploring Operation: 67*57=3819, Resulting Numbers: [3819]
3819,65 unequal: No Solution
Exploring Operation: 67-57=10, Resulting Numbers: [10]
10,65 unequal: No Solution
No 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: 65:[52, 62], Operations: ['40-35=5', '67-5=62']
Exploring Operation: 52*62=3224, Resulting Numbers: [3224]
3224,65 unequal: No Solution
Exploring Operation: 52+62=114, Resulting Numbers: [114]
114,65 unequal: No Solution
Exploring Operation: 62-52=10, Resulting Numbers: [10]
10,65 unequal: No Solution
No 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: 65:[52, 72], Operations: ['40-35=5', '67+5=72']
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 52+72=124, Resulting Numbers: [124]
124,65 unequal: No Solution
Exploring Operation: 52*72=3744, Resulting Numbers: [3744]
3744,65 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: 65:[67, 52, 75], Operations: ['35+40=75']
Exploring Operation: 75-67=8, Resulting Numbers: [52, 8]
Generated Node #0,1,0: 65:[52, 8] Operation: 75-67=8
Exploring Operation: 67+52=119, Resulting Numbers: [75, 119]
Generated Node #0,1,1: 65:[75, 119] Operation: 67+52=119
Exploring Operation: 67-52=15, Resulting Numbers: [75, 15]
Generated Node #0,1,2: 65:[75, 15] Operation: 67-52=15
Exploring Operation: 75-52=23, Resulting Numbers: [67, 23]
Generated Node #0,1,3: 65:[67, 23] Operation: 75-52=23
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 65:[75, 15], Operations: ['35+40=75', '67-52=15']
Exploring Operation: 75*15=1125, Resulting Numbers: [1125]
1125,65 unequal: No Solution
Exploring Operation: 75+15=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 75/15=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,65 unequal: No Solution
No 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: 65:[67, 23], Operations: ['35+40=75', '75-52=23']
Exploring Operation: 67+23=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 67*23=1541, Resulting Numbers: [1541]
1541,65 unequal: No Solution
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,65 unequal: No Solution
No 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: 65:[52, 8], Operations: ['35+40=75', '75-67=8']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,65 unequal: No Solution
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,65 unequal: No Solution
No 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: 65:[75, 119], Operations: ['35+40=75', '67+52=119']
Exploring Operation: 75*119=8925, Resulting Numbers: [8925]
8925,65 unequal: No Solution
Exploring Operation: 75+119=194, Resulting Numbers: [194]
194,65 unequal: No Solution
Exploring Operation: 119-75=44, Resulting Numbers: [44]
44,65 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: 65:[35, 67, 12], Operations: ['52-40=12']
Exploring Operation: 35-12=23, Resulting Numbers: [67, 23]
Generated Node #0,3,0: 65:[67, 23] Operation: 35-12=23
Exploring Operation: 67-35=32, Resulting Numbers: [12, 32]
Generated Node #0,3,1: 65:[12, 32] Operation: 67-35=32
Exploring Operation: 35+12=47, Resulting Numbers: [67, 47]
Generated Node #0,3,2: 65:[67, 47] Operation: 35+12=47
Exploring Operation: 67-12=55, Resulting Numbers: [35, 55]
Generated Node #0,3,3: 65:[35, 55] Operation: 67-12=55
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 65:[67, 23], Operations: ['52-40=12', '35-12=23']
Exploring Operation: 67*23=1541, Resulting Numbers: [1541]
1541,65 unequal: No Solution
Exploring Operation: 67+23=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,65 unequal: No Solution
No 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: 65:[12, 32], Operations: ['52-40=12', '67-35=32']
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 12*32=384, Resulting Numbers: [384]
384,65 unequal: No Solution
No 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: 65:[67, 47], Operations: ['52-40=12', '35+12=47']
Exploring Operation: 67*47=3149, Resulting Numbers: [3149]
3149,65 unequal: No Solution
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 67+47=114, Resulting Numbers: [114]
114,65 unequal: No Solution
No 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: 65:[35, 55], Operations: ['52-40=12', '67-12=55']
Exploring Operation: 35+55=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 35*55=1925, Resulting Numbers: [1925]
1925,65 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: 65:[67, 40, 17], Operations: ['52-35=17']
Exploring Operation: 67-17=50, Resulting Numbers: [40, 50]
Generated Node #0,0,0: 65:[40, 50] Operation: 67-17=50
Exploring Operation: 40+17=57, Resulting Numbers: [67, 57]
Generated Node #0,0,1: 65:[67, 57] Operation: 40+17=57
Exploring Operation: 40-17=23, Resulting Numbers: [67, 23]
Generated Node #0,0,2: 65:[67, 23] Operation: 40-17=23
Exploring Operation: 67-40=27, Resulting Numbers: [17, 27]
Generated Node #0,0,3: 65:[17, 27] Operation: 67-40=27
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[67, 57], Operations: ['52-35=17', '40+17=57']
Exploring Operation: 67*57=3819, Resulting Numbers: [3819]
3819,65 unequal: No Solution
Exploring Operation: 67-57=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 67+57=124, Resulting Numbers: [124]
124,65 unequal: No Solution
No 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: 65:[67, 23], Operations: ['52-35=17', '40-17=23']
Exploring Operation: 67*23=1541, Resulting Numbers: [1541]
1541,65 unequal: No Solution
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 67+23=90, Resulting Numbers: [90]
90,65 unequal: No Solution
No 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: 65:[17, 27], Operations: ['52-35=17', '67-40=27']
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,65 unequal: No Solution
No 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: 65:[40, 50], Operations: ['52-35=17', '67-17=50']
Exploring Operation: 40*50=2000, Resulting Numbers: [2000]
2000,65 unequal: No Solution
Exploring Operation: 40+50=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
22,
44,
65,
76
] | 87 | [
"44/22=2",
"76*2=152",
"152-65=87"
] | Current State: 87:[22, 44, 65, 76], Operations: []
Exploring Operation: 44/22=2, Resulting Numbers: [65, 76, 2]
Generated Node #2: [65, 76, 2] from Operation: 44/22=2
Current State: 87:[65, 76, 2], Operations: ['44/22=2']
Exploring Operation: 76*2=152, Resulting Numbers: [65, 152]
Generated Node #3: [65, 152] from Operation: 76*2=152
Current State: 87:[65, 152], Operations: ['44/22=2', '76*2=152']
Exploring Operation: 152-65=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[22, 44, 65, 76], Operations: []
Exploring Operation: 22+65=87, Resulting Numbers: [44, 76, 87]
Generated Node #0,0: 87:[44, 76, 87] Operation: 22+65=87
Moving to Node #0,0
Current State: 87:[44, 76, 87], Operations: ['22+65=87']
Exploring Operation: 76-44=32, Resulting Numbers: [87, 32]
Generated Node #0,0,0: 87:[87, 32] Operation: 76-44=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[87, 32], Operations: ['22+65=87', '76-44=32']
Exploring Operation: 87-32=55, Resulting Numbers: [55]
55,87 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 |
[
32,
58,
16,
93
] | 37 | [
"32/16=2",
"93-58=35",
"2+35=37"
] | Current State: 37:[32, 58, 16, 93], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [58, 93, 2]
Generated Node #2: [58, 93, 2] from Operation: 32/16=2
Current State: 37:[58, 93, 2], Operations: ['32/16=2']
Exploring Operation: 93-58=35, Resulting Numbers: [2, 35]
Generated Node #3: [2, 35] from Operation: 93-58=35
Current State: 37:[2, 35], Operations: ['32/16=2', '93-58=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[32, 58, 16, 93], Operations: []
Exploring Operation: 58-32=26, Resulting Numbers: [16, 93, 26]
Generated Node #0,0: 37:[16, 93, 26] Operation: 58-32=26
Exploring Operation: 58-16=42, Resulting Numbers: [32, 93, 42]
Generated Node #0,1: 37:[32, 93, 42] Operation: 58-16=42
Exploring Operation: 93-16=77, Resulting Numbers: [32, 58, 77]
Generated Node #0,2: 37:[32, 58, 77] Operation: 93-16=77
Exploring Operation: 93-58=35, Resulting Numbers: [32, 16, 35]
Generated Node #0,3: 37:[32, 16, 35] Operation: 93-58=35
Exploring Operation: 93-32=61, Resulting Numbers: [58, 16, 61]
Generated Node #0,4: 37:[58, 16, 61] Operation: 93-32=61
Moving to Node #0,3
Current State: 37:[32, 16, 35], Operations: ['93-58=35']
Exploring Operation: 32-16=16, Resulting Numbers: [35, 16]
Generated Node #0,3,0: 37:[35, 16] Operation: 32-16=16
Exploring Operation: 32+16=48, Resulting Numbers: [35, 48]
Generated Node #0,3,1: 37:[35, 48] Operation: 32+16=48
Exploring Operation: 16+35=51, Resulting Numbers: [32, 51]
Generated Node #0,3,2: 37:[32, 51] Operation: 16+35=51
Exploring Operation: 35-16=19, Resulting Numbers: [32, 19]
Generated Node #0,3,3: 37:[32, 19] Operation: 35-16=19
Exploring Operation: 32/16=2, Resulting Numbers: [35, 2]
Generated Node #0,3,4: 37:[35, 2] Operation: 32/16=2
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 37:[35, 48], Operations: ['93-58=35', '32+16=48']
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 35*48=1680, Resulting Numbers: [1680]
1680,37 unequal: No Solution
Exploring Operation: 35+48=83, Resulting Numbers: [83]
83,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:[32, 51], Operations: ['93-58=35', '16+35=51']
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,37 unequal: No Solution
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,37 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,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:[35, 16], Operations: ['93-58=35', '32-16=16']
Exploring Operation: 35+16=51, Resulting Numbers: [51]
51,37 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 35*16=560, Resulting Numbers: [560]
560,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 37:[32, 19], Operations: ['93-58=35', '35-16=19']
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,37 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,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:[35, 2], Operations: ['93-58=35', '32/16=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[32, 58, 16, 93], Operations: []
Exploring Operation: 93-58=35, Resulting Numbers: [32, 16, 35]
Generated Node #0,3: 37:[32, 16, 35] Operation: 93-58=35
Moving to Node #0,3
Current State: 37:[32, 16, 35], Operations: ['93-58=35']
Exploring Operation: 32/16=2, Resulting Numbers: [35, 2]
Generated Node #0,3,4: 37:[35, 2] Operation: 32/16=2
Moving to Node #0,3,4
Current State: 37:[35, 2], Operations: ['93-58=35', '32/16=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | mult_heuristic |
[
6,
92,
2,
85
] | 100 | [
"92-2=90",
"90/6=15",
"85+15=100"
] | Current State: 100:[6, 92, 2, 85], Operations: []
Exploring Operation: 92-2=90, Resulting Numbers: [6, 85, 90]
Generated Node #2: [6, 85, 90] from Operation: 92-2=90
Current State: 100:[6, 85, 90], Operations: ['92-2=90']
Exploring Operation: 90/6=15, Resulting Numbers: [85, 15]
Generated Node #3: [85, 15] from Operation: 90/6=15
Current State: 100:[85, 15], Operations: ['92-2=90', '90/6=15']
Exploring Operation: 85+15=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[6, 92, 2, 85], Operations: []
Exploring Operation: 92-85=7, Resulting Numbers: [6, 2, 7]
Generated Node #0,0: 100:[6, 2, 7] Operation: 92-85=7
Moving to Node #0,0
Current State: 100:[6, 2, 7], Operations: ['92-85=7']
Exploring Operation: 7-6=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 100:[2, 1] Operation: 7-6=1
Moving to Node #0,0,0
Current State: 100:[2, 1], Operations: ['92-85=7', '7-6=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,100 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
46,
48,
6,
43
] | 55 | [
"48-46=2",
"6*2=12",
"43+12=55"
] | Current State: 55:[46, 48, 6, 43], Operations: []
Exploring Operation: 48-46=2, Resulting Numbers: [6, 43, 2]
Generated Node #2: [6, 43, 2] from Operation: 48-46=2
Current State: 55:[6, 43, 2], Operations: ['48-46=2']
Exploring Operation: 6*2=12, Resulting Numbers: [43, 12]
Generated Node #3: [43, 12] from Operation: 6*2=12
Current State: 55:[43, 12], Operations: ['48-46=2', '6*2=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[46, 48, 6, 43], Operations: []
Exploring Operation: 46+6=52, Resulting Numbers: [48, 43, 52]
Generated Node #0,0: 55:[48, 43, 52] Operation: 46+6=52
Exploring Operation: 46-43=3, Resulting Numbers: [48, 6, 3]
Generated Node #0,1: 55:[48, 6, 3] Operation: 46-43=3
Exploring Operation: 48-43=5, Resulting Numbers: [46, 6, 5]
Generated Node #0,2: 55:[46, 6, 5] Operation: 48-43=5
Exploring Operation: 48-46=2, Resulting Numbers: [6, 43, 2]
Generated Node #0,3: 55:[6, 43, 2] Operation: 48-46=2
Moving to Node #0,1
Current State: 55:[48, 6, 3], Operations: ['46-43=3']
Exploring Operation: 48/6=8, Resulting Numbers: [3, 8]
Generated Node #0,1,0: 55:[3, 8] Operation: 48/6=8
Exploring Operation: 48+6=54, Resulting Numbers: [3, 54]
Generated Node #0,1,1: 55:[3, 54] Operation: 48+6=54
Exploring Operation: 48+3=51, Resulting Numbers: [6, 51]
Generated Node #0,1,2: 55:[6, 51] Operation: 48+3=51
Exploring Operation: 48/3=16, Resulting Numbers: [6, 16]
Generated Node #0,1,3: 55:[6, 16] Operation: 48/3=16
Moving to Node #0,2
Current State: 55:[46, 6, 5], Operations: ['48-43=5']
Exploring Operation: 46+5=51, Resulting Numbers: [6, 51]
Generated Node #0,2,0: 55:[6, 51] Operation: 46+5=51
Exploring Operation: 6-5=1, Resulting Numbers: [46, 1]
Generated Node #0,2,1: 55:[46, 1] Operation: 6-5=1
Exploring Operation: 6+5=11, Resulting Numbers: [46, 11]
Generated Node #0,2,2: 55:[46, 11] Operation: 6+5=11
Exploring Operation: 46+6=52, Resulting Numbers: [5, 52]
Generated Node #0,2,3: 55:[5, 52] Operation: 46+6=52
Moving to Node #0,3
Current State: 55:[6, 43, 2], Operations: ['48-46=2']
Exploring Operation: 43+2=45, Resulting Numbers: [6, 45]
Generated Node #0,3,0: 55:[6, 45] Operation: 43+2=45
Exploring Operation: 6-2=4, Resulting Numbers: [43, 4]
Generated Node #0,3,1: 55:[43, 4] Operation: 6-2=4
Exploring Operation: 6*2=12, Resulting Numbers: [43, 12]
Generated Node #0,3,2: 55:[43, 12] Operation: 6*2=12
Exploring Operation: 6+43=49, Resulting Numbers: [2, 49]
Generated Node #0,3,3: 55:[2, 49] Operation: 6+43=49
Moving to Node #0,0
Current State: 55:[48, 43, 52], Operations: ['46+6=52']
Exploring Operation: 48-43=5, Resulting Numbers: [52, 5]
Generated Node #0,0,0: 55:[52, 5] Operation: 48-43=5
Exploring Operation: 48+43=91, Resulting Numbers: [52, 91]
Generated Node #0,0,1: 55:[52, 91] Operation: 48+43=91
Exploring Operation: 52-43=9, Resulting Numbers: [48, 9]
Generated Node #0,0,2: 55:[48, 9] Operation: 52-43=9
Exploring Operation: 52-48=4, Resulting Numbers: [43, 4]
Generated Node #0,0,3: 55:[43, 4] Operation: 52-48=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[52, 5], Operations: ['46+6=52', '48-43=5']
Exploring Operation: 52*5=260, Resulting Numbers: [260]
260,55 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[48, 9], Operations: ['46+6=52', '52-43=9']
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 48*9=432, Resulting Numbers: [432]
432,55 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 55:[43, 4], Operations: ['46+6=52', '52-48=4']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,55 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[52, 91], Operations: ['46+6=52', '48+43=91']
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 52*91=4732, Resulting Numbers: [4732]
4732,55 unequal: No Solution
Exploring Operation: 52+91=143, Resulting Numbers: [143]
143,55 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: 55:[3, 54], Operations: ['46-43=3', '48+6=54']
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,55 unequal: No Solution
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,55 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Moving to Node #0,2,3
Current State: 55:[5, 52], Operations: ['48-43=5', '46+6=52']
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,55 unequal: No Solution
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[6, 51], Operations: ['46-43=3', '48+3=51']
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,55 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Moving to Node #0,2,0
Current State: 55:[6, 51], Operations: ['48-43=5', '46+5=51']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,55 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[3, 8], Operations: ['46-43=3', '48/6=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,55 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[6, 16], Operations: ['46-43=3', '48/3=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,55 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,55 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Moving to Node #0,2,2
Current State: 55:[46, 11], Operations: ['48-43=5', '6+5=11']
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,55 unequal: No Solution
Exploring Operation: 46+11=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 46*11=506, Resulting Numbers: [506]
506,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[2, 49], Operations: ['48-46=2', '6+43=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,55 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,55 unequal: No Solution
Moving to Node #0,3,0
Current State: 55:[6, 45], Operations: ['48-46=2', '43+2=45']
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,55 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[43, 4], Operations: ['48-46=2', '6-2=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,55 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Moving to Node #0,2,1
Current State: 55:[46, 1], Operations: ['48-43=5', '6-5=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,55 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,55 unequal: No Solution
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[43, 12], Operations: ['48-46=2', '6*2=12']
Exploring Operation: 43*12=516, Resulting Numbers: [516]
516,55 unequal: No Solution
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[46, 48, 6, 43], Operations: []
Exploring Operation: 48-46=2, Resulting Numbers: [6, 43, 2]
Generated Node #0,3: 55:[6, 43, 2] Operation: 48-46=2
Moving to Node #0,3
Current State: 55:[6, 43, 2], Operations: ['48-46=2']
Exploring Operation: 6*2=12, Resulting Numbers: [43, 12]
Generated Node #0,3,2: 55:[43, 12] Operation: 6*2=12
Moving to Node #0,3,2
Current State: 55:[43, 12], Operations: ['48-46=2', '6*2=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.936632 | hs_4 | mult_heuristic |
[
10,
83,
94,
99
] | 68 | [
"83-10=73",
"99-94=5",
"73-5=68"
] | Current State: 68:[10, 83, 94, 99], Operations: []
Exploring Operation: 83-10=73, Resulting Numbers: [94, 99, 73]
Generated Node #2: [94, 99, 73] from Operation: 83-10=73
Current State: 68:[94, 99, 73], Operations: ['83-10=73']
Exploring Operation: 99-94=5, Resulting Numbers: [73, 5]
Generated Node #3: [73, 5] from Operation: 99-94=5
Current State: 68:[73, 5], Operations: ['83-10=73', '99-94=5']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[10, 83, 94, 99], Operations: []
Exploring Operation: 94-10=84, Resulting Numbers: [83, 99, 84]
Generated Node #0,0: 68:[83, 99, 84] Operation: 94-10=84
Exploring Operation: 94-83=11, Resulting Numbers: [10, 99, 11]
Generated Node #0,1: 68:[10, 99, 11] Operation: 94-83=11
Exploring Operation: 99-94=5, Resulting Numbers: [10, 83, 5]
Generated Node #0,2: 68:[10, 83, 5] Operation: 99-94=5
Exploring Operation: 83-10=73, Resulting Numbers: [94, 99, 73]
Generated Node #0,3: 68:[94, 99, 73] Operation: 83-10=73
Exploring Operation: 99-83=16, Resulting Numbers: [10, 94, 16]
Generated Node #0,4: 68:[10, 94, 16] Operation: 99-83=16
Moving to Node #0,2
Current State: 68:[10, 83, 5], Operations: ['99-94=5']
Exploring Operation: 10+5=15, Resulting Numbers: [83, 15]
Generated Node #0,2,0: 68:[83, 15] Operation: 10+5=15
Exploring Operation: 83-10=73, Resulting Numbers: [5, 73]
Generated Node #0,2,1: 68:[5, 73] Operation: 83-10=73
Exploring Operation: 10/5=2, Resulting Numbers: [83, 2]
Generated Node #0,2,2: 68:[83, 2] Operation: 10/5=2
Exploring Operation: 83-5=78, Resulting Numbers: [10, 78]
Generated Node #0,2,3: 68:[10, 78] Operation: 83-5=78
Exploring Operation: 10-5=5, Resulting Numbers: [83, 5]
Generated Node #0,2,4: 68:[83, 5] Operation: 10-5=5
Moving to Node #0,4
Current State: 68:[10, 94, 16], Operations: ['99-83=16']
Exploring Operation: 10+16=26, Resulting Numbers: [94, 26]
Generated Node #0,4,0: 68:[94, 26] Operation: 10+16=26
Exploring Operation: 94-16=78, Resulting Numbers: [10, 78]
Generated Node #0,4,1: 68:[10, 78] Operation: 94-16=78
Exploring Operation: 10+94=104, Resulting Numbers: [16, 104]
Generated Node #0,4,2: 68:[16, 104] Operation: 10+94=104
Exploring Operation: 94-10=84, Resulting Numbers: [16, 84]
Generated Node #0,4,3: 68:[16, 84] Operation: 94-10=84
Exploring Operation: 16-10=6, Resulting Numbers: [94, 6]
Generated Node #0,4,4: 68:[94, 6] Operation: 16-10=6
Moving to Node #0,1
Current State: 68:[10, 99, 11], Operations: ['94-83=11']
Exploring Operation: 99-10=89, Resulting Numbers: [11, 89]
Generated Node #0,1,0: 68:[11, 89] Operation: 99-10=89
Exploring Operation: 99/11=9, Resulting Numbers: [10, 9]
Generated Node #0,1,1: 68:[10, 9] Operation: 99/11=9
Exploring Operation: 10+11=21, Resulting Numbers: [99, 21]
Generated Node #0,1,2: 68:[99, 21] Operation: 10+11=21
Exploring Operation: 11-10=1, Resulting Numbers: [99, 1]
Generated Node #0,1,3: 68:[99, 1] Operation: 11-10=1
Exploring Operation: 99-11=88, Resulting Numbers: [10, 88]
Generated Node #0,1,4: 68:[10, 88] Operation: 99-11=88
Moving to Node #0,0
Current State: 68:[83, 99, 84], Operations: ['94-10=84']
Exploring Operation: 99-84=15, Resulting Numbers: [83, 15]
Generated Node #0,0,0: 68:[83, 15] Operation: 99-84=15
Exploring Operation: 83+99=182, Resulting Numbers: [84, 182]
Generated Node #0,0,1: 68:[84, 182] Operation: 83+99=182
Exploring Operation: 83+84=167, Resulting Numbers: [99, 167]
Generated Node #0,0,2: 68:[99, 167] Operation: 83+84=167
Exploring Operation: 99-83=16, Resulting Numbers: [84, 16]
Generated Node #0,0,3: 68:[84, 16] Operation: 99-83=16
Exploring Operation: 84-83=1, Resulting Numbers: [99, 1]
Generated Node #0,0,4: 68:[99, 1] Operation: 84-83=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[83, 15], Operations: ['94-10=84', '99-84=15']
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[10, 83, 94, 99], Operations: []
Exploring Operation: 94-10=84, Resulting Numbers: [83, 99, 84]
Generated Node #0,0: 68:[83, 99, 84] Operation: 94-10=84
Moving to Node #0,0
Current State: 68:[83, 99, 84], Operations: ['94-10=84']
Exploring Operation: 99-84=15, Resulting Numbers: [83, 15]
Generated Node #0,0,0: 68:[83, 15] Operation: 99-84=15
Moving to Node #0,0,0
Current State: 68:[83, 15], Operations: ['94-10=84', '99-84=15']
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | sum_heuristic |
[
47,
71,
89,
7
] | 77 | [
"89-47=42",
"42/7=6",
"71+6=77"
] | Current State: 77:[47, 71, 89, 7], Operations: []
Exploring Operation: 89-47=42, Resulting Numbers: [71, 7, 42]
Generated Node #2: [71, 7, 42] from Operation: 89-47=42
Current State: 77:[71, 7, 42], Operations: ['89-47=42']
Exploring Operation: 42/7=6, Resulting Numbers: [71, 6]
Generated Node #3: [71, 6] from Operation: 42/7=6
Current State: 77:[71, 6], Operations: ['89-47=42', '42/7=6']
Exploring Operation: 71+6=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[47, 71, 89, 7], Operations: []
Exploring Operation: 89-7=82, Resulting Numbers: [47, 71, 82]
Generated Node #0,0: 77:[47, 71, 82] Operation: 89-7=82
Exploring Operation: 47+7=54, Resulting Numbers: [71, 89, 54]
Generated Node #0,1: 77:[71, 89, 54] Operation: 47+7=54
Exploring Operation: 71-47=24, Resulting Numbers: [89, 7, 24]
Generated Node #0,2: 77:[89, 7, 24] Operation: 71-47=24
Exploring Operation: 89-71=18, Resulting Numbers: [47, 7, 18]
Generated Node #0,3: 77:[47, 7, 18] Operation: 89-71=18
Exploring Operation: 89-47=42, Resulting Numbers: [71, 7, 42]
Generated Node #0,4: 77:[71, 7, 42] Operation: 89-47=42
Moving to Node #0,2
Current State: 77:[89, 7, 24], Operations: ['71-47=24']
Exploring Operation: 89+7=96, Resulting Numbers: [24, 96]
Generated Node #0,2,0: 77:[24, 96] Operation: 89+7=96
Exploring Operation: 24-7=17, Resulting Numbers: [89, 17]
Generated Node #0,2,1: 77:[89, 17] Operation: 24-7=17
Exploring Operation: 7+24=31, Resulting Numbers: [89, 31]
Generated Node #0,2,2: 77:[89, 31] Operation: 7+24=31
Exploring Operation: 89-24=65, Resulting Numbers: [7, 65]
Generated Node #0,2,3: 77:[7, 65] Operation: 89-24=65
Exploring Operation: 89-7=82, Resulting Numbers: [24, 82]
Generated Node #0,2,4: 77:[24, 82] Operation: 89-7=82
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 77:[7, 65], Operations: ['71-47=24', '89-24=65']
Exploring Operation: 65-7=58, Resulting Numbers: [58]
58,77 unequal: No Solution
Exploring Operation: 7+65=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 7*65=455, Resulting Numbers: [455]
455,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 77:[89, 17], Operations: ['71-47=24', '24-7=17']
Exploring Operation: 89-17=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 89+17=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Exploring Operation: 89*17=1513, Resulting Numbers: [1513]
1513,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 77:[24, 82], Operations: ['71-47=24', '89-7=82']
Exploring Operation: 24+82=106, Resulting Numbers: [106]
106,77 unequal: No Solution
Exploring Operation: 24*82=1968, Resulting Numbers: [1968]
1968,77 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[24, 96], Operations: ['71-47=24', '89+7=96']
Exploring Operation: 24+96=120, Resulting Numbers: [120]
120,77 unequal: No Solution
Exploring Operation: 24*96=2304, Resulting Numbers: [2304]
2304,77 unequal: No Solution
Exploring Operation: 96/24=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 96-24=72, Resulting Numbers: [72]
72,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 77:[89, 31], Operations: ['71-47=24', '7+24=31']
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,77 unequal: No Solution
Exploring Operation: 89*31=2759, Resulting Numbers: [2759]
2759,77 unequal: No Solution
Exploring Operation: 89+31=120, Resulting Numbers: [120]
120,77 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: 77:[71, 7, 42], Operations: ['89-47=42']
Exploring Operation: 71+7=78, Resulting Numbers: [42, 78]
Generated Node #0,4,0: 77:[42, 78] Operation: 71+7=78
Exploring Operation: 71-42=29, Resulting Numbers: [7, 29]
Generated Node #0,4,1: 77:[7, 29] Operation: 71-42=29
Exploring Operation: 42-7=35, Resulting Numbers: [71, 35]
Generated Node #0,4,2: 77:[71, 35] Operation: 42-7=35
Exploring Operation: 42/7=6, Resulting Numbers: [71, 6]
Generated Node #0,4,3: 77:[71, 6] Operation: 42/7=6
Exploring Operation: 7+42=49, Resulting Numbers: [71, 49]
Generated Node #0,4,4: 77:[71, 49] Operation: 7+42=49
Moving to Node #0,3
Current State: 77:[47, 7, 18], Operations: ['89-71=18']
Exploring Operation: 47+7=54, Resulting Numbers: [18, 54]
Generated Node #0,3,0: 77:[18, 54] Operation: 47+7=54
Exploring Operation: 47+18=65, Resulting Numbers: [7, 65]
Generated Node #0,3,1: 77:[7, 65] Operation: 47+18=65
Exploring Operation: 47-7=40, Resulting Numbers: [18, 40]
Generated Node #0,3,2: 77:[18, 40] Operation: 47-7=40
Exploring Operation: 47-18=29, Resulting Numbers: [7, 29]
Generated Node #0,3,3: 77:[7, 29] Operation: 47-18=29
Exploring Operation: 18-7=11, Resulting Numbers: [47, 11]
Generated Node #0,3,4: 77:[47, 11] Operation: 18-7=11
Moving to Node #0,0
Current State: 77:[47, 71, 82], Operations: ['89-7=82']
Exploring Operation: 71-47=24, Resulting Numbers: [82, 24]
Generated Node #0,0,0: 77:[82, 24] Operation: 71-47=24
Exploring Operation: 82-47=35, Resulting Numbers: [71, 35]
Generated Node #0,0,1: 77:[71, 35] Operation: 82-47=35
Exploring Operation: 47+82=129, Resulting Numbers: [71, 129]
Generated Node #0,0,2: 77:[71, 129] Operation: 47+82=129
Exploring Operation: 82-71=11, Resulting Numbers: [47, 11]
Generated Node #0,0,3: 77:[47, 11] Operation: 82-71=11
Exploring Operation: 47+71=118, Resulting Numbers: [82, 118]
Generated Node #0,0,4: 77:[82, 118] Operation: 47+71=118
Moving to Node #0,1
Current State: 77:[71, 89, 54], Operations: ['47+7=54']
Exploring Operation: 71+54=125, Resulting Numbers: [89, 125]
Generated Node #0,1,0: 77:[89, 125] Operation: 71+54=125
Exploring Operation: 71-54=17, Resulting Numbers: [89, 17]
Generated Node #0,1,1: 77:[89, 17] Operation: 71-54=17
Exploring Operation: 89+54=143, Resulting Numbers: [71, 143]
Generated Node #0,1,2: 77:[71, 143] Operation: 89+54=143
Exploring Operation: 89-54=35, Resulting Numbers: [71, 35]
Generated Node #0,1,3: 77:[71, 35] Operation: 89-54=35
Exploring Operation: 89-71=18, Resulting Numbers: [54, 18]
Generated Node #0,1,4: 77:[54, 18] Operation: 89-71=18
Moving to Node #0,4,3
Current State: 77:[71, 6], Operations: ['89-47=42', '42/7=6']
Exploring Operation: 71*6=426, Resulting Numbers: [426]
426,77 unequal: No Solution
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,77 unequal: No Solution
Exploring Operation: 71+6=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[47, 71, 89, 7], Operations: []
Exploring Operation: 89-47=42, Resulting Numbers: [71, 7, 42]
Generated Node #0,4: 77:[71, 7, 42] Operation: 89-47=42
Moving to Node #0,4
Current State: 77:[71, 7, 42], Operations: ['89-47=42']
Exploring Operation: 42/7=6, Resulting Numbers: [71, 6]
Generated Node #0,4,3: 77:[71, 6] Operation: 42/7=6
Moving to Node #0,4,3
Current State: 77:[71, 6], Operations: ['89-47=42', '42/7=6']
Exploring Operation: 71+6=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.953993 | hs_5 | mult_heuristic |
[
20,
98,
20,
24
] | 98 | [
"20-20=0",
"24*0=0",
"98+0=98"
] | Current State: 98:[20, 98, 20, 24], Operations: []
Exploring Operation: 20-20=0, Resulting Numbers: [98, 24, 0]
Generated Node #2: [98, 24, 0] from Operation: 20-20=0
Current State: 98:[98, 24, 0], Operations: ['20-20=0']
Exploring Operation: 24*0=0, Resulting Numbers: [98, 0]
Generated Node #3: [98, 0] from Operation: 24*0=0
Current State: 98:[98, 0], Operations: ['20-20=0', '24*0=0']
Exploring Operation: 98+0=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[20, 98, 20, 24], Operations: []
Exploring Operation: 24-20=4, Resulting Numbers: [20, 98, 4]
Generated Node #0,0: 98:[20, 98, 4] Operation: 24-20=4
Exploring Operation: 20+24=44, Resulting Numbers: [98, 20, 44]
Generated Node #0,1: 98:[98, 20, 44] Operation: 20+24=44
Exploring Operation: 20/20=1, Resulting Numbers: [98, 24, 1]
Generated Node #0,2: 98:[98, 24, 1] Operation: 20/20=1
Exploring Operation: 24-20=4, Resulting Numbers: [98, 20, 4]
Generated Node #0,3: 98:[98, 20, 4] Operation: 24-20=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[20, 98, 4], Operations: ['24-20=4']
Exploring Operation: 20/4=5, Resulting Numbers: [98, 5]
Generated Node #0,0,0: 98:[98, 5] Operation: 20/4=5
Exploring Operation: 98+4=102, Resulting Numbers: [20, 102]
Generated Node #0,0,1: 98:[20, 102] Operation: 98+4=102
Exploring Operation: 20+4=24, Resulting Numbers: [98, 24]
Generated Node #0,0,2: 98:[98, 24] Operation: 20+4=24
Exploring Operation: 20-4=16, Resulting Numbers: [98, 16]
Generated Node #0,0,3: 98:[98, 16] Operation: 20-4=16
Moving to Node #0,0,0
Current State: 98:[98, 5], Operations: ['24-20=4', '20/4=5']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,98 unequal: No Solution
Exploring Operation: 98+5=103, Resulting Numbers: [103]
103,98 unequal: No Solution
Exploring Operation: 98*5=490, Resulting Numbers: [490]
490,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[98, 16], Operations: ['24-20=4', '20-4=16']
Exploring Operation: 98-16=82, Resulting Numbers: [82]
82,98 unequal: No Solution
Exploring Operation: 98+16=114, Resulting Numbers: [114]
114,98 unequal: No Solution
Exploring Operation: 98*16=1568, Resulting Numbers: [1568]
1568,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[98, 24], Operations: ['24-20=4', '20+4=24']
Exploring Operation: 98+24=122, Resulting Numbers: [122]
122,98 unequal: No Solution
Exploring Operation: 98-24=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 98*24=2352, Resulting Numbers: [2352]
2352,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[20, 102], Operations: ['24-20=4', '98+4=102']
Exploring Operation: 102-20=82, Resulting Numbers: [82]
82,98 unequal: No Solution
Exploring Operation: 20*102=2040, Resulting Numbers: [2040]
2040,98 unequal: No Solution
Exploring Operation: 20+102=122, Resulting Numbers: [122]
122,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[98, 20, 4], Operations: ['24-20=4']
Exploring Operation: 20-4=16, Resulting Numbers: [98, 16]
Generated Node #0,3,0: 98:[98, 16] Operation: 20-4=16
Exploring Operation: 98+4=102, Resulting Numbers: [20, 102]
Generated Node #0,3,1: 98:[20, 102] Operation: 98+4=102
Exploring Operation: 98-4=94, Resulting Numbers: [20, 94]
Generated Node #0,3,2: 98:[20, 94] Operation: 98-4=94
Exploring Operation: 20/4=5, Resulting Numbers: [98, 5]
Generated Node #0,3,3: 98:[98, 5] Operation: 20/4=5
Moving to Node #0,3,0
Current State: 98:[98, 16], Operations: ['24-20=4', '20-4=16']
Exploring Operation: 98+16=114, Resulting Numbers: [114]
114,98 unequal: No Solution
Exploring Operation: 98-16=82, Resulting Numbers: [82]
82,98 unequal: No Solution
Exploring Operation: 98*16=1568, Resulting Numbers: [1568]
1568,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[98, 5], Operations: ['24-20=4', '20/4=5']
Exploring Operation: 98+5=103, Resulting Numbers: [103]
103,98 unequal: No Solution
Exploring Operation: 98*5=490, Resulting Numbers: [490]
490,98 unequal: No Solution
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[20, 94], Operations: ['24-20=4', '98-4=94']
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 20*94=1880, Resulting Numbers: [1880]
1880,98 unequal: No Solution
Exploring Operation: 20+94=114, Resulting Numbers: [114]
114,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[20, 102], Operations: ['24-20=4', '98+4=102']
Exploring Operation: 102-20=82, Resulting Numbers: [82]
82,98 unequal: No Solution
Exploring Operation: 20+102=122, Resulting Numbers: [122]
122,98 unequal: No Solution
Exploring Operation: 20*102=2040, Resulting Numbers: [2040]
2040,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[98, 20, 44], Operations: ['20+24=44']
Exploring Operation: 20+44=64, Resulting Numbers: [98, 64]
Generated Node #0,1,0: 98:[98, 64] Operation: 20+44=64
Exploring Operation: 44-20=24, Resulting Numbers: [98, 24]
Generated Node #0,1,1: 98:[98, 24] Operation: 44-20=24
Exploring Operation: 98+20=118, Resulting Numbers: [44, 118]
Generated Node #0,1,2: 98:[44, 118] Operation: 98+20=118
Exploring Operation: 98-44=54, Resulting Numbers: [20, 54]
Generated Node #0,1,3: 98:[20, 54] Operation: 98-44=54
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[98, 24], Operations: ['20+24=44', '44-20=24']
Exploring Operation: 98*24=2352, Resulting Numbers: [2352]
2352,98 unequal: No Solution
Exploring Operation: 98+24=122, Resulting Numbers: [122]
122,98 unequal: No Solution
Exploring Operation: 98-24=74, Resulting Numbers: [74]
74,98 unequal: No Solution
No 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: 98:[20, 54], Operations: ['20+24=44', '98-44=54']
Exploring Operation: 20+54=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 20*54=1080, Resulting Numbers: [1080]
1080,98 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,98 unequal: No Solution
No 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: 98:[98, 64], Operations: ['20+24=44', '20+44=64']
Exploring Operation: 98*64=6272, Resulting Numbers: [6272]
6272,98 unequal: No Solution
Exploring Operation: 98-64=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 98+64=162, Resulting Numbers: [162]
162,98 unequal: No Solution
No 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: 98:[44, 118], Operations: ['20+24=44', '98+20=118']
Exploring Operation: 44+118=162, Resulting Numbers: [162]
162,98 unequal: No Solution
Exploring Operation: 44*118=5192, Resulting Numbers: [5192]
5192,98 unequal: No Solution
Exploring Operation: 118-44=74, Resulting Numbers: [74]
74,98 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: 98:[98, 24, 1], Operations: ['20/20=1']
Exploring Operation: 24*1=24, Resulting Numbers: [98, 24]
Generated Node #0,2,0: 98:[98, 24] Operation: 24*1=24
Exploring Operation: 98/1=98, Resulting Numbers: [24, 98]
Generated Node #0,2,1: 98:[24, 98] Operation: 98/1=98
Exploring Operation: 24-1=23, Resulting Numbers: [98, 23]
Generated Node #0,2,2: 98:[98, 23] Operation: 24-1=23
Exploring Operation: 98*1=98, Resulting Numbers: [24, 98]
Generated Node #0,2,3: 98:[24, 98] Operation: 98*1=98
Moving to Node #0,2,2
Current State: 98:[98, 23], Operations: ['20/20=1', '24-1=23']
Exploring Operation: 98*23=2254, Resulting Numbers: [2254]
2254,98 unequal: No Solution
Exploring Operation: 98+23=121, Resulting Numbers: [121]
121,98 unequal: No Solution
Exploring Operation: 98-23=75, Resulting Numbers: [75]
75,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[24, 98], Operations: ['20/20=1', '98/1=98']
Exploring Operation: 24+98=122, Resulting Numbers: [122]
122,98 unequal: No Solution
Exploring Operation: 24*98=2352, Resulting Numbers: [2352]
2352,98 unequal: No Solution
Exploring Operation: 98-24=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[98, 24], Operations: ['20/20=1', '24*1=24']
Exploring Operation: 98-24=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 98*24=2352, Resulting Numbers: [2352]
2352,98 unequal: No Solution
Exploring Operation: 98+24=122, Resulting Numbers: [122]
122,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[24, 98], Operations: ['20/20=1', '98*1=98']
Exploring Operation: 98-24=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 24*98=2352, Resulting Numbers: [2352]
2352,98 unequal: No Solution
Exploring Operation: 24+98=122, Resulting Numbers: [122]
122,98 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 |
[
80,
21,
8,
11
] | 78 | [
"80-21=59",
"8+11=19",
"59+19=78"
] | Current State: 78:[80, 21, 8, 11], Operations: []
Exploring Operation: 80-21=59, Resulting Numbers: [8, 11, 59]
Generated Node #2: [8, 11, 59] from Operation: 80-21=59
Current State: 78:[8, 11, 59], Operations: ['80-21=59']
Exploring Operation: 8+11=19, Resulting Numbers: [59, 19]
Generated Node #3: [59, 19] from Operation: 8+11=19
Current State: 78:[59, 19], Operations: ['80-21=59', '8+11=19']
Exploring Operation: 59+19=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[80, 21, 8, 11], Operations: []
Exploring Operation: 21-8=13, Resulting Numbers: [80, 11, 13]
Generated Node #0,0: 78:[80, 11, 13] Operation: 21-8=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[80, 11, 13], Operations: ['21-8=13']
Exploring Operation: 13-11=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 78:[80, 2] Operation: 13-11=2
Moving to Node #0,0,0
Current State: 78:[80, 2], Operations: ['21-8=13', '13-11=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[80, 21, 8, 11], Operations: []
Exploring Operation: 21-8=13, Resulting Numbers: [80, 11, 13]
Generated Node #0,0: 78:[80, 11, 13] Operation: 21-8=13
Moving to Node #0,0
Current State: 78:[80, 11, 13], Operations: ['21-8=13']
Exploring Operation: 13-11=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 78:[80, 2] Operation: 13-11=2
Moving to Node #0,0,0
Current State: 78:[80, 2], Operations: ['21-8=13', '13-11=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
28,
56,
94,
53
] | 39 | [
"56/28=2",
"94-53=41",
"41-2=39"
] | Current State: 39:[28, 56, 94, 53], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [94, 53, 2]
Generated Node #2: [94, 53, 2] from Operation: 56/28=2
Current State: 39:[94, 53, 2], Operations: ['56/28=2']
Exploring Operation: 94-53=41, Resulting Numbers: [2, 41]
Generated Node #3: [2, 41] from Operation: 94-53=41
Current State: 39:[2, 41], Operations: ['56/28=2', '94-53=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[28, 56, 94, 53], Operations: []
Exploring Operation: 94-56=38, Resulting Numbers: [28, 53, 38]
Generated Node #0,0: 39:[28, 53, 38] Operation: 94-56=38
Exploring Operation: 94-28=66, Resulting Numbers: [56, 53, 66]
Generated Node #0,1: 39:[56, 53, 66] Operation: 94-28=66
Exploring Operation: 94-53=41, Resulting Numbers: [28, 56, 41]
Generated Node #0,2: 39:[28, 56, 41] Operation: 94-53=41
Exploring Operation: 56/28=2, Resulting Numbers: [94, 53, 2]
Generated Node #0,3: 39:[94, 53, 2] Operation: 56/28=2
Exploring Operation: 56-53=3, Resulting Numbers: [28, 94, 3]
Generated Node #0,4: 39:[28, 94, 3] Operation: 56-53=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[28, 53, 38], Operations: ['94-56=38']
Exploring Operation: 53-38=15, Resulting Numbers: [28, 15]
Generated Node #0,0,0: 39:[28, 15] Operation: 53-38=15
Exploring Operation: 28+38=66, Resulting Numbers: [53, 66]
Generated Node #0,0,1: 39:[53, 66] Operation: 28+38=66
Exploring Operation: 53-28=25, Resulting Numbers: [38, 25]
Generated Node #0,0,2: 39:[38, 25] Operation: 53-28=25
Exploring Operation: 38-28=10, Resulting Numbers: [53, 10]
Generated Node #0,0,3: 39:[53, 10] Operation: 38-28=10
Exploring Operation: 28+53=81, Resulting Numbers: [38, 81]
Generated Node #0,0,4: 39:[38, 81] Operation: 28+53=81
Moving to Node #0,0,0
Current State: 39:[28, 15], Operations: ['94-56=38', '53-38=15']
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,39 unequal: No Solution
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 28*15=420, Resulting Numbers: [420]
420,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[38, 25], Operations: ['94-56=38', '53-28=25']
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,39 unequal: No Solution
Exploring Operation: 38*25=950, Resulting Numbers: [950]
950,39 unequal: No Solution
Exploring Operation: 38+25=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[53, 10], Operations: ['94-56=38', '38-28=10']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 53+10=63, Resulting Numbers: [63]
63,39 unequal: No Solution
Exploring Operation: 53*10=530, Resulting Numbers: [530]
530,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[53, 66], Operations: ['94-56=38', '28+38=66']
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,39 unequal: No Solution
Exploring Operation: 53*66=3498, Resulting Numbers: [3498]
3498,39 unequal: No Solution
Exploring Operation: 53+66=119, Resulting Numbers: [119]
119,39 unequal: No Solution
Moving to Node #0,0,4
Current State: 39:[38, 81], Operations: ['94-56=38', '28+53=81']
Exploring Operation: 38+81=119, Resulting Numbers: [119]
119,39 unequal: No Solution
Exploring Operation: 38*81=3078, Resulting Numbers: [3078]
3078,39 unequal: No Solution
Exploring Operation: 81-38=43, Resulting Numbers: [43]
43,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[28, 56, 41], Operations: ['94-53=41']
Exploring Operation: 56-28=28, Resulting Numbers: [41, 28]
Generated Node #0,2,0: 39:[41, 28] Operation: 56-28=28
Exploring Operation: 56/28=2, Resulting Numbers: [41, 2]
Generated Node #0,2,1: 39:[41, 2] Operation: 56/28=2
Exploring Operation: 41-28=13, Resulting Numbers: [56, 13]
Generated Node #0,2,2: 39:[56, 13] Operation: 41-28=13
Exploring Operation: 28+56=84, Resulting Numbers: [41, 84]
Generated Node #0,2,3: 39:[41, 84] Operation: 28+56=84
Exploring Operation: 56-41=15, Resulting Numbers: [28, 15]
Generated Node #0,2,4: 39:[28, 15] Operation: 56-41=15
Moving to Node #0,2,1
Current State: 39:[41, 2], Operations: ['94-53=41', '56/28=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[28, 56, 94, 53], Operations: []
Exploring Operation: 94-53=41, Resulting Numbers: [28, 56, 41]
Generated Node #0,2: 39:[28, 56, 41] Operation: 94-53=41
Moving to Node #0,2
Current State: 39:[28, 56, 41], Operations: ['94-53=41']
Exploring Operation: 56/28=2, Resulting Numbers: [41, 2]
Generated Node #0,2,1: 39:[41, 2] Operation: 56/28=2
Moving to Node #0,2,1
Current State: 39:[41, 2], Operations: ['94-53=41', '56/28=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
87,
63,
90,
19
] | 47 | [
"87-63=24",
"90-19=71",
"71-24=47"
] | Current State: 47:[87, 63, 90, 19], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [90, 19, 24]
Generated Node #2: [90, 19, 24] from Operation: 87-63=24
Current State: 47:[90, 19, 24], Operations: ['87-63=24']
Exploring Operation: 90-19=71, Resulting Numbers: [24, 71]
Generated Node #3: [24, 71] from Operation: 90-19=71
Current State: 47:[24, 71], Operations: ['87-63=24', '90-19=71']
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[87, 63, 90, 19], Operations: []
Exploring Operation: 87-19=68, Resulting Numbers: [63, 90, 68]
Generated Node #0,0: 47:[63, 90, 68] Operation: 87-19=68
Exploring Operation: 63-19=44, Resulting Numbers: [87, 90, 44]
Generated Node #0,1: 47:[87, 90, 44] Operation: 63-19=44
Exploring Operation: 90-19=71, Resulting Numbers: [87, 63, 71]
Generated Node #0,2: 47:[87, 63, 71] Operation: 90-19=71
Moving to Node #0,0
Current State: 47:[63, 90, 68], Operations: ['87-19=68']
Exploring Operation: 90-63=27, Resulting Numbers: [68, 27]
Generated Node #0,0,0: 47:[68, 27] Operation: 90-63=27
Exploring Operation: 90-68=22, Resulting Numbers: [63, 22]
Generated Node #0,0,1: 47:[63, 22] Operation: 90-68=22
Exploring Operation: 68-63=5, Resulting Numbers: [90, 5]
Generated Node #0,0,2: 47:[90, 5] Operation: 68-63=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[68, 27], Operations: ['87-19=68', '90-63=27']
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 68+27=95, Resulting Numbers: [95]
95,47 unequal: No Solution
Exploring Operation: 68*27=1836, Resulting Numbers: [1836]
1836,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[63, 22], Operations: ['87-19=68', '90-68=22']
Exploring Operation: 63+22=85, Resulting Numbers: [85]
85,47 unequal: No Solution
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,47 unequal: No Solution
Exploring Operation: 63*22=1386, Resulting Numbers: [1386]
1386,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[90, 5], Operations: ['87-19=68', '68-63=5']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,47 unequal: No Solution
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 47:[87, 63, 71], Operations: ['90-19=71']
Exploring Operation: 87-71=16, Resulting Numbers: [63, 16]
Generated Node #0,2,0: 47:[63, 16] Operation: 87-71=16
Exploring Operation: 87-63=24, Resulting Numbers: [71, 24]
Generated Node #0,2,1: 47:[71, 24] Operation: 87-63=24
Exploring Operation: 71-63=8, Resulting Numbers: [87, 8]
Generated Node #0,2,2: 47:[87, 8] Operation: 71-63=8
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[63, 16], Operations: ['90-19=71', '87-71=16']
Exploring Operation: 63+16=79, Resulting Numbers: [79]
79,47 unequal: No Solution
Exploring Operation: 63*16=1008, Resulting Numbers: [1008]
1008,47 unequal: No Solution
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[87, 63, 90, 19], Operations: []
Exploring Operation: 90-19=71, Resulting Numbers: [87, 63, 71]
Generated Node #0,2: 47:[87, 63, 71] Operation: 90-19=71
Moving to Node #0,2
Current State: 47:[87, 63, 71], Operations: ['90-19=71']
Exploring Operation: 87-71=16, Resulting Numbers: [63, 16]
Generated Node #0,2,0: 47:[63, 16] Operation: 87-71=16
Moving to Node #0,2,0
Current State: 47:[63, 16], Operations: ['90-19=71', '87-71=16']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
20,
14,
73,
98
] | 70 | [
"20+73=93",
"98-93=5",
"14*5=70"
] | Current State: 70:[20, 14, 73, 98], Operations: []
Exploring Operation: 20+73=93, Resulting Numbers: [14, 98, 93]
Generated Node #2: [14, 98, 93] from Operation: 20+73=93
Current State: 70:[14, 98, 93], Operations: ['20+73=93']
Exploring Operation: 98-93=5, Resulting Numbers: [14, 5]
Generated Node #3: [14, 5] from Operation: 98-93=5
Current State: 70:[14, 5], Operations: ['20+73=93', '98-93=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[20, 14, 73, 98], Operations: []
Exploring Operation: 98/14=7, Resulting Numbers: [20, 73, 7]
Generated Node #0,0: 70:[20, 73, 7] Operation: 98/14=7
Exploring Operation: 98-20=78, Resulting Numbers: [14, 73, 78]
Generated Node #0,1: 70:[14, 73, 78] Operation: 98-20=78
Moving to Node #0,0
Current State: 70:[20, 73, 7], Operations: ['98/14=7']
Exploring Operation: 73-7=66, Resulting Numbers: [20, 66]
Generated Node #0,0,0: 70:[20, 66] Operation: 73-7=66
Exploring Operation: 20-7=13, Resulting Numbers: [73, 13]
Generated Node #0,0,1: 70:[73, 13] Operation: 20-7=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[73, 13], Operations: ['98/14=7', '20-7=13']
Exploring Operation: 73-13=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 73+13=86, Resulting Numbers: [86]
86,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[20, 66], Operations: ['98/14=7', '73-7=66']
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Exploring Operation: 20+66=86, Resulting Numbers: [86]
86,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 70:[14, 73, 78], Operations: ['98-20=78']
Exploring Operation: 78-14=64, Resulting Numbers: [73, 64]
Generated Node #0,1,0: 70:[73, 64] Operation: 78-14=64
Exploring Operation: 78-73=5, Resulting Numbers: [14, 5]
Generated Node #0,1,1: 70:[14, 5] Operation: 78-73=5
Moving to Node #0,1,1
Current State: 70:[14, 5], Operations: ['98-20=78', '78-73=5']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[20, 14, 73, 98], Operations: []
Exploring Operation: 98-20=78, Resulting Numbers: [14, 73, 78]
Generated Node #0,1: 70:[14, 73, 78] Operation: 98-20=78
Moving to Node #0,1
Current State: 70:[14, 73, 78], Operations: ['98-20=78']
Exploring Operation: 78-73=5, Resulting Numbers: [14, 5]
Generated Node #0,1,1: 70:[14, 5] Operation: 78-73=5
Moving to Node #0,1,1
Current State: 70:[14, 5], Operations: ['98-20=78', '78-73=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
30,
70,
72,
63
] | 91 | [
"30+70=100",
"72-63=9",
"100-9=91"
] | Current State: 91:[30, 70, 72, 63], Operations: []
Exploring Operation: 30+70=100, Resulting Numbers: [72, 63, 100]
Generated Node #2: [72, 63, 100] from Operation: 30+70=100
Current State: 91:[72, 63, 100], Operations: ['30+70=100']
Exploring Operation: 72-63=9, Resulting Numbers: [100, 9]
Generated Node #3: [100, 9] from Operation: 72-63=9
Current State: 91:[100, 9], Operations: ['30+70=100', '72-63=9']
Exploring Operation: 100-9=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[30, 70, 72, 63], Operations: []
Exploring Operation: 30+70=100, Resulting Numbers: [72, 63, 100]
Generated Node #0,0: 91:[72, 63, 100] Operation: 30+70=100
Exploring Operation: 70-63=7, Resulting Numbers: [30, 72, 7]
Generated Node #0,1: 91:[30, 72, 7] Operation: 70-63=7
Exploring Operation: 30+63=93, Resulting Numbers: [70, 72, 93]
Generated Node #0,2: 91:[70, 72, 93] Operation: 30+63=93
Exploring Operation: 72-70=2, Resulting Numbers: [30, 63, 2]
Generated Node #0,3: 91:[30, 63, 2] Operation: 72-70=2
Exploring Operation: 72-63=9, Resulting Numbers: [30, 70, 9]
Generated Node #0,4: 91:[30, 70, 9] Operation: 72-63=9
Moving to Node #0,1
Current State: 91:[30, 72, 7], Operations: ['70-63=7']
Exploring Operation: 72-30=42, Resulting Numbers: [7, 42]
Generated Node #0,1,0: 91:[7, 42] Operation: 72-30=42
Exploring Operation: 30-7=23, Resulting Numbers: [72, 23]
Generated Node #0,1,1: 91:[72, 23] Operation: 30-7=23
Exploring Operation: 30+7=37, Resulting Numbers: [72, 37]
Generated Node #0,1,2: 91:[72, 37] Operation: 30+7=37
Exploring Operation: 30+72=102, Resulting Numbers: [7, 102]
Generated Node #0,1,3: 91:[7, 102] Operation: 30+72=102
Exploring Operation: 72+7=79, Resulting Numbers: [30, 79]
Generated Node #0,1,4: 91:[30, 79] Operation: 72+7=79
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[7, 102], Operations: ['70-63=7', '30+72=102']
Exploring Operation: 7+102=109, Resulting Numbers: [109]
109,91 unequal: No Solution
Exploring Operation: 7*102=714, Resulting Numbers: [714]
714,91 unequal: No Solution
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[7, 42], Operations: ['70-63=7', '72-30=42']
Exploring Operation: 7*42=294, Resulting Numbers: [294]
294,91 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,91 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[72, 23], Operations: ['70-63=7', '30-7=23']
Exploring Operation: 72+23=95, Resulting Numbers: [95]
95,91 unequal: No Solution
Exploring Operation: 72*23=1656, Resulting Numbers: [1656]
1656,91 unequal: No Solution
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 91:[30, 79], Operations: ['70-63=7', '72+7=79']
Exploring Operation: 30*79=2370, Resulting Numbers: [2370]
2370,91 unequal: No Solution
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,91 unequal: No Solution
Exploring Operation: 30+79=109, Resulting Numbers: [109]
109,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[72, 37], Operations: ['70-63=7', '30+7=37']
Exploring Operation: 72*37=2664, Resulting Numbers: [2664]
2664,91 unequal: No Solution
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,91 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,91 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: 91:[30, 70, 9], Operations: ['72-63=9']
Exploring Operation: 30+70=100, Resulting Numbers: [9, 100]
Generated Node #0,4,0: 91:[9, 100] Operation: 30+70=100
Exploring Operation: 70-30=40, Resulting Numbers: [9, 40]
Generated Node #0,4,1: 91:[9, 40] Operation: 70-30=40
Exploring Operation: 30+9=39, Resulting Numbers: [70, 39]
Generated Node #0,4,2: 91:[70, 39] Operation: 30+9=39
Exploring Operation: 70+9=79, Resulting Numbers: [30, 79]
Generated Node #0,4,3: 91:[30, 79] Operation: 70+9=79
Exploring Operation: 30-9=21, Resulting Numbers: [70, 21]
Generated Node #0,4,4: 91:[70, 21] Operation: 30-9=21
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 91:[9, 100], Operations: ['72-63=9', '30+70=100']
Exploring Operation: 100-9=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[30, 70, 72, 63], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [30, 70, 9]
Generated Node #0,4: 91:[30, 70, 9] Operation: 72-63=9
Moving to Node #0,4
Current State: 91:[30, 70, 9], Operations: ['72-63=9']
Exploring Operation: 30+70=100, Resulting Numbers: [9, 100]
Generated Node #0,4,0: 91:[9, 100] Operation: 30+70=100
Moving to Node #0,4,0
Current State: 91:[9, 100], Operations: ['72-63=9', '30+70=100']
Exploring Operation: 100-9=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
13,
87,
52,
16
] | 32 | [
"13+87=100",
"52+16=68",
"100-68=32"
] | Current State: 32:[13, 87, 52, 16], Operations: []
Exploring Operation: 13+87=100, Resulting Numbers: [52, 16, 100]
Generated Node #2: [52, 16, 100] from Operation: 13+87=100
Current State: 32:[52, 16, 100], Operations: ['13+87=100']
Exploring Operation: 52+16=68, Resulting Numbers: [100, 68]
Generated Node #3: [100, 68] from Operation: 52+16=68
Current State: 32:[100, 68], Operations: ['13+87=100', '52+16=68']
Exploring Operation: 100-68=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[13, 87, 52, 16], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [87, 16, 4]
Generated Node #0,0: 32:[87, 16, 4] Operation: 52/13=4
Exploring Operation: 87-52=35, Resulting Numbers: [13, 16, 35]
Generated Node #0,1: 32:[13, 16, 35] Operation: 87-52=35
Exploring Operation: 52-13=39, Resulting Numbers: [87, 16, 39]
Generated Node #0,2: 32:[87, 16, 39] Operation: 52-13=39
Exploring Operation: 87-13=74, Resulting Numbers: [52, 16, 74]
Generated Node #0,3: 32:[52, 16, 74] Operation: 87-13=74
Moving to Node #0,1
Current State: 32:[13, 16, 35], Operations: ['87-52=35']
Exploring Operation: 35-13=22, Resulting Numbers: [16, 22]
Generated Node #0,1,0: 32:[16, 22] Operation: 35-13=22
Exploring Operation: 13+16=29, Resulting Numbers: [35, 29]
Generated Node #0,1,1: 32:[35, 29] Operation: 13+16=29
Exploring Operation: 35-16=19, Resulting Numbers: [13, 19]
Generated Node #0,1,2: 32:[13, 19] Operation: 35-16=19
Exploring Operation: 16-13=3, Resulting Numbers: [35, 3]
Generated Node #0,1,3: 32:[35, 3] Operation: 16-13=3
Moving to Node #0,0
Current State: 32:[87, 16, 4], Operations: ['52/13=4']
Exploring Operation: 87-4=83, Resulting Numbers: [16, 83]
Generated Node #0,0,0: 32:[16, 83] Operation: 87-4=83
Exploring Operation: 87-16=71, Resulting Numbers: [4, 71]
Generated Node #0,0,1: 32:[4, 71] Operation: 87-16=71
Exploring Operation: 87+4=91, Resulting Numbers: [16, 91]
Generated Node #0,0,2: 32:[16, 91] Operation: 87+4=91
Exploring Operation: 16/4=4, Resulting Numbers: [87, 4]
Generated Node #0,0,3: 32:[87, 4] Operation: 16/4=4
Moving to Node #0,3
Current State: 32:[52, 16, 74], Operations: ['87-13=74']
Exploring Operation: 74-52=22, Resulting Numbers: [16, 22]
Generated Node #0,3,0: 32:[16, 22] Operation: 74-52=22
Exploring Operation: 52-16=36, Resulting Numbers: [74, 36]
Generated Node #0,3,1: 32:[74, 36] Operation: 52-16=36
Exploring Operation: 74-16=58, Resulting Numbers: [52, 58]
Generated Node #0,3,2: 32:[52, 58] Operation: 74-16=58
Exploring Operation: 52+16=68, Resulting Numbers: [74, 68]
Generated Node #0,3,3: 32:[74, 68] Operation: 52+16=68
Moving to Node #0,2
Current State: 32:[87, 16, 39], Operations: ['52-13=39']
Exploring Operation: 39-16=23, Resulting Numbers: [87, 23]
Generated Node #0,2,0: 32:[87, 23] Operation: 39-16=23
Exploring Operation: 87+16=103, Resulting Numbers: [39, 103]
Generated Node #0,2,1: 32:[39, 103] Operation: 87+16=103
Exploring Operation: 87-16=71, Resulting Numbers: [39, 71]
Generated Node #0,2,2: 32:[39, 71] Operation: 87-16=71
Exploring Operation: 87-39=48, Resulting Numbers: [16, 48]
Generated Node #0,2,3: 32:[16, 48] Operation: 87-39=48
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 32:[16, 48], Operations: ['52-13=39', '87-39=48']
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,32 unequal: No Solution
Exploring Operation: 16*48=768, Resulting Numbers: [768]
768,32 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[13, 87, 52, 16], Operations: []
Exploring Operation: 52-13=39, Resulting Numbers: [87, 16, 39]
Generated Node #0,2: 32:[87, 16, 39] Operation: 52-13=39
Moving to Node #0,2
Current State: 32:[87, 16, 39], Operations: ['52-13=39']
Exploring Operation: 87-39=48, Resulting Numbers: [16, 48]
Generated Node #0,2,3: 32:[16, 48] Operation: 87-39=48
Moving to Node #0,2,3
Current State: 32:[16, 48], Operations: ['52-13=39', '87-39=48']
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_4 | sum_heuristic |
[
33,
2,
8,
69
] | 22 | [
"33-8=25",
"69-25=44",
"44/2=22"
] | Current State: 22:[33, 2, 8, 69], Operations: []
Exploring Operation: 33-8=25, Resulting Numbers: [2, 69, 25]
Generated Node #2: [2, 69, 25] from Operation: 33-8=25
Current State: 22:[2, 69, 25], Operations: ['33-8=25']
Exploring Operation: 69-25=44, Resulting Numbers: [2, 44]
Generated Node #3: [2, 44] from Operation: 69-25=44
Current State: 22:[2, 44], Operations: ['33-8=25', '69-25=44']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[33, 2, 8, 69], Operations: []
Exploring Operation: 2+8=10, Resulting Numbers: [33, 69, 10]
Generated Node #0,0: 22:[33, 69, 10] Operation: 2+8=10
Exploring Operation: 33-8=25, Resulting Numbers: [2, 69, 25]
Generated Node #0,1: 22:[2, 69, 25] Operation: 33-8=25
Exploring Operation: 33-2=31, Resulting Numbers: [8, 69, 31]
Generated Node #0,2: 22:[8, 69, 31] Operation: 33-2=31
Exploring Operation: 69-8=61, Resulting Numbers: [33, 2, 61]
Generated Node #0,3: 22:[33, 2, 61] Operation: 69-8=61
Exploring Operation: 69-33=36, Resulting Numbers: [2, 8, 36]
Generated Node #0,4: 22:[2, 8, 36] Operation: 69-33=36
Start Sub Search at level 1: Moving to Node #0,4
Current State: 22:[2, 8, 36], Operations: ['69-33=36']
Exploring Operation: 36-8=28, Resulting Numbers: [2, 28]
Generated Node #0,4,0: 22:[2, 28] Operation: 36-8=28
Exploring Operation: 36-2=34, Resulting Numbers: [8, 34]
Generated Node #0,4,1: 22:[8, 34] Operation: 36-2=34
Exploring Operation: 36/2=18, Resulting Numbers: [8, 18]
Generated Node #0,4,2: 22:[8, 18] Operation: 36/2=18
Exploring Operation: 2+8=10, Resulting Numbers: [36, 10]
Generated Node #0,4,3: 22:[36, 10] Operation: 2+8=10
Exploring Operation: 8/2=4, Resulting Numbers: [36, 4]
Generated Node #0,4,4: 22:[36, 4] Operation: 8/2=4
Moving to Node #0,4,0
Current State: 22:[2, 28], Operations: ['69-33=36', '36-8=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,22 unequal: No Solution
Moving to Node #0,4,2
Current State: 22:[8, 18], Operations: ['69-33=36', '36/2=18']
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,22 unequal: No Solution
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,22 unequal: No Solution
Moving to Node #0,4,1
Current State: 22:[8, 34], Operations: ['69-33=36', '36-2=34']
Exploring Operation: 8+34=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 8*34=272, Resulting Numbers: [272]
272,22 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Moving to Node #0,4,3
Current State: 22:[36, 10], Operations: ['69-33=36', '2+8=10']
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Exploring Operation: 36*10=360, Resulting Numbers: [360]
360,22 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Moving to Node #0,4,4
Current State: 22:[36, 4], Operations: ['69-33=36', '8/2=4']
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,22 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[2, 69, 25], Operations: ['33-8=25']
Exploring Operation: 69-2=67, Resulting Numbers: [25, 67]
Generated Node #0,1,0: 22:[25, 67] Operation: 69-2=67
Exploring Operation: 2+69=71, Resulting Numbers: [25, 71]
Generated Node #0,1,1: 22:[25, 71] Operation: 2+69=71
Exploring Operation: 69-25=44, Resulting Numbers: [2, 44]
Generated Node #0,1,2: 22:[2, 44] Operation: 69-25=44
Exploring Operation: 25-2=23, Resulting Numbers: [69, 23]
Generated Node #0,1,3: 22:[69, 23] Operation: 25-2=23
Exploring Operation: 2+25=27, Resulting Numbers: [69, 27]
Generated Node #0,1,4: 22:[69, 27] Operation: 2+25=27
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 22:[2, 44], Operations: ['33-8=25', '69-25=44']
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,22 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[33, 2, 8, 69], Operations: []
Exploring Operation: 33-8=25, Resulting Numbers: [2, 69, 25]
Generated Node #0,1: 22:[2, 69, 25] Operation: 33-8=25
Moving to Node #0,1
Current State: 22:[2, 69, 25], Operations: ['33-8=25']
Exploring Operation: 69-25=44, Resulting Numbers: [2, 44]
Generated Node #0,1,2: 22:[2, 44] Operation: 69-25=44
Moving to Node #0,1,2
Current State: 22:[2, 44], Operations: ['33-8=25', '69-25=44']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.966146 | hs_5 | sum_heuristic |
[
13,
50,
90,
95
] | 60 | [
"13+95=108",
"50*108=5400",
"5400/90=60"
] | Current State: 60:[13, 50, 90, 95], Operations: []
Exploring Operation: 13+95=108, Resulting Numbers: [50, 90, 108]
Generated Node #2: [50, 90, 108] from Operation: 13+95=108
Current State: 60:[50, 90, 108], Operations: ['13+95=108']
Exploring Operation: 50*108=5400, Resulting Numbers: [90, 5400]
Generated Node #3: [90, 5400] from Operation: 50*108=5400
Current State: 60:[90, 5400], Operations: ['13+95=108', '50*108=5400']
Exploring Operation: 5400/90=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[13, 50, 90, 95], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [13, 50, 5]
Generated Node #0,0: 60:[13, 50, 5] Operation: 95-90=5
Exploring Operation: 95-13=82, Resulting Numbers: [50, 90, 82]
Generated Node #0,1: 60:[50, 90, 82] Operation: 95-13=82
Exploring Operation: 90-50=40, Resulting Numbers: [13, 95, 40]
Generated Node #0,2: 60:[13, 95, 40] Operation: 90-50=40
Exploring Operation: 90-13=77, Resulting Numbers: [50, 95, 77]
Generated Node #0,3: 60:[50, 95, 77] Operation: 90-13=77
Exploring Operation: 95-50=45, Resulting Numbers: [13, 90, 45]
Generated Node #0,4: 60:[13, 90, 45] Operation: 95-50=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[13, 50, 5], Operations: ['95-90=5']
Exploring Operation: 13+5=18, Resulting Numbers: [50, 18]
Generated Node #0,0,0: 60:[50, 18] Operation: 13+5=18
Exploring Operation: 50/5=10, Resulting Numbers: [13, 10]
Generated Node #0,0,1: 60:[13, 10] Operation: 50/5=10
Exploring Operation: 50+5=55, Resulting Numbers: [13, 55]
Generated Node #0,0,2: 60:[13, 55] Operation: 50+5=55
Exploring Operation: 13+50=63, Resulting Numbers: [5, 63]
Generated Node #0,0,3: 60:[5, 63] Operation: 13+50=63
Exploring Operation: 50-13=37, Resulting Numbers: [5, 37]
Generated Node #0,0,4: 60:[5, 37] Operation: 50-13=37
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[13, 10], Operations: ['95-90=5', '50/5=10']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,60 unequal: No Solution
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 60:[5, 63], Operations: ['95-90=5', '13+50=63']
Exploring Operation: 5+63=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 5*63=315, Resulting Numbers: [315]
315,60 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 60:[13, 55], Operations: ['95-90=5', '50+5=55']
Exploring Operation: 13*55=715, Resulting Numbers: [715]
715,60 unequal: No Solution
Exploring Operation: 13+55=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 60:[5, 37], Operations: ['95-90=5', '50-13=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[50, 18], Operations: ['95-90=5', '13+5=18']
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 50*18=900, Resulting Numbers: [900]
900,60 unequal: No Solution
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[13, 95, 40], Operations: ['90-50=40']
Exploring Operation: 95-13=82, Resulting Numbers: [40, 82]
Generated Node #0,2,0: 60:[40, 82] Operation: 95-13=82
Exploring Operation: 40-13=27, Resulting Numbers: [95, 27]
Generated Node #0,2,1: 60:[95, 27] Operation: 40-13=27
Exploring Operation: 13+95=108, Resulting Numbers: [40, 108]
Generated Node #0,2,2: 60:[40, 108] Operation: 13+95=108
Exploring Operation: 95-40=55, Resulting Numbers: [13, 55]
Generated Node #0,2,3: 60:[13, 55] Operation: 95-40=55
Exploring Operation: 13+40=53, Resulting Numbers: [95, 53]
Generated Node #0,2,4: 60:[95, 53] Operation: 13+40=53
Moving to Node #0,2,3
Current State: 60:[13, 55], Operations: ['90-50=40', '95-40=55']
Exploring Operation: 13*55=715, Resulting Numbers: [715]
715,60 unequal: No Solution
Exploring Operation: 13+55=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[40, 82], Operations: ['90-50=40', '95-13=82']
Exploring Operation: 40+82=122, Resulting Numbers: [122]
122,60 unequal: No Solution
Exploring Operation: 40*82=3280, Resulting Numbers: [3280]
3280,60 unequal: No Solution
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[95, 27], Operations: ['90-50=40', '40-13=27']
Exploring Operation: 95*27=2565, Resulting Numbers: [2565]
2565,60 unequal: No Solution
Exploring Operation: 95-27=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 95+27=122, Resulting Numbers: [122]
122,60 unequal: No Solution
Moving to Node #0,2,4
Current State: 60:[95, 53], Operations: ['90-50=40', '13+40=53']
Exploring Operation: 95+53=148, Resulting Numbers: [148]
148,60 unequal: No Solution
Exploring Operation: 95*53=5035, Resulting Numbers: [5035]
5035,60 unequal: No Solution
Exploring Operation: 95-53=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[40, 108], Operations: ['90-50=40', '13+95=108']
Exploring Operation: 40*108=4320, Resulting Numbers: [4320]
4320,60 unequal: No Solution
Exploring Operation: 40+108=148, Resulting Numbers: [148]
148,60 unequal: No Solution
Exploring Operation: 108-40=68, Resulting Numbers: [68]
68,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 60:[13, 90, 45], Operations: ['95-50=45']
Exploring Operation: 90-45=45, Resulting Numbers: [13, 45]
Generated Node #0,4,0: 60:[13, 45] Operation: 90-45=45
Exploring Operation: 45-13=32, Resulting Numbers: [90, 32]
Generated Node #0,4,1: 60:[90, 32] Operation: 45-13=32
Exploring Operation: 90-13=77, Resulting Numbers: [45, 77]
Generated Node #0,4,2: 60:[45, 77] Operation: 90-13=77
Exploring Operation: 90/45=2, Resulting Numbers: [13, 2]
Generated Node #0,4,3: 60:[13, 2] Operation: 90/45=2
Exploring Operation: 13+45=58, Resulting Numbers: [90, 58]
Generated Node #0,4,4: 60:[90, 58] Operation: 13+45=58
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 60:[13, 2], Operations: ['95-50=45', '90/45=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 60:[13, 45], Operations: ['95-50=45', '90-45=45']
Exploring Operation: 13*45=585, Resulting Numbers: [585]
585,60 unequal: No Solution
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 60:[90, 32], Operations: ['95-50=45', '45-13=32']
Exploring Operation: 90+32=122, Resulting Numbers: [122]
122,60 unequal: No Solution
Exploring Operation: 90*32=2880, Resulting Numbers: [2880]
2880,60 unequal: No Solution
Exploring Operation: 90-32=58, Resulting Numbers: [58]
58,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 60:[45, 77], Operations: ['95-50=45', '90-13=77']
Exploring Operation: 45+77=122, Resulting Numbers: [122]
122,60 unequal: No Solution
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 45*77=3465, Resulting Numbers: [3465]
3465,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 60:[90, 58], Operations: ['95-50=45', '13+45=58']
Exploring Operation: 90-58=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 90*58=5220, Resulting Numbers: [5220]
5220,60 unequal: No Solution
Exploring Operation: 90+58=148, Resulting Numbers: [148]
148,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:[50, 90, 82], Operations: ['95-13=82']
Exploring Operation: 82-50=32, Resulting Numbers: [90, 32]
Generated Node #0,1,0: 60:[90, 32] Operation: 82-50=32
Exploring Operation: 90-50=40, Resulting Numbers: [82, 40]
Generated Node #0,1,1: 60:[82, 40] Operation: 90-50=40
Exploring Operation: 50+82=132, Resulting Numbers: [90, 132]
Generated Node #0,1,2: 60:[90, 132] Operation: 50+82=132
Exploring Operation: 90-82=8, Resulting Numbers: [50, 8]
Generated Node #0,1,3: 60:[50, 8] Operation: 90-82=8
Exploring Operation: 50+90=140, Resulting Numbers: [82, 140]
Generated Node #0,1,4: 60:[82, 140] Operation: 50+90=140
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 60:[50, 8], Operations: ['95-13=82', '90-82=8']
Exploring Operation: 50*8=400, Resulting Numbers: [400]
400,60 unequal: No Solution
Exploring Operation: 50+8=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,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:[90, 32], Operations: ['95-13=82', '82-50=32']
Exploring Operation: 90+32=122, Resulting Numbers: [122]
122,60 unequal: No Solution
Exploring Operation: 90*32=2880, Resulting Numbers: [2880]
2880,60 unequal: No Solution
Exploring Operation: 90-32=58, Resulting Numbers: [58]
58,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[82, 40], Operations: ['95-13=82', '90-50=40']
Exploring Operation: 82+40=122, Resulting Numbers: [122]
122,60 unequal: No Solution
Exploring Operation: 82*40=3280, Resulting Numbers: [3280]
3280,60 unequal: No Solution
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,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:[90, 132], Operations: ['95-13=82', '50+82=132']
Exploring Operation: 90+132=222, Resulting Numbers: [222]
222,60 unequal: No Solution
Exploring Operation: 90*132=11880, Resulting Numbers: [11880]
11880,60 unequal: No Solution
Exploring Operation: 132-90=42, Resulting Numbers: [42]
42,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 60:[82, 140], Operations: ['95-13=82', '50+90=140']
Exploring Operation: 140-82=58, Resulting Numbers: [58]
58,60 unequal: No Solution
Exploring Operation: 82+140=222, Resulting Numbers: [222]
222,60 unequal: No Solution
Exploring Operation: 82*140=11480, Resulting Numbers: [11480]
11480,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:[50, 95, 77], Operations: ['90-13=77']
Exploring Operation: 77-50=27, Resulting Numbers: [95, 27]
Generated Node #0,3,0: 60:[95, 27] Operation: 77-50=27
Exploring Operation: 50+77=127, Resulting Numbers: [95, 127]
Generated Node #0,3,1: 60:[95, 127] Operation: 50+77=127
Exploring Operation: 95-77=18, Resulting Numbers: [50, 18]
Generated Node #0,3,2: 60:[50, 18] Operation: 95-77=18
Exploring Operation: 95-50=45, Resulting Numbers: [77, 45]
Generated Node #0,3,3: 60:[77, 45] Operation: 95-50=45
Exploring Operation: 50+95=145, Resulting Numbers: [77, 145]
Generated Node #0,3,4: 60:[77, 145] Operation: 50+95=145
Moving to Node #0,3,2
Current State: 60:[50, 18], Operations: ['90-13=77', '95-77=18']
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 50*18=900, Resulting Numbers: [900]
900,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[77, 45], Operations: ['90-13=77', '95-50=45']
Exploring Operation: 77*45=3465, Resulting Numbers: [3465]
3465,60 unequal: No Solution
Exploring Operation: 77+45=122, Resulting Numbers: [122]
122,60 unequal: No Solution
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[95, 27], Operations: ['90-13=77', '77-50=27']
Exploring Operation: 95-27=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 95*27=2565, Resulting Numbers: [2565]
2565,60 unequal: No Solution
Exploring Operation: 95+27=122, Resulting Numbers: [122]
122,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[95, 127], Operations: ['90-13=77', '50+77=127']
Exploring Operation: 127-95=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 95+127=222, Resulting Numbers: [222]
222,60 unequal: No Solution
Exploring Operation: 95*127=12065, Resulting Numbers: [12065]
12065,60 unequal: No Solution
Moving to Node #0,3,4
Current State: 60:[77, 145], Operations: ['90-13=77', '50+95=145']
Exploring Operation: 77*145=11165, Resulting Numbers: [11165]
11165,60 unequal: No Solution
Exploring Operation: 77+145=222, Resulting Numbers: [222]
222,60 unequal: No Solution
Exploring Operation: 145-77=68, Resulting Numbers: [68]
68,60 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 |
[
75,
39,
81,
8
] | 41 | [
"75+39=114",
"81-8=73",
"114-73=41"
] | Current State: 41:[75, 39, 81, 8], Operations: []
Exploring Operation: 75+39=114, Resulting Numbers: [81, 8, 114]
Generated Node #2: [81, 8, 114] from Operation: 75+39=114
Current State: 41:[81, 8, 114], Operations: ['75+39=114']
Exploring Operation: 81-8=73, Resulting Numbers: [114, 73]
Generated Node #3: [114, 73] from Operation: 81-8=73
Current State: 41:[114, 73], Operations: ['75+39=114', '81-8=73']
Exploring Operation: 114-73=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[75, 39, 81, 8], Operations: []
Exploring Operation: 75-8=67, Resulting Numbers: [39, 81, 67]
Generated Node #0,0: 41:[39, 81, 67] Operation: 75-8=67
Exploring Operation: 81-8=73, Resulting Numbers: [75, 39, 73]
Generated Node #0,1: 41:[75, 39, 73] Operation: 81-8=73
Exploring Operation: 81-39=42, Resulting Numbers: [75, 8, 42]
Generated Node #0,2: 41:[75, 8, 42] Operation: 81-39=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[39, 81, 67], Operations: ['75-8=67']
Exploring Operation: 67-39=28, Resulting Numbers: [81, 28]
Generated Node #0,0,0: 41:[81, 28] Operation: 67-39=28
Exploring Operation: 81-39=42, Resulting Numbers: [67, 42]
Generated Node #0,0,1: 41:[67, 42] Operation: 81-39=42
Exploring Operation: 81-67=14, Resulting Numbers: [39, 14]
Generated Node #0,0,2: 41:[39, 14] Operation: 81-67=14
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[67, 42], Operations: ['75-8=67', '81-39=42']
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 67+42=109, Resulting Numbers: [109]
109,41 unequal: No Solution
Exploring Operation: 67*42=2814, Resulting Numbers: [2814]
2814,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 41:[39, 14], Operations: ['75-8=67', '81-67=14']
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,41 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[81, 28], Operations: ['75-8=67', '67-39=28']
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,41 unequal: No Solution
Exploring Operation: 81*28=2268, Resulting Numbers: [2268]
2268,41 unequal: No Solution
Exploring Operation: 81+28=109, Resulting Numbers: [109]
109,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[75, 39, 73], Operations: ['81-8=73']
Exploring Operation: 73-39=34, Resulting Numbers: [75, 34]
Generated Node #0,1,0: 41:[75, 34] Operation: 73-39=34
Exploring Operation: 75-39=36, Resulting Numbers: [73, 36]
Generated Node #0,1,1: 41:[73, 36] Operation: 75-39=36
Exploring Operation: 75-73=2, Resulting Numbers: [39, 2]
Generated Node #0,1,2: 41:[39, 2] Operation: 75-73=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[73, 36], Operations: ['81-8=73', '75-39=36']
Exploring Operation: 73*36=2628, Resulting Numbers: [2628]
2628,41 unequal: No Solution
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,41 unequal: No Solution
Exploring Operation: 73+36=109, Resulting Numbers: [109]
109,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[75, 34], Operations: ['81-8=73', '73-39=34']
Exploring Operation: 75+34=109, Resulting Numbers: [109]
109,41 unequal: No Solution
Exploring Operation: 75*34=2550, Resulting Numbers: [2550]
2550,41 unequal: No Solution
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[75, 39, 81, 8], Operations: []
Exploring Operation: 81-8=73, Resulting Numbers: [75, 39, 73]
Generated Node #0,1: 41:[75, 39, 73] Operation: 81-8=73
Moving to Node #0,1
Current State: 41:[75, 39, 73], Operations: ['81-8=73']
Exploring Operation: 73-39=34, Resulting Numbers: [75, 34]
Generated Node #0,1,0: 41:[75, 34] Operation: 73-39=34
Moving to Node #0,1,0
Current State: 41:[75, 34], Operations: ['81-8=73', '73-39=34']
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.975694 | hs_3 | sum_heuristic |
[
72,
75,
5,
56
] | 96 | [
"72+75=147",
"56-5=51",
"147-51=96"
] | Current State: 96:[72, 75, 5, 56], Operations: []
Exploring Operation: 72+75=147, Resulting Numbers: [5, 56, 147]
Generated Node #2: [5, 56, 147] from Operation: 72+75=147
Current State: 96:[5, 56, 147], Operations: ['72+75=147']
Exploring Operation: 56-5=51, Resulting Numbers: [147, 51]
Generated Node #3: [147, 51] from Operation: 56-5=51
Current State: 96:[147, 51], Operations: ['72+75=147', '56-5=51']
Exploring Operation: 147-51=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[72, 75, 5, 56], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [75, 5, 16]
Generated Node #0,0: 96:[75, 5, 16] Operation: 72-56=16
Exploring Operation: 75-72=3, Resulting Numbers: [5, 56, 3]
Generated Node #0,1: 96:[5, 56, 3] Operation: 75-72=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[5, 56, 3], Operations: ['75-72=3']
Exploring Operation: 56-5=51, Resulting Numbers: [3, 51]
Generated Node #0,1,0: 96:[3, 51] Operation: 56-5=51
Exploring Operation: 56-3=53, Resulting Numbers: [5, 53]
Generated Node #0,1,1: 96:[5, 53] Operation: 56-3=53
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[3, 51], Operations: ['75-72=3', '56-5=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 51-3=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,1
Current State: 96:[5, 53], Operations: ['75-72=3', '56-3=53']
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,96 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,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:[75, 5, 16], Operations: ['72-56=16']
Exploring Operation: 75+16=91, Resulting Numbers: [5, 91]
Generated Node #0,0,0: 96:[5, 91] Operation: 75+16=91
Exploring Operation: 75/5=15, Resulting Numbers: [16, 15]
Generated Node #0,0,1: 96:[16, 15] Operation: 75/5=15
Moving to Node #0,0,1
Current State: 96:[16, 15], Operations: ['72-56=16', '75/5=15']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[5, 91], Operations: ['72-56=16', '75+16=91']
Exploring Operation: 5+91=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[72, 75, 5, 56], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [75, 5, 16]
Generated Node #0,0: 96:[75, 5, 16] Operation: 72-56=16
Moving to Node #0,0
Current State: 96:[75, 5, 16], Operations: ['72-56=16']
Exploring Operation: 75+16=91, Resulting Numbers: [5, 91]
Generated Node #0,0,0: 96:[5, 91] Operation: 75+16=91
Moving to Node #0,0,0
Current State: 96:[5, 91], Operations: ['72-56=16', '75+16=91']
Exploring Operation: 5+91=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.