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 |
|---|---|---|---|---|---|---|---|---|
[
35,
40,
42,
70
] | 48 | [
"70-35=35",
"40*42=1680",
"1680/35=48"
] | Current State: 48:[35, 40, 42, 70], Operations: []
Exploring Operation: 70-35=35, Resulting Numbers: [40, 42, 35]
Generated Node #2: [40, 42, 35] from Operation: 70-35=35
Current State: 48:[40, 42, 35], Operations: ['70-35=35']
Exploring Operation: 40*42=1680, Resulting Numbers: [35, 1680]
Generated Node #3: [35, 1680] from Operation: 40*42=1680
Current State: 48:[35, 1680], Operations: ['70-35=35', '40*42=1680']
Exploring Operation: 1680/35=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[35, 40, 42, 70], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [40, 42, 2]
Generated Node #0,0: 48:[40, 42, 2] Operation: 70/35=2
Exploring Operation: 70-40=30, Resulting Numbers: [35, 42, 30]
Generated Node #0,1: 48:[35, 42, 30] Operation: 70-40=30
Moving to Node #0,0
Current State: 48:[40, 42, 2], Operations: ['70/35=2']
Exploring Operation: 40/2=20, Resulting Numbers: [42, 20]
Generated Node #0,0,0: 48:[42, 20] Operation: 40/2=20
Exploring Operation: 42-40=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 48:[2, 2] Operation: 42-40=2
Moving to Node #0,1
Current State: 48:[35, 42, 30], Operations: ['70-40=30']
Exploring Operation: 42-35=7, Resulting Numbers: [30, 7]
Generated Node #0,1,0: 48:[30, 7] Operation: 42-35=7
Exploring Operation: 35-30=5, Resulting Numbers: [42, 5]
Generated Node #0,1,1: 48:[42, 5] Operation: 35-30=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[30, 7], Operations: ['70-40=30', '42-35=7']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,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:[42, 5], Operations: ['70-40=30', '35-30=5']
Exploring Operation: 42+5=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,48 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: 48:[2, 2], Operations: ['70/35=2', '42-40=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[42, 20], Operations: ['70/35=2', '40/2=20']
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,48 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
16,
68,
81,
95
] | 98 | [
"16+68=84",
"95-81=14",
"84+14=98"
] | Current State: 98:[16, 68, 81, 95], Operations: []
Exploring Operation: 16+68=84, Resulting Numbers: [81, 95, 84]
Generated Node #2: [81, 95, 84] from Operation: 16+68=84
Current State: 98:[81, 95, 84], Operations: ['16+68=84']
Exploring Operation: 95-81=14, Resulting Numbers: [84, 14]
Generated Node #3: [84, 14] from Operation: 95-81=14
Current State: 98:[84, 14], Operations: ['16+68=84', '95-81=14']
Exploring Operation: 84+14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[16, 68, 81, 95], Operations: []
Exploring Operation: 68-16=52, Resulting Numbers: [81, 95, 52]
Generated Node #0,0: 98:[81, 95, 52] Operation: 68-16=52
Exploring Operation: 95-81=14, Resulting Numbers: [16, 68, 14]
Generated Node #0,1: 98:[16, 68, 14] Operation: 95-81=14
Exploring Operation: 81-68=13, Resulting Numbers: [16, 95, 13]
Generated Node #0,2: 98:[16, 95, 13] Operation: 81-68=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[16, 95, 13], Operations: ['81-68=13']
Exploring Operation: 16-13=3, Resulting Numbers: [95, 3]
Generated Node #0,2,0: 98:[95, 3] Operation: 16-13=3
Exploring Operation: 95+13=108, Resulting Numbers: [16, 108]
Generated Node #0,2,1: 98:[16, 108] Operation: 95+13=108
Exploring Operation: 16+95=111, Resulting Numbers: [13, 111]
Generated Node #0,2,2: 98:[13, 111] Operation: 16+95=111
Moving to Node #0,2,0
Current State: 98:[95, 3], Operations: ['81-68=13', '16-13=3']
Exploring Operation: 95*3=285, Resulting Numbers: [285]
285,98 unequal: No Solution
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[16, 68, 81, 95], Operations: []
Exploring Operation: 81-68=13, Resulting Numbers: [16, 95, 13]
Generated Node #0,2: 98:[16, 95, 13] Operation: 81-68=13
Moving to Node #0,2
Current State: 98:[16, 95, 13], Operations: ['81-68=13']
Exploring Operation: 16-13=3, Resulting Numbers: [95, 3]
Generated Node #0,2,0: 98:[95, 3] Operation: 16-13=3
Moving to Node #0,2,0
Current State: 98:[95, 3], Operations: ['81-68=13', '16-13=3']
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
31,
55,
51,
13
] | 22 | [
"31+55=86",
"51+13=64",
"86-64=22"
] | Current State: 22:[31, 55, 51, 13], Operations: []
Exploring Operation: 31+55=86, Resulting Numbers: [51, 13, 86]
Generated Node #2: [51, 13, 86] from Operation: 31+55=86
Current State: 22:[51, 13, 86], Operations: ['31+55=86']
Exploring Operation: 51+13=64, Resulting Numbers: [86, 64]
Generated Node #3: [86, 64] from Operation: 51+13=64
Current State: 22:[86, 64], Operations: ['31+55=86', '51+13=64']
Exploring Operation: 86-64=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[31, 55, 51, 13], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [31, 13, 4]
Generated Node #0,0: 22:[31, 13, 4] Operation: 55-51=4
Exploring Operation: 55-31=24, Resulting Numbers: [51, 13, 24]
Generated Node #0,1: 22:[51, 13, 24] Operation: 55-31=24
Exploring Operation: 51-31=20, Resulting Numbers: [55, 13, 20]
Generated Node #0,2: 22:[55, 13, 20] Operation: 51-31=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[31, 13, 4], Operations: ['55-51=4']
Exploring Operation: 31-13=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 22:[4, 18] Operation: 31-13=18
Exploring Operation: 13-4=9, Resulting Numbers: [31, 9]
Generated Node #0,0,1: 22:[31, 9] Operation: 13-4=9
Exploring Operation: 31-4=27, Resulting Numbers: [13, 27]
Generated Node #0,0,2: 22:[13, 27] Operation: 31-4=27
Moving to Node #0,0,0
Current State: 22:[4, 18], Operations: ['55-51=4', '31-13=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,22 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[31, 55, 51, 13], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [31, 13, 4]
Generated Node #0,0: 22:[31, 13, 4] Operation: 55-51=4
Moving to Node #0,0
Current State: 22:[31, 13, 4], Operations: ['55-51=4']
Exploring Operation: 31-13=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 22:[4, 18] Operation: 31-13=18
Moving to Node #0,0,0
Current State: 22:[4, 18], Operations: ['55-51=4', '31-13=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
96,
48,
21,
9
] | 93 | [
"48-21=27",
"27/9=3",
"96-3=93"
] | Current State: 93:[96, 48, 21, 9], Operations: []
Exploring Operation: 48-21=27, Resulting Numbers: [96, 9, 27]
Generated Node #2: [96, 9, 27] from Operation: 48-21=27
Current State: 93:[96, 9, 27], Operations: ['48-21=27']
Exploring Operation: 27/9=3, Resulting Numbers: [96, 3]
Generated Node #3: [96, 3] from Operation: 27/9=3
Current State: 93:[96, 3], Operations: ['48-21=27', '27/9=3']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[96, 48, 21, 9], Operations: []
Exploring Operation: 48-21=27, Resulting Numbers: [96, 9, 27]
Generated Node #0,0: 93:[96, 9, 27] Operation: 48-21=27
Exploring Operation: 96/48=2, Resulting Numbers: [21, 9, 2]
Generated Node #0,1: 93:[21, 9, 2] Operation: 96/48=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[96, 9, 27], Operations: ['48-21=27']
Exploring Operation: 9+27=36, Resulting Numbers: [96, 36]
Generated Node #0,0,0: 93:[96, 36] Operation: 9+27=36
Exploring Operation: 27/9=3, Resulting Numbers: [96, 3]
Generated Node #0,0,1: 93:[96, 3] Operation: 27/9=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 93:[96, 3], Operations: ['48-21=27', '27/9=3']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,93 unequal: No Solution
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[96, 48, 21, 9], Operations: []
Exploring Operation: 48-21=27, Resulting Numbers: [96, 9, 27]
Generated Node #0,0: 93:[96, 9, 27] Operation: 48-21=27
Moving to Node #0,0
Current State: 93:[96, 9, 27], Operations: ['48-21=27']
Exploring Operation: 27/9=3, Resulting Numbers: [96, 3]
Generated Node #0,0,1: 93:[96, 3] Operation: 27/9=3
Moving to Node #0,0,1
Current State: 93:[96, 3], Operations: ['48-21=27', '27/9=3']
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
86,
79,
91,
13
] | 71 | [
"86-79=7",
"91-13=78",
"78-7=71"
] | Current State: 71:[86, 79, 91, 13], Operations: []
Exploring Operation: 86-79=7, Resulting Numbers: [91, 13, 7]
Generated Node #2: [91, 13, 7] from Operation: 86-79=7
Current State: 71:[91, 13, 7], Operations: ['86-79=7']
Exploring Operation: 91-13=78, Resulting Numbers: [7, 78]
Generated Node #3: [7, 78] from Operation: 91-13=78
Current State: 71:[7, 78], Operations: ['86-79=7', '91-13=78']
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[86, 79, 91, 13], Operations: []
Exploring Operation: 91-13=78, Resulting Numbers: [86, 79, 78]
Generated Node #0,0: 71:[86, 79, 78] Operation: 91-13=78
Exploring Operation: 86-13=73, Resulting Numbers: [79, 91, 73]
Generated Node #0,1: 71:[79, 91, 73] Operation: 86-13=73
Moving to Node #0,0
Current State: 71:[86, 79, 78], Operations: ['91-13=78']
Exploring Operation: 86-79=7, Resulting Numbers: [78, 7]
Generated Node #0,0,0: 71:[78, 7] Operation: 86-79=7
Exploring Operation: 86-78=8, Resulting Numbers: [79, 8]
Generated Node #0,0,1: 71:[79, 8] Operation: 86-78=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[78, 7], Operations: ['91-13=78', '86-79=7']
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[86, 79, 91, 13], Operations: []
Exploring Operation: 91-13=78, Resulting Numbers: [86, 79, 78]
Generated Node #0,0: 71:[86, 79, 78] Operation: 91-13=78
Moving to Node #0,0
Current State: 71:[86, 79, 78], Operations: ['91-13=78']
Exploring Operation: 86-79=7, Resulting Numbers: [78, 7]
Generated Node #0,0,0: 71:[78, 7] Operation: 86-79=7
Moving to Node #0,0,0
Current State: 71:[78, 7], Operations: ['91-13=78', '86-79=7']
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
3,
3,
3,
8
] | 69 | [
"3*3=9",
"8*9=72",
"72-3=69"
] | Current State: 69:[3, 3, 3, 8], Operations: []
Exploring Operation: 3*3=9, Resulting Numbers: [8, 9]
Generated Node #2: [8, 9] from Operation: 3*3=9
Current State: 69:[8, 9], Operations: ['3*3=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,69 equal: Goal Reached
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[3, 3, 3, 8], Operations: []
Exploring Operation: 3*8=24, Resulting Numbers: [3, 3, 24]
Generated Node #0,0: 69:[3, 3, 24] Operation: 3*8=24
Moving to Node #0,0
Current State: 69:[3, 3, 24], Operations: ['3*8=24']
Exploring Operation: 24-3=21, Resulting Numbers: [3, 21]
Generated Node #0,0,0: 69:[3, 21] Operation: 24-3=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[3, 21], Operations: ['3*8=24', '24-3=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
75,
14,
26,
53
] | 88 | [
"75-14=61",
"53-26=27",
"61+27=88"
] | Current State: 88:[75, 14, 26, 53], Operations: []
Exploring Operation: 75-14=61, Resulting Numbers: [26, 53, 61]
Generated Node #2: [26, 53, 61] from Operation: 75-14=61
Current State: 88:[26, 53, 61], Operations: ['75-14=61']
Exploring Operation: 53-26=27, Resulting Numbers: [61, 27]
Generated Node #3: [61, 27] from Operation: 53-26=27
Current State: 88:[61, 27], Operations: ['75-14=61', '53-26=27']
Exploring Operation: 61+27=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[75, 14, 26, 53], Operations: []
Exploring Operation: 75-53=22, Resulting Numbers: [14, 26, 22]
Generated Node #0,0: 88:[14, 26, 22] Operation: 75-53=22
Moving to Node #0,0
Current State: 88:[14, 26, 22], Operations: ['75-53=22']
Exploring Operation: 26-14=12, Resulting Numbers: [22, 12]
Generated Node #0,0,0: 88:[22, 12] Operation: 26-14=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[22, 12], Operations: ['75-53=22', '26-14=12']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,88 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 |
[
46,
15,
67,
37
] | 73 | [
"46-15=31",
"67+37=104",
"104-31=73"
] | Current State: 73:[46, 15, 67, 37], Operations: []
Exploring Operation: 46-15=31, Resulting Numbers: [67, 37, 31]
Generated Node #2: [67, 37, 31] from Operation: 46-15=31
Current State: 73:[67, 37, 31], Operations: ['46-15=31']
Exploring Operation: 67+37=104, Resulting Numbers: [31, 104]
Generated Node #3: [31, 104] from Operation: 67+37=104
Current State: 73:[31, 104], Operations: ['46-15=31', '67+37=104']
Exploring Operation: 104-31=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[46, 15, 67, 37], Operations: []
Exploring Operation: 46+15=61, Resulting Numbers: [67, 37, 61]
Generated Node #0,0: 73:[67, 37, 61] Operation: 46+15=61
Exploring Operation: 15+67=82, Resulting Numbers: [46, 37, 82]
Generated Node #0,1: 73:[46, 37, 82] Operation: 15+67=82
Exploring Operation: 15+37=52, Resulting Numbers: [46, 67, 52]
Generated Node #0,2: 73:[46, 67, 52] Operation: 15+37=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[67, 37, 61], Operations: ['46+15=61']
Exploring Operation: 67+37=104, Resulting Numbers: [61, 104]
Generated Node #0,0,0: 73:[61, 104] Operation: 67+37=104
Exploring Operation: 67-37=30, Resulting Numbers: [61, 30]
Generated Node #0,0,1: 73:[61, 30] Operation: 67-37=30
Exploring Operation: 37+61=98, Resulting Numbers: [67, 98]
Generated Node #0,0,2: 73:[67, 98] Operation: 37+61=98
Moving to Node #0,0,2
Current State: 73:[67, 98], Operations: ['46+15=61', '37+61=98']
Exploring Operation: 98-67=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 67+98=165, Resulting Numbers: [165]
165,73 unequal: No Solution
Exploring Operation: 67*98=6566, Resulting Numbers: [6566]
6566,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[61, 104], Operations: ['46+15=61', '67+37=104']
Exploring Operation: 104-61=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 61+104=165, Resulting Numbers: [165]
165,73 unequal: No Solution
Exploring Operation: 61*104=6344, Resulting Numbers: [6344]
6344,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[61, 30], Operations: ['46+15=61', '67-37=30']
Exploring Operation: 61*30=1830, Resulting Numbers: [1830]
1830,73 unequal: No Solution
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 61+30=91, Resulting Numbers: [91]
91,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,2
Current State: 73:[46, 67, 52], Operations: ['15+37=52']
Exploring Operation: 46+52=98, Resulting Numbers: [67, 98]
Generated Node #0,2,0: 73:[67, 98] Operation: 46+52=98
Exploring Operation: 46+67=113, Resulting Numbers: [52, 113]
Generated Node #0,2,1: 73:[52, 113] Operation: 46+67=113
Exploring Operation: 67-46=21, Resulting Numbers: [52, 21]
Generated Node #0,2,2: 73:[52, 21] Operation: 67-46=21
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[67, 98], Operations: ['15+37=52', '46+52=98']
Exploring Operation: 67*98=6566, Resulting Numbers: [6566]
6566,73 unequal: No Solution
Exploring Operation: 67+98=165, Resulting Numbers: [165]
165,73 unequal: No Solution
Exploring Operation: 98-67=31, Resulting Numbers: [31]
31,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 73:[52, 113], Operations: ['15+37=52', '46+67=113']
Exploring Operation: 113-52=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 52*113=5876, Resulting Numbers: [5876]
5876,73 unequal: No Solution
Exploring Operation: 52+113=165, Resulting Numbers: [165]
165,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 73:[52, 21], Operations: ['15+37=52', '67-46=21']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,73 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[46, 15, 67, 37], Operations: []
Exploring Operation: 15+37=52, Resulting Numbers: [46, 67, 52]
Generated Node #0,2: 73:[46, 67, 52] Operation: 15+37=52
Moving to Node #0,2
Current State: 73:[46, 67, 52], Operations: ['15+37=52']
Exploring Operation: 67-46=21, Resulting Numbers: [52, 21]
Generated Node #0,2,2: 73:[52, 21] Operation: 67-46=21
Moving to Node #0,2,2
Current State: 73:[52, 21], Operations: ['15+37=52', '67-46=21']
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_3 | sum_heuristic |
[
6,
33,
24,
99
] | 72 | [
"99/33=3",
"6-3=3",
"24*3=72"
] | Current State: 72:[6, 33, 24, 99], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [6, 24, 3]
Generated Node #2: [6, 24, 3] from Operation: 99/33=3
Current State: 72:[6, 24, 3], Operations: ['99/33=3']
Exploring Operation: 6-3=3, Resulting Numbers: [24, 3]
Generated Node #3: [24, 3] from Operation: 6-3=3
Current State: 72:[24, 3], Operations: ['99/33=3', '6-3=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[6, 33, 24, 99], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [6, 24, 3]
Generated Node #0,0: 72:[6, 24, 3] Operation: 99/33=3
Moving to Node #0,0
Current State: 72:[6, 24, 3], Operations: ['99/33=3']
Exploring Operation: 24-6=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 72:[3, 18] Operation: 24-6=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[3, 18], Operations: ['99/33=3', '24-6=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
97,
34,
22,
66
] | 87 | [
"97+34=131",
"66-22=44",
"131-44=87"
] | Current State: 87:[97, 34, 22, 66], Operations: []
Exploring Operation: 97+34=131, Resulting Numbers: [22, 66, 131]
Generated Node #2: [22, 66, 131] from Operation: 97+34=131
Current State: 87:[22, 66, 131], Operations: ['97+34=131']
Exploring Operation: 66-22=44, Resulting Numbers: [131, 44]
Generated Node #3: [131, 44] from Operation: 66-22=44
Current State: 87:[131, 44], Operations: ['97+34=131', '66-22=44']
Exploring Operation: 131-44=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[97, 34, 22, 66], Operations: []
Exploring Operation: 97-66=31, Resulting Numbers: [34, 22, 31]
Generated Node #0,0: 87:[34, 22, 31] Operation: 97-66=31
Moving to Node #0,0
Current State: 87:[34, 22, 31], Operations: ['97-66=31']
Exploring Operation: 34-31=3, Resulting Numbers: [22, 3]
Generated Node #0,0,0: 87:[22, 3] Operation: 34-31=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[22, 3], Operations: ['97-66=31', '34-31=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,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 |
[
79,
66,
85,
2
] | 58 | [
"79+66=145",
"85+2=87",
"145-87=58"
] | Current State: 58:[79, 66, 85, 2], Operations: []
Exploring Operation: 79+66=145, Resulting Numbers: [85, 2, 145]
Generated Node #2: [85, 2, 145] from Operation: 79+66=145
Current State: 58:[85, 2, 145], Operations: ['79+66=145']
Exploring Operation: 85+2=87, Resulting Numbers: [145, 87]
Generated Node #3: [145, 87] from Operation: 85+2=87
Current State: 58:[145, 87], Operations: ['79+66=145', '85+2=87']
Exploring Operation: 145-87=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[79, 66, 85, 2], Operations: []
Exploring Operation: 85-66=19, Resulting Numbers: [79, 2, 19]
Generated Node #0,0: 58:[79, 2, 19] Operation: 85-66=19
Exploring Operation: 85-79=6, Resulting Numbers: [66, 2, 6]
Generated Node #0,1: 58:[66, 2, 6] Operation: 85-79=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[66, 2, 6], Operations: ['85-79=6']
Exploring Operation: 66/2=33, Resulting Numbers: [6, 33]
Generated Node #0,1,0: 58:[6, 33] Operation: 66/2=33
Exploring Operation: 66-6=60, Resulting Numbers: [2, 60]
Generated Node #0,1,1: 58:[2, 60] Operation: 66-6=60
Moving to Node #0,1,1
Current State: 58:[2, 60], Operations: ['85-79=6', '66-6=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[79, 66, 85, 2], Operations: []
Exploring Operation: 85-79=6, Resulting Numbers: [66, 2, 6]
Generated Node #0,1: 58:[66, 2, 6] Operation: 85-79=6
Moving to Node #0,1
Current State: 58:[66, 2, 6], Operations: ['85-79=6']
Exploring Operation: 66-6=60, Resulting Numbers: [2, 60]
Generated Node #0,1,1: 58:[2, 60] Operation: 66-6=60
Moving to Node #0,1,1
Current State: 58:[2, 60], Operations: ['85-79=6', '66-6=60']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
81,
61,
92,
98
] | 48 | [
"81+61=142",
"92+98=190",
"190-142=48"
] | Current State: 48:[81, 61, 92, 98], Operations: []
Exploring Operation: 81+61=142, Resulting Numbers: [92, 98, 142]
Generated Node #2: [92, 98, 142] from Operation: 81+61=142
Current State: 48:[92, 98, 142], Operations: ['81+61=142']
Exploring Operation: 92+98=190, Resulting Numbers: [142, 190]
Generated Node #3: [142, 190] from Operation: 92+98=190
Current State: 48:[142, 190], Operations: ['81+61=142', '92+98=190']
Exploring Operation: 190-142=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[81, 61, 92, 98], Operations: []
Exploring Operation: 92-61=31, Resulting Numbers: [81, 98, 31]
Generated Node #0,0: 48:[81, 98, 31] Operation: 92-61=31
Exploring Operation: 92-81=11, Resulting Numbers: [61, 98, 11]
Generated Node #0,1: 48:[61, 98, 11] Operation: 92-81=11
Exploring Operation: 98-92=6, Resulting Numbers: [81, 61, 6]
Generated Node #0,2: 48:[81, 61, 6] Operation: 98-92=6
Exploring Operation: 98-81=17, Resulting Numbers: [61, 92, 17]
Generated Node #0,3: 48:[61, 92, 17] Operation: 98-81=17
Exploring Operation: 98-61=37, Resulting Numbers: [81, 92, 37]
Generated Node #0,4: 48:[81, 92, 37] Operation: 98-61=37
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[81, 61, 6], Operations: ['98-92=6']
Exploring Operation: 81+6=87, Resulting Numbers: [61, 87]
Generated Node #0,2,0: 48:[61, 87] Operation: 81+6=87
Exploring Operation: 81-6=75, Resulting Numbers: [61, 75]
Generated Node #0,2,1: 48:[61, 75] Operation: 81-6=75
Exploring Operation: 61-6=55, Resulting Numbers: [81, 55]
Generated Node #0,2,2: 48:[81, 55] Operation: 61-6=55
Exploring Operation: 61+6=67, Resulting Numbers: [81, 67]
Generated Node #0,2,3: 48:[81, 67] Operation: 61+6=67
Exploring Operation: 81-61=20, Resulting Numbers: [6, 20]
Generated Node #0,2,4: 48:[6, 20] Operation: 81-61=20
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 48:[6, 20], Operations: ['98-92=6', '81-61=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,48 unequal: No Solution
No 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: 48:[61, 75], Operations: ['98-92=6', '81-6=75']
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 61*75=4575, Resulting Numbers: [4575]
4575,48 unequal: No Solution
Exploring Operation: 61+75=136, Resulting Numbers: [136]
136,48 unequal: No Solution
No 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: 48:[81, 55], Operations: ['98-92=6', '61-6=55']
Exploring Operation: 81-55=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 81+55=136, Resulting Numbers: [136]
136,48 unequal: No Solution
Exploring Operation: 81*55=4455, Resulting Numbers: [4455]
4455,48 unequal: No Solution
No 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: 48:[61, 87], Operations: ['98-92=6', '81+6=87']
Exploring Operation: 87-61=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 61+87=148, Resulting Numbers: [148]
148,48 unequal: No Solution
Exploring Operation: 61*87=5307, Resulting Numbers: [5307]
5307,48 unequal: No Solution
No 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: 48:[81, 67], Operations: ['98-92=6', '61+6=67']
Exploring Operation: 81+67=148, Resulting Numbers: [148]
148,48 unequal: No Solution
Exploring Operation: 81*67=5427, Resulting Numbers: [5427]
5427,48 unequal: No Solution
Exploring Operation: 81-67=14, Resulting Numbers: [14]
14,48 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: 48:[61, 92, 17], Operations: ['98-81=17']
Exploring Operation: 61-17=44, Resulting Numbers: [92, 44]
Generated Node #0,3,0: 48:[92, 44] Operation: 61-17=44
Exploring Operation: 92-17=75, Resulting Numbers: [61, 75]
Generated Node #0,3,1: 48:[61, 75] Operation: 92-17=75
Exploring Operation: 92-61=31, Resulting Numbers: [17, 31]
Generated Node #0,3,2: 48:[17, 31] Operation: 92-61=31
Exploring Operation: 92+17=109, Resulting Numbers: [61, 109]
Generated Node #0,3,3: 48:[61, 109] Operation: 92+17=109
Exploring Operation: 61+17=78, Resulting Numbers: [92, 78]
Generated Node #0,3,4: 48:[92, 78] Operation: 61+17=78
Moving to Node #0,3,2
Current State: 48:[17, 31], Operations: ['98-81=17', '92-61=31']
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[81, 61, 92, 98], Operations: []
Exploring Operation: 98-81=17, Resulting Numbers: [61, 92, 17]
Generated Node #0,3: 48:[61, 92, 17] Operation: 98-81=17
Moving to Node #0,3
Current State: 48:[61, 92, 17], Operations: ['98-81=17']
Exploring Operation: 92-61=31, Resulting Numbers: [17, 31]
Generated Node #0,3,2: 48:[17, 31] Operation: 92-61=31
Moving to Node #0,3,2
Current State: 48:[17, 31], Operations: ['98-81=17', '92-61=31']
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
77,
67,
78,
32
] | 99 | [
"78-77=1",
"67+32=99",
"1*99=99"
] | Current State: 99:[77, 67, 78, 32], Operations: []
Exploring Operation: 78-77=1, Resulting Numbers: [67, 32, 1]
Generated Node #2: [67, 32, 1] from Operation: 78-77=1
Current State: 99:[67, 32, 1], Operations: ['78-77=1']
Exploring Operation: 67+32=99, Resulting Numbers: [1, 99]
Generated Node #3: [1, 99] from Operation: 67+32=99
Current State: 99:[1, 99], Operations: ['78-77=1', '67+32=99']
Exploring Operation: 1*99=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[77, 67, 78, 32], Operations: []
Exploring Operation: 78-77=1, Resulting Numbers: [67, 32, 1]
Generated Node #0,0: 99:[67, 32, 1] Operation: 78-77=1
Exploring Operation: 77-67=10, Resulting Numbers: [78, 32, 10]
Generated Node #0,1: 99:[78, 32, 10] Operation: 77-67=10
Exploring Operation: 67+32=99, Resulting Numbers: [77, 78, 99]
Generated Node #0,2: 99:[77, 78, 99] Operation: 67+32=99
Exploring Operation: 67-32=35, Resulting Numbers: [77, 78, 35]
Generated Node #0,3: 99:[77, 78, 35] Operation: 67-32=35
Exploring Operation: 78-67=11, Resulting Numbers: [77, 32, 11]
Generated Node #0,4: 99:[77, 32, 11] Operation: 78-67=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[78, 32, 10], Operations: ['77-67=10']
Exploring Operation: 78+32=110, Resulting Numbers: [10, 110]
Generated Node #0,1,0: 99:[10, 110] Operation: 78+32=110
Exploring Operation: 78-32=46, Resulting Numbers: [10, 46]
Generated Node #0,1,1: 99:[10, 46] Operation: 78-32=46
Exploring Operation: 32+10=42, Resulting Numbers: [78, 42]
Generated Node #0,1,2: 99:[78, 42] Operation: 32+10=42
Exploring Operation: 78-10=68, Resulting Numbers: [32, 68]
Generated Node #0,1,3: 99:[32, 68] Operation: 78-10=68
Exploring Operation: 78+10=88, Resulting Numbers: [32, 88]
Generated Node #0,1,4: 99:[32, 88] Operation: 78+10=88
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[10, 110], Operations: ['77-67=10', '78+32=110']
Exploring Operation: 110/10=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 110-10=100, Resulting Numbers: [100]
100,99 unequal: No Solution
Exploring Operation: 10*110=1100, Resulting Numbers: [1100]
1100,99 unequal: No Solution
Exploring Operation: 10+110=120, Resulting Numbers: [120]
120,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 99:[32, 88], Operations: ['77-67=10', '78+10=88']
Exploring Operation: 32*88=2816, Resulting Numbers: [2816]
2816,99 unequal: No Solution
Exploring Operation: 32+88=120, Resulting Numbers: [120]
120,99 unequal: No Solution
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[10, 46], Operations: ['77-67=10', '78-32=46']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,99 unequal: No Solution
Exploring Operation: 10*46=460, Resulting Numbers: [460]
460,99 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 99:[78, 42], Operations: ['77-67=10', '32+10=42']
Exploring Operation: 78+42=120, Resulting Numbers: [120]
120,99 unequal: No Solution
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,99 unequal: No Solution
Exploring Operation: 78*42=3276, Resulting Numbers: [3276]
3276,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 99:[32, 68], Operations: ['77-67=10', '78-10=68']
Exploring Operation: 32*68=2176, Resulting Numbers: [2176]
2176,99 unequal: No Solution
Exploring Operation: 32+68=100, Resulting Numbers: [100]
100,99 unequal: No Solution
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 99:[77, 32, 11], Operations: ['78-67=11']
Exploring Operation: 77+32=109, Resulting Numbers: [11, 109]
Generated Node #0,4,0: 99:[11, 109] Operation: 77+32=109
Exploring Operation: 77/11=7, Resulting Numbers: [32, 7]
Generated Node #0,4,1: 99:[32, 7] Operation: 77/11=7
Exploring Operation: 77-32=45, Resulting Numbers: [11, 45]
Generated Node #0,4,2: 99:[11, 45] Operation: 77-32=45
Exploring Operation: 32+11=43, Resulting Numbers: [77, 43]
Generated Node #0,4,3: 99:[77, 43] Operation: 32+11=43
Exploring Operation: 77+11=88, Resulting Numbers: [32, 88]
Generated Node #0,4,4: 99:[32, 88] Operation: 77+11=88
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 99:[32, 7], Operations: ['78-67=11', '77/11=7']
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,99 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 99:[11, 109], Operations: ['78-67=11', '77+32=109']
Exploring Operation: 11*109=1199, Resulting Numbers: [1199]
1199,99 unequal: No Solution
Exploring Operation: 11+109=120, Resulting Numbers: [120]
120,99 unequal: No Solution
Exploring Operation: 109-11=98, Resulting Numbers: [98]
98,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 99:[11, 45], Operations: ['78-67=11', '77-32=45']
Exploring Operation: 11*45=495, Resulting Numbers: [495]
495,99 unequal: No Solution
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 11+45=56, Resulting Numbers: [56]
56,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 99:[32, 88], Operations: ['78-67=11', '77+11=88']
Exploring Operation: 32+88=120, Resulting Numbers: [120]
120,99 unequal: No Solution
Exploring Operation: 32*88=2816, Resulting Numbers: [2816]
2816,99 unequal: No Solution
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 99:[77, 43], Operations: ['78-67=11', '32+11=43']
Exploring Operation: 77*43=3311, Resulting Numbers: [3311]
3311,99 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 77+43=120, Resulting Numbers: [120]
120,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[67, 32, 1], Operations: ['78-77=1']
Exploring Operation: 67+32=99, Resulting Numbers: [1, 99]
Generated Node #0,0,0: 99:[1, 99] Operation: 67+32=99
Exploring Operation: 67*1=67, Resulting Numbers: [32, 67]
Generated Node #0,0,1: 99:[32, 67] Operation: 67*1=67
Exploring Operation: 67-32=35, Resulting Numbers: [1, 35]
Generated Node #0,0,2: 99:[1, 35] Operation: 67-32=35
Exploring Operation: 32+1=33, Resulting Numbers: [67, 33]
Generated Node #0,0,3: 99:[67, 33] Operation: 32+1=33
Exploring Operation: 67+1=68, Resulting Numbers: [32, 68]
Generated Node #0,0,4: 99:[32, 68] Operation: 67+1=68
Moving to Node #0,0,0
Current State: 99:[1, 99], Operations: ['78-77=1', '67+32=99']
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[77, 67, 78, 32], Operations: []
Exploring Operation: 78-77=1, Resulting Numbers: [67, 32, 1]
Generated Node #0,0: 99:[67, 32, 1] Operation: 78-77=1
Moving to Node #0,0
Current State: 99:[67, 32, 1], Operations: ['78-77=1']
Exploring Operation: 67+32=99, Resulting Numbers: [1, 99]
Generated Node #0,0,0: 99:[1, 99] Operation: 67+32=99
Moving to Node #0,0,0
Current State: 99:[1, 99], Operations: ['78-77=1', '67+32=99']
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.951389 | hs_5 | sum_heuristic |
[
47,
3,
63,
65
] | 22 | [
"47-3=44",
"65-63=2",
"44/2=22"
] | Current State: 22:[47, 3, 63, 65], Operations: []
Exploring Operation: 47-3=44, Resulting Numbers: [63, 65, 44]
Generated Node #2: [63, 65, 44] from Operation: 47-3=44
Current State: 22:[63, 65, 44], Operations: ['47-3=44']
Exploring Operation: 65-63=2, Resulting Numbers: [44, 2]
Generated Node #3: [44, 2] from Operation: 65-63=2
Current State: 22:[44, 2], Operations: ['47-3=44', '65-63=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[47, 3, 63, 65], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [47, 3, 2]
Generated Node #0,0: 22:[47, 3, 2] Operation: 65-63=2
Exploring Operation: 65-47=18, Resulting Numbers: [3, 63, 18]
Generated Node #0,1: 22:[3, 63, 18] Operation: 65-47=18
Exploring Operation: 63-47=16, Resulting Numbers: [3, 65, 16]
Generated Node #0,2: 22:[3, 65, 16] Operation: 63-47=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[47, 3, 2], Operations: ['65-63=2']
Exploring Operation: 3-2=1, Resulting Numbers: [47, 1]
Generated Node #0,0,0: 22:[47, 1] Operation: 3-2=1
Exploring Operation: 47-3=44, Resulting Numbers: [2, 44]
Generated Node #0,0,1: 22:[2, 44] Operation: 47-3=44
Exploring Operation: 47-2=45, Resulting Numbers: [3, 45]
Generated Node #0,0,2: 22:[3, 45] Operation: 47-2=45
Moving to Node #0,0,1
Current State: 22:[2, 44], Operations: ['65-63=2', '47-3=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[47, 3, 63, 65], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [47, 3, 2]
Generated Node #0,0: 22:[47, 3, 2] Operation: 65-63=2
Moving to Node #0,0
Current State: 22:[47, 3, 2], Operations: ['65-63=2']
Exploring Operation: 47-3=44, Resulting Numbers: [2, 44]
Generated Node #0,0,1: 22:[2, 44] Operation: 47-3=44
Moving to Node #0,0,1
Current State: 22:[2, 44], Operations: ['65-63=2', '47-3=44']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
77,
22,
62,
6
] | 68 | [
"77-62=15",
"6*15=90",
"90-22=68"
] | Current State: 68:[77, 22, 62, 6], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [22, 6, 15]
Generated Node #2: [22, 6, 15] from Operation: 77-62=15
Current State: 68:[22, 6, 15], Operations: ['77-62=15']
Exploring Operation: 6*15=90, Resulting Numbers: [22, 90]
Generated Node #3: [22, 90] from Operation: 6*15=90
Current State: 68:[22, 90], Operations: ['77-62=15', '6*15=90']
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[77, 22, 62, 6], Operations: []
Exploring Operation: 22-6=16, Resulting Numbers: [77, 62, 16]
Generated Node #0,0: 68:[77, 62, 16] Operation: 22-6=16
Exploring Operation: 62-22=40, Resulting Numbers: [77, 6, 40]
Generated Node #0,1: 68:[77, 6, 40] Operation: 62-22=40
Exploring Operation: 77-6=71, Resulting Numbers: [22, 62, 71]
Generated Node #0,2: 68:[22, 62, 71] Operation: 77-6=71
Exploring Operation: 62+6=68, Resulting Numbers: [77, 22, 68]
Generated Node #0,3: 68:[77, 22, 68] Operation: 62+6=68
Exploring Operation: 77-62=15, Resulting Numbers: [22, 6, 15]
Generated Node #0,4: 68:[22, 6, 15] Operation: 77-62=15
Start Sub Search at level 1: Moving to Node #0,4
Current State: 68:[22, 6, 15], Operations: ['77-62=15']
Exploring Operation: 22+15=37, Resulting Numbers: [6, 37]
Generated Node #0,4,0: 68:[6, 37] Operation: 22+15=37
Exploring Operation: 22-15=7, Resulting Numbers: [6, 7]
Generated Node #0,4,1: 68:[6, 7] Operation: 22-15=7
Exploring Operation: 22-6=16, Resulting Numbers: [15, 16]
Generated Node #0,4,2: 68:[15, 16] Operation: 22-6=16
Exploring Operation: 6+15=21, Resulting Numbers: [22, 21]
Generated Node #0,4,3: 68:[22, 21] Operation: 6+15=21
Exploring Operation: 22+6=28, Resulting Numbers: [15, 28]
Generated Node #0,4,4: 68:[15, 28] Operation: 22+6=28
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 68:[15, 16], Operations: ['77-62=15', '22-6=16']
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,68 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,68 unequal: No Solution
No 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: 68:[6, 37], Operations: ['77-62=15', '22+15=37']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 6*37=222, Resulting Numbers: [222]
222,68 unequal: No Solution
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,68 unequal: No Solution
No 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: 68:[6, 7], Operations: ['77-62=15', '22-15=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,68 unequal: No Solution
No 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: 68:[15, 28], Operations: ['77-62=15', '22+6=28']
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 15*28=420, Resulting Numbers: [420]
420,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 68:[22, 21], Operations: ['77-62=15', '6+15=21']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,68 unequal: No Solution
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,68 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: 68:[22, 62, 71], Operations: ['77-6=71']
Exploring Operation: 71-62=9, Resulting Numbers: [22, 9]
Generated Node #0,2,0: 68:[22, 9] Operation: 71-62=9
Exploring Operation: 62-22=40, Resulting Numbers: [71, 40]
Generated Node #0,2,1: 68:[71, 40] Operation: 62-22=40
Exploring Operation: 22+71=93, Resulting Numbers: [62, 93]
Generated Node #0,2,2: 68:[62, 93] Operation: 22+71=93
Exploring Operation: 71-22=49, Resulting Numbers: [62, 49]
Generated Node #0,2,3: 68:[62, 49] Operation: 71-22=49
Exploring Operation: 22+62=84, Resulting Numbers: [71, 84]
Generated Node #0,2,4: 68:[71, 84] Operation: 22+62=84
Moving to Node #0,2,1
Current State: 68:[71, 40], Operations: ['77-6=71', '62-22=40']
Exploring Operation: 71*40=2840, Resulting Numbers: [2840]
2840,68 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 71+40=111, Resulting Numbers: [111]
111,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[22, 9], Operations: ['77-6=71', '71-62=9']
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 22*9=198, Resulting Numbers: [198]
198,68 unequal: No Solution
Moving to Node #0,2,4
Current State: 68:[71, 84], Operations: ['77-6=71', '22+62=84']
Exploring Operation: 71*84=5964, Resulting Numbers: [5964]
5964,68 unequal: No Solution
Exploring Operation: 84-71=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 71+84=155, Resulting Numbers: [155]
155,68 unequal: No Solution
Moving to Node #0,2,3
Current State: 68:[62, 49], Operations: ['77-6=71', '71-22=49']
Exploring Operation: 62+49=111, Resulting Numbers: [111]
111,68 unequal: No Solution
Exploring Operation: 62*49=3038, Resulting Numbers: [3038]
3038,68 unequal: No Solution
Exploring Operation: 62-49=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[62, 93], Operations: ['77-6=71', '22+71=93']
Exploring Operation: 62+93=155, Resulting Numbers: [155]
155,68 unequal: No Solution
Exploring Operation: 62*93=5766, Resulting Numbers: [5766]
5766,68 unequal: No Solution
Exploring Operation: 93-62=31, Resulting Numbers: [31]
31,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 68:[77, 22, 68], Operations: ['62+6=68']
Exploring Operation: 68-22=46, Resulting Numbers: [77, 46]
Generated Node #0,3,0: 68:[77, 46] Operation: 68-22=46
Exploring Operation: 77+22=99, Resulting Numbers: [68, 99]
Generated Node #0,3,1: 68:[68, 99] Operation: 77+22=99
Exploring Operation: 77-68=9, Resulting Numbers: [22, 9]
Generated Node #0,3,2: 68:[22, 9] Operation: 77-68=9
Exploring Operation: 77-22=55, Resulting Numbers: [68, 55]
Generated Node #0,3,3: 68:[68, 55] Operation: 77-22=55
Exploring Operation: 22+68=90, Resulting Numbers: [77, 90]
Generated Node #0,3,4: 68:[77, 90] Operation: 22+68=90
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 68:[22, 9], Operations: ['62+6=68', '77-68=9']
Exploring Operation: 22*9=198, Resulting Numbers: [198]
198,68 unequal: No Solution
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,68 unequal: No Solution
No 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: 68:[68, 55], Operations: ['62+6=68', '77-22=55']
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 68*55=3740, Resulting Numbers: [3740]
3740,68 unequal: No Solution
Exploring Operation: 68+55=123, Resulting Numbers: [123]
123,68 unequal: No Solution
No 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: 68:[77, 46], Operations: ['62+6=68', '68-22=46']
Exploring Operation: 77*46=3542, Resulting Numbers: [3542]
3542,68 unequal: No Solution
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 77+46=123, Resulting Numbers: [123]
123,68 unequal: No Solution
No 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: 68:[68, 99], Operations: ['62+6=68', '77+22=99']
Exploring Operation: 68*99=6732, Resulting Numbers: [6732]
6732,68 unequal: No Solution
Exploring Operation: 68+99=167, Resulting Numbers: [167]
167,68 unequal: No Solution
Exploring Operation: 99-68=31, Resulting Numbers: [31]
31,68 unequal: No Solution
No 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: 68:[77, 90], Operations: ['62+6=68', '22+68=90']
Exploring Operation: 77+90=167, Resulting Numbers: [167]
167,68 unequal: No Solution
Exploring Operation: 90-77=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 77*90=6930, Resulting Numbers: [6930]
6930,68 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: 68:[77, 62, 16], Operations: ['22-6=16']
Exploring Operation: 77-62=15, Resulting Numbers: [16, 15]
Generated Node #0,0,0: 68:[16, 15] Operation: 77-62=15
Exploring Operation: 77+16=93, Resulting Numbers: [62, 93]
Generated Node #0,0,1: 68:[62, 93] Operation: 77+16=93
Exploring Operation: 62-16=46, Resulting Numbers: [77, 46]
Generated Node #0,0,2: 68:[77, 46] Operation: 62-16=46
Exploring Operation: 62+16=78, Resulting Numbers: [77, 78]
Generated Node #0,0,3: 68:[77, 78] Operation: 62+16=78
Exploring Operation: 77-16=61, Resulting Numbers: [62, 61]
Generated Node #0,0,4: 68:[62, 61] Operation: 77-16=61
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[16, 15], Operations: ['22-6=16', '77-62=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,68 unequal: No Solution
No 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: 68:[62, 61], Operations: ['22-6=16', '77-16=61']
Exploring Operation: 62+61=123, Resulting Numbers: [123]
123,68 unequal: No Solution
Exploring Operation: 62*61=3782, Resulting Numbers: [3782]
3782,68 unequal: No Solution
Exploring Operation: 62-61=1, Resulting Numbers: [1]
1,68 unequal: No Solution
No 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: 68:[77, 78], Operations: ['22-6=16', '62+16=78']
Exploring Operation: 77+78=155, Resulting Numbers: [155]
155,68 unequal: No Solution
Exploring Operation: 78-77=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 77*78=6006, Resulting Numbers: [6006]
6006,68 unequal: No Solution
No 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: 68:[77, 46], Operations: ['22-6=16', '62-16=46']
Exploring Operation: 77*46=3542, Resulting Numbers: [3542]
3542,68 unequal: No Solution
Exploring Operation: 77+46=123, Resulting Numbers: [123]
123,68 unequal: No Solution
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,68 unequal: No Solution
No 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: 68:[62, 93], Operations: ['22-6=16', '77+16=93']
Exploring Operation: 62+93=155, Resulting Numbers: [155]
155,68 unequal: No Solution
Exploring Operation: 93-62=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 62*93=5766, Resulting Numbers: [5766]
5766,68 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: 68:[77, 6, 40], Operations: ['62-22=40']
Exploring Operation: 77-6=71, Resulting Numbers: [40, 71]
Generated Node #0,1,0: 68:[40, 71] Operation: 77-6=71
Exploring Operation: 77+6=83, Resulting Numbers: [40, 83]
Generated Node #0,1,1: 68:[40, 83] Operation: 77+6=83
Exploring Operation: 77-40=37, Resulting Numbers: [6, 37]
Generated Node #0,1,2: 68:[6, 37] Operation: 77-40=37
Exploring Operation: 40-6=34, Resulting Numbers: [77, 34]
Generated Node #0,1,3: 68:[77, 34] Operation: 40-6=34
Exploring Operation: 6+40=46, Resulting Numbers: [77, 46]
Generated Node #0,1,4: 68:[77, 46] Operation: 6+40=46
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 68:[6, 37], Operations: ['62-22=40', '77-40=37']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 6*37=222, Resulting Numbers: [222]
222,68 unequal: No Solution
No 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: 68:[40, 71], Operations: ['62-22=40', '77-6=71']
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 40*71=2840, Resulting Numbers: [2840]
2840,68 unequal: No Solution
Exploring Operation: 40+71=111, Resulting Numbers: [111]
111,68 unequal: No Solution
No 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: 68:[77, 34], Operations: ['62-22=40', '40-6=34']
Exploring Operation: 77*34=2618, Resulting Numbers: [2618]
2618,68 unequal: No Solution
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 77+34=111, Resulting Numbers: [111]
111,68 unequal: No Solution
No 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: 68:[40, 83], Operations: ['62-22=40', '77+6=83']
Exploring Operation: 40+83=123, Resulting Numbers: [123]
123,68 unequal: No Solution
Exploring Operation: 83-40=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 40*83=3320, Resulting Numbers: [3320]
3320,68 unequal: No Solution
No 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: 68:[77, 46], Operations: ['62-22=40', '6+40=46']
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,68 unequal: No Solution
Exploring Operation: 77+46=123, Resulting Numbers: [123]
123,68 unequal: No Solution
Exploring Operation: 77*46=3542, Resulting Numbers: [3542]
3542,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
68,
2,
98,
87
] | 45 | [
"68/2=34",
"98-87=11",
"34+11=45"
] | Current State: 45:[68, 2, 98, 87], Operations: []
Exploring Operation: 68/2=34, Resulting Numbers: [98, 87, 34]
Generated Node #2: [98, 87, 34] from Operation: 68/2=34
Current State: 45:[98, 87, 34], Operations: ['68/2=34']
Exploring Operation: 98-87=11, Resulting Numbers: [34, 11]
Generated Node #3: [34, 11] from Operation: 98-87=11
Current State: 45:[34, 11], Operations: ['68/2=34', '98-87=11']
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[68, 2, 98, 87], Operations: []
Exploring Operation: 98-87=11, Resulting Numbers: [68, 2, 11]
Generated Node #0,0: 45:[68, 2, 11] Operation: 98-87=11
Moving to Node #0,0
Current State: 45:[68, 2, 11], Operations: ['98-87=11']
Exploring Operation: 68/2=34, Resulting Numbers: [11, 34]
Generated Node #0,0,0: 45:[11, 34] Operation: 68/2=34
Moving to Node #0,0,0
Current State: 45:[11, 34], Operations: ['98-87=11', '68/2=34']
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[68, 2, 98, 87], Operations: []
Exploring Operation: 98-87=11, Resulting Numbers: [68, 2, 11]
Generated Node #0,0: 45:[68, 2, 11] Operation: 98-87=11
Moving to Node #0,0
Current State: 45:[68, 2, 11], Operations: ['98-87=11']
Exploring Operation: 68/2=34, Resulting Numbers: [11, 34]
Generated Node #0,0,0: 45:[11, 34] Operation: 68/2=34
Moving to Node #0,0,0
Current State: 45:[11, 34], Operations: ['98-87=11', '68/2=34']
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
78,
16,
89,
14
] | 19 | [
"78+16=94",
"89-14=75",
"94-75=19"
] | Current State: 19:[78, 16, 89, 14], Operations: []
Exploring Operation: 78+16=94, Resulting Numbers: [89, 14, 94]
Generated Node #2: [89, 14, 94] from Operation: 78+16=94
Current State: 19:[89, 14, 94], Operations: ['78+16=94']
Exploring Operation: 89-14=75, Resulting Numbers: [94, 75]
Generated Node #3: [94, 75] from Operation: 89-14=75
Current State: 19:[94, 75], Operations: ['78+16=94', '89-14=75']
Exploring Operation: 94-75=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[78, 16, 89, 14], Operations: []
Exploring Operation: 78-16=62, Resulting Numbers: [89, 14, 62]
Generated Node #0,0: 19:[89, 14, 62] Operation: 78-16=62
Exploring Operation: 89-16=73, Resulting Numbers: [78, 14, 73]
Generated Node #0,1: 19:[78, 14, 73] Operation: 89-16=73
Exploring Operation: 89-78=11, Resulting Numbers: [16, 14, 11]
Generated Node #0,2: 19:[16, 14, 11] Operation: 89-78=11
Exploring Operation: 78-14=64, Resulting Numbers: [16, 89, 64]
Generated Node #0,3: 19:[16, 89, 64] Operation: 78-14=64
Moving to Node #0,2
Current State: 19:[16, 14, 11], Operations: ['89-78=11']
Exploring Operation: 16-11=5, Resulting Numbers: [14, 5]
Generated Node #0,2,0: 19:[14, 5] Operation: 16-11=5
Exploring Operation: 16+11=27, Resulting Numbers: [14, 27]
Generated Node #0,2,1: 19:[14, 27] Operation: 16+11=27
Exploring Operation: 16+14=30, Resulting Numbers: [11, 30]
Generated Node #0,2,2: 19:[11, 30] Operation: 16+14=30
Exploring Operation: 14+11=25, Resulting Numbers: [16, 25]
Generated Node #0,2,3: 19:[16, 25] Operation: 14+11=25
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 19:[16, 25], Operations: ['89-78=11', '14+11=25']
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,19 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,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,2,1
Current State: 19:[14, 27], Operations: ['89-78=11', '16+11=27']
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,19 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,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,2,0
Current State: 19:[14, 5], Operations: ['89-78=11', '16-11=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[78, 16, 89, 14], Operations: []
Exploring Operation: 89-78=11, Resulting Numbers: [16, 14, 11]
Generated Node #0,2: 19:[16, 14, 11] Operation: 89-78=11
Moving to Node #0,2
Current State: 19:[16, 14, 11], Operations: ['89-78=11']
Exploring Operation: 16-11=5, Resulting Numbers: [14, 5]
Generated Node #0,2,0: 19:[14, 5] Operation: 16-11=5
Moving to Node #0,2,0
Current State: 19:[14, 5], Operations: ['89-78=11', '16-11=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
58,
99,
24,
6
] | 45 | [
"99-58=41",
"24/6=4",
"41+4=45"
] | Current State: 45:[58, 99, 24, 6], Operations: []
Exploring Operation: 99-58=41, Resulting Numbers: [24, 6, 41]
Generated Node #2: [24, 6, 41] from Operation: 99-58=41
Current State: 45:[24, 6, 41], Operations: ['99-58=41']
Exploring Operation: 24/6=4, Resulting Numbers: [41, 4]
Generated Node #3: [41, 4] from Operation: 24/6=4
Current State: 45:[41, 4], Operations: ['99-58=41', '24/6=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[58, 99, 24, 6], Operations: []
Exploring Operation: 99-24=75, Resulting Numbers: [58, 6, 75]
Generated Node #0,0: 45:[58, 6, 75] Operation: 99-24=75
Exploring Operation: 99-58=41, Resulting Numbers: [24, 6, 41]
Generated Node #0,1: 45:[24, 6, 41] Operation: 99-58=41
Moving to Node #0,1
Current State: 45:[24, 6, 41], Operations: ['99-58=41']
Exploring Operation: 24/6=4, Resulting Numbers: [41, 4]
Generated Node #0,1,0: 45:[41, 4] Operation: 24/6=4
Exploring Operation: 41-24=17, Resulting Numbers: [6, 17]
Generated Node #0,1,1: 45:[6, 17] Operation: 41-24=17
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[6, 17], Operations: ['99-58=41', '41-24=17']
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,45 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,45 unequal: No Solution
No 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: 45:[41, 4], Operations: ['99-58=41', '24/6=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[58, 99, 24, 6], Operations: []
Exploring Operation: 99-58=41, Resulting Numbers: [24, 6, 41]
Generated Node #0,1: 45:[24, 6, 41] Operation: 99-58=41
Moving to Node #0,1
Current State: 45:[24, 6, 41], Operations: ['99-58=41']
Exploring Operation: 24/6=4, Resulting Numbers: [41, 4]
Generated Node #0,1,0: 45:[41, 4] Operation: 24/6=4
Moving to Node #0,1,0
Current State: 45:[41, 4], Operations: ['99-58=41', '24/6=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
65,
46,
52,
41
] | 74 | [
"65-46=19",
"52+41=93",
"93-19=74"
] | Current State: 74:[65, 46, 52, 41], Operations: []
Exploring Operation: 65-46=19, Resulting Numbers: [52, 41, 19]
Generated Node #2: [52, 41, 19] from Operation: 65-46=19
Current State: 74:[52, 41, 19], Operations: ['65-46=19']
Exploring Operation: 52+41=93, Resulting Numbers: [19, 93]
Generated Node #3: [19, 93] from Operation: 52+41=93
Current State: 74:[19, 93], Operations: ['65-46=19', '52+41=93']
Exploring Operation: 93-19=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[65, 46, 52, 41], Operations: []
Exploring Operation: 65-52=13, Resulting Numbers: [46, 41, 13]
Generated Node #0,0: 74:[46, 41, 13] Operation: 65-52=13
Exploring Operation: 52-46=6, Resulting Numbers: [65, 41, 6]
Generated Node #0,1: 74:[65, 41, 6] Operation: 52-46=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[65, 41, 6], Operations: ['52-46=6']
Exploring Operation: 65+6=71, Resulting Numbers: [41, 71]
Generated Node #0,1,0: 74:[41, 71] Operation: 65+6=71
Exploring Operation: 41-6=35, Resulting Numbers: [65, 35]
Generated Node #0,1,1: 74:[65, 35] Operation: 41-6=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[41, 71], Operations: ['52-46=6', '65+6=71']
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 41+71=112, Resulting Numbers: [112]
112,74 unequal: No Solution
No 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: 74:[65, 35], Operations: ['52-46=6', '41-6=35']
Exploring Operation: 65-35=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 65+35=100, Resulting Numbers: [100]
100,74 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: 74:[46, 41, 13], Operations: ['65-52=13']
Exploring Operation: 46-13=33, Resulting Numbers: [41, 33]
Generated Node #0,0,0: 74:[41, 33] Operation: 46-13=33
Exploring Operation: 46-41=5, Resulting Numbers: [13, 5]
Generated Node #0,0,1: 74:[13, 5] Operation: 46-41=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[41, 33], Operations: ['65-52=13', '46-13=33']
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 41+33=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[65, 46, 52, 41], Operations: []
Exploring Operation: 65-52=13, Resulting Numbers: [46, 41, 13]
Generated Node #0,0: 74:[46, 41, 13] Operation: 65-52=13
Moving to Node #0,0
Current State: 74:[46, 41, 13], Operations: ['65-52=13']
Exploring Operation: 46-13=33, Resulting Numbers: [41, 33]
Generated Node #0,0,0: 74:[41, 33] Operation: 46-13=33
Moving to Node #0,0,0
Current State: 74:[41, 33], Operations: ['65-52=13', '46-13=33']
Exploring Operation: 41+33=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
49,
56,
63,
43
] | 45 | [
"49+63=112",
"112/56=2",
"43+2=45"
] | Current State: 45:[49, 56, 63, 43], Operations: []
Exploring Operation: 49+63=112, Resulting Numbers: [56, 43, 112]
Generated Node #2: [56, 43, 112] from Operation: 49+63=112
Current State: 45:[56, 43, 112], Operations: ['49+63=112']
Exploring Operation: 112/56=2, Resulting Numbers: [43, 2]
Generated Node #3: [43, 2] from Operation: 112/56=2
Current State: 45:[43, 2], Operations: ['49+63=112', '112/56=2']
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[49, 56, 63, 43], Operations: []
Exploring Operation: 63-49=14, Resulting Numbers: [56, 43, 14]
Generated Node #0,0: 45:[56, 43, 14] Operation: 63-49=14
Exploring Operation: 63-56=7, Resulting Numbers: [49, 43, 7]
Generated Node #0,1: 45:[49, 43, 7] Operation: 63-56=7
Exploring Operation: 56-49=7, Resulting Numbers: [63, 43, 7]
Generated Node #0,2: 45:[63, 43, 7] Operation: 56-49=7
Exploring Operation: 63-43=20, Resulting Numbers: [49, 56, 20]
Generated Node #0,3: 45:[49, 56, 20] Operation: 63-43=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[49, 43, 7], Operations: ['63-56=7']
Exploring Operation: 49-7=42, Resulting Numbers: [43, 42]
Generated Node #0,1,0: 45:[43, 42] Operation: 49-7=42
Exploring Operation: 49-43=6, Resulting Numbers: [7, 6]
Generated Node #0,1,1: 45:[7, 6] Operation: 49-43=6
Exploring Operation: 49/7=7, Resulting Numbers: [43, 7]
Generated Node #0,1,2: 45:[43, 7] Operation: 49/7=7
Exploring Operation: 43+7=50, Resulting Numbers: [49, 50]
Generated Node #0,1,3: 45:[49, 50] Operation: 43+7=50
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[7, 6], Operations: ['63-56=7', '49-43=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,45 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 45:[43, 7], Operations: ['63-56=7', '49/7=7']
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 43*7=301, Resulting Numbers: [301]
301,45 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[43, 42], Operations: ['63-56=7', '49-7=42']
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,45 unequal: No Solution
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 45:[49, 50], Operations: ['63-56=7', '43+7=50']
Exploring Operation: 49*50=2450, Resulting Numbers: [2450]
2450,45 unequal: No Solution
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 49+50=99, Resulting Numbers: [99]
99,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[56, 43, 14], Operations: ['63-49=14']
Exploring Operation: 43+14=57, Resulting Numbers: [56, 57]
Generated Node #0,0,0: 45:[56, 57] Operation: 43+14=57
Exploring Operation: 56-14=42, Resulting Numbers: [43, 42]
Generated Node #0,0,1: 45:[43, 42] Operation: 56-14=42
Exploring Operation: 56/14=4, Resulting Numbers: [43, 4]
Generated Node #0,0,2: 45:[43, 4] Operation: 56/14=4
Exploring Operation: 56-43=13, Resulting Numbers: [14, 13]
Generated Node #0,0,3: 45:[14, 13] Operation: 56-43=13
Moving to Node #0,0,2
Current State: 45:[43, 4], Operations: ['63-49=14', '56/14=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,45 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,45 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,45 unequal: No Solution
Moving to Node #0,0,3
Current State: 45:[14, 13], Operations: ['63-49=14', '56-43=13']
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[43, 42], Operations: ['63-49=14', '56-14=42']
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,45 unequal: No Solution
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,45 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[56, 57], Operations: ['63-49=14', '43+14=57']
Exploring Operation: 56+57=113, Resulting Numbers: [113]
113,45 unequal: No Solution
Exploring Operation: 57-56=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 56*57=3192, Resulting Numbers: [3192]
3192,45 unequal: No Solution
No 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: 45:[49, 56, 20], Operations: ['63-43=20']
Exploring Operation: 49-20=29, Resulting Numbers: [56, 29]
Generated Node #0,3,0: 45:[56, 29] Operation: 49-20=29
Exploring Operation: 56-20=36, Resulting Numbers: [49, 36]
Generated Node #0,3,1: 45:[49, 36] Operation: 56-20=36
Exploring Operation: 56-49=7, Resulting Numbers: [20, 7]
Generated Node #0,3,2: 45:[20, 7] Operation: 56-49=7
Exploring Operation: 49+20=69, Resulting Numbers: [56, 69]
Generated Node #0,3,3: 45:[56, 69] Operation: 49+20=69
Moving to Node #0,3,2
Current State: 45:[20, 7], Operations: ['63-43=20', '56-49=7']
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,45 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Moving to Node #0,3,1
Current State: 45:[49, 36], Operations: ['63-43=20', '56-20=36']
Exploring Operation: 49*36=1764, Resulting Numbers: [1764]
1764,45 unequal: No Solution
Exploring Operation: 49+36=85, Resulting Numbers: [85]
85,45 unequal: No Solution
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Moving to Node #0,3,0
Current State: 45:[56, 29], Operations: ['63-43=20', '49-20=29']
Exploring Operation: 56+29=85, Resulting Numbers: [85]
85,45 unequal: No Solution
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 56*29=1624, Resulting Numbers: [1624]
1624,45 unequal: No Solution
Moving to Node #0,3,3
Current State: 45:[56, 69], Operations: ['63-43=20', '49+20=69']
Exploring Operation: 69-56=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 56+69=125, Resulting Numbers: [125]
125,45 unequal: No Solution
Exploring Operation: 56*69=3864, Resulting Numbers: [3864]
3864,45 unequal: No Solution
No 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: 45:[63, 43, 7], Operations: ['56-49=7']
Exploring Operation: 63-7=56, Resulting Numbers: [43, 56]
Generated Node #0,2,0: 45:[43, 56] Operation: 63-7=56
Exploring Operation: 63-43=20, Resulting Numbers: [7, 20]
Generated Node #0,2,1: 45:[7, 20] Operation: 63-43=20
Exploring Operation: 43+7=50, Resulting Numbers: [63, 50]
Generated Node #0,2,2: 45:[63, 50] Operation: 43+7=50
Exploring Operation: 63/7=9, Resulting Numbers: [43, 9]
Generated Node #0,2,3: 45:[43, 9] Operation: 63/7=9
Moving to Node #0,2,3
Current State: 45:[43, 9], Operations: ['56-49=7', '63/7=9']
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,45 unequal: No Solution
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[7, 20], Operations: ['56-49=7', '63-43=20']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[43, 56], Operations: ['56-49=7', '63-7=56']
Exploring Operation: 43+56=99, Resulting Numbers: [99]
99,45 unequal: No Solution
Exploring Operation: 56-43=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 43*56=2408, Resulting Numbers: [2408]
2408,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[63, 50], Operations: ['56-49=7', '43+7=50']
Exploring Operation: 63+50=113, Resulting Numbers: [113]
113,45 unequal: No Solution
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,45 unequal: No Solution
Exploring Operation: 63*50=3150, Resulting Numbers: [3150]
3150,45 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 |
[
22,
72,
59,
13
] | 22 | [
"22+72=94",
"59+13=72",
"94-72=22"
] | Current State: 22:[22, 72, 59, 13], Operations: []
Exploring Operation: 22+72=94, Resulting Numbers: [59, 13, 94]
Generated Node #2: [59, 13, 94] from Operation: 22+72=94
Current State: 22:[59, 13, 94], Operations: ['22+72=94']
Exploring Operation: 59+13=72, Resulting Numbers: [94, 72]
Generated Node #3: [94, 72] from Operation: 59+13=72
Current State: 22:[94, 72], Operations: ['22+72=94', '59+13=72']
Exploring Operation: 94-72=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[22, 72, 59, 13], Operations: []
Exploring Operation: 59-22=37, Resulting Numbers: [72, 13, 37]
Generated Node #0,0: 22:[72, 13, 37] Operation: 59-22=37
Exploring Operation: 72-13=59, Resulting Numbers: [22, 59, 59]
Generated Node #0,1: 22:[22, 59, 59] Operation: 72-13=59
Exploring Operation: 72-22=50, Resulting Numbers: [59, 13, 50]
Generated Node #0,2: 22:[59, 13, 50] Operation: 72-22=50
Exploring Operation: 72-59=13, Resulting Numbers: [22, 13, 13]
Generated Node #0,3: 22:[22, 13, 13] Operation: 72-59=13
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[22, 13, 13], Operations: ['72-59=13']
Exploring Operation: 13-13=0, Resulting Numbers: [22, 0]
Generated Node #0,3,0: 22:[22, 0] Operation: 13-13=0
Exploring Operation: 22-13=9, Resulting Numbers: [13, 9]
Generated Node #0,3,1: 22:[13, 9] Operation: 22-13=9
Exploring Operation: 22-13=9, Resulting Numbers: [13, 9]
Generated Node #0,3,2: 22:[13, 9] Operation: 22-13=9
Exploring Operation: 13/13=1, Resulting Numbers: [22, 1]
Generated Node #0,3,3: 22:[22, 1] Operation: 13/13=1
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 22:[22, 1], Operations: ['72-59=13', '13/13=1']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[22, 72, 59, 13], Operations: []
Exploring Operation: 72-59=13, Resulting Numbers: [22, 13, 13]
Generated Node #0,3: 22:[22, 13, 13] Operation: 72-59=13
Moving to Node #0,3
Current State: 22:[22, 13, 13], Operations: ['72-59=13']
Exploring Operation: 13/13=1, Resulting Numbers: [22, 1]
Generated Node #0,3,3: 22:[22, 1] Operation: 13/13=1
Moving to Node #0,3,3
Current State: 22:[22, 1], Operations: ['72-59=13', '13/13=1']
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
11,
63,
4,
87
] | 52 | [
"11+63=74",
"87-74=13",
"4*13=52"
] | Current State: 52:[11, 63, 4, 87], Operations: []
Exploring Operation: 11+63=74, Resulting Numbers: [4, 87, 74]
Generated Node #2: [4, 87, 74] from Operation: 11+63=74
Current State: 52:[4, 87, 74], Operations: ['11+63=74']
Exploring Operation: 87-74=13, Resulting Numbers: [4, 13]
Generated Node #3: [4, 13] from Operation: 87-74=13
Current State: 52:[4, 13], Operations: ['11+63=74', '87-74=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[11, 63, 4, 87], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [11, 4, 24]
Generated Node #0,0: 52:[11, 4, 24] Operation: 87-63=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[11, 4, 24], Operations: ['87-63=24']
Exploring Operation: 24-11=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 52:[4, 13] Operation: 24-11=13
Moving to Node #0,0,0
Current State: 52:[4, 13], Operations: ['87-63=24', '24-11=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[11, 63, 4, 87], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [11, 4, 24]
Generated Node #0,0: 52:[11, 4, 24] Operation: 87-63=24
Moving to Node #0,0
Current State: 52:[11, 4, 24], Operations: ['87-63=24']
Exploring Operation: 24-11=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 52:[4, 13] Operation: 24-11=13
Moving to Node #0,0,0
Current State: 52:[4, 13], Operations: ['87-63=24', '24-11=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
63,
16,
48,
32
] | 87 | [
"16*48=768",
"768/32=24",
"63+24=87"
] | Current State: 87:[63, 16, 48, 32], Operations: []
Exploring Operation: 16*48=768, Resulting Numbers: [63, 32, 768]
Generated Node #2: [63, 32, 768] from Operation: 16*48=768
Current State: 87:[63, 32, 768], Operations: ['16*48=768']
Exploring Operation: 768/32=24, Resulting Numbers: [63, 24]
Generated Node #3: [63, 24] from Operation: 768/32=24
Current State: 87:[63, 24], Operations: ['16*48=768', '768/32=24']
Exploring Operation: 63+24=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[63, 16, 48, 32], Operations: []
Exploring Operation: 63-48=15, Resulting Numbers: [16, 32, 15]
Generated Node #0,0: 87:[16, 32, 15] Operation: 63-48=15
Exploring Operation: 48/16=3, Resulting Numbers: [63, 32, 3]
Generated Node #0,1: 87:[63, 32, 3] Operation: 48/16=3
Moving to Node #0,1
Current State: 87:[63, 32, 3], Operations: ['48/16=3']
Exploring Operation: 63+32=95, Resulting Numbers: [3, 95]
Generated Node #0,1,0: 87:[3, 95] Operation: 63+32=95
Exploring Operation: 63-32=31, Resulting Numbers: [3, 31]
Generated Node #0,1,1: 87:[3, 31] Operation: 63-32=31
Moving to Node #0,0
Current State: 87:[16, 32, 15], Operations: ['63-48=15']
Exploring Operation: 16+15=31, Resulting Numbers: [32, 31]
Generated Node #0,0,0: 87:[32, 31] Operation: 16+15=31
Exploring Operation: 16-15=1, Resulting Numbers: [32, 1]
Generated Node #0,0,1: 87:[32, 1] Operation: 16-15=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[32, 31], Operations: ['63-48=15', '16+15=31']
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 32+31=63, Resulting Numbers: [63]
63,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:[32, 1], Operations: ['63-48=15', '16-15=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,87 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: 87:[3, 31], Operations: ['48/16=3', '63-32=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,87 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[3, 95], Operations: ['48/16=3', '63+32=95']
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Exploring Operation: 3+95=98, Resulting Numbers: [98]
98,87 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
19,
60,
38,
57
] | 71 | [
"60*57=3420",
"3420/38=90",
"90-19=71"
] | Current State: 71:[19, 60, 38, 57], Operations: []
Exploring Operation: 60*57=3420, Resulting Numbers: [19, 38, 3420]
Generated Node #2: [19, 38, 3420] from Operation: 60*57=3420
Current State: 71:[19, 38, 3420], Operations: ['60*57=3420']
Exploring Operation: 3420/38=90, Resulting Numbers: [19, 90]
Generated Node #3: [19, 90] from Operation: 3420/38=90
Current State: 71:[19, 90], Operations: ['60*57=3420', '3420/38=90']
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[19, 60, 38, 57], Operations: []
Exploring Operation: 19+38=57, Resulting Numbers: [60, 57, 57]
Generated Node #0,0: 71:[60, 57, 57] Operation: 19+38=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[60, 57, 57], Operations: ['19+38=57']
Exploring Operation: 57+57=114, Resulting Numbers: [60, 114]
Generated Node #0,0,0: 71:[60, 114] Operation: 57+57=114
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[60, 114], Operations: ['19+38=57', '57+57=114']
Exploring Operation: 114-60=54, Resulting Numbers: [54]
54,71 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 |
[
22,
15,
32,
41
] | 86 | [
"32*41=1312",
"1312-22=1290",
"1290/15=86"
] | Current State: 86:[22, 15, 32, 41], Operations: []
Exploring Operation: 32*41=1312, Resulting Numbers: [22, 15, 1312]
Generated Node #2: [22, 15, 1312] from Operation: 32*41=1312
Current State: 86:[22, 15, 1312], Operations: ['32*41=1312']
Exploring Operation: 1312-22=1290, Resulting Numbers: [15, 1290]
Generated Node #3: [15, 1290] from Operation: 1312-22=1290
Current State: 86:[15, 1290], Operations: ['32*41=1312', '1312-22=1290']
Exploring Operation: 1290/15=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[22, 15, 32, 41], Operations: []
Exploring Operation: 22-15=7, Resulting Numbers: [32, 41, 7]
Generated Node #0,0: 86:[32, 41, 7] Operation: 22-15=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[32, 41, 7], Operations: ['22-15=7']
Exploring Operation: 32+7=39, Resulting Numbers: [41, 39]
Generated Node #0,0,0: 86:[41, 39] Operation: 32+7=39
Moving to Node #0,0,0
Current State: 86:[41, 39], Operations: ['22-15=7', '32+7=39']
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,86 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 |
[
65,
44,
14,
9
] | 40 | [
"65-9=56",
"56/14=4",
"44-4=40"
] | Current State: 40:[65, 44, 14, 9], Operations: []
Exploring Operation: 65-9=56, Resulting Numbers: [44, 14, 56]
Generated Node #2: [44, 14, 56] from Operation: 65-9=56
Current State: 40:[44, 14, 56], Operations: ['65-9=56']
Exploring Operation: 56/14=4, Resulting Numbers: [44, 4]
Generated Node #3: [44, 4] from Operation: 56/14=4
Current State: 40:[44, 4], Operations: ['65-9=56', '56/14=4']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[65, 44, 14, 9], Operations: []
Exploring Operation: 65-14=51, Resulting Numbers: [44, 9, 51]
Generated Node #0,0: 40:[44, 9, 51] Operation: 65-14=51
Exploring Operation: 65-44=21, Resulting Numbers: [14, 9, 21]
Generated Node #0,1: 40:[14, 9, 21] Operation: 65-44=21
Moving to Node #0,1
Current State: 40:[14, 9, 21], Operations: ['65-44=21']
Exploring Operation: 14-9=5, Resulting Numbers: [21, 5]
Generated Node #0,1,0: 40:[21, 5] Operation: 14-9=5
Exploring Operation: 21-14=7, Resulting Numbers: [9, 7]
Generated Node #0,1,1: 40:[9, 7] Operation: 21-14=7
Moving to Node #0,0
Current State: 40:[44, 9, 51], Operations: ['65-14=51']
Exploring Operation: 51-44=7, Resulting Numbers: [9, 7]
Generated Node #0,0,0: 40:[9, 7] Operation: 51-44=7
Exploring Operation: 51-9=42, Resulting Numbers: [44, 42]
Generated Node #0,0,1: 40:[44, 42] Operation: 51-9=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[9, 7], Operations: ['65-14=51', '51-44=7']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[44, 42], Operations: ['65-14=51', '51-9=42']
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,40 unequal: No Solution
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 40:[21, 5], Operations: ['65-44=21', '14-9=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[9, 7], Operations: ['65-44=21', '21-14=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,40 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
8,
32,
52,
3
] | 53 | [
"32/8=4",
"52-3=49",
"4+49=53"
] | Current State: 53:[8, 32, 52, 3], Operations: []
Exploring Operation: 32/8=4, Resulting Numbers: [52, 3, 4]
Generated Node #2: [52, 3, 4] from Operation: 32/8=4
Current State: 53:[52, 3, 4], Operations: ['32/8=4']
Exploring Operation: 52-3=49, Resulting Numbers: [4, 49]
Generated Node #3: [4, 49] from Operation: 52-3=49
Current State: 53:[4, 49], Operations: ['32/8=4', '52-3=49']
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[8, 32, 52, 3], Operations: []
Exploring Operation: 8*3=24, Resulting Numbers: [32, 52, 24]
Generated Node #0,0: 53:[32, 52, 24] Operation: 8*3=24
Moving to Node #0,0
Current State: 53:[32, 52, 24], Operations: ['8*3=24']
Exploring Operation: 32+24=56, Resulting Numbers: [52, 56]
Generated Node #0,0,0: 53:[52, 56] Operation: 32+24=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[52, 56], Operations: ['8*3=24', '32+24=56']
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
58,
50,
83,
2
] | 93 | [
"58-50=8",
"83+2=85",
"8+85=93"
] | Current State: 93:[58, 50, 83, 2], Operations: []
Exploring Operation: 58-50=8, Resulting Numbers: [83, 2, 8]
Generated Node #2: [83, 2, 8] from Operation: 58-50=8
Current State: 93:[83, 2, 8], Operations: ['58-50=8']
Exploring Operation: 83+2=85, Resulting Numbers: [8, 85]
Generated Node #3: [8, 85] from Operation: 83+2=85
Current State: 93:[8, 85], Operations: ['58-50=8', '83+2=85']
Exploring Operation: 8+85=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[58, 50, 83, 2], Operations: []
Exploring Operation: 83-50=33, Resulting Numbers: [58, 2, 33]
Generated Node #0,0: 93:[58, 2, 33] Operation: 83-50=33
Exploring Operation: 83-58=25, Resulting Numbers: [50, 2, 25]
Generated Node #0,1: 93:[50, 2, 25] Operation: 83-58=25
Exploring Operation: 58-50=8, Resulting Numbers: [83, 2, 8]
Generated Node #0,2: 93:[83, 2, 8] Operation: 58-50=8
Exploring Operation: 58+50=108, Resulting Numbers: [83, 2, 108]
Generated Node #0,3: 93:[83, 2, 108] Operation: 58+50=108
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[83, 2, 8], Operations: ['58-50=8']
Exploring Operation: 83+8=91, Resulting Numbers: [2, 91]
Generated Node #0,2,0: 93:[2, 91] Operation: 83+8=91
Exploring Operation: 8-2=6, Resulting Numbers: [83, 6]
Generated Node #0,2,1: 93:[83, 6] Operation: 8-2=6
Exploring Operation: 83+2=85, Resulting Numbers: [8, 85]
Generated Node #0,2,2: 93:[8, 85] Operation: 83+2=85
Exploring Operation: 8/2=4, Resulting Numbers: [83, 4]
Generated Node #0,2,3: 93:[83, 4] Operation: 8/2=4
Moving to Node #0,2,0
Current State: 93:[2, 91], Operations: ['58-50=8', '83+8=91']
Exploring Operation: 2*91=182, Resulting Numbers: [182]
182,93 unequal: No Solution
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[58, 50, 83, 2], Operations: []
Exploring Operation: 58-50=8, Resulting Numbers: [83, 2, 8]
Generated Node #0,2: 93:[83, 2, 8] Operation: 58-50=8
Moving to Node #0,2
Current State: 93:[83, 2, 8], Operations: ['58-50=8']
Exploring Operation: 83+8=91, Resulting Numbers: [2, 91]
Generated Node #0,2,0: 93:[2, 91] Operation: 83+8=91
Moving to Node #0,2,0
Current State: 93:[2, 91], Operations: ['58-50=8', '83+8=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
93,
83,
63,
9
] | 44 | [
"93-83=10",
"63-9=54",
"54-10=44"
] | Current State: 44:[93, 83, 63, 9], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [63, 9, 10]
Generated Node #2: [63, 9, 10] from Operation: 93-83=10
Current State: 44:[63, 9, 10], Operations: ['93-83=10']
Exploring Operation: 63-9=54, Resulting Numbers: [10, 54]
Generated Node #3: [10, 54] from Operation: 63-9=54
Current State: 44:[10, 54], Operations: ['93-83=10', '63-9=54']
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[93, 83, 63, 9], Operations: []
Exploring Operation: 83-63=20, Resulting Numbers: [93, 9, 20]
Generated Node #0,0: 44:[93, 9, 20] Operation: 83-63=20
Exploring Operation: 93-63=30, Resulting Numbers: [83, 9, 30]
Generated Node #0,1: 44:[83, 9, 30] Operation: 93-63=30
Exploring Operation: 93-83=10, Resulting Numbers: [63, 9, 10]
Generated Node #0,2: 44:[63, 9, 10] Operation: 93-83=10
Exploring Operation: 63/9=7, Resulting Numbers: [93, 83, 7]
Generated Node #0,3: 44:[93, 83, 7] Operation: 63/9=7
Moving to Node #0,2
Current State: 44:[63, 9, 10], Operations: ['93-83=10']
Exploring Operation: 63/9=7, Resulting Numbers: [10, 7]
Generated Node #0,2,0: 44:[10, 7] Operation: 63/9=7
Exploring Operation: 63-9=54, Resulting Numbers: [10, 54]
Generated Node #0,2,1: 44:[10, 54] Operation: 63-9=54
Exploring Operation: 63-10=53, Resulting Numbers: [9, 53]
Generated Node #0,2,2: 44:[9, 53] Operation: 63-10=53
Exploring Operation: 10-9=1, Resulting Numbers: [63, 1]
Generated Node #0,2,3: 44:[63, 1] Operation: 10-9=1
Moving to Node #0,1
Current State: 44:[83, 9, 30], Operations: ['93-63=30']
Exploring Operation: 83-30=53, Resulting Numbers: [9, 53]
Generated Node #0,1,0: 44:[9, 53] Operation: 83-30=53
Exploring Operation: 30-9=21, Resulting Numbers: [83, 21]
Generated Node #0,1,1: 44:[83, 21] Operation: 30-9=21
Exploring Operation: 9+30=39, Resulting Numbers: [83, 39]
Generated Node #0,1,2: 44:[83, 39] Operation: 9+30=39
Exploring Operation: 83-9=74, Resulting Numbers: [30, 74]
Generated Node #0,1,3: 44:[30, 74] Operation: 83-9=74
Moving to Node #0,0
Current State: 44:[93, 9, 20], Operations: ['83-63=20']
Exploring Operation: 9+20=29, Resulting Numbers: [93, 29]
Generated Node #0,0,0: 44:[93, 29] Operation: 9+20=29
Exploring Operation: 93-9=84, Resulting Numbers: [20, 84]
Generated Node #0,0,1: 44:[20, 84] Operation: 93-9=84
Exploring Operation: 20-9=11, Resulting Numbers: [93, 11]
Generated Node #0,0,2: 44:[93, 11] Operation: 20-9=11
Exploring Operation: 93-20=73, Resulting Numbers: [9, 73]
Generated Node #0,0,3: 44:[9, 73] Operation: 93-20=73
Moving to Node #0,3
Current State: 44:[93, 83, 7], Operations: ['63/9=7']
Exploring Operation: 83-7=76, Resulting Numbers: [93, 76]
Generated Node #0,3,0: 44:[93, 76] Operation: 83-7=76
Exploring Operation: 93-7=86, Resulting Numbers: [83, 86]
Generated Node #0,3,1: 44:[83, 86] Operation: 93-7=86
Exploring Operation: 93+7=100, Resulting Numbers: [83, 100]
Generated Node #0,3,2: 44:[83, 100] Operation: 93+7=100
Exploring Operation: 93-83=10, Resulting Numbers: [7, 10]
Generated Node #0,3,3: 44:[7, 10] Operation: 93-83=10
Moving to Node #0,2,0
Current State: 44:[10, 7], Operations: ['93-83=10', '63/9=7']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,44 unequal: No Solution
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Moving to Node #0,3,3
Current State: 44:[7, 10], Operations: ['63/9=7', '93-83=10']
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[9, 53], Operations: ['93-83=10', '63-10=53']
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[93, 83, 63, 9], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [63, 9, 10]
Generated Node #0,2: 44:[63, 9, 10] Operation: 93-83=10
Moving to Node #0,2
Current State: 44:[63, 9, 10], Operations: ['93-83=10']
Exploring Operation: 63-10=53, Resulting Numbers: [9, 53]
Generated Node #0,2,2: 44:[9, 53] Operation: 63-10=53
Moving to Node #0,2,2
Current State: 44:[9, 53], Operations: ['93-83=10', '63-10=53']
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.97309 | hs_4 | sum_heuristic |
[
20,
96,
1,
4
] | 19 | [
"96-20=76",
"1*4=4",
"76/4=19"
] | Current State: 19:[20, 96, 1, 4], Operations: []
Exploring Operation: 96-20=76, Resulting Numbers: [1, 4, 76]
Generated Node #2: [1, 4, 76] from Operation: 96-20=76
Current State: 19:[1, 4, 76], Operations: ['96-20=76']
Exploring Operation: 1*4=4, Resulting Numbers: [76, 4]
Generated Node #3: [76, 4] from Operation: 1*4=4
Current State: 19:[76, 4], Operations: ['96-20=76', '1*4=4']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[20, 96, 1, 4], Operations: []
Exploring Operation: 20-1=19, Resulting Numbers: [96, 4, 19]
Generated Node #0,0: 19:[96, 4, 19] Operation: 20-1=19
Exploring Operation: 96/4=24, Resulting Numbers: [20, 1, 24]
Generated Node #0,1: 19:[20, 1, 24] Operation: 96/4=24
Exploring Operation: 96-20=76, Resulting Numbers: [1, 4, 76]
Generated Node #0,2: 19:[1, 4, 76] Operation: 96-20=76
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[20, 1, 24], Operations: ['96/4=24']
Exploring Operation: 20*1=20, Resulting Numbers: [24, 20]
Generated Node #0,1,0: 19:[24, 20] Operation: 20*1=20
Exploring Operation: 20-1=19, Resulting Numbers: [24, 19]
Generated Node #0,1,1: 19:[24, 19] Operation: 20-1=19
Exploring Operation: 24-1=23, Resulting Numbers: [20, 23]
Generated Node #0,1,2: 19:[20, 23] Operation: 24-1=23
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[24, 19], Operations: ['96/4=24', '20-1=19']
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 24*19=456, Resulting Numbers: [456]
456,19 unequal: No Solution
No 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: 19:[20, 23], Operations: ['96/4=24', '24-1=23']
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 20*23=460, Resulting Numbers: [460]
460,19 unequal: No Solution
No 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: 19:[24, 20], Operations: ['96/4=24', '20*1=20']
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,19 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,19 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: 19:[1, 4, 76], Operations: ['96-20=76']
Exploring Operation: 1+4=5, Resulting Numbers: [76, 5]
Generated Node #0,2,0: 19:[76, 5] Operation: 1+4=5
Exploring Operation: 76-1=75, Resulting Numbers: [4, 75]
Generated Node #0,2,1: 19:[4, 75] Operation: 76-1=75
Exploring Operation: 76/4=19, Resulting Numbers: [1, 19]
Generated Node #0,2,2: 19:[1, 19] Operation: 76/4=19
Moving to Node #0,2,2
Current State: 19:[1, 19], Operations: ['96-20=76', '76/4=19']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[20, 96, 1, 4], Operations: []
Exploring Operation: 96-20=76, Resulting Numbers: [1, 4, 76]
Generated Node #0,2: 19:[1, 4, 76] Operation: 96-20=76
Moving to Node #0,2
Current State: 19:[1, 4, 76], Operations: ['96-20=76']
Exploring Operation: 76/4=19, Resulting Numbers: [1, 19]
Generated Node #0,2,2: 19:[1, 19] Operation: 76/4=19
Moving to Node #0,2,2
Current State: 19:[1, 19], Operations: ['96-20=76', '76/4=19']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
18,
41,
24,
15
] | 50 | [
"18+41=59",
"24-15=9",
"59-9=50"
] | Current State: 50:[18, 41, 24, 15], Operations: []
Exploring Operation: 18+41=59, Resulting Numbers: [24, 15, 59]
Generated Node #2: [24, 15, 59] from Operation: 18+41=59
Current State: 50:[24, 15, 59], Operations: ['18+41=59']
Exploring Operation: 24-15=9, Resulting Numbers: [59, 9]
Generated Node #3: [59, 9] from Operation: 24-15=9
Current State: 50:[59, 9], Operations: ['18+41=59', '24-15=9']
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[18, 41, 24, 15], Operations: []
Exploring Operation: 41-15=26, Resulting Numbers: [18, 24, 26]
Generated Node #0,0: 50:[18, 24, 26] Operation: 41-15=26
Exploring Operation: 41-18=23, Resulting Numbers: [24, 15, 23]
Generated Node #0,1: 50:[24, 15, 23] Operation: 41-18=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[24, 15, 23], Operations: ['41-18=23']
Exploring Operation: 23-15=8, Resulting Numbers: [24, 8]
Generated Node #0,1,0: 50:[24, 8] Operation: 23-15=8
Exploring Operation: 24-15=9, Resulting Numbers: [23, 9]
Generated Node #0,1,1: 50:[23, 9] Operation: 24-15=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[24, 8], Operations: ['41-18=23', '23-15=8']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[23, 9], Operations: ['41-18=23', '24-15=9']
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,50 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[18, 24, 26], Operations: ['41-15=26']
Exploring Operation: 26-18=8, Resulting Numbers: [24, 8]
Generated Node #0,0,0: 50:[24, 8] Operation: 26-18=8
Exploring Operation: 24-18=6, Resulting Numbers: [26, 6]
Generated Node #0,0,1: 50:[26, 6] Operation: 24-18=6
Moving to Node #0,0,1
Current State: 50:[26, 6], Operations: ['41-15=26', '24-18=6']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[24, 8], Operations: ['41-15=26', '26-18=8']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,50 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 |
[
80,
2,
70,
8
] | 50 | [
"80*2=160",
"160/8=20",
"70-20=50"
] | Current State: 50:[80, 2, 70, 8], Operations: []
Exploring Operation: 80*2=160, Resulting Numbers: [70, 8, 160]
Generated Node #2: [70, 8, 160] from Operation: 80*2=160
Current State: 50:[70, 8, 160], Operations: ['80*2=160']
Exploring Operation: 160/8=20, Resulting Numbers: [70, 20]
Generated Node #3: [70, 20] from Operation: 160/8=20
Current State: 50:[70, 20], Operations: ['80*2=160', '160/8=20']
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[80, 2, 70, 8], Operations: []
Exploring Operation: 80-70=10, Resulting Numbers: [2, 8, 10]
Generated Node #0,0: 50:[2, 8, 10] Operation: 80-70=10
Moving to Node #0,0
Current State: 50:[2, 8, 10], Operations: ['80-70=10']
Exploring Operation: 2+8=10, Resulting Numbers: [10, 10]
Generated Node #0,0,0: 50:[10, 10] Operation: 2+8=10
Moving to Node #0,0,0
Current State: 50:[10, 10], Operations: ['80-70=10', '2+8=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,50 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
78,
25,
34
] | 38 | [
"78-25=53",
"53-34=19",
"2*19=38"
] | Current State: 38:[2, 78, 25, 34], Operations: []
Exploring Operation: 78-25=53, Resulting Numbers: [2, 34, 53]
Generated Node #2: [2, 34, 53] from Operation: 78-25=53
Current State: 38:[2, 34, 53], Operations: ['78-25=53']
Exploring Operation: 53-34=19, Resulting Numbers: [2, 19]
Generated Node #3: [2, 19] from Operation: 53-34=19
Current State: 38:[2, 19], Operations: ['78-25=53', '53-34=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[2, 78, 25, 34], Operations: []
Exploring Operation: 78/2=39, Resulting Numbers: [25, 34, 39]
Generated Node #0,0: 38:[25, 34, 39] Operation: 78/2=39
Exploring Operation: 78-34=44, Resulting Numbers: [2, 25, 44]
Generated Node #0,1: 38:[2, 25, 44] Operation: 78-34=44
Exploring Operation: 78-25=53, Resulting Numbers: [2, 34, 53]
Generated Node #0,2: 38:[2, 34, 53] Operation: 78-25=53
Exploring Operation: 34-25=9, Resulting Numbers: [2, 78, 9]
Generated Node #0,3: 38:[2, 78, 9] Operation: 34-25=9
Moving to Node #0,0
Current State: 38:[25, 34, 39], Operations: ['78/2=39']
Exploring Operation: 39-25=14, Resulting Numbers: [34, 14]
Generated Node #0,0,0: 38:[34, 14] Operation: 39-25=14
Exploring Operation: 34-25=9, Resulting Numbers: [39, 9]
Generated Node #0,0,1: 38:[39, 9] Operation: 34-25=9
Exploring Operation: 39-34=5, Resulting Numbers: [25, 5]
Generated Node #0,0,2: 38:[25, 5] Operation: 39-34=5
Exploring Operation: 25+34=59, Resulting Numbers: [39, 59]
Generated Node #0,0,3: 38:[39, 59] Operation: 25+34=59
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[39, 9], Operations: ['78/2=39', '34-25=9']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,38 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[34, 14], Operations: ['78/2=39', '39-25=14']
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,38 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 38:[25, 5], Operations: ['78/2=39', '39-34=5']
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,38 unequal: No Solution
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,38 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,38 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 38:[39, 59], Operations: ['78/2=39', '25+34=59']
Exploring Operation: 39+59=98, Resulting Numbers: [98]
98,38 unequal: No Solution
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 39*59=2301, Resulting Numbers: [2301]
2301,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 38:[2, 25, 44], Operations: ['78-34=44']
Exploring Operation: 44/2=22, Resulting Numbers: [25, 22]
Generated Node #0,1,0: 38:[25, 22] Operation: 44/2=22
Exploring Operation: 44-25=19, Resulting Numbers: [2, 19]
Generated Node #0,1,1: 38:[2, 19] Operation: 44-25=19
Exploring Operation: 25-2=23, Resulting Numbers: [44, 23]
Generated Node #0,1,2: 38:[44, 23] Operation: 25-2=23
Exploring Operation: 44-2=42, Resulting Numbers: [25, 42]
Generated Node #0,1,3: 38:[25, 42] Operation: 44-2=42
Moving to Node #0,2
Current State: 38:[2, 34, 53], Operations: ['78-25=53']
Exploring Operation: 34/2=17, Resulting Numbers: [53, 17]
Generated Node #0,2,0: 38:[53, 17] Operation: 34/2=17
Exploring Operation: 53-2=51, Resulting Numbers: [34, 51]
Generated Node #0,2,1: 38:[34, 51] Operation: 53-2=51
Exploring Operation: 2+34=36, Resulting Numbers: [53, 36]
Generated Node #0,2,2: 38:[53, 36] Operation: 2+34=36
Exploring Operation: 53-34=19, Resulting Numbers: [2, 19]
Generated Node #0,2,3: 38:[2, 19] Operation: 53-34=19
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 38:[2, 19], Operations: ['78-25=53', '53-34=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[2, 78, 25, 34], Operations: []
Exploring Operation: 78-25=53, Resulting Numbers: [2, 34, 53]
Generated Node #0,2: 38:[2, 34, 53] Operation: 78-25=53
Moving to Node #0,2
Current State: 38:[2, 34, 53], Operations: ['78-25=53']
Exploring Operation: 53-34=19, Resulting Numbers: [2, 19]
Generated Node #0,2,3: 38:[2, 19] Operation: 53-34=19
Moving to Node #0,2,3
Current State: 38:[2, 19], Operations: ['78-25=53', '53-34=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_4 | sum_heuristic |
[
3,
77,
6,
42
] | 38 | [
"77-3=74",
"42-6=36",
"74-36=38"
] | Current State: 38:[3, 77, 6, 42], Operations: []
Exploring Operation: 77-3=74, Resulting Numbers: [6, 42, 74]
Generated Node #2: [6, 42, 74] from Operation: 77-3=74
Current State: 38:[6, 42, 74], Operations: ['77-3=74']
Exploring Operation: 42-6=36, Resulting Numbers: [74, 36]
Generated Node #3: [74, 36] from Operation: 42-6=36
Current State: 38:[74, 36], Operations: ['77-3=74', '42-6=36']
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[3, 77, 6, 42], Operations: []
Exploring Operation: 42-6=36, Resulting Numbers: [3, 77, 36]
Generated Node #0,0: 38:[3, 77, 36] Operation: 42-6=36
Exploring Operation: 77-6=71, Resulting Numbers: [3, 42, 71]
Generated Node #0,1: 38:[3, 42, 71] Operation: 77-6=71
Exploring Operation: 77-42=35, Resulting Numbers: [3, 6, 35]
Generated Node #0,2: 38:[3, 6, 35] Operation: 77-42=35
Moving to Node #0,2
Current State: 38:[3, 6, 35], Operations: ['77-42=35']
Exploring Operation: 6/3=2, Resulting Numbers: [35, 2]
Generated Node #0,2,0: 38:[35, 2] Operation: 6/3=2
Exploring Operation: 6-3=3, Resulting Numbers: [35, 3]
Generated Node #0,2,1: 38:[35, 3] Operation: 6-3=3
Exploring Operation: 3*6=18, Resulting Numbers: [35, 18]
Generated Node #0,2,2: 38:[35, 18] Operation: 3*6=18
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[35, 2], Operations: ['77-42=35', '6/3=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,38 unequal: No Solution
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,38 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 38:[35, 3], Operations: ['77-42=35', '6-3=3']
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,38 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[3, 77, 6, 42], Operations: []
Exploring Operation: 77-42=35, Resulting Numbers: [3, 6, 35]
Generated Node #0,2: 38:[3, 6, 35] Operation: 77-42=35
Moving to Node #0,2
Current State: 38:[3, 6, 35], Operations: ['77-42=35']
Exploring Operation: 6-3=3, Resulting Numbers: [35, 3]
Generated Node #0,2,1: 38:[35, 3] Operation: 6-3=3
Moving to Node #0,2,1
Current State: 38:[35, 3], Operations: ['77-42=35', '6-3=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
43,
52,
14,
5
] | 86 | [
"43+52=95",
"14-5=9",
"95-9=86"
] | Current State: 86:[43, 52, 14, 5], Operations: []
Exploring Operation: 43+52=95, Resulting Numbers: [14, 5, 95]
Generated Node #2: [14, 5, 95] from Operation: 43+52=95
Current State: 86:[14, 5, 95], Operations: ['43+52=95']
Exploring Operation: 14-5=9, Resulting Numbers: [95, 9]
Generated Node #3: [95, 9] from Operation: 14-5=9
Current State: 86:[95, 9], Operations: ['43+52=95', '14-5=9']
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[43, 52, 14, 5], Operations: []
Exploring Operation: 52-14=38, Resulting Numbers: [43, 5, 38]
Generated Node #0,0: 86:[43, 5, 38] Operation: 52-14=38
Exploring Operation: 52-5=47, Resulting Numbers: [43, 14, 47]
Generated Node #0,1: 86:[43, 14, 47] Operation: 52-5=47
Moving to Node #0,0
Current State: 86:[43, 5, 38], Operations: ['52-14=38']
Exploring Operation: 5+38=43, Resulting Numbers: [43, 43]
Generated Node #0,0,0: 86:[43, 43] Operation: 5+38=43
Exploring Operation: 43-38=5, Resulting Numbers: [5, 5]
Generated Node #0,0,1: 86:[5, 5] Operation: 43-38=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[43, 43], Operations: ['52-14=38', '5+38=43']
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[43, 52, 14, 5], Operations: []
Exploring Operation: 52-14=38, Resulting Numbers: [43, 5, 38]
Generated Node #0,0: 86:[43, 5, 38] Operation: 52-14=38
Moving to Node #0,0
Current State: 86:[43, 5, 38], Operations: ['52-14=38']
Exploring Operation: 5+38=43, Resulting Numbers: [43, 43]
Generated Node #0,0,0: 86:[43, 43] Operation: 5+38=43
Moving to Node #0,0,0
Current State: 86:[43, 43], Operations: ['52-14=38', '5+38=43']
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
73,
37,
41,
96
] | 55 | [
"73+37=110",
"96-41=55",
"110-55=55"
] | Current State: 55:[73, 37, 41, 96], Operations: []
Exploring Operation: 73+37=110, Resulting Numbers: [41, 96, 110]
Generated Node #2: [41, 96, 110] from Operation: 73+37=110
Current State: 55:[41, 96, 110], Operations: ['73+37=110']
Exploring Operation: 96-41=55, Resulting Numbers: [110, 55]
Generated Node #3: [110, 55] from Operation: 96-41=55
Current State: 55:[110, 55], Operations: ['73+37=110', '96-41=55']
Exploring Operation: 110-55=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[73, 37, 41, 96], Operations: []
Exploring Operation: 96-41=55, Resulting Numbers: [73, 37, 55]
Generated Node #0,0: 55:[73, 37, 55] Operation: 96-41=55
Exploring Operation: 96-37=59, Resulting Numbers: [73, 41, 59]
Generated Node #0,1: 55:[73, 41, 59] Operation: 96-37=59
Exploring Operation: 96-73=23, Resulting Numbers: [37, 41, 23]
Generated Node #0,2: 55:[37, 41, 23] Operation: 96-73=23
Exploring Operation: 41-37=4, Resulting Numbers: [73, 96, 4]
Generated Node #0,3: 55:[73, 96, 4] Operation: 41-37=4
Moving to Node #0,0
Current State: 55:[73, 37, 55], Operations: ['96-41=55']
Exploring Operation: 73-37=36, Resulting Numbers: [55, 36]
Generated Node #0,0,0: 55:[55, 36] Operation: 73-37=36
Exploring Operation: 55-37=18, Resulting Numbers: [73, 18]
Generated Node #0,0,1: 55:[73, 18] Operation: 55-37=18
Exploring Operation: 73+37=110, Resulting Numbers: [55, 110]
Generated Node #0,0,2: 55:[55, 110] Operation: 73+37=110
Exploring Operation: 73-55=18, Resulting Numbers: [37, 18]
Generated Node #0,0,3: 55:[37, 18] Operation: 73-55=18
Moving to Node #0,1
Current State: 55:[73, 41, 59], Operations: ['96-37=59']
Exploring Operation: 73-59=14, Resulting Numbers: [41, 14]
Generated Node #0,1,0: 55:[41, 14] Operation: 73-59=14
Exploring Operation: 73+41=114, Resulting Numbers: [59, 114]
Generated Node #0,1,1: 55:[59, 114] Operation: 73+41=114
Exploring Operation: 59-41=18, Resulting Numbers: [73, 18]
Generated Node #0,1,2: 55:[73, 18] Operation: 59-41=18
Exploring Operation: 73-41=32, Resulting Numbers: [59, 32]
Generated Node #0,1,3: 55:[59, 32] Operation: 73-41=32
Moving to Node #0,2
Current State: 55:[37, 41, 23], Operations: ['96-73=23']
Exploring Operation: 41-23=18, Resulting Numbers: [37, 18]
Generated Node #0,2,0: 55:[37, 18] Operation: 41-23=18
Exploring Operation: 41-37=4, Resulting Numbers: [23, 4]
Generated Node #0,2,1: 55:[23, 4] Operation: 41-37=4
Exploring Operation: 37-23=14, Resulting Numbers: [41, 14]
Generated Node #0,2,2: 55:[41, 14] Operation: 37-23=14
Exploring Operation: 37+23=60, Resulting Numbers: [41, 60]
Generated Node #0,2,3: 55:[41, 60] Operation: 37+23=60
Moving to Node #0,3
Current State: 55:[73, 96, 4], Operations: ['41-37=4']
Exploring Operation: 96-4=92, Resulting Numbers: [73, 92]
Generated Node #0,3,0: 55:[73, 92] Operation: 96-4=92
Exploring Operation: 96-73=23, Resulting Numbers: [4, 23]
Generated Node #0,3,1: 55:[4, 23] Operation: 96-73=23
Exploring Operation: 73-4=69, Resulting Numbers: [96, 69]
Generated Node #0,3,2: 55:[96, 69] Operation: 73-4=69
Exploring Operation: 96/4=24, Resulting Numbers: [73, 24]
Generated Node #0,3,3: 55:[73, 24] Operation: 96/4=24
Moving to Node #0,2,1
Current State: 55:[23, 4], Operations: ['96-73=23', '41-37=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[4, 23], Operations: ['41-37=4', '96-73=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[41, 14], Operations: ['96-37=59', '73-59=14']
Exploring Operation: 41+14=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[73, 37, 41, 96], Operations: []
Exploring Operation: 96-37=59, Resulting Numbers: [73, 41, 59]
Generated Node #0,1: 55:[73, 41, 59] Operation: 96-37=59
Moving to Node #0,1
Current State: 55:[73, 41, 59], Operations: ['96-37=59']
Exploring Operation: 73-59=14, Resulting Numbers: [41, 14]
Generated Node #0,1,0: 55:[41, 14] Operation: 73-59=14
Moving to Node #0,1,0
Current State: 55:[41, 14], Operations: ['96-37=59', '73-59=14']
Exploring Operation: 41+14=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.97309 | hs_4 | sum_heuristic |
[
2,
50,
19,
87
] | 28 | [
"50-19=31",
"87-31=56",
"56/2=28"
] | Current State: 28:[2, 50, 19, 87], Operations: []
Exploring Operation: 50-19=31, Resulting Numbers: [2, 87, 31]
Generated Node #2: [2, 87, 31] from Operation: 50-19=31
Current State: 28:[2, 87, 31], Operations: ['50-19=31']
Exploring Operation: 87-31=56, Resulting Numbers: [2, 56]
Generated Node #3: [2, 56] from Operation: 87-31=56
Current State: 28:[2, 56], Operations: ['50-19=31', '87-31=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[2, 50, 19, 87], Operations: []
Exploring Operation: 50-19=31, Resulting Numbers: [2, 87, 31]
Generated Node #0,0: 28:[2, 87, 31] Operation: 50-19=31
Exploring Operation: 87-50=37, Resulting Numbers: [2, 19, 37]
Generated Node #0,1: 28:[2, 19, 37] Operation: 87-50=37
Exploring Operation: 87-19=68, Resulting Numbers: [2, 50, 68]
Generated Node #0,2: 28:[2, 50, 68] Operation: 87-19=68
Moving to Node #0,1
Current State: 28:[2, 19, 37], Operations: ['87-50=37']
Exploring Operation: 19-2=17, Resulting Numbers: [37, 17]
Generated Node #0,1,0: 28:[37, 17] Operation: 19-2=17
Exploring Operation: 37-2=35, Resulting Numbers: [19, 35]
Generated Node #0,1,1: 28:[19, 35] Operation: 37-2=35
Exploring Operation: 37-19=18, Resulting Numbers: [2, 18]
Generated Node #0,1,2: 28:[2, 18] Operation: 37-19=18
Moving to Node #0,0
Current State: 28:[2, 87, 31], Operations: ['50-19=31']
Exploring Operation: 87-2=85, Resulting Numbers: [31, 85]
Generated Node #0,0,0: 28:[31, 85] Operation: 87-2=85
Exploring Operation: 87-31=56, Resulting Numbers: [2, 56]
Generated Node #0,0,1: 28:[2, 56] Operation: 87-31=56
Exploring Operation: 31-2=29, Resulting Numbers: [87, 29]
Generated Node #0,0,2: 28:[87, 29] Operation: 31-2=29
Moving to Node #0,2
Current State: 28:[2, 50, 68], Operations: ['87-19=68']
Exploring Operation: 68/2=34, Resulting Numbers: [50, 34]
Generated Node #0,2,0: 28:[50, 34] Operation: 68/2=34
Exploring Operation: 68-50=18, Resulting Numbers: [2, 18]
Generated Node #0,2,1: 28:[2, 18] Operation: 68-50=18
Exploring Operation: 50/2=25, Resulting Numbers: [68, 25]
Generated Node #0,2,2: 28:[68, 25] Operation: 50/2=25
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[2, 18], Operations: ['87-19=68', '68-50=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,28 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,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,2,0
Current State: 28:[50, 34], Operations: ['87-19=68', '68/2=34']
Exploring Operation: 50*34=1700, Resulting Numbers: [1700]
1700,28 unequal: No Solution
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 50+34=84, Resulting Numbers: [84]
84,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,2,2
Current State: 28:[68, 25], Operations: ['87-19=68', '50/2=25']
Exploring Operation: 68*25=1700, Resulting Numbers: [1700]
1700,28 unequal: No Solution
Exploring Operation: 68+25=93, Resulting Numbers: [93]
93,28 unequal: No Solution
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 28:[2, 18], Operations: ['87-50=37', '37-19=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,28 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,28 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[19, 35], Operations: ['87-50=37', '37-2=35']
Exploring Operation: 19+35=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 19*35=665, Resulting Numbers: [665]
665,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[37, 17], Operations: ['87-50=37', '19-2=17']
Exploring Operation: 37*17=629, Resulting Numbers: [629]
629,28 unequal: No Solution
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[2, 56], Operations: ['50-19=31', '87-31=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,28 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[2, 50, 19, 87], Operations: []
Exploring Operation: 50-19=31, Resulting Numbers: [2, 87, 31]
Generated Node #0,0: 28:[2, 87, 31] Operation: 50-19=31
Moving to Node #0,0
Current State: 28:[2, 87, 31], Operations: ['50-19=31']
Exploring Operation: 87-31=56, Resulting Numbers: [2, 56]
Generated Node #0,0,1: 28:[2, 56] Operation: 87-31=56
Moving to Node #0,0,1
Current State: 28:[2, 56], Operations: ['50-19=31', '87-31=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.96875 | hs_3 | mult_heuristic |
[
55,
32,
50,
30
] | 33 | [
"50-32=18",
"55*18=990",
"990/30=33"
] | Current State: 33:[55, 32, 50, 30], Operations: []
Exploring Operation: 50-32=18, Resulting Numbers: [55, 30, 18]
Generated Node #2: [55, 30, 18] from Operation: 50-32=18
Current State: 33:[55, 30, 18], Operations: ['50-32=18']
Exploring Operation: 55*18=990, Resulting Numbers: [30, 990]
Generated Node #3: [30, 990] from Operation: 55*18=990
Current State: 33:[30, 990], Operations: ['50-32=18', '55*18=990']
Exploring Operation: 990/30=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[55, 32, 50, 30], Operations: []
Exploring Operation: 55-32=23, Resulting Numbers: [50, 30, 23]
Generated Node #0,0: 33:[50, 30, 23] Operation: 55-32=23
Exploring Operation: 55-30=25, Resulting Numbers: [32, 50, 25]
Generated Node #0,1: 33:[32, 50, 25] Operation: 55-30=25
Exploring Operation: 55-50=5, Resulting Numbers: [32, 30, 5]
Generated Node #0,2: 33:[32, 30, 5] Operation: 55-50=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[32, 30, 5], Operations: ['55-50=5']
Exploring Operation: 30/5=6, Resulting Numbers: [32, 6]
Generated Node #0,2,0: 33:[32, 6] Operation: 30/5=6
Exploring Operation: 30+5=35, Resulting Numbers: [32, 35]
Generated Node #0,2,1: 33:[32, 35] Operation: 30+5=35
Exploring Operation: 32-30=2, Resulting Numbers: [5, 2]
Generated Node #0,2,2: 33:[5, 2] Operation: 32-30=2
Moving to Node #0,2,1
Current State: 33:[32, 35], Operations: ['55-50=5', '30+5=35']
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,33 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[5, 2], Operations: ['55-50=5', '32-30=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[32, 6], Operations: ['55-50=5', '30/5=6']
Exploring Operation: 32*6=192, Resulting Numbers: [192]
192,33 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[32, 50, 25], Operations: ['55-30=25']
Exploring Operation: 50/25=2, Resulting Numbers: [32, 2]
Generated Node #0,1,0: 33:[32, 2] Operation: 50/25=2
Exploring Operation: 50-25=25, Resulting Numbers: [32, 25]
Generated Node #0,1,1: 33:[32, 25] Operation: 50-25=25
Exploring Operation: 50-32=18, Resulting Numbers: [25, 18]
Generated Node #0,1,2: 33:[25, 18] Operation: 50-32=18
Moving to Node #0,1,0
Current State: 33:[32, 2], Operations: ['55-30=25', '50/25=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[32, 25], Operations: ['55-30=25', '50-25=25']
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,33 unequal: No Solution
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[25, 18], Operations: ['55-30=25', '50-32=18']
Exploring Operation: 25*18=450, Resulting Numbers: [450]
450,33 unequal: No Solution
Exploring Operation: 25-18=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 25+18=43, Resulting Numbers: [43]
43,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[50, 30, 23], Operations: ['55-32=23']
Exploring Operation: 50-23=27, Resulting Numbers: [30, 27]
Generated Node #0,0,0: 33:[30, 27] Operation: 50-23=27
Exploring Operation: 50-30=20, Resulting Numbers: [23, 20]
Generated Node #0,0,1: 33:[23, 20] Operation: 50-30=20
Exploring Operation: 30-23=7, Resulting Numbers: [50, 7]
Generated Node #0,0,2: 33:[50, 7] Operation: 30-23=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[30, 27], Operations: ['55-32=23', '50-23=27']
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Exploring Operation: 30*27=810, Resulting Numbers: [810]
810,33 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[23, 20], Operations: ['55-32=23', '50-30=20']
Exploring Operation: 23+20=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 23*20=460, Resulting Numbers: [460]
460,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 33:[50, 7], Operations: ['55-32=23', '30-23=7']
Exploring Operation: 50*7=350, Resulting Numbers: [350]
350,33 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 50+7=57, Resulting Numbers: [57]
57,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
28,
28,
63,
83
] | 19 | [
"28/28=1",
"83-63=20",
"20-1=19"
] | Current State: 19:[28, 28, 63, 83], Operations: []
Exploring Operation: 28/28=1, Resulting Numbers: [63, 83, 1]
Generated Node #2: [63, 83, 1] from Operation: 28/28=1
Current State: 19:[63, 83, 1], Operations: ['28/28=1']
Exploring Operation: 83-63=20, Resulting Numbers: [1, 20]
Generated Node #3: [1, 20] from Operation: 83-63=20
Current State: 19:[1, 20], Operations: ['28/28=1', '83-63=20']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[28, 28, 63, 83], Operations: []
Exploring Operation: 83-28=55, Resulting Numbers: [28, 63, 55]
Generated Node #0,0: 19:[28, 63, 55] Operation: 83-28=55
Exploring Operation: 83-63=20, Resulting Numbers: [28, 28, 20]
Generated Node #0,1: 19:[28, 28, 20] Operation: 83-63=20
Exploring Operation: 63-28=35, Resulting Numbers: [28, 83, 35]
Generated Node #0,2: 19:[28, 83, 35] Operation: 63-28=35
Moving to Node #0,1
Current State: 19:[28, 28, 20], Operations: ['83-63=20']
Exploring Operation: 28-20=8, Resulting Numbers: [28, 8]
Generated Node #0,1,0: 19:[28, 8] Operation: 28-20=8
Exploring Operation: 28-28=0, Resulting Numbers: [20, 0]
Generated Node #0,1,1: 19:[20, 0] Operation: 28-28=0
Exploring Operation: 28/28=1, Resulting Numbers: [20, 1]
Generated Node #0,1,2: 19:[20, 1] Operation: 28/28=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[20, 1], Operations: ['83-63=20', '28/28=1']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[28, 28, 63, 83], Operations: []
Exploring Operation: 83-63=20, Resulting Numbers: [28, 28, 20]
Generated Node #0,1: 19:[28, 28, 20] Operation: 83-63=20
Moving to Node #0,1
Current State: 19:[28, 28, 20], Operations: ['83-63=20']
Exploring Operation: 28/28=1, Resulting Numbers: [20, 1]
Generated Node #0,1,2: 19:[20, 1] Operation: 28/28=1
Moving to Node #0,1,2
Current State: 19:[20, 1], Operations: ['83-63=20', '28/28=1']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
5,
76,
97,
87
] | 71 | [
"5+76=81",
"97-87=10",
"81-10=71"
] | Current State: 71:[5, 76, 97, 87], Operations: []
Exploring Operation: 5+76=81, Resulting Numbers: [97, 87, 81]
Generated Node #2: [97, 87, 81] from Operation: 5+76=81
Current State: 71:[97, 87, 81], Operations: ['5+76=81']
Exploring Operation: 97-87=10, Resulting Numbers: [81, 10]
Generated Node #3: [81, 10] from Operation: 97-87=10
Current State: 71:[81, 10], Operations: ['5+76=81', '97-87=10']
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[5, 76, 97, 87], Operations: []
Exploring Operation: 76-5=71, Resulting Numbers: [97, 87, 71]
Generated Node #0,0: 71:[97, 87, 71] Operation: 76-5=71
Exploring Operation: 87-5=82, Resulting Numbers: [76, 97, 82]
Generated Node #0,1: 71:[76, 97, 82] Operation: 87-5=82
Exploring Operation: 5+76=81, Resulting Numbers: [97, 87, 81]
Generated Node #0,2: 71:[97, 87, 81] Operation: 5+76=81
Exploring Operation: 97-5=92, Resulting Numbers: [76, 87, 92]
Generated Node #0,3: 71:[76, 87, 92] Operation: 97-5=92
Moving to Node #0,0
Current State: 71:[97, 87, 71], Operations: ['76-5=71']
Exploring Operation: 97-87=10, Resulting Numbers: [71, 10]
Generated Node #0,0,0: 71:[71, 10] Operation: 97-87=10
Exploring Operation: 87-71=16, Resulting Numbers: [97, 16]
Generated Node #0,0,1: 71:[97, 16] Operation: 87-71=16
Exploring Operation: 97-71=26, Resulting Numbers: [87, 26]
Generated Node #0,0,2: 71:[87, 26] Operation: 97-71=26
Exploring Operation: 97+87=184, Resulting Numbers: [71, 184]
Generated Node #0,0,3: 71:[71, 184] Operation: 97+87=184
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[71, 10], Operations: ['76-5=71', '97-87=10']
Exploring Operation: 71+10=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,71 unequal: No Solution
Exploring Operation: 71*10=710, Resulting Numbers: [710]
710,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[87, 26], Operations: ['76-5=71', '97-71=26']
Exploring Operation: 87-26=61, Resulting Numbers: [61]
61,71 unequal: No Solution
Exploring Operation: 87+26=113, Resulting Numbers: [113]
113,71 unequal: No Solution
Exploring Operation: 87*26=2262, Resulting Numbers: [2262]
2262,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[97, 16], Operations: ['76-5=71', '87-71=16']
Exploring Operation: 97-16=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 97*16=1552, Resulting Numbers: [1552]
1552,71 unequal: No Solution
Exploring Operation: 97+16=113, Resulting Numbers: [113]
113,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 71:[71, 184], Operations: ['76-5=71', '97+87=184']
Exploring Operation: 184-71=113, Resulting Numbers: [113]
113,71 unequal: No Solution
Exploring Operation: 71*184=13064, Resulting Numbers: [13064]
13064,71 unequal: No Solution
Exploring Operation: 71+184=255, Resulting Numbers: [255]
255,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 71:[76, 87, 92], Operations: ['97-5=92']
Exploring Operation: 92-76=16, Resulting Numbers: [87, 16]
Generated Node #0,3,0: 71:[87, 16] Operation: 92-76=16
Exploring Operation: 87-76=11, Resulting Numbers: [92, 11]
Generated Node #0,3,1: 71:[92, 11] Operation: 87-76=11
Exploring Operation: 92-87=5, Resulting Numbers: [76, 5]
Generated Node #0,3,2: 71:[76, 5] Operation: 92-87=5
Exploring Operation: 76+87=163, Resulting Numbers: [92, 163]
Generated Node #0,3,3: 71:[92, 163] Operation: 76+87=163
Moving to Node #0,1
Current State: 71:[76, 97, 82], Operations: ['87-5=82']
Exploring Operation: 82-76=6, Resulting Numbers: [97, 6]
Generated Node #0,1,0: 71:[97, 6] Operation: 82-76=6
Exploring Operation: 97-82=15, Resulting Numbers: [76, 15]
Generated Node #0,1,1: 71:[76, 15] Operation: 97-82=15
Exploring Operation: 76+97=173, Resulting Numbers: [82, 173]
Generated Node #0,1,2: 71:[82, 173] Operation: 76+97=173
Exploring Operation: 97-76=21, Resulting Numbers: [82, 21]
Generated Node #0,1,3: 71:[82, 21] Operation: 97-76=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[76, 15], Operations: ['87-5=82', '97-82=15']
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,71 unequal: No Solution
Exploring Operation: 76*15=1140, Resulting Numbers: [1140]
1140,71 unequal: No Solution
Exploring Operation: 76+15=91, Resulting Numbers: [91]
91,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 71:[82, 21], Operations: ['87-5=82', '97-76=21']
Exploring Operation: 82+21=103, Resulting Numbers: [103]
103,71 unequal: No Solution
Exploring Operation: 82*21=1722, Resulting Numbers: [1722]
1722,71 unequal: No Solution
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[97, 6], Operations: ['87-5=82', '82-76=6']
Exploring Operation: 97+6=103, Resulting Numbers: [103]
103,71 unequal: No Solution
Exploring Operation: 97*6=582, Resulting Numbers: [582]
582,71 unequal: No Solution
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[82, 173], Operations: ['87-5=82', '76+97=173']
Exploring Operation: 82+173=255, Resulting Numbers: [255]
255,71 unequal: No Solution
Exploring Operation: 82*173=14186, Resulting Numbers: [14186]
14186,71 unequal: No Solution
Exploring Operation: 173-82=91, Resulting Numbers: [91]
91,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 71:[97, 87, 81], Operations: ['5+76=81']
Exploring Operation: 97+87=184, Resulting Numbers: [81, 184]
Generated Node #0,2,0: 71:[81, 184] Operation: 97+87=184
Exploring Operation: 97-87=10, Resulting Numbers: [81, 10]
Generated Node #0,2,1: 71:[81, 10] Operation: 97-87=10
Exploring Operation: 87-81=6, Resulting Numbers: [97, 6]
Generated Node #0,2,2: 71:[97, 6] Operation: 87-81=6
Exploring Operation: 97-81=16, Resulting Numbers: [87, 16]
Generated Node #0,2,3: 71:[87, 16] Operation: 97-81=16
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[81, 10], Operations: ['5+76=81', '97-87=10']
Exploring Operation: 81*10=810, Resulting Numbers: [810]
810,71 unequal: No Solution
Exploring Operation: 81+10=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[5, 76, 97, 87], Operations: []
Exploring Operation: 5+76=81, Resulting Numbers: [97, 87, 81]
Generated Node #0,2: 71:[97, 87, 81] Operation: 5+76=81
Moving to Node #0,2
Current State: 71:[97, 87, 81], Operations: ['5+76=81']
Exploring Operation: 97-87=10, Resulting Numbers: [81, 10]
Generated Node #0,2,1: 71:[81, 10] Operation: 97-87=10
Moving to Node #0,2,1
Current State: 71:[81, 10], Operations: ['5+76=81', '97-87=10']
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 | hs_4 | mult_heuristic |
[
17,
59,
50,
43
] | 35 | [
"59-17=42",
"50-43=7",
"42-7=35"
] | Current State: 35:[17, 59, 50, 43], Operations: []
Exploring Operation: 59-17=42, Resulting Numbers: [50, 43, 42]
Generated Node #2: [50, 43, 42] from Operation: 59-17=42
Current State: 35:[50, 43, 42], Operations: ['59-17=42']
Exploring Operation: 50-43=7, Resulting Numbers: [42, 7]
Generated Node #3: [42, 7] from Operation: 50-43=7
Current State: 35:[42, 7], Operations: ['59-17=42', '50-43=7']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[17, 59, 50, 43], Operations: []
Exploring Operation: 50-17=33, Resulting Numbers: [59, 43, 33]
Generated Node #0,0: 35:[59, 43, 33] Operation: 50-17=33
Exploring Operation: 59-43=16, Resulting Numbers: [17, 50, 16]
Generated Node #0,1: 35:[17, 50, 16] Operation: 59-43=16
Exploring Operation: 59-50=9, Resulting Numbers: [17, 43, 9]
Generated Node #0,2: 35:[17, 43, 9] Operation: 59-50=9
Exploring Operation: 59-17=42, Resulting Numbers: [50, 43, 42]
Generated Node #0,3: 35:[50, 43, 42] Operation: 59-17=42
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[17, 43, 9], Operations: ['59-50=9']
Exploring Operation: 17+9=26, Resulting Numbers: [43, 26]
Generated Node #0,2,0: 35:[43, 26] Operation: 17+9=26
Exploring Operation: 43-17=26, Resulting Numbers: [9, 26]
Generated Node #0,2,1: 35:[9, 26] Operation: 43-17=26
Exploring Operation: 17-9=8, Resulting Numbers: [43, 8]
Generated Node #0,2,2: 35:[43, 8] Operation: 17-9=8
Exploring Operation: 43-9=34, Resulting Numbers: [17, 34]
Generated Node #0,2,3: 35:[17, 34] Operation: 43-9=34
Moving to Node #0,2,2
Current State: 35:[43, 8], Operations: ['59-50=9', '17-9=8']
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[17, 59, 50, 43], Operations: []
Exploring Operation: 59-50=9, Resulting Numbers: [17, 43, 9]
Generated Node #0,2: 35:[17, 43, 9] Operation: 59-50=9
Moving to Node #0,2
Current State: 35:[17, 43, 9], Operations: ['59-50=9']
Exploring Operation: 17-9=8, Resulting Numbers: [43, 8]
Generated Node #0,2,2: 35:[43, 8] Operation: 17-9=8
Moving to Node #0,2,2
Current State: 35:[43, 8], Operations: ['59-50=9', '17-9=8']
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
86,
98,
14,
41
] | 39 | [
"98-86=12",
"41-14=27",
"12+27=39"
] | Current State: 39:[86, 98, 14, 41], Operations: []
Exploring Operation: 98-86=12, Resulting Numbers: [14, 41, 12]
Generated Node #2: [14, 41, 12] from Operation: 98-86=12
Current State: 39:[14, 41, 12], Operations: ['98-86=12']
Exploring Operation: 41-14=27, Resulting Numbers: [12, 27]
Generated Node #3: [12, 27] from Operation: 41-14=27
Current State: 39:[12, 27], Operations: ['98-86=12', '41-14=27']
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[86, 98, 14, 41], Operations: []
Exploring Operation: 98/14=7, Resulting Numbers: [86, 41, 7]
Generated Node #0,0: 39:[86, 41, 7] Operation: 98/14=7
Exploring Operation: 98-86=12, Resulting Numbers: [14, 41, 12]
Generated Node #0,1: 39:[14, 41, 12] Operation: 98-86=12
Exploring Operation: 98-41=57, Resulting Numbers: [86, 14, 57]
Generated Node #0,2: 39:[86, 14, 57] Operation: 98-41=57
Exploring Operation: 86-41=45, Resulting Numbers: [98, 14, 45]
Generated Node #0,3: 39:[98, 14, 45] Operation: 86-41=45
Moving to Node #0,1
Current State: 39:[14, 41, 12], Operations: ['98-86=12']
Exploring Operation: 41-14=27, Resulting Numbers: [12, 27]
Generated Node #0,1,0: 39:[12, 27] Operation: 41-14=27
Exploring Operation: 14+12=26, Resulting Numbers: [41, 26]
Generated Node #0,1,1: 39:[41, 26] Operation: 14+12=26
Exploring Operation: 14-12=2, Resulting Numbers: [41, 2]
Generated Node #0,1,2: 39:[41, 2] Operation: 14-12=2
Exploring Operation: 41-12=29, Resulting Numbers: [14, 29]
Generated Node #0,1,3: 39:[14, 29] Operation: 41-12=29
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[41, 2], Operations: ['98-86=12', '14-12=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[86, 98, 14, 41], Operations: []
Exploring Operation: 98-86=12, Resulting Numbers: [14, 41, 12]
Generated Node #0,1: 39:[14, 41, 12] Operation: 98-86=12
Moving to Node #0,1
Current State: 39:[14, 41, 12], Operations: ['98-86=12']
Exploring Operation: 14-12=2, Resulting Numbers: [41, 2]
Generated Node #0,1,2: 39:[41, 2] Operation: 14-12=2
Moving to Node #0,1,2
Current State: 39:[41, 2], Operations: ['98-86=12', '14-12=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
68,
51,
17,
65
] | 71 | [
"68+51=119",
"65-17=48",
"119-48=71"
] | Current State: 71:[68, 51, 17, 65], Operations: []
Exploring Operation: 68+51=119, Resulting Numbers: [17, 65, 119]
Generated Node #2: [17, 65, 119] from Operation: 68+51=119
Current State: 71:[17, 65, 119], Operations: ['68+51=119']
Exploring Operation: 65-17=48, Resulting Numbers: [119, 48]
Generated Node #3: [119, 48] from Operation: 65-17=48
Current State: 71:[119, 48], Operations: ['68+51=119', '65-17=48']
Exploring Operation: 119-48=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[68, 51, 17, 65], Operations: []
Exploring Operation: 51+17=68, Resulting Numbers: [68, 65, 68]
Generated Node #0,0: 71:[68, 65, 68] Operation: 51+17=68
Moving to Node #0,0
Current State: 71:[68, 65, 68], Operations: ['51+17=68']
Exploring Operation: 68+65=133, Resulting Numbers: [68, 133]
Generated Node #0,0,0: 71:[68, 133] Operation: 68+65=133
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[68, 133], Operations: ['51+17=68', '68+65=133']
Exploring Operation: 133-68=65, Resulting Numbers: [65]
65,71 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 |
[
19,
10,
67,
43
] | 50 | [
"67-19=48",
"48-43=5",
"10*5=50"
] | Current State: 50:[19, 10, 67, 43], Operations: []
Exploring Operation: 67-19=48, Resulting Numbers: [10, 43, 48]
Generated Node #2: [10, 43, 48] from Operation: 67-19=48
Current State: 50:[10, 43, 48], Operations: ['67-19=48']
Exploring Operation: 48-43=5, Resulting Numbers: [10, 5]
Generated Node #3: [10, 5] from Operation: 48-43=5
Current State: 50:[10, 5], Operations: ['67-19=48', '48-43=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[19, 10, 67, 43], Operations: []
Exploring Operation: 19-10=9, Resulting Numbers: [67, 43, 9]
Generated Node #0,0: 50:[67, 43, 9] Operation: 19-10=9
Exploring Operation: 67-43=24, Resulting Numbers: [19, 10, 24]
Generated Node #0,1: 50:[19, 10, 24] Operation: 67-43=24
Exploring Operation: 43-19=24, Resulting Numbers: [10, 67, 24]
Generated Node #0,2: 50:[10, 67, 24] Operation: 43-19=24
Exploring Operation: 67-19=48, Resulting Numbers: [10, 43, 48]
Generated Node #0,3: 50:[10, 43, 48] Operation: 67-19=48
Exploring Operation: 67-10=57, Resulting Numbers: [19, 43, 57]
Generated Node #0,4: 50:[19, 43, 57] Operation: 67-10=57
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[19, 10, 24], Operations: ['67-43=24']
Exploring Operation: 19+24=43, Resulting Numbers: [10, 43]
Generated Node #0,1,0: 50:[10, 43] Operation: 19+24=43
Exploring Operation: 19+10=29, Resulting Numbers: [24, 29]
Generated Node #0,1,1: 50:[24, 29] Operation: 19+10=29
Exploring Operation: 24-10=14, Resulting Numbers: [19, 14]
Generated Node #0,1,2: 50:[19, 14] Operation: 24-10=14
Exploring Operation: 24-19=5, Resulting Numbers: [10, 5]
Generated Node #0,1,3: 50:[10, 5] Operation: 24-19=5
Exploring Operation: 19-10=9, Resulting Numbers: [24, 9]
Generated Node #0,1,4: 50:[24, 9] Operation: 19-10=9
Moving to Node #0,1,3
Current State: 50:[10, 5], Operations: ['67-43=24', '24-19=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[19, 10, 67, 43], Operations: []
Exploring Operation: 67-43=24, Resulting Numbers: [19, 10, 24]
Generated Node #0,1: 50:[19, 10, 24] Operation: 67-43=24
Moving to Node #0,1
Current State: 50:[19, 10, 24], Operations: ['67-43=24']
Exploring Operation: 24-19=5, Resulting Numbers: [10, 5]
Generated Node #0,1,3: 50:[10, 5] Operation: 24-19=5
Moving to Node #0,1,3
Current State: 50:[10, 5], Operations: ['67-43=24', '24-19=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
12,
42,
28,
48
] | 96 | [
"42-12=30",
"30-28=2",
"48*2=96"
] | Current State: 96:[12, 42, 28, 48], Operations: []
Exploring Operation: 42-12=30, Resulting Numbers: [28, 48, 30]
Generated Node #2: [28, 48, 30] from Operation: 42-12=30
Current State: 96:[28, 48, 30], Operations: ['42-12=30']
Exploring Operation: 30-28=2, Resulting Numbers: [48, 2]
Generated Node #3: [48, 2] from Operation: 30-28=2
Current State: 96:[48, 2], Operations: ['42-12=30', '30-28=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[12, 42, 28, 48], Operations: []
Exploring Operation: 42-28=14, Resulting Numbers: [12, 48, 14]
Generated Node #0,0: 96:[12, 48, 14] Operation: 42-28=14
Exploring Operation: 48-42=6, Resulting Numbers: [12, 28, 6]
Generated Node #0,1: 96:[12, 28, 6] Operation: 48-42=6
Moving to Node #0,0
Current State: 96:[12, 48, 14], Operations: ['42-28=14']
Exploring Operation: 48/12=4, Resulting Numbers: [14, 4]
Generated Node #0,0,0: 96:[14, 4] Operation: 48/12=4
Exploring Operation: 14-12=2, Resulting Numbers: [48, 2]
Generated Node #0,0,1: 96:[48, 2] Operation: 14-12=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[48, 2], Operations: ['42-28=14', '14-12=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[12, 42, 28, 48], Operations: []
Exploring Operation: 42-28=14, Resulting Numbers: [12, 48, 14]
Generated Node #0,0: 96:[12, 48, 14] Operation: 42-28=14
Moving to Node #0,0
Current State: 96:[12, 48, 14], Operations: ['42-28=14']
Exploring Operation: 14-12=2, Resulting Numbers: [48, 2]
Generated Node #0,0,1: 96:[48, 2] Operation: 14-12=2
Moving to Node #0,0,1
Current State: 96:[48, 2], Operations: ['42-28=14', '14-12=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
46,
18,
93,
97
] | 60 | [
"46+18=64",
"97-93=4",
"64-4=60"
] | Current State: 60:[46, 18, 93, 97], Operations: []
Exploring Operation: 46+18=64, Resulting Numbers: [93, 97, 64]
Generated Node #2: [93, 97, 64] from Operation: 46+18=64
Current State: 60:[93, 97, 64], Operations: ['46+18=64']
Exploring Operation: 97-93=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 97-93=4
Current State: 60:[64, 4], Operations: ['46+18=64', '97-93=4']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[46, 18, 93, 97], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [46, 18, 4]
Generated Node #0,0: 60:[46, 18, 4] Operation: 97-93=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[46, 18, 4], Operations: ['97-93=4']
Exploring Operation: 46-18=28, Resulting Numbers: [4, 28]
Generated Node #0,0,0: 60:[4, 28] Operation: 46-18=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[4, 28], Operations: ['97-93=4', '46-18=28']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
70,
2,
74,
4
] | 89 | [
"2+74=76",
"76/4=19",
"70+19=89"
] | Current State: 89:[70, 2, 74, 4], Operations: []
Exploring Operation: 2+74=76, Resulting Numbers: [70, 4, 76]
Generated Node #2: [70, 4, 76] from Operation: 2+74=76
Current State: 89:[70, 4, 76], Operations: ['2+74=76']
Exploring Operation: 76/4=19, Resulting Numbers: [70, 19]
Generated Node #3: [70, 19] from Operation: 76/4=19
Current State: 89:[70, 19], Operations: ['2+74=76', '76/4=19']
Exploring Operation: 70+19=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[70, 2, 74, 4], Operations: []
Exploring Operation: 2*4=8, Resulting Numbers: [70, 74, 8]
Generated Node #0,0: 89:[70, 74, 8] Operation: 2*4=8
Exploring Operation: 70+2=72, Resulting Numbers: [74, 4, 72]
Generated Node #0,1: 89:[74, 4, 72] Operation: 70+2=72
Exploring Operation: 70+4=74, Resulting Numbers: [2, 74, 74]
Generated Node #0,2: 89:[2, 74, 74] Operation: 70+4=74
Moving to Node #0,0
Current State: 89:[70, 74, 8], Operations: ['2*4=8']
Exploring Operation: 70-8=62, Resulting Numbers: [74, 62]
Generated Node #0,0,0: 89:[74, 62] Operation: 70-8=62
Exploring Operation: 70+8=78, Resulting Numbers: [74, 78]
Generated Node #0,0,1: 89:[74, 78] Operation: 70+8=78
Exploring Operation: 74+8=82, Resulting Numbers: [70, 82]
Generated Node #0,0,2: 89:[70, 82] Operation: 74+8=82
Moving to Node #0,1
Current State: 89:[74, 4, 72], Operations: ['70+2=72']
Exploring Operation: 4+72=76, Resulting Numbers: [74, 76]
Generated Node #0,1,0: 89:[74, 76] Operation: 4+72=76
Exploring Operation: 74+4=78, Resulting Numbers: [72, 78]
Generated Node #0,1,1: 89:[72, 78] Operation: 74+4=78
Exploring Operation: 74-4=70, Resulting Numbers: [72, 70]
Generated Node #0,1,2: 89:[72, 70] Operation: 74-4=70
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[74, 76], Operations: ['70+2=72', '4+72=76']
Exploring Operation: 74*76=5624, Resulting Numbers: [5624]
5624,89 unequal: No Solution
Exploring Operation: 74+76=150, Resulting Numbers: [150]
150,89 unequal: No Solution
Exploring Operation: 76-74=2, Resulting Numbers: [2]
2,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,1
Current State: 89:[72, 78], Operations: ['70+2=72', '74+4=78']
Exploring Operation: 72*78=5616, Resulting Numbers: [5616]
5616,89 unequal: No Solution
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 72+78=150, Resulting Numbers: [150]
150,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,2
Current State: 89:[72, 70], Operations: ['70+2=72', '74-4=70']
Exploring Operation: 72*70=5040, Resulting Numbers: [5040]
5040,89 unequal: No Solution
Exploring Operation: 72+70=142, Resulting Numbers: [142]
142,89 unequal: No Solution
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,89 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: 89:[2, 74, 74], Operations: ['70+4=74']
Exploring Operation: 2+74=76, Resulting Numbers: [74, 76]
Generated Node #0,2,0: 89:[74, 76] Operation: 2+74=76
Exploring Operation: 2+74=76, Resulting Numbers: [74, 76]
Generated Node #0,2,1: 89:[74, 76] Operation: 2+74=76
Exploring Operation: 74-2=72, Resulting Numbers: [74, 72]
Generated Node #0,2,2: 89:[74, 72] Operation: 74-2=72
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[74, 76], Operations: ['70+4=74', '2+74=76']
Exploring Operation: 76-74=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 74+76=150, Resulting Numbers: [150]
150,89 unequal: No Solution
Exploring Operation: 74*76=5624, Resulting Numbers: [5624]
5624,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[74, 76], Operations: ['70+4=74', '2+74=76']
Exploring Operation: 74*76=5624, Resulting Numbers: [5624]
5624,89 unequal: No Solution
Exploring Operation: 74+76=150, Resulting Numbers: [150]
150,89 unequal: No Solution
Exploring Operation: 76-74=2, Resulting Numbers: [2]
2,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[74, 72], Operations: ['70+4=74', '74-2=72']
Exploring Operation: 74+72=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 74*72=5328, Resulting Numbers: [5328]
5328,89 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: 89:[74, 78], Operations: ['2*4=8', '70+8=78']
Exploring Operation: 74+78=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Exploring Operation: 74*78=5772, Resulting Numbers: [5772]
5772,89 unequal: No Solution
Exploring Operation: 78-74=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[70, 82], Operations: ['2*4=8', '74+8=82']
Exploring Operation: 82-70=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Exploring Operation: 70+82=152, Resulting Numbers: [152]
152,89 unequal: No Solution
Exploring Operation: 70*82=5740, Resulting Numbers: [5740]
5740,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[74, 62], Operations: ['2*4=8', '70-8=62']
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Exploring Operation: 74*62=4588, Resulting Numbers: [4588]
4588,89 unequal: No Solution
Exploring Operation: 74+62=136, Resulting Numbers: [136]
136,89 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
87,
95,
60,
70
] | 85 | [
"95-60=35",
"70/35=2",
"87-2=85"
] | Current State: 85:[87, 95, 60, 70], Operations: []
Exploring Operation: 95-60=35, Resulting Numbers: [87, 70, 35]
Generated Node #2: [87, 70, 35] from Operation: 95-60=35
Current State: 85:[87, 70, 35], Operations: ['95-60=35']
Exploring Operation: 70/35=2, Resulting Numbers: [87, 2]
Generated Node #3: [87, 2] from Operation: 70/35=2
Current State: 85:[87, 2], Operations: ['95-60=35', '70/35=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[87, 95, 60, 70], Operations: []
Exploring Operation: 70-60=10, Resulting Numbers: [87, 95, 10]
Generated Node #0,0: 85:[87, 95, 10] Operation: 70-60=10
Exploring Operation: 87-60=27, Resulting Numbers: [95, 70, 27]
Generated Node #0,1: 85:[95, 70, 27] Operation: 87-60=27
Exploring Operation: 87-70=17, Resulting Numbers: [95, 60, 17]
Generated Node #0,2: 85:[95, 60, 17] Operation: 87-70=17
Moving to Node #0,0
Current State: 85:[87, 95, 10], Operations: ['70-60=10']
Exploring Operation: 87-10=77, Resulting Numbers: [95, 77]
Generated Node #0,0,0: 85:[95, 77] Operation: 87-10=77
Exploring Operation: 95-87=8, Resulting Numbers: [10, 8]
Generated Node #0,0,1: 85:[10, 8] Operation: 95-87=8
Exploring Operation: 95-10=85, Resulting Numbers: [87, 85]
Generated Node #0,0,2: 85:[87, 85] Operation: 95-10=85
Moving to Node #0,1
Current State: 85:[95, 70, 27], Operations: ['87-60=27']
Exploring Operation: 95-27=68, Resulting Numbers: [70, 68]
Generated Node #0,1,0: 85:[70, 68] Operation: 95-27=68
Exploring Operation: 70+27=97, Resulting Numbers: [95, 97]
Generated Node #0,1,1: 85:[95, 97] Operation: 70+27=97
Exploring Operation: 95-70=25, Resulting Numbers: [27, 25]
Generated Node #0,1,2: 85:[27, 25] Operation: 95-70=25
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[27, 25], Operations: ['87-60=27', '95-70=25']
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 27*25=675, Resulting Numbers: [675]
675,85 unequal: No Solution
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[95, 97], Operations: ['87-60=27', '70+27=97']
Exploring Operation: 97-95=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 95*97=9215, Resulting Numbers: [9215]
9215,85 unequal: No Solution
Exploring Operation: 95+97=192, Resulting Numbers: [192]
192,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[70, 68], Operations: ['87-60=27', '95-27=68']
Exploring Operation: 70-68=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 70+68=138, Resulting Numbers: [138]
138,85 unequal: No Solution
Exploring Operation: 70*68=4760, Resulting Numbers: [4760]
4760,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 85:[95, 60, 17], Operations: ['87-70=17']
Exploring Operation: 60+17=77, Resulting Numbers: [95, 77]
Generated Node #0,2,0: 85:[95, 77] Operation: 60+17=77
Exploring Operation: 95-17=78, Resulting Numbers: [60, 78]
Generated Node #0,2,1: 85:[60, 78] Operation: 95-17=78
Exploring Operation: 95-60=35, Resulting Numbers: [17, 35]
Generated Node #0,2,2: 85:[17, 35] Operation: 95-60=35
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[95, 77], Operations: ['87-70=17', '60+17=77']
Exploring Operation: 95-77=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 95*77=7315, Resulting Numbers: [7315]
7315,85 unequal: No Solution
Exploring Operation: 95+77=172, Resulting Numbers: [172]
172,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[17, 35], Operations: ['87-70=17', '95-60=35']
Exploring Operation: 17*35=595, Resulting Numbers: [595]
595,85 unequal: No Solution
Exploring Operation: 17+35=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[60, 78], Operations: ['87-70=17', '95-17=78']
Exploring Operation: 60*78=4680, Resulting Numbers: [4680]
4680,85 unequal: No Solution
Exploring Operation: 60+78=138, Resulting Numbers: [138]
138,85 unequal: No Solution
Exploring Operation: 78-60=18, Resulting Numbers: [18]
18,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 85:[87, 85], Operations: ['70-60=10', '95-10=85']
Exploring Operation: 87-85=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 87*85=7395, Resulting Numbers: [7395]
7395,85 unequal: No Solution
Exploring Operation: 87+85=172, Resulting Numbers: [172]
172,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[10, 8], Operations: ['70-60=10', '95-87=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,85 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[95, 77], Operations: ['70-60=10', '87-10=77']
Exploring Operation: 95*77=7315, Resulting Numbers: [7315]
7315,85 unequal: No Solution
Exploring Operation: 95+77=172, Resulting Numbers: [172]
172,85 unequal: No Solution
Exploring Operation: 95-77=18, Resulting Numbers: [18]
18,85 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
56,
48,
3,
63
] | 27 | [
"63-56=7",
"3*7=21",
"48-21=27"
] | Current State: 27:[56, 48, 3, 63], Operations: []
Exploring Operation: 63-56=7, Resulting Numbers: [48, 3, 7]
Generated Node #2: [48, 3, 7] from Operation: 63-56=7
Current State: 27:[48, 3, 7], Operations: ['63-56=7']
Exploring Operation: 3*7=21, Resulting Numbers: [48, 21]
Generated Node #3: [48, 21] from Operation: 3*7=21
Current State: 27:[48, 21], Operations: ['63-56=7', '3*7=21']
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[56, 48, 3, 63], Operations: []
Exploring Operation: 56-48=8, Resulting Numbers: [3, 63, 8]
Generated Node #0,0: 27:[3, 63, 8] Operation: 56-48=8
Exploring Operation: 63-56=7, Resulting Numbers: [48, 3, 7]
Generated Node #0,1: 27:[48, 3, 7] Operation: 63-56=7
Exploring Operation: 63-48=15, Resulting Numbers: [56, 3, 15]
Generated Node #0,2: 27:[56, 3, 15] Operation: 63-48=15
Exploring Operation: 63/3=21, Resulting Numbers: [56, 48, 21]
Generated Node #0,3: 27:[56, 48, 21] Operation: 63/3=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[48, 3, 7], Operations: ['63-56=7']
Exploring Operation: 48-7=41, Resulting Numbers: [3, 41]
Generated Node #0,1,0: 27:[3, 41] Operation: 48-7=41
Exploring Operation: 3+7=10, Resulting Numbers: [48, 10]
Generated Node #0,1,1: 27:[48, 10] Operation: 3+7=10
Exploring Operation: 48/3=16, Resulting Numbers: [7, 16]
Generated Node #0,1,2: 27:[7, 16] Operation: 48/3=16
Exploring Operation: 48-3=45, Resulting Numbers: [7, 45]
Generated Node #0,1,3: 27:[7, 45] Operation: 48-3=45
Moving to Node #0,1,2
Current State: 27:[7, 16], Operations: ['63-56=7', '48/3=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,27 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[3, 41], Operations: ['63-56=7', '48-7=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[7, 45], Operations: ['63-56=7', '48-3=45']
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,27 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[48, 10], Operations: ['63-56=7', '3+7=10']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[56, 3, 15], Operations: ['63-48=15']
Exploring Operation: 56-3=53, Resulting Numbers: [15, 53]
Generated Node #0,2,0: 27:[15, 53] Operation: 56-3=53
Exploring Operation: 15/3=5, Resulting Numbers: [56, 5]
Generated Node #0,2,1: 27:[56, 5] Operation: 15/3=5
Exploring Operation: 56-15=41, Resulting Numbers: [3, 41]
Generated Node #0,2,2: 27:[3, 41] Operation: 56-15=41
Exploring Operation: 15-3=12, Resulting Numbers: [56, 12]
Generated Node #0,2,3: 27:[56, 12] Operation: 15-3=12
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 27:[3, 41], Operations: ['63-48=15', '56-15=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,27 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,27 unequal: No Solution
No 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: 27:[56, 5], Operations: ['63-48=15', '15/3=5']
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,27 unequal: No Solution
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,27 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,27 unequal: No Solution
No 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: 27:[15, 53], Operations: ['63-48=15', '56-3=53']
Exploring Operation: 15+53=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Exploring Operation: 15*53=795, Resulting Numbers: [795]
795,27 unequal: No Solution
No 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: 27:[56, 12], Operations: ['63-48=15', '15-3=12']
Exploring Operation: 56*12=672, Resulting Numbers: [672]
672,27 unequal: No Solution
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[3, 63, 8], Operations: ['56-48=8']
Exploring Operation: 63-8=55, Resulting Numbers: [3, 55]
Generated Node #0,0,0: 27:[3, 55] Operation: 63-8=55
Exploring Operation: 63-3=60, Resulting Numbers: [8, 60]
Generated Node #0,0,1: 27:[8, 60] Operation: 63-3=60
Exploring Operation: 63/3=21, Resulting Numbers: [8, 21]
Generated Node #0,0,2: 27:[8, 21] Operation: 63/3=21
Exploring Operation: 3+8=11, Resulting Numbers: [63, 11]
Generated Node #0,0,3: 27:[63, 11] Operation: 3+8=11
Moving to Node #0,0,2
Current State: 27:[8, 21], Operations: ['56-48=8', '63/3=21']
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[3, 55], Operations: ['56-48=8', '63-8=55']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[8, 60], Operations: ['56-48=8', '63-3=60']
Exploring Operation: 8+60=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 8*60=480, Resulting Numbers: [480]
480,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[63, 11], Operations: ['56-48=8', '3+8=11']
Exploring Operation: 63*11=693, Resulting Numbers: [693]
693,27 unequal: No Solution
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[56, 48, 21], Operations: ['63/3=21']
Exploring Operation: 56-21=35, Resulting Numbers: [48, 35]
Generated Node #0,3,0: 27:[48, 35] Operation: 56-21=35
Exploring Operation: 48-21=27, Resulting Numbers: [56, 27]
Generated Node #0,3,1: 27:[56, 27] Operation: 48-21=27
Exploring Operation: 56+21=77, Resulting Numbers: [48, 77]
Generated Node #0,3,2: 27:[48, 77] Operation: 56+21=77
Exploring Operation: 56-48=8, Resulting Numbers: [21, 8]
Generated Node #0,3,3: 27:[21, 8] Operation: 56-48=8
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 27:[21, 8], Operations: ['63/3=21', '56-48=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,27 unequal: No Solution
No 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: 27:[48, 35], Operations: ['63/3=21', '56-21=35']
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,27 unequal: No Solution
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,27 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,27 unequal: No Solution
No 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: 27:[56, 27], Operations: ['63/3=21', '48-21=27']
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,27 unequal: No Solution
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,27 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,27 unequal: No Solution
No 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: 27:[48, 77], Operations: ['63/3=21', '56+21=77']
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 48+77=125, Resulting Numbers: [125]
125,27 unequal: No Solution
Exploring Operation: 48*77=3696, Resulting Numbers: [3696]
3696,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
43,
26,
30,
19
] | 32 | [
"43-26=17",
"30+19=49",
"49-17=32"
] | Current State: 32:[43, 26, 30, 19], Operations: []
Exploring Operation: 43-26=17, Resulting Numbers: [30, 19, 17]
Generated Node #2: [30, 19, 17] from Operation: 43-26=17
Current State: 32:[30, 19, 17], Operations: ['43-26=17']
Exploring Operation: 30+19=49, Resulting Numbers: [17, 49]
Generated Node #3: [17, 49] from Operation: 30+19=49
Current State: 32:[17, 49], Operations: ['43-26=17', '30+19=49']
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[43, 26, 30, 19], Operations: []
Exploring Operation: 43-26=17, Resulting Numbers: [30, 19, 17]
Generated Node #0,0: 32:[30, 19, 17] Operation: 43-26=17
Exploring Operation: 43-30=13, Resulting Numbers: [26, 19, 13]
Generated Node #0,1: 32:[26, 19, 13] Operation: 43-30=13
Moving to Node #0,0
Current State: 32:[30, 19, 17], Operations: ['43-26=17']
Exploring Operation: 19-17=2, Resulting Numbers: [30, 2]
Generated Node #0,0,0: 32:[30, 2] Operation: 19-17=2
Exploring Operation: 30-19=11, Resulting Numbers: [17, 11]
Generated Node #0,0,1: 32:[17, 11] Operation: 30-19=11
Moving to Node #0,1
Current State: 32:[26, 19, 13], Operations: ['43-30=13']
Exploring Operation: 26/13=2, Resulting Numbers: [19, 2]
Generated Node #0,1,0: 32:[19, 2] Operation: 26/13=2
Exploring Operation: 26-19=7, Resulting Numbers: [13, 7]
Generated Node #0,1,1: 32:[13, 7] Operation: 26-19=7
Moving to Node #0,0,0
Current State: 32:[30, 2], Operations: ['43-26=17', '19-17=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[43, 26, 30, 19], Operations: []
Exploring Operation: 43-26=17, Resulting Numbers: [30, 19, 17]
Generated Node #0,0: 32:[30, 19, 17] Operation: 43-26=17
Moving to Node #0,0
Current State: 32:[30, 19, 17], Operations: ['43-26=17']
Exploring Operation: 19-17=2, Resulting Numbers: [30, 2]
Generated Node #0,0,0: 32:[30, 2] Operation: 19-17=2
Moving to Node #0,0,0
Current State: 32:[30, 2], Operations: ['43-26=17', '19-17=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
75,
72,
26,
9
] | 78 | [
"75-72=3",
"26*9=234",
"234/3=78"
] | Current State: 78:[75, 72, 26, 9], Operations: []
Exploring Operation: 75-72=3, Resulting Numbers: [26, 9, 3]
Generated Node #2: [26, 9, 3] from Operation: 75-72=3
Current State: 78:[26, 9, 3], Operations: ['75-72=3']
Exploring Operation: 26*9=234, Resulting Numbers: [3, 234]
Generated Node #3: [3, 234] from Operation: 26*9=234
Current State: 78:[3, 234], Operations: ['75-72=3', '26*9=234']
Exploring Operation: 234/3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[75, 72, 26, 9], Operations: []
Exploring Operation: 72+9=81, Resulting Numbers: [75, 26, 81]
Generated Node #0,0: 78:[75, 26, 81] Operation: 72+9=81
Exploring Operation: 72-26=46, Resulting Numbers: [75, 9, 46]
Generated Node #0,1: 78:[75, 9, 46] Operation: 72-26=46
Exploring Operation: 75-72=3, Resulting Numbers: [26, 9, 3]
Generated Node #0,2: 78:[26, 9, 3] Operation: 75-72=3
Exploring Operation: 75+9=84, Resulting Numbers: [72, 26, 84]
Generated Node #0,3: 78:[72, 26, 84] Operation: 75+9=84
Exploring Operation: 72/9=8, Resulting Numbers: [75, 26, 8]
Generated Node #0,4: 78:[75, 26, 8] Operation: 72/9=8
Moving to Node #0,2
Current State: 78:[26, 9, 3], Operations: ['75-72=3']
Exploring Operation: 9-3=6, Resulting Numbers: [26, 6]
Generated Node #0,2,0: 78:[26, 6] Operation: 9-3=6
Exploring Operation: 9/3=3, Resulting Numbers: [26, 3]
Generated Node #0,2,1: 78:[26, 3] Operation: 9/3=3
Exploring Operation: 9+3=12, Resulting Numbers: [26, 12]
Generated Node #0,2,2: 78:[26, 12] Operation: 9+3=12
Exploring Operation: 9*3=27, Resulting Numbers: [26, 27]
Generated Node #0,2,3: 78:[26, 27] Operation: 9*3=27
Exploring Operation: 26*3=78, Resulting Numbers: [9, 78]
Generated Node #0,2,4: 78:[9, 78] Operation: 26*3=78
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 78:[26, 6], Operations: ['75-72=3', '9-3=6']
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,78 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,78 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 78:[26, 3], Operations: ['75-72=3', '9/3=3']
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,78 unequal: No Solution
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[75, 72, 26, 9], Operations: []
Exploring Operation: 75-72=3, Resulting Numbers: [26, 9, 3]
Generated Node #0,2: 78:[26, 9, 3] Operation: 75-72=3
Moving to Node #0,2
Current State: 78:[26, 9, 3], Operations: ['75-72=3']
Exploring Operation: 9/3=3, Resulting Numbers: [26, 3]
Generated Node #0,2,1: 78:[26, 3] Operation: 9/3=3
Moving to Node #0,2,1
Current State: 78:[26, 3], Operations: ['75-72=3', '9/3=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
23,
92,
5,
52
] | 58 | [
"23+92=115",
"5+52=57",
"115-57=58"
] | Current State: 58:[23, 92, 5, 52], Operations: []
Exploring Operation: 23+92=115, Resulting Numbers: [5, 52, 115]
Generated Node #2: [5, 52, 115] from Operation: 23+92=115
Current State: 58:[5, 52, 115], Operations: ['23+92=115']
Exploring Operation: 5+52=57, Resulting Numbers: [115, 57]
Generated Node #3: [115, 57] from Operation: 5+52=57
Current State: 58:[115, 57], Operations: ['23+92=115', '5+52=57']
Exploring Operation: 115-57=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[23, 92, 5, 52], Operations: []
Exploring Operation: 92/23=4, Resulting Numbers: [5, 52, 4]
Generated Node #0,0: 58:[5, 52, 4] Operation: 92/23=4
Moving to Node #0,0
Current State: 58:[5, 52, 4], Operations: ['92/23=4']
Exploring Operation: 5+52=57, Resulting Numbers: [4, 57]
Generated Node #0,0,0: 58:[4, 57] Operation: 5+52=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[4, 57], Operations: ['92/23=4', '5+52=57']
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,58 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 |
[
48,
80,
24,
47
] | 87 | [
"48/24=2",
"80/2=40",
"47+40=87"
] | Current State: 87:[48, 80, 24, 47], Operations: []
Exploring Operation: 48/24=2, Resulting Numbers: [80, 47, 2]
Generated Node #2: [80, 47, 2] from Operation: 48/24=2
Current State: 87:[80, 47, 2], Operations: ['48/24=2']
Exploring Operation: 80/2=40, Resulting Numbers: [47, 40]
Generated Node #3: [47, 40] from Operation: 80/2=40
Current State: 87:[47, 40], Operations: ['48/24=2', '80/2=40']
Exploring Operation: 47+40=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[48, 80, 24, 47], Operations: []
Exploring Operation: 48-47=1, Resulting Numbers: [80, 24, 1]
Generated Node #0,0: 87:[80, 24, 1] Operation: 48-47=1
Moving to Node #0,0
Current State: 87:[80, 24, 1], Operations: ['48-47=1']
Exploring Operation: 80+1=81, Resulting Numbers: [24, 81]
Generated Node #0,0,0: 87:[24, 81] Operation: 80+1=81
Moving to Node #0,0,0
Current State: 87:[24, 81], Operations: ['48-47=1', '80+1=81']
Exploring Operation: 24+81=105, Resulting Numbers: [105]
105,87 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
20,
57,
56,
57
] | 56 | [
"57-57=0",
"20*0=0",
"56+0=56"
] | Current State: 56:[20, 57, 56, 57], Operations: []
Exploring Operation: 57-57=0, Resulting Numbers: [20, 56, 0]
Generated Node #2: [20, 56, 0] from Operation: 57-57=0
Current State: 56:[20, 56, 0], Operations: ['57-57=0']
Exploring Operation: 20*0=0, Resulting Numbers: [56, 0]
Generated Node #3: [56, 0] from Operation: 20*0=0
Current State: 56:[56, 0], Operations: ['57-57=0', '20*0=0']
Exploring Operation: 56+0=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[20, 57, 56, 57], Operations: []
Exploring Operation: 57/57=1, Resulting Numbers: [20, 56, 1]
Generated Node #0,0: 56:[20, 56, 1] Operation: 57/57=1
Exploring Operation: 57-56=1, Resulting Numbers: [20, 57, 1]
Generated Node #0,1: 56:[20, 57, 1] Operation: 57-56=1
Moving to Node #0,0
Current State: 56:[20, 56, 1], Operations: ['57/57=1']
Exploring Operation: 20-1=19, Resulting Numbers: [56, 19]
Generated Node #0,0,0: 56:[56, 19] Operation: 20-1=19
Exploring Operation: 20*1=20, Resulting Numbers: [56, 20]
Generated Node #0,0,1: 56:[56, 20] Operation: 20*1=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[56, 19], Operations: ['57/57=1', '20-1=19']
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,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:[56, 20], Operations: ['57/57=1', '20*1=20']
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 56+20=76, Resulting Numbers: [76]
76,56 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: 56:[20, 57, 1], Operations: ['57-56=1']
Exploring Operation: 20-1=19, Resulting Numbers: [57, 19]
Generated Node #0,1,0: 56:[57, 19] Operation: 20-1=19
Exploring Operation: 57-1=56, Resulting Numbers: [20, 56]
Generated Node #0,1,1: 56:[20, 56] Operation: 57-1=56
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[57, 19], Operations: ['57-56=1', '20-1=19']
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,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,1
Current State: 56:[20, 56], Operations: ['57-56=1', '57-1=56']
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 20+56=76, Resulting Numbers: [76]
76,56 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 |
[
43,
56,
4,
41
] | 64 | [
"43-41=2",
"4*2=8",
"56+8=64"
] | Current State: 64:[43, 56, 4, 41], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [56, 4, 2]
Generated Node #2: [56, 4, 2] from Operation: 43-41=2
Current State: 64:[56, 4, 2], Operations: ['43-41=2']
Exploring Operation: 4*2=8, Resulting Numbers: [56, 8]
Generated Node #3: [56, 8] from Operation: 4*2=8
Current State: 64:[56, 8], Operations: ['43-41=2', '4*2=8']
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[43, 56, 4, 41], Operations: []
Exploring Operation: 56-43=13, Resulting Numbers: [4, 41, 13]
Generated Node #0,0: 64:[4, 41, 13] Operation: 56-43=13
Exploring Operation: 43-41=2, Resulting Numbers: [56, 4, 2]
Generated Node #0,1: 64:[56, 4, 2] Operation: 43-41=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[56, 4, 2], Operations: ['43-41=2']
Exploring Operation: 56+4=60, Resulting Numbers: [2, 60]
Generated Node #0,1,0: 64:[2, 60] Operation: 56+4=60
Exploring Operation: 56/4=14, Resulting Numbers: [2, 14]
Generated Node #0,1,1: 64:[2, 14] Operation: 56/4=14
Moving to Node #0,1,1
Current State: 64:[2, 14], Operations: ['43-41=2', '56/4=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[2, 60], Operations: ['43-41=2', '56+4=60']
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,64 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[4, 41, 13], Operations: ['56-43=13']
Exploring Operation: 41-13=28, Resulting Numbers: [4, 28]
Generated Node #0,0,0: 64:[4, 28] Operation: 41-13=28
Exploring Operation: 41-4=37, Resulting Numbers: [13, 37]
Generated Node #0,0,1: 64:[13, 37] Operation: 41-4=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[4, 28], Operations: ['56-43=13', '41-13=28']
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[13, 37], Operations: ['56-43=13', '41-4=37']
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
56,
3,
57,
6
] | 95 | [
"56+57=113",
"3*6=18",
"113-18=95"
] | Current State: 95:[56, 3, 57, 6], Operations: []
Exploring Operation: 56+57=113, Resulting Numbers: [3, 6, 113]
Generated Node #2: [3, 6, 113] from Operation: 56+57=113
Current State: 95:[3, 6, 113], Operations: ['56+57=113']
Exploring Operation: 3*6=18, Resulting Numbers: [113, 18]
Generated Node #3: [113, 18] from Operation: 3*6=18
Current State: 95:[113, 18], Operations: ['56+57=113', '3*6=18']
Exploring Operation: 113-18=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[56, 3, 57, 6], Operations: []
Exploring Operation: 57-56=1, Resulting Numbers: [3, 6, 1]
Generated Node #0,0: 95:[3, 6, 1] Operation: 57-56=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[3, 6, 1], Operations: ['57-56=1']
Exploring Operation: 3+1=4, Resulting Numbers: [6, 4]
Generated Node #0,0,0: 95:[6, 4] Operation: 3+1=4
Moving to Node #0,0,0
Current State: 95:[6, 4], Operations: ['57-56=1', '3+1=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
33,
57,
90
] | 98 | [
"57-33=24",
"24/3=8",
"90+8=98"
] | Current State: 98:[3, 33, 57, 90], Operations: []
Exploring Operation: 57-33=24, Resulting Numbers: [3, 90, 24]
Generated Node #2: [3, 90, 24] from Operation: 57-33=24
Current State: 98:[3, 90, 24], Operations: ['57-33=24']
Exploring Operation: 24/3=8, Resulting Numbers: [90, 8]
Generated Node #3: [90, 8] from Operation: 24/3=8
Current State: 98:[90, 8], Operations: ['57-33=24', '24/3=8']
Exploring Operation: 90+8=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[3, 33, 57, 90], Operations: []
Exploring Operation: 33+57=90, Resulting Numbers: [3, 90, 90]
Generated Node #0,0: 98:[3, 90, 90] Operation: 33+57=90
Exploring Operation: 3*33=99, Resulting Numbers: [57, 90, 99]
Generated Node #0,1: 98:[57, 90, 99] Operation: 3*33=99
Exploring Operation: 57-33=24, Resulting Numbers: [3, 90, 24]
Generated Node #0,2: 98:[3, 90, 24] Operation: 57-33=24
Exploring Operation: 90-33=57, Resulting Numbers: [3, 57, 57]
Generated Node #0,3: 98:[3, 57, 57] Operation: 90-33=57
Exploring Operation: 33/3=11, Resulting Numbers: [57, 90, 11]
Generated Node #0,4: 98:[57, 90, 11] Operation: 33/3=11
Moving to Node #0,0
Current State: 98:[3, 90, 90], Operations: ['33+57=90']
Exploring Operation: 3+90=93, Resulting Numbers: [90, 93]
Generated Node #0,0,0: 98:[90, 93] Operation: 3+90=93
Exploring Operation: 3+90=93, Resulting Numbers: [90, 93]
Generated Node #0,0,1: 98:[90, 93] Operation: 3+90=93
Exploring Operation: 90-3=87, Resulting Numbers: [90, 87]
Generated Node #0,0,2: 98:[90, 87] Operation: 90-3=87
Exploring Operation: 90/90=1, Resulting Numbers: [3, 1]
Generated Node #0,0,3: 98:[3, 1] Operation: 90/90=1
Exploring Operation: 90-90=0, Resulting Numbers: [3, 0]
Generated Node #0,0,4: 98:[3, 0] Operation: 90-90=0
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 98:[3, 1], Operations: ['33+57=90', '90/90=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,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,0,4
Current State: 98:[3, 0], Operations: ['33+57=90', '90-90=0']
Exploring Operation: 3*0=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 3+0=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,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,0,0
Current State: 98:[90, 93], Operations: ['33+57=90', '3+90=93']
Exploring Operation: 93-90=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 90*93=8370, Resulting Numbers: [8370]
8370,98 unequal: No Solution
Exploring Operation: 90+93=183, Resulting Numbers: [183]
183,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,0,1
Current State: 98:[90, 93], Operations: ['33+57=90', '3+90=93']
Exploring Operation: 90*93=8370, Resulting Numbers: [8370]
8370,98 unequal: No Solution
Exploring Operation: 93-90=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 90+93=183, Resulting Numbers: [183]
183,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,0,2
Current State: 98:[90, 87], Operations: ['33+57=90', '90-3=87']
Exploring Operation: 90+87=177, Resulting Numbers: [177]
177,98 unequal: No Solution
Exploring Operation: 90*87=7830, Resulting Numbers: [7830]
7830,98 unequal: No Solution
Exploring Operation: 90-87=3, Resulting Numbers: [3]
3,98 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: 98:[3, 57, 57], Operations: ['90-33=57']
Exploring Operation: 57/57=1, Resulting Numbers: [3, 1]
Generated Node #0,3,0: 98:[3, 1] Operation: 57/57=1
Exploring Operation: 57-57=0, Resulting Numbers: [3, 0]
Generated Node #0,3,1: 98:[3, 0] Operation: 57-57=0
Exploring Operation: 57-3=54, Resulting Numbers: [57, 54]
Generated Node #0,3,2: 98:[57, 54] Operation: 57-3=54
Exploring Operation: 57-3=54, Resulting Numbers: [57, 54]
Generated Node #0,3,3: 98:[57, 54] Operation: 57-3=54
Exploring Operation: 57/3=19, Resulting Numbers: [57, 19]
Generated Node #0,3,4: 98:[57, 19] Operation: 57/3=19
Moving to Node #0,1
Current State: 98:[57, 90, 99], Operations: ['3*33=99']
Exploring Operation: 57+90=147, Resulting Numbers: [99, 147]
Generated Node #0,1,0: 98:[99, 147] Operation: 57+90=147
Exploring Operation: 99-90=9, Resulting Numbers: [57, 9]
Generated Node #0,1,1: 98:[57, 9] Operation: 99-90=9
Exploring Operation: 99-57=42, Resulting Numbers: [90, 42]
Generated Node #0,1,2: 98:[90, 42] Operation: 99-57=42
Exploring Operation: 57+99=156, Resulting Numbers: [90, 156]
Generated Node #0,1,3: 98:[90, 156] Operation: 57+99=156
Exploring Operation: 90-57=33, Resulting Numbers: [99, 33]
Generated Node #0,1,4: 98:[99, 33] Operation: 90-57=33
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[57, 9], Operations: ['3*33=99', '99-90=9']
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 57+9=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 57*9=513, Resulting Numbers: [513]
513,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,2
Current State: 98:[90, 42], Operations: ['3*33=99', '99-57=42']
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 90*42=3780, Resulting Numbers: [3780]
3780,98 unequal: No Solution
Exploring Operation: 90+42=132, Resulting Numbers: [132]
132,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,4
Current State: 98:[99, 33], Operations: ['3*33=99', '90-57=33']
Exploring Operation: 99-33=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 99*33=3267, Resulting Numbers: [3267]
3267,98 unequal: No Solution
Exploring Operation: 99/33=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 99+33=132, Resulting Numbers: [132]
132,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[99, 147], Operations: ['3*33=99', '57+90=147']
Exploring Operation: 99+147=246, Resulting Numbers: [246]
246,98 unequal: No Solution
Exploring Operation: 99*147=14553, Resulting Numbers: [14553]
14553,98 unequal: No Solution
Exploring Operation: 147-99=48, Resulting Numbers: [48]
48,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,3
Current State: 98:[90, 156], Operations: ['3*33=99', '57+99=156']
Exploring Operation: 156-90=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 90+156=246, Resulting Numbers: [246]
246,98 unequal: No Solution
Exploring Operation: 90*156=14040, Resulting Numbers: [14040]
14040,98 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: 98:[3, 90, 24], Operations: ['57-33=24']
Exploring Operation: 90+24=114, Resulting Numbers: [3, 114]
Generated Node #0,2,0: 98:[3, 114] Operation: 90+24=114
Exploring Operation: 24-3=21, Resulting Numbers: [90, 21]
Generated Node #0,2,1: 98:[90, 21] Operation: 24-3=21
Exploring Operation: 90-24=66, Resulting Numbers: [3, 66]
Generated Node #0,2,2: 98:[3, 66] Operation: 90-24=66
Exploring Operation: 24/3=8, Resulting Numbers: [90, 8]
Generated Node #0,2,3: 98:[90, 8] Operation: 24/3=8
Exploring Operation: 3+90=93, Resulting Numbers: [24, 93]
Generated Node #0,2,4: 98:[24, 93] Operation: 3+90=93
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 98:[90, 8], Operations: ['57-33=24', '24/3=8']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,98 unequal: No Solution
Exploring Operation: 90*8=720, Resulting Numbers: [720]
720,98 unequal: No Solution
Exploring Operation: 90+8=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[3, 33, 57, 90], Operations: []
Exploring Operation: 57-33=24, Resulting Numbers: [3, 90, 24]
Generated Node #0,2: 98:[3, 90, 24] Operation: 57-33=24
Moving to Node #0,2
Current State: 98:[3, 90, 24], Operations: ['57-33=24']
Exploring Operation: 24/3=8, Resulting Numbers: [90, 8]
Generated Node #0,2,3: 98:[90, 8] Operation: 24/3=8
Moving to Node #0,2,3
Current State: 98:[90, 8], Operations: ['57-33=24', '24/3=8']
Exploring Operation: 90+8=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.944444 | hs_5 | sum_heuristic |
[
89,
27,
81,
54
] | 87 | [
"27+81=108",
"108/54=2",
"89-2=87"
] | Current State: 87:[89, 27, 81, 54], Operations: []
Exploring Operation: 27+81=108, Resulting Numbers: [89, 54, 108]
Generated Node #2: [89, 54, 108] from Operation: 27+81=108
Current State: 87:[89, 54, 108], Operations: ['27+81=108']
Exploring Operation: 108/54=2, Resulting Numbers: [89, 2]
Generated Node #3: [89, 2] from Operation: 108/54=2
Current State: 87:[89, 2], Operations: ['27+81=108', '108/54=2']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[89, 27, 81, 54], Operations: []
Exploring Operation: 81-54=27, Resulting Numbers: [89, 27, 27]
Generated Node #0,0: 87:[89, 27, 27] Operation: 81-54=27
Moving to Node #0,0
Current State: 87:[89, 27, 27], Operations: ['81-54=27']
Exploring Operation: 27/27=1, Resulting Numbers: [89, 1]
Generated Node #0,0,0: 87:[89, 1] Operation: 27/27=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[89, 1], Operations: ['81-54=27', '27/27=1']
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,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 |
[
72,
32,
22,
36
] | 59 | [
"72*36=2592",
"2592/32=81",
"81-22=59"
] | Current State: 59:[72, 32, 22, 36], Operations: []
Exploring Operation: 72*36=2592, Resulting Numbers: [32, 22, 2592]
Generated Node #2: [32, 22, 2592] from Operation: 72*36=2592
Current State: 59:[32, 22, 2592], Operations: ['72*36=2592']
Exploring Operation: 2592/32=81, Resulting Numbers: [22, 81]
Generated Node #3: [22, 81] from Operation: 2592/32=81
Current State: 59:[22, 81], Operations: ['72*36=2592', '2592/32=81']
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[72, 32, 22, 36], Operations: []
Exploring Operation: 22+36=58, Resulting Numbers: [72, 32, 58]
Generated Node #0,0: 59:[72, 32, 58] Operation: 22+36=58
Exploring Operation: 72-22=50, Resulting Numbers: [32, 36, 50]
Generated Node #0,1: 59:[32, 36, 50] Operation: 72-22=50
Exploring Operation: 32+22=54, Resulting Numbers: [72, 36, 54]
Generated Node #0,2: 59:[72, 36, 54] Operation: 32+22=54
Exploring Operation: 32+36=68, Resulting Numbers: [72, 22, 68]
Generated Node #0,3: 59:[72, 22, 68] Operation: 32+36=68
Exploring Operation: 72-32=40, Resulting Numbers: [22, 36, 40]
Generated Node #0,4: 59:[22, 36, 40] Operation: 72-32=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[72, 32, 58], Operations: ['22+36=58']
Exploring Operation: 72+32=104, Resulting Numbers: [58, 104]
Generated Node #0,0,0: 59:[58, 104] Operation: 72+32=104
Exploring Operation: 58-32=26, Resulting Numbers: [72, 26]
Generated Node #0,0,1: 59:[72, 26] Operation: 58-32=26
Exploring Operation: 72-32=40, Resulting Numbers: [58, 40]
Generated Node #0,0,2: 59:[58, 40] Operation: 72-32=40
Exploring Operation: 32+58=90, Resulting Numbers: [72, 90]
Generated Node #0,0,3: 59:[72, 90] Operation: 32+58=90
Exploring Operation: 72-58=14, Resulting Numbers: [32, 14]
Generated Node #0,0,4: 59:[32, 14] Operation: 72-58=14
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 59:[58, 40], Operations: ['22+36=58', '72-32=40']
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Exploring Operation: 58+40=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Exploring Operation: 58*40=2320, Resulting Numbers: [2320]
2320,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 59:[72, 90], Operations: ['22+36=58', '32+58=90']
Exploring Operation: 72+90=162, Resulting Numbers: [162]
162,59 unequal: No Solution
Exploring Operation: 72*90=6480, Resulting Numbers: [6480]
6480,59 unequal: No Solution
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[58, 104], Operations: ['22+36=58', '72+32=104']
Exploring Operation: 58+104=162, Resulting Numbers: [162]
162,59 unequal: No Solution
Exploring Operation: 104-58=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 58*104=6032, Resulting Numbers: [6032]
6032,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[72, 26], Operations: ['22+36=58', '58-32=26']
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,59 unequal: No Solution
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 59:[32, 14], Operations: ['22+36=58', '72-58=14']
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[72, 36, 54], Operations: ['32+22=54']
Exploring Operation: 72-36=36, Resulting Numbers: [54, 36]
Generated Node #0,2,0: 59:[54, 36] Operation: 72-36=36
Exploring Operation: 72/36=2, Resulting Numbers: [54, 2]
Generated Node #0,2,1: 59:[54, 2] Operation: 72/36=2
Exploring Operation: 54-36=18, Resulting Numbers: [72, 18]
Generated Node #0,2,2: 59:[72, 18] Operation: 54-36=18
Exploring Operation: 72+36=108, Resulting Numbers: [54, 108]
Generated Node #0,2,3: 59:[54, 108] Operation: 72+36=108
Exploring Operation: 36+54=90, Resulting Numbers: [72, 90]
Generated Node #0,2,4: 59:[72, 90] Operation: 36+54=90
Moving to Node #0,2,0
Current State: 59:[54, 36], Operations: ['32+22=54', '72-36=36']
Exploring Operation: 54*36=1944, Resulting Numbers: [1944]
1944,59 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Exploring Operation: 54+36=90, Resulting Numbers: [90]
90,59 unequal: No Solution
Moving to Node #0,2,4
Current State: 59:[72, 90], Operations: ['32+22=54', '36+54=90']
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Exploring Operation: 72*90=6480, Resulting Numbers: [6480]
6480,59 unequal: No Solution
Exploring Operation: 72+90=162, Resulting Numbers: [162]
162,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[72, 18], Operations: ['32+22=54', '54-36=18']
Exploring Operation: 72*18=1296, Resulting Numbers: [1296]
1296,59 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,59 unequal: No Solution
Exploring Operation: 72+18=90, Resulting Numbers: [90]
90,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[54, 108], Operations: ['32+22=54', '72+36=108']
Exploring Operation: 54+108=162, Resulting Numbers: [162]
162,59 unequal: No Solution
Exploring Operation: 108/54=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 54*108=5832, Resulting Numbers: [5832]
5832,59 unequal: No Solution
Exploring Operation: 108-54=54, Resulting Numbers: [54]
54,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[54, 2], Operations: ['32+22=54', '72/36=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,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
Current State: 59:[32, 36, 50], Operations: ['72-22=50']
Exploring Operation: 32+50=82, Resulting Numbers: [36, 82]
Generated Node #0,1,0: 59:[36, 82] Operation: 32+50=82
Exploring Operation: 50-32=18, Resulting Numbers: [36, 18]
Generated Node #0,1,1: 59:[36, 18] Operation: 50-32=18
Exploring Operation: 36+50=86, Resulting Numbers: [32, 86]
Generated Node #0,1,2: 59:[32, 86] Operation: 36+50=86
Exploring Operation: 32+36=68, Resulting Numbers: [50, 68]
Generated Node #0,1,3: 59:[50, 68] Operation: 32+36=68
Exploring Operation: 36-32=4, Resulting Numbers: [50, 4]
Generated Node #0,1,4: 59:[50, 4] Operation: 36-32=4
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 59:[50, 68], Operations: ['72-22=50', '32+36=68']
Exploring Operation: 50*68=3400, Resulting Numbers: [3400]
3400,59 unequal: No Solution
Exploring Operation: 68-50=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Exploring Operation: 50+68=118, Resulting Numbers: [118]
118,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[36, 82], Operations: ['72-22=50', '32+50=82']
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,59 unequal: No Solution
Exploring Operation: 36*82=2952, Resulting Numbers: [2952]
2952,59 unequal: No Solution
Exploring Operation: 36+82=118, Resulting Numbers: [118]
118,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 59:[32, 86], Operations: ['72-22=50', '36+50=86']
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,59 unequal: No Solution
Exploring Operation: 32+86=118, Resulting Numbers: [118]
118,59 unequal: No Solution
Exploring Operation: 32*86=2752, Resulting Numbers: [2752]
2752,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[36, 18], Operations: ['72-22=50', '50-32=18']
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,59 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,59 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 59:[50, 4], Operations: ['72-22=50', '36-32=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,59 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,59 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[72, 22, 68], Operations: ['32+36=68']
Exploring Operation: 72-22=50, Resulting Numbers: [68, 50]
Generated Node #0,3,0: 59:[68, 50] Operation: 72-22=50
Exploring Operation: 72-68=4, Resulting Numbers: [22, 4]
Generated Node #0,3,1: 59:[22, 4] Operation: 72-68=4
Exploring Operation: 72+22=94, Resulting Numbers: [68, 94]
Generated Node #0,3,2: 59:[68, 94] Operation: 72+22=94
Exploring Operation: 68-22=46, Resulting Numbers: [72, 46]
Generated Node #0,3,3: 59:[72, 46] Operation: 68-22=46
Exploring Operation: 22+68=90, Resulting Numbers: [72, 90]
Generated Node #0,3,4: 59:[72, 90] Operation: 22+68=90
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 59:[68, 50], Operations: ['32+36=68', '72-22=50']
Exploring Operation: 68-50=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Exploring Operation: 68+50=118, Resulting Numbers: [118]
118,59 unequal: No Solution
Exploring Operation: 68*50=3400, Resulting Numbers: [3400]
3400,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 59:[72, 46], Operations: ['32+36=68', '68-22=46']
Exploring Operation: 72*46=3312, Resulting Numbers: [3312]
3312,59 unequal: No Solution
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 72+46=118, Resulting Numbers: [118]
118,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 59:[68, 94], Operations: ['32+36=68', '72+22=94']
Exploring Operation: 94-68=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 68+94=162, Resulting Numbers: [162]
162,59 unequal: No Solution
Exploring Operation: 68*94=6392, Resulting Numbers: [6392]
6392,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 59:[72, 90], Operations: ['32+36=68', '22+68=90']
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Exploring Operation: 72+90=162, Resulting Numbers: [162]
162,59 unequal: No Solution
Exploring Operation: 72*90=6480, Resulting Numbers: [6480]
6480,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 59:[22, 4], Operations: ['32+36=68', '72-68=4']
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 59:[22, 36, 40], Operations: ['72-32=40']
Exploring Operation: 22+36=58, Resulting Numbers: [40, 58]
Generated Node #0,4,0: 59:[40, 58] Operation: 22+36=58
Exploring Operation: 36-22=14, Resulting Numbers: [40, 14]
Generated Node #0,4,1: 59:[40, 14] Operation: 36-22=14
Exploring Operation: 22+40=62, Resulting Numbers: [36, 62]
Generated Node #0,4,2: 59:[36, 62] Operation: 22+40=62
Exploring Operation: 40-22=18, Resulting Numbers: [36, 18]
Generated Node #0,4,3: 59:[36, 18] Operation: 40-22=18
Exploring Operation: 36+40=76, Resulting Numbers: [22, 76]
Generated Node #0,4,4: 59:[22, 76] Operation: 36+40=76
Moving to Node #0,4,0
Current State: 59:[40, 58], Operations: ['72-32=40', '22+36=58']
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,59 unequal: No Solution
Exploring Operation: 40*58=2320, Resulting Numbers: [2320]
2320,59 unequal: No Solution
Exploring Operation: 40+58=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Moving to Node #0,4,2
Current State: 59:[36, 62], Operations: ['72-32=40', '22+40=62']
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,59 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Moving to Node #0,4,4
Current State: 59:[22, 76], Operations: ['72-32=40', '36+40=76']
Exploring Operation: 22+76=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Exploring Operation: 22*76=1672, Resulting Numbers: [1672]
1672,59 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,59 unequal: No Solution
Moving to Node #0,4,1
Current State: 59:[40, 14], Operations: ['72-32=40', '36-22=14']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,59 unequal: No Solution
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,59 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,59 unequal: No Solution
Moving to Node #0,4,3
Current State: 59:[36, 18], Operations: ['72-32=40', '40-22=18']
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,59 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,59 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,59 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 |
[
74,
2,
78,
14
] | 69 | [
"74+78=152",
"152-14=138",
"138/2=69"
] | Current State: 69:[74, 2, 78, 14], Operations: []
Exploring Operation: 74+78=152, Resulting Numbers: [2, 14, 152]
Generated Node #2: [2, 14, 152] from Operation: 74+78=152
Current State: 69:[2, 14, 152], Operations: ['74+78=152']
Exploring Operation: 152-14=138, Resulting Numbers: [2, 138]
Generated Node #3: [2, 138] from Operation: 152-14=138
Current State: 69:[2, 138], Operations: ['74+78=152', '152-14=138']
Exploring Operation: 138/2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[74, 2, 78, 14], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [2, 14, 4]
Generated Node #0,0: 69:[2, 14, 4] Operation: 78-74=4
Moving to Node #0,0
Current State: 69:[2, 14, 4], Operations: ['78-74=4']
Exploring Operation: 14/2=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 69:[4, 7] Operation: 14/2=7
Moving to Node #0,0,0
Current State: 69:[4, 7], Operations: ['78-74=4', '14/2=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,69 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
95,
18,
42,
50
] | 54 | [
"95-42=53",
"53-50=3",
"18*3=54"
] | Current State: 54:[95, 18, 42, 50], Operations: []
Exploring Operation: 95-42=53, Resulting Numbers: [18, 50, 53]
Generated Node #2: [18, 50, 53] from Operation: 95-42=53
Current State: 54:[18, 50, 53], Operations: ['95-42=53']
Exploring Operation: 53-50=3, Resulting Numbers: [18, 3]
Generated Node #3: [18, 3] from Operation: 53-50=3
Current State: 54:[18, 3], Operations: ['95-42=53', '53-50=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[95, 18, 42, 50], Operations: []
Exploring Operation: 95-42=53, Resulting Numbers: [18, 50, 53]
Generated Node #0,0: 54:[18, 50, 53] Operation: 95-42=53
Exploring Operation: 95-18=77, Resulting Numbers: [42, 50, 77]
Generated Node #0,1: 54:[42, 50, 77] Operation: 95-18=77
Exploring Operation: 95-50=45, Resulting Numbers: [18, 42, 45]
Generated Node #0,2: 54:[18, 42, 45] Operation: 95-50=45
Moving to Node #0,0
Current State: 54:[18, 50, 53], Operations: ['95-42=53']
Exploring Operation: 53-50=3, Resulting Numbers: [18, 3]
Generated Node #0,0,0: 54:[18, 3] Operation: 53-50=3
Exploring Operation: 50-18=32, Resulting Numbers: [53, 32]
Generated Node #0,0,1: 54:[53, 32] Operation: 50-18=32
Exploring Operation: 53-18=35, Resulting Numbers: [50, 35]
Generated Node #0,0,2: 54:[50, 35] Operation: 53-18=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[18, 3], Operations: ['95-42=53', '53-50=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[95, 18, 42, 50], Operations: []
Exploring Operation: 95-42=53, Resulting Numbers: [18, 50, 53]
Generated Node #0,0: 54:[18, 50, 53] Operation: 95-42=53
Moving to Node #0,0
Current State: 54:[18, 50, 53], Operations: ['95-42=53']
Exploring Operation: 53-50=3, Resulting Numbers: [18, 3]
Generated Node #0,0,0: 54:[18, 3] Operation: 53-50=3
Moving to Node #0,0,0
Current State: 54:[18, 3], Operations: ['95-42=53', '53-50=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
17,
56,
25,
1
] | 97 | [
"17+56=73",
"25-1=24",
"73+24=97"
] | Current State: 97:[17, 56, 25, 1], Operations: []
Exploring Operation: 17+56=73, Resulting Numbers: [25, 1, 73]
Generated Node #2: [25, 1, 73] from Operation: 17+56=73
Current State: 97:[25, 1, 73], Operations: ['17+56=73']
Exploring Operation: 25-1=24, Resulting Numbers: [73, 24]
Generated Node #3: [73, 24] from Operation: 25-1=24
Current State: 97:[73, 24], Operations: ['17+56=73', '25-1=24']
Exploring Operation: 73+24=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[17, 56, 25, 1], Operations: []
Exploring Operation: 17+25=42, Resulting Numbers: [56, 1, 42]
Generated Node #0,0: 97:[56, 1, 42] Operation: 17+25=42
Exploring Operation: 17+56=73, Resulting Numbers: [25, 1, 73]
Generated Node #0,1: 97:[25, 1, 73] Operation: 17+56=73
Exploring Operation: 17+1=18, Resulting Numbers: [56, 25, 18]
Generated Node #0,2: 97:[56, 25, 18] Operation: 17+1=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[56, 1, 42], Operations: ['17+25=42']
Exploring Operation: 1+42=43, Resulting Numbers: [56, 43]
Generated Node #0,0,0: 97:[56, 43] Operation: 1+42=43
Exploring Operation: 56+1=57, Resulting Numbers: [42, 57]
Generated Node #0,0,1: 97:[42, 57] Operation: 56+1=57
Exploring Operation: 56*1=56, Resulting Numbers: [42, 56]
Generated Node #0,0,2: 97:[42, 56] Operation: 56*1=56
Moving to Node #0,0,0
Current State: 97:[56, 43], Operations: ['17+25=42', '1+42=43']
Exploring Operation: 56+43=99, Resulting Numbers: [99]
99,97 unequal: No Solution
Exploring Operation: 56*43=2408, Resulting Numbers: [2408]
2408,97 unequal: No Solution
Exploring Operation: 56-43=13, Resulting Numbers: [13]
13,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[42, 57], Operations: ['17+25=42', '56+1=57']
Exploring Operation: 57-42=15, Resulting Numbers: [15]
15,97 unequal: No Solution
Exploring Operation: 42*57=2394, Resulting Numbers: [2394]
2394,97 unequal: No Solution
Exploring Operation: 42+57=99, Resulting Numbers: [99]
99,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[42, 56], Operations: ['17+25=42', '56*1=56']
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,97 unequal: No Solution
Exploring Operation: 42*56=2352, Resulting Numbers: [2352]
2352,97 unequal: No Solution
Exploring Operation: 42+56=98, Resulting Numbers: [98]
98,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[25, 1, 73], Operations: ['17+56=73']
Exploring Operation: 25+1=26, Resulting Numbers: [73, 26]
Generated Node #0,1,0: 97:[73, 26] Operation: 25+1=26
Exploring Operation: 25*1=25, Resulting Numbers: [73, 25]
Generated Node #0,1,1: 97:[73, 25] Operation: 25*1=25
Exploring Operation: 1+73=74, Resulting Numbers: [25, 74]
Generated Node #0,1,2: 97:[25, 74] Operation: 1+73=74
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[73, 26], Operations: ['17+56=73', '25+1=26']
Exploring Operation: 73*26=1898, Resulting Numbers: [1898]
1898,97 unequal: No Solution
Exploring Operation: 73+26=99, Resulting Numbers: [99]
99,97 unequal: No Solution
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[25, 74], Operations: ['17+56=73', '1+73=74']
Exploring Operation: 25+74=99, Resulting Numbers: [99]
99,97 unequal: No Solution
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,97 unequal: No Solution
Exploring Operation: 25*74=1850, Resulting Numbers: [1850]
1850,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[73, 25], Operations: ['17+56=73', '25*1=25']
Exploring Operation: 73+25=98, Resulting Numbers: [98]
98,97 unequal: No Solution
Exploring Operation: 73*25=1825, Resulting Numbers: [1825]
1825,97 unequal: No Solution
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[56, 25, 18], Operations: ['17+1=18']
Exploring Operation: 56+18=74, Resulting Numbers: [25, 74]
Generated Node #0,2,0: 97:[25, 74] Operation: 56+18=74
Exploring Operation: 25+18=43, Resulting Numbers: [56, 43]
Generated Node #0,2,1: 97:[56, 43] Operation: 25+18=43
Exploring Operation: 56+25=81, Resulting Numbers: [18, 81]
Generated Node #0,2,2: 97:[18, 81] Operation: 56+25=81
Moving to Node #0,2,0
Current State: 97:[25, 74], Operations: ['17+1=18', '56+18=74']
Exploring Operation: 25*74=1850, Resulting Numbers: [1850]
1850,97 unequal: No Solution
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,97 unequal: No Solution
Exploring Operation: 25+74=99, Resulting Numbers: [99]
99,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[56, 43], Operations: ['17+1=18', '25+18=43']
Exploring Operation: 56+43=99, Resulting Numbers: [99]
99,97 unequal: No Solution
Exploring Operation: 56-43=13, Resulting Numbers: [13]
13,97 unequal: No Solution
Exploring Operation: 56*43=2408, Resulting Numbers: [2408]
2408,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[18, 81], Operations: ['17+1=18', '56+25=81']
Exploring Operation: 18*81=1458, Resulting Numbers: [1458]
1458,97 unequal: No Solution
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,97 unequal: No Solution
Exploring Operation: 18+81=99, Resulting Numbers: [99]
99,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
14,
84,
37,
53
] | 82 | [
"14+84=98",
"53-37=16",
"98-16=82"
] | Current State: 82:[14, 84, 37, 53], Operations: []
Exploring Operation: 14+84=98, Resulting Numbers: [37, 53, 98]
Generated Node #2: [37, 53, 98] from Operation: 14+84=98
Current State: 82:[37, 53, 98], Operations: ['14+84=98']
Exploring Operation: 53-37=16, Resulting Numbers: [98, 16]
Generated Node #3: [98, 16] from Operation: 53-37=16
Current State: 82:[98, 16], Operations: ['14+84=98', '53-37=16']
Exploring Operation: 98-16=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[14, 84, 37, 53], Operations: []
Exploring Operation: 53-14=39, Resulting Numbers: [84, 37, 39]
Generated Node #0,0: 82:[84, 37, 39] Operation: 53-14=39
Exploring Operation: 84/14=6, Resulting Numbers: [37, 53, 6]
Generated Node #0,1: 82:[37, 53, 6] Operation: 84/14=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[84, 37, 39], Operations: ['53-14=39']
Exploring Operation: 84-37=47, Resulting Numbers: [39, 47]
Generated Node #0,0,0: 82:[39, 47] Operation: 84-37=47
Exploring Operation: 39-37=2, Resulting Numbers: [84, 2]
Generated Node #0,0,1: 82:[84, 2] Operation: 39-37=2
Moving to Node #0,0,1
Current State: 82:[84, 2], Operations: ['53-14=39', '39-37=2']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,82 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[14, 84, 37, 53], Operations: []
Exploring Operation: 53-14=39, Resulting Numbers: [84, 37, 39]
Generated Node #0,0: 82:[84, 37, 39] Operation: 53-14=39
Moving to Node #0,0
Current State: 82:[84, 37, 39], Operations: ['53-14=39']
Exploring Operation: 39-37=2, Resulting Numbers: [84, 2]
Generated Node #0,0,1: 82:[84, 2] Operation: 39-37=2
Moving to Node #0,0,1
Current State: 82:[84, 2], Operations: ['53-14=39', '39-37=2']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
29,
52,
3,
22
] | 15 | [
"29+52=81",
"3*22=66",
"81-66=15"
] | Current State: 15:[29, 52, 3, 22], Operations: []
Exploring Operation: 29+52=81, Resulting Numbers: [3, 22, 81]
Generated Node #2: [3, 22, 81] from Operation: 29+52=81
Current State: 15:[3, 22, 81], Operations: ['29+52=81']
Exploring Operation: 3*22=66, Resulting Numbers: [81, 66]
Generated Node #3: [81, 66] from Operation: 3*22=66
Current State: 15:[81, 66], Operations: ['29+52=81', '3*22=66']
Exploring Operation: 81-66=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[29, 52, 3, 22], Operations: []
Exploring Operation: 52-22=30, Resulting Numbers: [29, 3, 30]
Generated Node #0,0: 15:[29, 3, 30] Operation: 52-22=30
Exploring Operation: 29-3=26, Resulting Numbers: [52, 22, 26]
Generated Node #0,1: 15:[52, 22, 26] Operation: 29-3=26
Exploring Operation: 29-22=7, Resulting Numbers: [52, 3, 7]
Generated Node #0,2: 15:[52, 3, 7] Operation: 29-22=7
Exploring Operation: 52-29=23, Resulting Numbers: [3, 22, 23]
Generated Node #0,3: 15:[3, 22, 23] Operation: 52-29=23
Exploring Operation: 52-3=49, Resulting Numbers: [29, 22, 49]
Generated Node #0,4: 15:[29, 22, 49] Operation: 52-3=49
Moving to Node #0,3
Current State: 15:[3, 22, 23], Operations: ['52-29=23']
Exploring Operation: 22-3=19, Resulting Numbers: [23, 19]
Generated Node #0,3,0: 15:[23, 19] Operation: 22-3=19
Exploring Operation: 23-3=20, Resulting Numbers: [22, 20]
Generated Node #0,3,1: 15:[22, 20] Operation: 23-3=20
Exploring Operation: 3+23=26, Resulting Numbers: [22, 26]
Generated Node #0,3,2: 15:[22, 26] Operation: 3+23=26
Exploring Operation: 3+22=25, Resulting Numbers: [23, 25]
Generated Node #0,3,3: 15:[23, 25] Operation: 3+22=25
Exploring Operation: 23-22=1, Resulting Numbers: [3, 1]
Generated Node #0,3,4: 15:[3, 1] Operation: 23-22=1
Moving to Node #0,0
Current State: 15:[29, 3, 30], Operations: ['52-22=30']
Exploring Operation: 30-3=27, Resulting Numbers: [29, 27]
Generated Node #0,0,0: 15:[29, 27] Operation: 30-3=27
Exploring Operation: 29-3=26, Resulting Numbers: [30, 26]
Generated Node #0,0,1: 15:[30, 26] Operation: 29-3=26
Exploring Operation: 30-29=1, Resulting Numbers: [3, 1]
Generated Node #0,0,2: 15:[3, 1] Operation: 30-29=1
Exploring Operation: 29+3=32, Resulting Numbers: [30, 32]
Generated Node #0,0,3: 15:[30, 32] Operation: 29+3=32
Exploring Operation: 30/3=10, Resulting Numbers: [29, 10]
Generated Node #0,0,4: 15:[29, 10] Operation: 30/3=10
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 15:[3, 1], Operations: ['52-22=30', '30-29=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 15:[29, 10], Operations: ['52-22=30', '30/3=10']
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,15 unequal: No Solution
Exploring Operation: 29*10=290, Resulting Numbers: [290]
290,15 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[29, 27], Operations: ['52-22=30', '30-3=27']
Exploring Operation: 29*27=783, Resulting Numbers: [783]
783,15 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[30, 26], Operations: ['52-22=30', '29-3=26']
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 30*26=780, Resulting Numbers: [780]
780,15 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 15:[30, 32], Operations: ['52-22=30', '29+3=32']
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,15 unequal: No Solution
Exploring Operation: 30*32=960, Resulting Numbers: [960]
960,15 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,15 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: 15:[52, 3, 7], Operations: ['29-22=7']
Exploring Operation: 7-3=4, Resulting Numbers: [52, 4]
Generated Node #0,2,0: 15:[52, 4] Operation: 7-3=4
Exploring Operation: 52-3=49, Resulting Numbers: [7, 49]
Generated Node #0,2,1: 15:[7, 49] Operation: 52-3=49
Exploring Operation: 3+7=10, Resulting Numbers: [52, 10]
Generated Node #0,2,2: 15:[52, 10] Operation: 3+7=10
Exploring Operation: 52+3=55, Resulting Numbers: [7, 55]
Generated Node #0,2,3: 15:[7, 55] Operation: 52+3=55
Exploring Operation: 52-7=45, Resulting Numbers: [3, 45]
Generated Node #0,2,4: 15:[3, 45] Operation: 52-7=45
Moving to Node #0,1
Current State: 15:[52, 22, 26], Operations: ['29-3=26']
Exploring Operation: 52+22=74, Resulting Numbers: [26, 74]
Generated Node #0,1,0: 15:[26, 74] Operation: 52+22=74
Exploring Operation: 52-22=30, Resulting Numbers: [26, 30]
Generated Node #0,1,1: 15:[26, 30] Operation: 52-22=30
Exploring Operation: 52-26=26, Resulting Numbers: [22, 26]
Generated Node #0,1,2: 15:[22, 26] Operation: 52-26=26
Exploring Operation: 52/26=2, Resulting Numbers: [22, 2]
Generated Node #0,1,3: 15:[22, 2] Operation: 52/26=2
Exploring Operation: 26-22=4, Resulting Numbers: [52, 4]
Generated Node #0,1,4: 15:[52, 4] Operation: 26-22=4
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 15:[22, 2], Operations: ['29-3=26', '52/26=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 15:[22, 26], Operations: ['29-3=26', '52-26=26']
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 15:[26, 30], Operations: ['29-3=26', '52-22=30']
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,15 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 15:[52, 4], Operations: ['29-3=26', '26-22=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 52*4=208, Resulting Numbers: [208]
208,15 unequal: No Solution
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 15:[26, 74], Operations: ['29-3=26', '52+22=74']
Exploring Operation: 26+74=100, Resulting Numbers: [100]
100,15 unequal: No Solution
Exploring Operation: 26*74=1924, Resulting Numbers: [1924]
1924,15 unequal: No Solution
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,15 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: 15:[29, 22, 49], Operations: ['52-3=49']
Exploring Operation: 49-29=20, Resulting Numbers: [22, 20]
Generated Node #0,4,0: 15:[22, 20] Operation: 49-29=20
Exploring Operation: 49-22=27, Resulting Numbers: [29, 27]
Generated Node #0,4,1: 15:[29, 27] Operation: 49-22=27
Exploring Operation: 29+49=78, Resulting Numbers: [22, 78]
Generated Node #0,4,2: 15:[22, 78] Operation: 29+49=78
Exploring Operation: 29+22=51, Resulting Numbers: [49, 51]
Generated Node #0,4,3: 15:[49, 51] Operation: 29+22=51
Exploring Operation: 29-22=7, Resulting Numbers: [49, 7]
Generated Node #0,4,4: 15:[49, 7] Operation: 29-22=7
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 15:[22, 20], Operations: ['52-3=49', '49-29=20']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,15 unequal: No Solution
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 15:[29, 27], Operations: ['52-3=49', '49-22=27']
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 29*27=783, Resulting Numbers: [783]
783,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 15:[49, 7], Operations: ['52-3=49', '29-22=7']
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 49*7=343, Resulting Numbers: [343]
343,15 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 15:[22, 78], Operations: ['52-3=49', '29+49=78']
Exploring Operation: 22+78=100, Resulting Numbers: [100]
100,15 unequal: No Solution
Exploring Operation: 22*78=1716, Resulting Numbers: [1716]
1716,15 unequal: No Solution
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 15:[49, 51], Operations: ['52-3=49', '29+22=51']
Exploring Operation: 49+51=100, Resulting Numbers: [100]
100,15 unequal: No Solution
Exploring Operation: 49*51=2499, Resulting Numbers: [2499]
2499,15 unequal: No Solution
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 15:[3, 1], Operations: ['52-29=23', '23-22=1']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Moving to Node #0,3,1
Current State: 15:[22, 20], Operations: ['52-29=23', '23-3=20']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,15 unequal: No Solution
Moving to Node #0,3,0
Current State: 15:[23, 19], Operations: ['52-29=23', '22-3=19']
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 23*19=437, Resulting Numbers: [437]
437,15 unequal: No Solution
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Moving to Node #0,3,3
Current State: 15:[23, 25], Operations: ['52-29=23', '3+22=25']
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[22, 26], Operations: ['52-29=23', '3+23=26']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,15 unequal: No Solution
Moving to Node #0,2,4
Current State: 15:[3, 45], Operations: ['29-22=7', '52-7=45']
Exploring Operation: 3*45=135, Resulting Numbers: [135]
135,15 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[29, 52, 3, 22], Operations: []
Exploring Operation: 29-22=7, Resulting Numbers: [52, 3, 7]
Generated Node #0,2: 15:[52, 3, 7] Operation: 29-22=7
Moving to Node #0,2
Current State: 15:[52, 3, 7], Operations: ['29-22=7']
Exploring Operation: 52-7=45, Resulting Numbers: [3, 45]
Generated Node #0,2,4: 15:[3, 45] Operation: 52-7=45
Moving to Node #0,2,4
Current State: 15:[3, 45], Operations: ['29-22=7', '52-7=45']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.912326 | hs_5 | mult_heuristic |
[
53,
84,
69,
59
] | 41 | [
"84-53=31",
"69-59=10",
"31+10=41"
] | Current State: 41:[53, 84, 69, 59], Operations: []
Exploring Operation: 84-53=31, Resulting Numbers: [69, 59, 31]
Generated Node #2: [69, 59, 31] from Operation: 84-53=31
Current State: 41:[69, 59, 31], Operations: ['84-53=31']
Exploring Operation: 69-59=10, Resulting Numbers: [31, 10]
Generated Node #3: [31, 10] from Operation: 69-59=10
Current State: 41:[31, 10], Operations: ['84-53=31', '69-59=10']
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[53, 84, 69, 59], Operations: []
Exploring Operation: 84-53=31, Resulting Numbers: [69, 59, 31]
Generated Node #0,0: 41:[69, 59, 31] Operation: 84-53=31
Moving to Node #0,0
Current State: 41:[69, 59, 31], Operations: ['84-53=31']
Exploring Operation: 69-31=38, Resulting Numbers: [59, 38]
Generated Node #0,0,0: 41:[59, 38] Operation: 69-31=38
Moving to Node #0,0,0
Current State: 41:[59, 38], Operations: ['84-53=31', '69-31=38']
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,41 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
68,
67,
24,
54
] | 30 | [
"68-67=1",
"54-24=30",
"1*30=30"
] | Current State: 30:[68, 67, 24, 54], Operations: []
Exploring Operation: 68-67=1, Resulting Numbers: [24, 54, 1]
Generated Node #2: [24, 54, 1] from Operation: 68-67=1
Current State: 30:[24, 54, 1], Operations: ['68-67=1']
Exploring Operation: 54-24=30, Resulting Numbers: [1, 30]
Generated Node #3: [1, 30] from Operation: 54-24=30
Current State: 30:[1, 30], Operations: ['68-67=1', '54-24=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[68, 67, 24, 54], Operations: []
Exploring Operation: 67-54=13, Resulting Numbers: [68, 24, 13]
Generated Node #0,0: 30:[68, 24, 13] Operation: 67-54=13
Exploring Operation: 68-54=14, Resulting Numbers: [67, 24, 14]
Generated Node #0,1: 30:[67, 24, 14] Operation: 68-54=14
Exploring Operation: 68-67=1, Resulting Numbers: [24, 54, 1]
Generated Node #0,2: 30:[24, 54, 1] Operation: 68-67=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[24, 54, 1], Operations: ['68-67=1']
Exploring Operation: 24+1=25, Resulting Numbers: [54, 25]
Generated Node #0,2,0: 30:[54, 25] Operation: 24+1=25
Exploring Operation: 54-24=30, Resulting Numbers: [1, 30]
Generated Node #0,2,1: 30:[1, 30] Operation: 54-24=30
Exploring Operation: 54-1=53, Resulting Numbers: [24, 53]
Generated Node #0,2,2: 30:[24, 53] Operation: 54-1=53
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 30:[1, 30], Operations: ['68-67=1', '54-24=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[68, 67, 24, 54], Operations: []
Exploring Operation: 68-67=1, Resulting Numbers: [24, 54, 1]
Generated Node #0,2: 30:[24, 54, 1] Operation: 68-67=1
Moving to Node #0,2
Current State: 30:[24, 54, 1], Operations: ['68-67=1']
Exploring Operation: 54-24=30, Resulting Numbers: [1, 30]
Generated Node #0,2,1: 30:[1, 30] Operation: 54-24=30
Moving to Node #0,2,1
Current State: 30:[1, 30], Operations: ['68-67=1', '54-24=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
14,
43,
49,
5
] | 83 | [
"43-14=29",
"49+5=54",
"29+54=83"
] | Current State: 83:[14, 43, 49, 5], Operations: []
Exploring Operation: 43-14=29, Resulting Numbers: [49, 5, 29]
Generated Node #2: [49, 5, 29] from Operation: 43-14=29
Current State: 83:[49, 5, 29], Operations: ['43-14=29']
Exploring Operation: 49+5=54, Resulting Numbers: [29, 54]
Generated Node #3: [29, 54] from Operation: 49+5=54
Current State: 83:[29, 54], Operations: ['43-14=29', '49+5=54']
Exploring Operation: 29+54=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[14, 43, 49, 5], Operations: []
Exploring Operation: 14*5=70, Resulting Numbers: [43, 49, 70]
Generated Node #0,0: 83:[43, 49, 70] Operation: 14*5=70
Exploring Operation: 14+49=63, Resulting Numbers: [43, 5, 63]
Generated Node #0,1: 83:[43, 5, 63] Operation: 14+49=63
Exploring Operation: 14+5=19, Resulting Numbers: [43, 49, 19]
Generated Node #0,2: 83:[43, 49, 19] Operation: 14+5=19
Exploring Operation: 14+43=57, Resulting Numbers: [49, 5, 57]
Generated Node #0,3: 83:[49, 5, 57] Operation: 14+43=57
Moving to Node #0,0
Current State: 83:[43, 49, 70], Operations: ['14*5=70']
Exploring Operation: 49-43=6, Resulting Numbers: [70, 6]
Generated Node #0,0,0: 83:[70, 6] Operation: 49-43=6
Exploring Operation: 43+70=113, Resulting Numbers: [49, 113]
Generated Node #0,0,1: 83:[49, 113] Operation: 43+70=113
Exploring Operation: 43+49=92, Resulting Numbers: [70, 92]
Generated Node #0,0,2: 83:[70, 92] Operation: 43+49=92
Exploring Operation: 49+70=119, Resulting Numbers: [43, 119]
Generated Node #0,0,3: 83:[43, 119] Operation: 49+70=119
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[70, 92], Operations: ['14*5=70', '43+49=92']
Exploring Operation: 70*92=6440, Resulting Numbers: [6440]
6440,83 unequal: No Solution
Exploring Operation: 70+92=162, Resulting Numbers: [162]
162,83 unequal: No Solution
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[49, 113], Operations: ['14*5=70', '43+70=113']
Exploring Operation: 113-49=64, Resulting Numbers: [64]
64,83 unequal: No Solution
Exploring Operation: 49+113=162, Resulting Numbers: [162]
162,83 unequal: No Solution
Exploring Operation: 49*113=5537, Resulting Numbers: [5537]
5537,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[43, 119], Operations: ['14*5=70', '49+70=119']
Exploring Operation: 119-43=76, Resulting Numbers: [76]
76,83 unequal: No Solution
Exploring Operation: 43*119=5117, Resulting Numbers: [5117]
5117,83 unequal: No Solution
Exploring Operation: 43+119=162, Resulting Numbers: [162]
162,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[70, 6], Operations: ['14*5=70', '49-43=6']
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,83 unequal: No Solution
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,83 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,83 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: 83:[43, 49, 19], Operations: ['14+5=19']
Exploring Operation: 43-19=24, Resulting Numbers: [49, 24]
Generated Node #0,2,0: 83:[49, 24] Operation: 43-19=24
Exploring Operation: 43+19=62, Resulting Numbers: [49, 62]
Generated Node #0,2,1: 83:[49, 62] Operation: 43+19=62
Exploring Operation: 43+49=92, Resulting Numbers: [19, 92]
Generated Node #0,2,2: 83:[19, 92] Operation: 43+49=92
Exploring Operation: 49+19=68, Resulting Numbers: [43, 68]
Generated Node #0,2,3: 83:[43, 68] Operation: 49+19=68
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[49, 62], Operations: ['14+5=19', '43+19=62']
Exploring Operation: 62-49=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Exploring Operation: 49+62=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 49*62=3038, Resulting Numbers: [3038]
3038,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 83:[43, 68], Operations: ['14+5=19', '49+19=68']
Exploring Operation: 43*68=2924, Resulting Numbers: [2924]
2924,83 unequal: No Solution
Exploring Operation: 43+68=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[19, 92], Operations: ['14+5=19', '43+49=92']
Exploring Operation: 19*92=1748, Resulting Numbers: [1748]
1748,83 unequal: No Solution
Exploring Operation: 92-19=73, Resulting Numbers: [73]
73,83 unequal: No Solution
Exploring Operation: 19+92=111, Resulting Numbers: [111]
111,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[49, 24], Operations: ['14+5=19', '43-19=24']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,83 unequal: No Solution
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,83 unequal: No Solution
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 83:[43, 5, 63], Operations: ['14+49=63']
Exploring Operation: 43-5=38, Resulting Numbers: [63, 38]
Generated Node #0,1,0: 83:[63, 38] Operation: 43-5=38
Exploring Operation: 63-5=58, Resulting Numbers: [43, 58]
Generated Node #0,1,1: 83:[43, 58] Operation: 63-5=58
Exploring Operation: 5+63=68, Resulting Numbers: [43, 68]
Generated Node #0,1,2: 83:[43, 68] Operation: 5+63=68
Exploring Operation: 43+5=48, Resulting Numbers: [63, 48]
Generated Node #0,1,3: 83:[63, 48] Operation: 43+5=48
Moving to Node #0,3
Current State: 83:[49, 5, 57], Operations: ['14+43=57']
Exploring Operation: 5+57=62, Resulting Numbers: [49, 62]
Generated Node #0,3,0: 83:[49, 62] Operation: 5+57=62
Exploring Operation: 49+5=54, Resulting Numbers: [57, 54]
Generated Node #0,3,1: 83:[57, 54] Operation: 49+5=54
Exploring Operation: 57-5=52, Resulting Numbers: [49, 52]
Generated Node #0,3,2: 83:[49, 52] Operation: 57-5=52
Exploring Operation: 49-5=44, Resulting Numbers: [57, 44]
Generated Node #0,3,3: 83:[57, 44] Operation: 49-5=44
Moving to Node #0,1,2
Current State: 83:[43, 68], Operations: ['14+49=63', '5+63=68']
Exploring Operation: 43+68=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 43*68=2924, Resulting Numbers: [2924]
2924,83 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[57, 54], Operations: ['14+43=57', '49+5=54']
Exploring Operation: 57+54=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 57*54=3078, Resulting Numbers: [3078]
3078,83 unequal: No Solution
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[63, 48], Operations: ['14+49=63', '43+5=48']
Exploring Operation: 63+48=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Exploring Operation: 63-48=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Exploring Operation: 63*48=3024, Resulting Numbers: [3024]
3024,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[49, 62], Operations: ['14+43=57', '5+57=62']
Exploring Operation: 62-49=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Exploring Operation: 49*62=3038, Resulting Numbers: [3038]
3038,83 unequal: No Solution
Exploring Operation: 49+62=111, Resulting Numbers: [111]
111,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[49, 52], Operations: ['14+43=57', '57-5=52']
Exploring Operation: 49*52=2548, Resulting Numbers: [2548]
2548,83 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,83 unequal: No Solution
Exploring Operation: 49+52=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[63, 38], Operations: ['14+49=63', '43-5=38']
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,83 unequal: No Solution
Exploring Operation: 63*38=2394, Resulting Numbers: [2394]
2394,83 unequal: No Solution
Exploring Operation: 63+38=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[57, 44], Operations: ['14+43=57', '49-5=44']
Exploring Operation: 57*44=2508, Resulting Numbers: [2508]
2508,83 unequal: No Solution
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Exploring Operation: 57+44=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[43, 58], Operations: ['14+49=63', '63-5=58']
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Exploring Operation: 43+58=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Exploring Operation: 43*58=2494, Resulting Numbers: [2494]
2494,83 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
22,
72,
71,
60
] | 82 | [
"22+60=82",
"72-71=1",
"82*1=82"
] | Current State: 82:[22, 72, 71, 60], Operations: []
Exploring Operation: 22+60=82, Resulting Numbers: [72, 71, 82]
Generated Node #2: [72, 71, 82] from Operation: 22+60=82
Current State: 82:[72, 71, 82], Operations: ['22+60=82']
Exploring Operation: 72-71=1, Resulting Numbers: [82, 1]
Generated Node #3: [82, 1] from Operation: 72-71=1
Current State: 82:[82, 1], Operations: ['22+60=82', '72-71=1']
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[22, 72, 71, 60], Operations: []
Exploring Operation: 60-22=38, Resulting Numbers: [72, 71, 38]
Generated Node #0,0: 82:[72, 71, 38] Operation: 60-22=38
Exploring Operation: 22+60=82, Resulting Numbers: [72, 71, 82]
Generated Node #0,1: 82:[72, 71, 82] Operation: 22+60=82
Exploring Operation: 71-22=49, Resulting Numbers: [72, 60, 49]
Generated Node #0,2: 82:[72, 60, 49] Operation: 71-22=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[72, 71, 82], Operations: ['22+60=82']
Exploring Operation: 82-71=11, Resulting Numbers: [72, 11]
Generated Node #0,1,0: 82:[72, 11] Operation: 82-71=11
Exploring Operation: 82-72=10, Resulting Numbers: [71, 10]
Generated Node #0,1,1: 82:[71, 10] Operation: 82-72=10
Exploring Operation: 72-71=1, Resulting Numbers: [82, 1]
Generated Node #0,1,2: 82:[82, 1] Operation: 72-71=1
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 82:[82, 1], Operations: ['22+60=82', '72-71=1']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[22, 72, 71, 60], Operations: []
Exploring Operation: 22+60=82, Resulting Numbers: [72, 71, 82]
Generated Node #0,1: 82:[72, 71, 82] Operation: 22+60=82
Moving to Node #0,1
Current State: 82:[72, 71, 82], Operations: ['22+60=82']
Exploring Operation: 72-71=1, Resulting Numbers: [82, 1]
Generated Node #0,1,2: 82:[82, 1] Operation: 72-71=1
Moving to Node #0,1,2
Current State: 82:[82, 1], Operations: ['22+60=82', '72-71=1']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
67,
12,
79,
65
] | 64 | [
"67+12=79",
"79/79=1",
"65-1=64"
] | Current State: 64:[67, 12, 79, 65], Operations: []
Exploring Operation: 67+12=79, Resulting Numbers: [79, 65, 79]
Generated Node #2: [79, 65, 79] from Operation: 67+12=79
Current State: 64:[79, 65, 79], Operations: ['67+12=79']
Exploring Operation: 79/79=1, Resulting Numbers: [65, 1]
Generated Node #3: [65, 1] from Operation: 79/79=1
Current State: 64:[65, 1], Operations: ['67+12=79', '79/79=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[67, 12, 79, 65], Operations: []
Exploring Operation: 79-67=12, Resulting Numbers: [12, 65, 12]
Generated Node #0,0: 64:[12, 65, 12] Operation: 79-67=12
Exploring Operation: 79-12=67, Resulting Numbers: [67, 65, 67]
Generated Node #0,1: 64:[67, 65, 67] Operation: 79-12=67
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[67, 65, 67], Operations: ['79-12=67']
Exploring Operation: 67/67=1, Resulting Numbers: [65, 1]
Generated Node #0,1,0: 64:[65, 1] Operation: 67/67=1
Exploring Operation: 67-65=2, Resulting Numbers: [67, 2]
Generated Node #0,1,1: 64:[67, 2] Operation: 67-65=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[65, 1], Operations: ['79-12=67', '67/67=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[67, 12, 79, 65], Operations: []
Exploring Operation: 79-12=67, Resulting Numbers: [67, 65, 67]
Generated Node #0,1: 64:[67, 65, 67] Operation: 79-12=67
Moving to Node #0,1
Current State: 64:[67, 65, 67], Operations: ['79-12=67']
Exploring Operation: 67/67=1, Resulting Numbers: [65, 1]
Generated Node #0,1,0: 64:[65, 1] Operation: 67/67=1
Moving to Node #0,1,0
Current State: 64:[65, 1], Operations: ['79-12=67', '67/67=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
56,
38,
30,
38
] | 31 | [
"38-30=8",
"56/8=7",
"38-7=31"
] | Current State: 31:[56, 38, 30, 38], Operations: []
Exploring Operation: 38-30=8, Resulting Numbers: [56, 8]
Generated Node #2: [56, 8] from Operation: 38-30=8
Current State: 31:[56, 8], Operations: ['38-30=8']
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,31 equal: Goal Reached
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[56, 38, 30, 38], Operations: []
Exploring Operation: 56-38=18, Resulting Numbers: [30, 38, 18]
Generated Node #0,0: 31:[30, 38, 18] Operation: 56-38=18
Exploring Operation: 38-30=8, Resulting Numbers: [56, 38, 8]
Generated Node #0,1: 31:[56, 38, 8] Operation: 38-30=8
Exploring Operation: 56-30=26, Resulting Numbers: [38, 38, 26]
Generated Node #0,2: 31:[38, 38, 26] Operation: 56-30=26
Exploring Operation: 56-38=18, Resulting Numbers: [38, 30, 18]
Generated Node #0,3: 31:[38, 30, 18] Operation: 56-38=18
Moving to Node #0,2
Current State: 31:[38, 38, 26], Operations: ['56-30=26']
Exploring Operation: 38/38=1, Resulting Numbers: [26, 1]
Generated Node #0,2,0: 31:[26, 1] Operation: 38/38=1
Exploring Operation: 38-26=12, Resulting Numbers: [38, 12]
Generated Node #0,2,1: 31:[38, 12] Operation: 38-26=12
Exploring Operation: 38-26=12, Resulting Numbers: [38, 12]
Generated Node #0,2,2: 31:[38, 12] Operation: 38-26=12
Exploring Operation: 38-38=0, Resulting Numbers: [26, 0]
Generated Node #0,2,3: 31:[26, 0] Operation: 38-38=0
Moving to Node #0,3
Current State: 31:[38, 30, 18], Operations: ['56-38=18']
Exploring Operation: 30+18=48, Resulting Numbers: [38, 48]
Generated Node #0,3,0: 31:[38, 48] Operation: 30+18=48
Exploring Operation: 38-18=20, Resulting Numbers: [30, 20]
Generated Node #0,3,1: 31:[30, 20] Operation: 38-18=20
Exploring Operation: 30-18=12, Resulting Numbers: [38, 12]
Generated Node #0,3,2: 31:[38, 12] Operation: 30-18=12
Exploring Operation: 38+18=56, Resulting Numbers: [30, 56]
Generated Node #0,3,3: 31:[30, 56] Operation: 38+18=56
Moving to Node #0,0
Current State: 31:[30, 38, 18], Operations: ['56-38=18']
Exploring Operation: 38-18=20, Resulting Numbers: [30, 20]
Generated Node #0,0,0: 31:[30, 20] Operation: 38-18=20
Exploring Operation: 30+18=48, Resulting Numbers: [38, 48]
Generated Node #0,0,1: 31:[38, 48] Operation: 30+18=48
Exploring Operation: 38+18=56, Resulting Numbers: [30, 56]
Generated Node #0,0,2: 31:[30, 56] Operation: 38+18=56
Exploring Operation: 30-18=12, Resulting Numbers: [38, 12]
Generated Node #0,0,3: 31:[38, 12] Operation: 30-18=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[30, 20], Operations: ['56-38=18', '38-18=20']
Exploring Operation: 30*20=600, Resulting Numbers: [600]
600,31 unequal: No Solution
Exploring Operation: 30+20=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,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,0,1
Current State: 31:[38, 48], Operations: ['56-38=18', '30+18=48']
Exploring Operation: 38+48=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 38*48=1824, Resulting Numbers: [1824]
1824,31 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,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,0,2
Current State: 31:[30, 56], Operations: ['56-38=18', '38+18=56']
Exploring Operation: 30*56=1680, Resulting Numbers: [1680]
1680,31 unequal: No Solution
Exploring Operation: 30+56=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,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,0,3
Current State: 31:[38, 12], Operations: ['56-38=18', '30-18=12']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,31 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: 31:[56, 38, 8], Operations: ['38-30=8']
Exploring Operation: 38-8=30, Resulting Numbers: [56, 30]
Generated Node #0,1,0: 31:[56, 30] Operation: 38-8=30
Exploring Operation: 56-38=18, Resulting Numbers: [8, 18]
Generated Node #0,1,1: 31:[8, 18] Operation: 56-38=18
Exploring Operation: 56-8=48, Resulting Numbers: [38, 48]
Generated Node #0,1,2: 31:[38, 48] Operation: 56-8=48
Exploring Operation: 56/8=7, Resulting Numbers: [38, 7]
Generated Node #0,1,3: 31:[38, 7] Operation: 56/8=7
Moving to Node #0,3,1
Current State: 31:[30, 20], Operations: ['56-38=18', '38-18=20']
Exploring Operation: 30+20=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 30*20=600, Resulting Numbers: [600]
600,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[38, 48], Operations: ['56-38=18', '30+18=48']
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 38+48=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 38*48=1824, Resulting Numbers: [1824]
1824,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[38, 48], Operations: ['38-30=8', '56-8=48']
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 38*48=1824, Resulting Numbers: [1824]
1824,31 unequal: No Solution
Exploring Operation: 38+48=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[38, 12], Operations: ['56-38=18', '30-18=12']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,31 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[38, 12], Operations: ['56-30=26', '38-26=12']
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[56, 30], Operations: ['38-30=8', '38-8=30']
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 56*30=1680, Resulting Numbers: [1680]
1680,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[30, 56], Operations: ['56-38=18', '38+18=56']
Exploring Operation: 30+56=86, Resulting Numbers: [86]
86,31 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 30*56=1680, Resulting Numbers: [1680]
1680,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[38, 12], Operations: ['56-30=26', '38-26=12']
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,31 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[38, 7], Operations: ['38-30=8', '56/8=7']
Exploring Operation: 38*7=266, Resulting Numbers: [266]
266,31 unequal: No Solution
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[56, 38, 30, 38], Operations: []
Exploring Operation: 38-30=8, Resulting Numbers: [56, 38, 8]
Generated Node #0,1: 31:[56, 38, 8] Operation: 38-30=8
Moving to Node #0,1
Current State: 31:[56, 38, 8], Operations: ['38-30=8']
Exploring Operation: 56/8=7, Resulting Numbers: [38, 7]
Generated Node #0,1,3: 31:[38, 7] Operation: 56/8=7
Moving to Node #0,1,3
Current State: 31:[38, 7], Operations: ['38-30=8', '56/8=7']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 0.945313 | hs_4 | mult_heuristic |
[
64,
36,
76,
71
] | 20 | [
"64+36=100",
"76-71=5",
"100/5=20"
] | Current State: 20:[64, 36, 76, 71], Operations: []
Exploring Operation: 64+36=100, Resulting Numbers: [76, 71, 100]
Generated Node #2: [76, 71, 100] from Operation: 64+36=100
Current State: 20:[76, 71, 100], Operations: ['64+36=100']
Exploring Operation: 76-71=5, Resulting Numbers: [100, 5]
Generated Node #3: [100, 5] from Operation: 76-71=5
Current State: 20:[100, 5], Operations: ['64+36=100', '76-71=5']
Exploring Operation: 100/5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[64, 36, 76, 71], Operations: []
Exploring Operation: 76-71=5, Resulting Numbers: [64, 36, 5]
Generated Node #0,0: 20:[64, 36, 5] Operation: 76-71=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[64, 36, 5], Operations: ['76-71=5']
Exploring Operation: 64-36=28, Resulting Numbers: [5, 28]
Generated Node #0,0,0: 20:[5, 28] Operation: 64-36=28
Moving to Node #0,0,0
Current State: 20:[5, 28], Operations: ['76-71=5', '64-36=28']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
61,
11,
55,
58
] | 24 | [
"61+11=72",
"58-55=3",
"72/3=24"
] | Current State: 24:[61, 11, 55, 58], Operations: []
Exploring Operation: 61+11=72, Resulting Numbers: [55, 58, 72]
Generated Node #2: [55, 58, 72] from Operation: 61+11=72
Current State: 24:[55, 58, 72], Operations: ['61+11=72']
Exploring Operation: 58-55=3, Resulting Numbers: [72, 3]
Generated Node #3: [72, 3] from Operation: 58-55=3
Current State: 24:[72, 3], Operations: ['61+11=72', '58-55=3']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[61, 11, 55, 58], Operations: []
Exploring Operation: 55/11=5, Resulting Numbers: [61, 58, 5]
Generated Node #0,0: 24:[61, 58, 5] Operation: 55/11=5
Exploring Operation: 61-55=6, Resulting Numbers: [11, 58, 6]
Generated Node #0,1: 24:[11, 58, 6] Operation: 61-55=6
Exploring Operation: 61-58=3, Resulting Numbers: [11, 55, 3]
Generated Node #0,2: 24:[11, 55, 3] Operation: 61-58=3
Exploring Operation: 58-55=3, Resulting Numbers: [61, 11, 3]
Generated Node #0,3: 24:[61, 11, 3] Operation: 58-55=3
Moving to Node #0,2
Current State: 24:[11, 55, 3], Operations: ['61-58=3']
Exploring Operation: 11-3=8, Resulting Numbers: [55, 8]
Generated Node #0,2,0: 24:[55, 8] Operation: 11-3=8
Exploring Operation: 55-11=44, Resulting Numbers: [3, 44]
Generated Node #0,2,1: 24:[3, 44] Operation: 55-11=44
Exploring Operation: 55-3=52, Resulting Numbers: [11, 52]
Generated Node #0,2,2: 24:[11, 52] Operation: 55-3=52
Exploring Operation: 55/11=5, Resulting Numbers: [3, 5]
Generated Node #0,2,3: 24:[3, 5] Operation: 55/11=5
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 24:[3, 5], Operations: ['61-58=3', '55/11=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,24 unequal: No Solution
No 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: 24:[3, 44], Operations: ['61-58=3', '55-11=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,24 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,24 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,24 unequal: No Solution
No 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: 24:[11, 52], Operations: ['61-58=3', '55-3=52']
Exploring Operation: 11+52=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,24 unequal: No Solution
Exploring Operation: 11*52=572, Resulting Numbers: [572]
572,24 unequal: No Solution
No 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: 24:[55, 8], Operations: ['61-58=3', '11-3=8']
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 55*8=440, Resulting Numbers: [440]
440,24 unequal: No Solution
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,24 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: 24:[11, 58, 6], Operations: ['61-55=6']
Exploring Operation: 58-6=52, Resulting Numbers: [11, 52]
Generated Node #0,1,0: 24:[11, 52] Operation: 58-6=52
Exploring Operation: 11+6=17, Resulting Numbers: [58, 17]
Generated Node #0,1,1: 24:[58, 17] Operation: 11+6=17
Exploring Operation: 11-6=5, Resulting Numbers: [58, 5]
Generated Node #0,1,2: 24:[58, 5] Operation: 11-6=5
Exploring Operation: 58-11=47, Resulting Numbers: [6, 47]
Generated Node #0,1,3: 24:[6, 47] Operation: 58-11=47
Moving to Node #0,3
Current State: 24:[61, 11, 3], Operations: ['58-55=3']
Exploring Operation: 61-3=58, Resulting Numbers: [11, 58]
Generated Node #0,3,0: 24:[11, 58] Operation: 61-3=58
Exploring Operation: 61-11=50, Resulting Numbers: [3, 50]
Generated Node #0,3,1: 24:[3, 50] Operation: 61-11=50
Exploring Operation: 11-3=8, Resulting Numbers: [61, 8]
Generated Node #0,3,2: 24:[61, 8] Operation: 11-3=8
Exploring Operation: 11+3=14, Resulting Numbers: [61, 14]
Generated Node #0,3,3: 24:[61, 14] Operation: 11+3=14
Moving to Node #0,0
Current State: 24:[61, 58, 5], Operations: ['55/11=5']
Exploring Operation: 58-5=53, Resulting Numbers: [61, 53]
Generated Node #0,0,0: 24:[61, 53] Operation: 58-5=53
Exploring Operation: 61-58=3, Resulting Numbers: [5, 3]
Generated Node #0,0,1: 24:[5, 3] Operation: 61-58=3
Exploring Operation: 61-5=56, Resulting Numbers: [58, 56]
Generated Node #0,0,2: 24:[58, 56] Operation: 61-5=56
Exploring Operation: 61+5=66, Resulting Numbers: [58, 66]
Generated Node #0,0,3: 24:[58, 66] Operation: 61+5=66
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[5, 3], Operations: ['55/11=5', '61-58=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,24 unequal: No Solution
No 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: 24:[61, 53], Operations: ['55/11=5', '58-5=53']
Exploring Operation: 61*53=3233, Resulting Numbers: [3233]
3233,24 unequal: No Solution
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 61+53=114, Resulting Numbers: [114]
114,24 unequal: No Solution
No 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: 24:[58, 56], Operations: ['55/11=5', '61-5=56']
Exploring Operation: 58+56=114, Resulting Numbers: [114]
114,24 unequal: No Solution
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 58*56=3248, Resulting Numbers: [3248]
3248,24 unequal: No Solution
No 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: 24:[58, 66], Operations: ['55/11=5', '61+5=66']
Exploring Operation: 58*66=3828, Resulting Numbers: [3828]
3828,24 unequal: No Solution
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 58+66=124, Resulting Numbers: [124]
124,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 24:[6, 47], Operations: ['61-55=6', '58-11=47']
Exploring Operation: 6*47=282, Resulting Numbers: [282]
282,24 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,24 unequal: No Solution
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Moving to Node #0,3,1
Current State: 24:[3, 50], Operations: ['58-55=3', '61-11=50']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[11, 52], Operations: ['61-55=6', '58-6=52']
Exploring Operation: 11+52=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 11*52=572, Resulting Numbers: [572]
572,24 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,24 unequal: No Solution
Moving to Node #0,1,2
Current State: 24:[58, 5], Operations: ['61-55=6', '11-6=5']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 58*5=290, Resulting Numbers: [290]
290,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[11, 58], Operations: ['58-55=3', '61-3=58']
Exploring Operation: 11*58=638, Resulting Numbers: [638]
638,24 unequal: No Solution
Exploring Operation: 11+58=69, Resulting Numbers: [69]
69,24 unequal: No Solution
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Moving to Node #0,3,2
Current State: 24:[61, 8], Operations: ['58-55=3', '11-3=8']
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,24 unequal: No Solution
Exploring Operation: 61+8=69, Resulting Numbers: [69]
69,24 unequal: No Solution
Exploring Operation: 61*8=488, Resulting Numbers: [488]
488,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[58, 17], Operations: ['61-55=6', '11+6=17']
Exploring Operation: 58*17=986, Resulting Numbers: [986]
986,24 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,24 unequal: No Solution
Exploring Operation: 58+17=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Moving to Node #0,3,3
Current State: 24:[61, 14], Operations: ['58-55=3', '11+3=14']
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,24 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
58,
5,
3,
39
] | 76 | [
"58+5=63",
"39/3=13",
"63+13=76"
] | Current State: 76:[58, 5, 3, 39], Operations: []
Exploring Operation: 58+5=63, Resulting Numbers: [3, 39, 63]
Generated Node #2: [3, 39, 63] from Operation: 58+5=63
Current State: 76:[3, 39, 63], Operations: ['58+5=63']
Exploring Operation: 39/3=13, Resulting Numbers: [63, 13]
Generated Node #3: [63, 13] from Operation: 39/3=13
Current State: 76:[63, 13], Operations: ['58+5=63', '39/3=13']
Exploring Operation: 63+13=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[58, 5, 3, 39], Operations: []
Exploring Operation: 58+5=63, Resulting Numbers: [3, 39, 63]
Generated Node #0,0: 76:[3, 39, 63] Operation: 58+5=63
Exploring Operation: 58-39=19, Resulting Numbers: [5, 3, 19]
Generated Node #0,1: 76:[5, 3, 19] Operation: 58-39=19
Moving to Node #0,1
Current State: 76:[5, 3, 19], Operations: ['58-39=19']
Exploring Operation: 5-3=2, Resulting Numbers: [19, 2]
Generated Node #0,1,0: 76:[19, 2] Operation: 5-3=2
Exploring Operation: 5+3=8, Resulting Numbers: [19, 8]
Generated Node #0,1,1: 76:[19, 8] Operation: 5+3=8
Moving to Node #0,0
Current State: 76:[3, 39, 63], Operations: ['58+5=63']
Exploring Operation: 63-39=24, Resulting Numbers: [3, 24]
Generated Node #0,0,0: 76:[3, 24] Operation: 63-39=24
Exploring Operation: 63/3=21, Resulting Numbers: [39, 21]
Generated Node #0,0,1: 76:[39, 21] Operation: 63/3=21
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[39, 21], Operations: ['58+5=63', '63/3=21']
Exploring Operation: 39+21=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[3, 24], Operations: ['58+5=63', '63-39=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,76 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 76:[19, 2], Operations: ['58-39=19', '5-3=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[19, 8], Operations: ['58-39=19', '5+3=8']
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,76 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
60,
19,
24,
64
] | 76 | [
"24-19=5",
"60/5=12",
"64+12=76"
] | Current State: 76:[60, 19, 24, 64], Operations: []
Exploring Operation: 24-19=5, Resulting Numbers: [60, 64, 5]
Generated Node #2: [60, 64, 5] from Operation: 24-19=5
Current State: 76:[60, 64, 5], Operations: ['24-19=5']
Exploring Operation: 60/5=12, Resulting Numbers: [64, 12]
Generated Node #3: [64, 12] from Operation: 60/5=12
Current State: 76:[64, 12], Operations: ['24-19=5', '60/5=12']
Exploring Operation: 64+12=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[60, 19, 24, 64], Operations: []
Exploring Operation: 60+19=79, Resulting Numbers: [24, 64, 79]
Generated Node #0,0: 76:[24, 64, 79] Operation: 60+19=79
Exploring Operation: 64-24=40, Resulting Numbers: [60, 19, 40]
Generated Node #0,1: 76:[60, 19, 40] Operation: 64-24=40
Exploring Operation: 60-24=36, Resulting Numbers: [19, 64, 36]
Generated Node #0,2: 76:[19, 64, 36] Operation: 60-24=36
Exploring Operation: 64-60=4, Resulting Numbers: [19, 24, 4]
Generated Node #0,3: 76:[19, 24, 4] Operation: 64-60=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[19, 24, 4], Operations: ['64-60=4']
Exploring Operation: 24/4=6, Resulting Numbers: [19, 6]
Generated Node #0,3,0: 76:[19, 6] Operation: 24/4=6
Exploring Operation: 24-19=5, Resulting Numbers: [4, 5]
Generated Node #0,3,1: 76:[4, 5] Operation: 24-19=5
Exploring Operation: 19+24=43, Resulting Numbers: [4, 43]
Generated Node #0,3,2: 76:[4, 43] Operation: 19+24=43
Exploring Operation: 24-4=20, Resulting Numbers: [19, 20]
Generated Node #0,3,3: 76:[19, 20] Operation: 24-4=20
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 76:[4, 5], Operations: ['64-60=4', '24-19=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,76 unequal: No Solution
No 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: 76:[19, 20], Operations: ['64-60=4', '24-4=20']
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,76 unequal: No Solution
No 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: 76:[19, 6], Operations: ['64-60=4', '24/4=6']
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,76 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,76 unequal: No Solution
No 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: 76:[4, 43], Operations: ['64-60=4', '19+24=43']
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,76 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: 76:[19, 64, 36], Operations: ['60-24=36']
Exploring Operation: 19+64=83, Resulting Numbers: [36, 83]
Generated Node #0,2,0: 76:[36, 83] Operation: 19+64=83
Exploring Operation: 36-19=17, Resulting Numbers: [64, 17]
Generated Node #0,2,1: 76:[64, 17] Operation: 36-19=17
Exploring Operation: 64-19=45, Resulting Numbers: [36, 45]
Generated Node #0,2,2: 76:[36, 45] Operation: 64-19=45
Exploring Operation: 64-36=28, Resulting Numbers: [19, 28]
Generated Node #0,2,3: 76:[19, 28] Operation: 64-36=28
Moving to Node #0,2,0
Current State: 76:[36, 83], Operations: ['60-24=36', '19+64=83']
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 36+83=119, Resulting Numbers: [119]
119,76 unequal: No Solution
Exploring Operation: 36*83=2988, Resulting Numbers: [2988]
2988,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[19, 28], Operations: ['60-24=36', '64-36=28']
Exploring Operation: 19*28=532, Resulting Numbers: [532]
532,76 unequal: No Solution
Exploring Operation: 19+28=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[36, 45], Operations: ['60-24=36', '64-19=45']
Exploring Operation: 45-36=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 36+45=81, Resulting Numbers: [81]
81,76 unequal: No Solution
Exploring Operation: 36*45=1620, Resulting Numbers: [1620]
1620,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[64, 17], Operations: ['60-24=36', '36-19=17']
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,76 unequal: No Solution
Exploring Operation: 64*17=1088, Resulting Numbers: [1088]
1088,76 unequal: No Solution
Exploring Operation: 64+17=81, Resulting Numbers: [81]
81,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,1
Current State: 76:[60, 19, 40], Operations: ['64-24=40']
Exploring Operation: 60+19=79, Resulting Numbers: [40, 79]
Generated Node #0,1,0: 76:[40, 79] Operation: 60+19=79
Exploring Operation: 60-40=20, Resulting Numbers: [19, 20]
Generated Node #0,1,1: 76:[19, 20] Operation: 60-40=20
Exploring Operation: 60-19=41, Resulting Numbers: [40, 41]
Generated Node #0,1,2: 76:[40, 41] Operation: 60-19=41
Exploring Operation: 40-19=21, Resulting Numbers: [60, 21]
Generated Node #0,1,3: 76:[60, 21] Operation: 40-19=21
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[19, 20], Operations: ['64-24=40', '60-40=20']
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,76 unequal: No Solution
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,76 unequal: No Solution
No 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: 76:[40, 79], Operations: ['64-24=40', '60+19=79']
Exploring Operation: 79-40=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 40+79=119, Resulting Numbers: [119]
119,76 unequal: No Solution
Exploring Operation: 40*79=3160, Resulting Numbers: [3160]
3160,76 unequal: No Solution
No 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: 76:[40, 41], Operations: ['64-24=40', '60-19=41']
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 40*41=1640, Resulting Numbers: [1640]
1640,76 unequal: No Solution
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,76 unequal: No Solution
No 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: 76:[60, 21], Operations: ['64-24=40', '40-19=21']
Exploring Operation: 60+21=81, Resulting Numbers: [81]
81,76 unequal: No Solution
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 60*21=1260, Resulting Numbers: [1260]
1260,76 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: 76:[24, 64, 79], Operations: ['60+19=79']
Exploring Operation: 79-64=15, Resulting Numbers: [24, 15]
Generated Node #0,0,0: 76:[24, 15] Operation: 79-64=15
Exploring Operation: 79-24=55, Resulting Numbers: [64, 55]
Generated Node #0,0,1: 76:[64, 55] Operation: 79-24=55
Exploring Operation: 64-24=40, Resulting Numbers: [79, 40]
Generated Node #0,0,2: 76:[79, 40] Operation: 64-24=40
Exploring Operation: 24+64=88, Resulting Numbers: [79, 88]
Generated Node #0,0,3: 76:[79, 88] Operation: 24+64=88
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 76:[79, 40], Operations: ['60+19=79', '64-24=40']
Exploring Operation: 79*40=3160, Resulting Numbers: [3160]
3160,76 unequal: No Solution
Exploring Operation: 79+40=119, Resulting Numbers: [119]
119,76 unequal: No Solution
Exploring Operation: 79-40=39, Resulting Numbers: [39]
39,76 unequal: No Solution
No 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: 76:[24, 15], Operations: ['60+19=79', '79-64=15']
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,76 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,76 unequal: No Solution
No 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: 76:[79, 88], Operations: ['60+19=79', '24+64=88']
Exploring Operation: 79+88=167, Resulting Numbers: [167]
167,76 unequal: No Solution
Exploring Operation: 88-79=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 79*88=6952, Resulting Numbers: [6952]
6952,76 unequal: No Solution
No 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: 76:[64, 55], Operations: ['60+19=79', '79-24=55']
Exploring Operation: 64*55=3520, Resulting Numbers: [3520]
3520,76 unequal: No Solution
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 64+55=119, Resulting Numbers: [119]
119,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
63,
43,
27,
10
] | 70 | [
"63-43=20",
"27-20=7",
"10*7=70"
] | Current State: 70:[63, 43, 27, 10], Operations: []
Exploring Operation: 63-43=20, Resulting Numbers: [27, 10, 20]
Generated Node #2: [27, 10, 20] from Operation: 63-43=20
Current State: 70:[27, 10, 20], Operations: ['63-43=20']
Exploring Operation: 27-20=7, Resulting Numbers: [10, 7]
Generated Node #3: [10, 7] from Operation: 27-20=7
Current State: 70:[10, 7], Operations: ['63-43=20', '27-20=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[63, 43, 27, 10], Operations: []
Exploring Operation: 43+27=70, Resulting Numbers: [63, 10, 70]
Generated Node #0,0: 70:[63, 10, 70] Operation: 43+27=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[63, 10, 70], Operations: ['43+27=70']
Exploring Operation: 70-63=7, Resulting Numbers: [10, 7]
Generated Node #0,0,0: 70:[10, 7] Operation: 70-63=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[10, 7], Operations: ['43+27=70', '70-63=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[63, 43, 27, 10], Operations: []
Exploring Operation: 43+27=70, Resulting Numbers: [63, 10, 70]
Generated Node #0,0: 70:[63, 10, 70] Operation: 43+27=70
Moving to Node #0,0
Current State: 70:[63, 10, 70], Operations: ['43+27=70']
Exploring Operation: 70-63=7, Resulting Numbers: [10, 7]
Generated Node #0,0,0: 70:[10, 7] Operation: 70-63=7
Moving to Node #0,0,0
Current State: 70:[10, 7], Operations: ['43+27=70', '70-63=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
9,
54,
72,
72
] | 81 | [
"9+54=63",
"72+72=144",
"144-63=81"
] | Current State: 81:[9, 54, 72, 72], Operations: []
Exploring Operation: 9+54=63, Resulting Numbers: [72, 72, 63]
Generated Node #2: [72, 72, 63] from Operation: 9+54=63
Current State: 81:[72, 72, 63], Operations: ['9+54=63']
Exploring Operation: 72+72=144, Resulting Numbers: [63, 144]
Generated Node #3: [63, 144] from Operation: 72+72=144
Current State: 81:[63, 144], Operations: ['9+54=63', '72+72=144']
Exploring Operation: 144-63=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[9, 54, 72, 72], Operations: []
Exploring Operation: 72-54=18, Resulting Numbers: [9, 72, 18]
Generated Node #0,0: 81:[9, 72, 18] Operation: 72-54=18
Exploring Operation: 72-54=18, Resulting Numbers: [9, 72, 18]
Generated Node #0,1: 81:[9, 72, 18] Operation: 72-54=18
Moving to Node #0,0
Current State: 81:[9, 72, 18], Operations: ['72-54=18']
Exploring Operation: 9+72=81, Resulting Numbers: [18, 81]
Generated Node #0,0,0: 81:[18, 81] Operation: 9+72=81
Exploring Operation: 72/18=4, Resulting Numbers: [9, 4]
Generated Node #0,0,1: 81:[9, 4] Operation: 72/18=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[9, 4], Operations: ['72-54=18', '72/18=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[18, 81], Operations: ['72-54=18', '9+72=81']
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,81 unequal: No Solution
Exploring Operation: 18+81=99, Resulting Numbers: [99]
99,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 81:[9, 72, 18], Operations: ['72-54=18']
Exploring Operation: 9+72=81, Resulting Numbers: [18, 81]
Generated Node #0,1,0: 81:[18, 81] Operation: 9+72=81
Exploring Operation: 72/18=4, Resulting Numbers: [9, 4]
Generated Node #0,1,1: 81:[9, 4] Operation: 72/18=4
Moving to Node #0,1,1
Current State: 81:[9, 4], Operations: ['72-54=18', '72/18=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[18, 81], Operations: ['72-54=18', '9+72=81']
Exploring Operation: 18+81=99, Resulting Numbers: [99]
99,81 unequal: No Solution
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,81 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
90,
47,
20,
50
] | 83 | [
"90*20=1800",
"1800/50=36",
"47+36=83"
] | Current State: 83:[90, 47, 20, 50], Operations: []
Exploring Operation: 90*20=1800, Resulting Numbers: [47, 50, 1800]
Generated Node #2: [47, 50, 1800] from Operation: 90*20=1800
Current State: 83:[47, 50, 1800], Operations: ['90*20=1800']
Exploring Operation: 1800/50=36, Resulting Numbers: [47, 36]
Generated Node #3: [47, 36] from Operation: 1800/50=36
Current State: 83:[47, 36], Operations: ['90*20=1800', '1800/50=36']
Exploring Operation: 47+36=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[90, 47, 20, 50], Operations: []
Exploring Operation: 20+50=70, Resulting Numbers: [90, 47, 70]
Generated Node #0,0: 83:[90, 47, 70] Operation: 20+50=70
Exploring Operation: 47+20=67, Resulting Numbers: [90, 50, 67]
Generated Node #0,1: 83:[90, 50, 67] Operation: 47+20=67
Moving to Node #0,0
Current State: 83:[90, 47, 70], Operations: ['20+50=70']
Exploring Operation: 90-47=43, Resulting Numbers: [70, 43]
Generated Node #0,0,0: 83:[70, 43] Operation: 90-47=43
Exploring Operation: 47+70=117, Resulting Numbers: [90, 117]
Generated Node #0,0,1: 83:[90, 117] Operation: 47+70=117
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[90, 117], Operations: ['20+50=70', '47+70=117']
Exploring Operation: 90+117=207, Resulting Numbers: [207]
207,83 unequal: No Solution
Exploring Operation: 117-90=27, Resulting Numbers: [27]
27,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[70, 43], Operations: ['20+50=70', '90-47=43']
Exploring Operation: 70+43=113, Resulting Numbers: [113]
113,83 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 83:[90, 50, 67], Operations: ['47+20=67']
Exploring Operation: 90-50=40, Resulting Numbers: [67, 40]
Generated Node #0,1,0: 83:[67, 40] Operation: 90-50=40
Exploring Operation: 50+67=117, Resulting Numbers: [90, 117]
Generated Node #0,1,1: 83:[90, 117] Operation: 50+67=117
Moving to Node #0,1,1
Current State: 83:[90, 117], Operations: ['47+20=67', '50+67=117']
Exploring Operation: 90+117=207, Resulting Numbers: [207]
207,83 unequal: No Solution
Exploring Operation: 117-90=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[67, 40], Operations: ['47+20=67', '90-50=40']
Exploring Operation: 67-40=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 67+40=107, Resulting Numbers: [107]
107,83 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
16,
16,
37,
8
] | 75 | [
"16+37=53",
"16*8=128",
"128-53=75"
] | Current State: 75:[16, 16, 37, 8], Operations: []
Exploring Operation: 16+37=53, Resulting Numbers: [8, 53]
Generated Node #2: [8, 53] from Operation: 16+37=53
Current State: 75:[8, 53], Operations: ['16+37=53']
Exploring Operation: 16*8=128, Resulting Numbers: [53, 128]
Generated Node #3: [53, 128] from Operation: 16*8=128
Current State: 75:[53, 128], Operations: ['16+37=53', '16*8=128']
Exploring Operation: 128-53=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[16, 16, 37, 8], Operations: []
Exploring Operation: 37-8=29, Resulting Numbers: [16, 16, 29]
Generated Node #0,0: 75:[16, 16, 29] Operation: 37-8=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[16, 16, 29], Operations: ['37-8=29']
Exploring Operation: 29-16=13, Resulting Numbers: [16, 13]
Generated Node #0,0,0: 75:[16, 13] Operation: 29-16=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[16, 13], Operations: ['37-8=29', '29-16=13']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
89,
86,
25,
58
] | 65 | [
"89+86=175",
"175/25=7",
"58+7=65"
] | Current State: 65:[89, 86, 25, 58], Operations: []
Exploring Operation: 89+86=175, Resulting Numbers: [25, 58, 175]
Generated Node #2: [25, 58, 175] from Operation: 89+86=175
Current State: 65:[25, 58, 175], Operations: ['89+86=175']
Exploring Operation: 175/25=7, Resulting Numbers: [58, 7]
Generated Node #3: [58, 7] from Operation: 175/25=7
Current State: 65:[58, 7], Operations: ['89+86=175', '175/25=7']
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[89, 86, 25, 58], Operations: []
Exploring Operation: 89-25=64, Resulting Numbers: [86, 58, 64]
Generated Node #0,0: 65:[86, 58, 64] Operation: 89-25=64
Exploring Operation: 89-86=3, Resulting Numbers: [25, 58, 3]
Generated Node #0,1: 65:[25, 58, 3] Operation: 89-86=3
Exploring Operation: 86-25=61, Resulting Numbers: [89, 58, 61]
Generated Node #0,2: 65:[89, 58, 61] Operation: 86-25=61
Moving to Node #0,1
Current State: 65:[25, 58, 3], Operations: ['89-86=3']
Exploring Operation: 25-3=22, Resulting Numbers: [58, 22]
Generated Node #0,1,0: 65:[58, 22] Operation: 25-3=22
Exploring Operation: 25*3=75, Resulting Numbers: [58, 75]
Generated Node #0,1,1: 65:[58, 75] Operation: 25*3=75
Exploring Operation: 58+3=61, Resulting Numbers: [25, 61]
Generated Node #0,1,2: 65:[25, 61] Operation: 58+3=61
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[58, 22], Operations: ['89-86=3', '25-3=22']
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 58*22=1276, Resulting Numbers: [1276]
1276,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[25, 61], Operations: ['89-86=3', '58+3=61']
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 25*61=1525, Resulting Numbers: [1525]
1525,65 unequal: No Solution
Exploring Operation: 25+61=86, Resulting Numbers: [86]
86,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,1
Current State: 65:[58, 75], Operations: ['89-86=3', '25*3=75']
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,65 unequal: No Solution
Exploring Operation: 58+75=133, Resulting Numbers: [133]
133,65 unequal: No Solution
Exploring Operation: 58*75=4350, Resulting Numbers: [4350]
4350,65 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: 65:[86, 58, 64], Operations: ['89-25=64']
Exploring Operation: 64-58=6, Resulting Numbers: [86, 6]
Generated Node #0,0,0: 65:[86, 6] Operation: 64-58=6
Exploring Operation: 86-58=28, Resulting Numbers: [64, 28]
Generated Node #0,0,1: 65:[64, 28] Operation: 86-58=28
Exploring Operation: 86-64=22, Resulting Numbers: [58, 22]
Generated Node #0,0,2: 65:[58, 22] Operation: 86-64=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[64, 28], Operations: ['89-25=64', '86-58=28']
Exploring Operation: 64*28=1792, Resulting Numbers: [1792]
1792,65 unequal: No Solution
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 64+28=92, Resulting Numbers: [92]
92,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[58, 22], Operations: ['89-25=64', '86-64=22']
Exploring Operation: 58*22=1276, Resulting Numbers: [1276]
1276,65 unequal: No Solution
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[86, 6], Operations: ['89-25=64', '64-58=6']
Exploring Operation: 86+6=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Exploring Operation: 86*6=516, Resulting Numbers: [516]
516,65 unequal: No Solution
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 65:[89, 58, 61], Operations: ['86-25=61']
Exploring Operation: 61-58=3, Resulting Numbers: [89, 3]
Generated Node #0,2,0: 65:[89, 3] Operation: 61-58=3
Exploring Operation: 89-61=28, Resulting Numbers: [58, 28]
Generated Node #0,2,1: 65:[58, 28] Operation: 89-61=28
Exploring Operation: 89-58=31, Resulting Numbers: [61, 31]
Generated Node #0,2,2: 65:[61, 31] Operation: 89-58=31
Moving to Node #0,2,1
Current State: 65:[58, 28], Operations: ['86-25=61', '89-61=28']
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,65 unequal: No Solution
Exploring Operation: 58*28=1624, Resulting Numbers: [1624]
1624,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[61, 31], Operations: ['86-25=61', '89-58=31']
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 61*31=1891, Resulting Numbers: [1891]
1891,65 unequal: No Solution
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[89, 3], Operations: ['86-25=61', '61-58=3']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,65 unequal: No Solution
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Exploring Operation: 89*3=267, Resulting Numbers: [267]
267,65 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
3,
16,
1,
76
] | 89 | [
"16-3=13",
"1*76=76",
"13+76=89"
] | Current State: 89:[3, 16, 1, 76], Operations: []
Exploring Operation: 16-3=13, Resulting Numbers: [1, 76, 13]
Generated Node #2: [1, 76, 13] from Operation: 16-3=13
Current State: 89:[1, 76, 13], Operations: ['16-3=13']
Exploring Operation: 1*76=76, Resulting Numbers: [13, 76]
Generated Node #3: [13, 76] from Operation: 1*76=76
Current State: 89:[13, 76], Operations: ['16-3=13', '1*76=76']
Exploring Operation: 13+76=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[3, 16, 1, 76], Operations: []
Exploring Operation: 3*16=48, Resulting Numbers: [1, 76, 48]
Generated Node #0,0: 89:[1, 76, 48] Operation: 3*16=48
Moving to Node #0,0
Current State: 89:[1, 76, 48], Operations: ['3*16=48']
Exploring Operation: 1+76=77, Resulting Numbers: [48, 77]
Generated Node #0,0,0: 89:[48, 77] Operation: 1+76=77
Moving to Node #0,0,0
Current State: 89:[48, 77], Operations: ['3*16=48', '1+76=77']
Exploring Operation: 48+77=125, Resulting Numbers: [125]
125,89 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
39,
22,
2,
53
] | 18 | [
"39-22=17",
"53-17=36",
"36/2=18"
] | Current State: 18:[39, 22, 2, 53], Operations: []
Exploring Operation: 39-22=17, Resulting Numbers: [2, 53, 17]
Generated Node #2: [2, 53, 17] from Operation: 39-22=17
Current State: 18:[2, 53, 17], Operations: ['39-22=17']
Exploring Operation: 53-17=36, Resulting Numbers: [2, 36]
Generated Node #3: [2, 36] from Operation: 53-17=36
Current State: 18:[2, 36], Operations: ['39-22=17', '53-17=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[39, 22, 2, 53], Operations: []
Exploring Operation: 39-2=37, Resulting Numbers: [22, 53, 37]
Generated Node #0,0: 18:[22, 53, 37] Operation: 39-2=37
Exploring Operation: 53-39=14, Resulting Numbers: [22, 2, 14]
Generated Node #0,1: 18:[22, 2, 14] Operation: 53-39=14
Exploring Operation: 22-2=20, Resulting Numbers: [39, 53, 20]
Generated Node #0,2: 18:[39, 53, 20] Operation: 22-2=20
Exploring Operation: 53-22=31, Resulting Numbers: [39, 2, 31]
Generated Node #0,3: 18:[39, 2, 31] Operation: 53-22=31
Exploring Operation: 39-22=17, Resulting Numbers: [2, 53, 17]
Generated Node #0,4: 18:[2, 53, 17] Operation: 39-22=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[22, 2, 14], Operations: ['53-39=14']
Exploring Operation: 22-2=20, Resulting Numbers: [14, 20]
Generated Node #0,1,0: 18:[14, 20] Operation: 22-2=20
Exploring Operation: 2+14=16, Resulting Numbers: [22, 16]
Generated Node #0,1,1: 18:[22, 16] Operation: 2+14=16
Exploring Operation: 22/2=11, Resulting Numbers: [14, 11]
Generated Node #0,1,2: 18:[14, 11] Operation: 22/2=11
Exploring Operation: 22-14=8, Resulting Numbers: [2, 8]
Generated Node #0,1,3: 18:[2, 8] Operation: 22-14=8
Exploring Operation: 14/2=7, Resulting Numbers: [22, 7]
Generated Node #0,1,4: 18:[22, 7] Operation: 14/2=7
Moving to Node #0,1,3
Current State: 18:[2, 8], Operations: ['53-39=14', '22-14=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Moving to Node #0,1,4
Current State: 18:[22, 7], Operations: ['53-39=14', '14/2=7']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[14, 20], Operations: ['53-39=14', '22-2=20']
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,18 unequal: No Solution
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[22, 16], Operations: ['53-39=14', '2+14=16']
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,18 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[14, 11], Operations: ['53-39=14', '22/2=11']
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,18 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,18 unequal: No Solution
No 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: 18:[39, 2, 31], Operations: ['53-22=31']
Exploring Operation: 39-2=37, Resulting Numbers: [31, 37]
Generated Node #0,3,0: 18:[31, 37] Operation: 39-2=37
Exploring Operation: 31-2=29, Resulting Numbers: [39, 29]
Generated Node #0,3,1: 18:[39, 29] Operation: 31-2=29
Exploring Operation: 2+31=33, Resulting Numbers: [39, 33]
Generated Node #0,3,2: 18:[39, 33] Operation: 2+31=33
Exploring Operation: 39-31=8, Resulting Numbers: [2, 8]
Generated Node #0,3,3: 18:[2, 8] Operation: 39-31=8
Exploring Operation: 39+2=41, Resulting Numbers: [31, 41]
Generated Node #0,3,4: 18:[31, 41] Operation: 39+2=41
Moving to Node #0,3,3
Current State: 18:[2, 8], Operations: ['53-22=31', '39-31=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Moving to Node #0,3,1
Current State: 18:[39, 29], Operations: ['53-22=31', '31-2=29']
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 39*29=1131, Resulting Numbers: [1131]
1131,18 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Moving to Node #0,3,0
Current State: 18:[31, 37], Operations: ['53-22=31', '39-2=37']
Exploring Operation: 31*37=1147, Resulting Numbers: [1147]
1147,18 unequal: No Solution
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 31+37=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Moving to Node #0,3,2
Current State: 18:[39, 33], Operations: ['53-22=31', '2+31=33']
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,18 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,18 unequal: No Solution
Moving to Node #0,3,4
Current State: 18:[31, 41], Operations: ['53-22=31', '39+2=41']
Exploring Operation: 31*41=1271, Resulting Numbers: [1271]
1271,18 unequal: No Solution
Exploring Operation: 31+41=72, Resulting Numbers: [72]
72,18 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,18 unequal: No Solution
No 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: 18:[2, 53, 17], Operations: ['39-22=17']
Exploring Operation: 2+17=19, Resulting Numbers: [53, 19]
Generated Node #0,4,0: 18:[53, 19] Operation: 2+17=19
Exploring Operation: 53-17=36, Resulting Numbers: [2, 36]
Generated Node #0,4,1: 18:[2, 36] Operation: 53-17=36
Exploring Operation: 2+53=55, Resulting Numbers: [17, 55]
Generated Node #0,4,2: 18:[17, 55] Operation: 2+53=55
Exploring Operation: 53-2=51, Resulting Numbers: [17, 51]
Generated Node #0,4,3: 18:[17, 51] Operation: 53-2=51
Exploring Operation: 17-2=15, Resulting Numbers: [53, 15]
Generated Node #0,4,4: 18:[53, 15] Operation: 17-2=15
Moving to Node #0,4,1
Current State: 18:[2, 36], Operations: ['39-22=17', '53-17=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[39, 22, 2, 53], Operations: []
Exploring Operation: 39-22=17, Resulting Numbers: [2, 53, 17]
Generated Node #0,4: 18:[2, 53, 17] Operation: 39-22=17
Moving to Node #0,4
Current State: 18:[2, 53, 17], Operations: ['39-22=17']
Exploring Operation: 53-17=36, Resulting Numbers: [2, 36]
Generated Node #0,4,1: 18:[2, 36] Operation: 53-17=36
Moving to Node #0,4,1
Current State: 18:[2, 36], Operations: ['39-22=17', '53-17=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.950521 | hs_5 | mult_heuristic |
[
58,
14,
4,
78
] | 66 | [
"78-58=20",
"4*20=80",
"80-14=66"
] | Current State: 66:[58, 14, 4, 78], Operations: []
Exploring Operation: 78-58=20, Resulting Numbers: [14, 4, 20]
Generated Node #2: [14, 4, 20] from Operation: 78-58=20
Current State: 66:[14, 4, 20], Operations: ['78-58=20']
Exploring Operation: 4*20=80, Resulting Numbers: [14, 80]
Generated Node #3: [14, 80] from Operation: 4*20=80
Current State: 66:[14, 80], Operations: ['78-58=20', '4*20=80']
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[58, 14, 4, 78], Operations: []
Exploring Operation: 78-58=20, Resulting Numbers: [14, 4, 20]
Generated Node #0,0: 66:[14, 4, 20] Operation: 78-58=20
Exploring Operation: 78-14=64, Resulting Numbers: [58, 4, 64]
Generated Node #0,1: 66:[58, 4, 64] Operation: 78-14=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[14, 4, 20], Operations: ['78-58=20']
Exploring Operation: 14+20=34, Resulting Numbers: [4, 34]
Generated Node #0,0,0: 66:[4, 34] Operation: 14+20=34
Exploring Operation: 20-14=6, Resulting Numbers: [4, 6]
Generated Node #0,0,1: 66:[4, 6] Operation: 20-14=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[4, 6], Operations: ['78-58=20', '20-14=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[4, 34], Operations: ['78-58=20', '14+20=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[58, 4, 64], Operations: ['78-14=64']
Exploring Operation: 64-58=6, Resulting Numbers: [4, 6]
Generated Node #0,1,0: 66:[4, 6] Operation: 64-58=6
Exploring Operation: 58+4=62, Resulting Numbers: [64, 62]
Generated Node #0,1,1: 66:[64, 62] Operation: 58+4=62
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[4, 6], Operations: ['78-14=64', '64-58=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[64, 62], Operations: ['78-14=64', '58+4=62']
Exploring Operation: 64-62=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 64+62=126, Resulting Numbers: [126]
126,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
44,
6,
89,
18
] | 57 | [
"44+6=50",
"89+18=107",
"107-50=57"
] | Current State: 57:[44, 6, 89, 18], Operations: []
Exploring Operation: 44+6=50, Resulting Numbers: [89, 18, 50]
Generated Node #2: [89, 18, 50] from Operation: 44+6=50
Current State: 57:[89, 18, 50], Operations: ['44+6=50']
Exploring Operation: 89+18=107, Resulting Numbers: [50, 107]
Generated Node #3: [50, 107] from Operation: 89+18=107
Current State: 57:[50, 107], Operations: ['44+6=50', '89+18=107']
Exploring Operation: 107-50=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[44, 6, 89, 18], Operations: []
Exploring Operation: 89-6=83, Resulting Numbers: [44, 18, 83]
Generated Node #0,0: 57:[44, 18, 83] Operation: 89-6=83
Exploring Operation: 89-18=71, Resulting Numbers: [44, 6, 71]
Generated Node #0,1: 57:[44, 6, 71] Operation: 89-18=71
Exploring Operation: 44+6=50, Resulting Numbers: [89, 18, 50]
Generated Node #0,2: 57:[89, 18, 50] Operation: 44+6=50
Exploring Operation: 89-44=45, Resulting Numbers: [6, 18, 45]
Generated Node #0,3: 57:[6, 18, 45] Operation: 89-44=45
Exploring Operation: 44+18=62, Resulting Numbers: [6, 89, 62]
Generated Node #0,4: 57:[6, 89, 62] Operation: 44+18=62
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[6, 18, 45], Operations: ['89-44=45']
Exploring Operation: 18/6=3, Resulting Numbers: [45, 3]
Generated Node #0,3,0: 57:[45, 3] Operation: 18/6=3
Exploring Operation: 18+45=63, Resulting Numbers: [6, 63]
Generated Node #0,3,1: 57:[6, 63] Operation: 18+45=63
Exploring Operation: 6+18=24, Resulting Numbers: [45, 24]
Generated Node #0,3,2: 57:[45, 24] Operation: 6+18=24
Exploring Operation: 6+45=51, Resulting Numbers: [18, 51]
Generated Node #0,3,3: 57:[18, 51] Operation: 6+45=51
Exploring Operation: 45-18=27, Resulting Numbers: [6, 27]
Generated Node #0,3,4: 57:[6, 27] Operation: 45-18=27
Moving to Node #0,3,3
Current State: 57:[18, 51], Operations: ['89-44=45', '6+45=51']
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,57 unequal: No Solution
Moving to Node #0,3,1
Current State: 57:[6, 63], Operations: ['89-44=45', '18+45=63']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[44, 6, 89, 18], Operations: []
Exploring Operation: 89-44=45, Resulting Numbers: [6, 18, 45]
Generated Node #0,3: 57:[6, 18, 45] Operation: 89-44=45
Moving to Node #0,3
Current State: 57:[6, 18, 45], Operations: ['89-44=45']
Exploring Operation: 18+45=63, Resulting Numbers: [6, 63]
Generated Node #0,3,1: 57:[6, 63] Operation: 18+45=63
Moving to Node #0,3,1
Current State: 57:[6, 63], Operations: ['89-44=45', '18+45=63']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
52,
81,
71,
25
] | 74 | [
"52-25=27",
"81/27=3",
"71+3=74"
] | Current State: 74:[52, 81, 71, 25], Operations: []
Exploring Operation: 52-25=27, Resulting Numbers: [81, 71, 27]
Generated Node #2: [81, 71, 27] from Operation: 52-25=27
Current State: 74:[81, 71, 27], Operations: ['52-25=27']
Exploring Operation: 81/27=3, Resulting Numbers: [71, 3]
Generated Node #3: [71, 3] from Operation: 81/27=3
Current State: 74:[71, 3], Operations: ['52-25=27', '81/27=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[52, 81, 71, 25], Operations: []
Exploring Operation: 71-25=46, Resulting Numbers: [52, 81, 46]
Generated Node #0,0: 74:[52, 81, 46] Operation: 71-25=46
Exploring Operation: 81-71=10, Resulting Numbers: [52, 25, 10]
Generated Node #0,1: 74:[52, 25, 10] Operation: 81-71=10
Exploring Operation: 81-52=29, Resulting Numbers: [71, 25, 29]
Generated Node #0,2: 74:[71, 25, 29] Operation: 81-52=29
Exploring Operation: 52-25=27, Resulting Numbers: [81, 71, 27]
Generated Node #0,3: 74:[81, 71, 27] Operation: 52-25=27
Exploring Operation: 52+25=77, Resulting Numbers: [81, 71, 77]
Generated Node #0,4: 74:[81, 71, 77] Operation: 52+25=77
Moving to Node #0,4
Current State: 74:[81, 71, 77], Operations: ['52+25=77']
Exploring Operation: 81+71=152, Resulting Numbers: [77, 152]
Generated Node #0,4,0: 74:[77, 152] Operation: 81+71=152
Exploring Operation: 81-77=4, Resulting Numbers: [71, 4]
Generated Node #0,4,1: 74:[71, 4] Operation: 81-77=4
Exploring Operation: 77-71=6, Resulting Numbers: [81, 6]
Generated Node #0,4,2: 74:[81, 6] Operation: 77-71=6
Exploring Operation: 81-71=10, Resulting Numbers: [77, 10]
Generated Node #0,4,3: 74:[77, 10] Operation: 81-71=10
Exploring Operation: 71+77=148, Resulting Numbers: [81, 148]
Generated Node #0,4,4: 74:[81, 148] Operation: 71+77=148
Moving to Node #0,3
Current State: 74:[81, 71, 27], Operations: ['52-25=27']
Exploring Operation: 71+27=98, Resulting Numbers: [81, 98]
Generated Node #0,3,0: 74:[81, 98] Operation: 71+27=98
Exploring Operation: 81/27=3, Resulting Numbers: [71, 3]
Generated Node #0,3,1: 74:[71, 3] Operation: 81/27=3
Exploring Operation: 81-71=10, Resulting Numbers: [27, 10]
Generated Node #0,3,2: 74:[27, 10] Operation: 81-71=10
Exploring Operation: 81-27=54, Resulting Numbers: [71, 54]
Generated Node #0,3,3: 74:[71, 54] Operation: 81-27=54
Exploring Operation: 71-27=44, Resulting Numbers: [81, 44]
Generated Node #0,3,4: 74:[81, 44] Operation: 71-27=44
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 74:[71, 3], Operations: ['52-25=27', '81/27=3']
Exploring Operation: 71*3=213, Resulting Numbers: [213]
213,74 unequal: No Solution
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[52, 81, 71, 25], Operations: []
Exploring Operation: 52-25=27, Resulting Numbers: [81, 71, 27]
Generated Node #0,3: 74:[81, 71, 27] Operation: 52-25=27
Moving to Node #0,3
Current State: 74:[81, 71, 27], Operations: ['52-25=27']
Exploring Operation: 81/27=3, Resulting Numbers: [71, 3]
Generated Node #0,3,1: 74:[71, 3] Operation: 81/27=3
Moving to Node #0,3,1
Current State: 74:[71, 3], Operations: ['52-25=27', '81/27=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
97,
57,
50,
21
] | 83 | [
"97+57=154",
"50+21=71",
"154-71=83"
] | Current State: 83:[97, 57, 50, 21], Operations: []
Exploring Operation: 97+57=154, Resulting Numbers: [50, 21, 154]
Generated Node #2: [50, 21, 154] from Operation: 97+57=154
Current State: 83:[50, 21, 154], Operations: ['97+57=154']
Exploring Operation: 50+21=71, Resulting Numbers: [154, 71]
Generated Node #3: [154, 71] from Operation: 50+21=71
Current State: 83:[154, 71], Operations: ['97+57=154', '50+21=71']
Exploring Operation: 154-71=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[97, 57, 50, 21], Operations: []
Exploring Operation: 57+21=78, Resulting Numbers: [97, 50, 78]
Generated Node #0,0: 83:[97, 50, 78] Operation: 57+21=78
Exploring Operation: 50+21=71, Resulting Numbers: [97, 57, 71]
Generated Node #0,1: 83:[97, 57, 71] Operation: 50+21=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[97, 50, 78], Operations: ['57+21=78']
Exploring Operation: 97-50=47, Resulting Numbers: [78, 47]
Generated Node #0,0,0: 83:[78, 47] Operation: 97-50=47
Exploring Operation: 50+78=128, Resulting Numbers: [97, 128]
Generated Node #0,0,1: 83:[97, 128] Operation: 50+78=128
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 83:[78, 47], Operations: ['57+21=78', '97-50=47']
Exploring Operation: 78-47=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 78+47=125, Resulting Numbers: [125]
125,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[97, 128], Operations: ['57+21=78', '50+78=128']
Exploring Operation: 128-97=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 97+128=225, Resulting Numbers: [225]
225,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[97, 57, 71], Operations: ['50+21=71']
Exploring Operation: 57+71=128, Resulting Numbers: [97, 128]
Generated Node #0,1,0: 83:[97, 128] Operation: 57+71=128
Exploring Operation: 97-57=40, Resulting Numbers: [71, 40]
Generated Node #0,1,1: 83:[71, 40] Operation: 97-57=40
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 83:[71, 40], Operations: ['50+21=71', '97-57=40']
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 71+40=111, Resulting Numbers: [111]
111,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[97, 128], Operations: ['50+21=71', '57+71=128']
Exploring Operation: 128-97=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 97+128=225, Resulting Numbers: [225]
225,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
20,
29,
35,
46
] | 11 | [
"20+46=66",
"35-29=6",
"66/6=11"
] | Current State: 11:[20, 29, 35, 46], Operations: []
Exploring Operation: 20+46=66, Resulting Numbers: [29, 35, 66]
Generated Node #2: [29, 35, 66] from Operation: 20+46=66
Current State: 11:[29, 35, 66], Operations: ['20+46=66']
Exploring Operation: 35-29=6, Resulting Numbers: [66, 6]
Generated Node #3: [66, 6] from Operation: 35-29=6
Current State: 11:[66, 6], Operations: ['20+46=66', '35-29=6']
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[20, 29, 35, 46], Operations: []
Exploring Operation: 35-20=15, Resulting Numbers: [29, 46, 15]
Generated Node #0,0: 11:[29, 46, 15] Operation: 35-20=15
Exploring Operation: 46-35=11, Resulting Numbers: [20, 29, 11]
Generated Node #0,1: 11:[20, 29, 11] Operation: 46-35=11
Exploring Operation: 46-29=17, Resulting Numbers: [20, 35, 17]
Generated Node #0,2: 11:[20, 35, 17] Operation: 46-29=17
Exploring Operation: 35-29=6, Resulting Numbers: [20, 46, 6]
Generated Node #0,3: 11:[20, 46, 6] Operation: 35-29=6
Exploring Operation: 46-20=26, Resulting Numbers: [29, 35, 26]
Generated Node #0,4: 11:[29, 35, 26] Operation: 46-20=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[20, 29, 11], Operations: ['46-35=11']
Exploring Operation: 20-11=9, Resulting Numbers: [29, 9]
Generated Node #0,1,0: 11:[29, 9] Operation: 20-11=9
Exploring Operation: 29-20=9, Resulting Numbers: [11, 9]
Generated Node #0,1,1: 11:[11, 9] Operation: 29-20=9
Exploring Operation: 20+11=31, Resulting Numbers: [29, 31]
Generated Node #0,1,2: 11:[29, 31] Operation: 20+11=31
Exploring Operation: 29-11=18, Resulting Numbers: [20, 18]
Generated Node #0,1,3: 11:[20, 18] Operation: 29-11=18
Exploring Operation: 20+29=49, Resulting Numbers: [11, 49]
Generated Node #0,1,4: 11:[11, 49] Operation: 20+29=49
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 11:[11, 9], Operations: ['46-35=11', '29-20=9']
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,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:[20, 18], Operations: ['46-35=11', '29-11=18']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,11 unequal: No Solution
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,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:[29, 9], Operations: ['46-35=11', '20-11=9']
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,11 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,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,2
Current State: 11:[29, 31], Operations: ['46-35=11', '20+11=31']
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 29*31=899, Resulting Numbers: [899]
899,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,4
Current State: 11:[11, 49], Operations: ['46-35=11', '20+29=49']
Exploring Operation: 11*49=539, Resulting Numbers: [539]
539,11 unequal: No Solution
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 11+49=60, Resulting Numbers: [60]
60,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:[20, 35, 17], Operations: ['46-29=17']
Exploring Operation: 20+17=37, Resulting Numbers: [35, 37]
Generated Node #0,2,0: 11:[35, 37] Operation: 20+17=37
Exploring Operation: 35-20=15, Resulting Numbers: [17, 15]
Generated Node #0,2,1: 11:[17, 15] Operation: 35-20=15
Exploring Operation: 20-17=3, Resulting Numbers: [35, 3]
Generated Node #0,2,2: 11:[35, 3] Operation: 20-17=3
Exploring Operation: 35-17=18, Resulting Numbers: [20, 18]
Generated Node #0,2,3: 11:[20, 18] Operation: 35-17=18
Exploring Operation: 20+35=55, Resulting Numbers: [17, 55]
Generated Node #0,2,4: 11:[17, 55] Operation: 20+35=55
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 11:[17, 15], Operations: ['46-29=17', '35-20=15']
Exploring Operation: 17*15=255, Resulting Numbers: [255]
255,11 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,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,2,3
Current State: 11:[20, 18], Operations: ['46-29=17', '35-17=18']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,11 unequal: No Solution
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,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,2,2
Current State: 11:[35, 3], Operations: ['46-29=17', '20-17=3']
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,11 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,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,2,0
Current State: 11:[35, 37], Operations: ['46-29=17', '20+17=37']
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 35*37=1295, Resulting Numbers: [1295]
1295,11 unequal: No Solution
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,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,2,4
Current State: 11:[17, 55], Operations: ['46-29=17', '20+35=55']
Exploring Operation: 17*55=935, Resulting Numbers: [935]
935,11 unequal: No Solution
Exploring Operation: 17+55=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,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,3
Current State: 11:[20, 46, 6], Operations: ['35-29=6']
Exploring Operation: 46+6=52, Resulting Numbers: [20, 52]
Generated Node #0,3,0: 11:[20, 52] Operation: 46+6=52
Exploring Operation: 46-6=40, Resulting Numbers: [20, 40]
Generated Node #0,3,1: 11:[20, 40] Operation: 46-6=40
Exploring Operation: 20-6=14, Resulting Numbers: [46, 14]
Generated Node #0,3,2: 11:[46, 14] Operation: 20-6=14
Exploring Operation: 46-20=26, Resulting Numbers: [6, 26]
Generated Node #0,3,3: 11:[6, 26] Operation: 46-20=26
Exploring Operation: 20+6=26, Resulting Numbers: [46, 26]
Generated Node #0,3,4: 11:[46, 26] Operation: 20+6=26
Moving to Node #0,3,3
Current State: 11:[6, 26], Operations: ['35-29=6', '46-20=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[46, 14], Operations: ['35-29=6', '20-6=14']
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 46+14=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 46*14=644, Resulting Numbers: [644]
644,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[20, 40], Operations: ['35-29=6', '46-6=40']
Exploring Operation: 20*40=800, Resulting Numbers: [800]
800,11 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 20+40=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[20, 52], Operations: ['35-29=6', '46+6=52']
Exploring Operation: 20*52=1040, Resulting Numbers: [1040]
1040,11 unequal: No Solution
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 20+52=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Moving to Node #0,3,4
Current State: 11:[46, 26], Operations: ['35-29=6', '20+6=26']
Exploring Operation: 46*26=1196, Resulting Numbers: [1196]
1196,11 unequal: No Solution
Exploring Operation: 46+26=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Exploring Operation: 46-26=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,0
Current State: 11:[29, 46, 15], Operations: ['35-20=15']
Exploring Operation: 46-15=31, Resulting Numbers: [29, 31]
Generated Node #0,0,0: 11:[29, 31] Operation: 46-15=31
Exploring Operation: 46-29=17, Resulting Numbers: [15, 17]
Generated Node #0,0,1: 11:[15, 17] Operation: 46-29=17
Exploring Operation: 29+15=44, Resulting Numbers: [46, 44]
Generated Node #0,0,2: 11:[46, 44] Operation: 29+15=44
Exploring Operation: 29-15=14, Resulting Numbers: [46, 14]
Generated Node #0,0,3: 11:[46, 14] Operation: 29-15=14
Exploring Operation: 29+46=75, Resulting Numbers: [15, 75]
Generated Node #0,0,4: 11:[15, 75] Operation: 29+46=75
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 11:[15, 17], Operations: ['35-20=15', '46-29=17']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 15*17=255, Resulting Numbers: [255]
255,11 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,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,0,0
Current State: 11:[29, 31], Operations: ['35-20=15', '46-15=31']
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 29*31=899, Resulting Numbers: [899]
899,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,0,3
Current State: 11:[46, 14], Operations: ['35-20=15', '29-15=14']
Exploring Operation: 46*14=644, Resulting Numbers: [644]
644,11 unequal: No Solution
Exploring Operation: 46+14=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,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,0,2
Current State: 11:[46, 44], Operations: ['35-20=15', '29+15=44']
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Exploring Operation: 46*44=2024, Resulting Numbers: [2024]
2024,11 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,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,0,4
Current State: 11:[15, 75], Operations: ['35-20=15', '29+46=75']
Exploring Operation: 15*75=1125, Resulting Numbers: [1125]
1125,11 unequal: No Solution
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 75/15=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 15+75=90, Resulting Numbers: [90]
90,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,4
Current State: 11:[29, 35, 26], Operations: ['46-20=26']
Exploring Operation: 35-29=6, Resulting Numbers: [26, 6]
Generated Node #0,4,0: 11:[26, 6] Operation: 35-29=6
Exploring Operation: 35-26=9, Resulting Numbers: [29, 9]
Generated Node #0,4,1: 11:[29, 9] Operation: 35-26=9
Exploring Operation: 29+26=55, Resulting Numbers: [35, 55]
Generated Node #0,4,2: 11:[35, 55] Operation: 29+26=55
Exploring Operation: 29-26=3, Resulting Numbers: [35, 3]
Generated Node #0,4,3: 11:[35, 3] Operation: 29-26=3
Exploring Operation: 29+35=64, Resulting Numbers: [26, 64]
Generated Node #0,4,4: 11:[26, 64] Operation: 29+35=64
Moving to Node #0,4,0
Current State: 11:[26, 6], Operations: ['46-20=26', '35-29=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,11 unequal: No Solution
Moving to Node #0,4,1
Current State: 11:[29, 9], Operations: ['46-20=26', '35-26=9']
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,11 unequal: No Solution
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Moving to Node #0,4,3
Current State: 11:[35, 3], Operations: ['46-20=26', '29-26=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,11 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Moving to Node #0,4,2
Current State: 11:[35, 55], Operations: ['46-20=26', '29+26=55']
Exploring Operation: 35*55=1925, Resulting Numbers: [1925]
1925,11 unequal: No Solution
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 35+55=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Moving to Node #0,4,4
Current State: 11:[26, 64], Operations: ['46-20=26', '29+35=64']
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 26*64=1664, Resulting Numbers: [1664]
1664,11 unequal: No Solution
Exploring Operation: 26+64=90, Resulting Numbers: [90]
90,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
26,
82,
90,
53
] | 93 | [
"82-26=56",
"90-53=37",
"56+37=93"
] | Current State: 93:[26, 82, 90, 53], Operations: []
Exploring Operation: 82-26=56, Resulting Numbers: [90, 53, 56]
Generated Node #2: [90, 53, 56] from Operation: 82-26=56
Current State: 93:[90, 53, 56], Operations: ['82-26=56']
Exploring Operation: 90-53=37, Resulting Numbers: [56, 37]
Generated Node #3: [56, 37] from Operation: 90-53=37
Current State: 93:[56, 37], Operations: ['82-26=56', '90-53=37']
Exploring Operation: 56+37=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[26, 82, 90, 53], Operations: []
Exploring Operation: 53-26=27, Resulting Numbers: [82, 90, 27]
Generated Node #0,0: 93:[82, 90, 27] Operation: 53-26=27
Exploring Operation: 82-53=29, Resulting Numbers: [26, 90, 29]
Generated Node #0,1: 93:[26, 90, 29] Operation: 82-53=29
Exploring Operation: 90-53=37, Resulting Numbers: [26, 82, 37]
Generated Node #0,2: 93:[26, 82, 37] Operation: 90-53=37
Moving to Node #0,1
Current State: 93:[26, 90, 29], Operations: ['82-53=29']
Exploring Operation: 26+90=116, Resulting Numbers: [29, 116]
Generated Node #0,1,0: 93:[29, 116] Operation: 26+90=116
Exploring Operation: 29-26=3, Resulting Numbers: [90, 3]
Generated Node #0,1,1: 93:[90, 3] Operation: 29-26=3
Exploring Operation: 26+29=55, Resulting Numbers: [90, 55]
Generated Node #0,1,2: 93:[90, 55] Operation: 26+29=55
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[90, 3], Operations: ['82-53=29', '29-26=3']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,93 unequal: No Solution
Exploring Operation: 90+3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[26, 82, 90, 53], Operations: []
Exploring Operation: 82-53=29, Resulting Numbers: [26, 90, 29]
Generated Node #0,1: 93:[26, 90, 29] Operation: 82-53=29
Moving to Node #0,1
Current State: 93:[26, 90, 29], Operations: ['82-53=29']
Exploring Operation: 29-26=3, Resulting Numbers: [90, 3]
Generated Node #0,1,1: 93:[90, 3] Operation: 29-26=3
Moving to Node #0,1,1
Current State: 93:[90, 3], Operations: ['82-53=29', '29-26=3']
Exploring Operation: 90+3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
88,
73,
47,
52
] | 84 | [
"88-73=15",
"47+52=99",
"99-15=84"
] | Current State: 84:[88, 73, 47, 52], Operations: []
Exploring Operation: 88-73=15, Resulting Numbers: [47, 52, 15]
Generated Node #2: [47, 52, 15] from Operation: 88-73=15
Current State: 84:[47, 52, 15], Operations: ['88-73=15']
Exploring Operation: 47+52=99, Resulting Numbers: [15, 99]
Generated Node #3: [15, 99] from Operation: 47+52=99
Current State: 84:[15, 99], Operations: ['88-73=15', '47+52=99']
Exploring Operation: 99-15=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[88, 73, 47, 52], Operations: []
Exploring Operation: 73-52=21, Resulting Numbers: [88, 47, 21]
Generated Node #0,0: 84:[88, 47, 21] Operation: 73-52=21
Moving to Node #0,0
Current State: 84:[88, 47, 21], Operations: ['73-52=21']
Exploring Operation: 88-47=41, Resulting Numbers: [21, 41]
Generated Node #0,0,0: 84:[21, 41] Operation: 88-47=41
Moving to Node #0,0,0
Current State: 84:[21, 41], Operations: ['73-52=21', '88-47=41']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,84 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
20,
75,
3,
92
] | 73 | [
"75-20=55",
"3*55=165",
"165-92=73"
] | Current State: 73:[20, 75, 3, 92], Operations: []
Exploring Operation: 75-20=55, Resulting Numbers: [3, 92, 55]
Generated Node #2: [3, 92, 55] from Operation: 75-20=55
Current State: 73:[3, 92, 55], Operations: ['75-20=55']
Exploring Operation: 3*55=165, Resulting Numbers: [92, 165]
Generated Node #3: [92, 165] from Operation: 3*55=165
Current State: 73:[92, 165], Operations: ['75-20=55', '3*55=165']
Exploring Operation: 165-92=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[20, 75, 3, 92], Operations: []
Exploring Operation: 92-3=89, Resulting Numbers: [20, 75, 89]
Generated Node #0,0: 73:[20, 75, 89] Operation: 92-3=89
Exploring Operation: 20*3=60, Resulting Numbers: [75, 92, 60]
Generated Node #0,1: 73:[75, 92, 60] Operation: 20*3=60
Exploring Operation: 75-3=72, Resulting Numbers: [20, 92, 72]
Generated Node #0,2: 73:[20, 92, 72] Operation: 75-3=72
Exploring Operation: 92-20=72, Resulting Numbers: [75, 3, 72]
Generated Node #0,3: 73:[75, 3, 72] Operation: 92-20=72
Exploring Operation: 20+3=23, Resulting Numbers: [75, 92, 23]
Generated Node #0,4: 73:[75, 92, 23] Operation: 20+3=23
Moving to Node #0,1
Current State: 73:[75, 92, 60], Operations: ['20*3=60']
Exploring Operation: 92-75=17, Resulting Numbers: [60, 17]
Generated Node #0,1,0: 73:[60, 17] Operation: 92-75=17
Exploring Operation: 92-60=32, Resulting Numbers: [75, 32]
Generated Node #0,1,1: 73:[75, 32] Operation: 92-60=32
Exploring Operation: 92+60=152, Resulting Numbers: [75, 152]
Generated Node #0,1,2: 73:[75, 152] Operation: 92+60=152
Exploring Operation: 75-60=15, Resulting Numbers: [92, 15]
Generated Node #0,1,3: 73:[92, 15] Operation: 75-60=15
Exploring Operation: 75+60=135, Resulting Numbers: [92, 135]
Generated Node #0,1,4: 73:[92, 135] Operation: 75+60=135
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[75, 32], Operations: ['20*3=60', '92-60=32']
Exploring Operation: 75+32=107, Resulting Numbers: [107]
107,73 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 75*32=2400, Resulting Numbers: [2400]
2400,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[60, 17], Operations: ['20*3=60', '92-75=17']
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 60*17=1020, Resulting Numbers: [1020]
1020,73 unequal: No Solution
Exploring Operation: 60+17=77, Resulting Numbers: [77]
77,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 73:[92, 15], Operations: ['20*3=60', '75-60=15']
Exploring Operation: 92+15=107, Resulting Numbers: [107]
107,73 unequal: No Solution
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,73 unequal: No Solution
Exploring Operation: 92*15=1380, Resulting Numbers: [1380]
1380,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[75, 152], Operations: ['20*3=60', '92+60=152']
Exploring Operation: 75+152=227, Resulting Numbers: [227]
227,73 unequal: No Solution
Exploring Operation: 152-75=77, Resulting Numbers: [77]
77,73 unequal: No Solution
Exploring Operation: 75*152=11400, Resulting Numbers: [11400]
11400,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 73:[92, 135], Operations: ['20*3=60', '75+60=135']
Exploring Operation: 92+135=227, Resulting Numbers: [227]
227,73 unequal: No Solution
Exploring Operation: 92*135=12420, Resulting Numbers: [12420]
12420,73 unequal: No Solution
Exploring Operation: 135-92=43, Resulting Numbers: [43]
43,73 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: 73:[75, 92, 23], Operations: ['20+3=23']
Exploring Operation: 92/23=4, Resulting Numbers: [75, 4]
Generated Node #0,4,0: 73:[75, 4] Operation: 92/23=4
Exploring Operation: 75-23=52, Resulting Numbers: [92, 52]
Generated Node #0,4,1: 73:[92, 52] Operation: 75-23=52
Exploring Operation: 92+23=115, Resulting Numbers: [75, 115]
Generated Node #0,4,2: 73:[75, 115] Operation: 92+23=115
Exploring Operation: 92-23=69, Resulting Numbers: [75, 69]
Generated Node #0,4,3: 73:[75, 69] Operation: 92-23=69
Exploring Operation: 75+23=98, Resulting Numbers: [92, 98]
Generated Node #0,4,4: 73:[92, 98] Operation: 75+23=98
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 73:[75, 69], Operations: ['20+3=23', '92-23=69']
Exploring Operation: 75+69=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 75-69=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 75*69=5175, Resulting Numbers: [5175]
5175,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,4,1
Current State: 73:[92, 52], Operations: ['20+3=23', '75-23=52']
Exploring Operation: 92+52=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 92-52=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 92*52=4784, Resulting Numbers: [4784]
4784,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,4,2
Current State: 73:[75, 115], Operations: ['20+3=23', '92+23=115']
Exploring Operation: 115-75=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 75*115=8625, Resulting Numbers: [8625]
8625,73 unequal: No Solution
Exploring Operation: 75+115=190, Resulting Numbers: [190]
190,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,4,4
Current State: 73:[92, 98], Operations: ['20+3=23', '75+23=98']
Exploring Operation: 98-92=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 92*98=9016, Resulting Numbers: [9016]
9016,73 unequal: No Solution
Exploring Operation: 92+98=190, Resulting Numbers: [190]
190,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,4,0
Current State: 73:[75, 4], Operations: ['20+3=23', '92/23=4']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,73 unequal: No Solution
Exploring Operation: 75*4=300, Resulting Numbers: [300]
300,73 unequal: No Solution
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,73 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: 73:[20, 75, 89], Operations: ['92-3=89']
Exploring Operation: 75-20=55, Resulting Numbers: [89, 55]
Generated Node #0,0,0: 73:[89, 55] Operation: 75-20=55
Exploring Operation: 89-20=69, Resulting Numbers: [75, 69]
Generated Node #0,0,1: 73:[75, 69] Operation: 89-20=69
Exploring Operation: 20+75=95, Resulting Numbers: [89, 95]
Generated Node #0,0,2: 73:[89, 95] Operation: 20+75=95
Exploring Operation: 20+89=109, Resulting Numbers: [75, 109]
Generated Node #0,0,3: 73:[75, 109] Operation: 20+89=109
Exploring Operation: 89-75=14, Resulting Numbers: [20, 14]
Generated Node #0,0,4: 73:[20, 14] Operation: 89-75=14
Moving to Node #0,2
Current State: 73:[20, 92, 72], Operations: ['75-3=72']
Exploring Operation: 20+72=92, Resulting Numbers: [92, 92]
Generated Node #0,2,0: 73:[92, 92] Operation: 20+72=92
Exploring Operation: 92-72=20, Resulting Numbers: [20, 20]
Generated Node #0,2,1: 73:[20, 20] Operation: 92-72=20
Exploring Operation: 20+92=112, Resulting Numbers: [72, 112]
Generated Node #0,2,2: 73:[72, 112] Operation: 20+92=112
Exploring Operation: 92-20=72, Resulting Numbers: [72, 72]
Generated Node #0,2,3: 73:[72, 72] Operation: 92-20=72
Exploring Operation: 72-20=52, Resulting Numbers: [92, 52]
Generated Node #0,2,4: 73:[92, 52] Operation: 72-20=52
Moving to Node #0,3
Current State: 73:[75, 3, 72], Operations: ['92-20=72']
Exploring Operation: 72-3=69, Resulting Numbers: [75, 69]
Generated Node #0,3,0: 73:[75, 69] Operation: 72-3=69
Exploring Operation: 75+3=78, Resulting Numbers: [72, 78]
Generated Node #0,3,1: 73:[72, 78] Operation: 75+3=78
Exploring Operation: 75/3=25, Resulting Numbers: [72, 25]
Generated Node #0,3,2: 73:[72, 25] Operation: 75/3=25
Exploring Operation: 75-3=72, Resulting Numbers: [72, 72]
Generated Node #0,3,3: 73:[72, 72] Operation: 75-3=72
Exploring Operation: 3+72=75, Resulting Numbers: [75, 75]
Generated Node #0,3,4: 73:[75, 75] Operation: 3+72=75
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 73:[72, 72], Operations: ['92-20=72', '75-3=72']
Exploring Operation: 72/72=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 72-72=0, Resulting Numbers: [0]
0,73 unequal: No Solution
Exploring Operation: 72+72=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 72*72=5184, Resulting Numbers: [5184]
5184,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,4
Current State: 73:[75, 75], Operations: ['92-20=72', '3+72=75']
Exploring Operation: 75+75=150, Resulting Numbers: [150]
150,73 unequal: No Solution
Exploring Operation: 75/75=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 75-75=0, Resulting Numbers: [0]
0,73 unequal: No Solution
Exploring Operation: 75*75=5625, Resulting Numbers: [5625]
5625,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:[75, 69], Operations: ['92-20=72', '72-3=69']
Exploring Operation: 75-69=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 75*69=5175, Resulting Numbers: [5175]
5175,73 unequal: No Solution
Exploring Operation: 75+69=144, Resulting Numbers: [144]
144,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:[72, 78], Operations: ['92-20=72', '75+3=78']
Exploring Operation: 72+78=150, Resulting Numbers: [150]
150,73 unequal: No Solution
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 72*78=5616, Resulting Numbers: [5616]
5616,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 73:[72, 25], Operations: ['92-20=72', '75/3=25']
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 72+25=97, Resulting Numbers: [97]
97,73 unequal: No Solution
Exploring Operation: 72*25=1800, Resulting Numbers: [1800]
1800,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 73:[72, 72], Operations: ['75-3=72', '92-20=72']
Exploring Operation: 72-72=0, Resulting Numbers: [0]
0,73 unequal: No Solution
Exploring Operation: 72*72=5184, Resulting Numbers: [5184]
5184,73 unequal: No Solution
Exploring Operation: 72/72=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 72+72=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[75, 69], Operations: ['92-3=89', '89-20=69']
Exploring Operation: 75*69=5175, Resulting Numbers: [5175]
5175,73 unequal: No Solution
Exploring Operation: 75-69=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 75+69=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[89, 55], Operations: ['92-3=89', '75-20=55']
Exploring Operation: 89+55=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 89*55=4895, Resulting Numbers: [4895]
4895,73 unequal: No Solution
Exploring Operation: 89-55=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[92, 92], Operations: ['75-3=72', '20+72=92']
Exploring Operation: 92-92=0, Resulting Numbers: [0]
0,73 unequal: No Solution
Exploring Operation: 92*92=8464, Resulting Numbers: [8464]
8464,73 unequal: No Solution
Exploring Operation: 92/92=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 92+92=184, Resulting Numbers: [184]
184,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[89, 95], Operations: ['92-3=89', '20+75=95']
Exploring Operation: 95-89=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 89+95=184, Resulting Numbers: [184]
184,73 unequal: No Solution
Exploring Operation: 89*95=8455, Resulting Numbers: [8455]
8455,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[75, 109], Operations: ['92-3=89', '20+89=109']
Exploring Operation: 75*109=8175, Resulting Numbers: [8175]
8175,73 unequal: No Solution
Exploring Operation: 75+109=184, Resulting Numbers: [184]
184,73 unequal: No Solution
Exploring Operation: 109-75=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[92, 52], Operations: ['75-3=72', '72-20=52']
Exploring Operation: 92-52=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 92+52=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 92*52=4784, Resulting Numbers: [4784]
4784,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[72, 112], Operations: ['75-3=72', '20+92=112']
Exploring Operation: 72+112=184, Resulting Numbers: [184]
184,73 unequal: No Solution
Exploring Operation: 72*112=8064, Resulting Numbers: [8064]
8064,73 unequal: No Solution
Exploring Operation: 112-72=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[20, 20], Operations: ['75-3=72', '92-72=20']
Exploring Operation: 20-20=0, Resulting Numbers: [0]
0,73 unequal: No Solution
Exploring Operation: 20/20=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 20+20=40, Resulting Numbers: [40]
40,73 unequal: No Solution
Exploring Operation: 20*20=400, Resulting Numbers: [400]
400,73 unequal: No Solution
Moving to Node #0,0,4
Current State: 73:[20, 14], Operations: ['92-3=89', '89-75=14']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,73 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
45,
70,
14,
11
] | 75 | [
"70-45=25",
"14-11=3",
"25*3=75"
] | Current State: 75:[45, 70, 14, 11], Operations: []
Exploring Operation: 70-45=25, Resulting Numbers: [14, 11, 25]
Generated Node #2: [14, 11, 25] from Operation: 70-45=25
Current State: 75:[14, 11, 25], Operations: ['70-45=25']
Exploring Operation: 14-11=3, Resulting Numbers: [25, 3]
Generated Node #3: [25, 3] from Operation: 14-11=3
Current State: 75:[25, 3], Operations: ['70-45=25', '14-11=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[45, 70, 14, 11], Operations: []
Exploring Operation: 70-45=25, Resulting Numbers: [14, 11, 25]
Generated Node #0,0: 75:[14, 11, 25] Operation: 70-45=25
Moving to Node #0,0
Current State: 75:[14, 11, 25], Operations: ['70-45=25']
Exploring Operation: 14+11=25, Resulting Numbers: [25, 25]
Generated Node #0,0,0: 75:[25, 25] Operation: 14+11=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[25, 25], Operations: ['70-45=25', '14+11=25']
Exploring Operation: 25/25=1, Resulting Numbers: [1]
1,75 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 |
[
37,
49,
5,
83
] | 15 | [
"37+49=86",
"86-83=3",
"5*3=15"
] | Current State: 15:[37, 49, 5, 83], Operations: []
Exploring Operation: 37+49=86, Resulting Numbers: [5, 83, 86]
Generated Node #2: [5, 83, 86] from Operation: 37+49=86
Current State: 15:[5, 83, 86], Operations: ['37+49=86']
Exploring Operation: 86-83=3, Resulting Numbers: [5, 3]
Generated Node #3: [5, 3] from Operation: 86-83=3
Current State: 15:[5, 3], Operations: ['37+49=86', '86-83=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[37, 49, 5, 83], Operations: []
Exploring Operation: 83-49=34, Resulting Numbers: [37, 5, 34]
Generated Node #0,0: 15:[37, 5, 34] Operation: 83-49=34
Moving to Node #0,0
Current State: 15:[37, 5, 34], Operations: ['83-49=34']
Exploring Operation: 37-34=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 15:[5, 3] Operation: 37-34=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[5, 3], Operations: ['83-49=34', '37-34=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[37, 49, 5, 83], Operations: []
Exploring Operation: 83-49=34, Resulting Numbers: [37, 5, 34]
Generated Node #0,0: 15:[37, 5, 34] Operation: 83-49=34
Moving to Node #0,0
Current State: 15:[37, 5, 34], Operations: ['83-49=34']
Exploring Operation: 37-34=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 15:[5, 3] Operation: 37-34=3
Moving to Node #0,0,0
Current State: 15:[5, 3], Operations: ['83-49=34', '37-34=3']
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
85,
34,
85,
36
] | 31 | [
"85+85=170",
"170/34=5",
"36-5=31"
] | Current State: 31:[85, 34, 85, 36], Operations: []
Exploring Operation: 85+85=170, Resulting Numbers: [34, 36, 170]
Generated Node #2: [34, 36, 170] from Operation: 85+85=170
Current State: 31:[34, 36, 170], Operations: ['85+85=170']
Exploring Operation: 170/34=5, Resulting Numbers: [36, 5]
Generated Node #3: [36, 5] from Operation: 170/34=5
Current State: 31:[36, 5], Operations: ['85+85=170', '170/34=5']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[85, 34, 85, 36], Operations: []
Exploring Operation: 85-85=0, Resulting Numbers: [34, 36, 0]
Generated Node #0,0: 31:[34, 36, 0] Operation: 85-85=0
Exploring Operation: 85-36=49, Resulting Numbers: [34, 85, 49]
Generated Node #0,1: 31:[34, 85, 49] Operation: 85-36=49
Exploring Operation: 85/85=1, Resulting Numbers: [34, 36, 1]
Generated Node #0,2: 31:[34, 36, 1] Operation: 85/85=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 31:[34, 36, 1], Operations: ['85/85=1']
Exploring Operation: 36-1=35, Resulting Numbers: [34, 35]
Generated Node #0,2,0: 31:[34, 35] Operation: 36-1=35
Exploring Operation: 34*1=34, Resulting Numbers: [36, 34]
Generated Node #0,2,1: 31:[36, 34] Operation: 34*1=34
Exploring Operation: 34-1=33, Resulting Numbers: [36, 33]
Generated Node #0,2,2: 31:[36, 33] Operation: 34-1=33
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 31:[34, 35], Operations: ['85/85=1', '36-1=35']
Exploring Operation: 34*35=1190, Resulting Numbers: [1190]
1190,31 unequal: No Solution
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,31 unequal: No Solution
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,31 unequal: No Solution
No 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: 31:[36, 33], Operations: ['85/85=1', '34-1=33']
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,31 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 36*33=1188, Resulting Numbers: [1188]
1188,31 unequal: No Solution
No 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: 31:[36, 34], Operations: ['85/85=1', '34*1=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,31 unequal: No Solution
Exploring Operation: 36*34=1224, Resulting Numbers: [1224]
1224,31 unequal: No Solution
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,31 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: 31:[34, 36, 0], Operations: ['85-85=0']
Exploring Operation: 36+0=36, Resulting Numbers: [34, 36]
Generated Node #0,0,0: 31:[34, 36] Operation: 36+0=36
Exploring Operation: 34+0=34, Resulting Numbers: [36, 34]
Generated Node #0,0,1: 31:[36, 34] Operation: 34+0=34
Exploring Operation: 34-0=34, Resulting Numbers: [36, 34]
Generated Node #0,0,2: 31:[36, 34] Operation: 34-0=34
Moving to Node #0,0,0
Current State: 31:[34, 36], Operations: ['85-85=0', '36+0=36']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,31 unequal: No Solution
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[36, 34], Operations: ['85-85=0', '34+0=34']
Exploring Operation: 36*34=1224, Resulting Numbers: [1224]
1224,31 unequal: No Solution
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,31 unequal: No Solution
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[36, 34], Operations: ['85-85=0', '34-0=34']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 36*34=1224, Resulting Numbers: [1224]
1224,31 unequal: No Solution
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,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,1
Current State: 31:[34, 85, 49], Operations: ['85-36=49']
Exploring Operation: 85-49=36, Resulting Numbers: [34, 36]
Generated Node #0,1,0: 31:[34, 36] Operation: 85-49=36
Exploring Operation: 49-34=15, Resulting Numbers: [85, 15]
Generated Node #0,1,1: 31:[85, 15] Operation: 49-34=15
Exploring Operation: 85-34=51, Resulting Numbers: [49, 51]
Generated Node #0,1,2: 31:[49, 51] Operation: 85-34=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[34, 36], Operations: ['85-36=49', '85-49=36']
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,31 unequal: No Solution
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,31 unequal: No Solution
No 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: 31:[49, 51], Operations: ['85-36=49', '85-34=51']
Exploring Operation: 49+51=100, Resulting Numbers: [100]
100,31 unequal: No Solution
Exploring Operation: 49*51=2499, Resulting Numbers: [2499]
2499,31 unequal: No Solution
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,31 unequal: No Solution
No 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: 31:[85, 15], Operations: ['85-36=49', '49-34=15']
Exploring Operation: 85+15=100, Resulting Numbers: [100]
100,31 unequal: No Solution
Exploring Operation: 85-15=70, Resulting Numbers: [70]
70,31 unequal: No Solution
Exploring Operation: 85*15=1275, Resulting Numbers: [1275]
1275,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
3,
3,
40,
14
] | 60 | [
"3+3=6",
"40+14=54",
"6+54=60"
] | Current State: 60:[3, 3, 40, 14], Operations: []
Exploring Operation: 3+3=6, Resulting Numbers: [40, 14, 6]
Generated Node #2: [40, 14, 6] from Operation: 3+3=6
Current State: 60:[40, 14, 6], Operations: ['3+3=6']
Exploring Operation: 40+14=54, Resulting Numbers: [6, 54]
Generated Node #3: [6, 54] from Operation: 40+14=54
Current State: 60:[6, 54], Operations: ['3+3=6', '40+14=54']
Exploring Operation: 6+54=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[3, 3, 40, 14], Operations: []
Exploring Operation: 40+14=54, Resulting Numbers: [3, 3, 54]
Generated Node #0,0: 60:[3, 3, 54] Operation: 40+14=54
Exploring Operation: 40-14=26, Resulting Numbers: [3, 3, 26]
Generated Node #0,1: 60:[3, 3, 26] Operation: 40-14=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[3, 3, 26], Operations: ['40-14=26']
Exploring Operation: 3+26=29, Resulting Numbers: [3, 29]
Generated Node #0,1,0: 60:[3, 29] Operation: 3+26=29
Exploring Operation: 3+26=29, Resulting Numbers: [3, 29]
Generated Node #0,1,1: 60:[3, 29] Operation: 3+26=29
Moving to Node #0,1,0
Current State: 60:[3, 29], Operations: ['40-14=26', '3+26=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[3, 29], Operations: ['40-14=26', '3+26=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,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,0
Current State: 60:[3, 3, 54], Operations: ['40+14=54']
Exploring Operation: 54/3=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 60:[3, 18] Operation: 54/3=18
Exploring Operation: 54/3=18, Resulting Numbers: [3, 18]
Generated Node #0,0,1: 60:[3, 18] Operation: 54/3=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[3, 18], Operations: ['40+14=54', '54/3=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[3, 18], Operations: ['40+14=54', '54/3=18']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
66,
81,
20,
66
] | 100 | [
"66/66=1",
"81+20=101",
"101-1=100"
] | Current State: 100:[66, 81, 20, 66], Operations: []
Exploring Operation: 66/66=1, Resulting Numbers: [81, 20, 1]
Generated Node #2: [81, 20, 1] from Operation: 66/66=1
Current State: 100:[81, 20, 1], Operations: ['66/66=1']
Exploring Operation: 81+20=101, Resulting Numbers: [1, 101]
Generated Node #3: [1, 101] from Operation: 81+20=101
Current State: 100:[1, 101], Operations: ['66/66=1', '81+20=101']
Exploring Operation: 101-1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[66, 81, 20, 66], Operations: []
Exploring Operation: 81-66=15, Resulting Numbers: [66, 20, 15]
Generated Node #0,0: 100:[66, 20, 15] Operation: 81-66=15
Exploring Operation: 66/66=1, Resulting Numbers: [81, 20, 1]
Generated Node #0,1: 100:[81, 20, 1] Operation: 66/66=1
Exploring Operation: 66-66=0, Resulting Numbers: [81, 20, 0]
Generated Node #0,2: 100:[81, 20, 0] Operation: 66-66=0
Exploring Operation: 81-66=15, Resulting Numbers: [20, 66, 15]
Generated Node #0,3: 100:[20, 66, 15] Operation: 81-66=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[81, 20, 1], Operations: ['66/66=1']
Exploring Operation: 81-20=61, Resulting Numbers: [1, 61]
Generated Node #0,1,0: 100:[1, 61] Operation: 81-20=61
Exploring Operation: 81+1=82, Resulting Numbers: [20, 82]
Generated Node #0,1,1: 100:[20, 82] Operation: 81+1=82
Exploring Operation: 81+20=101, Resulting Numbers: [1, 101]
Generated Node #0,1,2: 100:[1, 101] Operation: 81+20=101
Exploring Operation: 81*1=81, Resulting Numbers: [20, 81]
Generated Node #0,1,3: 100:[20, 81] Operation: 81*1=81
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 100:[1, 101], Operations: ['66/66=1', '81+20=101']
Exploring Operation: 1*101=101, Resulting Numbers: [101]
101,100 unequal: No Solution
Exploring Operation: 101/1=101, Resulting Numbers: [101]
101,100 unequal: No Solution
Exploring Operation: 101-1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[66, 81, 20, 66], Operations: []
Exploring Operation: 66/66=1, Resulting Numbers: [81, 20, 1]
Generated Node #0,1: 100:[81, 20, 1] Operation: 66/66=1
Moving to Node #0,1
Current State: 100:[81, 20, 1], Operations: ['66/66=1']
Exploring Operation: 81+20=101, Resulting Numbers: [1, 101]
Generated Node #0,1,2: 100:[1, 101] Operation: 81+20=101
Moving to Node #0,1,2
Current State: 100:[1, 101], Operations: ['66/66=1', '81+20=101']
Exploring Operation: 101-1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
88,
6,
86,
15
] | 43 | [
"6*15=90",
"90-88=2",
"86/2=43"
] | Current State: 43:[88, 6, 86, 15], Operations: []
Exploring Operation: 6*15=90, Resulting Numbers: [88, 86, 90]
Generated Node #2: [88, 86, 90] from Operation: 6*15=90
Current State: 43:[88, 86, 90], Operations: ['6*15=90']
Exploring Operation: 90-88=2, Resulting Numbers: [86, 2]
Generated Node #3: [86, 2] from Operation: 90-88=2
Current State: 43:[86, 2], Operations: ['6*15=90', '90-88=2']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[88, 6, 86, 15], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [6, 15, 2]
Generated Node #0,0: 43:[6, 15, 2] Operation: 88-86=2
Exploring Operation: 86-6=80, Resulting Numbers: [88, 15, 80]
Generated Node #0,1: 43:[88, 15, 80] Operation: 86-6=80
Exploring Operation: 88-15=73, Resulting Numbers: [6, 86, 73]
Generated Node #0,2: 43:[6, 86, 73] Operation: 88-15=73
Exploring Operation: 88-6=82, Resulting Numbers: [86, 15, 82]
Generated Node #0,3: 43:[86, 15, 82] Operation: 88-6=82
Moving to Node #0,0
Current State: 43:[6, 15, 2], Operations: ['88-86=2']
Exploring Operation: 15*2=30, Resulting Numbers: [6, 30]
Generated Node #0,0,0: 43:[6, 30] Operation: 15*2=30
Exploring Operation: 6+2=8, Resulting Numbers: [15, 8]
Generated Node #0,0,1: 43:[15, 8] Operation: 6+2=8
Exploring Operation: 6*2=12, Resulting Numbers: [15, 12]
Generated Node #0,0,2: 43:[15, 12] Operation: 6*2=12
Exploring Operation: 6+15=21, Resulting Numbers: [2, 21]
Generated Node #0,0,3: 43:[2, 21] Operation: 6+15=21
Moving to Node #0,2
Current State: 43:[6, 86, 73], Operations: ['88-15=73']
Exploring Operation: 86-6=80, Resulting Numbers: [73, 80]
Generated Node #0,2,0: 43:[73, 80] Operation: 86-6=80
Exploring Operation: 86-73=13, Resulting Numbers: [6, 13]
Generated Node #0,2,1: 43:[6, 13] Operation: 86-73=13
Exploring Operation: 6+86=92, Resulting Numbers: [73, 92]
Generated Node #0,2,2: 43:[73, 92] Operation: 6+86=92
Exploring Operation: 73-6=67, Resulting Numbers: [86, 67]
Generated Node #0,2,3: 43:[86, 67] Operation: 73-6=67
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 43:[73, 80], Operations: ['88-15=73', '86-6=80']
Exploring Operation: 73+80=153, Resulting Numbers: [153]
153,43 unequal: No Solution
Exploring Operation: 80-73=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 73*80=5840, Resulting Numbers: [5840]
5840,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 43:[6, 13], Operations: ['88-15=73', '86-73=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,43 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 43:[86, 67], Operations: ['88-15=73', '73-6=67']
Exploring Operation: 86*67=5762, Resulting Numbers: [5762]
5762,43 unequal: No Solution
Exploring Operation: 86+67=153, Resulting Numbers: [153]
153,43 unequal: No Solution
Exploring Operation: 86-67=19, Resulting Numbers: [19]
19,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 43:[73, 92], Operations: ['88-15=73', '6+86=92']
Exploring Operation: 73+92=165, Resulting Numbers: [165]
165,43 unequal: No Solution
Exploring Operation: 92-73=19, Resulting Numbers: [19]
19,43 unequal: No Solution
Exploring Operation: 73*92=6716, Resulting Numbers: [6716]
6716,43 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: 43:[88, 15, 80], Operations: ['86-6=80']
Exploring Operation: 80-15=65, Resulting Numbers: [88, 65]
Generated Node #0,1,0: 43:[88, 65] Operation: 80-15=65
Exploring Operation: 88+15=103, Resulting Numbers: [80, 103]
Generated Node #0,1,1: 43:[80, 103] Operation: 88+15=103
Exploring Operation: 88-15=73, Resulting Numbers: [80, 73]
Generated Node #0,1,2: 43:[80, 73] Operation: 88-15=73
Exploring Operation: 88-80=8, Resulting Numbers: [15, 8]
Generated Node #0,1,3: 43:[15, 8] Operation: 88-80=8
Moving to Node #0,3
Current State: 43:[86, 15, 82], Operations: ['88-6=82']
Exploring Operation: 86-82=4, Resulting Numbers: [15, 4]
Generated Node #0,3,0: 43:[15, 4] Operation: 86-82=4
Exploring Operation: 86-15=71, Resulting Numbers: [82, 71]
Generated Node #0,3,1: 43:[82, 71] Operation: 86-15=71
Exploring Operation: 82-15=67, Resulting Numbers: [86, 67]
Generated Node #0,3,2: 43:[86, 67] Operation: 82-15=67
Exploring Operation: 86+15=101, Resulting Numbers: [82, 101]
Generated Node #0,3,3: 43:[82, 101] Operation: 86+15=101
Moving to Node #0,0,0
Current State: 43:[6, 30], Operations: ['88-86=2', '15*2=30']
Exploring Operation: 6*30=180, Resulting Numbers: [180]
180,43 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[15, 12], Operations: ['88-86=2', '6*2=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,43 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[15, 8], Operations: ['88-86=2', '6+2=8']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,43 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[15, 8], Operations: ['86-6=80', '88-80=8']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,43 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[2, 21], Operations: ['88-86=2', '6+15=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,43 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[80, 73], Operations: ['86-6=80', '88-15=73']
Exploring Operation: 80*73=5840, Resulting Numbers: [5840]
5840,43 unequal: No Solution
Exploring Operation: 80-73=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 80+73=153, Resulting Numbers: [153]
153,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[88, 65], Operations: ['86-6=80', '80-15=65']
Exploring Operation: 88-65=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 88*65=5720, Resulting Numbers: [5720]
5720,43 unequal: No Solution
Exploring Operation: 88+65=153, Resulting Numbers: [153]
153,43 unequal: No Solution
Moving to Node #0,3,2
Current State: 43:[86, 67], Operations: ['88-6=82', '82-15=67']
Exploring Operation: 86-67=19, Resulting Numbers: [19]
19,43 unequal: No Solution
Exploring Operation: 86*67=5762, Resulting Numbers: [5762]
5762,43 unequal: No Solution
Exploring Operation: 86+67=153, Resulting Numbers: [153]
153,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[82, 71], Operations: ['88-6=82', '86-15=71']
Exploring Operation: 82-71=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 82+71=153, Resulting Numbers: [153]
153,43 unequal: No Solution
Exploring Operation: 82*71=5822, Resulting Numbers: [5822]
5822,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[15, 4], Operations: ['88-6=82', '86-82=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[82, 101], Operations: ['88-6=82', '86+15=101']
Exploring Operation: 82+101=183, Resulting Numbers: [183]
183,43 unequal: No Solution
Exploring Operation: 82*101=8282, Resulting Numbers: [8282]
8282,43 unequal: No Solution
Exploring Operation: 101-82=19, Resulting Numbers: [19]
19,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[80, 103], Operations: ['86-6=80', '88+15=103']
Exploring Operation: 103-80=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 80+103=183, Resulting Numbers: [183]
183,43 unequal: No Solution
Exploring Operation: 80*103=8240, Resulting Numbers: [8240]
8240,43 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
13,
21,
6,
16
] | 45 | [
"16-13=3",
"21-6=15",
"3*15=45"
] | Current State: 45:[13, 21, 6, 16], Operations: []
Exploring Operation: 16-13=3, Resulting Numbers: [21, 6, 3]
Generated Node #2: [21, 6, 3] from Operation: 16-13=3
Current State: 45:[21, 6, 3], Operations: ['16-13=3']
Exploring Operation: 21-6=15, Resulting Numbers: [3, 15]
Generated Node #3: [3, 15] from Operation: 21-6=15
Current State: 45:[3, 15], Operations: ['16-13=3', '21-6=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[13, 21, 6, 16], Operations: []
Exploring Operation: 21-13=8, Resulting Numbers: [6, 16, 8]
Generated Node #0,0: 45:[6, 16, 8] Operation: 21-13=8
Moving to Node #0,0
Current State: 45:[6, 16, 8], Operations: ['21-13=8']
Exploring Operation: 16-6=10, Resulting Numbers: [8, 10]
Generated Node #0,0,0: 45:[8, 10] Operation: 16-6=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[8, 10], Operations: ['21-13=8', '16-6=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
50,
25,
40,
52
] | 30 | [
"52-50=2",
"40-25=15",
"2*15=30"
] | Current State: 30:[50, 25, 40, 52], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [25, 40, 2]
Generated Node #2: [25, 40, 2] from Operation: 52-50=2
Current State: 30:[25, 40, 2], Operations: ['52-50=2']
Exploring Operation: 40-25=15, Resulting Numbers: [2, 15]
Generated Node #3: [2, 15] from Operation: 40-25=15
Current State: 30:[2, 15], Operations: ['52-50=2', '40-25=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[50, 25, 40, 52], Operations: []
Exploring Operation: 50-40=10, Resulting Numbers: [25, 52, 10]
Generated Node #0,0: 30:[25, 52, 10] Operation: 50-40=10
Exploring Operation: 52-40=12, Resulting Numbers: [50, 25, 12]
Generated Node #0,1: 30:[50, 25, 12] Operation: 52-40=12
Exploring Operation: 52-50=2, Resulting Numbers: [25, 40, 2]
Generated Node #0,2: 30:[25, 40, 2] Operation: 52-50=2
Exploring Operation: 50/25=2, Resulting Numbers: [40, 52, 2]
Generated Node #0,3: 30:[40, 52, 2] Operation: 50/25=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[25, 40, 2], Operations: ['52-50=2']
Exploring Operation: 40-2=38, Resulting Numbers: [25, 38]
Generated Node #0,2,0: 30:[25, 38] Operation: 40-2=38
Exploring Operation: 40-25=15, Resulting Numbers: [2, 15]
Generated Node #0,2,1: 30:[2, 15] Operation: 40-25=15
Exploring Operation: 40/2=20, Resulting Numbers: [25, 20]
Generated Node #0,2,2: 30:[25, 20] Operation: 40/2=20
Exploring Operation: 25+2=27, Resulting Numbers: [40, 27]
Generated Node #0,2,3: 30:[40, 27] Operation: 25+2=27
Moving to Node #0,2,1
Current State: 30:[2, 15], Operations: ['52-50=2', '40-25=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[50, 25, 40, 52], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [25, 40, 2]
Generated Node #0,2: 30:[25, 40, 2] Operation: 52-50=2
Moving to Node #0,2
Current State: 30:[25, 40, 2], Operations: ['52-50=2']
Exploring Operation: 40-25=15, Resulting Numbers: [2, 15]
Generated Node #0,2,1: 30:[2, 15] Operation: 40-25=15
Moving to Node #0,2,1
Current State: 30:[2, 15], Operations: ['52-50=2', '40-25=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
58,
41,
65,
62
] | 59 | [
"58+65=123",
"123/41=3",
"62-3=59"
] | Current State: 59:[58, 41, 65, 62], Operations: []
Exploring Operation: 58+65=123, Resulting Numbers: [41, 62, 123]
Generated Node #2: [41, 62, 123] from Operation: 58+65=123
Current State: 59:[41, 62, 123], Operations: ['58+65=123']
Exploring Operation: 123/41=3, Resulting Numbers: [62, 3]
Generated Node #3: [62, 3] from Operation: 123/41=3
Current State: 59:[62, 3], Operations: ['58+65=123', '123/41=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[58, 41, 65, 62], Operations: []
Exploring Operation: 65-41=24, Resulting Numbers: [58, 62, 24]
Generated Node #0,0: 59:[58, 62, 24] Operation: 65-41=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[58, 62, 24], Operations: ['65-41=24']
Exploring Operation: 62-24=38, Resulting Numbers: [58, 38]
Generated Node #0,0,0: 59:[58, 38] Operation: 62-24=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[58, 38], Operations: ['65-41=24', '62-24=38']
Exploring Operation: 58+38=96, Resulting Numbers: [96]
96,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
50,
91,
9,
63
] | 69 | [
"50+91=141",
"9+63=72",
"141-72=69"
] | Current State: 69:[50, 91, 9, 63], Operations: []
Exploring Operation: 50+91=141, Resulting Numbers: [9, 63, 141]
Generated Node #2: [9, 63, 141] from Operation: 50+91=141
Current State: 69:[9, 63, 141], Operations: ['50+91=141']
Exploring Operation: 9+63=72, Resulting Numbers: [141, 72]
Generated Node #3: [141, 72] from Operation: 9+63=72
Current State: 69:[141, 72], Operations: ['50+91=141', '9+63=72']
Exploring Operation: 141-72=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[50, 91, 9, 63], Operations: []
Exploring Operation: 91-50=41, Resulting Numbers: [9, 63, 41]
Generated Node #0,0: 69:[9, 63, 41] Operation: 91-50=41
Moving to Node #0,0
Current State: 69:[9, 63, 41], Operations: ['91-50=41']
Exploring Operation: 63-41=22, Resulting Numbers: [9, 22]
Generated Node #0,0,0: 69:[9, 22] Operation: 63-41=22
Moving to Node #0,0,0
Current State: 69:[9, 22], Operations: ['91-50=41', '63-41=22']
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,69 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
81,
2,
98,
81
] | 48 | [
"81/81=1",
"98/2=49",
"49-1=48"
] | Current State: 48:[81, 2, 98, 81], Operations: []
Exploring Operation: 81/81=1, Resulting Numbers: [2, 98, 1]
Generated Node #2: [2, 98, 1] from Operation: 81/81=1
Current State: 48:[2, 98, 1], Operations: ['81/81=1']
Exploring Operation: 98/2=49, Resulting Numbers: [1, 49]
Generated Node #3: [1, 49] from Operation: 98/2=49
Current State: 48:[1, 49], Operations: ['81/81=1', '98/2=49']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[81, 2, 98, 81], Operations: []
Exploring Operation: 98-81=17, Resulting Numbers: [2, 81, 17]
Generated Node #0,0: 48:[2, 81, 17] Operation: 98-81=17
Moving to Node #0,0
Current State: 48:[2, 81, 17], Operations: ['98-81=17']
Exploring Operation: 81-17=64, Resulting Numbers: [2, 64]
Generated Node #0,0,0: 48:[2, 64] Operation: 81-17=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[2, 64], Operations: ['98-81=17', '81-17=64']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,48 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.