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 |
|---|---|---|---|---|---|---|---|---|
[
6,
84,
65,
42
] | 73 | [
"6+65=71",
"84/42=2",
"71+2=73"
] | Current State: 73:[6, 84, 65, 42], Operations: []
Exploring Operation: 6+65=71, Resulting Numbers: [84, 42, 71]
Generated Node #2: [84, 42, 71] from Operation: 6+65=71
Current State: 73:[84, 42, 71], Operations: ['6+65=71']
Exploring Operation: 84/42=2, Resulting Numbers: [71, 2]
Generated Node #3: [71, 2] from Operation: 84/42=2
Current State: 73:[71, 2], Operations: ['6+65=71', '84/42=2']
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[6, 84, 65, 42], Operations: []
Exploring Operation: 84-6=78, Resulting Numbers: [65, 42, 78]
Generated Node #0,0: 73:[65, 42, 78] Operation: 84-6=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[65, 42, 78], Operations: ['84-6=78']
Exploring Operation: 65+42=107, Resulting Numbers: [78, 107]
Generated Node #0,0,0: 73:[78, 107] Operation: 65+42=107
Moving to Node #0,0,0
Current State: 73:[78, 107], Operations: ['84-6=78', '65+42=107']
Exploring Operation: 107-78=29, Resulting Numbers: [29]
29,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
61,
55,
41,
23
] | 52 | [
"61+55=116",
"41+23=64",
"116-64=52"
] | Current State: 52:[61, 55, 41, 23], Operations: []
Exploring Operation: 61+55=116, Resulting Numbers: [41, 23, 116]
Generated Node #2: [41, 23, 116] from Operation: 61+55=116
Current State: 52:[41, 23, 116], Operations: ['61+55=116']
Exploring Operation: 41+23=64, Resulting Numbers: [116, 64]
Generated Node #3: [116, 64] from Operation: 41+23=64
Current State: 52:[116, 64], Operations: ['61+55=116', '41+23=64']
Exploring Operation: 116-64=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[61, 55, 41, 23], Operations: []
Exploring Operation: 61-41=20, Resulting Numbers: [55, 23, 20]
Generated Node #0,0: 52:[55, 23, 20] Operation: 61-41=20
Exploring Operation: 61-55=6, Resulting Numbers: [41, 23, 6]
Generated Node #0,1: 52:[41, 23, 6] Operation: 61-55=6
Exploring Operation: 55-41=14, Resulting Numbers: [61, 23, 14]
Generated Node #0,2: 52:[61, 23, 14] Operation: 55-41=14
Moving to Node #0,0
Current State: 52:[55, 23, 20], Operations: ['61-41=20']
Exploring Operation: 55-23=32, Resulting Numbers: [20, 32]
Generated Node #0,0,0: 52:[20, 32] Operation: 55-23=32
Exploring Operation: 55-20=35, Resulting Numbers: [23, 35]
Generated Node #0,0,1: 52:[23, 35] Operation: 55-20=35
Exploring Operation: 23-20=3, Resulting Numbers: [55, 3]
Generated Node #0,0,2: 52:[55, 3] Operation: 23-20=3
Moving to Node #0,2
Current State: 52:[61, 23, 14], Operations: ['55-41=14']
Exploring Operation: 61-14=47, Resulting Numbers: [23, 47]
Generated Node #0,2,0: 52:[23, 47] Operation: 61-14=47
Exploring Operation: 23-14=9, Resulting Numbers: [61, 9]
Generated Node #0,2,1: 52:[61, 9] Operation: 23-14=9
Exploring Operation: 61-23=38, Resulting Numbers: [14, 38]
Generated Node #0,2,2: 52:[14, 38] Operation: 61-23=38
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[23, 47], Operations: ['55-41=14', '61-14=47']
Exploring Operation: 23*47=1081, Resulting Numbers: [1081]
1081,52 unequal: No Solution
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 23+47=70, Resulting Numbers: [70]
70,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[61, 9], Operations: ['55-41=14', '23-14=9']
Exploring Operation: 61+9=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Exploring Operation: 61*9=549, Resulting Numbers: [549]
549,52 unequal: No Solution
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[61, 55, 41, 23], Operations: []
Exploring Operation: 55-41=14, Resulting Numbers: [61, 23, 14]
Generated Node #0,2: 52:[61, 23, 14] Operation: 55-41=14
Moving to Node #0,2
Current State: 52:[61, 23, 14], Operations: ['55-41=14']
Exploring Operation: 23-14=9, Resulting Numbers: [61, 9]
Generated Node #0,2,1: 52:[61, 9] Operation: 23-14=9
Moving to Node #0,2,1
Current State: 52:[61, 9], Operations: ['55-41=14', '23-14=9']
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
6,
26,
23,
91
] | 73 | [
"6*23=138",
"91-26=65",
"138-65=73"
] | Current State: 73:[6, 26, 23, 91], Operations: []
Exploring Operation: 6*23=138, Resulting Numbers: [26, 91, 138]
Generated Node #2: [26, 91, 138] from Operation: 6*23=138
Current State: 73:[26, 91, 138], Operations: ['6*23=138']
Exploring Operation: 91-26=65, Resulting Numbers: [138, 65]
Generated Node #3: [138, 65] from Operation: 91-26=65
Current State: 73:[138, 65], Operations: ['6*23=138', '91-26=65']
Exploring Operation: 138-65=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[6, 26, 23, 91], Operations: []
Exploring Operation: 26+23=49, Resulting Numbers: [6, 91, 49]
Generated Node #0,0: 73:[6, 91, 49] Operation: 26+23=49
Exploring Operation: 91-6=85, Resulting Numbers: [26, 23, 85]
Generated Node #0,1: 73:[26, 23, 85] Operation: 91-6=85
Exploring Operation: 6+26=32, Resulting Numbers: [23, 91, 32]
Generated Node #0,2: 73:[23, 91, 32] Operation: 6+26=32
Exploring Operation: 6+23=29, Resulting Numbers: [26, 91, 29]
Generated Node #0,3: 73:[26, 91, 29] Operation: 6+23=29
Moving to Node #0,0
Current State: 73:[6, 91, 49], Operations: ['26+23=49']
Exploring Operation: 49-6=43, Resulting Numbers: [91, 43]
Generated Node #0,0,0: 73:[91, 43] Operation: 49-6=43
Exploring Operation: 91-6=85, Resulting Numbers: [49, 85]
Generated Node #0,0,1: 73:[49, 85] Operation: 91-6=85
Exploring Operation: 6+49=55, Resulting Numbers: [91, 55]
Generated Node #0,0,2: 73:[91, 55] Operation: 6+49=55
Exploring Operation: 6+91=97, Resulting Numbers: [49, 97]
Generated Node #0,0,3: 73:[49, 97] Operation: 6+91=97
Moving to Node #0,2
Current State: 73:[23, 91, 32], Operations: ['6+26=32']
Exploring Operation: 91-23=68, Resulting Numbers: [32, 68]
Generated Node #0,2,0: 73:[32, 68] Operation: 91-23=68
Exploring Operation: 91-32=59, Resulting Numbers: [23, 59]
Generated Node #0,2,1: 73:[23, 59] Operation: 91-32=59
Exploring Operation: 23+91=114, Resulting Numbers: [32, 114]
Generated Node #0,2,2: 73:[32, 114] Operation: 23+91=114
Exploring Operation: 23+32=55, Resulting Numbers: [91, 55]
Generated Node #0,2,3: 73:[91, 55] Operation: 23+32=55
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 73:[91, 55], Operations: ['6+26=32', '23+32=55']
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 91*55=5005, Resulting Numbers: [5005]
5005,73 unequal: No Solution
Exploring Operation: 91+55=146, Resulting Numbers: [146]
146,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,0
Current State: 73:[32, 68], Operations: ['6+26=32', '91-23=68']
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 32*68=2176, Resulting Numbers: [2176]
2176,73 unequal: No Solution
Exploring Operation: 32+68=100, Resulting Numbers: [100]
100,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,1
Current State: 73:[23, 59], Operations: ['6+26=32', '91-32=59']
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 23*59=1357, Resulting Numbers: [1357]
1357,73 unequal: No Solution
Exploring Operation: 23+59=82, Resulting Numbers: [82]
82,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,2
Current State: 73:[32, 114], Operations: ['6+26=32', '23+91=114']
Exploring Operation: 32*114=3648, Resulting Numbers: [3648]
3648,73 unequal: No Solution
Exploring Operation: 114-32=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Exploring Operation: 32+114=146, Resulting Numbers: [146]
146,73 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: 73:[26, 23, 85], Operations: ['91-6=85']
Exploring Operation: 26-23=3, Resulting Numbers: [85, 3]
Generated Node #0,1,0: 73:[85, 3] Operation: 26-23=3
Exploring Operation: 85-23=62, Resulting Numbers: [26, 62]
Generated Node #0,1,1: 73:[26, 62] Operation: 85-23=62
Exploring Operation: 26+23=49, Resulting Numbers: [85, 49]
Generated Node #0,1,2: 73:[85, 49] Operation: 26+23=49
Exploring Operation: 85-26=59, Resulting Numbers: [23, 59]
Generated Node #0,1,3: 73:[23, 59] Operation: 85-26=59
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[85, 49], Operations: ['91-6=85', '26+23=49']
Exploring Operation: 85*49=4165, Resulting Numbers: [4165]
4165,73 unequal: No Solution
Exploring Operation: 85+49=134, Resulting Numbers: [134]
134,73 unequal: No Solution
Exploring Operation: 85-49=36, Resulting Numbers: [36]
36,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,1
Current State: 73:[26, 62], Operations: ['91-6=85', '85-23=62']
Exploring Operation: 26+62=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 26*62=1612, Resulting Numbers: [1612]
1612,73 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,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:[23, 59], Operations: ['91-6=85', '85-26=59']
Exploring Operation: 23*59=1357, Resulting Numbers: [1357]
1357,73 unequal: No Solution
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 23+59=82, Resulting Numbers: [82]
82,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:[85, 3], Operations: ['91-6=85', '26-23=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Exploring Operation: 85*3=255, Resulting Numbers: [255]
255,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 73:[26, 91, 29], Operations: ['6+23=29']
Exploring Operation: 26+29=55, Resulting Numbers: [91, 55]
Generated Node #0,3,0: 73:[91, 55] Operation: 26+29=55
Exploring Operation: 91-29=62, Resulting Numbers: [26, 62]
Generated Node #0,3,1: 73:[26, 62] Operation: 91-29=62
Exploring Operation: 26+91=117, Resulting Numbers: [29, 117]
Generated Node #0,3,2: 73:[29, 117] Operation: 26+91=117
Exploring Operation: 91-26=65, Resulting Numbers: [29, 65]
Generated Node #0,3,3: 73:[29, 65] Operation: 91-26=65
Moving to Node #0,0,1
Current State: 73:[49, 85], Operations: ['26+23=49', '91-6=85']
Exploring Operation: 49+85=134, Resulting Numbers: [134]
134,73 unequal: No Solution
Exploring Operation: 85-49=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 49*85=4165, Resulting Numbers: [4165]
4165,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[91, 55], Operations: ['26+23=49', '6+49=55']
Exploring Operation: 91*55=5005, Resulting Numbers: [5005]
5005,73 unequal: No Solution
Exploring Operation: 91+55=146, Resulting Numbers: [146]
146,73 unequal: No Solution
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[91, 55], Operations: ['6+23=29', '26+29=55']
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Exploring Operation: 91*55=5005, Resulting Numbers: [5005]
5005,73 unequal: No Solution
Exploring Operation: 91+55=146, Resulting Numbers: [146]
146,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[91, 43], Operations: ['26+23=49', '49-6=43']
Exploring Operation: 91*43=3913, Resulting Numbers: [3913]
3913,73 unequal: No Solution
Exploring Operation: 91+43=134, Resulting Numbers: [134]
134,73 unequal: No Solution
Exploring Operation: 91-43=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[49, 97], Operations: ['26+23=49', '6+91=97']
Exploring Operation: 49*97=4753, Resulting Numbers: [4753]
4753,73 unequal: No Solution
Exploring Operation: 97-49=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 49+97=146, Resulting Numbers: [146]
146,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[29, 65], Operations: ['6+23=29', '91-26=65']
Exploring Operation: 29+65=94, Resulting Numbers: [94]
94,73 unequal: No Solution
Exploring Operation: 29*65=1885, Resulting Numbers: [1885]
1885,73 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[26, 62], Operations: ['6+23=29', '91-29=62']
Exploring Operation: 26+62=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 26*62=1612, Resulting Numbers: [1612]
1612,73 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[29, 117], Operations: ['6+23=29', '26+91=117']
Exploring Operation: 117-29=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 29+117=146, Resulting Numbers: [146]
146,73 unequal: No Solution
Exploring Operation: 29*117=3393, Resulting Numbers: [3393]
3393,73 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
51,
33,
90,
75
] | 15 | [
"51-33=18",
"90/18=5",
"75/5=15"
] | Current State: 15:[51, 33, 90, 75], Operations: []
Exploring Operation: 51-33=18, Resulting Numbers: [90, 75, 18]
Generated Node #2: [90, 75, 18] from Operation: 51-33=18
Current State: 15:[90, 75, 18], Operations: ['51-33=18']
Exploring Operation: 90/18=5, Resulting Numbers: [75, 5]
Generated Node #3: [75, 5] from Operation: 90/18=5
Current State: 15:[75, 5], Operations: ['51-33=18', '90/18=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[51, 33, 90, 75], Operations: []
Exploring Operation: 51-33=18, Resulting Numbers: [90, 75, 18]
Generated Node #0,0: 15:[90, 75, 18] Operation: 51-33=18
Exploring Operation: 75-51=24, Resulting Numbers: [33, 90, 24]
Generated Node #0,1: 15:[33, 90, 24] Operation: 75-51=24
Exploring Operation: 90-75=15, Resulting Numbers: [51, 33, 15]
Generated Node #0,2: 15:[51, 33, 15] Operation: 90-75=15
Exploring Operation: 90-51=39, Resulting Numbers: [33, 75, 39]
Generated Node #0,3: 15:[33, 75, 39] Operation: 90-51=39
Moving to Node #0,2
Current State: 15:[51, 33, 15], Operations: ['90-75=15']
Exploring Operation: 51-33=18, Resulting Numbers: [15, 18]
Generated Node #0,2,0: 15:[15, 18] Operation: 51-33=18
Exploring Operation: 33-15=18, Resulting Numbers: [51, 18]
Generated Node #0,2,1: 15:[51, 18] Operation: 33-15=18
Exploring Operation: 51-15=36, Resulting Numbers: [33, 36]
Generated Node #0,2,2: 15:[33, 36] Operation: 51-15=36
Exploring Operation: 51+33=84, Resulting Numbers: [15, 84]
Generated Node #0,2,3: 15:[15, 84] Operation: 51+33=84
Moving to Node #0,3
Current State: 15:[33, 75, 39], Operations: ['90-51=39']
Exploring Operation: 75-39=36, Resulting Numbers: [33, 36]
Generated Node #0,3,0: 15:[33, 36] Operation: 75-39=36
Exploring Operation: 33+75=108, Resulting Numbers: [39, 108]
Generated Node #0,3,1: 15:[39, 108] Operation: 33+75=108
Exploring Operation: 39-33=6, Resulting Numbers: [75, 6]
Generated Node #0,3,2: 15:[75, 6] Operation: 39-33=6
Exploring Operation: 75-33=42, Resulting Numbers: [39, 42]
Generated Node #0,3,3: 15:[39, 42] Operation: 75-33=42
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 15:[33, 36], Operations: ['90-51=39', '75-39=36']
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,15 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 33*36=1188, Resulting Numbers: [1188]
1188,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,3,3
Current State: 15:[39, 42], Operations: ['90-51=39', '75-33=42']
Exploring Operation: 39*42=1638, Resulting Numbers: [1638]
1638,15 unequal: No Solution
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,15 unequal: No Solution
Exploring Operation: 42-39=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,3,2
Current State: 15:[75, 6], Operations: ['90-51=39', '39-33=6']
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,15 unequal: No Solution
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,15 unequal: No Solution
Exploring Operation: 75*6=450, Resulting Numbers: [450]
450,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,3,1
Current State: 15:[39, 108], Operations: ['90-51=39', '33+75=108']
Exploring Operation: 39+108=147, Resulting Numbers: [147]
147,15 unequal: No Solution
Exploring Operation: 39*108=4212, Resulting Numbers: [4212]
4212,15 unequal: No Solution
Exploring Operation: 108-39=69, Resulting Numbers: [69]
69,15 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: 15:[33, 90, 24], Operations: ['75-51=24']
Exploring Operation: 90-33=57, Resulting Numbers: [24, 57]
Generated Node #0,1,0: 15:[24, 57] Operation: 90-33=57
Exploring Operation: 33+90=123, Resulting Numbers: [24, 123]
Generated Node #0,1,1: 15:[24, 123] Operation: 33+90=123
Exploring Operation: 33-24=9, Resulting Numbers: [90, 9]
Generated Node #0,1,2: 15:[90, 9] Operation: 33-24=9
Exploring Operation: 90-24=66, Resulting Numbers: [33, 66]
Generated Node #0,1,3: 15:[33, 66] Operation: 90-24=66
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 15:[24, 57], Operations: ['75-51=24', '90-33=57']
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 24+57=81, Resulting Numbers: [81]
81,15 unequal: No Solution
Exploring Operation: 24*57=1368, Resulting Numbers: [1368]
1368,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,3
Current State: 15:[33, 66], Operations: ['75-51=24', '90-24=66']
Exploring Operation: 33*66=2178, Resulting Numbers: [2178]
2178,15 unequal: No Solution
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 33+66=99, Resulting Numbers: [99]
99,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:[90, 9], Operations: ['75-51=24', '33-24=9']
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 90+9=99, Resulting Numbers: [99]
99,15 unequal: No Solution
Exploring Operation: 90*9=810, Resulting Numbers: [810]
810,15 unequal: No Solution
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,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:[24, 123], Operations: ['75-51=24', '33+90=123']
Exploring Operation: 24*123=2952, Resulting Numbers: [2952]
2952,15 unequal: No Solution
Exploring Operation: 24+123=147, Resulting Numbers: [147]
147,15 unequal: No Solution
Exploring Operation: 123-24=99, Resulting Numbers: [99]
99,15 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: 15:[90, 75, 18], Operations: ['51-33=18']
Exploring Operation: 90-75=15, Resulting Numbers: [18, 15]
Generated Node #0,0,0: 15:[18, 15] Operation: 90-75=15
Exploring Operation: 90-18=72, Resulting Numbers: [75, 72]
Generated Node #0,0,1: 15:[75, 72] Operation: 90-18=72
Exploring Operation: 90/18=5, Resulting Numbers: [75, 5]
Generated Node #0,0,2: 15:[75, 5] Operation: 90/18=5
Exploring Operation: 75-18=57, Resulting Numbers: [90, 57]
Generated Node #0,0,3: 15:[90, 57] Operation: 75-18=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[18, 15], Operations: ['51-33=18', '90-75=15']
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,15 unequal: No Solution
Exploring Operation: 18-15=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,2
Current State: 15:[75, 5], Operations: ['51-33=18', '90/18=5']
Exploring Operation: 75*5=375, Resulting Numbers: [375]
375,15 unequal: No Solution
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,15 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[51, 33, 90, 75], Operations: []
Exploring Operation: 51-33=18, Resulting Numbers: [90, 75, 18]
Generated Node #0,0: 15:[90, 75, 18] Operation: 51-33=18
Moving to Node #0,0
Current State: 15:[90, 75, 18], Operations: ['51-33=18']
Exploring Operation: 90/18=5, Resulting Numbers: [75, 5]
Generated Node #0,0,2: 15:[75, 5] Operation: 90/18=5
Moving to Node #0,0,2
Current State: 15:[75, 5], Operations: ['51-33=18', '90/18=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.950521 | hs_4 | mult_heuristic |
[
65,
28,
28,
33
] | 98 | [
"65+28=93",
"33-28=5",
"93+5=98"
] | Current State: 98:[65, 28, 28, 33], Operations: []
Exploring Operation: 65+28=93, Resulting Numbers: [33, 93]
Generated Node #2: [33, 93] from Operation: 65+28=93
Current State: 98:[33, 93], Operations: ['65+28=93']
Exploring Operation: 33-28=5, Resulting Numbers: [93, 5]
Generated Node #3: [93, 5] from Operation: 33-28=5
Current State: 98:[93, 5], Operations: ['65+28=93', '33-28=5']
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[65, 28, 28, 33], Operations: []
Exploring Operation: 33-28=5, Resulting Numbers: [65, 28, 5]
Generated Node #0,0: 98:[65, 28, 5] Operation: 33-28=5
Exploring Operation: 33-28=5, Resulting Numbers: [65, 28, 5]
Generated Node #0,1: 98:[65, 28, 5] Operation: 33-28=5
Exploring Operation: 65+33=98, Resulting Numbers: [28, 28, 98]
Generated Node #0,2: 98:[28, 28, 98] Operation: 65+33=98
Exploring Operation: 28/28=1, Resulting Numbers: [65, 33, 1]
Generated Node #0,3: 98:[65, 33, 1] Operation: 28/28=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[28, 28, 98], Operations: ['65+33=98']
Exploring Operation: 98-28=70, Resulting Numbers: [28, 70]
Generated Node #0,2,0: 98:[28, 70] Operation: 98-28=70
Exploring Operation: 28/28=1, Resulting Numbers: [98, 1]
Generated Node #0,2,1: 98:[98, 1] Operation: 28/28=1
Exploring Operation: 28-28=0, Resulting Numbers: [98, 0]
Generated Node #0,2,2: 98:[98, 0] Operation: 28-28=0
Exploring Operation: 28+28=56, Resulting Numbers: [98, 56]
Generated Node #0,2,3: 98:[98, 56] Operation: 28+28=56
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 98:[98, 1], Operations: ['65+33=98', '28/28=1']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,98 unequal: No Solution
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[65, 28, 28, 33], Operations: []
Exploring Operation: 65+33=98, Resulting Numbers: [28, 28, 98]
Generated Node #0,2: 98:[28, 28, 98] Operation: 65+33=98
Moving to Node #0,2
Current State: 98:[28, 28, 98], Operations: ['65+33=98']
Exploring Operation: 28/28=1, Resulting Numbers: [98, 1]
Generated Node #0,2,1: 98:[98, 1] Operation: 28/28=1
Moving to Node #0,2,1
Current State: 98:[98, 1], Operations: ['65+33=98', '28/28=1']
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
41,
85,
26,
82
] | 100 | [
"85-41=44",
"82-26=56",
"44+56=100"
] | Current State: 100:[41, 85, 26, 82], Operations: []
Exploring Operation: 85-41=44, Resulting Numbers: [26, 82, 44]
Generated Node #2: [26, 82, 44] from Operation: 85-41=44
Current State: 100:[26, 82, 44], Operations: ['85-41=44']
Exploring Operation: 82-26=56, Resulting Numbers: [44, 56]
Generated Node #3: [44, 56] from Operation: 82-26=56
Current State: 100:[44, 56], Operations: ['85-41=44', '82-26=56']
Exploring Operation: 44+56=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[41, 85, 26, 82], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [85, 26, 2]
Generated Node #0,0: 100:[85, 26, 2] Operation: 82/41=2
Exploring Operation: 85-82=3, Resulting Numbers: [41, 26, 3]
Generated Node #0,1: 100:[41, 26, 3] Operation: 85-82=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[41, 26, 3], Operations: ['85-82=3']
Exploring Operation: 41-26=15, Resulting Numbers: [3, 15]
Generated Node #0,1,0: 100:[3, 15] Operation: 41-26=15
Exploring Operation: 41+3=44, Resulting Numbers: [26, 44]
Generated Node #0,1,1: 100:[26, 44] Operation: 41+3=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[3, 15], Operations: ['85-82=3', '41-26=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,100 unequal: No Solution
No 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: 100:[26, 44], Operations: ['85-82=3', '41+3=44']
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 26+44=70, Resulting Numbers: [70]
70,100 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: 100:[85, 26, 2], Operations: ['82/41=2']
Exploring Operation: 85+26=111, Resulting Numbers: [2, 111]
Generated Node #0,0,0: 100:[2, 111] Operation: 85+26=111
Exploring Operation: 85-26=59, Resulting Numbers: [2, 59]
Generated Node #0,0,1: 100:[2, 59] Operation: 85-26=59
Moving to Node #0,0,1
Current State: 100:[2, 59], Operations: ['82/41=2', '85-26=59']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,100 unequal: No Solution
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[2, 111], Operations: ['82/41=2', '85+26=111']
Exploring Operation: 2+111=113, Resulting Numbers: [113]
113,100 unequal: No Solution
Exploring Operation: 111-2=109, Resulting Numbers: [109]
109,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
98,
38,
15,
64
] | 68 | [
"98-38=60",
"60/15=4",
"64+4=68"
] | Current State: 68:[98, 38, 15, 64], Operations: []
Exploring Operation: 98-38=60, Resulting Numbers: [15, 64, 60]
Generated Node #2: [15, 64, 60] from Operation: 98-38=60
Current State: 68:[15, 64, 60], Operations: ['98-38=60']
Exploring Operation: 60/15=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 60/15=4
Current State: 68:[64, 4], Operations: ['98-38=60', '60/15=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[98, 38, 15, 64], Operations: []
Exploring Operation: 64-38=26, Resulting Numbers: [98, 15, 26]
Generated Node #0,0: 68:[98, 15, 26] Operation: 64-38=26
Exploring Operation: 98-15=83, Resulting Numbers: [38, 64, 83]
Generated Node #0,1: 68:[38, 64, 83] Operation: 98-15=83
Exploring Operation: 98-38=60, Resulting Numbers: [15, 64, 60]
Generated Node #0,2: 68:[15, 64, 60] Operation: 98-38=60
Exploring Operation: 98-64=34, Resulting Numbers: [38, 15, 34]
Generated Node #0,3: 68:[38, 15, 34] Operation: 98-64=34
Exploring Operation: 38-15=23, Resulting Numbers: [98, 64, 23]
Generated Node #0,4: 68:[98, 64, 23] Operation: 38-15=23
Moving to Node #0,3
Current State: 68:[38, 15, 34], Operations: ['98-64=34']
Exploring Operation: 38-15=23, Resulting Numbers: [34, 23]
Generated Node #0,3,0: 68:[34, 23] Operation: 38-15=23
Exploring Operation: 38-34=4, Resulting Numbers: [15, 4]
Generated Node #0,3,1: 68:[15, 4] Operation: 38-34=4
Exploring Operation: 38+15=53, Resulting Numbers: [34, 53]
Generated Node #0,3,2: 68:[34, 53] Operation: 38+15=53
Exploring Operation: 38+34=72, Resulting Numbers: [15, 72]
Generated Node #0,3,3: 68:[15, 72] Operation: 38+34=72
Exploring Operation: 34-15=19, Resulting Numbers: [38, 19]
Generated Node #0,3,4: 68:[38, 19] Operation: 34-15=19
Moving to Node #0,2
Current State: 68:[15, 64, 60], Operations: ['98-38=60']
Exploring Operation: 60/15=4, Resulting Numbers: [64, 4]
Generated Node #0,2,0: 68:[64, 4] Operation: 60/15=4
Exploring Operation: 60-15=45, Resulting Numbers: [64, 45]
Generated Node #0,2,1: 68:[64, 45] Operation: 60-15=45
Exploring Operation: 64-60=4, Resulting Numbers: [15, 4]
Generated Node #0,2,2: 68:[15, 4] Operation: 64-60=4
Exploring Operation: 15+60=75, Resulting Numbers: [64, 75]
Generated Node #0,2,3: 68:[64, 75] Operation: 15+60=75
Exploring Operation: 15+64=79, Resulting Numbers: [60, 79]
Generated Node #0,2,4: 68:[60, 79] Operation: 15+64=79
Moving to Node #0,1
Current State: 68:[38, 64, 83], Operations: ['98-15=83']
Exploring Operation: 38+83=121, Resulting Numbers: [64, 121]
Generated Node #0,1,0: 68:[64, 121] Operation: 38+83=121
Exploring Operation: 38+64=102, Resulting Numbers: [83, 102]
Generated Node #0,1,1: 68:[83, 102] Operation: 38+64=102
Exploring Operation: 64-38=26, Resulting Numbers: [83, 26]
Generated Node #0,1,2: 68:[83, 26] Operation: 64-38=26
Exploring Operation: 83-38=45, Resulting Numbers: [64, 45]
Generated Node #0,1,3: 68:[64, 45] Operation: 83-38=45
Exploring Operation: 83-64=19, Resulting Numbers: [38, 19]
Generated Node #0,1,4: 68:[38, 19] Operation: 83-64=19
Moving to Node #0,0
Current State: 68:[98, 15, 26], Operations: ['64-38=26']
Exploring Operation: 26-15=11, Resulting Numbers: [98, 11]
Generated Node #0,0,0: 68:[98, 11] Operation: 26-15=11
Exploring Operation: 98-15=83, Resulting Numbers: [26, 83]
Generated Node #0,0,1: 68:[26, 83] Operation: 98-15=83
Exploring Operation: 98-26=72, Resulting Numbers: [15, 72]
Generated Node #0,0,2: 68:[15, 72] Operation: 98-26=72
Exploring Operation: 15+26=41, Resulting Numbers: [98, 41]
Generated Node #0,0,3: 68:[98, 41] Operation: 15+26=41
Exploring Operation: 98+15=113, Resulting Numbers: [26, 113]
Generated Node #0,0,4: 68:[26, 113] Operation: 98+15=113
Moving to Node #0,4
Current State: 68:[98, 64, 23], Operations: ['38-15=23']
Exploring Operation: 98-64=34, Resulting Numbers: [23, 34]
Generated Node #0,4,0: 68:[23, 34] Operation: 98-64=34
Exploring Operation: 64+23=87, Resulting Numbers: [98, 87]
Generated Node #0,4,1: 68:[98, 87] Operation: 64+23=87
Exploring Operation: 98-23=75, Resulting Numbers: [64, 75]
Generated Node #0,4,2: 68:[64, 75] Operation: 98-23=75
Exploring Operation: 98+23=121, Resulting Numbers: [64, 121]
Generated Node #0,4,3: 68:[64, 121] Operation: 98+23=121
Exploring Operation: 64-23=41, Resulting Numbers: [98, 41]
Generated Node #0,4,4: 68:[98, 41] Operation: 64-23=41
Moving to Node #0,3,1
Current State: 68:[15, 4], Operations: ['98-64=34', '38-34=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[15, 4], Operations: ['98-38=60', '64-60=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[64, 4], Operations: ['98-38=60', '60/15=4']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[98, 38, 15, 64], Operations: []
Exploring Operation: 98-38=60, Resulting Numbers: [15, 64, 60]
Generated Node #0,2: 68:[15, 64, 60] Operation: 98-38=60
Moving to Node #0,2
Current State: 68:[15, 64, 60], Operations: ['98-38=60']
Exploring Operation: 60/15=4, Resulting Numbers: [64, 4]
Generated Node #0,2,0: 68:[64, 4] Operation: 60/15=4
Moving to Node #0,2,0
Current State: 68:[64, 4], Operations: ['98-38=60', '60/15=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.963542 | hs_5 | sum_heuristic |
[
22,
4,
80,
82
] | 90 | [
"22*4=88",
"82-80=2",
"88+2=90"
] | Current State: 90:[22, 4, 80, 82], Operations: []
Exploring Operation: 22*4=88, Resulting Numbers: [80, 82, 88]
Generated Node #2: [80, 82, 88] from Operation: 22*4=88
Current State: 90:[80, 82, 88], Operations: ['22*4=88']
Exploring Operation: 82-80=2, Resulting Numbers: [88, 2]
Generated Node #3: [88, 2] from Operation: 82-80=2
Current State: 90:[88, 2], Operations: ['22*4=88', '82-80=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[22, 4, 80, 82], Operations: []
Exploring Operation: 22-4=18, Resulting Numbers: [80, 82, 18]
Generated Node #0,0: 90:[80, 82, 18] Operation: 22-4=18
Exploring Operation: 80/4=20, Resulting Numbers: [22, 82, 20]
Generated Node #0,1: 90:[22, 82, 20] Operation: 80/4=20
Exploring Operation: 82-80=2, Resulting Numbers: [22, 4, 2]
Generated Node #0,2: 90:[22, 4, 2] Operation: 82-80=2
Moving to Node #0,2
Current State: 90:[22, 4, 2], Operations: ['82-80=2']
Exploring Operation: 22-4=18, Resulting Numbers: [2, 18]
Generated Node #0,2,0: 90:[2, 18] Operation: 22-4=18
Exploring Operation: 22*2=44, Resulting Numbers: [4, 44]
Generated Node #0,2,1: 90:[4, 44] Operation: 22*2=44
Exploring Operation: 22*4=88, Resulting Numbers: [2, 88]
Generated Node #0,2,2: 90:[2, 88] Operation: 22*4=88
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[2, 18], Operations: ['82-80=2', '22-4=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[4, 44], Operations: ['82-80=2', '22*2=44']
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[2, 88], Operations: ['82-80=2', '22*4=88']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,90 unequal: No Solution
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[22, 4, 80, 82], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [22, 4, 2]
Generated Node #0,2: 90:[22, 4, 2] Operation: 82-80=2
Moving to Node #0,2
Current State: 90:[22, 4, 2], Operations: ['82-80=2']
Exploring Operation: 22*4=88, Resulting Numbers: [2, 88]
Generated Node #0,2,2: 90:[2, 88] Operation: 22*4=88
Moving to Node #0,2,2
Current State: 90:[2, 88], Operations: ['82-80=2', '22*4=88']
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
16,
59,
28,
14
] | 89 | [
"16+59=75",
"28-14=14",
"75+14=89"
] | Current State: 89:[16, 59, 28, 14], Operations: []
Exploring Operation: 16+59=75, Resulting Numbers: [28, 14, 75]
Generated Node #2: [28, 14, 75] from Operation: 16+59=75
Current State: 89:[28, 14, 75], Operations: ['16+59=75']
Exploring Operation: 28-14=14, Resulting Numbers: [75, 14]
Generated Node #3: [75, 14] from Operation: 28-14=14
Current State: 89:[75, 14], Operations: ['16+59=75', '28-14=14']
Exploring Operation: 75+14=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[16, 59, 28, 14], Operations: []
Exploring Operation: 16+28=44, Resulting Numbers: [59, 14, 44]
Generated Node #0,0: 89:[59, 14, 44] Operation: 16+28=44
Exploring Operation: 16+59=75, Resulting Numbers: [28, 14, 75]
Generated Node #0,1: 89:[28, 14, 75] Operation: 16+59=75
Exploring Operation: 16+14=30, Resulting Numbers: [59, 28, 30]
Generated Node #0,2: 89:[59, 28, 30] Operation: 16+14=30
Moving to Node #0,0
Current State: 89:[59, 14, 44], Operations: ['16+28=44']
Exploring Operation: 59-14=45, Resulting Numbers: [44, 45]
Generated Node #0,0,0: 89:[44, 45] Operation: 59-14=45
Exploring Operation: 14+44=58, Resulting Numbers: [59, 58]
Generated Node #0,0,1: 89:[59, 58] Operation: 14+44=58
Exploring Operation: 59+14=73, Resulting Numbers: [44, 73]
Generated Node #0,0,2: 89:[44, 73] Operation: 59+14=73
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[59, 58], Operations: ['16+28=44', '14+44=58']
Exploring Operation: 59*58=3422, Resulting Numbers: [3422]
3422,89 unequal: No Solution
Exploring Operation: 59-58=1, Resulting Numbers: [1]
1,89 unequal: No Solution
Exploring Operation: 59+58=117, Resulting Numbers: [117]
117,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[44, 73], Operations: ['16+28=44', '59+14=73']
Exploring Operation: 44*73=3212, Resulting Numbers: [3212]
3212,89 unequal: No Solution
Exploring Operation: 73-44=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 44+73=117, Resulting Numbers: [117]
117,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[44, 45], Operations: ['16+28=44', '59-14=45']
Exploring Operation: 44*45=1980, Resulting Numbers: [1980]
1980,89 unequal: No Solution
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[16, 59, 28, 14], Operations: []
Exploring Operation: 16+28=44, Resulting Numbers: [59, 14, 44]
Generated Node #0,0: 89:[59, 14, 44] Operation: 16+28=44
Moving to Node #0,0
Current State: 89:[59, 14, 44], Operations: ['16+28=44']
Exploring Operation: 59-14=45, Resulting Numbers: [44, 45]
Generated Node #0,0,0: 89:[44, 45] Operation: 59-14=45
Moving to Node #0,0,0
Current State: 89:[44, 45], Operations: ['16+28=44', '59-14=45']
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
6,
39,
48,
39
] | 13 | [
"6+39=45",
"48-45=3",
"39/3=13"
] | Current State: 13:[6, 39, 48, 39], Operations: []
Exploring Operation: 6+39=45, Resulting Numbers: [48, 45]
Generated Node #2: [48, 45] from Operation: 6+39=45
Current State: 13:[48, 45], Operations: ['6+39=45']
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,13 equal: Goal Reached
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[6, 39, 48, 39], Operations: []
Exploring Operation: 48-39=9, Resulting Numbers: [6, 39, 9]
Generated Node #0,0: 13:[6, 39, 9] Operation: 48-39=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[6, 39, 9], Operations: ['48-39=9']
Exploring Operation: 39-6=33, Resulting Numbers: [9, 33]
Generated Node #0,0,0: 13:[9, 33] Operation: 39-6=33
Moving to Node #0,0,0
Current State: 13:[9, 33], Operations: ['48-39=9', '39-6=33']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,13 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 |
[
42,
11,
31,
12
] | 73 | [
"42+31=73",
"12-11=1",
"73*1=73"
] | Current State: 73:[42, 11, 31, 12], Operations: []
Exploring Operation: 42+31=73, Resulting Numbers: [11, 12, 73]
Generated Node #2: [11, 12, 73] from Operation: 42+31=73
Current State: 73:[11, 12, 73], Operations: ['42+31=73']
Exploring Operation: 12-11=1, Resulting Numbers: [73, 1]
Generated Node #3: [73, 1] from Operation: 12-11=1
Current State: 73:[73, 1], Operations: ['42+31=73', '12-11=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[42, 11, 31, 12], Operations: []
Exploring Operation: 42+12=54, Resulting Numbers: [11, 31, 54]
Generated Node #0,0: 73:[11, 31, 54] Operation: 42+12=54
Exploring Operation: 11+31=42, Resulting Numbers: [42, 12, 42]
Generated Node #0,1: 73:[42, 12, 42] Operation: 11+31=42
Exploring Operation: 11+12=23, Resulting Numbers: [42, 31, 23]
Generated Node #0,2: 73:[42, 31, 23] Operation: 11+12=23
Exploring Operation: 42+31=73, Resulting Numbers: [11, 12, 73]
Generated Node #0,3: 73:[11, 12, 73] Operation: 42+31=73
Exploring Operation: 42+11=53, Resulting Numbers: [31, 12, 53]
Generated Node #0,4: 73:[31, 12, 53] Operation: 42+11=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[11, 31, 54], Operations: ['42+12=54']
Exploring Operation: 31-11=20, Resulting Numbers: [54, 20]
Generated Node #0,0,0: 73:[54, 20] Operation: 31-11=20
Exploring Operation: 11+54=65, Resulting Numbers: [31, 65]
Generated Node #0,0,1: 73:[31, 65] Operation: 11+54=65
Exploring Operation: 54-11=43, Resulting Numbers: [31, 43]
Generated Node #0,0,2: 73:[31, 43] Operation: 54-11=43
Exploring Operation: 11+31=42, Resulting Numbers: [54, 42]
Generated Node #0,0,3: 73:[54, 42] Operation: 11+31=42
Exploring Operation: 31+54=85, Resulting Numbers: [11, 85]
Generated Node #0,0,4: 73:[11, 85] Operation: 31+54=85
Moving to Node #0,0,1
Current State: 73:[31, 65], Operations: ['42+12=54', '11+54=65']
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Exploring Operation: 31*65=2015, Resulting Numbers: [2015]
2015,73 unequal: No Solution
Exploring Operation: 31+65=96, Resulting Numbers: [96]
96,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[54, 42], Operations: ['42+12=54', '11+31=42']
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 54+42=96, Resulting Numbers: [96]
96,73 unequal: No Solution
Exploring Operation: 54*42=2268, Resulting Numbers: [2268]
2268,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[54, 20], Operations: ['42+12=54', '31-11=20']
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,73 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[31, 43], Operations: ['42+12=54', '54-11=43']
Exploring Operation: 31+43=74, Resulting Numbers: [74]
74,73 unequal: No Solution
Exploring Operation: 31*43=1333, Resulting Numbers: [1333]
1333,73 unequal: No Solution
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Moving to Node #0,0,4
Current State: 73:[11, 85], Operations: ['42+12=54', '31+54=85']
Exploring Operation: 11+85=96, Resulting Numbers: [96]
96,73 unequal: No Solution
Exploring Operation: 11*85=935, Resulting Numbers: [935]
935,73 unequal: No Solution
Exploring Operation: 85-11=74, Resulting Numbers: [74]
74,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[42, 12, 42], Operations: ['11+31=42']
Exploring Operation: 42-12=30, Resulting Numbers: [42, 30]
Generated Node #0,1,0: 73:[42, 30] Operation: 42-12=30
Exploring Operation: 42+12=54, Resulting Numbers: [42, 54]
Generated Node #0,1,1: 73:[42, 54] Operation: 42+12=54
Exploring Operation: 42+42=84, Resulting Numbers: [12, 84]
Generated Node #0,1,2: 73:[12, 84] Operation: 42+42=84
Exploring Operation: 12+42=54, Resulting Numbers: [42, 54]
Generated Node #0,1,3: 73:[42, 54] Operation: 12+42=54
Exploring Operation: 42-12=30, Resulting Numbers: [42, 30]
Generated Node #0,1,4: 73:[42, 30] Operation: 42-12=30
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[42, 54], Operations: ['11+31=42', '42+12=54']
Exploring Operation: 42+54=96, Resulting Numbers: [96]
96,73 unequal: No Solution
Exploring Operation: 42*54=2268, Resulting Numbers: [2268]
2268,73 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 73:[42, 54], Operations: ['11+31=42', '12+42=54']
Exploring Operation: 42*54=2268, Resulting Numbers: [2268]
2268,73 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 42+54=96, Resulting Numbers: [96]
96,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[12, 84], Operations: ['11+31=42', '42+42=84']
Exploring Operation: 12+84=96, Resulting Numbers: [96]
96,73 unequal: No Solution
Exploring Operation: 12*84=1008, Resulting Numbers: [1008]
1008,73 unequal: No Solution
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,73 unequal: No Solution
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[42, 30], Operations: ['11+31=42', '42-12=30']
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,73 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 73:[42, 30], Operations: ['11+31=42', '42-12=30']
Exploring Operation: 42*30=1260, Resulting Numbers: [1260]
1260,73 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[42, 31, 23], Operations: ['11+12=23']
Exploring Operation: 42-23=19, Resulting Numbers: [31, 19]
Generated Node #0,2,0: 73:[31, 19] Operation: 42-23=19
Exploring Operation: 31-23=8, Resulting Numbers: [42, 8]
Generated Node #0,2,1: 73:[42, 8] Operation: 31-23=8
Exploring Operation: 31+23=54, Resulting Numbers: [42, 54]
Generated Node #0,2,2: 73:[42, 54] Operation: 31+23=54
Exploring Operation: 42+31=73, Resulting Numbers: [23, 73]
Generated Node #0,2,3: 73:[23, 73] Operation: 42+31=73
Exploring Operation: 42+23=65, Resulting Numbers: [31, 65]
Generated Node #0,2,4: 73:[31, 65] Operation: 42+23=65
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 73:[42, 54], Operations: ['11+12=23', '31+23=54']
Exploring Operation: 42+54=96, Resulting Numbers: [96]
96,73 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 42*54=2268, Resulting Numbers: [2268]
2268,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,3
Current State: 73:[23, 73], Operations: ['11+12=23', '42+31=73']
Exploring Operation: 23*73=1679, Resulting Numbers: [1679]
1679,73 unequal: No Solution
Exploring Operation: 73-23=50, Resulting Numbers: [50]
50,73 unequal: No Solution
Exploring Operation: 23+73=96, Resulting Numbers: [96]
96,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,4
Current State: 73:[31, 65], Operations: ['11+12=23', '42+23=65']
Exploring Operation: 31*65=2015, Resulting Numbers: [2015]
2015,73 unequal: No Solution
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Exploring Operation: 31+65=96, Resulting Numbers: [96]
96,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,0
Current State: 73:[31, 19], Operations: ['11+12=23', '42-23=19']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,73 unequal: No Solution
Exploring Operation: 31*19=589, Resulting Numbers: [589]
589,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:[42, 8], Operations: ['11+12=23', '31-23=8']
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,73 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[11, 12, 73], Operations: ['42+31=73']
Exploring Operation: 11+73=84, Resulting Numbers: [12, 84]
Generated Node #0,3,0: 73:[12, 84] Operation: 11+73=84
Exploring Operation: 73-11=62, Resulting Numbers: [12, 62]
Generated Node #0,3,1: 73:[12, 62] Operation: 73-11=62
Exploring Operation: 11*12=132, Resulting Numbers: [73, 132]
Generated Node #0,3,2: 73:[73, 132] Operation: 11*12=132
Exploring Operation: 11+12=23, Resulting Numbers: [73, 23]
Generated Node #0,3,3: 73:[73, 23] Operation: 11+12=23
Exploring Operation: 12-11=1, Resulting Numbers: [73, 1]
Generated Node #0,3,4: 73:[73, 1] Operation: 12-11=1
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 73:[73, 23], Operations: ['42+31=73', '11+12=23']
Exploring Operation: 73*23=1679, Resulting Numbers: [1679]
1679,73 unequal: No Solution
Exploring Operation: 73+23=96, Resulting Numbers: [96]
96,73 unequal: No Solution
Exploring Operation: 73-23=50, Resulting Numbers: [50]
50,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,3,2
Current State: 73:[73, 132], Operations: ['42+31=73', '11*12=132']
Exploring Operation: 73*132=9636, Resulting Numbers: [9636]
9636,73 unequal: No Solution
Exploring Operation: 73+132=205, Resulting Numbers: [205]
205,73 unequal: No Solution
Exploring Operation: 132-73=59, Resulting Numbers: [59]
59,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,3,0
Current State: 73:[12, 84], Operations: ['42+31=73', '11+73=84']
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,73 unequal: No Solution
Exploring Operation: 12*84=1008, Resulting Numbers: [1008]
1008,73 unequal: No Solution
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 12+84=96, Resulting Numbers: [96]
96,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,3,1
Current State: 73:[12, 62], Operations: ['42+31=73', '73-11=62']
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,73 unequal: No Solution
Exploring Operation: 12+62=74, Resulting Numbers: [74]
74,73 unequal: No Solution
Exploring Operation: 12*62=744, Resulting Numbers: [744]
744,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,3,4
Current State: 73:[73, 1], Operations: ['42+31=73', '12-11=1']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[42, 11, 31, 12], Operations: []
Exploring Operation: 42+31=73, Resulting Numbers: [11, 12, 73]
Generated Node #0,3: 73:[11, 12, 73] Operation: 42+31=73
Moving to Node #0,3
Current State: 73:[11, 12, 73], Operations: ['42+31=73']
Exploring Operation: 12-11=1, Resulting Numbers: [73, 1]
Generated Node #0,3,4: 73:[73, 1] Operation: 12-11=1
Moving to Node #0,3,4
Current State: 73:[73, 1], Operations: ['42+31=73', '12-11=1']
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.921875 | hs_5 | sum_heuristic |
[
94,
94,
81,
13
] | 75 | [
"94-81=13",
"13*13=169",
"169-94=75"
] | Current State: 75:[94, 94, 81, 13], Operations: []
Exploring Operation: 94-81=13, Resulting Numbers: [13, 13]
Generated Node #2: [13, 13] from Operation: 94-81=13
Current State: 75:[13, 13], Operations: ['94-81=13']
Exploring Operation: 13*13=169, Resulting Numbers: [169]
169,75 equal: Goal Reached
Exploring Operation: 169-94=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[94, 94, 81, 13], Operations: []
Exploring Operation: 94/94=1, Resulting Numbers: [81, 13, 1]
Generated Node #0,0: 75:[81, 13, 1] Operation: 94/94=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[81, 13, 1], Operations: ['94/94=1']
Exploring Operation: 81-1=80, Resulting Numbers: [13, 80]
Generated Node #0,0,0: 75:[13, 80] Operation: 81-1=80
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[13, 80], Operations: ['94/94=1', '81-1=80']
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,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 | mult_heuristic |
[
9,
99,
34,
65
] | 20 | [
"99/9=11",
"65-34=31",
"31-11=20"
] | Current State: 20:[9, 99, 34, 65], Operations: []
Exploring Operation: 99/9=11, Resulting Numbers: [34, 65, 11]
Generated Node #2: [34, 65, 11] from Operation: 99/9=11
Current State: 20:[34, 65, 11], Operations: ['99/9=11']
Exploring Operation: 65-34=31, Resulting Numbers: [11, 31]
Generated Node #3: [11, 31] from Operation: 65-34=31
Current State: 20:[11, 31], Operations: ['99/9=11', '65-34=31']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[9, 99, 34, 65], Operations: []
Exploring Operation: 99-65=34, Resulting Numbers: [9, 34, 34]
Generated Node #0,0: 20:[9, 34, 34] Operation: 99-65=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[9, 34, 34], Operations: ['99-65=34']
Exploring Operation: 34/34=1, Resulting Numbers: [9, 1]
Generated Node #0,0,0: 20:[9, 1] Operation: 34/34=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[9, 1], Operations: ['99-65=34', '34/34=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
55,
98,
57,
32
] | 68 | [
"98-55=43",
"57-32=25",
"43+25=68"
] | Current State: 68:[55, 98, 57, 32], Operations: []
Exploring Operation: 98-55=43, Resulting Numbers: [57, 32, 43]
Generated Node #2: [57, 32, 43] from Operation: 98-55=43
Current State: 68:[57, 32, 43], Operations: ['98-55=43']
Exploring Operation: 57-32=25, Resulting Numbers: [43, 25]
Generated Node #3: [43, 25] from Operation: 57-32=25
Current State: 68:[43, 25], Operations: ['98-55=43', '57-32=25']
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[55, 98, 57, 32], Operations: []
Exploring Operation: 98-55=43, Resulting Numbers: [57, 32, 43]
Generated Node #0,0: 68:[57, 32, 43] Operation: 98-55=43
Exploring Operation: 98-57=41, Resulting Numbers: [55, 32, 41]
Generated Node #0,1: 68:[55, 32, 41] Operation: 98-57=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[57, 32, 43], Operations: ['98-55=43']
Exploring Operation: 57-43=14, Resulting Numbers: [32, 14]
Generated Node #0,0,0: 68:[32, 14] Operation: 57-43=14
Exploring Operation: 57-32=25, Resulting Numbers: [43, 25]
Generated Node #0,0,1: 68:[43, 25] Operation: 57-32=25
Moving to Node #0,0,0
Current State: 68:[32, 14], Operations: ['98-55=43', '57-43=14']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[43, 25], Operations: ['98-55=43', '57-32=25']
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[55, 98, 57, 32], Operations: []
Exploring Operation: 98-55=43, Resulting Numbers: [57, 32, 43]
Generated Node #0,0: 68:[57, 32, 43] Operation: 98-55=43
Moving to Node #0,0
Current State: 68:[57, 32, 43], Operations: ['98-55=43']
Exploring Operation: 57-32=25, Resulting Numbers: [43, 25]
Generated Node #0,0,1: 68:[43, 25] Operation: 57-32=25
Moving to Node #0,0,1
Current State: 68:[43, 25], Operations: ['98-55=43', '57-32=25']
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
64,
26,
62,
57
] | 70 | [
"64-62=2",
"26/2=13",
"57+13=70"
] | Current State: 70:[64, 26, 62, 57], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [26, 57, 2]
Generated Node #2: [26, 57, 2] from Operation: 64-62=2
Current State: 70:[26, 57, 2], Operations: ['64-62=2']
Exploring Operation: 26/2=13, Resulting Numbers: [57, 13]
Generated Node #3: [57, 13] from Operation: 26/2=13
Current State: 70:[57, 13], Operations: ['64-62=2', '26/2=13']
Exploring Operation: 57+13=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[64, 26, 62, 57], Operations: []
Exploring Operation: 57-26=31, Resulting Numbers: [64, 62, 31]
Generated Node #0,0: 70:[64, 62, 31] Operation: 57-26=31
Exploring Operation: 62-26=36, Resulting Numbers: [64, 57, 36]
Generated Node #0,1: 70:[64, 57, 36] Operation: 62-26=36
Exploring Operation: 64-57=7, Resulting Numbers: [26, 62, 7]
Generated Node #0,2: 70:[26, 62, 7] Operation: 64-57=7
Exploring Operation: 62-57=5, Resulting Numbers: [64, 26, 5]
Generated Node #0,3: 70:[64, 26, 5] Operation: 62-57=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[64, 26, 5], Operations: ['62-57=5']
Exploring Operation: 26-5=21, Resulting Numbers: [64, 21]
Generated Node #0,3,0: 70:[64, 21] Operation: 26-5=21
Exploring Operation: 64-26=38, Resulting Numbers: [5, 38]
Generated Node #0,3,1: 70:[5, 38] Operation: 64-26=38
Exploring Operation: 26+5=31, Resulting Numbers: [64, 31]
Generated Node #0,3,2: 70:[64, 31] Operation: 26+5=31
Exploring Operation: 64+5=69, Resulting Numbers: [26, 69]
Generated Node #0,3,3: 70:[26, 69] Operation: 64+5=69
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[5, 38], Operations: ['62-57=5', '64-26=38']
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,70 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,70 unequal: No Solution
No 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: 70:[64, 31], Operations: ['62-57=5', '26+5=31']
Exploring Operation: 64*31=1984, Resulting Numbers: [1984]
1984,70 unequal: No Solution
Exploring Operation: 64+31=95, Resulting Numbers: [95]
95,70 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,70 unequal: No Solution
No 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: 70:[26, 69], Operations: ['62-57=5', '64+5=69']
Exploring Operation: 26*69=1794, Resulting Numbers: [1794]
1794,70 unequal: No Solution
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 26+69=95, Resulting Numbers: [95]
95,70 unequal: No Solution
No 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: 70:[64, 21], Operations: ['62-57=5', '26-5=21']
Exploring Operation: 64+21=85, Resulting Numbers: [85]
85,70 unequal: No Solution
Exploring Operation: 64*21=1344, Resulting Numbers: [1344]
1344,70 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,70 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: 70:[26, 62, 7], Operations: ['64-57=7']
Exploring Operation: 62-26=36, Resulting Numbers: [7, 36]
Generated Node #0,2,0: 70:[7, 36] Operation: 62-26=36
Exploring Operation: 62+7=69, Resulting Numbers: [26, 69]
Generated Node #0,2,1: 70:[26, 69] Operation: 62+7=69
Exploring Operation: 26+7=33, Resulting Numbers: [62, 33]
Generated Node #0,2,2: 70:[62, 33] Operation: 26+7=33
Exploring Operation: 26-7=19, Resulting Numbers: [62, 19]
Generated Node #0,2,3: 70:[62, 19] Operation: 26-7=19
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[7, 36], Operations: ['64-57=7', '62-26=36']
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,70 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,70 unequal: No Solution
No 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: 70:[26, 69], Operations: ['64-57=7', '62+7=69']
Exploring Operation: 26+69=95, Resulting Numbers: [95]
95,70 unequal: No Solution
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 26*69=1794, Resulting Numbers: [1794]
1794,70 unequal: No Solution
No 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: 70:[62, 33], Operations: ['64-57=7', '26+7=33']
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,70 unequal: No Solution
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,70 unequal: No Solution
No 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: 70:[62, 19], Operations: ['64-57=7', '26-7=19']
Exploring Operation: 62+19=81, Resulting Numbers: [81]
81,70 unequal: No Solution
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 62*19=1178, Resulting Numbers: [1178]
1178,70 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: 70:[64, 62, 31], Operations: ['57-26=31']
Exploring Operation: 64-62=2, Resulting Numbers: [31, 2]
Generated Node #0,0,0: 70:[31, 2] Operation: 64-62=2
Exploring Operation: 64-31=33, Resulting Numbers: [62, 33]
Generated Node #0,0,1: 70:[62, 33] Operation: 64-31=33
Exploring Operation: 62/31=2, Resulting Numbers: [64, 2]
Generated Node #0,0,2: 70:[64, 2] Operation: 62/31=2
Exploring Operation: 62-31=31, Resulting Numbers: [64, 31]
Generated Node #0,0,3: 70:[64, 31] Operation: 62-31=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[31, 2], Operations: ['57-26=31', '64-62=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,70 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,70 unequal: No Solution
No 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: 70:[64, 2], Operations: ['57-26=31', '62/31=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,70 unequal: No Solution
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,70 unequal: No Solution
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,70 unequal: No Solution
No 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: 70:[62, 33], Operations: ['57-26=31', '64-31=33']
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,70 unequal: No Solution
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,70 unequal: No Solution
No 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: 70:[64, 31], Operations: ['57-26=31', '62-31=31']
Exploring Operation: 64+31=95, Resulting Numbers: [95]
95,70 unequal: No Solution
Exploring Operation: 64*31=1984, Resulting Numbers: [1984]
1984,70 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,70 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: 70:[64, 57, 36], Operations: ['62-26=36']
Exploring Operation: 64-36=28, Resulting Numbers: [57, 28]
Generated Node #0,1,0: 70:[57, 28] Operation: 64-36=28
Exploring Operation: 57+36=93, Resulting Numbers: [64, 93]
Generated Node #0,1,1: 70:[64, 93] Operation: 57+36=93
Exploring Operation: 57-36=21, Resulting Numbers: [64, 21]
Generated Node #0,1,2: 70:[64, 21] Operation: 57-36=21
Exploring Operation: 64-57=7, Resulting Numbers: [36, 7]
Generated Node #0,1,3: 70:[36, 7] Operation: 64-57=7
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 70:[36, 7], Operations: ['62-26=36', '64-57=7']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,70 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,70 unequal: No Solution
No 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: 70:[64, 21], Operations: ['62-26=36', '57-36=21']
Exploring Operation: 64*21=1344, Resulting Numbers: [1344]
1344,70 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 64+21=85, Resulting Numbers: [85]
85,70 unequal: No Solution
No 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: 70:[57, 28], Operations: ['62-26=36', '64-36=28']
Exploring Operation: 57+28=85, Resulting Numbers: [85]
85,70 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 57*28=1596, Resulting Numbers: [1596]
1596,70 unequal: No Solution
No 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: 70:[64, 93], Operations: ['62-26=36', '57+36=93']
Exploring Operation: 64*93=5952, Resulting Numbers: [5952]
5952,70 unequal: No Solution
Exploring Operation: 64+93=157, Resulting Numbers: [157]
157,70 unequal: No Solution
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,70 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 |
[
75,
49,
39,
64
] | 61 | [
"75*39=2925",
"64+2925=2989",
"2989/49=61"
] | Current State: 61:[75, 49, 39, 64], Operations: []
Exploring Operation: 75*39=2925, Resulting Numbers: [49, 64, 2925]
Generated Node #2: [49, 64, 2925] from Operation: 75*39=2925
Current State: 61:[49, 64, 2925], Operations: ['75*39=2925']
Exploring Operation: 64+2925=2989, Resulting Numbers: [49, 2989]
Generated Node #3: [49, 2989] from Operation: 64+2925=2989
Current State: 61:[49, 2989], Operations: ['75*39=2925', '64+2925=2989']
Exploring Operation: 2989/49=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[75, 49, 39, 64], Operations: []
Exploring Operation: 75-39=36, Resulting Numbers: [49, 64, 36]
Generated Node #0,0: 61:[49, 64, 36] Operation: 75-39=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[49, 64, 36], Operations: ['75-39=36']
Exploring Operation: 49+36=85, Resulting Numbers: [64, 85]
Generated Node #0,0,0: 61:[64, 85] Operation: 49+36=85
Moving to Node #0,0,0
Current State: 61:[64, 85], Operations: ['75-39=36', '49+36=85']
Exploring Operation: 85-64=21, Resulting Numbers: [21]
21,61 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 |
[
18,
6,
30,
5
] | 43 | [
"30/6=5",
"5*5=25",
"18+25=43"
] | Current State: 43:[18, 6, 30, 5], Operations: []
Exploring Operation: 30/6=5, Resulting Numbers: [18, 5, 5]
Generated Node #2: [18, 5, 5] from Operation: 30/6=5
Current State: 43:[18, 5, 5], Operations: ['30/6=5']
Exploring Operation: 5*5=25, Resulting Numbers: [18, 25]
Generated Node #3: [18, 25] from Operation: 5*5=25
Current State: 43:[18, 25], Operations: ['30/6=5', '5*5=25']
Exploring Operation: 18+25=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[18, 6, 30, 5], Operations: []
Exploring Operation: 6*5=30, Resulting Numbers: [18, 30, 30]
Generated Node #0,0: 43:[18, 30, 30] Operation: 6*5=30
Exploring Operation: 18+6=24, Resulting Numbers: [30, 5, 24]
Generated Node #0,1: 43:[30, 5, 24] Operation: 18+6=24
Exploring Operation: 18+5=23, Resulting Numbers: [6, 30, 23]
Generated Node #0,2: 43:[6, 30, 23] Operation: 18+5=23
Moving to Node #0,0
Current State: 43:[18, 30, 30], Operations: ['6*5=30']
Exploring Operation: 18+30=48, Resulting Numbers: [30, 48]
Generated Node #0,0,0: 43:[30, 48] Operation: 18+30=48
Exploring Operation: 30+30=60, Resulting Numbers: [18, 60]
Generated Node #0,0,1: 43:[18, 60] Operation: 30+30=60
Exploring Operation: 18+30=48, Resulting Numbers: [30, 48]
Generated Node #0,0,2: 43:[30, 48] Operation: 18+30=48
Moving to Node #0,1
Current State: 43:[30, 5, 24], Operations: ['18+6=24']
Exploring Operation: 30+5=35, Resulting Numbers: [24, 35]
Generated Node #0,1,0: 43:[24, 35] Operation: 30+5=35
Exploring Operation: 5+24=29, Resulting Numbers: [30, 29]
Generated Node #0,1,1: 43:[30, 29] Operation: 5+24=29
Exploring Operation: 30-5=25, Resulting Numbers: [24, 25]
Generated Node #0,1,2: 43:[24, 25] Operation: 30-5=25
Moving to Node #0,2
Current State: 43:[6, 30, 23], Operations: ['18+5=23']
Exploring Operation: 30-6=24, Resulting Numbers: [23, 24]
Generated Node #0,2,0: 43:[23, 24] Operation: 30-6=24
Exploring Operation: 6+30=36, Resulting Numbers: [23, 36]
Generated Node #0,2,1: 43:[23, 36] Operation: 6+30=36
Exploring Operation: 6+23=29, Resulting Numbers: [30, 29]
Generated Node #0,2,2: 43:[30, 29] Operation: 6+23=29
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 43:[23, 36], Operations: ['18+5=23', '6+30=36']
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Exploring Operation: 23*36=828, Resulting Numbers: [828]
828,43 unequal: No Solution
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,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:[30, 29], Operations: ['18+5=23', '6+23=29']
Exploring Operation: 30*29=870, Resulting Numbers: [870]
870,43 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,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,0
Current State: 43:[23, 24], Operations: ['18+5=23', '30-6=24']
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,43 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 43:[30, 48], Operations: ['6*5=30', '18+30=48']
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,43 unequal: No Solution
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[30, 48], Operations: ['6*5=30', '18+30=48']
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,43 unequal: No Solution
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[30, 29], Operations: ['18+6=24', '5+24=29']
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 30*29=870, Resulting Numbers: [870]
870,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[24, 35], Operations: ['18+6=24', '30+5=35']
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,43 unequal: No Solution
Exploring Operation: 24*35=840, Resulting Numbers: [840]
840,43 unequal: No Solution
Exploring Operation: 24+35=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[24, 25], Operations: ['18+6=24', '30-5=25']
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,43 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[18, 60], Operations: ['6*5=30', '30+30=60']
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,43 unequal: No Solution
Exploring Operation: 18*60=1080, Resulting Numbers: [1080]
1080,43 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
88,
36,
71,
4
] | 23 | [
"88-36=52",
"71+4=75",
"75-52=23"
] | Current State: 23:[88, 36, 71, 4], Operations: []
Exploring Operation: 88-36=52, Resulting Numbers: [71, 4, 52]
Generated Node #2: [71, 4, 52] from Operation: 88-36=52
Current State: 23:[71, 4, 52], Operations: ['88-36=52']
Exploring Operation: 71+4=75, Resulting Numbers: [52, 75]
Generated Node #3: [52, 75] from Operation: 71+4=75
Current State: 23:[52, 75], Operations: ['88-36=52', '71+4=75']
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[88, 36, 71, 4], Operations: []
Exploring Operation: 88-71=17, Resulting Numbers: [36, 4, 17]
Generated Node #0,0: 23:[36, 4, 17] Operation: 88-71=17
Moving to Node #0,0
Current State: 23:[36, 4, 17], Operations: ['88-71=17']
Exploring Operation: 36-4=32, Resulting Numbers: [17, 32]
Generated Node #0,0,0: 23:[17, 32] Operation: 36-4=32
Moving to Node #0,0,0
Current State: 23:[17, 32], Operations: ['88-71=17', '36-4=32']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,23 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
28,
30,
57,
35
] | 83 | [
"35-30=5",
"28*5=140",
"140-57=83"
] | Current State: 83:[28, 30, 57, 35], Operations: []
Exploring Operation: 35-30=5, Resulting Numbers: [28, 57, 5]
Generated Node #2: [28, 57, 5] from Operation: 35-30=5
Current State: 83:[28, 57, 5], Operations: ['35-30=5']
Exploring Operation: 28*5=140, Resulting Numbers: [57, 140]
Generated Node #3: [57, 140] from Operation: 28*5=140
Current State: 83:[57, 140], Operations: ['35-30=5', '28*5=140']
Exploring Operation: 140-57=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[28, 30, 57, 35], Operations: []
Exploring Operation: 28+30=58, Resulting Numbers: [57, 35, 58]
Generated Node #0,0: 83:[57, 35, 58] Operation: 28+30=58
Exploring Operation: 30+35=65, Resulting Numbers: [28, 57, 65]
Generated Node #0,1: 83:[28, 57, 65] Operation: 30+35=65
Exploring Operation: 28+35=63, Resulting Numbers: [30, 57, 63]
Generated Node #0,2: 83:[30, 57, 63] Operation: 28+35=63
Moving to Node #0,0
Current State: 83:[57, 35, 58], Operations: ['28+30=58']
Exploring Operation: 57+35=92, Resulting Numbers: [58, 92]
Generated Node #0,0,0: 83:[58, 92] Operation: 57+35=92
Exploring Operation: 57+58=115, Resulting Numbers: [35, 115]
Generated Node #0,0,1: 83:[35, 115] Operation: 57+58=115
Exploring Operation: 35+58=93, Resulting Numbers: [57, 93]
Generated Node #0,0,2: 83:[57, 93] Operation: 35+58=93
Moving to Node #0,1
Current State: 83:[28, 57, 65], Operations: ['30+35=65']
Exploring Operation: 28+57=85, Resulting Numbers: [65, 85]
Generated Node #0,1,0: 83:[65, 85] Operation: 28+57=85
Exploring Operation: 57-28=29, Resulting Numbers: [65, 29]
Generated Node #0,1,1: 83:[65, 29] Operation: 57-28=29
Exploring Operation: 28+65=93, Resulting Numbers: [57, 93]
Generated Node #0,1,2: 83:[57, 93] Operation: 28+65=93
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[65, 85], Operations: ['30+35=65', '28+57=85']
Exploring Operation: 65+85=150, Resulting Numbers: [150]
150,83 unequal: No Solution
Exploring Operation: 65*85=5525, Resulting Numbers: [5525]
5525,83 unequal: No Solution
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[57, 93], Operations: ['30+35=65', '28+65=93']
Exploring Operation: 57*93=5301, Resulting Numbers: [5301]
5301,83 unequal: No Solution
Exploring Operation: 57+93=150, Resulting Numbers: [150]
150,83 unequal: No Solution
Exploring Operation: 93-57=36, Resulting Numbers: [36]
36,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[65, 29], Operations: ['30+35=65', '57-28=29']
Exploring Operation: 65*29=1885, Resulting Numbers: [1885]
1885,83 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 65+29=94, Resulting Numbers: [94]
94,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:[30, 57, 63], Operations: ['28+35=63']
Exploring Operation: 30+63=93, Resulting Numbers: [57, 93]
Generated Node #0,2,0: 83:[57, 93] Operation: 30+63=93
Exploring Operation: 30+57=87, Resulting Numbers: [63, 87]
Generated Node #0,2,1: 83:[63, 87] Operation: 30+57=87
Exploring Operation: 57-30=27, Resulting Numbers: [63, 27]
Generated Node #0,2,2: 83:[63, 27] Operation: 57-30=27
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[63, 87], Operations: ['28+35=63', '30+57=87']
Exploring Operation: 63+87=150, Resulting Numbers: [150]
150,83 unequal: No Solution
Exploring Operation: 63*87=5481, Resulting Numbers: [5481]
5481,83 unequal: No Solution
Exploring Operation: 87-63=24, Resulting Numbers: [24]
24,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:[57, 93], Operations: ['28+35=63', '30+63=93']
Exploring Operation: 57+93=150, Resulting Numbers: [150]
150,83 unequal: No Solution
Exploring Operation: 93-57=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 57*93=5301, Resulting Numbers: [5301]
5301,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:[63, 27], Operations: ['28+35=63', '57-30=27']
Exploring Operation: 63*27=1701, Resulting Numbers: [1701]
1701,83 unequal: No Solution
Exploring Operation: 63+27=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 83:[58, 92], Operations: ['28+30=58', '57+35=92']
Exploring Operation: 92-58=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 58+92=150, Resulting Numbers: [150]
150,83 unequal: No Solution
Exploring Operation: 58*92=5336, Resulting Numbers: [5336]
5336,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[57, 93], Operations: ['28+30=58', '35+58=93']
Exploring Operation: 93-57=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 57+93=150, Resulting Numbers: [150]
150,83 unequal: No Solution
Exploring Operation: 57*93=5301, Resulting Numbers: [5301]
5301,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[35, 115], Operations: ['28+30=58', '57+58=115']
Exploring Operation: 35+115=150, Resulting Numbers: [150]
150,83 unequal: No Solution
Exploring Operation: 115-35=80, Resulting Numbers: [80]
80,83 unequal: No Solution
Exploring Operation: 35*115=4025, Resulting Numbers: [4025]
4025,83 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
45,
10,
66,
20
] | 89 | [
"45+66=111",
"10*20=200",
"200-111=89"
] | Current State: 89:[45, 10, 66, 20], Operations: []
Exploring Operation: 45+66=111, Resulting Numbers: [10, 20, 111]
Generated Node #2: [10, 20, 111] from Operation: 45+66=111
Current State: 89:[10, 20, 111], Operations: ['45+66=111']
Exploring Operation: 10*20=200, Resulting Numbers: [111, 200]
Generated Node #3: [111, 200] from Operation: 10*20=200
Current State: 89:[111, 200], Operations: ['45+66=111', '10*20=200']
Exploring Operation: 200-111=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[45, 10, 66, 20], Operations: []
Exploring Operation: 45+10=55, Resulting Numbers: [66, 20, 55]
Generated Node #0,0: 89:[66, 20, 55] Operation: 45+10=55
Moving to Node #0,0
Current State: 89:[66, 20, 55], Operations: ['45+10=55']
Exploring Operation: 66+20=86, Resulting Numbers: [55, 86]
Generated Node #0,0,0: 89:[55, 86] Operation: 66+20=86
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[55, 86], Operations: ['45+10=55', '66+20=86']
Exploring Operation: 55+86=141, Resulting Numbers: [141]
141,89 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,
75,
31,
87
] | 62 | [
"75-19=56",
"31+87=118",
"118-56=62"
] | Current State: 62:[19, 75, 31, 87], Operations: []
Exploring Operation: 75-19=56, Resulting Numbers: [31, 87, 56]
Generated Node #2: [31, 87, 56] from Operation: 75-19=56
Current State: 62:[31, 87, 56], Operations: ['75-19=56']
Exploring Operation: 31+87=118, Resulting Numbers: [56, 118]
Generated Node #3: [56, 118] from Operation: 31+87=118
Current State: 62:[56, 118], Operations: ['75-19=56', '31+87=118']
Exploring Operation: 118-56=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[19, 75, 31, 87], Operations: []
Exploring Operation: 87-19=68, Resulting Numbers: [75, 31, 68]
Generated Node #0,0: 62:[75, 31, 68] Operation: 87-19=68
Exploring Operation: 87-31=56, Resulting Numbers: [19, 75, 56]
Generated Node #0,1: 62:[19, 75, 56] Operation: 87-31=56
Exploring Operation: 75-19=56, Resulting Numbers: [31, 87, 56]
Generated Node #0,2: 62:[31, 87, 56] Operation: 75-19=56
Exploring Operation: 87-75=12, Resulting Numbers: [19, 31, 12]
Generated Node #0,3: 62:[19, 31, 12] Operation: 87-75=12
Moving to Node #0,0
Current State: 62:[75, 31, 68], Operations: ['87-19=68']
Exploring Operation: 75+31=106, Resulting Numbers: [68, 106]
Generated Node #0,0,0: 62:[68, 106] Operation: 75+31=106
Exploring Operation: 75-31=44, Resulting Numbers: [68, 44]
Generated Node #0,0,1: 62:[68, 44] Operation: 75-31=44
Exploring Operation: 68-31=37, Resulting Numbers: [75, 37]
Generated Node #0,0,2: 62:[75, 37] Operation: 68-31=37
Exploring Operation: 75-68=7, Resulting Numbers: [31, 7]
Generated Node #0,0,3: 62:[31, 7] Operation: 75-68=7
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 62:[31, 7], Operations: ['87-19=68', '75-68=7']
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,62 unequal: No Solution
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[68, 44], Operations: ['87-19=68', '75-31=44']
Exploring Operation: 68+44=112, Resulting Numbers: [112]
112,62 unequal: No Solution
Exploring Operation: 68-44=24, Resulting Numbers: [24]
24,62 unequal: No Solution
Exploring Operation: 68*44=2992, Resulting Numbers: [2992]
2992,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[75, 37], Operations: ['87-19=68', '68-31=37']
Exploring Operation: 75*37=2775, Resulting Numbers: [2775]
2775,62 unequal: No Solution
Exploring Operation: 75+37=112, Resulting Numbers: [112]
112,62 unequal: No Solution
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[68, 106], Operations: ['87-19=68', '75+31=106']
Exploring Operation: 68*106=7208, Resulting Numbers: [7208]
7208,62 unequal: No Solution
Exploring Operation: 68+106=174, Resulting Numbers: [174]
174,62 unequal: No Solution
Exploring Operation: 106-68=38, Resulting Numbers: [38]
38,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 62:[19, 31, 12], Operations: ['87-75=12']
Exploring Operation: 19+12=31, Resulting Numbers: [31, 31]
Generated Node #0,3,0: 62:[31, 31] Operation: 19+12=31
Exploring Operation: 31-19=12, Resulting Numbers: [12, 12]
Generated Node #0,3,1: 62:[12, 12] Operation: 31-19=12
Exploring Operation: 19+31=50, Resulting Numbers: [12, 50]
Generated Node #0,3,2: 62:[12, 50] Operation: 19+31=50
Exploring Operation: 19-12=7, Resulting Numbers: [31, 7]
Generated Node #0,3,3: 62:[31, 7] Operation: 19-12=7
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 62:[31, 31], Operations: ['87-75=12', '19+12=31']
Exploring Operation: 31/31=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 31*31=961, Resulting Numbers: [961]
961,62 unequal: No Solution
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[19, 75, 31, 87], Operations: []
Exploring Operation: 87-75=12, Resulting Numbers: [19, 31, 12]
Generated Node #0,3: 62:[19, 31, 12] Operation: 87-75=12
Moving to Node #0,3
Current State: 62:[19, 31, 12], Operations: ['87-75=12']
Exploring Operation: 19+12=31, Resulting Numbers: [31, 31]
Generated Node #0,3,0: 62:[31, 31] Operation: 19+12=31
Moving to Node #0,3,0
Current State: 62:[31, 31], Operations: ['87-75=12', '19+12=31']
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
32,
42,
24,
48
] | 62 | [
"42-32=10",
"24+48=72",
"72-10=62"
] | Current State: 62:[32, 42, 24, 48], Operations: []
Exploring Operation: 42-32=10, Resulting Numbers: [24, 48, 10]
Generated Node #2: [24, 48, 10] from Operation: 42-32=10
Current State: 62:[24, 48, 10], Operations: ['42-32=10']
Exploring Operation: 24+48=72, Resulting Numbers: [10, 72]
Generated Node #3: [10, 72] from Operation: 24+48=72
Current State: 62:[10, 72], Operations: ['42-32=10', '24+48=72']
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[32, 42, 24, 48], Operations: []
Exploring Operation: 48-42=6, Resulting Numbers: [32, 24, 6]
Generated Node #0,0: 62:[32, 24, 6] Operation: 48-42=6
Moving to Node #0,0
Current State: 62:[32, 24, 6], Operations: ['48-42=6']
Exploring Operation: 24+6=30, Resulting Numbers: [32, 30]
Generated Node #0,0,0: 62:[32, 30] Operation: 24+6=30
Moving to Node #0,0,0
Current State: 62:[32, 30], Operations: ['48-42=6', '24+6=30']
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[32, 42, 24, 48], Operations: []
Exploring Operation: 48-42=6, Resulting Numbers: [32, 24, 6]
Generated Node #0,0: 62:[32, 24, 6] Operation: 48-42=6
Moving to Node #0,0
Current State: 62:[32, 24, 6], Operations: ['48-42=6']
Exploring Operation: 24+6=30, Resulting Numbers: [32, 30]
Generated Node #0,0,0: 62:[32, 30] Operation: 24+6=30
Moving to Node #0,0,0
Current State: 62:[32, 30], Operations: ['48-42=6', '24+6=30']
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
95,
19,
94,
95
] | 94 | [
"95-95=0",
"19*0=0",
"94+0=94"
] | Current State: 94:[95, 19, 94, 95], Operations: []
Exploring Operation: 95-95=0, Resulting Numbers: [19, 94, 0]
Generated Node #2: [19, 94, 0] from Operation: 95-95=0
Current State: 94:[19, 94, 0], Operations: ['95-95=0']
Exploring Operation: 19*0=0, Resulting Numbers: [94, 0]
Generated Node #3: [94, 0] from Operation: 19*0=0
Current State: 94:[94, 0], Operations: ['95-95=0', '19*0=0']
Exploring Operation: 94+0=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[95, 19, 94, 95], Operations: []
Exploring Operation: 95/19=5, Resulting Numbers: [94, 95, 5]
Generated Node #0,0: 94:[94, 95, 5] Operation: 95/19=5
Exploring Operation: 95/19=5, Resulting Numbers: [95, 94, 5]
Generated Node #0,1: 94:[95, 94, 5] Operation: 95/19=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[94, 95, 5], Operations: ['95/19=5']
Exploring Operation: 95-94=1, Resulting Numbers: [5, 1]
Generated Node #0,0,0: 94:[5, 1] Operation: 95-94=1
Exploring Operation: 95-5=90, Resulting Numbers: [94, 90]
Generated Node #0,0,1: 94:[94, 90] Operation: 95-5=90
Moving to Node #0,0,0
Current State: 94:[5, 1], Operations: ['95/19=5', '95-94=1']
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[94, 90], Operations: ['95/19=5', '95-5=90']
Exploring Operation: 94+90=184, Resulting Numbers: [184]
184,94 unequal: No Solution
Exploring Operation: 94-90=4, Resulting Numbers: [4]
4,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[95, 94, 5], Operations: ['95/19=5']
Exploring Operation: 95-94=1, Resulting Numbers: [5, 1]
Generated Node #0,1,0: 94:[5, 1] Operation: 95-94=1
Exploring Operation: 95-5=90, Resulting Numbers: [94, 90]
Generated Node #0,1,1: 94:[94, 90] Operation: 95-5=90
Moving to Node #0,1,0
Current State: 94:[5, 1], Operations: ['95/19=5', '95-94=1']
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[94, 90], Operations: ['95/19=5', '95-5=90']
Exploring Operation: 94+90=184, Resulting Numbers: [184]
184,94 unequal: No Solution
Exploring Operation: 94-90=4, Resulting Numbers: [4]
4,94 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 |
[
28,
60,
4,
60
] | 31 | [
"28+4=32",
"60/60=1",
"32-1=31"
] | Current State: 31:[28, 60, 4, 60], Operations: []
Exploring Operation: 28+4=32, Resulting Numbers: [60, 60, 32]
Generated Node #2: [60, 60, 32] from Operation: 28+4=32
Current State: 31:[60, 60, 32], Operations: ['28+4=32']
Exploring Operation: 60/60=1, Resulting Numbers: [32, 1]
Generated Node #3: [32, 1] from Operation: 60/60=1
Current State: 31:[32, 1], Operations: ['28+4=32', '60/60=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[28, 60, 4, 60], Operations: []
Exploring Operation: 60/4=15, Resulting Numbers: [28, 60, 15]
Generated Node #0,0: 31:[28, 60, 15] Operation: 60/4=15
Exploring Operation: 60/4=15, Resulting Numbers: [28, 60, 15]
Generated Node #0,1: 31:[28, 60, 15] Operation: 60/4=15
Moving to Node #0,0
Current State: 31:[28, 60, 15], Operations: ['60/4=15']
Exploring Operation: 60-15=45, Resulting Numbers: [28, 45]
Generated Node #0,0,0: 31:[28, 45] Operation: 60-15=45
Exploring Operation: 60-28=32, Resulting Numbers: [15, 32]
Generated Node #0,0,1: 31:[15, 32] Operation: 60-28=32
Moving to Node #0,1
Current State: 31:[28, 60, 15], Operations: ['60/4=15']
Exploring Operation: 60-28=32, Resulting Numbers: [15, 32]
Generated Node #0,1,0: 31:[15, 32] Operation: 60-28=32
Exploring Operation: 60-15=45, Resulting Numbers: [28, 45]
Generated Node #0,1,1: 31:[28, 45] Operation: 60-15=45
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[15, 32], Operations: ['60/4=15', '60-28=32']
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,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,1
Current State: 31:[28, 45], Operations: ['60/4=15', '60-15=45']
Exploring Operation: 28+45=73, Resulting Numbers: [73]
73,31 unequal: No Solution
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 31:[28, 45], Operations: ['60/4=15', '60-15=45']
Exploring Operation: 28+45=73, Resulting Numbers: [73]
73,31 unequal: No Solution
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[15, 32], Operations: ['60/4=15', '60-28=32']
Exploring Operation: 15+32=47, Resulting Numbers: [47]
47,31 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,31 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
70,
63,
54,
40
] | 20 | [
"70*54=3780",
"3780/63=60",
"60-40=20"
] | Current State: 20:[70, 63, 54, 40], Operations: []
Exploring Operation: 70*54=3780, Resulting Numbers: [63, 40, 3780]
Generated Node #2: [63, 40, 3780] from Operation: 70*54=3780
Current State: 20:[63, 40, 3780], Operations: ['70*54=3780']
Exploring Operation: 3780/63=60, Resulting Numbers: [40, 60]
Generated Node #3: [40, 60] from Operation: 3780/63=60
Current State: 20:[40, 60], Operations: ['70*54=3780', '3780/63=60']
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[70, 63, 54, 40], Operations: []
Exploring Operation: 70-63=7, Resulting Numbers: [54, 40, 7]
Generated Node #0,0: 20:[54, 40, 7] Operation: 70-63=7
Exploring Operation: 70-54=16, Resulting Numbers: [63, 40, 16]
Generated Node #0,1: 20:[63, 40, 16] Operation: 70-54=16
Exploring Operation: 63-54=9, Resulting Numbers: [70, 40, 9]
Generated Node #0,2: 20:[70, 40, 9] Operation: 63-54=9
Exploring Operation: 70-40=30, Resulting Numbers: [63, 54, 30]
Generated Node #0,3: 20:[63, 54, 30] Operation: 70-40=30
Moving to Node #0,0
Current State: 20:[54, 40, 7], Operations: ['70-63=7']
Exploring Operation: 54+7=61, Resulting Numbers: [40, 61]
Generated Node #0,0,0: 20:[40, 61] Operation: 54+7=61
Exploring Operation: 40-7=33, Resulting Numbers: [54, 33]
Generated Node #0,0,1: 20:[54, 33] Operation: 40-7=33
Exploring Operation: 54-40=14, Resulting Numbers: [7, 14]
Generated Node #0,0,2: 20:[7, 14] Operation: 54-40=14
Exploring Operation: 54-7=47, Resulting Numbers: [40, 47]
Generated Node #0,0,3: 20:[40, 47] Operation: 54-7=47
Moving to Node #0,1
Current State: 20:[63, 40, 16], Operations: ['70-54=16']
Exploring Operation: 63+16=79, Resulting Numbers: [40, 79]
Generated Node #0,1,0: 20:[40, 79] Operation: 63+16=79
Exploring Operation: 40-16=24, Resulting Numbers: [63, 24]
Generated Node #0,1,1: 20:[63, 24] Operation: 40-16=24
Exploring Operation: 63-16=47, Resulting Numbers: [40, 47]
Generated Node #0,1,2: 20:[40, 47] Operation: 63-16=47
Exploring Operation: 63-40=23, Resulting Numbers: [16, 23]
Generated Node #0,1,3: 20:[16, 23] Operation: 63-40=23
Moving to Node #0,2
Current State: 20:[70, 40, 9], Operations: ['63-54=9']
Exploring Operation: 70+9=79, Resulting Numbers: [40, 79]
Generated Node #0,2,0: 20:[40, 79] Operation: 70+9=79
Exploring Operation: 40-9=31, Resulting Numbers: [70, 31]
Generated Node #0,2,1: 20:[70, 31] Operation: 40-9=31
Exploring Operation: 70-9=61, Resulting Numbers: [40, 61]
Generated Node #0,2,2: 20:[40, 61] Operation: 70-9=61
Exploring Operation: 70-40=30, Resulting Numbers: [9, 30]
Generated Node #0,2,3: 20:[9, 30] Operation: 70-40=30
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 20:[9, 30], Operations: ['63-54=9', '70-40=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[70, 31], Operations: ['63-54=9', '40-9=31']
Exploring Operation: 70+31=101, Resulting Numbers: [101]
101,20 unequal: No Solution
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 70*31=2170, Resulting Numbers: [2170]
2170,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[40, 61], Operations: ['63-54=9', '70-9=61']
Exploring Operation: 40+61=101, Resulting Numbers: [101]
101,20 unequal: No Solution
Exploring Operation: 40*61=2440, Resulting Numbers: [2440]
2440,20 unequal: No Solution
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[40, 79], Operations: ['63-54=9', '70+9=79']
Exploring Operation: 40*79=3160, Resulting Numbers: [3160]
3160,20 unequal: No Solution
Exploring Operation: 79-40=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 40+79=119, Resulting Numbers: [119]
119,20 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: 20:[63, 54, 30], Operations: ['70-40=30']
Exploring Operation: 63-54=9, Resulting Numbers: [30, 9]
Generated Node #0,3,0: 20:[30, 9] Operation: 63-54=9
Exploring Operation: 54-30=24, Resulting Numbers: [63, 24]
Generated Node #0,3,1: 20:[63, 24] Operation: 54-30=24
Exploring Operation: 63-30=33, Resulting Numbers: [54, 33]
Generated Node #0,3,2: 20:[54, 33] Operation: 63-30=33
Exploring Operation: 63+54=117, Resulting Numbers: [30, 117]
Generated Node #0,3,3: 20:[30, 117] Operation: 63+54=117
Moving to Node #0,0,2
Current State: 20:[7, 14], Operations: ['70-63=7', '54-40=14']
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,20 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Moving to Node #0,1,3
Current State: 20:[16, 23], Operations: ['70-54=16', '63-40=23']
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,20 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Moving to Node #0,3,0
Current State: 20:[30, 9], Operations: ['70-40=30', '63-54=9']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,20 unequal: No Solution
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Moving to Node #0,0,3
Current State: 20:[40, 47], Operations: ['70-63=7', '54-7=47']
Exploring Operation: 40*47=1880, Resulting Numbers: [1880]
1880,20 unequal: No Solution
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 40+47=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[40, 47], Operations: ['70-54=16', '63-16=47']
Exploring Operation: 40*47=1880, Resulting Numbers: [1880]
1880,20 unequal: No Solution
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 40+47=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[54, 33], Operations: ['70-40=30', '63-30=33']
Exploring Operation: 54*33=1782, Resulting Numbers: [1782]
1782,20 unequal: No Solution
Exploring Operation: 54+33=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[63, 24], Operations: ['70-54=16', '40-16=24']
Exploring Operation: 63*24=1512, Resulting Numbers: [1512]
1512,20 unequal: No Solution
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 63+24=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[54, 33], Operations: ['70-63=7', '40-7=33']
Exploring Operation: 54*33=1782, Resulting Numbers: [1782]
1782,20 unequal: No Solution
Exploring Operation: 54+33=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Moving to Node #0,3,1
Current State: 20:[63, 24], Operations: ['70-40=30', '54-30=24']
Exploring Operation: 63*24=1512, Resulting Numbers: [1512]
1512,20 unequal: No Solution
Exploring Operation: 63+24=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[40, 61], Operations: ['70-63=7', '54+7=61']
Exploring Operation: 40+61=101, Resulting Numbers: [101]
101,20 unequal: No Solution
Exploring Operation: 40*61=2440, Resulting Numbers: [2440]
2440,20 unequal: No Solution
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[40, 79], Operations: ['70-54=16', '63+16=79']
Exploring Operation: 40+79=119, Resulting Numbers: [119]
119,20 unequal: No Solution
Exploring Operation: 79-40=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 40*79=3160, Resulting Numbers: [3160]
3160,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[30, 117], Operations: ['70-40=30', '63+54=117']
Exploring Operation: 30*117=3510, Resulting Numbers: [3510]
3510,20 unequal: No Solution
Exploring Operation: 117-30=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 30+117=147, Resulting Numbers: [147]
147,20 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
78,
44,
63,
39
] | 41 | [
"78/39=2",
"44/2=22",
"63-22=41"
] | Current State: 41:[78, 44, 63, 39], Operations: []
Exploring Operation: 78/39=2, Resulting Numbers: [44, 63, 2]
Generated Node #2: [44, 63, 2] from Operation: 78/39=2
Current State: 41:[44, 63, 2], Operations: ['78/39=2']
Exploring Operation: 44/2=22, Resulting Numbers: [63, 22]
Generated Node #3: [63, 22] from Operation: 44/2=22
Current State: 41:[63, 22], Operations: ['78/39=2', '44/2=22']
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[78, 44, 63, 39], Operations: []
Exploring Operation: 78-39=39, Resulting Numbers: [44, 63, 39]
Generated Node #0,0: 41:[44, 63, 39] Operation: 78-39=39
Exploring Operation: 78-44=34, Resulting Numbers: [63, 39, 34]
Generated Node #0,1: 41:[63, 39, 34] Operation: 78-44=34
Moving to Node #0,0
Current State: 41:[44, 63, 39], Operations: ['78-39=39']
Exploring Operation: 63-44=19, Resulting Numbers: [39, 19]
Generated Node #0,0,0: 41:[39, 19] Operation: 63-44=19
Exploring Operation: 63-39=24, Resulting Numbers: [44, 24]
Generated Node #0,0,1: 41:[44, 24] Operation: 63-39=24
Moving to Node #0,1
Current State: 41:[63, 39, 34], Operations: ['78-44=34']
Exploring Operation: 63-34=29, Resulting Numbers: [39, 29]
Generated Node #0,1,0: 41:[39, 29] Operation: 63-34=29
Exploring Operation: 63-39=24, Resulting Numbers: [34, 24]
Generated Node #0,1,1: 41:[34, 24] Operation: 63-39=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[39, 29], Operations: ['78-44=34', '63-34=29']
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 39+29=68, Resulting Numbers: [68]
68,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[34, 24], Operations: ['78-44=34', '63-39=24']
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,41 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: 41:[44, 24], Operations: ['78-39=39', '63-39=24']
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[39, 19], Operations: ['78-39=39', '63-44=19']
Exploring Operation: 39+19=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,41 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
10,
8,
82,
93
] | 71 | [
"10-8=2",
"82*2=164",
"164-93=71"
] | Current State: 71:[10, 8, 82, 93], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [82, 93, 2]
Generated Node #2: [82, 93, 2] from Operation: 10-8=2
Current State: 71:[82, 93, 2], Operations: ['10-8=2']
Exploring Operation: 82*2=164, Resulting Numbers: [93, 164]
Generated Node #3: [93, 164] from Operation: 82*2=164
Current State: 71:[93, 164], Operations: ['10-8=2', '82*2=164']
Exploring Operation: 164-93=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[10, 8, 82, 93], Operations: []
Exploring Operation: 10+8=18, Resulting Numbers: [82, 93, 18]
Generated Node #0,0: 71:[82, 93, 18] Operation: 10+8=18
Exploring Operation: 82-10=72, Resulting Numbers: [8, 93, 72]
Generated Node #0,1: 71:[8, 93, 72] Operation: 82-10=72
Exploring Operation: 82-8=74, Resulting Numbers: [10, 93, 74]
Generated Node #0,2: 71:[10, 93, 74] Operation: 82-8=74
Exploring Operation: 10*8=80, Resulting Numbers: [82, 93, 80]
Generated Node #0,3: 71:[82, 93, 80] Operation: 10*8=80
Exploring Operation: 93-10=83, Resulting Numbers: [8, 82, 83]
Generated Node #0,4: 71:[8, 82, 83] Operation: 93-10=83
Moving to Node #0,3
Current State: 71:[82, 93, 80], Operations: ['10*8=80']
Exploring Operation: 82-80=2, Resulting Numbers: [93, 2]
Generated Node #0,3,0: 71:[93, 2] Operation: 82-80=2
Exploring Operation: 82+93=175, Resulting Numbers: [80, 175]
Generated Node #0,3,1: 71:[80, 175] Operation: 82+93=175
Exploring Operation: 93-82=11, Resulting Numbers: [80, 11]
Generated Node #0,3,2: 71:[80, 11] Operation: 93-82=11
Exploring Operation: 93-80=13, Resulting Numbers: [82, 13]
Generated Node #0,3,3: 71:[82, 13] Operation: 93-80=13
Exploring Operation: 82+80=162, Resulting Numbers: [93, 162]
Generated Node #0,3,4: 71:[93, 162] Operation: 82+80=162
Moving to Node #0,1
Current State: 71:[8, 93, 72], Operations: ['82-10=72']
Exploring Operation: 93-8=85, Resulting Numbers: [72, 85]
Generated Node #0,1,0: 71:[72, 85] Operation: 93-8=85
Exploring Operation: 72-8=64, Resulting Numbers: [93, 64]
Generated Node #0,1,1: 71:[93, 64] Operation: 72-8=64
Exploring Operation: 72/8=9, Resulting Numbers: [93, 9]
Generated Node #0,1,2: 71:[93, 9] Operation: 72/8=9
Exploring Operation: 8+72=80, Resulting Numbers: [93, 80]
Generated Node #0,1,3: 71:[93, 80] Operation: 8+72=80
Exploring Operation: 8+93=101, Resulting Numbers: [72, 101]
Generated Node #0,1,4: 71:[72, 101] Operation: 8+93=101
Moving to Node #0,4
Current State: 71:[8, 82, 83], Operations: ['93-10=83']
Exploring Operation: 82-8=74, Resulting Numbers: [83, 74]
Generated Node #0,4,0: 71:[83, 74] Operation: 82-8=74
Exploring Operation: 8+83=91, Resulting Numbers: [82, 91]
Generated Node #0,4,1: 71:[82, 91] Operation: 8+83=91
Exploring Operation: 83-82=1, Resulting Numbers: [8, 1]
Generated Node #0,4,2: 71:[8, 1] Operation: 83-82=1
Exploring Operation: 8+82=90, Resulting Numbers: [83, 90]
Generated Node #0,4,3: 71:[83, 90] Operation: 8+82=90
Exploring Operation: 83-8=75, Resulting Numbers: [82, 75]
Generated Node #0,4,4: 71:[82, 75] Operation: 83-8=75
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 71:[83, 74], Operations: ['93-10=83', '82-8=74']
Exploring Operation: 83+74=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Exploring Operation: 83-74=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 83*74=6142, Resulting Numbers: [6142]
6142,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,4,4
Current State: 71:[82, 75], Operations: ['93-10=83', '83-8=75']
Exploring Operation: 82-75=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 82*75=6150, Resulting Numbers: [6150]
6150,71 unequal: No Solution
Exploring Operation: 82+75=157, Resulting Numbers: [157]
157,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,4,1
Current State: 71:[82, 91], Operations: ['93-10=83', '8+83=91']
Exploring Operation: 82+91=173, Resulting Numbers: [173]
173,71 unequal: No Solution
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 82*91=7462, Resulting Numbers: [7462]
7462,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,4,3
Current State: 71:[83, 90], Operations: ['93-10=83', '8+82=90']
Exploring Operation: 83*90=7470, Resulting Numbers: [7470]
7470,71 unequal: No Solution
Exploring Operation: 90-83=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 83+90=173, Resulting Numbers: [173]
173,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,4,2
Current State: 71:[8, 1], Operations: ['93-10=83', '83-82=1']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,71 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: 71:[82, 93, 18], Operations: ['10+8=18']
Exploring Operation: 93-82=11, Resulting Numbers: [18, 11]
Generated Node #0,0,0: 71:[18, 11] Operation: 93-82=11
Exploring Operation: 82+18=100, Resulting Numbers: [93, 100]
Generated Node #0,0,1: 71:[93, 100] Operation: 82+18=100
Exploring Operation: 93-18=75, Resulting Numbers: [82, 75]
Generated Node #0,0,2: 71:[82, 75] Operation: 93-18=75
Exploring Operation: 82-18=64, Resulting Numbers: [93, 64]
Generated Node #0,0,3: 71:[93, 64] Operation: 82-18=64
Exploring Operation: 93+18=111, Resulting Numbers: [82, 111]
Generated Node #0,0,4: 71:[82, 111] Operation: 93+18=111
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[82, 75], Operations: ['10+8=18', '93-18=75']
Exploring Operation: 82+75=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Exploring Operation: 82*75=6150, Resulting Numbers: [6150]
6150,71 unequal: No Solution
Exploring Operation: 82-75=7, Resulting Numbers: [7]
7,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:[93, 64], Operations: ['10+8=18', '82-18=64']
Exploring Operation: 93+64=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 93*64=5952, Resulting Numbers: [5952]
5952,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:[93, 100], Operations: ['10+8=18', '82+18=100']
Exploring Operation: 100-93=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 93*100=9300, Resulting Numbers: [9300]
9300,71 unequal: No Solution
Exploring Operation: 93+100=193, Resulting Numbers: [193]
193,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,4
Current State: 71:[82, 111], Operations: ['10+8=18', '93+18=111']
Exploring Operation: 82*111=9102, Resulting Numbers: [9102]
9102,71 unequal: No Solution
Exploring Operation: 82+111=193, Resulting Numbers: [193]
193,71 unequal: No Solution
Exploring Operation: 111-82=29, Resulting Numbers: [29]
29,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,0
Current State: 71:[18, 11], Operations: ['10+8=18', '93-82=11']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,71 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,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:[10, 93, 74], Operations: ['82-8=74']
Exploring Operation: 93-74=19, Resulting Numbers: [10, 19]
Generated Node #0,2,0: 71:[10, 19] Operation: 93-74=19
Exploring Operation: 10+74=84, Resulting Numbers: [93, 84]
Generated Node #0,2,1: 71:[93, 84] Operation: 10+74=84
Exploring Operation: 74-10=64, Resulting Numbers: [93, 64]
Generated Node #0,2,2: 71:[93, 64] Operation: 74-10=64
Exploring Operation: 10+93=103, Resulting Numbers: [74, 103]
Generated Node #0,2,3: 71:[74, 103] Operation: 10+93=103
Exploring Operation: 93-10=83, Resulting Numbers: [74, 83]
Generated Node #0,2,4: 71:[74, 83] Operation: 93-10=83
Moving to Node #0,1,0
Current State: 71:[72, 85], Operations: ['82-10=72', '93-8=85']
Exploring Operation: 72*85=6120, Resulting Numbers: [6120]
6120,71 unequal: No Solution
Exploring Operation: 72+85=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Exploring Operation: 85-72=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Moving to Node #0,2,4
Current State: 71:[74, 83], Operations: ['82-8=74', '93-10=83']
Exploring Operation: 74*83=6142, Resulting Numbers: [6142]
6142,71 unequal: No Solution
Exploring Operation: 83-74=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 74+83=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[93, 64], Operations: ['82-10=72', '72-8=64']
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 93*64=5952, Resulting Numbers: [5952]
5952,71 unequal: No Solution
Exploring Operation: 93+64=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[93, 64], Operations: ['82-8=74', '74-10=64']
Exploring Operation: 93+64=157, Resulting Numbers: [157]
157,71 unequal: No Solution
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 93*64=5952, Resulting Numbers: [5952]
5952,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[93, 80], Operations: ['82-10=72', '8+72=80']
Exploring Operation: 93*80=7440, Resulting Numbers: [7440]
7440,71 unequal: No Solution
Exploring Operation: 93-80=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 93+80=173, Resulting Numbers: [173]
173,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[72, 101], Operations: ['82-10=72', '8+93=101']
Exploring Operation: 72*101=7272, Resulting Numbers: [7272]
7272,71 unequal: No Solution
Exploring Operation: 72+101=173, Resulting Numbers: [173]
173,71 unequal: No Solution
Exploring Operation: 101-72=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[74, 103], Operations: ['82-8=74', '10+93=103']
Exploring Operation: 74+103=177, Resulting Numbers: [177]
177,71 unequal: No Solution
Exploring Operation: 74*103=7622, Resulting Numbers: [7622]
7622,71 unequal: No Solution
Exploring Operation: 103-74=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[93, 84], Operations: ['82-8=74', '10+74=84']
Exploring Operation: 93+84=177, Resulting Numbers: [177]
177,71 unequal: No Solution
Exploring Operation: 93-84=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 93*84=7812, Resulting Numbers: [7812]
7812,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[80, 11], Operations: ['10*8=80', '93-82=11']
Exploring Operation: 80*11=880, Resulting Numbers: [880]
880,71 unequal: No Solution
Exploring Operation: 80+11=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[82, 13], Operations: ['10*8=80', '93-80=13']
Exploring Operation: 82*13=1066, Resulting Numbers: [1066]
1066,71 unequal: No Solution
Exploring Operation: 82-13=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Exploring Operation: 82+13=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[93, 9], Operations: ['82-10=72', '72/8=9']
Exploring Operation: 93*9=837, Resulting Numbers: [837]
837,71 unequal: No Solution
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[93, 2], Operations: ['10*8=80', '82-80=2']
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,71 unequal: No Solution
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[10, 19], Operations: ['82-8=74', '93-74=19']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,71 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Moving to Node #0,3,4
Current State: 71:[93, 162], Operations: ['10*8=80', '82+80=162']
Exploring Operation: 93*162=15066, Resulting Numbers: [15066]
15066,71 unequal: No Solution
Exploring Operation: 93+162=255, Resulting Numbers: [255]
255,71 unequal: No Solution
Exploring Operation: 162-93=69, Resulting Numbers: [69]
69,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[80, 175], Operations: ['10*8=80', '82+93=175']
Exploring Operation: 80*175=14000, Resulting Numbers: [14000]
14000,71 unequal: No Solution
Exploring Operation: 80+175=255, Resulting Numbers: [255]
255,71 unequal: No Solution
Exploring Operation: 175-80=95, Resulting Numbers: [95]
95,71 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
55,
71,
36,
33
] | 21 | [
"71-36=35",
"33*35=1155",
"1155/55=21"
] | Current State: 21:[55, 71, 36, 33], Operations: []
Exploring Operation: 71-36=35, Resulting Numbers: [55, 33, 35]
Generated Node #2: [55, 33, 35] from Operation: 71-36=35
Current State: 21:[55, 33, 35], Operations: ['71-36=35']
Exploring Operation: 33*35=1155, Resulting Numbers: [55, 1155]
Generated Node #3: [55, 1155] from Operation: 33*35=1155
Current State: 21:[55, 1155], Operations: ['71-36=35', '33*35=1155']
Exploring Operation: 1155/55=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[55, 71, 36, 33], Operations: []
Exploring Operation: 71-36=35, Resulting Numbers: [55, 33, 35]
Generated Node #0,0: 21:[55, 33, 35] Operation: 71-36=35
Exploring Operation: 71-55=16, Resulting Numbers: [36, 33, 16]
Generated Node #0,1: 21:[36, 33, 16] Operation: 71-55=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[36, 33, 16], Operations: ['71-55=16']
Exploring Operation: 36-16=20, Resulting Numbers: [33, 20]
Generated Node #0,1,0: 21:[33, 20] Operation: 36-16=20
Exploring Operation: 36-33=3, Resulting Numbers: [16, 3]
Generated Node #0,1,1: 21:[16, 3] Operation: 36-33=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[16, 3], Operations: ['71-55=16', '36-33=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,21 unequal: No Solution
No 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: 21:[33, 20], Operations: ['71-55=16', '36-16=20']
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,21 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: 21:[55, 33, 35], Operations: ['71-36=35']
Exploring Operation: 55-33=22, Resulting Numbers: [35, 22]
Generated Node #0,0,0: 21:[35, 22] Operation: 55-33=22
Exploring Operation: 55-35=20, Resulting Numbers: [33, 20]
Generated Node #0,0,1: 21:[33, 20] Operation: 55-35=20
Moving to Node #0,0,1
Current State: 21:[33, 20], Operations: ['71-36=35', '55-35=20']
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[35, 22], Operations: ['71-36=35', '55-33=22']
Exploring Operation: 35+22=57, Resulting Numbers: [57]
57,21 unequal: No Solution
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,21 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 |
[
25,
83,
81,
69
] | 47 | [
"25+69=94",
"83-81=2",
"94/2=47"
] | Current State: 47:[25, 83, 81, 69], Operations: []
Exploring Operation: 25+69=94, Resulting Numbers: [83, 81, 94]
Generated Node #2: [83, 81, 94] from Operation: 25+69=94
Current State: 47:[83, 81, 94], Operations: ['25+69=94']
Exploring Operation: 83-81=2, Resulting Numbers: [94, 2]
Generated Node #3: [94, 2] from Operation: 83-81=2
Current State: 47:[94, 2], Operations: ['25+69=94', '83-81=2']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[25, 83, 81, 69], Operations: []
Exploring Operation: 69-25=44, Resulting Numbers: [83, 81, 44]
Generated Node #0,0: 47:[83, 81, 44] Operation: 69-25=44
Exploring Operation: 81-25=56, Resulting Numbers: [83, 69, 56]
Generated Node #0,1: 47:[83, 69, 56] Operation: 81-25=56
Exploring Operation: 83-25=58, Resulting Numbers: [81, 69, 58]
Generated Node #0,2: 47:[81, 69, 58] Operation: 83-25=58
Moving to Node #0,1
Current State: 47:[83, 69, 56], Operations: ['81-25=56']
Exploring Operation: 83-56=27, Resulting Numbers: [69, 27]
Generated Node #0,1,0: 47:[69, 27] Operation: 83-56=27
Exploring Operation: 69-56=13, Resulting Numbers: [83, 13]
Generated Node #0,1,1: 47:[83, 13] Operation: 69-56=13
Exploring Operation: 83-69=14, Resulting Numbers: [56, 14]
Generated Node #0,1,2: 47:[56, 14] Operation: 83-69=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[69, 27], Operations: ['81-25=56', '83-56=27']
Exploring Operation: 69*27=1863, Resulting Numbers: [1863]
1863,47 unequal: No Solution
Exploring Operation: 69+27=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 47:[56, 14], Operations: ['81-25=56', '83-69=14']
Exploring Operation: 56+14=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[83, 13], Operations: ['81-25=56', '69-56=13']
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 83-13=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 83*13=1079, Resulting Numbers: [1079]
1079,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 47:[81, 69, 58], Operations: ['83-25=58']
Exploring Operation: 81-69=12, Resulting Numbers: [58, 12]
Generated Node #0,2,0: 47:[58, 12] Operation: 81-69=12
Exploring Operation: 81-58=23, Resulting Numbers: [69, 23]
Generated Node #0,2,1: 47:[69, 23] Operation: 81-58=23
Exploring Operation: 69-58=11, Resulting Numbers: [81, 11]
Generated Node #0,2,2: 47:[81, 11] Operation: 69-58=11
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[58, 12], Operations: ['83-25=58', '81-69=12']
Exploring Operation: 58+12=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 58*12=696, Resulting Numbers: [696]
696,47 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[69, 23], Operations: ['83-25=58', '81-58=23']
Exploring Operation: 69-23=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 69+23=92, Resulting Numbers: [92]
92,47 unequal: No Solution
Exploring Operation: 69/23=3, Resulting Numbers: [3]
3,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[81, 11], Operations: ['83-25=58', '69-58=11']
Exploring Operation: 81*11=891, Resulting Numbers: [891]
891,47 unequal: No Solution
Exploring Operation: 81-11=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 81+11=92, Resulting Numbers: [92]
92,47 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: 47:[83, 81, 44], Operations: ['69-25=44']
Exploring Operation: 83-44=39, Resulting Numbers: [81, 39]
Generated Node #0,0,0: 47:[81, 39] Operation: 83-44=39
Exploring Operation: 81-44=37, Resulting Numbers: [83, 37]
Generated Node #0,0,1: 47:[83, 37] Operation: 81-44=37
Exploring Operation: 83-81=2, Resulting Numbers: [44, 2]
Generated Node #0,0,2: 47:[44, 2] Operation: 83-81=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[81, 39], Operations: ['69-25=44', '83-44=39']
Exploring Operation: 81-39=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 81*39=3159, Resulting Numbers: [3159]
3159,47 unequal: No Solution
Exploring Operation: 81+39=120, Resulting Numbers: [120]
120,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[83, 37], Operations: ['69-25=44', '81-44=37']
Exploring Operation: 83*37=3071, Resulting Numbers: [3071]
3071,47 unequal: No Solution
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 83+37=120, Resulting Numbers: [120]
120,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[44, 2], Operations: ['69-25=44', '83-81=2']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,47 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 |
[
61,
37,
14,
77
] | 35 | [
"61+37=98",
"77-14=63",
"98-63=35"
] | Current State: 35:[61, 37, 14, 77], Operations: []
Exploring Operation: 61+37=98, Resulting Numbers: [14, 77, 98]
Generated Node #2: [14, 77, 98] from Operation: 61+37=98
Current State: 35:[14, 77, 98], Operations: ['61+37=98']
Exploring Operation: 77-14=63, Resulting Numbers: [98, 63]
Generated Node #3: [98, 63] from Operation: 77-14=63
Current State: 35:[98, 63], Operations: ['61+37=98', '77-14=63']
Exploring Operation: 98-63=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[61, 37, 14, 77], Operations: []
Exploring Operation: 77-14=63, Resulting Numbers: [61, 37, 63]
Generated Node #0,0: 35:[61, 37, 63] Operation: 77-14=63
Exploring Operation: 77-37=40, Resulting Numbers: [61, 14, 40]
Generated Node #0,1: 35:[61, 14, 40] Operation: 77-37=40
Exploring Operation: 61-14=47, Resulting Numbers: [37, 77, 47]
Generated Node #0,2: 35:[37, 77, 47] Operation: 61-14=47
Exploring Operation: 61-37=24, Resulting Numbers: [14, 77, 24]
Generated Node #0,3: 35:[14, 77, 24] Operation: 61-37=24
Exploring Operation: 77-61=16, Resulting Numbers: [37, 14, 16]
Generated Node #0,4: 35:[37, 14, 16] Operation: 77-61=16
Moving to Node #0,4
Current State: 35:[37, 14, 16], Operations: ['77-61=16']
Exploring Operation: 16-14=2, Resulting Numbers: [37, 2]
Generated Node #0,4,0: 35:[37, 2] Operation: 16-14=2
Exploring Operation: 14+16=30, Resulting Numbers: [37, 30]
Generated Node #0,4,1: 35:[37, 30] Operation: 14+16=30
Exploring Operation: 37-14=23, Resulting Numbers: [16, 23]
Generated Node #0,4,2: 35:[16, 23] Operation: 37-14=23
Exploring Operation: 37+14=51, Resulting Numbers: [16, 51]
Generated Node #0,4,3: 35:[16, 51] Operation: 37+14=51
Exploring Operation: 37-16=21, Resulting Numbers: [14, 21]
Generated Node #0,4,4: 35:[14, 21] Operation: 37-16=21
Moving to Node #0,1
Current State: 35:[61, 14, 40], Operations: ['77-37=40']
Exploring Operation: 40-14=26, Resulting Numbers: [61, 26]
Generated Node #0,1,0: 35:[61, 26] Operation: 40-14=26
Exploring Operation: 61-40=21, Resulting Numbers: [14, 21]
Generated Node #0,1,1: 35:[14, 21] Operation: 61-40=21
Exploring Operation: 61-14=47, Resulting Numbers: [40, 47]
Generated Node #0,1,2: 35:[40, 47] Operation: 61-14=47
Exploring Operation: 61+14=75, Resulting Numbers: [40, 75]
Generated Node #0,1,3: 35:[40, 75] Operation: 61+14=75
Exploring Operation: 14+40=54, Resulting Numbers: [61, 54]
Generated Node #0,1,4: 35:[61, 54] Operation: 14+40=54
Moving to Node #0,0
Current State: 35:[61, 37, 63], Operations: ['77-14=63']
Exploring Operation: 61+63=124, Resulting Numbers: [37, 124]
Generated Node #0,0,0: 35:[37, 124] Operation: 61+63=124
Exploring Operation: 61-37=24, Resulting Numbers: [63, 24]
Generated Node #0,0,1: 35:[63, 24] Operation: 61-37=24
Exploring Operation: 63-61=2, Resulting Numbers: [37, 2]
Generated Node #0,0,2: 35:[37, 2] Operation: 63-61=2
Exploring Operation: 63-37=26, Resulting Numbers: [61, 26]
Generated Node #0,0,3: 35:[61, 26] Operation: 63-37=26
Exploring Operation: 61+37=98, Resulting Numbers: [63, 98]
Generated Node #0,0,4: 35:[63, 98] Operation: 61+37=98
Moving to Node #0,2
Current State: 35:[37, 77, 47], Operations: ['61-14=47']
Exploring Operation: 77-37=40, Resulting Numbers: [47, 40]
Generated Node #0,2,0: 35:[47, 40] Operation: 77-37=40
Exploring Operation: 47-37=10, Resulting Numbers: [77, 10]
Generated Node #0,2,1: 35:[77, 10] Operation: 47-37=10
Exploring Operation: 77-47=30, Resulting Numbers: [37, 30]
Generated Node #0,2,2: 35:[37, 30] Operation: 77-47=30
Exploring Operation: 37+47=84, Resulting Numbers: [77, 84]
Generated Node #0,2,3: 35:[77, 84] Operation: 37+47=84
Exploring Operation: 37+77=114, Resulting Numbers: [47, 114]
Generated Node #0,2,4: 35:[47, 114] Operation: 37+77=114
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[37, 30], Operations: ['61-14=47', '77-47=30']
Exploring Operation: 37+30=67, Resulting Numbers: [67]
67,35 unequal: No Solution
Exploring Operation: 37*30=1110, Resulting Numbers: [1110]
1110,35 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[47, 40], Operations: ['61-14=47', '77-37=40']
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 47*40=1880, Resulting Numbers: [1880]
1880,35 unequal: No Solution
Exploring Operation: 47+40=87, Resulting Numbers: [87]
87,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[77, 10], Operations: ['61-14=47', '47-37=10']
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,35 unequal: No Solution
Exploring Operation: 77+10=87, Resulting Numbers: [87]
87,35 unequal: No Solution
Exploring Operation: 77*10=770, Resulting Numbers: [770]
770,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 35:[77, 84], Operations: ['61-14=47', '37+47=84']
Exploring Operation: 77+84=161, Resulting Numbers: [161]
161,35 unequal: No Solution
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 77*84=6468, Resulting Numbers: [6468]
6468,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 35:[47, 114], Operations: ['61-14=47', '37+77=114']
Exploring Operation: 114-47=67, Resulting Numbers: [67]
67,35 unequal: No Solution
Exploring Operation: 47*114=5358, Resulting Numbers: [5358]
5358,35 unequal: No Solution
Exploring Operation: 47+114=161, Resulting Numbers: [161]
161,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 35:[14, 77, 24], Operations: ['61-37=24']
Exploring Operation: 24-14=10, Resulting Numbers: [77, 10]
Generated Node #0,3,0: 35:[77, 10] Operation: 24-14=10
Exploring Operation: 14+24=38, Resulting Numbers: [77, 38]
Generated Node #0,3,1: 35:[77, 38] Operation: 14+24=38
Exploring Operation: 77-14=63, Resulting Numbers: [24, 63]
Generated Node #0,3,2: 35:[24, 63] Operation: 77-14=63
Exploring Operation: 77-24=53, Resulting Numbers: [14, 53]
Generated Node #0,3,3: 35:[14, 53] Operation: 77-24=53
Exploring Operation: 14+77=91, Resulting Numbers: [24, 91]
Generated Node #0,3,4: 35:[24, 91] Operation: 14+77=91
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 35:[14, 53], Operations: ['61-37=24', '77-24=53']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,35 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 35:[24, 63], Operations: ['61-37=24', '77-14=63']
Exploring Operation: 24*63=1512, Resulting Numbers: [1512]
1512,35 unequal: No Solution
Exploring Operation: 24+63=87, Resulting Numbers: [87]
87,35 unequal: No Solution
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 35:[77, 10], Operations: ['61-37=24', '24-14=10']
Exploring Operation: 77+10=87, Resulting Numbers: [87]
87,35 unequal: No Solution
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,35 unequal: No Solution
Exploring Operation: 77*10=770, Resulting Numbers: [770]
770,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 35:[77, 38], Operations: ['61-37=24', '14+24=38']
Exploring Operation: 77-38=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 77*38=2926, Resulting Numbers: [2926]
2926,35 unequal: No Solution
Exploring Operation: 77+38=115, Resulting Numbers: [115]
115,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 35:[24, 91], Operations: ['61-37=24', '14+77=91']
Exploring Operation: 24+91=115, Resulting Numbers: [115]
115,35 unequal: No Solution
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,35 unequal: No Solution
Exploring Operation: 24*91=2184, Resulting Numbers: [2184]
2184,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 35:[37, 2], Operations: ['77-61=16', '16-14=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[61, 37, 14, 77], Operations: []
Exploring Operation: 77-61=16, Resulting Numbers: [37, 14, 16]
Generated Node #0,4: 35:[37, 14, 16] Operation: 77-61=16
Moving to Node #0,4
Current State: 35:[37, 14, 16], Operations: ['77-61=16']
Exploring Operation: 16-14=2, Resulting Numbers: [37, 2]
Generated Node #0,4,0: 35:[37, 2] Operation: 16-14=2
Moving to Node #0,4,0
Current State: 35:[37, 2], Operations: ['77-61=16', '16-14=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.942708 | hs_5 | sum_heuristic |
[
28,
39,
12,
7
] | 84 | [
"28*39=1092",
"1092/12=91",
"91-7=84"
] | Current State: 84:[28, 39, 12, 7], Operations: []
Exploring Operation: 28*39=1092, Resulting Numbers: [12, 7, 1092]
Generated Node #2: [12, 7, 1092] from Operation: 28*39=1092
Current State: 84:[12, 7, 1092], Operations: ['28*39=1092']
Exploring Operation: 1092/12=91, Resulting Numbers: [7, 91]
Generated Node #3: [7, 91] from Operation: 1092/12=91
Current State: 84:[7, 91], Operations: ['28*39=1092', '1092/12=91']
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[28, 39, 12, 7], Operations: []
Exploring Operation: 28-7=21, Resulting Numbers: [39, 12, 21]
Generated Node #0,0: 84:[39, 12, 21] Operation: 28-7=21
Exploring Operation: 28/7=4, Resulting Numbers: [39, 12, 4]
Generated Node #0,1: 84:[39, 12, 4] Operation: 28/7=4
Exploring Operation: 39-12=27, Resulting Numbers: [28, 7, 27]
Generated Node #0,2: 84:[28, 7, 27] Operation: 39-12=27
Exploring Operation: 39-28=11, Resulting Numbers: [12, 7, 11]
Generated Node #0,3: 84:[12, 7, 11] Operation: 39-28=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[28, 7, 27], Operations: ['39-12=27']
Exploring Operation: 28/7=4, Resulting Numbers: [27, 4]
Generated Node #0,2,0: 84:[27, 4] Operation: 28/7=4
Exploring Operation: 28-27=1, Resulting Numbers: [7, 1]
Generated Node #0,2,1: 84:[7, 1] Operation: 28-27=1
Exploring Operation: 27-7=20, Resulting Numbers: [28, 20]
Generated Node #0,2,2: 84:[28, 20] Operation: 27-7=20
Exploring Operation: 28-7=21, Resulting Numbers: [27, 21]
Generated Node #0,2,3: 84:[27, 21] Operation: 28-7=21
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 84:[27, 4], Operations: ['39-12=27', '28/7=4']
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,84 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,84 unequal: No Solution
No 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: 84:[7, 1], Operations: ['39-12=27', '28-27=1']
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,84 unequal: No Solution
No 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: 84:[28, 20], Operations: ['39-12=27', '27-7=20']
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,84 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,84 unequal: No Solution
No 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: 84:[27, 21], Operations: ['39-12=27', '28-7=21']
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,84 unequal: No Solution
Exploring Operation: 27*21=567, Resulting Numbers: [567]
567,84 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: 84:[12, 7, 11], Operations: ['39-28=11']
Exploring Operation: 12*7=84, Resulting Numbers: [11, 84]
Generated Node #0,3,0: 84:[11, 84] Operation: 12*7=84
Exploring Operation: 12-11=1, Resulting Numbers: [7, 1]
Generated Node #0,3,1: 84:[7, 1] Operation: 12-11=1
Exploring Operation: 12-7=5, Resulting Numbers: [11, 5]
Generated Node #0,3,2: 84:[11, 5] Operation: 12-7=5
Exploring Operation: 11-7=4, Resulting Numbers: [12, 4]
Generated Node #0,3,3: 84:[12, 4] Operation: 11-7=4
Moving to Node #0,3,3
Current State: 84:[12, 4], Operations: ['39-28=11', '11-7=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,84 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Moving to Node #0,3,1
Current State: 84:[7, 1], Operations: ['39-28=11', '12-11=1']
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,84 unequal: No Solution
Moving to Node #0,3,0
Current State: 84:[11, 84], Operations: ['39-28=11', '12*7=84']
Exploring Operation: 11*84=924, Resulting Numbers: [924]
924,84 unequal: No Solution
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 11+84=95, Resulting Numbers: [95]
95,84 unequal: No Solution
Moving to Node #0,3,2
Current State: 84:[11, 5], Operations: ['39-28=11', '12-7=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[39, 12, 21], Operations: ['28-7=21']
Exploring Operation: 12+21=33, Resulting Numbers: [39, 33]
Generated Node #0,0,0: 84:[39, 33] Operation: 12+21=33
Exploring Operation: 39-12=27, Resulting Numbers: [21, 27]
Generated Node #0,0,1: 84:[21, 27] Operation: 39-12=27
Exploring Operation: 21-12=9, Resulting Numbers: [39, 9]
Generated Node #0,0,2: 84:[39, 9] Operation: 21-12=9
Exploring Operation: 39-21=18, Resulting Numbers: [12, 18]
Generated Node #0,0,3: 84:[12, 18] Operation: 39-21=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[21, 27], Operations: ['28-7=21', '39-12=27']
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,84 unequal: No Solution
Exploring Operation: 21*27=567, Resulting Numbers: [567]
567,84 unequal: No Solution
No 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: 84:[12, 18], Operations: ['28-7=21', '39-21=18']
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,84 unequal: No Solution
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,84 unequal: No Solution
No 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: 84:[39, 9], Operations: ['28-7=21', '21-12=9']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,84 unequal: No Solution
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,84 unequal: No Solution
No 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: 84:[39, 33], Operations: ['28-7=21', '12+21=33']
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,84 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,84 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: 84:[39, 12, 4], Operations: ['28/7=4']
Exploring Operation: 39+4=43, Resulting Numbers: [12, 43]
Generated Node #0,1,0: 84:[12, 43] Operation: 39+4=43
Exploring Operation: 12-4=8, Resulting Numbers: [39, 8]
Generated Node #0,1,1: 84:[39, 8] Operation: 12-4=8
Exploring Operation: 39-12=27, Resulting Numbers: [4, 27]
Generated Node #0,1,2: 84:[4, 27] Operation: 39-12=27
Exploring Operation: 12/4=3, Resulting Numbers: [39, 3]
Generated Node #0,1,3: 84:[39, 3] Operation: 12/4=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 84:[12, 43], Operations: ['28/7=4', '39+4=43']
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 12*43=516, Resulting Numbers: [516]
516,84 unequal: No Solution
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,84 unequal: No Solution
No 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: 84:[4, 27], Operations: ['28/7=4', '39-12=27']
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,84 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,84 unequal: No Solution
No 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: 84:[39, 3], Operations: ['28/7=4', '12/4=3']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 39*3=117, Resulting Numbers: [117]
117,84 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,84 unequal: No Solution
No 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: 84:[39, 8], Operations: ['28/7=4', '12-4=8']
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Exploring Operation: 39*8=312, Resulting Numbers: [312]
312,84 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
16,
77,
50,
46
] | 13 | [
"50-46=4",
"16*4=64",
"77-64=13"
] | Current State: 13:[16, 77, 50, 46], Operations: []
Exploring Operation: 50-46=4, Resulting Numbers: [16, 77, 4]
Generated Node #2: [16, 77, 4] from Operation: 50-46=4
Current State: 13:[16, 77, 4], Operations: ['50-46=4']
Exploring Operation: 16*4=64, Resulting Numbers: [77, 64]
Generated Node #3: [77, 64] from Operation: 16*4=64
Current State: 13:[77, 64], Operations: ['50-46=4', '16*4=64']
Exploring Operation: 77-64=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[16, 77, 50, 46], Operations: []
Exploring Operation: 77-50=27, Resulting Numbers: [16, 46, 27]
Generated Node #0,0: 13:[16, 46, 27] Operation: 77-50=27
Moving to Node #0,0
Current State: 13:[16, 46, 27], Operations: ['77-50=27']
Exploring Operation: 46-27=19, Resulting Numbers: [16, 19]
Generated Node #0,0,0: 13:[16, 19] Operation: 46-27=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[16, 19], Operations: ['77-50=27', '46-27=19']
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,13 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 |
[
25,
83,
30,
67
] | 30 | [
"30-25=5",
"83+67=150",
"150/5=30"
] | Current State: 30:[25, 83, 30, 67], Operations: []
Exploring Operation: 30-25=5, Resulting Numbers: [83, 67, 5]
Generated Node #2: [83, 67, 5] from Operation: 30-25=5
Current State: 30:[83, 67, 5], Operations: ['30-25=5']
Exploring Operation: 83+67=150, Resulting Numbers: [5, 150]
Generated Node #3: [5, 150] from Operation: 83+67=150
Current State: 30:[5, 150], Operations: ['30-25=5', '83+67=150']
Exploring Operation: 150/5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[25, 83, 30, 67], Operations: []
Exploring Operation: 83-67=16, Resulting Numbers: [25, 30, 16]
Generated Node #0,0: 30:[25, 30, 16] Operation: 83-67=16
Exploring Operation: 83-25=58, Resulting Numbers: [30, 67, 58]
Generated Node #0,1: 30:[30, 67, 58] Operation: 83-25=58
Exploring Operation: 67-25=42, Resulting Numbers: [83, 30, 42]
Generated Node #0,2: 30:[83, 30, 42] Operation: 67-25=42
Moving to Node #0,0
Current State: 30:[25, 30, 16], Operations: ['83-67=16']
Exploring Operation: 30-25=5, Resulting Numbers: [16, 5]
Generated Node #0,0,0: 30:[16, 5] Operation: 30-25=5
Exploring Operation: 30-16=14, Resulting Numbers: [25, 14]
Generated Node #0,0,1: 30:[25, 14] Operation: 30-16=14
Exploring Operation: 25-16=9, Resulting Numbers: [30, 9]
Generated Node #0,0,2: 30:[30, 9] Operation: 25-16=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[16, 5], Operations: ['83-67=16', '30-25=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,30 unequal: No Solution
No 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: 30:[30, 9], Operations: ['83-67=16', '25-16=9']
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,30 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,30 unequal: No Solution
No 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: 30:[25, 14], Operations: ['83-67=16', '30-16=14']
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 25*14=350, Resulting Numbers: [350]
350,30 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: 30:[30, 67, 58], Operations: ['83-25=58']
Exploring Operation: 67-58=9, Resulting Numbers: [30, 9]
Generated Node #0,1,0: 30:[30, 9] Operation: 67-58=9
Exploring Operation: 67-30=37, Resulting Numbers: [58, 37]
Generated Node #0,1,1: 30:[58, 37] Operation: 67-30=37
Exploring Operation: 58-30=28, Resulting Numbers: [67, 28]
Generated Node #0,1,2: 30:[67, 28] Operation: 58-30=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[30, 9], Operations: ['83-25=58', '67-58=9']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,30 unequal: No Solution
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,30 unequal: No Solution
No 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: 30:[58, 37], Operations: ['83-25=58', '67-30=37']
Exploring Operation: 58+37=95, Resulting Numbers: [95]
95,30 unequal: No Solution
Exploring Operation: 58-37=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 58*37=2146, Resulting Numbers: [2146]
2146,30 unequal: No Solution
No 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: 30:[67, 28], Operations: ['83-25=58', '58-30=28']
Exploring Operation: 67+28=95, Resulting Numbers: [95]
95,30 unequal: No Solution
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 67*28=1876, Resulting Numbers: [1876]
1876,30 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: 30:[83, 30, 42], Operations: ['67-25=42']
Exploring Operation: 83-30=53, Resulting Numbers: [42, 53]
Generated Node #0,2,0: 30:[42, 53] Operation: 83-30=53
Exploring Operation: 42-30=12, Resulting Numbers: [83, 12]
Generated Node #0,2,1: 30:[83, 12] Operation: 42-30=12
Exploring Operation: 83-42=41, Resulting Numbers: [30, 41]
Generated Node #0,2,2: 30:[30, 41] Operation: 83-42=41
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[30, 41], Operations: ['67-25=42', '83-42=41']
Exploring Operation: 30*41=1230, Resulting Numbers: [1230]
1230,30 unequal: No Solution
Exploring Operation: 30+41=71, Resulting Numbers: [71]
71,30 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,30 unequal: No Solution
No 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: 30:[42, 53], Operations: ['67-25=42', '83-30=53']
Exploring Operation: 42*53=2226, Resulting Numbers: [2226]
2226,30 unequal: No Solution
Exploring Operation: 42+53=95, Resulting Numbers: [95]
95,30 unequal: No Solution
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,30 unequal: No Solution
No 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: 30:[83, 12], Operations: ['67-25=42', '42-30=12']
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,30 unequal: No Solution
Exploring Operation: 83+12=95, Resulting Numbers: [95]
95,30 unequal: No Solution
Exploring Operation: 83*12=996, Resulting Numbers: [996]
996,30 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 |
[
78,
47,
43,
6
] | 93 | [
"47+43=90",
"90/6=15",
"78+15=93"
] | Current State: 93:[78, 47, 43, 6], Operations: []
Exploring Operation: 47+43=90, Resulting Numbers: [78, 6, 90]
Generated Node #2: [78, 6, 90] from Operation: 47+43=90
Current State: 93:[78, 6, 90], Operations: ['47+43=90']
Exploring Operation: 90/6=15, Resulting Numbers: [78, 15]
Generated Node #3: [78, 15] from Operation: 90/6=15
Current State: 93:[78, 15], Operations: ['47+43=90', '90/6=15']
Exploring Operation: 78+15=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[78, 47, 43, 6], Operations: []
Exploring Operation: 78-47=31, Resulting Numbers: [43, 6, 31]
Generated Node #0,0: 93:[43, 6, 31] Operation: 78-47=31
Exploring Operation: 47-43=4, Resulting Numbers: [78, 6, 4]
Generated Node #0,1: 93:[78, 6, 4] Operation: 47-43=4
Exploring Operation: 47+43=90, Resulting Numbers: [78, 6, 90]
Generated Node #0,2: 93:[78, 6, 90] Operation: 47+43=90
Moving to Node #0,0
Current State: 93:[43, 6, 31], Operations: ['78-47=31']
Exploring Operation: 43-6=37, Resulting Numbers: [31, 37]
Generated Node #0,0,0: 93:[31, 37] Operation: 43-6=37
Exploring Operation: 43-31=12, Resulting Numbers: [6, 12]
Generated Node #0,0,1: 93:[6, 12] Operation: 43-31=12
Exploring Operation: 43+6=49, Resulting Numbers: [31, 49]
Generated Node #0,0,2: 93:[31, 49] Operation: 43+6=49
Moving to Node #0,1
Current State: 93:[78, 6, 4], Operations: ['47-43=4']
Exploring Operation: 78+4=82, Resulting Numbers: [6, 82]
Generated Node #0,1,0: 93:[6, 82] Operation: 78+4=82
Exploring Operation: 78/6=13, Resulting Numbers: [4, 13]
Generated Node #0,1,1: 93:[4, 13] Operation: 78/6=13
Exploring Operation: 78+6=84, Resulting Numbers: [4, 84]
Generated Node #0,1,2: 93:[4, 84] Operation: 78+6=84
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[4, 84], Operations: ['47-43=4', '78+6=84']
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,93 unequal: No Solution
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,93 unequal: No Solution
Exploring Operation: 4+84=88, Resulting Numbers: [88]
88,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[4, 13], Operations: ['47-43=4', '78/6=13']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[6, 82], Operations: ['47-43=4', '78+4=82']
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,93 unequal: No Solution
Exploring Operation: 6*82=492, Resulting Numbers: [492]
492,93 unequal: No Solution
Exploring Operation: 6+82=88, Resulting Numbers: [88]
88,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 93:[78, 6, 90], Operations: ['47+43=90']
Exploring Operation: 78/6=13, Resulting Numbers: [90, 13]
Generated Node #0,2,0: 93:[90, 13] Operation: 78/6=13
Exploring Operation: 78+6=84, Resulting Numbers: [90, 84]
Generated Node #0,2,1: 93:[90, 84] Operation: 78+6=84
Exploring Operation: 90-78=12, Resulting Numbers: [6, 12]
Generated Node #0,2,2: 93:[6, 12] Operation: 90-78=12
Moving to Node #0,0,0
Current State: 93:[31, 37], Operations: ['78-47=31', '43-6=37']
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 31+37=68, Resulting Numbers: [68]
68,93 unequal: No Solution
Exploring Operation: 31*37=1147, Resulting Numbers: [1147]
1147,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[6, 12], Operations: ['78-47=31', '43-31=12']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[6, 12], Operations: ['47+43=90', '90-78=12']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[90, 84], Operations: ['47+43=90', '78+6=84']
Exploring Operation: 90*84=7560, Resulting Numbers: [7560]
7560,93 unequal: No Solution
Exploring Operation: 90-84=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 90+84=174, Resulting Numbers: [174]
174,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[90, 13], Operations: ['47+43=90', '78/6=13']
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 90*13=1170, Resulting Numbers: [1170]
1170,93 unequal: No Solution
Exploring Operation: 90+13=103, Resulting Numbers: [103]
103,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[31, 49], Operations: ['78-47=31', '43+6=49']
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,93 unequal: No Solution
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,93 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,93 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
21,
26,
22,
2
] | 82 | [
"26-22=4",
"21*4=84",
"84-2=82"
] | Current State: 82:[21, 26, 22, 2], Operations: []
Exploring Operation: 26-22=4, Resulting Numbers: [21, 2, 4]
Generated Node #2: [21, 2, 4] from Operation: 26-22=4
Current State: 82:[21, 2, 4], Operations: ['26-22=4']
Exploring Operation: 21*4=84, Resulting Numbers: [2, 84]
Generated Node #3: [2, 84] from Operation: 21*4=84
Current State: 82:[2, 84], Operations: ['26-22=4', '21*4=84']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[21, 26, 22, 2], Operations: []
Exploring Operation: 22-21=1, Resulting Numbers: [26, 2, 1]
Generated Node #0,0: 82:[26, 2, 1] Operation: 22-21=1
Moving to Node #0,0
Current State: 82:[26, 2, 1], Operations: ['22-21=1']
Exploring Operation: 26*2=52, Resulting Numbers: [1, 52]
Generated Node #0,0,0: 82:[1, 52] Operation: 26*2=52
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[1, 52], Operations: ['22-21=1', '26*2=52']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,82 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 |
[
65,
31,
85,
54
] | 66 | [
"85-31=54",
"54/54=1",
"65+1=66"
] | Current State: 66:[65, 31, 85, 54], Operations: []
Exploring Operation: 85-31=54, Resulting Numbers: [65, 54, 54]
Generated Node #2: [65, 54, 54] from Operation: 85-31=54
Current State: 66:[65, 54, 54], Operations: ['85-31=54']
Exploring Operation: 54/54=1, Resulting Numbers: [65, 1]
Generated Node #3: [65, 1] from Operation: 54/54=1
Current State: 66:[65, 1], Operations: ['85-31=54', '54/54=1']
Exploring Operation: 65+1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[65, 31, 85, 54], Operations: []
Exploring Operation: 85-54=31, Resulting Numbers: [65, 31, 31]
Generated Node #0,0: 66:[65, 31, 31] Operation: 85-54=31
Exploring Operation: 85-65=20, Resulting Numbers: [31, 54, 20]
Generated Node #0,1: 66:[31, 54, 20] Operation: 85-65=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[65, 31, 31], Operations: ['85-54=31']
Exploring Operation: 65-31=34, Resulting Numbers: [31, 34]
Generated Node #0,0,0: 66:[31, 34] Operation: 65-31=34
Exploring Operation: 31/31=1, Resulting Numbers: [65, 1]
Generated Node #0,0,1: 66:[65, 1] Operation: 31/31=1
Moving to Node #0,0,1
Current State: 66:[65, 1], Operations: ['85-54=31', '31/31=1']
Exploring Operation: 65*1=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 65+1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[65, 31, 85, 54], Operations: []
Exploring Operation: 85-54=31, Resulting Numbers: [65, 31, 31]
Generated Node #0,0: 66:[65, 31, 31] Operation: 85-54=31
Moving to Node #0,0
Current State: 66:[65, 31, 31], Operations: ['85-54=31']
Exploring Operation: 31/31=1, Resulting Numbers: [65, 1]
Generated Node #0,0,1: 66:[65, 1] Operation: 31/31=1
Moving to Node #0,0,1
Current State: 66:[65, 1], Operations: ['85-54=31', '31/31=1']
Exploring Operation: 65+1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
33,
65,
16,
23
] | 14 | [
"33+65=98",
"23-16=7",
"98/7=14"
] | Current State: 14:[33, 65, 16, 23], Operations: []
Exploring Operation: 33+65=98, Resulting Numbers: [16, 23, 98]
Generated Node #2: [16, 23, 98] from Operation: 33+65=98
Current State: 14:[16, 23, 98], Operations: ['33+65=98']
Exploring Operation: 23-16=7, Resulting Numbers: [98, 7]
Generated Node #3: [98, 7] from Operation: 23-16=7
Current State: 14:[98, 7], Operations: ['33+65=98', '23-16=7']
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[33, 65, 16, 23], Operations: []
Exploring Operation: 65-23=42, Resulting Numbers: [33, 16, 42]
Generated Node #0,0: 14:[33, 16, 42] Operation: 65-23=42
Exploring Operation: 65-33=32, Resulting Numbers: [16, 23, 32]
Generated Node #0,1: 14:[16, 23, 32] Operation: 65-33=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[16, 23, 32], Operations: ['65-33=32']
Exploring Operation: 32-23=9, Resulting Numbers: [16, 9]
Generated Node #0,1,0: 14:[16, 9] Operation: 32-23=9
Exploring Operation: 32/16=2, Resulting Numbers: [23, 2]
Generated Node #0,1,1: 14:[23, 2] Operation: 32/16=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 14:[16, 9], Operations: ['65-33=32', '32-23=9']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,14 unequal: No Solution
No 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: 14:[23, 2], Operations: ['65-33=32', '32/16=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,14 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: 14:[33, 16, 42], Operations: ['65-23=42']
Exploring Operation: 33-16=17, Resulting Numbers: [42, 17]
Generated Node #0,0,0: 14:[42, 17] Operation: 33-16=17
Exploring Operation: 42-33=9, Resulting Numbers: [16, 9]
Generated Node #0,0,1: 14:[16, 9] Operation: 42-33=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[16, 9], Operations: ['65-23=42', '42-33=9']
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,14 unequal: No Solution
No 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: 14:[42, 17], Operations: ['65-23=42', '33-16=17']
Exploring Operation: 42+17=59, Resulting Numbers: [59]
59,14 unequal: No Solution
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,14 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 |
[
91,
2,
84,
14
] | 63 | [
"91+14=105",
"2*84=168",
"168-105=63"
] | Current State: 63:[91, 2, 84, 14], Operations: []
Exploring Operation: 91+14=105, Resulting Numbers: [2, 84, 105]
Generated Node #2: [2, 84, 105] from Operation: 91+14=105
Current State: 63:[2, 84, 105], Operations: ['91+14=105']
Exploring Operation: 2*84=168, Resulting Numbers: [105, 168]
Generated Node #3: [105, 168] from Operation: 2*84=168
Current State: 63:[105, 168], Operations: ['91+14=105', '2*84=168']
Exploring Operation: 168-105=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[91, 2, 84, 14], Operations: []
Exploring Operation: 84/14=6, Resulting Numbers: [91, 2, 6]
Generated Node #0,0: 63:[91, 2, 6] Operation: 84/14=6
Exploring Operation: 84-14=70, Resulting Numbers: [91, 2, 70]
Generated Node #0,1: 63:[91, 2, 70] Operation: 84-14=70
Exploring Operation: 91-84=7, Resulting Numbers: [2, 14, 7]
Generated Node #0,2: 63:[2, 14, 7] Operation: 91-84=7
Exploring Operation: 14/2=7, Resulting Numbers: [91, 84, 7]
Generated Node #0,3: 63:[91, 84, 7] Operation: 14/2=7
Exploring Operation: 91-14=77, Resulting Numbers: [2, 84, 77]
Generated Node #0,4: 63:[2, 84, 77] Operation: 91-14=77
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[2, 14, 7], Operations: ['91-84=7']
Exploring Operation: 14-7=7, Resulting Numbers: [2, 7]
Generated Node #0,2,0: 63:[2, 7] Operation: 14-7=7
Exploring Operation: 14-2=12, Resulting Numbers: [7, 12]
Generated Node #0,2,1: 63:[7, 12] Operation: 14-2=12
Exploring Operation: 14/7=2, Resulting Numbers: [2, 2]
Generated Node #0,2,2: 63:[2, 2] Operation: 14/7=2
Exploring Operation: 14/2=7, Resulting Numbers: [7, 7]
Generated Node #0,2,3: 63:[7, 7] Operation: 14/2=7
Exploring Operation: 14+7=21, Resulting Numbers: [2, 21]
Generated Node #0,2,4: 63:[2, 21] Operation: 14+7=21
Moving to Node #0,2,3
Current State: 63:[7, 7], Operations: ['91-84=7', '14/2=7']
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Moving to Node #0,2,4
Current State: 63:[2, 21], Operations: ['91-84=7', '14+7=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,63 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,63 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[2, 7], Operations: ['91-84=7', '14-7=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[2, 2], Operations: ['91-84=7', '14/7=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[7, 12], Operations: ['91-84=7', '14-2=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,63 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,63 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[91, 2, 6], Operations: ['84/14=6']
Exploring Operation: 6-2=4, Resulting Numbers: [91, 4]
Generated Node #0,0,0: 63:[91, 4] Operation: 6-2=4
Exploring Operation: 91-6=85, Resulting Numbers: [2, 85]
Generated Node #0,0,1: 63:[2, 85] Operation: 91-6=85
Exploring Operation: 2+6=8, Resulting Numbers: [91, 8]
Generated Node #0,0,2: 63:[91, 8] Operation: 2+6=8
Exploring Operation: 6/2=3, Resulting Numbers: [91, 3]
Generated Node #0,0,3: 63:[91, 3] Operation: 6/2=3
Exploring Operation: 91-2=89, Resulting Numbers: [6, 89]
Generated Node #0,0,4: 63:[6, 89] Operation: 91-2=89
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[2, 85], Operations: ['84/14=6', '91-6=85']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,63 unequal: No Solution
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,63 unequal: No Solution
Exploring Operation: 2*85=170, Resulting Numbers: [170]
170,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 63:[6, 89], Operations: ['84/14=6', '91-2=89']
Exploring Operation: 6*89=534, Resulting Numbers: [534]
534,63 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,63 unequal: No Solution
Exploring Operation: 6+89=95, Resulting Numbers: [95]
95,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 63:[91, 3], Operations: ['84/14=6', '6/2=3']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,63 unequal: No Solution
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,63 unequal: No Solution
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[91, 4], Operations: ['84/14=6', '6-2=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,63 unequal: No Solution
Exploring Operation: 91*4=364, Resulting Numbers: [364]
364,63 unequal: No Solution
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 63:[91, 8], Operations: ['84/14=6', '2+6=8']
Exploring Operation: 91*8=728, Resulting Numbers: [728]
728,63 unequal: No Solution
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,63 unequal: No Solution
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[91, 2, 70], Operations: ['84-14=70']
Exploring Operation: 91-2=89, Resulting Numbers: [70, 89]
Generated Node #0,1,0: 63:[70, 89] Operation: 91-2=89
Exploring Operation: 91-70=21, Resulting Numbers: [2, 21]
Generated Node #0,1,1: 63:[2, 21] Operation: 91-70=21
Exploring Operation: 70-2=68, Resulting Numbers: [91, 68]
Generated Node #0,1,2: 63:[91, 68] Operation: 70-2=68
Exploring Operation: 2+70=72, Resulting Numbers: [91, 72]
Generated Node #0,1,3: 63:[91, 72] Operation: 2+70=72
Exploring Operation: 91+2=93, Resulting Numbers: [70, 93]
Generated Node #0,1,4: 63:[70, 93] Operation: 91+2=93
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[2, 21], Operations: ['84-14=70', '91-70=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,63 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,63 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 63:[70, 89], Operations: ['84-14=70', '91-2=89']
Exploring Operation: 89-70=19, Resulting Numbers: [19]
19,63 unequal: No Solution
Exploring Operation: 70*89=6230, Resulting Numbers: [6230]
6230,63 unequal: No Solution
Exploring Operation: 70+89=159, Resulting Numbers: [159]
159,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 63:[91, 68], Operations: ['84-14=70', '70-2=68']
Exploring Operation: 91*68=6188, Resulting Numbers: [6188]
6188,63 unequal: No Solution
Exploring Operation: 91-68=23, Resulting Numbers: [23]
23,63 unequal: No Solution
Exploring Operation: 91+68=159, Resulting Numbers: [159]
159,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 63:[91, 72], Operations: ['84-14=70', '2+70=72']
Exploring Operation: 91+72=163, Resulting Numbers: [163]
163,63 unequal: No Solution
Exploring Operation: 91-72=19, Resulting Numbers: [19]
19,63 unequal: No Solution
Exploring Operation: 91*72=6552, Resulting Numbers: [6552]
6552,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 63:[70, 93], Operations: ['84-14=70', '91+2=93']
Exploring Operation: 93-70=23, Resulting Numbers: [23]
23,63 unequal: No Solution
Exploring Operation: 70+93=163, Resulting Numbers: [163]
163,63 unequal: No Solution
Exploring Operation: 70*93=6510, Resulting Numbers: [6510]
6510,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 63:[2, 84, 77], Operations: ['91-14=77']
Exploring Operation: 77-2=75, Resulting Numbers: [84, 75]
Generated Node #0,4,0: 63:[84, 75] Operation: 77-2=75
Exploring Operation: 84/2=42, Resulting Numbers: [77, 42]
Generated Node #0,4,1: 63:[77, 42] Operation: 84/2=42
Exploring Operation: 84-2=82, Resulting Numbers: [77, 82]
Generated Node #0,4,2: 63:[77, 82] Operation: 84-2=82
Exploring Operation: 2+84=86, Resulting Numbers: [77, 86]
Generated Node #0,4,3: 63:[77, 86] Operation: 2+84=86
Exploring Operation: 84-77=7, Resulting Numbers: [2, 7]
Generated Node #0,4,4: 63:[2, 7] Operation: 84-77=7
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 63:[2, 7], Operations: ['91-14=77', '84-77=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 63:[84, 75], Operations: ['91-14=77', '77-2=75']
Exploring Operation: 84*75=6300, Resulting Numbers: [6300]
6300,63 unequal: No Solution
Exploring Operation: 84-75=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 84+75=159, Resulting Numbers: [159]
159,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 63:[77, 82], Operations: ['91-14=77', '84-2=82']
Exploring Operation: 77*82=6314, Resulting Numbers: [6314]
6314,63 unequal: No Solution
Exploring Operation: 82-77=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 77+82=159, Resulting Numbers: [159]
159,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 63:[77, 42], Operations: ['91-14=77', '84/2=42']
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,63 unequal: No Solution
Exploring Operation: 77+42=119, Resulting Numbers: [119]
119,63 unequal: No Solution
Exploring Operation: 77*42=3234, Resulting Numbers: [3234]
3234,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 63:[77, 86], Operations: ['91-14=77', '2+84=86']
Exploring Operation: 77*86=6622, Resulting Numbers: [6622]
6622,63 unequal: No Solution
Exploring Operation: 77+86=163, Resulting Numbers: [163]
163,63 unequal: No Solution
Exploring Operation: 86-77=9, Resulting Numbers: [9]
9,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[91, 84, 7], Operations: ['14/2=7']
Exploring Operation: 91-7=84, Resulting Numbers: [84, 84]
Generated Node #0,3,0: 63:[84, 84] Operation: 91-7=84
Exploring Operation: 84/7=12, Resulting Numbers: [91, 12]
Generated Node #0,3,1: 63:[91, 12] Operation: 84/7=12
Exploring Operation: 84-7=77, Resulting Numbers: [91, 77]
Generated Node #0,3,2: 63:[91, 77] Operation: 84-7=77
Exploring Operation: 91-84=7, Resulting Numbers: [7, 7]
Generated Node #0,3,3: 63:[7, 7] Operation: 91-84=7
Exploring Operation: 91/7=13, Resulting Numbers: [84, 13]
Generated Node #0,3,4: 63:[84, 13] Operation: 91/7=13
Moving to Node #0,3,3
Current State: 63:[7, 7], Operations: ['14/2=7', '91-84=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Moving to Node #0,3,4
Current State: 63:[84, 13], Operations: ['14/2=7', '91/7=13']
Exploring Operation: 84+13=97, Resulting Numbers: [97]
97,63 unequal: No Solution
Exploring Operation: 84*13=1092, Resulting Numbers: [1092]
1092,63 unequal: No Solution
Exploring Operation: 84-13=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Moving to Node #0,3,1
Current State: 63:[91, 12], Operations: ['14/2=7', '84/7=12']
Exploring Operation: 91+12=103, Resulting Numbers: [103]
103,63 unequal: No Solution
Exploring Operation: 91*12=1092, Resulting Numbers: [1092]
1092,63 unequal: No Solution
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,63 unequal: No Solution
Moving to Node #0,3,0
Current State: 63:[84, 84], Operations: ['14/2=7', '91-7=84']
Exploring Operation: 84/84=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 84+84=168, Resulting Numbers: [168]
168,63 unequal: No Solution
Exploring Operation: 84*84=7056, Resulting Numbers: [7056]
7056,63 unequal: No Solution
Exploring Operation: 84-84=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Moving to Node #0,3,2
Current State: 63:[91, 77], Operations: ['14/2=7', '84-7=77']
Exploring Operation: 91-77=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 91*77=7007, Resulting Numbers: [7007]
7007,63 unequal: No Solution
Exploring Operation: 91+77=168, Resulting Numbers: [168]
168,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
85,
96,
77,
22
] | 10 | [
"85-77=8",
"96/8=12",
"22-12=10"
] | Current State: 10:[85, 96, 77, 22], Operations: []
Exploring Operation: 85-77=8, Resulting Numbers: [96, 22, 8]
Generated Node #2: [96, 22, 8] from Operation: 85-77=8
Current State: 10:[96, 22, 8], Operations: ['85-77=8']
Exploring Operation: 96/8=12, Resulting Numbers: [22, 12]
Generated Node #3: [22, 12] from Operation: 96/8=12
Current State: 10:[22, 12], Operations: ['85-77=8', '96/8=12']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[85, 96, 77, 22], Operations: []
Exploring Operation: 85-22=63, Resulting Numbers: [96, 77, 63]
Generated Node #0,0: 10:[96, 77, 63] Operation: 85-22=63
Exploring Operation: 96-77=19, Resulting Numbers: [85, 22, 19]
Generated Node #0,1: 10:[85, 22, 19] Operation: 96-77=19
Exploring Operation: 85-77=8, Resulting Numbers: [96, 22, 8]
Generated Node #0,2: 10:[96, 22, 8] Operation: 85-77=8
Exploring Operation: 96-85=11, Resulting Numbers: [77, 22, 11]
Generated Node #0,3: 10:[77, 22, 11] Operation: 96-85=11
Moving to Node #0,3
Current State: 10:[77, 22, 11], Operations: ['96-85=11']
Exploring Operation: 77-22=55, Resulting Numbers: [11, 55]
Generated Node #0,3,0: 10:[11, 55] Operation: 77-22=55
Exploring Operation: 22/11=2, Resulting Numbers: [77, 2]
Generated Node #0,3,1: 10:[77, 2] Operation: 22/11=2
Exploring Operation: 77/11=7, Resulting Numbers: [22, 7]
Generated Node #0,3,2: 10:[22, 7] Operation: 77/11=7
Exploring Operation: 77-11=66, Resulting Numbers: [22, 66]
Generated Node #0,3,3: 10:[22, 66] Operation: 77-11=66
Moving to Node #0,1
Current State: 10:[85, 22, 19], Operations: ['96-77=19']
Exploring Operation: 85-19=66, Resulting Numbers: [22, 66]
Generated Node #0,1,0: 10:[22, 66] Operation: 85-19=66
Exploring Operation: 22-19=3, Resulting Numbers: [85, 3]
Generated Node #0,1,1: 10:[85, 3] Operation: 22-19=3
Exploring Operation: 85-22=63, Resulting Numbers: [19, 63]
Generated Node #0,1,2: 10:[19, 63] Operation: 85-22=63
Exploring Operation: 85+22=107, Resulting Numbers: [19, 107]
Generated Node #0,1,3: 10:[19, 107] Operation: 85+22=107
Moving to Node #0,2
Current State: 10:[96, 22, 8], Operations: ['85-77=8']
Exploring Operation: 96/8=12, Resulting Numbers: [22, 12]
Generated Node #0,2,0: 10:[22, 12] Operation: 96/8=12
Exploring Operation: 96-8=88, Resulting Numbers: [22, 88]
Generated Node #0,2,1: 10:[22, 88] Operation: 96-8=88
Exploring Operation: 22-8=14, Resulting Numbers: [96, 14]
Generated Node #0,2,2: 10:[96, 14] Operation: 22-8=14
Exploring Operation: 96-22=74, Resulting Numbers: [8, 74]
Generated Node #0,2,3: 10:[8, 74] Operation: 96-22=74
Moving to Node #0,0
Current State: 10:[96, 77, 63], Operations: ['85-22=63']
Exploring Operation: 96+77=173, Resulting Numbers: [63, 173]
Generated Node #0,0,0: 10:[63, 173] Operation: 96+77=173
Exploring Operation: 77-63=14, Resulting Numbers: [96, 14]
Generated Node #0,0,1: 10:[96, 14] Operation: 77-63=14
Exploring Operation: 96-63=33, Resulting Numbers: [77, 33]
Generated Node #0,0,2: 10:[77, 33] Operation: 96-63=33
Exploring Operation: 96-77=19, Resulting Numbers: [63, 19]
Generated Node #0,0,3: 10:[63, 19] Operation: 96-77=19
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 10:[63, 19], Operations: ['85-22=63', '96-77=19']
Exploring Operation: 63+19=82, Resulting Numbers: [82]
82,10 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 63*19=1197, Resulting Numbers: [1197]
1197,10 unequal: No Solution
No 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: 10:[96, 14], Operations: ['85-22=63', '77-63=14']
Exploring Operation: 96-14=82, Resulting Numbers: [82]
82,10 unequal: No Solution
Exploring Operation: 96+14=110, Resulting Numbers: [110]
110,10 unequal: No Solution
Exploring Operation: 96*14=1344, Resulting Numbers: [1344]
1344,10 unequal: No Solution
No 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: 10:[77, 33], Operations: ['85-22=63', '96-63=33']
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 77*33=2541, Resulting Numbers: [2541]
2541,10 unequal: No Solution
Exploring Operation: 77+33=110, Resulting Numbers: [110]
110,10 unequal: No Solution
No 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: 10:[63, 173], Operations: ['85-22=63', '96+77=173']
Exploring Operation: 173-63=110, Resulting Numbers: [110]
110,10 unequal: No Solution
Exploring Operation: 63+173=236, Resulting Numbers: [236]
236,10 unequal: No Solution
Exploring Operation: 63*173=10899, Resulting Numbers: [10899]
10899,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 10:[22, 7], Operations: ['96-85=11', '77/11=7']
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,10 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[22, 12], Operations: ['85-77=8', '96/8=12']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[85, 96, 77, 22], Operations: []
Exploring Operation: 85-77=8, Resulting Numbers: [96, 22, 8]
Generated Node #0,2: 10:[96, 22, 8] Operation: 85-77=8
Moving to Node #0,2
Current State: 10:[96, 22, 8], Operations: ['85-77=8']
Exploring Operation: 96/8=12, Resulting Numbers: [22, 12]
Generated Node #0,2,0: 10:[22, 12] Operation: 96/8=12
Moving to Node #0,2,0
Current State: 10:[22, 12], Operations: ['85-77=8', '96/8=12']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.965278 | hs_4 | sum_heuristic |
[
42,
11,
46,
7
] | 15 | [
"42+46=88",
"88/11=8",
"7+8=15"
] | Current State: 15:[42, 11, 46, 7], Operations: []
Exploring Operation: 42+46=88, Resulting Numbers: [11, 7, 88]
Generated Node #2: [11, 7, 88] from Operation: 42+46=88
Current State: 15:[11, 7, 88], Operations: ['42+46=88']
Exploring Operation: 88/11=8, Resulting Numbers: [7, 8]
Generated Node #3: [7, 8] from Operation: 88/11=8
Current State: 15:[7, 8], Operations: ['42+46=88', '88/11=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[42, 11, 46, 7], Operations: []
Exploring Operation: 42/7=6, Resulting Numbers: [11, 46, 6]
Generated Node #0,0: 15:[11, 46, 6] Operation: 42/7=6
Exploring Operation: 46-42=4, Resulting Numbers: [11, 7, 4]
Generated Node #0,1: 15:[11, 7, 4] Operation: 46-42=4
Exploring Operation: 46-11=35, Resulting Numbers: [42, 7, 35]
Generated Node #0,2: 15:[42, 7, 35] Operation: 46-11=35
Exploring Operation: 42-11=31, Resulting Numbers: [46, 7, 31]
Generated Node #0,3: 15:[46, 7, 31] Operation: 42-11=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[11, 7, 4], Operations: ['46-42=4']
Exploring Operation: 11+4=15, Resulting Numbers: [7, 15]
Generated Node #0,1,0: 15:[7, 15] Operation: 11+4=15
Exploring Operation: 11-4=7, Resulting Numbers: [7, 7]
Generated Node #0,1,1: 15:[7, 7] Operation: 11-4=7
Exploring Operation: 11+7=18, Resulting Numbers: [4, 18]
Generated Node #0,1,2: 15:[4, 18] Operation: 11+7=18
Exploring Operation: 11-7=4, Resulting Numbers: [4, 4]
Generated Node #0,1,3: 15:[4, 4] Operation: 11-7=4
Moving to Node #0,1,0
Current State: 15:[7, 15], Operations: ['46-42=4', '11+4=15']
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,15 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[4, 4], Operations: ['46-42=4', '11-7=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,15 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[4, 18], Operations: ['46-42=4', '11+7=18']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,15 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[7, 7], Operations: ['46-42=4', '11-4=7']
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,15 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,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
Current State: 15:[11, 46, 6], Operations: ['42/7=6']
Exploring Operation: 11-6=5, Resulting Numbers: [46, 5]
Generated Node #0,0,0: 15:[46, 5] Operation: 11-6=5
Exploring Operation: 11+6=17, Resulting Numbers: [46, 17]
Generated Node #0,0,1: 15:[46, 17] Operation: 11+6=17
Exploring Operation: 46-6=40, Resulting Numbers: [11, 40]
Generated Node #0,0,2: 15:[11, 40] Operation: 46-6=40
Exploring Operation: 46-11=35, Resulting Numbers: [6, 35]
Generated Node #0,0,3: 15:[6, 35] Operation: 46-11=35
Moving to Node #0,0,3
Current State: 15:[6, 35], Operations: ['42/7=6', '46-11=35']
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,15 unequal: No Solution
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,15 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[11, 40], Operations: ['42/7=6', '46-6=40']
Exploring Operation: 11*40=440, Resulting Numbers: [440]
440,15 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 11+40=51, Resulting Numbers: [51]
51,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[46, 5], Operations: ['42/7=6', '11-6=5']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,15 unequal: No Solution
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,15 unequal: No Solution
Exploring Operation: 46*5=230, Resulting Numbers: [230]
230,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[46, 17], Operations: ['42/7=6', '11+6=17']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 46*17=782, Resulting Numbers: [782]
782,15 unequal: No Solution
Exploring Operation: 46+17=63, Resulting Numbers: [63]
63,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,2
Current State: 15:[42, 7, 35], Operations: ['46-11=35']
Exploring Operation: 35/7=5, Resulting Numbers: [42, 5]
Generated Node #0,2,0: 15:[42, 5] Operation: 35/7=5
Exploring Operation: 42-7=35, Resulting Numbers: [35, 35]
Generated Node #0,2,1: 15:[35, 35] Operation: 42-7=35
Exploring Operation: 42/7=6, Resulting Numbers: [35, 6]
Generated Node #0,2,2: 15:[35, 6] Operation: 42/7=6
Exploring Operation: 42-35=7, Resulting Numbers: [7, 7]
Generated Node #0,2,3: 15:[7, 7] Operation: 42-35=7
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 15:[7, 7], Operations: ['46-11=35', '42-35=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,15 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 15:[35, 6], Operations: ['46-11=35', '42/7=6']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,15 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,15 unequal: No Solution
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 15:[42, 5], Operations: ['46-11=35', '35/7=5']
Exploring Operation: 42*5=210, Resulting Numbers: [210]
210,15 unequal: No Solution
Exploring Operation: 42+5=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 15:[35, 35], Operations: ['46-11=35', '42-7=35']
Exploring Operation: 35*35=1225, Resulting Numbers: [1225]
1225,15 unequal: No Solution
Exploring Operation: 35+35=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 35-35=0, Resulting Numbers: [0]
0,15 unequal: No Solution
Exploring Operation: 35/35=1, Resulting Numbers: [1]
1,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 15:[46, 7, 31], Operations: ['42-11=31']
Exploring Operation: 46+7=53, Resulting Numbers: [31, 53]
Generated Node #0,3,0: 15:[31, 53] Operation: 46+7=53
Exploring Operation: 31-7=24, Resulting Numbers: [46, 24]
Generated Node #0,3,1: 15:[46, 24] Operation: 31-7=24
Exploring Operation: 46-7=39, Resulting Numbers: [31, 39]
Generated Node #0,3,2: 15:[31, 39] Operation: 46-7=39
Exploring Operation: 46-31=15, Resulting Numbers: [7, 15]
Generated Node #0,3,3: 15:[7, 15] Operation: 46-31=15
Moving to Node #0,3,3
Current State: 15:[7, 15], Operations: ['42-11=31', '46-31=15']
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,15 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[31, 39], Operations: ['42-11=31', '46-7=39']
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 31+39=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 31*39=1209, Resulting Numbers: [1209]
1209,15 unequal: No Solution
Moving to Node #0,3,1
Current State: 15:[46, 24], Operations: ['42-11=31', '31-7=24']
Exploring Operation: 46*24=1104, Resulting Numbers: [1104]
1104,15 unequal: No Solution
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Moving to Node #0,3,0
Current State: 15:[31, 53], Operations: ['42-11=31', '46+7=53']
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 31*53=1643, Resulting Numbers: [1643]
1643,15 unequal: No Solution
Exploring Operation: 31+53=84, Resulting Numbers: [84]
84,15 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 |
[
84,
78,
72,
15
] | 63 | [
"84-78=6",
"72-15=57",
"6+57=63"
] | Current State: 63:[84, 78, 72, 15], Operations: []
Exploring Operation: 84-78=6, Resulting Numbers: [72, 15, 6]
Generated Node #2: [72, 15, 6] from Operation: 84-78=6
Current State: 63:[72, 15, 6], Operations: ['84-78=6']
Exploring Operation: 72-15=57, Resulting Numbers: [6, 57]
Generated Node #3: [6, 57] from Operation: 72-15=57
Current State: 63:[6, 57], Operations: ['84-78=6', '72-15=57']
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[84, 78, 72, 15], Operations: []
Exploring Operation: 84-72=12, Resulting Numbers: [78, 15, 12]
Generated Node #0,0: 63:[78, 15, 12] Operation: 84-72=12
Exploring Operation: 84-15=69, Resulting Numbers: [78, 72, 69]
Generated Node #0,1: 63:[78, 72, 69] Operation: 84-15=69
Exploring Operation: 78-72=6, Resulting Numbers: [84, 15, 6]
Generated Node #0,2: 63:[84, 15, 6] Operation: 78-72=6
Exploring Operation: 84-78=6, Resulting Numbers: [72, 15, 6]
Generated Node #0,3: 63:[72, 15, 6] Operation: 84-78=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[72, 15, 6], Operations: ['84-78=6']
Exploring Operation: 72-6=66, Resulting Numbers: [15, 66]
Generated Node #0,3,0: 63:[15, 66] Operation: 72-6=66
Exploring Operation: 72-15=57, Resulting Numbers: [6, 57]
Generated Node #0,3,1: 63:[6, 57] Operation: 72-15=57
Exploring Operation: 15+6=21, Resulting Numbers: [72, 21]
Generated Node #0,3,2: 63:[72, 21] Operation: 15+6=21
Exploring Operation: 72/6=12, Resulting Numbers: [15, 12]
Generated Node #0,3,3: 63:[15, 12] Operation: 72/6=12
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 63:[6, 57], Operations: ['84-78=6', '72-15=57']
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[84, 78, 72, 15], Operations: []
Exploring Operation: 84-78=6, Resulting Numbers: [72, 15, 6]
Generated Node #0,3: 63:[72, 15, 6] Operation: 84-78=6
Moving to Node #0,3
Current State: 63:[72, 15, 6], Operations: ['84-78=6']
Exploring Operation: 72-15=57, Resulting Numbers: [6, 57]
Generated Node #0,3,1: 63:[6, 57] Operation: 72-15=57
Moving to Node #0,3,1
Current State: 63:[6, 57], Operations: ['84-78=6', '72-15=57']
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
65,
5,
72,
77
] | 90 | [
"77-72=5",
"5*5=25",
"65+25=90"
] | Current State: 90:[65, 5, 72, 77], Operations: []
Exploring Operation: 77-72=5, Resulting Numbers: [65, 5, 5]
Generated Node #2: [65, 5, 5] from Operation: 77-72=5
Current State: 90:[65, 5, 5], Operations: ['77-72=5']
Exploring Operation: 5*5=25, Resulting Numbers: [65, 25]
Generated Node #3: [65, 25] from Operation: 5*5=25
Current State: 90:[65, 25], Operations: ['77-72=5', '5*5=25']
Exploring Operation: 65+25=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[65, 5, 72, 77], Operations: []
Exploring Operation: 77-65=12, Resulting Numbers: [5, 72, 12]
Generated Node #0,0: 90:[5, 72, 12] Operation: 77-65=12
Exploring Operation: 72-65=7, Resulting Numbers: [5, 77, 7]
Generated Node #0,1: 90:[5, 77, 7] Operation: 72-65=7
Exploring Operation: 77-72=5, Resulting Numbers: [65, 5, 5]
Generated Node #0,2: 90:[65, 5, 5] Operation: 77-72=5
Moving to Node #0,1
Current State: 90:[5, 77, 7], Operations: ['72-65=7']
Exploring Operation: 77/7=11, Resulting Numbers: [5, 11]
Generated Node #0,1,0: 90:[5, 11] Operation: 77/7=11
Exploring Operation: 77+7=84, Resulting Numbers: [5, 84]
Generated Node #0,1,1: 90:[5, 84] Operation: 77+7=84
Exploring Operation: 5+77=82, Resulting Numbers: [7, 82]
Generated Node #0,1,2: 90:[7, 82] Operation: 5+77=82
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[5, 11], Operations: ['72-65=7', '77/7=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[5, 84], Operations: ['72-65=7', '77+7=84']
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,90 unequal: No Solution
Exploring Operation: 5*84=420, Resulting Numbers: [420]
420,90 unequal: No Solution
Exploring Operation: 5+84=89, Resulting Numbers: [89]
89,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[7, 82], Operations: ['72-65=7', '5+77=82']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 7*82=574, Resulting Numbers: [574]
574,90 unequal: No Solution
Exploring Operation: 7+82=89, Resulting Numbers: [89]
89,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 90:[5, 72, 12], Operations: ['77-65=12']
Exploring Operation: 72/12=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 90:[5, 6] Operation: 72/12=6
Exploring Operation: 5+72=77, Resulting Numbers: [12, 77]
Generated Node #0,0,1: 90:[12, 77] Operation: 5+72=77
Exploring Operation: 72+12=84, Resulting Numbers: [5, 84]
Generated Node #0,0,2: 90:[5, 84] Operation: 72+12=84
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[5, 6], Operations: ['77-65=12', '72/12=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 90:[5, 84], Operations: ['77-65=12', '72+12=84']
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,90 unequal: No Solution
Exploring Operation: 5*84=420, Resulting Numbers: [420]
420,90 unequal: No Solution
Exploring Operation: 5+84=89, Resulting Numbers: [89]
89,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[12, 77], Operations: ['77-65=12', '5+72=77']
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 12*77=924, Resulting Numbers: [924]
924,90 unequal: No Solution
Exploring Operation: 12+77=89, Resulting Numbers: [89]
89,90 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: 90:[65, 5, 5], Operations: ['77-72=5']
Exploring Operation: 65/5=13, Resulting Numbers: [5, 13]
Generated Node #0,2,0: 90:[5, 13] Operation: 65/5=13
Exploring Operation: 65/5=13, Resulting Numbers: [5, 13]
Generated Node #0,2,1: 90:[5, 13] Operation: 65/5=13
Exploring Operation: 65-5=60, Resulting Numbers: [5, 60]
Generated Node #0,2,2: 90:[5, 60] Operation: 65-5=60
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[5, 13], Operations: ['77-72=5', '65/5=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[5, 13], Operations: ['77-72=5', '65/5=13']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[5, 60], Operations: ['77-72=5', '65-5=60']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,90 unequal: No Solution
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,90 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 |
[
4,
71,
77,
95
] | 57 | [
"4+71=75",
"95-77=18",
"75-18=57"
] | Current State: 57:[4, 71, 77, 95], Operations: []
Exploring Operation: 4+71=75, Resulting Numbers: [77, 95, 75]
Generated Node #2: [77, 95, 75] from Operation: 4+71=75
Current State: 57:[77, 95, 75], Operations: ['4+71=75']
Exploring Operation: 95-77=18, Resulting Numbers: [75, 18]
Generated Node #3: [75, 18] from Operation: 95-77=18
Current State: 57:[75, 18], Operations: ['4+71=75', '95-77=18']
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[4, 71, 77, 95], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [4, 77, 24]
Generated Node #0,0: 57:[4, 77, 24] Operation: 95-71=24
Exploring Operation: 77-71=6, Resulting Numbers: [4, 95, 6]
Generated Node #0,1: 57:[4, 95, 6] Operation: 77-71=6
Exploring Operation: 95-77=18, Resulting Numbers: [4, 71, 18]
Generated Node #0,2: 57:[4, 71, 18] Operation: 95-77=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[4, 71, 18], Operations: ['95-77=18']
Exploring Operation: 71-18=53, Resulting Numbers: [4, 53]
Generated Node #0,2,0: 57:[4, 53] Operation: 71-18=53
Exploring Operation: 4+18=22, Resulting Numbers: [71, 22]
Generated Node #0,2,1: 57:[71, 22] Operation: 4+18=22
Exploring Operation: 71-4=67, Resulting Numbers: [18, 67]
Generated Node #0,2,2: 57:[18, 67] Operation: 71-4=67
Moving to Node #0,2,0
Current State: 57:[4, 53], Operations: ['95-77=18', '71-18=53']
Exploring Operation: 4*53=212, Resulting Numbers: [212]
212,57 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[4, 71, 77, 95], Operations: []
Exploring Operation: 95-77=18, Resulting Numbers: [4, 71, 18]
Generated Node #0,2: 57:[4, 71, 18] Operation: 95-77=18
Moving to Node #0,2
Current State: 57:[4, 71, 18], Operations: ['95-77=18']
Exploring Operation: 71-18=53, Resulting Numbers: [4, 53]
Generated Node #0,2,0: 57:[4, 53] Operation: 71-18=53
Moving to Node #0,2,0
Current State: 57:[4, 53], Operations: ['95-77=18', '71-18=53']
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
58,
16,
75,
82
] | 49 | [
"58-16=42",
"82-75=7",
"42+7=49"
] | Current State: 49:[58, 16, 75, 82], Operations: []
Exploring Operation: 58-16=42, Resulting Numbers: [75, 82, 42]
Generated Node #2: [75, 82, 42] from Operation: 58-16=42
Current State: 49:[75, 82, 42], Operations: ['58-16=42']
Exploring Operation: 82-75=7, Resulting Numbers: [42, 7]
Generated Node #3: [42, 7] from Operation: 82-75=7
Current State: 49:[42, 7], Operations: ['58-16=42', '82-75=7']
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[58, 16, 75, 82], Operations: []
Exploring Operation: 82-75=7, Resulting Numbers: [58, 16, 7]
Generated Node #0,0: 49:[58, 16, 7] Operation: 82-75=7
Exploring Operation: 82-58=24, Resulting Numbers: [16, 75, 24]
Generated Node #0,1: 49:[16, 75, 24] Operation: 82-58=24
Exploring Operation: 75-58=17, Resulting Numbers: [16, 82, 17]
Generated Node #0,2: 49:[16, 82, 17] Operation: 75-58=17
Exploring Operation: 82-16=66, Resulting Numbers: [58, 75, 66]
Generated Node #0,3: 49:[58, 75, 66] Operation: 82-16=66
Exploring Operation: 75-16=59, Resulting Numbers: [58, 82, 59]
Generated Node #0,4: 49:[58, 82, 59] Operation: 75-16=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[58, 16, 7], Operations: ['82-75=7']
Exploring Operation: 58+7=65, Resulting Numbers: [16, 65]
Generated Node #0,0,0: 49:[16, 65] Operation: 58+7=65
Exploring Operation: 58-7=51, Resulting Numbers: [16, 51]
Generated Node #0,0,1: 49:[16, 51] Operation: 58-7=51
Exploring Operation: 16-7=9, Resulting Numbers: [58, 9]
Generated Node #0,0,2: 49:[58, 9] Operation: 16-7=9
Exploring Operation: 58-16=42, Resulting Numbers: [7, 42]
Generated Node #0,0,3: 49:[7, 42] Operation: 58-16=42
Exploring Operation: 58+16=74, Resulting Numbers: [7, 74]
Generated Node #0,0,4: 49:[7, 74] Operation: 58+16=74
Moving to Node #0,0,3
Current State: 49:[7, 42], Operations: ['82-75=7', '58-16=42']
Exploring Operation: 7*42=294, Resulting Numbers: [294]
294,49 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[58, 16, 75, 82], Operations: []
Exploring Operation: 82-75=7, Resulting Numbers: [58, 16, 7]
Generated Node #0,0: 49:[58, 16, 7] Operation: 82-75=7
Moving to Node #0,0
Current State: 49:[58, 16, 7], Operations: ['82-75=7']
Exploring Operation: 58-16=42, Resulting Numbers: [7, 42]
Generated Node #0,0,3: 49:[7, 42] Operation: 58-16=42
Moving to Node #0,0,3
Current State: 49:[7, 42], Operations: ['82-75=7', '58-16=42']
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
3,
91,
71,
65
] | 89 | [
"71-65=6",
"6/3=2",
"91-2=89"
] | Current State: 89:[3, 91, 71, 65], Operations: []
Exploring Operation: 71-65=6, Resulting Numbers: [3, 91, 6]
Generated Node #2: [3, 91, 6] from Operation: 71-65=6
Current State: 89:[3, 91, 6], Operations: ['71-65=6']
Exploring Operation: 6/3=2, Resulting Numbers: [91, 2]
Generated Node #3: [91, 2] from Operation: 6/3=2
Current State: 89:[91, 2], Operations: ['71-65=6', '6/3=2']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[3, 91, 71, 65], Operations: []
Exploring Operation: 3+91=94, Resulting Numbers: [71, 65, 94]
Generated Node #0,0: 89:[71, 65, 94] Operation: 3+91=94
Exploring Operation: 3+71=74, Resulting Numbers: [91, 65, 74]
Generated Node #0,1: 89:[91, 65, 74] Operation: 3+71=74
Exploring Operation: 71-3=68, Resulting Numbers: [91, 65, 68]
Generated Node #0,2: 89:[91, 65, 68] Operation: 71-3=68
Exploring Operation: 91-3=88, Resulting Numbers: [71, 65, 88]
Generated Node #0,3: 89:[71, 65, 88] Operation: 91-3=88
Exploring Operation: 3+65=68, Resulting Numbers: [91, 71, 68]
Generated Node #0,4: 89:[91, 71, 68] Operation: 3+65=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[91, 65, 74], Operations: ['3+71=74']
Exploring Operation: 74-65=9, Resulting Numbers: [91, 9]
Generated Node #0,1,0: 89:[91, 9] Operation: 74-65=9
Exploring Operation: 91-74=17, Resulting Numbers: [65, 17]
Generated Node #0,1,1: 89:[65, 17] Operation: 91-74=17
Exploring Operation: 65+74=139, Resulting Numbers: [91, 139]
Generated Node #0,1,2: 89:[91, 139] Operation: 65+74=139
Exploring Operation: 91-65=26, Resulting Numbers: [74, 26]
Generated Node #0,1,3: 89:[74, 26] Operation: 91-65=26
Exploring Operation: 91+65=156, Resulting Numbers: [74, 156]
Generated Node #0,1,4: 89:[74, 156] Operation: 91+65=156
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 89:[91, 139], Operations: ['3+71=74', '65+74=139']
Exploring Operation: 91*139=12649, Resulting Numbers: [12649]
12649,89 unequal: No Solution
Exploring Operation: 139-91=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 91+139=230, Resulting Numbers: [230]
230,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 89:[74, 26], Operations: ['3+71=74', '91-65=26']
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 74+26=100, Resulting Numbers: [100]
100,89 unequal: No Solution
Exploring Operation: 74*26=1924, Resulting Numbers: [1924]
1924,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[91, 9], Operations: ['3+71=74', '74-65=9']
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 91*9=819, Resulting Numbers: [819]
819,89 unequal: No Solution
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 89:[74, 156], Operations: ['3+71=74', '91+65=156']
Exploring Operation: 74+156=230, Resulting Numbers: [230]
230,89 unequal: No Solution
Exploring Operation: 74*156=11544, Resulting Numbers: [11544]
11544,89 unequal: No Solution
Exploring Operation: 156-74=82, Resulting Numbers: [82]
82,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[65, 17], Operations: ['3+71=74', '91-74=17']
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 65*17=1105, Resulting Numbers: [1105]
1105,89 unequal: No Solution
Exploring Operation: 65+17=82, Resulting Numbers: [82]
82,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 89:[91, 71, 68], Operations: ['3+65=68']
Exploring Operation: 91-71=20, Resulting Numbers: [68, 20]
Generated Node #0,4,0: 89:[68, 20] Operation: 91-71=20
Exploring Operation: 71-68=3, Resulting Numbers: [91, 3]
Generated Node #0,4,1: 89:[91, 3] Operation: 71-68=3
Exploring Operation: 91-68=23, Resulting Numbers: [71, 23]
Generated Node #0,4,2: 89:[71, 23] Operation: 91-68=23
Exploring Operation: 71+68=139, Resulting Numbers: [91, 139]
Generated Node #0,4,3: 89:[91, 139] Operation: 71+68=139
Exploring Operation: 91+68=159, Resulting Numbers: [71, 159]
Generated Node #0,4,4: 89:[71, 159] Operation: 91+68=159
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 89:[91, 139], Operations: ['3+65=68', '71+68=139']
Exploring Operation: 139-91=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 91*139=12649, Resulting Numbers: [12649]
12649,89 unequal: No Solution
Exploring Operation: 91+139=230, Resulting Numbers: [230]
230,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 89:[71, 23], Operations: ['3+65=68', '91-68=23']
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 71*23=1633, Resulting Numbers: [1633]
1633,89 unequal: No Solution
Exploring Operation: 71+23=94, Resulting Numbers: [94]
94,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 89:[91, 3], Operations: ['3+65=68', '71-68=3']
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,89 unequal: No Solution
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 89:[71, 159], Operations: ['3+65=68', '91+68=159']
Exploring Operation: 71*159=11289, Resulting Numbers: [11289]
11289,89 unequal: No Solution
Exploring Operation: 71+159=230, Resulting Numbers: [230]
230,89 unequal: No Solution
Exploring Operation: 159-71=88, Resulting Numbers: [88]
88,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 89:[68, 20], Operations: ['3+65=68', '91-71=20']
Exploring Operation: 68+20=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 68*20=1360, Resulting Numbers: [1360]
1360,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[71, 65, 88], Operations: ['91-3=88']
Exploring Operation: 71+65=136, Resulting Numbers: [88, 136]
Generated Node #0,3,0: 89:[88, 136] Operation: 71+65=136
Exploring Operation: 65+88=153, Resulting Numbers: [71, 153]
Generated Node #0,3,1: 89:[71, 153] Operation: 65+88=153
Exploring Operation: 71-65=6, Resulting Numbers: [88, 6]
Generated Node #0,3,2: 89:[88, 6] Operation: 71-65=6
Exploring Operation: 88-65=23, Resulting Numbers: [71, 23]
Generated Node #0,3,3: 89:[71, 23] Operation: 88-65=23
Exploring Operation: 71+88=159, Resulting Numbers: [65, 159]
Generated Node #0,3,4: 89:[65, 159] Operation: 71+88=159
Moving to Node #0,3,0
Current State: 89:[88, 136], Operations: ['91-3=88', '71+65=136']
Exploring Operation: 88+136=224, Resulting Numbers: [224]
224,89 unequal: No Solution
Exploring Operation: 88*136=11968, Resulting Numbers: [11968]
11968,89 unequal: No Solution
Exploring Operation: 136-88=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[71, 153], Operations: ['91-3=88', '65+88=153']
Exploring Operation: 71*153=10863, Resulting Numbers: [10863]
10863,89 unequal: No Solution
Exploring Operation: 71+153=224, Resulting Numbers: [224]
224,89 unequal: No Solution
Exploring Operation: 153-71=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[88, 6], Operations: ['91-3=88', '71-65=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Exploring Operation: 88*6=528, Resulting Numbers: [528]
528,89 unequal: No Solution
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[71, 23], Operations: ['91-3=88', '88-65=23']
Exploring Operation: 71+23=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Exploring Operation: 71*23=1633, Resulting Numbers: [1633]
1633,89 unequal: No Solution
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Moving to Node #0,3,4
Current State: 89:[65, 159], Operations: ['91-3=88', '71+88=159']
Exploring Operation: 65*159=10335, Resulting Numbers: [10335]
10335,89 unequal: No Solution
Exploring Operation: 65+159=224, Resulting Numbers: [224]
224,89 unequal: No Solution
Exploring Operation: 159-65=94, Resulting Numbers: [94]
94,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[71, 65, 94], Operations: ['3+91=94']
Exploring Operation: 65+94=159, Resulting Numbers: [71, 159]
Generated Node #0,0,0: 89:[71, 159] Operation: 65+94=159
Exploring Operation: 94-65=29, Resulting Numbers: [71, 29]
Generated Node #0,0,1: 89:[71, 29] Operation: 94-65=29
Exploring Operation: 71-65=6, Resulting Numbers: [94, 6]
Generated Node #0,0,2: 89:[94, 6] Operation: 71-65=6
Exploring Operation: 94-71=23, Resulting Numbers: [65, 23]
Generated Node #0,0,3: 89:[65, 23] Operation: 94-71=23
Exploring Operation: 71+65=136, Resulting Numbers: [94, 136]
Generated Node #0,0,4: 89:[94, 136] Operation: 71+65=136
Moving to Node #0,0,4
Current State: 89:[94, 136], Operations: ['3+91=94', '71+65=136']
Exploring Operation: 136-94=42, Resulting Numbers: [42]
42,89 unequal: No Solution
Exploring Operation: 94+136=230, Resulting Numbers: [230]
230,89 unequal: No Solution
Exploring Operation: 94*136=12784, Resulting Numbers: [12784]
12784,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[71, 29], Operations: ['3+91=94', '94-65=29']
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,89 unequal: No Solution
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,89 unequal: No Solution
Exploring Operation: 71*29=2059, Resulting Numbers: [2059]
2059,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[71, 159], Operations: ['3+91=94', '65+94=159']
Exploring Operation: 71+159=230, Resulting Numbers: [230]
230,89 unequal: No Solution
Exploring Operation: 159-71=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 71*159=11289, Resulting Numbers: [11289]
11289,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[94, 6], Operations: ['3+91=94', '71-65=6']
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,89 unequal: No Solution
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 94*6=564, Resulting Numbers: [564]
564,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[65, 23], Operations: ['3+91=94', '94-71=23']
Exploring Operation: 65*23=1495, Resulting Numbers: [1495]
1495,89 unequal: No Solution
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[91, 65, 68], Operations: ['71-3=68']
Exploring Operation: 91-65=26, Resulting Numbers: [68, 26]
Generated Node #0,2,0: 89:[68, 26] Operation: 91-65=26
Exploring Operation: 91+65=156, Resulting Numbers: [68, 156]
Generated Node #0,2,1: 89:[68, 156] Operation: 91+65=156
Exploring Operation: 91-68=23, Resulting Numbers: [65, 23]
Generated Node #0,2,2: 89:[65, 23] Operation: 91-68=23
Exploring Operation: 68-65=3, Resulting Numbers: [91, 3]
Generated Node #0,2,3: 89:[91, 3] Operation: 68-65=3
Exploring Operation: 65+68=133, Resulting Numbers: [91, 133]
Generated Node #0,2,4: 89:[91, 133] Operation: 65+68=133
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 89:[91, 133], Operations: ['71-3=68', '65+68=133']
Exploring Operation: 133-91=42, Resulting Numbers: [42]
42,89 unequal: No Solution
Exploring Operation: 91*133=12103, Resulting Numbers: [12103]
12103,89 unequal: No Solution
Exploring Operation: 91+133=224, Resulting Numbers: [224]
224,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 89:[68, 26], Operations: ['71-3=68', '91-65=26']
Exploring Operation: 68+26=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,89 unequal: No Solution
Exploring Operation: 68*26=1768, Resulting Numbers: [1768]
1768,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 89:[68, 156], Operations: ['71-3=68', '91+65=156']
Exploring Operation: 156-68=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 68*156=10608, Resulting Numbers: [10608]
10608,89 unequal: No Solution
Exploring Operation: 68+156=224, Resulting Numbers: [224]
224,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 89:[91, 3], Operations: ['71-3=68', '68-65=3']
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,89 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 89:[65, 23], Operations: ['71-3=68', '91-68=23']
Exploring Operation: 65*23=1495, Resulting Numbers: [1495]
1495,89 unequal: No Solution
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
82,
82,
22,
76
] | 76 | [
"82-82=0",
"22*0=0",
"76+0=76"
] | Current State: 76:[82, 82, 22, 76], Operations: []
Exploring Operation: 82-82=0, Resulting Numbers: [22, 76, 0]
Generated Node #2: [22, 76, 0] from Operation: 82-82=0
Current State: 76:[22, 76, 0], Operations: ['82-82=0']
Exploring Operation: 22*0=0, Resulting Numbers: [76, 0]
Generated Node #3: [76, 0] from Operation: 22*0=0
Current State: 76:[76, 0], Operations: ['82-82=0', '22*0=0']
Exploring Operation: 76+0=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[82, 82, 22, 76], Operations: []
Exploring Operation: 82/82=1, Resulting Numbers: [22, 76, 1]
Generated Node #0,0: 76:[22, 76, 1] Operation: 82/82=1
Moving to Node #0,0
Current State: 76:[22, 76, 1], Operations: ['82/82=1']
Exploring Operation: 22-1=21, Resulting Numbers: [76, 21]
Generated Node #0,0,0: 76:[76, 21] Operation: 22-1=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[76, 21], Operations: ['82/82=1', '22-1=21']
Exploring Operation: 76-21=55, Resulting Numbers: [55]
55,76 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,
8,
55,
95
] | 52 | [
"95/19=5",
"55-8=47",
"5+47=52"
] | Current State: 52:[19, 8, 55, 95], Operations: []
Exploring Operation: 95/19=5, Resulting Numbers: [8, 55, 5]
Generated Node #2: [8, 55, 5] from Operation: 95/19=5
Current State: 52:[8, 55, 5], Operations: ['95/19=5']
Exploring Operation: 55-8=47, Resulting Numbers: [5, 47]
Generated Node #3: [5, 47] from Operation: 55-8=47
Current State: 52:[5, 47], Operations: ['95/19=5', '55-8=47']
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[19, 8, 55, 95], Operations: []
Exploring Operation: 95/19=5, Resulting Numbers: [8, 55, 5]
Generated Node #0,0: 52:[8, 55, 5] Operation: 95/19=5
Exploring Operation: 95-55=40, Resulting Numbers: [19, 8, 40]
Generated Node #0,1: 52:[19, 8, 40] Operation: 95-55=40
Moving to Node #0,0
Current State: 52:[8, 55, 5], Operations: ['95/19=5']
Exploring Operation: 8+5=13, Resulting Numbers: [55, 13]
Generated Node #0,0,0: 52:[55, 13] Operation: 8+5=13
Exploring Operation: 8-5=3, Resulting Numbers: [55, 3]
Generated Node #0,0,1: 52:[55, 3] Operation: 8-5=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[55, 13], Operations: ['95/19=5', '8+5=13']
Exploring Operation: 55+13=68, Resulting Numbers: [68]
68,52 unequal: No Solution
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[55, 3], Operations: ['95/19=5', '8-5=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[19, 8, 55, 95], Operations: []
Exploring Operation: 95/19=5, Resulting Numbers: [8, 55, 5]
Generated Node #0,0: 52:[8, 55, 5] Operation: 95/19=5
Moving to Node #0,0
Current State: 52:[8, 55, 5], Operations: ['95/19=5']
Exploring Operation: 8-5=3, Resulting Numbers: [55, 3]
Generated Node #0,0,1: 52:[55, 3] Operation: 8-5=3
Moving to Node #0,0,1
Current State: 52:[55, 3], Operations: ['95/19=5', '8-5=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
18,
95,
32,
5
] | 40 | [
"95-18=77",
"32+5=37",
"77-37=40"
] | Current State: 40:[18, 95, 32, 5], Operations: []
Exploring Operation: 95-18=77, Resulting Numbers: [32, 5, 77]
Generated Node #2: [32, 5, 77] from Operation: 95-18=77
Current State: 40:[32, 5, 77], Operations: ['95-18=77']
Exploring Operation: 32+5=37, Resulting Numbers: [77, 37]
Generated Node #3: [77, 37] from Operation: 32+5=37
Current State: 40:[77, 37], Operations: ['95-18=77', '32+5=37']
Exploring Operation: 77-37=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[18, 95, 32, 5], Operations: []
Exploring Operation: 95-32=63, Resulting Numbers: [18, 5, 63]
Generated Node #0,0: 40:[18, 5, 63] Operation: 95-32=63
Exploring Operation: 95/5=19, Resulting Numbers: [18, 32, 19]
Generated Node #0,1: 40:[18, 32, 19] Operation: 95/5=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[18, 32, 19], Operations: ['95/5=19']
Exploring Operation: 32-18=14, Resulting Numbers: [19, 14]
Generated Node #0,1,0: 40:[19, 14] Operation: 32-18=14
Exploring Operation: 32-19=13, Resulting Numbers: [18, 13]
Generated Node #0,1,1: 40:[18, 13] Operation: 32-19=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 40:[19, 14], Operations: ['95/5=19', '32-18=14']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 40:[18, 13], Operations: ['95/5=19', '32-19=13']
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,40 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[18, 5, 63], Operations: ['95-32=63']
Exploring Operation: 63-5=58, Resulting Numbers: [18, 58]
Generated Node #0,0,0: 40:[18, 58] Operation: 63-5=58
Exploring Operation: 63-18=45, Resulting Numbers: [5, 45]
Generated Node #0,0,1: 40:[5, 45] Operation: 63-18=45
Moving to Node #0,0,1
Current State: 40:[5, 45], Operations: ['95-32=63', '63-18=45']
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[18, 95, 32, 5], Operations: []
Exploring Operation: 95-32=63, Resulting Numbers: [18, 5, 63]
Generated Node #0,0: 40:[18, 5, 63] Operation: 95-32=63
Moving to Node #0,0
Current State: 40:[18, 5, 63], Operations: ['95-32=63']
Exploring Operation: 63-18=45, Resulting Numbers: [5, 45]
Generated Node #0,0,1: 40:[5, 45] Operation: 63-18=45
Moving to Node #0,0,1
Current State: 40:[5, 45], Operations: ['95-32=63', '63-18=45']
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
3,
83,
74,
38
] | 35 | [
"83-74=9",
"9/3=3",
"38-3=35"
] | Current State: 35:[3, 83, 74, 38], Operations: []
Exploring Operation: 83-74=9, Resulting Numbers: [3, 38, 9]
Generated Node #2: [3, 38, 9] from Operation: 83-74=9
Current State: 35:[3, 38, 9], Operations: ['83-74=9']
Exploring Operation: 9/3=3, Resulting Numbers: [38, 3]
Generated Node #3: [38, 3] from Operation: 9/3=3
Current State: 35:[38, 3], Operations: ['83-74=9', '9/3=3']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[3, 83, 74, 38], Operations: []
Exploring Operation: 74-3=71, Resulting Numbers: [83, 38, 71]
Generated Node #0,0: 35:[83, 38, 71] Operation: 74-3=71
Exploring Operation: 83-74=9, Resulting Numbers: [3, 38, 9]
Generated Node #0,1: 35:[3, 38, 9] Operation: 83-74=9
Exploring Operation: 83-38=45, Resulting Numbers: [3, 74, 45]
Generated Node #0,2: 35:[3, 74, 45] Operation: 83-38=45
Exploring Operation: 74-38=36, Resulting Numbers: [3, 83, 36]
Generated Node #0,3: 35:[3, 83, 36] Operation: 74-38=36
Exploring Operation: 83-3=80, Resulting Numbers: [74, 38, 80]
Generated Node #0,4: 35:[74, 38, 80] Operation: 83-3=80
Moving to Node #0,1
Current State: 35:[3, 38, 9], Operations: ['83-74=9']
Exploring Operation: 9/3=3, Resulting Numbers: [38, 3]
Generated Node #0,1,0: 35:[38, 3] Operation: 9/3=3
Exploring Operation: 38-3=35, Resulting Numbers: [9, 35]
Generated Node #0,1,1: 35:[9, 35] Operation: 38-3=35
Exploring Operation: 9-3=6, Resulting Numbers: [38, 6]
Generated Node #0,1,2: 35:[38, 6] Operation: 9-3=6
Exploring Operation: 3+38=41, Resulting Numbers: [9, 41]
Generated Node #0,1,3: 35:[9, 41] Operation: 3+38=41
Exploring Operation: 3+9=12, Resulting Numbers: [38, 12]
Generated Node #0,1,4: 35:[38, 12] Operation: 3+9=12
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 35:[9, 35], Operations: ['83-74=9', '38-3=35']
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,35 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[38, 6], Operations: ['83-74=9', '9-3=6']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,35 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 35:[38, 3], Operations: ['83-74=9', '9/3=3']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[3, 83, 74, 38], Operations: []
Exploring Operation: 83-74=9, Resulting Numbers: [3, 38, 9]
Generated Node #0,1: 35:[3, 38, 9] Operation: 83-74=9
Moving to Node #0,1
Current State: 35:[3, 38, 9], Operations: ['83-74=9']
Exploring Operation: 9/3=3, Resulting Numbers: [38, 3]
Generated Node #0,1,0: 35:[38, 3] Operation: 9/3=3
Moving to Node #0,1,0
Current State: 35:[38, 3], Operations: ['83-74=9', '9/3=3']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
50,
32,
7,
6
] | 21 | [
"50-32=18",
"7*18=126",
"126/6=21"
] | Current State: 21:[50, 32, 7, 6], Operations: []
Exploring Operation: 50-32=18, Resulting Numbers: [7, 6, 18]
Generated Node #2: [7, 6, 18] from Operation: 50-32=18
Current State: 21:[7, 6, 18], Operations: ['50-32=18']
Exploring Operation: 7*18=126, Resulting Numbers: [6, 126]
Generated Node #3: [6, 126] from Operation: 7*18=126
Current State: 21:[6, 126], Operations: ['50-32=18', '7*18=126']
Exploring Operation: 126/6=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[50, 32, 7, 6], Operations: []
Exploring Operation: 50-7=43, Resulting Numbers: [32, 6, 43]
Generated Node #0,0: 21:[32, 6, 43] Operation: 50-7=43
Exploring Operation: 50-6=44, Resulting Numbers: [32, 7, 44]
Generated Node #0,1: 21:[32, 7, 44] Operation: 50-6=44
Exploring Operation: 50-32=18, Resulting Numbers: [7, 6, 18]
Generated Node #0,2: 21:[7, 6, 18] Operation: 50-32=18
Moving to Node #0,2
Current State: 21:[7, 6, 18], Operations: ['50-32=18']
Exploring Operation: 6+18=24, Resulting Numbers: [7, 24]
Generated Node #0,2,0: 21:[7, 24] Operation: 6+18=24
Exploring Operation: 18/6=3, Resulting Numbers: [7, 3]
Generated Node #0,2,1: 21:[7, 3] Operation: 18/6=3
Exploring Operation: 7-6=1, Resulting Numbers: [18, 1]
Generated Node #0,2,2: 21:[18, 1] Operation: 7-6=1
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 21:[7, 3], Operations: ['50-32=18', '18/6=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[50, 32, 7, 6], Operations: []
Exploring Operation: 50-32=18, Resulting Numbers: [7, 6, 18]
Generated Node #0,2: 21:[7, 6, 18] Operation: 50-32=18
Moving to Node #0,2
Current State: 21:[7, 6, 18], Operations: ['50-32=18']
Exploring Operation: 18/6=3, Resulting Numbers: [7, 3]
Generated Node #0,2,1: 21:[7, 3] Operation: 18/6=3
Moving to Node #0,2,1
Current State: 21:[7, 3], Operations: ['50-32=18', '18/6=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
74,
84,
13,
71
] | 48 | [
"84-74=10",
"71-13=58",
"58-10=48"
] | Current State: 48:[74, 84, 13, 71], Operations: []
Exploring Operation: 84-74=10, Resulting Numbers: [13, 71, 10]
Generated Node #2: [13, 71, 10] from Operation: 84-74=10
Current State: 48:[13, 71, 10], Operations: ['84-74=10']
Exploring Operation: 71-13=58, Resulting Numbers: [10, 58]
Generated Node #3: [10, 58] from Operation: 71-13=58
Current State: 48:[10, 58], Operations: ['84-74=10', '71-13=58']
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[74, 84, 13, 71], Operations: []
Exploring Operation: 74-71=3, Resulting Numbers: [84, 13, 3]
Generated Node #0,0: 48:[84, 13, 3] Operation: 74-71=3
Exploring Operation: 74-13=61, Resulting Numbers: [84, 71, 61]
Generated Node #0,1: 48:[84, 71, 61] Operation: 74-13=61
Exploring Operation: 84-74=10, Resulting Numbers: [13, 71, 10]
Generated Node #0,2: 48:[13, 71, 10] Operation: 84-74=10
Exploring Operation: 84-71=13, Resulting Numbers: [74, 13, 13]
Generated Node #0,3: 48:[74, 13, 13] Operation: 84-71=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[13, 71, 10], Operations: ['84-74=10']
Exploring Operation: 71-10=61, Resulting Numbers: [13, 61]
Generated Node #0,2,0: 48:[13, 61] Operation: 71-10=61
Exploring Operation: 13+10=23, Resulting Numbers: [71, 23]
Generated Node #0,2,1: 48:[71, 23] Operation: 13+10=23
Exploring Operation: 13-10=3, Resulting Numbers: [71, 3]
Generated Node #0,2,2: 48:[71, 3] Operation: 13-10=3
Exploring Operation: 71-13=58, Resulting Numbers: [10, 58]
Generated Node #0,2,3: 48:[10, 58] Operation: 71-13=58
Moving to Node #0,2,3
Current State: 48:[10, 58], Operations: ['84-74=10', '71-13=58']
Exploring Operation: 10+58=68, Resulting Numbers: [68]
68,48 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[74, 84, 13, 71], Operations: []
Exploring Operation: 84-74=10, Resulting Numbers: [13, 71, 10]
Generated Node #0,2: 48:[13, 71, 10] Operation: 84-74=10
Moving to Node #0,2
Current State: 48:[13, 71, 10], Operations: ['84-74=10']
Exploring Operation: 71-13=58, Resulting Numbers: [10, 58]
Generated Node #0,2,3: 48:[10, 58] Operation: 71-13=58
Moving to Node #0,2,3
Current State: 48:[10, 58], Operations: ['84-74=10', '71-13=58']
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
90,
54,
99,
50
] | 85 | [
"90-54=36",
"99-50=49",
"36+49=85"
] | Current State: 85:[90, 54, 99, 50], Operations: []
Exploring Operation: 90-54=36, Resulting Numbers: [99, 50, 36]
Generated Node #2: [99, 50, 36] from Operation: 90-54=36
Current State: 85:[99, 50, 36], Operations: ['90-54=36']
Exploring Operation: 99-50=49, Resulting Numbers: [36, 49]
Generated Node #3: [36, 49] from Operation: 99-50=49
Current State: 85:[36, 49], Operations: ['90-54=36', '99-50=49']
Exploring Operation: 36+49=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[90, 54, 99, 50], Operations: []
Exploring Operation: 90-54=36, Resulting Numbers: [99, 50, 36]
Generated Node #0,0: 85:[99, 50, 36] Operation: 90-54=36
Exploring Operation: 54-50=4, Resulting Numbers: [90, 99, 4]
Generated Node #0,1: 85:[90, 99, 4] Operation: 54-50=4
Exploring Operation: 54+50=104, Resulting Numbers: [90, 99, 104]
Generated Node #0,2: 85:[90, 99, 104] Operation: 54+50=104
Moving to Node #0,1
Current State: 85:[90, 99, 4], Operations: ['54-50=4']
Exploring Operation: 90-4=86, Resulting Numbers: [99, 86]
Generated Node #0,1,0: 85:[99, 86] Operation: 90-4=86
Exploring Operation: 99-4=95, Resulting Numbers: [90, 95]
Generated Node #0,1,1: 85:[90, 95] Operation: 99-4=95
Exploring Operation: 99-90=9, Resulting Numbers: [4, 9]
Generated Node #0,1,2: 85:[4, 9] Operation: 99-90=9
Moving to Node #0,2
Current State: 85:[90, 99, 104], Operations: ['54+50=104']
Exploring Operation: 99-90=9, Resulting Numbers: [104, 9]
Generated Node #0,2,0: 85:[104, 9] Operation: 99-90=9
Exploring Operation: 104-99=5, Resulting Numbers: [90, 5]
Generated Node #0,2,1: 85:[90, 5] Operation: 104-99=5
Exploring Operation: 104-90=14, Resulting Numbers: [99, 14]
Generated Node #0,2,2: 85:[99, 14] Operation: 104-90=14
Moving to Node #0,0
Current State: 85:[99, 50, 36], Operations: ['90-54=36']
Exploring Operation: 50-36=14, Resulting Numbers: [99, 14]
Generated Node #0,0,0: 85:[99, 14] Operation: 50-36=14
Exploring Operation: 50+36=86, Resulting Numbers: [99, 86]
Generated Node #0,0,1: 85:[99, 86] Operation: 50+36=86
Exploring Operation: 99-50=49, Resulting Numbers: [36, 49]
Generated Node #0,0,2: 85:[36, 49] Operation: 99-50=49
Moving to Node #0,1,2
Current State: 85:[4, 9], Operations: ['54-50=4', '99-90=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[90, 5], Operations: ['54+50=104', '104-99=5']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,85 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[90, 54, 99, 50], Operations: []
Exploring Operation: 54+50=104, Resulting Numbers: [90, 99, 104]
Generated Node #0,2: 85:[90, 99, 104] Operation: 54+50=104
Moving to Node #0,2
Current State: 85:[90, 99, 104], Operations: ['54+50=104']
Exploring Operation: 104-99=5, Resulting Numbers: [90, 5]
Generated Node #0,2,1: 85:[90, 5] Operation: 104-99=5
Moving to Node #0,2,1
Current State: 85:[90, 5], Operations: ['54+50=104', '104-99=5']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.980903 | hs_3 | sum_heuristic |
[
92,
24,
48,
24
] | 90 | [
"92*24=2208",
"2208-48=2160",
"2160/24=90"
] | Current State: 90:[92, 24, 48, 24], Operations: []
Exploring Operation: 92*24=2208, Resulting Numbers: [48, 2208]
Generated Node #2: [48, 2208] from Operation: 92*24=2208
Current State: 90:[48, 2208], Operations: ['92*24=2208']
Exploring Operation: 2208-48=2160, Resulting Numbers: [2160]
2160,90 equal: Goal Reached
Exploring Operation: 2160/24=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[92, 24, 48, 24], Operations: []
Exploring Operation: 24/24=1, Resulting Numbers: [92, 48, 1]
Generated Node #0,0: 90:[92, 48, 1] Operation: 24/24=1
Exploring Operation: 24-24=0, Resulting Numbers: [92, 48, 0]
Generated Node #0,1: 90:[92, 48, 0] Operation: 24-24=0
Exploring Operation: 48/24=2, Resulting Numbers: [92, 24, 2]
Generated Node #0,2: 90:[92, 24, 2] Operation: 48/24=2
Moving to Node #0,0
Current State: 90:[92, 48, 1], Operations: ['24/24=1']
Exploring Operation: 92-1=91, Resulting Numbers: [48, 91]
Generated Node #0,0,0: 90:[48, 91] Operation: 92-1=91
Exploring Operation: 92-48=44, Resulting Numbers: [1, 44]
Generated Node #0,0,1: 90:[1, 44] Operation: 92-48=44
Exploring Operation: 48-1=47, Resulting Numbers: [92, 47]
Generated Node #0,0,2: 90:[92, 47] Operation: 48-1=47
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[1, 44], Operations: ['24/24=1', '92-48=44']
Exploring Operation: 1+44=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[48, 91], Operations: ['24/24=1', '92-1=91']
Exploring Operation: 48+91=139, Resulting Numbers: [139]
139,90 unequal: No Solution
Exploring Operation: 91-48=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 48*91=4368, Resulting Numbers: [4368]
4368,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 90:[92, 47], Operations: ['24/24=1', '48-1=47']
Exploring Operation: 92*47=4324, Resulting Numbers: [4324]
4324,90 unequal: No Solution
Exploring Operation: 92-47=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 92+47=139, Resulting Numbers: [139]
139,90 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: 90:[92, 48, 0], Operations: ['24-24=0']
Exploring Operation: 92+0=92, Resulting Numbers: [48, 92]
Generated Node #0,1,0: 90:[48, 92] Operation: 92+0=92
Exploring Operation: 92-48=44, Resulting Numbers: [0, 44]
Generated Node #0,1,1: 90:[0, 44] Operation: 92-48=44
Exploring Operation: 48*0=0, Resulting Numbers: [92, 0]
Generated Node #0,1,2: 90:[92, 0] Operation: 48*0=0
Moving to Node #0,2
Current State: 90:[92, 24, 2], Operations: ['48/24=2']
Exploring Operation: 24*2=48, Resulting Numbers: [92, 48]
Generated Node #0,2,0: 90:[92, 48] Operation: 24*2=48
Exploring Operation: 24/2=12, Resulting Numbers: [92, 12]
Generated Node #0,2,1: 90:[92, 12] Operation: 24/2=12
Exploring Operation: 92-2=90, Resulting Numbers: [24, 90]
Generated Node #0,2,2: 90:[24, 90] Operation: 92-2=90
Moving to Node #0,1,1
Current State: 90:[0, 44], Operations: ['24-24=0', '92-48=44']
Exploring Operation: 44-0=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Exploring Operation: 0*44=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Exploring Operation: 0+44=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[92, 0], Operations: ['24-24=0', '48*0=0']
Exploring Operation: 92+0=92, Resulting Numbers: [92]
92,90 unequal: No Solution
Exploring Operation: 92-0=92, Resulting Numbers: [92]
92,90 unequal: No Solution
Exploring Operation: 92*0=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[92, 12], Operations: ['48/24=2', '24/2=12']
Exploring Operation: 92*12=1104, Resulting Numbers: [1104]
1104,90 unequal: No Solution
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,90 unequal: No Solution
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[48, 92], Operations: ['24-24=0', '92+0=92']
Exploring Operation: 48*92=4416, Resulting Numbers: [4416]
4416,90 unequal: No Solution
Exploring Operation: 92-48=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Exploring Operation: 48+92=140, Resulting Numbers: [140]
140,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[92, 48], Operations: ['48/24=2', '24*2=48']
Exploring Operation: 92+48=140, Resulting Numbers: [140]
140,90 unequal: No Solution
Exploring Operation: 92*48=4416, Resulting Numbers: [4416]
4416,90 unequal: No Solution
Exploring Operation: 92-48=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[24, 90], Operations: ['48/24=2', '92-2=90']
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,90 unequal: No Solution
Exploring Operation: 24*90=2160, Resulting Numbers: [2160]
2160,90 unequal: No Solution
Exploring Operation: 24+90=114, Resulting Numbers: [114]
114,90 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
44,
60,
67,
13
] | 50 | [
"44+60=104",
"67-13=54",
"104-54=50"
] | Current State: 50:[44, 60, 67, 13], Operations: []
Exploring Operation: 44+60=104, Resulting Numbers: [67, 13, 104]
Generated Node #2: [67, 13, 104] from Operation: 44+60=104
Current State: 50:[67, 13, 104], Operations: ['44+60=104']
Exploring Operation: 67-13=54, Resulting Numbers: [104, 54]
Generated Node #3: [104, 54] from Operation: 67-13=54
Current State: 50:[104, 54], Operations: ['44+60=104', '67-13=54']
Exploring Operation: 104-54=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[44, 60, 67, 13], Operations: []
Exploring Operation: 67-60=7, Resulting Numbers: [44, 13, 7]
Generated Node #0,0: 50:[44, 13, 7] Operation: 67-60=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[44, 13, 7], Operations: ['67-60=7']
Exploring Operation: 44+7=51, Resulting Numbers: [13, 51]
Generated Node #0,0,0: 50:[13, 51] Operation: 44+7=51
Moving to Node #0,0,0
Current State: 50:[13, 51], Operations: ['67-60=7', '44+7=51']
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,50 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 |
[
35,
70,
85,
94
] | 11 | [
"70/35=2",
"94-85=9",
"2+9=11"
] | Current State: 11:[35, 70, 85, 94], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [85, 94, 2]
Generated Node #2: [85, 94, 2] from Operation: 70/35=2
Current State: 11:[85, 94, 2], Operations: ['70/35=2']
Exploring Operation: 94-85=9, Resulting Numbers: [2, 9]
Generated Node #3: [2, 9] from Operation: 94-85=9
Current State: 11:[2, 9], Operations: ['70/35=2', '94-85=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[35, 70, 85, 94], Operations: []
Exploring Operation: 85-70=15, Resulting Numbers: [35, 94, 15]
Generated Node #0,0: 11:[35, 94, 15] Operation: 85-70=15
Exploring Operation: 94-85=9, Resulting Numbers: [35, 70, 9]
Generated Node #0,1: 11:[35, 70, 9] Operation: 94-85=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[35, 70, 9], Operations: ['94-85=9']
Exploring Operation: 70/35=2, Resulting Numbers: [9, 2]
Generated Node #0,1,0: 11:[9, 2] Operation: 70/35=2
Exploring Operation: 70-35=35, Resulting Numbers: [9, 35]
Generated Node #0,1,1: 11:[9, 35] Operation: 70-35=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[9, 2], Operations: ['94-85=9', '70/35=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[35, 70, 85, 94], Operations: []
Exploring Operation: 94-85=9, Resulting Numbers: [35, 70, 9]
Generated Node #0,1: 11:[35, 70, 9] Operation: 94-85=9
Moving to Node #0,1
Current State: 11:[35, 70, 9], Operations: ['94-85=9']
Exploring Operation: 70/35=2, Resulting Numbers: [9, 2]
Generated Node #0,1,0: 11:[9, 2] Operation: 70/35=2
Moving to Node #0,1,0
Current State: 11:[9, 2], Operations: ['94-85=9', '70/35=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
71,
22,
17,
52
] | 95 | [
"71-52=19",
"22-17=5",
"19*5=95"
] | Current State: 95:[71, 22, 17, 52], Operations: []
Exploring Operation: 71-52=19, Resulting Numbers: [22, 17, 19]
Generated Node #2: [22, 17, 19] from Operation: 71-52=19
Current State: 95:[22, 17, 19], Operations: ['71-52=19']
Exploring Operation: 22-17=5, Resulting Numbers: [19, 5]
Generated Node #3: [19, 5] from Operation: 22-17=5
Current State: 95:[19, 5], Operations: ['71-52=19', '22-17=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[71, 22, 17, 52], Operations: []
Exploring Operation: 71+52=123, Resulting Numbers: [22, 17, 123]
Generated Node #0,0: 95:[22, 17, 123] Operation: 71+52=123
Exploring Operation: 71+22=93, Resulting Numbers: [17, 52, 93]
Generated Node #0,1: 95:[17, 52, 93] Operation: 71+22=93
Exploring Operation: 71-52=19, Resulting Numbers: [22, 17, 19]
Generated Node #0,2: 95:[22, 17, 19] Operation: 71-52=19
Moving to Node #0,2
Current State: 95:[22, 17, 19], Operations: ['71-52=19']
Exploring Operation: 19-17=2, Resulting Numbers: [22, 2]
Generated Node #0,2,0: 95:[22, 2] Operation: 19-17=2
Exploring Operation: 22-17=5, Resulting Numbers: [19, 5]
Generated Node #0,2,1: 95:[19, 5] Operation: 22-17=5
Exploring Operation: 22-19=3, Resulting Numbers: [17, 3]
Generated Node #0,2,2: 95:[17, 3] Operation: 22-19=3
Moving to Node #0,0
Current State: 95:[22, 17, 123], Operations: ['71+52=123']
Exploring Operation: 123-17=106, Resulting Numbers: [22, 106]
Generated Node #0,0,0: 95:[22, 106] Operation: 123-17=106
Exploring Operation: 123-22=101, Resulting Numbers: [17, 101]
Generated Node #0,0,1: 95:[17, 101] Operation: 123-22=101
Exploring Operation: 22-17=5, Resulting Numbers: [123, 5]
Generated Node #0,0,2: 95:[123, 5] Operation: 22-17=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[17, 101], Operations: ['71+52=123', '123-22=101']
Exploring Operation: 17+101=118, Resulting Numbers: [118]
118,95 unequal: No Solution
Exploring Operation: 17*101=1717, Resulting Numbers: [1717]
1717,95 unequal: No Solution
Exploring Operation: 101-17=84, Resulting Numbers: [84]
84,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[22, 106], Operations: ['71+52=123', '123-17=106']
Exploring Operation: 22*106=2332, Resulting Numbers: [2332]
2332,95 unequal: No Solution
Exploring Operation: 106-22=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Exploring Operation: 22+106=128, Resulting Numbers: [128]
128,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 95:[123, 5], Operations: ['71+52=123', '22-17=5']
Exploring Operation: 123-5=118, Resulting Numbers: [118]
118,95 unequal: No Solution
Exploring Operation: 123*5=615, Resulting Numbers: [615]
615,95 unequal: No Solution
Exploring Operation: 123+5=128, Resulting Numbers: [128]
128,95 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: 95:[17, 52, 93], Operations: ['71+22=93']
Exploring Operation: 52-17=35, Resulting Numbers: [93, 35]
Generated Node #0,1,0: 95:[93, 35] Operation: 52-17=35
Exploring Operation: 17+52=69, Resulting Numbers: [93, 69]
Generated Node #0,1,1: 95:[93, 69] Operation: 17+52=69
Exploring Operation: 93-52=41, Resulting Numbers: [17, 41]
Generated Node #0,1,2: 95:[17, 41] Operation: 93-52=41
Moving to Node #0,2,1
Current State: 95:[19, 5], Operations: ['71-52=19', '22-17=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[71, 22, 17, 52], Operations: []
Exploring Operation: 71-52=19, Resulting Numbers: [22, 17, 19]
Generated Node #0,2: 95:[22, 17, 19] Operation: 71-52=19
Moving to Node #0,2
Current State: 95:[22, 17, 19], Operations: ['71-52=19']
Exploring Operation: 22-17=5, Resulting Numbers: [19, 5]
Generated Node #0,2,1: 95:[19, 5] Operation: 22-17=5
Moving to Node #0,2,1
Current State: 95:[19, 5], Operations: ['71-52=19', '22-17=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
3,
52,
24,
14
] | 70 | [
"3*14=42",
"52-24=28",
"42+28=70"
] | Current State: 70:[3, 52, 24, 14], Operations: []
Exploring Operation: 3*14=42, Resulting Numbers: [52, 24, 42]
Generated Node #2: [52, 24, 42] from Operation: 3*14=42
Current State: 70:[52, 24, 42], Operations: ['3*14=42']
Exploring Operation: 52-24=28, Resulting Numbers: [42, 28]
Generated Node #3: [42, 28] from Operation: 52-24=28
Current State: 70:[42, 28], Operations: ['3*14=42', '52-24=28']
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[3, 52, 24, 14], Operations: []
Exploring Operation: 52+24=76, Resulting Numbers: [3, 14, 76]
Generated Node #0,0: 70:[3, 14, 76] Operation: 52+24=76
Moving to Node #0,0
Current State: 70:[3, 14, 76], Operations: ['52+24=76']
Exploring Operation: 76-3=73, Resulting Numbers: [14, 73]
Generated Node #0,0,0: 70:[14, 73] Operation: 76-3=73
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[14, 73], Operations: ['52+24=76', '76-3=73']
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,70 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 |
[
55,
60,
72,
68
] | 70 | [
"72-68=4",
"60/4=15",
"55+15=70"
] | Current State: 70:[55, 60, 72, 68], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [55, 60, 4]
Generated Node #2: [55, 60, 4] from Operation: 72-68=4
Current State: 70:[55, 60, 4], Operations: ['72-68=4']
Exploring Operation: 60/4=15, Resulting Numbers: [55, 15]
Generated Node #3: [55, 15] from Operation: 60/4=15
Current State: 70:[55, 15], Operations: ['72-68=4', '60/4=15']
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[55, 60, 72, 68], Operations: []
Exploring Operation: 68-60=8, Resulting Numbers: [55, 72, 8]
Generated Node #0,0: 70:[55, 72, 8] Operation: 68-60=8
Exploring Operation: 72-55=17, Resulting Numbers: [60, 68, 17]
Generated Node #0,1: 70:[60, 68, 17] Operation: 72-55=17
Exploring Operation: 60-55=5, Resulting Numbers: [72, 68, 5]
Generated Node #0,2: 70:[72, 68, 5] Operation: 60-55=5
Exploring Operation: 68-55=13, Resulting Numbers: [60, 72, 13]
Generated Node #0,3: 70:[60, 72, 13] Operation: 68-55=13
Moving to Node #0,2
Current State: 70:[72, 68, 5], Operations: ['60-55=5']
Exploring Operation: 72+5=77, Resulting Numbers: [68, 77]
Generated Node #0,2,0: 70:[68, 77] Operation: 72+5=77
Exploring Operation: 68+5=73, Resulting Numbers: [72, 73]
Generated Node #0,2,1: 70:[72, 73] Operation: 68+5=73
Exploring Operation: 72-68=4, Resulting Numbers: [5, 4]
Generated Node #0,2,2: 70:[5, 4] Operation: 72-68=4
Exploring Operation: 72-5=67, Resulting Numbers: [68, 67]
Generated Node #0,2,3: 70:[68, 67] Operation: 72-5=67
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[5, 4], Operations: ['60-55=5', '72-68=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[72, 73], Operations: ['60-55=5', '68+5=73']
Exploring Operation: 72*73=5256, Resulting Numbers: [5256]
5256,70 unequal: No Solution
Exploring Operation: 72+73=145, Resulting Numbers: [145]
145,70 unequal: No Solution
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 70:[68, 67], Operations: ['60-55=5', '72-5=67']
Exploring Operation: 68*67=4556, Resulting Numbers: [4556]
4556,70 unequal: No Solution
Exploring Operation: 68-67=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 68+67=135, Resulting Numbers: [135]
135,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[68, 77], Operations: ['60-55=5', '72+5=77']
Exploring Operation: 77-68=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 68*77=5236, Resulting Numbers: [5236]
5236,70 unequal: No Solution
Exploring Operation: 68+77=145, Resulting Numbers: [145]
145,70 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: 70:[60, 72, 13], Operations: ['68-55=13']
Exploring Operation: 60+13=73, Resulting Numbers: [72, 73]
Generated Node #0,3,0: 70:[72, 73] Operation: 60+13=73
Exploring Operation: 72-13=59, Resulting Numbers: [60, 59]
Generated Node #0,3,1: 70:[60, 59] Operation: 72-13=59
Exploring Operation: 60-13=47, Resulting Numbers: [72, 47]
Generated Node #0,3,2: 70:[72, 47] Operation: 60-13=47
Exploring Operation: 72-60=12, Resulting Numbers: [13, 12]
Generated Node #0,3,3: 70:[13, 12] Operation: 72-60=12
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 70:[13, 12], Operations: ['68-55=13', '72-60=12']
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,70 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 70:[72, 73], Operations: ['68-55=13', '60+13=73']
Exploring Operation: 72+73=145, Resulting Numbers: [145]
145,70 unequal: No Solution
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,70 unequal: No Solution
Exploring Operation: 72*73=5256, Resulting Numbers: [5256]
5256,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 70:[72, 47], Operations: ['68-55=13', '60-13=47']
Exploring Operation: 72*47=3384, Resulting Numbers: [3384]
3384,70 unequal: No Solution
Exploring Operation: 72+47=119, Resulting Numbers: [119]
119,70 unequal: No Solution
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 70:[60, 59], Operations: ['68-55=13', '72-13=59']
Exploring Operation: 60+59=119, Resulting Numbers: [119]
119,70 unequal: No Solution
Exploring Operation: 60*59=3540, Resulting Numbers: [3540]
3540,70 unequal: No Solution
Exploring Operation: 60-59=1, Resulting Numbers: [1]
1,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 70:[60, 68, 17], Operations: ['72-55=17']
Exploring Operation: 68/17=4, Resulting Numbers: [60, 4]
Generated Node #0,1,0: 70:[60, 4] Operation: 68/17=4
Exploring Operation: 68-60=8, Resulting Numbers: [17, 8]
Generated Node #0,1,1: 70:[17, 8] Operation: 68-60=8
Exploring Operation: 60-17=43, Resulting Numbers: [68, 43]
Generated Node #0,1,2: 70:[68, 43] Operation: 60-17=43
Exploring Operation: 60+17=77, Resulting Numbers: [68, 77]
Generated Node #0,1,3: 70:[68, 77] Operation: 60+17=77
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[17, 8], Operations: ['72-55=17', '68-60=8']
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 17*8=136, Resulting Numbers: [136]
136,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 70:[68, 77], Operations: ['72-55=17', '60+17=77']
Exploring Operation: 68+77=145, Resulting Numbers: [145]
145,70 unequal: No Solution
Exploring Operation: 68*77=5236, Resulting Numbers: [5236]
5236,70 unequal: No Solution
Exploring Operation: 77-68=9, Resulting Numbers: [9]
9,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[68, 43], Operations: ['72-55=17', '60-17=43']
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 68*43=2924, Resulting Numbers: [2924]
2924,70 unequal: No Solution
Exploring Operation: 68+43=111, Resulting Numbers: [111]
111,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[60, 4], Operations: ['72-55=17', '68/17=4']
Exploring Operation: 60+4=64, Resulting Numbers: [64]
64,70 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 60*4=240, Resulting Numbers: [240]
240,70 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 70:[55, 72, 8], Operations: ['68-60=8']
Exploring Operation: 72/8=9, Resulting Numbers: [55, 9]
Generated Node #0,0,0: 70:[55, 9] Operation: 72/8=9
Exploring Operation: 55+8=63, Resulting Numbers: [72, 63]
Generated Node #0,0,1: 70:[72, 63] Operation: 55+8=63
Exploring Operation: 55-8=47, Resulting Numbers: [72, 47]
Generated Node #0,0,2: 70:[72, 47] Operation: 55-8=47
Exploring Operation: 72-55=17, Resulting Numbers: [8, 17]
Generated Node #0,0,3: 70:[8, 17] Operation: 72-55=17
Moving to Node #0,0,3
Current State: 70:[8, 17], Operations: ['68-60=8', '72-55=17']
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,70 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[72, 63], Operations: ['68-60=8', '55+8=63']
Exploring Operation: 72*63=4536, Resulting Numbers: [4536]
4536,70 unequal: No Solution
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 72+63=135, Resulting Numbers: [135]
135,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[72, 47], Operations: ['68-60=8', '55-8=47']
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 72*47=3384, Resulting Numbers: [3384]
3384,70 unequal: No Solution
Exploring Operation: 72+47=119, Resulting Numbers: [119]
119,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[55, 9], Operations: ['68-60=8', '72/8=9']
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Exploring Operation: 55*9=495, Resulting Numbers: [495]
495,70 unequal: No Solution
Exploring Operation: 55+9=64, Resulting Numbers: [64]
64,70 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
52,
57,
4,
11
] | 49 | [
"57-52=5",
"4*11=44",
"5+44=49"
] | Current State: 49:[52, 57, 4, 11], Operations: []
Exploring Operation: 57-52=5, Resulting Numbers: [4, 11, 5]
Generated Node #2: [4, 11, 5] from Operation: 57-52=5
Current State: 49:[4, 11, 5], Operations: ['57-52=5']
Exploring Operation: 4*11=44, Resulting Numbers: [5, 44]
Generated Node #3: [5, 44] from Operation: 4*11=44
Current State: 49:[5, 44], Operations: ['57-52=5', '4*11=44']
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[52, 57, 4, 11], Operations: []
Exploring Operation: 57-4=53, Resulting Numbers: [52, 11, 53]
Generated Node #0,0: 49:[52, 11, 53] Operation: 57-4=53
Exploring Operation: 57-11=46, Resulting Numbers: [52, 4, 46]
Generated Node #0,1: 49:[52, 4, 46] Operation: 57-11=46
Exploring Operation: 57-52=5, Resulting Numbers: [4, 11, 5]
Generated Node #0,2: 49:[4, 11, 5] Operation: 57-52=5
Moving to Node #0,1
Current State: 49:[52, 4, 46], Operations: ['57-11=46']
Exploring Operation: 52-4=48, Resulting Numbers: [46, 48]
Generated Node #0,1,0: 49:[46, 48] Operation: 52-4=48
Exploring Operation: 4+46=50, Resulting Numbers: [52, 50]
Generated Node #0,1,1: 49:[52, 50] Operation: 4+46=50
Exploring Operation: 52-46=6, Resulting Numbers: [4, 6]
Generated Node #0,1,2: 49:[4, 6] Operation: 52-46=6
Moving to Node #0,2
Current State: 49:[4, 11, 5], Operations: ['57-52=5']
Exploring Operation: 4+5=9, Resulting Numbers: [11, 9]
Generated Node #0,2,0: 49:[11, 9] Operation: 4+5=9
Exploring Operation: 11-5=6, Resulting Numbers: [4, 6]
Generated Node #0,2,1: 49:[4, 6] Operation: 11-5=6
Exploring Operation: 11-4=7, Resulting Numbers: [5, 7]
Generated Node #0,2,2: 49:[5, 7] Operation: 11-4=7
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[5, 7], Operations: ['57-52=5', '11-4=7']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[4, 6], Operations: ['57-52=5', '11-5=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[11, 9], Operations: ['57-52=5', '4+5=9']
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,49 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: 49:[52, 11, 53], Operations: ['57-4=53']
Exploring Operation: 53-52=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 49:[11, 1] Operation: 53-52=1
Exploring Operation: 53-11=42, Resulting Numbers: [52, 42]
Generated Node #0,0,1: 49:[52, 42] Operation: 53-11=42
Exploring Operation: 52-11=41, Resulting Numbers: [53, 41]
Generated Node #0,0,2: 49:[53, 41] Operation: 52-11=41
Moving to Node #0,1,0
Current State: 49:[46, 48], Operations: ['57-11=46', '52-4=48']
Exploring Operation: 46+48=94, Resulting Numbers: [94]
94,49 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 46*48=2208, Resulting Numbers: [2208]
2208,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[4, 6], Operations: ['57-11=46', '52-46=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[52, 50], Operations: ['57-11=46', '4+46=50']
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,49 unequal: No Solution
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,49 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[11, 1], Operations: ['57-4=53', '53-52=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[52, 42], Operations: ['57-4=53', '53-11=42']
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 52*42=2184, Resulting Numbers: [2184]
2184,49 unequal: No Solution
Exploring Operation: 52+42=94, Resulting Numbers: [94]
94,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[53, 41], Operations: ['57-4=53', '52-11=41']
Exploring Operation: 53+41=94, Resulting Numbers: [94]
94,49 unequal: No Solution
Exploring Operation: 53*41=2173, Resulting Numbers: [2173]
2173,49 unequal: No Solution
Exploring Operation: 53-41=12, Resulting Numbers: [12]
12,49 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
91,
25,
36,
70
] | 40 | [
"91-25=66",
"36+70=106",
"106-66=40"
] | Current State: 40:[91, 25, 36, 70], Operations: []
Exploring Operation: 91-25=66, Resulting Numbers: [36, 70, 66]
Generated Node #2: [36, 70, 66] from Operation: 91-25=66
Current State: 40:[36, 70, 66], Operations: ['91-25=66']
Exploring Operation: 36+70=106, Resulting Numbers: [66, 106]
Generated Node #3: [66, 106] from Operation: 36+70=106
Current State: 40:[66, 106], Operations: ['91-25=66', '36+70=106']
Exploring Operation: 106-66=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[91, 25, 36, 70], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [25, 36, 21]
Generated Node #0,0: 40:[25, 36, 21] Operation: 91-70=21
Exploring Operation: 91-36=55, Resulting Numbers: [25, 70, 55]
Generated Node #0,1: 40:[25, 70, 55] Operation: 91-36=55
Exploring Operation: 91-25=66, Resulting Numbers: [36, 70, 66]
Generated Node #0,2: 40:[36, 70, 66] Operation: 91-25=66
Moving to Node #0,0
Current State: 40:[25, 36, 21], Operations: ['91-70=21']
Exploring Operation: 25-21=4, Resulting Numbers: [36, 4]
Generated Node #0,0,0: 40:[36, 4] Operation: 25-21=4
Exploring Operation: 25+21=46, Resulting Numbers: [36, 46]
Generated Node #0,0,1: 40:[36, 46] Operation: 25+21=46
Exploring Operation: 36-25=11, Resulting Numbers: [21, 11]
Generated Node #0,0,2: 40:[21, 11] Operation: 36-25=11
Moving to Node #0,1
Current State: 40:[25, 70, 55], Operations: ['91-36=55']
Exploring Operation: 70-25=45, Resulting Numbers: [55, 45]
Generated Node #0,1,0: 40:[55, 45] Operation: 70-25=45
Exploring Operation: 70-55=15, Resulting Numbers: [25, 15]
Generated Node #0,1,1: 40:[25, 15] Operation: 70-55=15
Exploring Operation: 55-25=30, Resulting Numbers: [70, 30]
Generated Node #0,1,2: 40:[70, 30] Operation: 55-25=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[25, 15], Operations: ['91-36=55', '70-55=15']
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[91, 25, 36, 70], Operations: []
Exploring Operation: 91-36=55, Resulting Numbers: [25, 70, 55]
Generated Node #0,1: 40:[25, 70, 55] Operation: 91-36=55
Moving to Node #0,1
Current State: 40:[25, 70, 55], Operations: ['91-36=55']
Exploring Operation: 70-55=15, Resulting Numbers: [25, 15]
Generated Node #0,1,1: 40:[25, 15] Operation: 70-55=15
Moving to Node #0,1,1
Current State: 40:[25, 15], Operations: ['91-36=55', '70-55=15']
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
98,
2,
44,
57
] | 30 | [
"98-44=54",
"54/2=27",
"57-27=30"
] | Current State: 30:[98, 2, 44, 57], Operations: []
Exploring Operation: 98-44=54, Resulting Numbers: [2, 57, 54]
Generated Node #2: [2, 57, 54] from Operation: 98-44=54
Current State: 30:[2, 57, 54], Operations: ['98-44=54']
Exploring Operation: 54/2=27, Resulting Numbers: [57, 27]
Generated Node #3: [57, 27] from Operation: 54/2=27
Current State: 30:[57, 27], Operations: ['98-44=54', '54/2=27']
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[98, 2, 44, 57], Operations: []
Exploring Operation: 57-44=13, Resulting Numbers: [98, 2, 13]
Generated Node #0,0: 30:[98, 2, 13] Operation: 57-44=13
Exploring Operation: 98/2=49, Resulting Numbers: [44, 57, 49]
Generated Node #0,1: 30:[44, 57, 49] Operation: 98/2=49
Exploring Operation: 98-44=54, Resulting Numbers: [2, 57, 54]
Generated Node #0,2: 30:[2, 57, 54] Operation: 98-44=54
Exploring Operation: 44/2=22, Resulting Numbers: [98, 57, 22]
Generated Node #0,3: 30:[98, 57, 22] Operation: 44/2=22
Exploring Operation: 98-57=41, Resulting Numbers: [2, 44, 41]
Generated Node #0,4: 30:[2, 44, 41] Operation: 98-57=41
Start Sub Search at level 1: Moving to Node #0,4
Current State: 30:[2, 44, 41], Operations: ['98-57=41']
Exploring Operation: 44-2=42, Resulting Numbers: [41, 42]
Generated Node #0,4,0: 30:[41, 42] Operation: 44-2=42
Exploring Operation: 44-41=3, Resulting Numbers: [2, 3]
Generated Node #0,4,1: 30:[2, 3] Operation: 44-41=3
Exploring Operation: 44/2=22, Resulting Numbers: [41, 22]
Generated Node #0,4,2: 30:[41, 22] Operation: 44/2=22
Exploring Operation: 41-2=39, Resulting Numbers: [44, 39]
Generated Node #0,4,3: 30:[44, 39] Operation: 41-2=39
Exploring Operation: 2+44=46, Resulting Numbers: [41, 46]
Generated Node #0,4,4: 30:[41, 46] Operation: 2+44=46
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 30:[2, 3], Operations: ['98-57=41', '44-41=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,30 unequal: No Solution
No 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: 30:[41, 22], Operations: ['98-57=41', '44/2=22']
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,30 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,30 unequal: No Solution
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,30 unequal: No Solution
No 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: 30:[41, 42], Operations: ['98-57=41', '44-2=42']
Exploring Operation: 41*42=1722, Resulting Numbers: [1722]
1722,30 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 41+42=83, Resulting Numbers: [83]
83,30 unequal: No Solution
No 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: 30:[44, 39], Operations: ['98-57=41', '41-2=39']
Exploring Operation: 44*39=1716, Resulting Numbers: [1716]
1716,30 unequal: No Solution
Exploring Operation: 44+39=83, Resulting Numbers: [83]
83,30 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,30 unequal: No Solution
No 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: 30:[41, 46], Operations: ['98-57=41', '2+44=46']
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 41*46=1886, Resulting Numbers: [1886]
1886,30 unequal: No Solution
Exploring Operation: 41+46=87, Resulting Numbers: [87]
87,30 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: 30:[2, 57, 54], Operations: ['98-44=54']
Exploring Operation: 2+57=59, Resulting Numbers: [54, 59]
Generated Node #0,2,0: 30:[54, 59] Operation: 2+57=59
Exploring Operation: 54/2=27, Resulting Numbers: [57, 27]
Generated Node #0,2,1: 30:[57, 27] Operation: 54/2=27
Exploring Operation: 57-54=3, Resulting Numbers: [2, 3]
Generated Node #0,2,2: 30:[2, 3] Operation: 57-54=3
Exploring Operation: 54-2=52, Resulting Numbers: [57, 52]
Generated Node #0,2,3: 30:[57, 52] Operation: 54-2=52
Exploring Operation: 57-2=55, Resulting Numbers: [54, 55]
Generated Node #0,2,4: 30:[54, 55] Operation: 57-2=55
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 30:[2, 3], Operations: ['98-44=54', '57-54=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,30 unequal: No Solution
No 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: 30:[57, 27], Operations: ['98-44=54', '54/2=27']
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[98, 2, 44, 57], Operations: []
Exploring Operation: 98-44=54, Resulting Numbers: [2, 57, 54]
Generated Node #0,2: 30:[2, 57, 54] Operation: 98-44=54
Moving to Node #0,2
Current State: 30:[2, 57, 54], Operations: ['98-44=54']
Exploring Operation: 54/2=27, Resulting Numbers: [57, 27]
Generated Node #0,2,1: 30:[57, 27] Operation: 54/2=27
Moving to Node #0,2,1
Current State: 30:[57, 27], Operations: ['98-44=54', '54/2=27']
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
10,
37,
35,
41
] | 72 | [
"37-35=2",
"41*2=82",
"82-10=72"
] | Current State: 72:[10, 37, 35, 41], Operations: []
Exploring Operation: 37-35=2, Resulting Numbers: [10, 41, 2]
Generated Node #2: [10, 41, 2] from Operation: 37-35=2
Current State: 72:[10, 41, 2], Operations: ['37-35=2']
Exploring Operation: 41*2=82, Resulting Numbers: [10, 82]
Generated Node #3: [10, 82] from Operation: 41*2=82
Current State: 72:[10, 82], Operations: ['37-35=2', '41*2=82']
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[10, 37, 35, 41], Operations: []
Exploring Operation: 41-35=6, Resulting Numbers: [10, 37, 6]
Generated Node #0,0: 72:[10, 37, 6] Operation: 41-35=6
Exploring Operation: 41-37=4, Resulting Numbers: [10, 35, 4]
Generated Node #0,1: 72:[10, 35, 4] Operation: 41-37=4
Exploring Operation: 37+35=72, Resulting Numbers: [10, 41, 72]
Generated Node #0,2: 72:[10, 41, 72] Operation: 37+35=72
Exploring Operation: 35+41=76, Resulting Numbers: [10, 37, 76]
Generated Node #0,3: 72:[10, 37, 76] Operation: 35+41=76
Exploring Operation: 37-35=2, Resulting Numbers: [10, 41, 2]
Generated Node #0,4: 72:[10, 41, 2] Operation: 37-35=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[10, 37, 6], Operations: ['41-35=6']
Exploring Operation: 37-6=31, Resulting Numbers: [10, 31]
Generated Node #0,0,0: 72:[10, 31] Operation: 37-6=31
Exploring Operation: 37+6=43, Resulting Numbers: [10, 43]
Generated Node #0,0,1: 72:[10, 43] Operation: 37+6=43
Exploring Operation: 37-10=27, Resulting Numbers: [6, 27]
Generated Node #0,0,2: 72:[6, 27] Operation: 37-10=27
Exploring Operation: 10+6=16, Resulting Numbers: [37, 16]
Generated Node #0,0,3: 72:[37, 16] Operation: 10+6=16
Exploring Operation: 10-6=4, Resulting Numbers: [37, 4]
Generated Node #0,0,4: 72:[37, 4] Operation: 10-6=4
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 72:[37, 4], Operations: ['41-35=6', '10-6=4']
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,72 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 72:[6, 27], Operations: ['41-35=6', '37-10=27']
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,72 unequal: No Solution
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 72:[37, 16], Operations: ['41-35=6', '10+6=16']
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Exploring Operation: 37*16=592, Resulting Numbers: [592]
592,72 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[10, 31], Operations: ['41-35=6', '37-6=31']
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,72 unequal: No Solution
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,72 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 72:[10, 43], Operations: ['41-35=6', '37+6=43']
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 10*43=430, Resulting Numbers: [430]
430,72 unequal: No Solution
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[10, 35, 4], Operations: ['41-37=4']
Exploring Operation: 10-4=6, Resulting Numbers: [35, 6]
Generated Node #0,1,0: 72:[35, 6] Operation: 10-4=6
Exploring Operation: 10*4=40, Resulting Numbers: [35, 40]
Generated Node #0,1,1: 72:[35, 40] Operation: 10*4=40
Exploring Operation: 35+4=39, Resulting Numbers: [10, 39]
Generated Node #0,1,2: 72:[10, 39] Operation: 35+4=39
Exploring Operation: 35-10=25, Resulting Numbers: [4, 25]
Generated Node #0,1,3: 72:[4, 25] Operation: 35-10=25
Exploring Operation: 10+4=14, Resulting Numbers: [35, 14]
Generated Node #0,1,4: 72:[35, 14] Operation: 10+4=14
Moving to Node #0,1,0
Current State: 72:[35, 6], Operations: ['41-37=4', '10-4=6']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,72 unequal: No Solution
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,72 unequal: No Solution
Moving to Node #0,1,3
Current State: 72:[4, 25], Operations: ['41-37=4', '35-10=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,72 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Moving to Node #0,1,4
Current State: 72:[35, 14], Operations: ['41-37=4', '10+4=14']
Exploring Operation: 35*14=490, Resulting Numbers: [490]
490,72 unequal: No Solution
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Exploring Operation: 35+14=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[10, 39], Operations: ['41-37=4', '35+4=39']
Exploring Operation: 10*39=390, Resulting Numbers: [390]
390,72 unequal: No Solution
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[35, 40], Operations: ['41-37=4', '10*4=40']
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,72 unequal: No Solution
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 35*40=1400, Resulting Numbers: [1400]
1400,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[10, 41, 72], Operations: ['37+35=72']
Exploring Operation: 10+72=82, Resulting Numbers: [41, 82]
Generated Node #0,2,0: 72:[41, 82] Operation: 10+72=82
Exploring Operation: 72-41=31, Resulting Numbers: [10, 31]
Generated Node #0,2,1: 72:[10, 31] Operation: 72-41=31
Exploring Operation: 72-10=62, Resulting Numbers: [41, 62]
Generated Node #0,2,2: 72:[41, 62] Operation: 72-10=62
Exploring Operation: 10+41=51, Resulting Numbers: [72, 51]
Generated Node #0,2,3: 72:[72, 51] Operation: 10+41=51
Exploring Operation: 41-10=31, Resulting Numbers: [72, 31]
Generated Node #0,2,4: 72:[72, 31] Operation: 41-10=31
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 72:[72, 31], Operations: ['37+35=72', '41-10=31']
Exploring Operation: 72*31=2232, Resulting Numbers: [2232]
2232,72 unequal: No Solution
Exploring Operation: 72+31=103, Resulting Numbers: [103]
103,72 unequal: No Solution
Exploring Operation: 72-31=41, Resulting Numbers: [41]
41,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 72:[10, 31], Operations: ['37+35=72', '72-41=31']
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,72 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 72:[41, 82], Operations: ['37+35=72', '10+72=82']
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,72 unequal: No Solution
Exploring Operation: 41*82=3362, Resulting Numbers: [3362]
3362,72 unequal: No Solution
Exploring Operation: 41+82=123, Resulting Numbers: [123]
123,72 unequal: No Solution
Exploring Operation: 82/41=2, Resulting Numbers: [2]
2,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 72:[41, 62], Operations: ['37+35=72', '72-10=62']
Exploring Operation: 41+62=103, Resulting Numbers: [103]
103,72 unequal: No Solution
Exploring Operation: 41*62=2542, Resulting Numbers: [2542]
2542,72 unequal: No Solution
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 72:[72, 51], Operations: ['37+35=72', '10+41=51']
Exploring Operation: 72*51=3672, Resulting Numbers: [3672]
3672,72 unequal: No Solution
Exploring Operation: 72-51=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Exploring Operation: 72+51=123, Resulting Numbers: [123]
123,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 72:[10, 37, 76], Operations: ['35+41=76']
Exploring Operation: 10+76=86, Resulting Numbers: [37, 86]
Generated Node #0,3,0: 72:[37, 86] Operation: 10+76=86
Exploring Operation: 10+37=47, Resulting Numbers: [76, 47]
Generated Node #0,3,1: 72:[76, 47] Operation: 10+37=47
Exploring Operation: 76-10=66, Resulting Numbers: [37, 66]
Generated Node #0,3,2: 72:[37, 66] Operation: 76-10=66
Exploring Operation: 76-37=39, Resulting Numbers: [10, 39]
Generated Node #0,3,3: 72:[10, 39] Operation: 76-37=39
Exploring Operation: 37-10=27, Resulting Numbers: [76, 27]
Generated Node #0,3,4: 72:[76, 27] Operation: 37-10=27
Moving to Node #0,3,3
Current State: 72:[10, 39], Operations: ['35+41=76', '76-37=39']
Exploring Operation: 10*39=390, Resulting Numbers: [390]
390,72 unequal: No Solution
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Moving to Node #0,3,4
Current State: 72:[76, 27], Operations: ['35+41=76', '37-10=27']
Exploring Operation: 76*27=2052, Resulting Numbers: [2052]
2052,72 unequal: No Solution
Exploring Operation: 76+27=103, Resulting Numbers: [103]
103,72 unequal: No Solution
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[37, 66], Operations: ['35+41=76', '76-10=66']
Exploring Operation: 37+66=103, Resulting Numbers: [103]
103,72 unequal: No Solution
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 37*66=2442, Resulting Numbers: [2442]
2442,72 unequal: No Solution
Moving to Node #0,3,0
Current State: 72:[37, 86], Operations: ['35+41=76', '10+76=86']
Exploring Operation: 37+86=123, Resulting Numbers: [123]
123,72 unequal: No Solution
Exploring Operation: 86-37=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 37*86=3182, Resulting Numbers: [3182]
3182,72 unequal: No Solution
Moving to Node #0,3,1
Current State: 72:[76, 47], Operations: ['35+41=76', '10+37=47']
Exploring Operation: 76+47=123, Resulting Numbers: [123]
123,72 unequal: No Solution
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 76*47=3572, Resulting Numbers: [3572]
3572,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 72:[10, 41, 2], Operations: ['37-35=2']
Exploring Operation: 10/2=5, Resulting Numbers: [41, 5]
Generated Node #0,4,0: 72:[41, 5] Operation: 10/2=5
Exploring Operation: 10+2=12, Resulting Numbers: [41, 12]
Generated Node #0,4,1: 72:[41, 12] Operation: 10+2=12
Exploring Operation: 41-2=39, Resulting Numbers: [10, 39]
Generated Node #0,4,2: 72:[10, 39] Operation: 41-2=39
Exploring Operation: 10-2=8, Resulting Numbers: [41, 8]
Generated Node #0,4,3: 72:[41, 8] Operation: 10-2=8
Exploring Operation: 41-10=31, Resulting Numbers: [2, 31]
Generated Node #0,4,4: 72:[2, 31] Operation: 41-10=31
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 72:[10, 39], Operations: ['37-35=2', '41-2=39']
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 10*39=390, Resulting Numbers: [390]
390,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 72:[41, 12], Operations: ['37-35=2', '10+2=12']
Exploring Operation: 41*12=492, Resulting Numbers: [492]
492,72 unequal: No Solution
Exploring Operation: 41+12=53, Resulting Numbers: [53]
53,72 unequal: No Solution
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 72:[41, 8], Operations: ['37-35=2', '10-2=8']
Exploring Operation: 41*8=328, Resulting Numbers: [328]
328,72 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 72:[2, 31], Operations: ['37-35=2', '41-10=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,72 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 72:[41, 5], Operations: ['37-35=2', '10/2=5']
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,72 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
57,
86,
30,
85
] | 43 | [
"57+30=87",
"87-85=2",
"86/2=43"
] | Current State: 43:[57, 86, 30, 85], Operations: []
Exploring Operation: 57+30=87, Resulting Numbers: [86, 85, 87]
Generated Node #2: [86, 85, 87] from Operation: 57+30=87
Current State: 43:[86, 85, 87], Operations: ['57+30=87']
Exploring Operation: 87-85=2, Resulting Numbers: [86, 2]
Generated Node #3: [86, 2] from Operation: 87-85=2
Current State: 43:[86, 2], Operations: ['57+30=87', '87-85=2']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[57, 86, 30, 85], Operations: []
Exploring Operation: 86-85=1, Resulting Numbers: [57, 30, 1]
Generated Node #0,0: 43:[57, 30, 1] Operation: 86-85=1
Exploring Operation: 86-57=29, Resulting Numbers: [30, 85, 29]
Generated Node #0,1: 43:[30, 85, 29] Operation: 86-57=29
Exploring Operation: 86-30=56, Resulting Numbers: [57, 85, 56]
Generated Node #0,2: 43:[57, 85, 56] Operation: 86-30=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[57, 30, 1], Operations: ['86-85=1']
Exploring Operation: 57*1=57, Resulting Numbers: [30, 57]
Generated Node #0,0,0: 43:[30, 57] Operation: 57*1=57
Exploring Operation: 57-1=56, Resulting Numbers: [30, 56]
Generated Node #0,0,1: 43:[30, 56] Operation: 57-1=56
Exploring Operation: 30+1=31, Resulting Numbers: [57, 31]
Generated Node #0,0,2: 43:[57, 31] Operation: 30+1=31
Moving to Node #0,0,1
Current State: 43:[30, 56], Operations: ['86-85=1', '57-1=56']
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 30+56=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 30*56=1680, Resulting Numbers: [1680]
1680,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[57, 31], Operations: ['86-85=1', '30+1=31']
Exploring Operation: 57*31=1767, Resulting Numbers: [1767]
1767,43 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 57+31=88, Resulting Numbers: [88]
88,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[30, 57], Operations: ['86-85=1', '57*1=57']
Exploring Operation: 30*57=1710, Resulting Numbers: [1710]
1710,43 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 30+57=87, Resulting Numbers: [87]
87,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,1
Current State: 43:[30, 85, 29], Operations: ['86-57=29']
Exploring Operation: 85-30=55, Resulting Numbers: [29, 55]
Generated Node #0,1,0: 43:[29, 55] Operation: 85-30=55
Exploring Operation: 30+29=59, Resulting Numbers: [85, 59]
Generated Node #0,1,1: 43:[85, 59] Operation: 30+29=59
Exploring Operation: 85-29=56, Resulting Numbers: [30, 56]
Generated Node #0,1,2: 43:[30, 56] Operation: 85-29=56
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[29, 55], Operations: ['86-57=29', '85-30=55']
Exploring Operation: 29*55=1595, Resulting Numbers: [1595]
1595,43 unequal: No Solution
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 29+55=84, Resulting Numbers: [84]
84,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 43:[30, 56], Operations: ['86-57=29', '85-29=56']
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 30+56=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 30*56=1680, Resulting Numbers: [1680]
1680,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[85, 59], Operations: ['86-57=29', '30+29=59']
Exploring Operation: 85-59=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 85*59=5015, Resulting Numbers: [5015]
5015,43 unequal: No Solution
Exploring Operation: 85+59=144, Resulting Numbers: [144]
144,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[57, 85, 56], Operations: ['86-30=56']
Exploring Operation: 85-56=29, Resulting Numbers: [57, 29]
Generated Node #0,2,0: 43:[57, 29] Operation: 85-56=29
Exploring Operation: 57-56=1, Resulting Numbers: [85, 1]
Generated Node #0,2,1: 43:[85, 1] Operation: 57-56=1
Exploring Operation: 85-57=28, Resulting Numbers: [56, 28]
Generated Node #0,2,2: 43:[56, 28] Operation: 85-57=28
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[57, 29], Operations: ['86-30=56', '85-56=29']
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Exploring Operation: 57+29=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 57*29=1653, Resulting Numbers: [1653]
1653,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[56, 28], Operations: ['86-30=56', '85-57=28']
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[85, 1], Operations: ['86-30=56', '57-56=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,43 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,43 unequal: No Solution
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
22,
21,
65,
85
] | 87 | [
"65-21=44",
"44/22=2",
"85+2=87"
] | Current State: 87:[22, 21, 65, 85], Operations: []
Exploring Operation: 65-21=44, Resulting Numbers: [22, 85, 44]
Generated Node #2: [22, 85, 44] from Operation: 65-21=44
Current State: 87:[22, 85, 44], Operations: ['65-21=44']
Exploring Operation: 44/22=2, Resulting Numbers: [85, 2]
Generated Node #3: [85, 2] from Operation: 44/22=2
Current State: 87:[85, 2], Operations: ['65-21=44', '44/22=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[22, 21, 65, 85], Operations: []
Exploring Operation: 65-22=43, Resulting Numbers: [21, 85, 43]
Generated Node #0,0: 87:[21, 85, 43] Operation: 65-22=43
Exploring Operation: 22+65=87, Resulting Numbers: [21, 85, 87]
Generated Node #0,1: 87:[21, 85, 87] Operation: 22+65=87
Exploring Operation: 85-65=20, Resulting Numbers: [22, 21, 20]
Generated Node #0,2: 87:[22, 21, 20] Operation: 85-65=20
Exploring Operation: 21+65=86, Resulting Numbers: [22, 85, 86]
Generated Node #0,3: 87:[22, 85, 86] Operation: 21+65=86
Exploring Operation: 65-21=44, Resulting Numbers: [22, 85, 44]
Generated Node #0,4: 87:[22, 85, 44] Operation: 65-21=44
Moving to Node #0,1
Current State: 87:[21, 85, 87], Operations: ['22+65=87']
Exploring Operation: 87-85=2, Resulting Numbers: [21, 2]
Generated Node #0,1,0: 87:[21, 2] Operation: 87-85=2
Exploring Operation: 21+87=108, Resulting Numbers: [85, 108]
Generated Node #0,1,1: 87:[85, 108] Operation: 21+87=108
Exploring Operation: 87-21=66, Resulting Numbers: [85, 66]
Generated Node #0,1,2: 87:[85, 66] Operation: 87-21=66
Exploring Operation: 21+85=106, Resulting Numbers: [87, 106]
Generated Node #0,1,3: 87:[87, 106] Operation: 21+85=106
Exploring Operation: 85-21=64, Resulting Numbers: [87, 64]
Generated Node #0,1,4: 87:[87, 64] Operation: 85-21=64
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[21, 2], Operations: ['22+65=87', '87-85=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,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,1,3
Current State: 87:[87, 106], Operations: ['22+65=87', '21+85=106']
Exploring Operation: 87*106=9222, Resulting Numbers: [9222]
9222,87 unequal: No Solution
Exploring Operation: 106-87=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Exploring Operation: 87+106=193, Resulting Numbers: [193]
193,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,1,1
Current State: 87:[85, 108], Operations: ['22+65=87', '21+87=108']
Exploring Operation: 85+108=193, Resulting Numbers: [193]
193,87 unequal: No Solution
Exploring Operation: 108-85=23, Resulting Numbers: [23]
23,87 unequal: No Solution
Exploring Operation: 85*108=9180, Resulting Numbers: [9180]
9180,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,1,2
Current State: 87:[85, 66], Operations: ['22+65=87', '87-21=66']
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Exploring Operation: 85*66=5610, Resulting Numbers: [5610]
5610,87 unequal: No Solution
Exploring Operation: 85+66=151, Resulting Numbers: [151]
151,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,1,4
Current State: 87:[87, 64], Operations: ['22+65=87', '85-21=64']
Exploring Operation: 87-64=23, Resulting Numbers: [23]
23,87 unequal: No Solution
Exploring Operation: 87*64=5568, Resulting Numbers: [5568]
5568,87 unequal: No Solution
Exploring Operation: 87+64=151, Resulting Numbers: [151]
151,87 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: 87:[22, 85, 86], Operations: ['21+65=86']
Exploring Operation: 85-22=63, Resulting Numbers: [86, 63]
Generated Node #0,3,0: 87:[86, 63] Operation: 85-22=63
Exploring Operation: 22+86=108, Resulting Numbers: [85, 108]
Generated Node #0,3,1: 87:[85, 108] Operation: 22+86=108
Exploring Operation: 86-85=1, Resulting Numbers: [22, 1]
Generated Node #0,3,2: 87:[22, 1] Operation: 86-85=1
Exploring Operation: 86-22=64, Resulting Numbers: [85, 64]
Generated Node #0,3,3: 87:[85, 64] Operation: 86-22=64
Exploring Operation: 22+85=107, Resulting Numbers: [86, 107]
Generated Node #0,3,4: 87:[86, 107] Operation: 22+85=107
Moving to Node #0,0
Current State: 87:[21, 85, 43], Operations: ['65-22=43']
Exploring Operation: 85-43=42, Resulting Numbers: [21, 42]
Generated Node #0,0,0: 87:[21, 42] Operation: 85-43=42
Exploring Operation: 43-21=22, Resulting Numbers: [85, 22]
Generated Node #0,0,1: 87:[85, 22] Operation: 43-21=22
Exploring Operation: 85-21=64, Resulting Numbers: [43, 64]
Generated Node #0,0,2: 87:[43, 64] Operation: 85-21=64
Exploring Operation: 21+85=106, Resulting Numbers: [43, 106]
Generated Node #0,0,3: 87:[43, 106] Operation: 21+85=106
Exploring Operation: 21+43=64, Resulting Numbers: [85, 64]
Generated Node #0,0,4: 87:[85, 64] Operation: 21+43=64
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[85, 22], Operations: ['65-22=43', '43-21=22']
Exploring Operation: 85+22=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 85*22=1870, Resulting Numbers: [1870]
1870,87 unequal: No Solution
Exploring Operation: 85-22=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,0
Current State: 87:[21, 42], Operations: ['65-22=43', '85-43=42']
Exploring Operation: 21+42=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Exploring Operation: 21*42=882, Resulting Numbers: [882]
882,87 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,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,4
Current State: 87:[85, 64], Operations: ['65-22=43', '21+43=64']
Exploring Operation: 85*64=5440, Resulting Numbers: [5440]
5440,87 unequal: No Solution
Exploring Operation: 85-64=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 85+64=149, Resulting Numbers: [149]
149,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,3
Current State: 87:[43, 106], Operations: ['65-22=43', '21+85=106']
Exploring Operation: 43+106=149, Resulting Numbers: [149]
149,87 unequal: No Solution
Exploring Operation: 43*106=4558, Resulting Numbers: [4558]
4558,87 unequal: No Solution
Exploring Operation: 106-43=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,2
Current State: 87:[43, 64], Operations: ['65-22=43', '85-21=64']
Exploring Operation: 43+64=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 43*64=2752, Resulting Numbers: [2752]
2752,87 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,87 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: 87:[22, 21, 20], Operations: ['85-65=20']
Exploring Operation: 22-21=1, Resulting Numbers: [20, 1]
Generated Node #0,2,0: 87:[20, 1] Operation: 22-21=1
Exploring Operation: 21+20=41, Resulting Numbers: [22, 41]
Generated Node #0,2,1: 87:[22, 41] Operation: 21+20=41
Exploring Operation: 22+20=42, Resulting Numbers: [21, 42]
Generated Node #0,2,2: 87:[21, 42] Operation: 22+20=42
Exploring Operation: 22-20=2, Resulting Numbers: [21, 2]
Generated Node #0,2,3: 87:[21, 2] Operation: 22-20=2
Exploring Operation: 21-20=1, Resulting Numbers: [22, 1]
Generated Node #0,2,4: 87:[22, 1] Operation: 21-20=1
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 87:[21, 2], Operations: ['85-65=20', '22-20=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,87 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 87:[22, 1], Operations: ['85-65=20', '21-20=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,87 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[20, 1], Operations: ['85-65=20', '22-21=1']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,87 unequal: No Solution
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[22, 41], Operations: ['85-65=20', '21+20=41']
Exploring Operation: 22*41=902, Resulting Numbers: [902]
902,87 unequal: No Solution
Exploring Operation: 22+41=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[21, 42], Operations: ['85-65=20', '22+20=42']
Exploring Operation: 21*42=882, Resulting Numbers: [882]
882,87 unequal: No Solution
Exploring Operation: 21+42=63, Resulting Numbers: [63]
63,87 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,87 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: 87:[22, 85, 44], Operations: ['65-21=44']
Exploring Operation: 44-22=22, Resulting Numbers: [85, 22]
Generated Node #0,4,0: 87:[85, 22] Operation: 44-22=22
Exploring Operation: 85-44=41, Resulting Numbers: [22, 41]
Generated Node #0,4,1: 87:[22, 41] Operation: 85-44=41
Exploring Operation: 22+85=107, Resulting Numbers: [44, 107]
Generated Node #0,4,2: 87:[44, 107] Operation: 22+85=107
Exploring Operation: 44/22=2, Resulting Numbers: [85, 2]
Generated Node #0,4,3: 87:[85, 2] Operation: 44/22=2
Exploring Operation: 22+44=66, Resulting Numbers: [85, 66]
Generated Node #0,4,4: 87:[85, 66] Operation: 22+44=66
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 87:[85, 2], Operations: ['65-21=44', '44/22=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,87 unequal: No Solution
Exploring Operation: 85*2=170, Resulting Numbers: [170]
170,87 unequal: No Solution
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[22, 21, 65, 85], Operations: []
Exploring Operation: 65-21=44, Resulting Numbers: [22, 85, 44]
Generated Node #0,4: 87:[22, 85, 44] Operation: 65-21=44
Moving to Node #0,4
Current State: 87:[22, 85, 44], Operations: ['65-21=44']
Exploring Operation: 44/22=2, Resulting Numbers: [85, 2]
Generated Node #0,4,3: 87:[85, 2] Operation: 44/22=2
Moving to Node #0,4,3
Current State: 87:[85, 2], Operations: ['65-21=44', '44/22=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.925347 | hs_5 | sum_heuristic |
[
65,
62,
6,
37
] | 79 | [
"65+37=102",
"102/6=17",
"62+17=79"
] | Current State: 79:[65, 62, 6, 37], Operations: []
Exploring Operation: 65+37=102, Resulting Numbers: [62, 6, 102]
Generated Node #2: [62, 6, 102] from Operation: 65+37=102
Current State: 79:[62, 6, 102], Operations: ['65+37=102']
Exploring Operation: 102/6=17, Resulting Numbers: [62, 17]
Generated Node #3: [62, 17] from Operation: 102/6=17
Current State: 79:[62, 17], Operations: ['65+37=102', '102/6=17']
Exploring Operation: 62+17=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[65, 62, 6, 37], Operations: []
Exploring Operation: 6+37=43, Resulting Numbers: [65, 62, 43]
Generated Node #0,0: 79:[65, 62, 43] Operation: 6+37=43
Exploring Operation: 65+6=71, Resulting Numbers: [62, 37, 71]
Generated Node #0,1: 79:[62, 37, 71] Operation: 65+6=71
Exploring Operation: 62+6=68, Resulting Numbers: [65, 37, 68]
Generated Node #0,2: 79:[65, 37, 68] Operation: 62+6=68
Exploring Operation: 65-6=59, Resulting Numbers: [62, 37, 59]
Generated Node #0,3: 79:[62, 37, 59] Operation: 65-6=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[65, 62, 43], Operations: ['6+37=43']
Exploring Operation: 62+43=105, Resulting Numbers: [65, 105]
Generated Node #0,0,0: 79:[65, 105] Operation: 62+43=105
Exploring Operation: 65+43=108, Resulting Numbers: [62, 108]
Generated Node #0,0,1: 79:[62, 108] Operation: 65+43=108
Exploring Operation: 65-43=22, Resulting Numbers: [62, 22]
Generated Node #0,0,2: 79:[62, 22] Operation: 65-43=22
Exploring Operation: 62-43=19, Resulting Numbers: [65, 19]
Generated Node #0,0,3: 79:[65, 19] Operation: 62-43=19
Moving to Node #0,0,0
Current State: 79:[65, 105], Operations: ['6+37=43', '62+43=105']
Exploring Operation: 65+105=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 65*105=6825, Resulting Numbers: [6825]
6825,79 unequal: No Solution
Exploring Operation: 105-65=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[62, 108], Operations: ['6+37=43', '65+43=108']
Exploring Operation: 108-62=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 62+108=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 62*108=6696, Resulting Numbers: [6696]
6696,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[65, 19], Operations: ['6+37=43', '62-43=19']
Exploring Operation: 65-19=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 65+19=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 65*19=1235, Resulting Numbers: [1235]
1235,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[62, 22], Operations: ['6+37=43', '65-43=22']
Exploring Operation: 62*22=1364, Resulting Numbers: [1364]
1364,79 unequal: No Solution
Exploring Operation: 62-22=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 62+22=84, Resulting Numbers: [84]
84,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[62, 37, 71], Operations: ['65+6=71']
Exploring Operation: 62-37=25, Resulting Numbers: [71, 25]
Generated Node #0,1,0: 79:[71, 25] Operation: 62-37=25
Exploring Operation: 37+71=108, Resulting Numbers: [62, 108]
Generated Node #0,1,1: 79:[62, 108] Operation: 37+71=108
Exploring Operation: 71-37=34, Resulting Numbers: [62, 34]
Generated Node #0,1,2: 79:[62, 34] Operation: 71-37=34
Exploring Operation: 62+37=99, Resulting Numbers: [71, 99]
Generated Node #0,1,3: 79:[71, 99] Operation: 62+37=99
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 79:[71, 99], Operations: ['65+6=71', '62+37=99']
Exploring Operation: 99-71=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 71*99=7029, Resulting Numbers: [7029]
7029,79 unequal: No Solution
Exploring Operation: 71+99=170, Resulting Numbers: [170]
170,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[62, 108], Operations: ['65+6=71', '37+71=108']
Exploring Operation: 62*108=6696, Resulting Numbers: [6696]
6696,79 unequal: No Solution
Exploring Operation: 62+108=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 108-62=46, Resulting Numbers: [46]
46,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[71, 25], Operations: ['65+6=71', '62-37=25']
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 71+25=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 71*25=1775, Resulting Numbers: [1775]
1775,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[62, 34], Operations: ['65+6=71', '71-37=34']
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 62*34=2108, Resulting Numbers: [2108]
2108,79 unequal: No Solution
Exploring Operation: 62+34=96, Resulting Numbers: [96]
96,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[65, 37, 68], Operations: ['62+6=68']
Exploring Operation: 37+68=105, Resulting Numbers: [65, 105]
Generated Node #0,2,0: 79:[65, 105] Operation: 37+68=105
Exploring Operation: 68-37=31, Resulting Numbers: [65, 31]
Generated Node #0,2,1: 79:[65, 31] Operation: 68-37=31
Exploring Operation: 65-37=28, Resulting Numbers: [68, 28]
Generated Node #0,2,2: 79:[68, 28] Operation: 65-37=28
Exploring Operation: 65+37=102, Resulting Numbers: [68, 102]
Generated Node #0,2,3: 79:[68, 102] Operation: 65+37=102
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 79:[68, 102], Operations: ['62+6=68', '65+37=102']
Exploring Operation: 68+102=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 102-68=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Exploring Operation: 68*102=6936, Resulting Numbers: [6936]
6936,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[65, 105], Operations: ['62+6=68', '37+68=105']
Exploring Operation: 65+105=170, Resulting Numbers: [170]
170,79 unequal: No Solution
Exploring Operation: 105-65=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 65*105=6825, Resulting Numbers: [6825]
6825,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[65, 31], Operations: ['62+6=68', '68-37=31']
Exploring Operation: 65*31=2015, Resulting Numbers: [2015]
2015,79 unequal: No Solution
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Exploring Operation: 65+31=96, Resulting Numbers: [96]
96,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[68, 28], Operations: ['62+6=68', '65-37=28']
Exploring Operation: 68+28=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 68*28=1904, Resulting Numbers: [1904]
1904,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[62, 37, 59], Operations: ['65-6=59']
Exploring Operation: 59-37=22, Resulting Numbers: [62, 22]
Generated Node #0,3,0: 79:[62, 22] Operation: 59-37=22
Exploring Operation: 37+59=96, Resulting Numbers: [62, 96]
Generated Node #0,3,1: 79:[62, 96] Operation: 37+59=96
Exploring Operation: 62+37=99, Resulting Numbers: [59, 99]
Generated Node #0,3,2: 79:[59, 99] Operation: 62+37=99
Exploring Operation: 62-37=25, Resulting Numbers: [59, 25]
Generated Node #0,3,3: 79:[59, 25] Operation: 62-37=25
Moving to Node #0,3,1
Current State: 79:[62, 96], Operations: ['65-6=59', '37+59=96']
Exploring Operation: 62*96=5952, Resulting Numbers: [5952]
5952,79 unequal: No Solution
Exploring Operation: 96-62=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Exploring Operation: 62+96=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[59, 99], Operations: ['65-6=59', '62+37=99']
Exploring Operation: 99-59=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 59*99=5841, Resulting Numbers: [5841]
5841,79 unequal: No Solution
Exploring Operation: 59+99=158, Resulting Numbers: [158]
158,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[59, 25], Operations: ['65-6=59', '62-37=25']
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,79 unequal: No Solution
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[62, 22], Operations: ['65-6=59', '59-37=22']
Exploring Operation: 62-22=40, Resulting Numbers: [40]
40,79 unequal: No Solution
Exploring Operation: 62+22=84, Resulting Numbers: [84]
84,79 unequal: No Solution
Exploring Operation: 62*22=1364, Resulting Numbers: [1364]
1364,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
10,
50,
86,
73
] | 27 | [
"50-10=40",
"86-73=13",
"40-13=27"
] | Current State: 27:[10, 50, 86, 73], Operations: []
Exploring Operation: 50-10=40, Resulting Numbers: [86, 73, 40]
Generated Node #2: [86, 73, 40] from Operation: 50-10=40
Current State: 27:[86, 73, 40], Operations: ['50-10=40']
Exploring Operation: 86-73=13, Resulting Numbers: [40, 13]
Generated Node #3: [40, 13] from Operation: 86-73=13
Current State: 27:[40, 13], Operations: ['50-10=40', '86-73=13']
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[10, 50, 86, 73], Operations: []
Exploring Operation: 86-73=13, Resulting Numbers: [10, 50, 13]
Generated Node #0,0: 27:[10, 50, 13] Operation: 86-73=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[10, 50, 13], Operations: ['86-73=13']
Exploring Operation: 50/10=5, Resulting Numbers: [13, 5]
Generated Node #0,0,0: 27:[13, 5] Operation: 50/10=5
Moving to Node #0,0,0
Current State: 27:[13, 5], Operations: ['86-73=13', '50/10=5']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,27 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 |
[
56,
4,
72,
52
] | 72 | [
"56-4=52",
"72+52=124",
"124-52=72"
] | Current State: 72:[56, 4, 72, 52], Operations: []
Exploring Operation: 56-4=52, Resulting Numbers: [72, 52, 52]
Generated Node #2: [72, 52, 52] from Operation: 56-4=52
Current State: 72:[72, 52, 52], Operations: ['56-4=52']
Exploring Operation: 72+52=124, Resulting Numbers: [124]
124,72 equal: Goal Reached
Exploring Operation: 124-52=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[56, 4, 72, 52], Operations: []
Exploring Operation: 56/4=14, Resulting Numbers: [72, 52, 14]
Generated Node #0,0: 72:[72, 52, 14] Operation: 56/4=14
Exploring Operation: 56-52=4, Resulting Numbers: [4, 72, 4]
Generated Node #0,1: 72:[4, 72, 4] Operation: 56-52=4
Exploring Operation: 52/4=13, Resulting Numbers: [56, 72, 13]
Generated Node #0,2: 72:[56, 72, 13] Operation: 52/4=13
Moving to Node #0,1
Current State: 72:[4, 72, 4], Operations: ['56-52=4']
Exploring Operation: 72/4=18, Resulting Numbers: [4, 18]
Generated Node #0,1,0: 72:[4, 18] Operation: 72/4=18
Exploring Operation: 72/4=18, Resulting Numbers: [4, 18]
Generated Node #0,1,1: 72:[4, 18] Operation: 72/4=18
Exploring Operation: 4+4=8, Resulting Numbers: [72, 8]
Generated Node #0,1,2: 72:[72, 8] Operation: 4+4=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[4, 18], Operations: ['56-52=4', '72/4=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[56, 4, 72, 52], Operations: []
Exploring Operation: 56-52=4, Resulting Numbers: [4, 72, 4]
Generated Node #0,1: 72:[4, 72, 4] Operation: 56-52=4
Moving to Node #0,1
Current State: 72:[4, 72, 4], Operations: ['56-52=4']
Exploring Operation: 72/4=18, Resulting Numbers: [4, 18]
Generated Node #0,1,0: 72:[4, 18] Operation: 72/4=18
Moving to Node #0,1,0
Current State: 72:[4, 18], Operations: ['56-52=4', '72/4=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
39,
25,
93,
31
] | 67 | [
"39+25=64",
"93/31=3",
"64+3=67"
] | Current State: 67:[39, 25, 93, 31], Operations: []
Exploring Operation: 39+25=64, Resulting Numbers: [93, 31, 64]
Generated Node #2: [93, 31, 64] from Operation: 39+25=64
Current State: 67:[93, 31, 64], Operations: ['39+25=64']
Exploring Operation: 93/31=3, Resulting Numbers: [64, 3]
Generated Node #3: [64, 3] from Operation: 93/31=3
Current State: 67:[64, 3], Operations: ['39+25=64', '93/31=3']
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[39, 25, 93, 31], Operations: []
Exploring Operation: 25+31=56, Resulting Numbers: [39, 93, 56]
Generated Node #0,0: 67:[39, 93, 56] Operation: 25+31=56
Exploring Operation: 39+25=64, Resulting Numbers: [93, 31, 64]
Generated Node #0,1: 67:[93, 31, 64] Operation: 39+25=64
Exploring Operation: 93-25=68, Resulting Numbers: [39, 31, 68]
Generated Node #0,2: 67:[39, 31, 68] Operation: 93-25=68
Moving to Node #0,0
Current State: 67:[39, 93, 56], Operations: ['25+31=56']
Exploring Operation: 39+56=95, Resulting Numbers: [93, 95]
Generated Node #0,0,0: 67:[93, 95] Operation: 39+56=95
Exploring Operation: 93-56=37, Resulting Numbers: [39, 37]
Generated Node #0,0,1: 67:[39, 37] Operation: 93-56=37
Exploring Operation: 93-39=54, Resulting Numbers: [56, 54]
Generated Node #0,0,2: 67:[56, 54] Operation: 93-39=54
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[56, 54], Operations: ['25+31=56', '93-39=54']
Exploring Operation: 56*54=3024, Resulting Numbers: [3024]
3024,67 unequal: No Solution
Exploring Operation: 56+54=110, Resulting Numbers: [110]
110,67 unequal: No Solution
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[93, 95], Operations: ['25+31=56', '39+56=95']
Exploring Operation: 93*95=8835, Resulting Numbers: [8835]
8835,67 unequal: No Solution
Exploring Operation: 93+95=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Exploring Operation: 95-93=2, Resulting Numbers: [2]
2,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[39, 37], Operations: ['25+31=56', '93-56=37']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 39*37=1443, Resulting Numbers: [1443]
1443,67 unequal: No Solution
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,67 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: 67:[93, 31, 64], Operations: ['39+25=64']
Exploring Operation: 31+64=95, Resulting Numbers: [93, 95]
Generated Node #0,1,0: 67:[93, 95] Operation: 31+64=95
Exploring Operation: 93+31=124, Resulting Numbers: [64, 124]
Generated Node #0,1,1: 67:[64, 124] Operation: 93+31=124
Exploring Operation: 93-31=62, Resulting Numbers: [64, 62]
Generated Node #0,1,2: 67:[64, 62] Operation: 93-31=62
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[64, 62], Operations: ['39+25=64', '93-31=62']
Exploring Operation: 64*62=3968, Resulting Numbers: [3968]
3968,67 unequal: No Solution
Exploring Operation: 64-62=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 64+62=126, Resulting Numbers: [126]
126,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[93, 95], Operations: ['39+25=64', '31+64=95']
Exploring Operation: 93*95=8835, Resulting Numbers: [8835]
8835,67 unequal: No Solution
Exploring Operation: 95-93=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 93+95=188, Resulting Numbers: [188]
188,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[64, 124], Operations: ['39+25=64', '93+31=124']
Exploring Operation: 124-64=60, Resulting Numbers: [60]
60,67 unequal: No Solution
Exploring Operation: 64+124=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Exploring Operation: 64*124=7936, Resulting Numbers: [7936]
7936,67 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: 67:[39, 31, 68], Operations: ['93-25=68']
Exploring Operation: 39+31=70, Resulting Numbers: [68, 70]
Generated Node #0,2,0: 67:[68, 70] Operation: 39+31=70
Exploring Operation: 68-31=37, Resulting Numbers: [39, 37]
Generated Node #0,2,1: 67:[39, 37] Operation: 68-31=37
Exploring Operation: 39-31=8, Resulting Numbers: [68, 8]
Generated Node #0,2,2: 67:[68, 8] Operation: 39-31=8
Moving to Node #0,2,0
Current State: 67:[68, 70], Operations: ['93-25=68', '39+31=70']
Exploring Operation: 68+70=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 70-68=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 68*70=4760, Resulting Numbers: [4760]
4760,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[39, 37], Operations: ['93-25=68', '68-31=37']
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,67 unequal: No Solution
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 39*37=1443, Resulting Numbers: [1443]
1443,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[68, 8], Operations: ['93-25=68', '39-31=8']
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,67 unequal: No Solution
Exploring Operation: 68*8=544, Resulting Numbers: [544]
544,67 unequal: No Solution
Exploring Operation: 68+8=76, Resulting Numbers: [76]
76,67 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
21,
32,
48,
99
] | 94 | [
"21+32=53",
"48+99=147",
"147-53=94"
] | Current State: 94:[21, 32, 48, 99], Operations: []
Exploring Operation: 21+32=53, Resulting Numbers: [48, 99, 53]
Generated Node #2: [48, 99, 53] from Operation: 21+32=53
Current State: 94:[48, 99, 53], Operations: ['21+32=53']
Exploring Operation: 48+99=147, Resulting Numbers: [53, 147]
Generated Node #3: [53, 147] from Operation: 48+99=147
Current State: 94:[53, 147], Operations: ['21+32=53', '48+99=147']
Exploring Operation: 147-53=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[21, 32, 48, 99], Operations: []
Exploring Operation: 21+32=53, Resulting Numbers: [48, 99, 53]
Generated Node #0,0: 94:[48, 99, 53] Operation: 21+32=53
Moving to Node #0,0
Current State: 94:[48, 99, 53], Operations: ['21+32=53']
Exploring Operation: 99-53=46, Resulting Numbers: [48, 46]
Generated Node #0,0,0: 94:[48, 46] Operation: 99-53=46
Moving to Node #0,0,0
Current State: 94:[48, 46], Operations: ['21+32=53', '99-53=46']
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[21, 32, 48, 99], Operations: []
Exploring Operation: 21+32=53, Resulting Numbers: [48, 99, 53]
Generated Node #0,0: 94:[48, 99, 53] Operation: 21+32=53
Moving to Node #0,0
Current State: 94:[48, 99, 53], Operations: ['21+32=53']
Exploring Operation: 99-53=46, Resulting Numbers: [48, 46]
Generated Node #0,0,0: 94:[48, 46] Operation: 99-53=46
Moving to Node #0,0,0
Current State: 94:[48, 46], Operations: ['21+32=53', '99-53=46']
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
96,
52,
40,
80
] | 70 | [
"52*40=2080",
"2080/80=26",
"96-26=70"
] | Current State: 70:[96, 52, 40, 80], Operations: []
Exploring Operation: 52*40=2080, Resulting Numbers: [96, 80, 2080]
Generated Node #2: [96, 80, 2080] from Operation: 52*40=2080
Current State: 70:[96, 80, 2080], Operations: ['52*40=2080']
Exploring Operation: 2080/80=26, Resulting Numbers: [96, 26]
Generated Node #3: [96, 26] from Operation: 2080/80=26
Current State: 70:[96, 26], Operations: ['52*40=2080', '2080/80=26']
Exploring Operation: 96-26=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[96, 52, 40, 80], Operations: []
Exploring Operation: 96-80=16, Resulting Numbers: [52, 40, 16]
Generated Node #0,0: 70:[52, 40, 16] Operation: 96-80=16
Exploring Operation: 96-52=44, Resulting Numbers: [40, 80, 44]
Generated Node #0,1: 70:[40, 80, 44] Operation: 96-52=44
Exploring Operation: 52-40=12, Resulting Numbers: [96, 80, 12]
Generated Node #0,2: 70:[96, 80, 12] Operation: 52-40=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[52, 40, 16], Operations: ['96-80=16']
Exploring Operation: 52+16=68, Resulting Numbers: [40, 68]
Generated Node #0,0,0: 70:[40, 68] Operation: 52+16=68
Exploring Operation: 52-40=12, Resulting Numbers: [16, 12]
Generated Node #0,0,1: 70:[16, 12] Operation: 52-40=12
Exploring Operation: 52-16=36, Resulting Numbers: [40, 36]
Generated Node #0,0,2: 70:[40, 36] Operation: 52-16=36
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[16, 12], Operations: ['96-80=16', '52-40=12']
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,70 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,70 unequal: No Solution
No 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: 70:[40, 36], Operations: ['96-80=16', '52-16=36']
Exploring Operation: 40*36=1440, Resulting Numbers: [1440]
1440,70 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 40+36=76, Resulting Numbers: [76]
76,70 unequal: No Solution
No 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: 70:[40, 68], Operations: ['96-80=16', '52+16=68']
Exploring Operation: 40*68=2720, Resulting Numbers: [2720]
2720,70 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 40+68=108, Resulting Numbers: [108]
108,70 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: 70:[40, 80, 44], Operations: ['96-52=44']
Exploring Operation: 44-40=4, Resulting Numbers: [80, 4]
Generated Node #0,1,0: 70:[80, 4] Operation: 44-40=4
Exploring Operation: 80/40=2, Resulting Numbers: [44, 2]
Generated Node #0,1,1: 70:[44, 2] Operation: 80/40=2
Exploring Operation: 80-44=36, Resulting Numbers: [40, 36]
Generated Node #0,1,2: 70:[40, 36] Operation: 80-44=36
Moving to Node #0,1,2
Current State: 70:[40, 36], Operations: ['96-52=44', '80-44=36']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 40+36=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Exploring Operation: 40*36=1440, Resulting Numbers: [1440]
1440,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[44, 2], Operations: ['96-52=44', '80/40=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[80, 4], Operations: ['96-52=44', '44-40=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,70 unequal: No Solution
No 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: 70:[96, 80, 12], Operations: ['52-40=12']
Exploring Operation: 96-12=84, Resulting Numbers: [80, 84]
Generated Node #0,2,0: 70:[80, 84] Operation: 96-12=84
Exploring Operation: 96-80=16, Resulting Numbers: [12, 16]
Generated Node #0,2,1: 70:[12, 16] Operation: 96-80=16
Exploring Operation: 96/12=8, Resulting Numbers: [80, 8]
Generated Node #0,2,2: 70:[80, 8] Operation: 96/12=8
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[12, 16], Operations: ['52-40=12', '96-80=16']
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,70 unequal: No Solution
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,70 unequal: No Solution
No 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: 70:[80, 8], Operations: ['52-40=12', '96/12=8']
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,70 unequal: No Solution
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,70 unequal: No Solution
No 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: 70:[80, 84], Operations: ['52-40=12', '96-12=84']
Exploring Operation: 80*84=6720, Resulting Numbers: [6720]
6720,70 unequal: No Solution
Exploring Operation: 84-80=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 80+84=164, Resulting Numbers: [164]
164,70 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 |
[
14,
61,
54,
45
] | 90 | [
"14+61=75",
"54*75=4050",
"4050/45=90"
] | Current State: 90:[14, 61, 54, 45], Operations: []
Exploring Operation: 14+61=75, Resulting Numbers: [54, 45, 75]
Generated Node #2: [54, 45, 75] from Operation: 14+61=75
Current State: 90:[54, 45, 75], Operations: ['14+61=75']
Exploring Operation: 54*75=4050, Resulting Numbers: [45, 4050]
Generated Node #3: [45, 4050] from Operation: 54*75=4050
Current State: 90:[45, 4050], Operations: ['14+61=75', '54*75=4050']
Exploring Operation: 4050/45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[14, 61, 54, 45], Operations: []
Exploring Operation: 54-14=40, Resulting Numbers: [61, 45, 40]
Generated Node #0,0: 90:[61, 45, 40] Operation: 54-14=40
Exploring Operation: 61-54=7, Resulting Numbers: [14, 45, 7]
Generated Node #0,1: 90:[14, 45, 7] Operation: 61-54=7
Exploring Operation: 54-45=9, Resulting Numbers: [14, 61, 9]
Generated Node #0,2: 90:[14, 61, 9] Operation: 54-45=9
Exploring Operation: 61-14=47, Resulting Numbers: [54, 45, 47]
Generated Node #0,3: 90:[54, 45, 47] Operation: 61-14=47
Exploring Operation: 61-45=16, Resulting Numbers: [14, 54, 16]
Generated Node #0,4: 90:[14, 54, 16] Operation: 61-45=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[14, 45, 7], Operations: ['61-54=7']
Exploring Operation: 14+7=21, Resulting Numbers: [45, 21]
Generated Node #0,1,0: 90:[45, 21] Operation: 14+7=21
Exploring Operation: 14*7=98, Resulting Numbers: [45, 98]
Generated Node #0,1,1: 90:[45, 98] Operation: 14*7=98
Exploring Operation: 14/7=2, Resulting Numbers: [45, 2]
Generated Node #0,1,2: 90:[45, 2] Operation: 14/7=2
Exploring Operation: 45-14=31, Resulting Numbers: [7, 31]
Generated Node #0,1,3: 90:[7, 31] Operation: 45-14=31
Exploring Operation: 14-7=7, Resulting Numbers: [45, 7]
Generated Node #0,1,4: 90:[45, 7] Operation: 14-7=7
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[45, 2], Operations: ['61-54=7', '14/7=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[14, 61, 54, 45], Operations: []
Exploring Operation: 61-54=7, Resulting Numbers: [14, 45, 7]
Generated Node #0,1: 90:[14, 45, 7] Operation: 61-54=7
Moving to Node #0,1
Current State: 90:[14, 45, 7], Operations: ['61-54=7']
Exploring Operation: 14/7=2, Resulting Numbers: [45, 2]
Generated Node #0,1,2: 90:[45, 2] Operation: 14/7=2
Moving to Node #0,1,2
Current State: 90:[45, 2], Operations: ['61-54=7', '14/7=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
91,
78,
90,
7
] | 72 | [
"91+78=169",
"90+7=97",
"169-97=72"
] | Current State: 72:[91, 78, 90, 7], Operations: []
Exploring Operation: 91+78=169, Resulting Numbers: [90, 7, 169]
Generated Node #2: [90, 7, 169] from Operation: 91+78=169
Current State: 72:[90, 7, 169], Operations: ['91+78=169']
Exploring Operation: 90+7=97, Resulting Numbers: [169, 97]
Generated Node #3: [169, 97] from Operation: 90+7=97
Current State: 72:[169, 97], Operations: ['91+78=169', '90+7=97']
Exploring Operation: 169-97=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[91, 78, 90, 7], Operations: []
Exploring Operation: 91-90=1, Resulting Numbers: [78, 7, 1]
Generated Node #0,0: 72:[78, 7, 1] Operation: 91-90=1
Moving to Node #0,0
Current State: 72:[78, 7, 1], Operations: ['91-90=1']
Exploring Operation: 78-7=71, Resulting Numbers: [1, 71]
Generated Node #0,0,0: 72:[1, 71] Operation: 78-7=71
Moving to Node #0,0,0
Current State: 72:[1, 71], Operations: ['91-90=1', '78-7=71']
Exploring Operation: 1+71=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[91, 78, 90, 7], Operations: []
Exploring Operation: 91-90=1, Resulting Numbers: [78, 7, 1]
Generated Node #0,0: 72:[78, 7, 1] Operation: 91-90=1
Moving to Node #0,0
Current State: 72:[78, 7, 1], Operations: ['91-90=1']
Exploring Operation: 78-7=71, Resulting Numbers: [1, 71]
Generated Node #0,0,0: 72:[1, 71] Operation: 78-7=71
Moving to Node #0,0,0
Current State: 72:[1, 71], Operations: ['91-90=1', '78-7=71']
Exploring Operation: 1+71=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
61,
84,
85,
37
] | 98 | [
"61+37=98",
"85-84=1",
"98*1=98"
] | Current State: 98:[61, 84, 85, 37], Operations: []
Exploring Operation: 61+37=98, Resulting Numbers: [84, 85, 98]
Generated Node #2: [84, 85, 98] from Operation: 61+37=98
Current State: 98:[84, 85, 98], Operations: ['61+37=98']
Exploring Operation: 85-84=1, Resulting Numbers: [98, 1]
Generated Node #3: [98, 1] from Operation: 85-84=1
Current State: 98:[98, 1], Operations: ['61+37=98', '85-84=1']
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[61, 84, 85, 37], Operations: []
Exploring Operation: 85-37=48, Resulting Numbers: [61, 84, 48]
Generated Node #0,0: 98:[61, 84, 48] Operation: 85-37=48
Exploring Operation: 85-84=1, Resulting Numbers: [61, 37, 1]
Generated Node #0,1: 98:[61, 37, 1] Operation: 85-84=1
Exploring Operation: 84-37=47, Resulting Numbers: [61, 85, 47]
Generated Node #0,2: 98:[61, 85, 47] Operation: 84-37=47
Exploring Operation: 61+37=98, Resulting Numbers: [84, 85, 98]
Generated Node #0,3: 98:[84, 85, 98] Operation: 61+37=98
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[61, 37, 1], Operations: ['85-84=1']
Exploring Operation: 37+1=38, Resulting Numbers: [61, 38]
Generated Node #0,1,0: 98:[61, 38] Operation: 37+1=38
Exploring Operation: 61+37=98, Resulting Numbers: [1, 98]
Generated Node #0,1,1: 98:[1, 98] Operation: 61+37=98
Exploring Operation: 61-1=60, Resulting Numbers: [37, 60]
Generated Node #0,1,2: 98:[37, 60] Operation: 61-1=60
Exploring Operation: 61-37=24, Resulting Numbers: [1, 24]
Generated Node #0,1,3: 98:[1, 24] Operation: 61-37=24
Moving to Node #0,1,1
Current State: 98:[1, 98], Operations: ['85-84=1', '61+37=98']
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[61, 84, 85, 37], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [61, 37, 1]
Generated Node #0,1: 98:[61, 37, 1] Operation: 85-84=1
Moving to Node #0,1
Current State: 98:[61, 37, 1], Operations: ['85-84=1']
Exploring Operation: 61+37=98, Resulting Numbers: [1, 98]
Generated Node #0,1,1: 98:[1, 98] Operation: 61+37=98
Moving to Node #0,1,1
Current State: 98:[1, 98], Operations: ['85-84=1', '61+37=98']
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
32,
15,
30,
28
] | 62 | [
"32+28=60",
"30/15=2",
"60+2=62"
] | Current State: 62:[32, 15, 30, 28], Operations: []
Exploring Operation: 32+28=60, Resulting Numbers: [15, 30, 60]
Generated Node #2: [15, 30, 60] from Operation: 32+28=60
Current State: 62:[15, 30, 60], Operations: ['32+28=60']
Exploring Operation: 30/15=2, Resulting Numbers: [60, 2]
Generated Node #3: [60, 2] from Operation: 30/15=2
Current State: 62:[60, 2], Operations: ['32+28=60', '30/15=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[32, 15, 30, 28], Operations: []
Exploring Operation: 15+28=43, Resulting Numbers: [32, 30, 43]
Generated Node #0,0: 62:[32, 30, 43] Operation: 15+28=43
Exploring Operation: 30-28=2, Resulting Numbers: [32, 15, 2]
Generated Node #0,1: 62:[32, 15, 2] Operation: 30-28=2
Exploring Operation: 32+30=62, Resulting Numbers: [15, 28, 62]
Generated Node #0,2: 62:[15, 28, 62] Operation: 32+30=62
Exploring Operation: 28-15=13, Resulting Numbers: [32, 30, 13]
Generated Node #0,3: 62:[32, 30, 13] Operation: 28-15=13
Exploring Operation: 30/15=2, Resulting Numbers: [32, 28, 2]
Generated Node #0,4: 62:[32, 28, 2] Operation: 30/15=2
Moving to Node #0,4
Current State: 62:[32, 28, 2], Operations: ['30/15=2']
Exploring Operation: 32-2=30, Resulting Numbers: [28, 30]
Generated Node #0,4,0: 62:[28, 30] Operation: 32-2=30
Exploring Operation: 28+2=30, Resulting Numbers: [32, 30]
Generated Node #0,4,1: 62:[32, 30] Operation: 28+2=30
Exploring Operation: 32+28=60, Resulting Numbers: [2, 60]
Generated Node #0,4,2: 62:[2, 60] Operation: 32+28=60
Exploring Operation: 32*2=64, Resulting Numbers: [28, 64]
Generated Node #0,4,3: 62:[28, 64] Operation: 32*2=64
Exploring Operation: 32-28=4, Resulting Numbers: [2, 4]
Generated Node #0,4,4: 62:[2, 4] Operation: 32-28=4
Moving to Node #0,3
Current State: 62:[32, 30, 13], Operations: ['28-15=13']
Exploring Operation: 32-13=19, Resulting Numbers: [30, 19]
Generated Node #0,3,0: 62:[30, 19] Operation: 32-13=19
Exploring Operation: 32-30=2, Resulting Numbers: [13, 2]
Generated Node #0,3,1: 62:[13, 2] Operation: 32-30=2
Exploring Operation: 32+30=62, Resulting Numbers: [13, 62]
Generated Node #0,3,2: 62:[13, 62] Operation: 32+30=62
Exploring Operation: 30+13=43, Resulting Numbers: [32, 43]
Generated Node #0,3,3: 62:[32, 43] Operation: 30+13=43
Exploring Operation: 32+13=45, Resulting Numbers: [30, 45]
Generated Node #0,3,4: 62:[30, 45] Operation: 32+13=45
Moving to Node #0,0
Current State: 62:[32, 30, 43], Operations: ['15+28=43']
Exploring Operation: 32+30=62, Resulting Numbers: [43, 62]
Generated Node #0,0,0: 62:[43, 62] Operation: 32+30=62
Exploring Operation: 30+43=73, Resulting Numbers: [32, 73]
Generated Node #0,0,1: 62:[32, 73] Operation: 30+43=73
Exploring Operation: 43-32=11, Resulting Numbers: [30, 11]
Generated Node #0,0,2: 62:[30, 11] Operation: 43-32=11
Exploring Operation: 43-30=13, Resulting Numbers: [32, 13]
Generated Node #0,0,3: 62:[32, 13] Operation: 43-30=13
Exploring Operation: 32-30=2, Resulting Numbers: [43, 2]
Generated Node #0,0,4: 62:[43, 2] Operation: 32-30=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[30, 11], Operations: ['15+28=43', '43-32=11']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 30*11=330, Resulting Numbers: [330]
330,62 unequal: No Solution
Exploring Operation: 30+11=41, Resulting Numbers: [41]
41,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[43, 62], Operations: ['15+28=43', '32+30=62']
Exploring Operation: 43*62=2666, Resulting Numbers: [2666]
2666,62 unequal: No Solution
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 43+62=105, Resulting Numbers: [105]
105,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[32, 73], Operations: ['15+28=43', '30+43=73']
Exploring Operation: 73-32=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Exploring Operation: 32+73=105, Resulting Numbers: [105]
105,62 unequal: No Solution
Exploring Operation: 32*73=2336, Resulting Numbers: [2336]
2336,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 62:[32, 13], Operations: ['15+28=43', '43-30=13']
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 32*13=416, Resulting Numbers: [416]
416,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 62:[43, 2], Operations: ['15+28=43', '32-30=2']
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 62:[32, 15, 2], Operations: ['30-28=2']
Exploring Operation: 15*2=30, Resulting Numbers: [32, 30]
Generated Node #0,1,0: 62:[32, 30] Operation: 15*2=30
Exploring Operation: 32-2=30, Resulting Numbers: [15, 30]
Generated Node #0,1,1: 62:[15, 30] Operation: 32-2=30
Exploring Operation: 32-15=17, Resulting Numbers: [2, 17]
Generated Node #0,1,2: 62:[2, 17] Operation: 32-15=17
Exploring Operation: 15-2=13, Resulting Numbers: [32, 13]
Generated Node #0,1,3: 62:[32, 13] Operation: 15-2=13
Exploring Operation: 32+15=47, Resulting Numbers: [2, 47]
Generated Node #0,1,4: 62:[2, 47] Operation: 32+15=47
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[32, 30], Operations: ['30-28=2', '15*2=30']
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,62 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[32, 15, 30, 28], Operations: []
Exploring Operation: 30-28=2, Resulting Numbers: [32, 15, 2]
Generated Node #0,1: 62:[32, 15, 2] Operation: 30-28=2
Moving to Node #0,1
Current State: 62:[32, 15, 2], Operations: ['30-28=2']
Exploring Operation: 15*2=30, Resulting Numbers: [32, 30]
Generated Node #0,1,0: 62:[32, 30] Operation: 15*2=30
Moving to Node #0,1,0
Current State: 62:[32, 30], Operations: ['30-28=2', '15*2=30']
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_5 | mult_heuristic |
[
91,
3,
67,
61
] | 88 | [
"91+3=94",
"67-61=6",
"94-6=88"
] | Current State: 88:[91, 3, 67, 61], Operations: []
Exploring Operation: 91+3=94, Resulting Numbers: [67, 61, 94]
Generated Node #2: [67, 61, 94] from Operation: 91+3=94
Current State: 88:[67, 61, 94], Operations: ['91+3=94']
Exploring Operation: 67-61=6, Resulting Numbers: [94, 6]
Generated Node #3: [94, 6] from Operation: 67-61=6
Current State: 88:[94, 6], Operations: ['91+3=94', '67-61=6']
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[91, 3, 67, 61], Operations: []
Exploring Operation: 67-61=6, Resulting Numbers: [91, 3, 6]
Generated Node #0,0: 88:[91, 3, 6] Operation: 67-61=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[91, 3, 6], Operations: ['67-61=6']
Exploring Operation: 91-3=88, Resulting Numbers: [6, 88]
Generated Node #0,0,0: 88:[6, 88] Operation: 91-3=88
Moving to Node #0,0,0
Current State: 88:[6, 88], Operations: ['67-61=6', '91-3=88']
Exploring Operation: 6+88=94, Resulting Numbers: [94]
94,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 |
[
80,
9,
14,
36
] | 10 | [
"80+36=116",
"9*14=126",
"126-116=10"
] | Current State: 10:[80, 9, 14, 36], Operations: []
Exploring Operation: 80+36=116, Resulting Numbers: [9, 14, 116]
Generated Node #2: [9, 14, 116] from Operation: 80+36=116
Current State: 10:[9, 14, 116], Operations: ['80+36=116']
Exploring Operation: 9*14=126, Resulting Numbers: [116, 126]
Generated Node #3: [116, 126] from Operation: 9*14=126
Current State: 10:[116, 126], Operations: ['80+36=116', '9*14=126']
Exploring Operation: 126-116=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[80, 9, 14, 36], Operations: []
Exploring Operation: 36/9=4, Resulting Numbers: [80, 14, 4]
Generated Node #0,0: 10:[80, 14, 4] Operation: 36/9=4
Exploring Operation: 80-36=44, Resulting Numbers: [9, 14, 44]
Generated Node #0,1: 10:[9, 14, 44] Operation: 80-36=44
Exploring Operation: 36-14=22, Resulting Numbers: [80, 9, 22]
Generated Node #0,2: 10:[80, 9, 22] Operation: 36-14=22
Exploring Operation: 80-9=71, Resulting Numbers: [14, 36, 71]
Generated Node #0,3: 10:[14, 36, 71] Operation: 80-9=71
Exploring Operation: 80-14=66, Resulting Numbers: [9, 36, 66]
Generated Node #0,4: 10:[9, 36, 66] Operation: 80-14=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[9, 14, 44], Operations: ['80-36=44']
Exploring Operation: 14-9=5, Resulting Numbers: [44, 5]
Generated Node #0,1,0: 10:[44, 5] Operation: 14-9=5
Exploring Operation: 9+14=23, Resulting Numbers: [44, 23]
Generated Node #0,1,1: 10:[44, 23] Operation: 9+14=23
Exploring Operation: 44-14=30, Resulting Numbers: [9, 30]
Generated Node #0,1,2: 10:[9, 30] Operation: 44-14=30
Exploring Operation: 9+44=53, Resulting Numbers: [14, 53]
Generated Node #0,1,3: 10:[14, 53] Operation: 9+44=53
Exploring Operation: 44-9=35, Resulting Numbers: [14, 35]
Generated Node #0,1,4: 10:[14, 35] Operation: 44-9=35
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 10:[9, 30], Operations: ['80-36=44', '44-14=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 10:[14, 35], Operations: ['80-36=44', '44-9=35']
Exploring Operation: 14+35=49, Resulting Numbers: [49]
49,10 unequal: No Solution
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 14*35=490, Resulting Numbers: [490]
490,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[44, 5], Operations: ['80-36=44', '14-9=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,10 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[44, 23], Operations: ['80-36=44', '9+14=23']
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 44+23=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 44*23=1012, Resulting Numbers: [1012]
1012,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 10:[14, 53], Operations: ['80-36=44', '9+44=53']
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,10 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: 10:[80, 14, 4], Operations: ['36/9=4']
Exploring Operation: 80-4=76, Resulting Numbers: [14, 76]
Generated Node #0,0,0: 10:[14, 76] Operation: 80-4=76
Exploring Operation: 80+4=84, Resulting Numbers: [14, 84]
Generated Node #0,0,1: 10:[14, 84] Operation: 80+4=84
Exploring Operation: 80-14=66, Resulting Numbers: [4, 66]
Generated Node #0,0,2: 10:[4, 66] Operation: 80-14=66
Exploring Operation: 14-4=10, Resulting Numbers: [80, 10]
Generated Node #0,0,3: 10:[80, 10] Operation: 14-4=10
Exploring Operation: 80/4=20, Resulting Numbers: [14, 20]
Generated Node #0,0,4: 10:[14, 20] Operation: 80/4=20
Moving to Node #0,0,4
Current State: 10:[14, 20], Operations: ['36/9=4', '80/4=20']
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,10 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[4, 66], Operations: ['36/9=4', '80-14=66']
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,10 unequal: No Solution
Exploring Operation: 4+66=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 4*66=264, Resulting Numbers: [264]
264,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[14, 76], Operations: ['36/9=4', '80-4=76']
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,10 unequal: No Solution
Exploring Operation: 14+76=90, Resulting Numbers: [90]
90,10 unequal: No Solution
Exploring Operation: 14*76=1064, Resulting Numbers: [1064]
1064,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[80, 10], Operations: ['36/9=4', '14-4=10']
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 80*10=800, Resulting Numbers: [800]
800,10 unequal: No Solution
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 80+10=90, Resulting Numbers: [90]
90,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[14, 84], Operations: ['36/9=4', '80+4=84']
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 14*84=1176, Resulting Numbers: [1176]
1176,10 unequal: No Solution
Exploring Operation: 14+84=98, Resulting Numbers: [98]
98,10 unequal: No Solution
No 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: 10:[80, 9, 22], Operations: ['36-14=22']
Exploring Operation: 22-9=13, Resulting Numbers: [80, 13]
Generated Node #0,2,0: 10:[80, 13] Operation: 22-9=13
Exploring Operation: 80-22=58, Resulting Numbers: [9, 58]
Generated Node #0,2,1: 10:[9, 58] Operation: 80-22=58
Exploring Operation: 80-9=71, Resulting Numbers: [22, 71]
Generated Node #0,2,2: 10:[22, 71] Operation: 80-9=71
Exploring Operation: 9+22=31, Resulting Numbers: [80, 31]
Generated Node #0,2,3: 10:[80, 31] Operation: 9+22=31
Exploring Operation: 80+9=89, Resulting Numbers: [22, 89]
Generated Node #0,2,4: 10:[22, 89] Operation: 80+9=89
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 10:[9, 58], Operations: ['36-14=22', '80-22=58']
Exploring Operation: 9*58=522, Resulting Numbers: [522]
522,10 unequal: No Solution
Exploring Operation: 9+58=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 10:[80, 13], Operations: ['36-14=22', '22-9=13']
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 80+13=93, Resulting Numbers: [93]
93,10 unequal: No Solution
Exploring Operation: 80*13=1040, Resulting Numbers: [1040]
1040,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 10:[22, 71], Operations: ['36-14=22', '80-9=71']
Exploring Operation: 22+71=93, Resulting Numbers: [93]
93,10 unequal: No Solution
Exploring Operation: 22*71=1562, Resulting Numbers: [1562]
1562,10 unequal: No Solution
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 10:[80, 31], Operations: ['36-14=22', '9+22=31']
Exploring Operation: 80*31=2480, Resulting Numbers: [2480]
2480,10 unequal: No Solution
Exploring Operation: 80+31=111, Resulting Numbers: [111]
111,10 unequal: No Solution
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 10:[22, 89], Operations: ['36-14=22', '80+9=89']
Exploring Operation: 22+89=111, Resulting Numbers: [111]
111,10 unequal: No Solution
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,10 unequal: No Solution
Exploring Operation: 22*89=1958, Resulting Numbers: [1958]
1958,10 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: 10:[9, 36, 66], Operations: ['80-14=66']
Exploring Operation: 9+36=45, Resulting Numbers: [66, 45]
Generated Node #0,4,0: 10:[66, 45] Operation: 9+36=45
Exploring Operation: 66-9=57, Resulting Numbers: [36, 57]
Generated Node #0,4,1: 10:[36, 57] Operation: 66-9=57
Exploring Operation: 66-36=30, Resulting Numbers: [9, 30]
Generated Node #0,4,2: 10:[9, 30] Operation: 66-36=30
Exploring Operation: 36-9=27, Resulting Numbers: [66, 27]
Generated Node #0,4,3: 10:[66, 27] Operation: 36-9=27
Exploring Operation: 36/9=4, Resulting Numbers: [66, 4]
Generated Node #0,4,4: 10:[66, 4] Operation: 36/9=4
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 10:[9, 30], Operations: ['80-14=66', '66-36=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,10 unequal: No Solution
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 10:[66, 4], Operations: ['80-14=66', '36/9=4']
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,10 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,10 unequal: No Solution
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 10:[36, 57], Operations: ['80-14=66', '66-9=57']
Exploring Operation: 36+57=93, Resulting Numbers: [93]
93,10 unequal: No Solution
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 36*57=2052, Resulting Numbers: [2052]
2052,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 10:[66, 27], Operations: ['80-14=66', '36-9=27']
Exploring Operation: 66*27=1782, Resulting Numbers: [1782]
1782,10 unequal: No Solution
Exploring Operation: 66+27=93, Resulting Numbers: [93]
93,10 unequal: No Solution
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 10:[66, 45], Operations: ['80-14=66', '9+36=45']
Exploring Operation: 66+45=111, Resulting Numbers: [111]
111,10 unequal: No Solution
Exploring Operation: 66-45=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 66*45=2970, Resulting Numbers: [2970]
2970,10 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: 10:[14, 36, 71], Operations: ['80-9=71']
Exploring Operation: 71-14=57, Resulting Numbers: [36, 57]
Generated Node #0,3,0: 10:[36, 57] Operation: 71-14=57
Exploring Operation: 71-36=35, Resulting Numbers: [14, 35]
Generated Node #0,3,1: 10:[14, 35] Operation: 71-36=35
Exploring Operation: 14+36=50, Resulting Numbers: [71, 50]
Generated Node #0,3,2: 10:[71, 50] Operation: 14+36=50
Exploring Operation: 36-14=22, Resulting Numbers: [71, 22]
Generated Node #0,3,3: 10:[71, 22] Operation: 36-14=22
Exploring Operation: 14+71=85, Resulting Numbers: [36, 85]
Generated Node #0,3,4: 10:[36, 85] Operation: 14+71=85
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 10:[14, 35], Operations: ['80-9=71', '71-36=35']
Exploring Operation: 14+35=49, Resulting Numbers: [49]
49,10 unequal: No Solution
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 14*35=490, Resulting Numbers: [490]
490,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 10:[36, 57], Operations: ['80-9=71', '71-14=57']
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 36*57=2052, Resulting Numbers: [2052]
2052,10 unequal: No Solution
Exploring Operation: 36+57=93, Resulting Numbers: [93]
93,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 10:[71, 22], Operations: ['80-9=71', '36-14=22']
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,10 unequal: No Solution
Exploring Operation: 71+22=93, Resulting Numbers: [93]
93,10 unequal: No Solution
Exploring Operation: 71*22=1562, Resulting Numbers: [1562]
1562,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 10:[71, 50], Operations: ['80-9=71', '14+36=50']
Exploring Operation: 71+50=121, Resulting Numbers: [121]
121,10 unequal: No Solution
Exploring Operation: 71*50=3550, Resulting Numbers: [3550]
3550,10 unequal: No Solution
Exploring Operation: 71-50=21, Resulting Numbers: [21]
21,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 10:[36, 85], Operations: ['80-9=71', '14+71=85']
Exploring Operation: 36*85=3060, Resulting Numbers: [3060]
3060,10 unequal: No Solution
Exploring Operation: 36+85=121, Resulting Numbers: [121]
121,10 unequal: No Solution
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
75,
50,
17,
85
] | 12 | [
"85-75=10",
"50/10=5",
"17-5=12"
] | Current State: 12:[75, 50, 17, 85], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [50, 17, 10]
Generated Node #2: [50, 17, 10] from Operation: 85-75=10
Current State: 12:[50, 17, 10], Operations: ['85-75=10']
Exploring Operation: 50/10=5, Resulting Numbers: [17, 5]
Generated Node #3: [17, 5] from Operation: 50/10=5
Current State: 12:[17, 5], Operations: ['85-75=10', '50/10=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[75, 50, 17, 85], Operations: []
Exploring Operation: 75-50=25, Resulting Numbers: [17, 85, 25]
Generated Node #0,0: 12:[17, 85, 25] Operation: 75-50=25
Exploring Operation: 85-50=35, Resulting Numbers: [75, 17, 35]
Generated Node #0,1: 12:[75, 17, 35] Operation: 85-50=35
Exploring Operation: 85-75=10, Resulting Numbers: [50, 17, 10]
Generated Node #0,2: 12:[50, 17, 10] Operation: 85-75=10
Moving to Node #0,2
Current State: 12:[50, 17, 10], Operations: ['85-75=10']
Exploring Operation: 50-10=40, Resulting Numbers: [17, 40]
Generated Node #0,2,0: 12:[17, 40] Operation: 50-10=40
Exploring Operation: 50-17=33, Resulting Numbers: [10, 33]
Generated Node #0,2,1: 12:[10, 33] Operation: 50-17=33
Exploring Operation: 50/10=5, Resulting Numbers: [17, 5]
Generated Node #0,2,2: 12:[17, 5] Operation: 50/10=5
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[17, 5], Operations: ['85-75=10', '50/10=5']
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,12 unequal: No Solution
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,12 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[75, 50, 17, 85], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [50, 17, 10]
Generated Node #0,2: 12:[50, 17, 10] Operation: 85-75=10
Moving to Node #0,2
Current State: 12:[50, 17, 10], Operations: ['85-75=10']
Exploring Operation: 50/10=5, Resulting Numbers: [17, 5]
Generated Node #0,2,2: 12:[17, 5] Operation: 50/10=5
Moving to Node #0,2,2
Current State: 12:[17, 5], Operations: ['85-75=10', '50/10=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
89,
60,
78,
27
] | 98 | [
"89+60=149",
"78-27=51",
"149-51=98"
] | Current State: 98:[89, 60, 78, 27], Operations: []
Exploring Operation: 89+60=149, Resulting Numbers: [78, 27, 149]
Generated Node #2: [78, 27, 149] from Operation: 89+60=149
Current State: 98:[78, 27, 149], Operations: ['89+60=149']
Exploring Operation: 78-27=51, Resulting Numbers: [149, 51]
Generated Node #3: [149, 51] from Operation: 78-27=51
Current State: 98:[149, 51], Operations: ['89+60=149', '78-27=51']
Exploring Operation: 149-51=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[89, 60, 78, 27], Operations: []
Exploring Operation: 78+27=105, Resulting Numbers: [89, 60, 105]
Generated Node #0,0: 98:[89, 60, 105] Operation: 78+27=105
Exploring Operation: 78-27=51, Resulting Numbers: [89, 60, 51]
Generated Node #0,1: 98:[89, 60, 51] Operation: 78-27=51
Exploring Operation: 89-78=11, Resulting Numbers: [60, 27, 11]
Generated Node #0,2: 98:[60, 27, 11] Operation: 89-78=11
Exploring Operation: 78-60=18, Resulting Numbers: [89, 27, 18]
Generated Node #0,3: 98:[89, 27, 18] Operation: 78-60=18
Moving to Node #0,1
Current State: 98:[89, 60, 51], Operations: ['78-27=51']
Exploring Operation: 60+51=111, Resulting Numbers: [89, 111]
Generated Node #0,1,0: 98:[89, 111] Operation: 60+51=111
Exploring Operation: 60-51=9, Resulting Numbers: [89, 9]
Generated Node #0,1,1: 98:[89, 9] Operation: 60-51=9
Exploring Operation: 89-51=38, Resulting Numbers: [60, 38]
Generated Node #0,1,2: 98:[60, 38] Operation: 89-51=38
Exploring Operation: 89-60=29, Resulting Numbers: [51, 29]
Generated Node #0,1,3: 98:[51, 29] Operation: 89-60=29
Moving to Node #0,3
Current State: 98:[89, 27, 18], Operations: ['78-60=18']
Exploring Operation: 27+18=45, Resulting Numbers: [89, 45]
Generated Node #0,3,0: 98:[89, 45] Operation: 27+18=45
Exploring Operation: 89-27=62, Resulting Numbers: [18, 62]
Generated Node #0,3,1: 98:[18, 62] Operation: 89-27=62
Exploring Operation: 27-18=9, Resulting Numbers: [89, 9]
Generated Node #0,3,2: 98:[89, 9] Operation: 27-18=9
Exploring Operation: 89+27=116, Resulting Numbers: [18, 116]
Generated Node #0,3,3: 98:[18, 116] Operation: 89+27=116
Moving to Node #0,2
Current State: 98:[60, 27, 11], Operations: ['89-78=11']
Exploring Operation: 60-11=49, Resulting Numbers: [27, 49]
Generated Node #0,2,0: 98:[27, 49] Operation: 60-11=49
Exploring Operation: 60+27=87, Resulting Numbers: [11, 87]
Generated Node #0,2,1: 98:[11, 87] Operation: 60+27=87
Exploring Operation: 60-27=33, Resulting Numbers: [11, 33]
Generated Node #0,2,2: 98:[11, 33] Operation: 60-27=33
Exploring Operation: 27-11=16, Resulting Numbers: [60, 16]
Generated Node #0,2,3: 98:[60, 16] Operation: 27-11=16
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 98:[27, 49], Operations: ['89-78=11', '60-11=49']
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 27+49=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Exploring Operation: 27*49=1323, Resulting Numbers: [1323]
1323,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,2,3
Current State: 98:[60, 16], Operations: ['89-78=11', '27-11=16']
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,98 unequal: No Solution
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,98 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,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,2,1
Current State: 98:[11, 87], Operations: ['89-78=11', '60+27=87']
Exploring Operation: 11+87=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[89, 60, 78, 27], Operations: []
Exploring Operation: 89-78=11, Resulting Numbers: [60, 27, 11]
Generated Node #0,2: 98:[60, 27, 11] Operation: 89-78=11
Moving to Node #0,2
Current State: 98:[60, 27, 11], Operations: ['89-78=11']
Exploring Operation: 60+27=87, Resulting Numbers: [11, 87]
Generated Node #0,2,1: 98:[11, 87] Operation: 60+27=87
Moving to Node #0,2,1
Current State: 98:[11, 87], Operations: ['89-78=11', '60+27=87']
Exploring Operation: 11+87=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_4 | mult_heuristic |
[
23,
62,
64,
72
] | 77 | [
"23+62=85",
"72-64=8",
"85-8=77"
] | Current State: 77:[23, 62, 64, 72], Operations: []
Exploring Operation: 23+62=85, Resulting Numbers: [64, 72, 85]
Generated Node #2: [64, 72, 85] from Operation: 23+62=85
Current State: 77:[64, 72, 85], Operations: ['23+62=85']
Exploring Operation: 72-64=8, Resulting Numbers: [85, 8]
Generated Node #3: [85, 8] from Operation: 72-64=8
Current State: 77:[85, 8], Operations: ['23+62=85', '72-64=8']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[23, 62, 64, 72], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [23, 72, 2]
Generated Node #0,0: 77:[23, 72, 2] Operation: 64-62=2
Exploring Operation: 72-62=10, Resulting Numbers: [23, 64, 10]
Generated Node #0,1: 77:[23, 64, 10] Operation: 72-62=10
Exploring Operation: 23+62=85, Resulting Numbers: [64, 72, 85]
Generated Node #0,2: 77:[64, 72, 85] Operation: 23+62=85
Exploring Operation: 72-64=8, Resulting Numbers: [23, 62, 8]
Generated Node #0,3: 77:[23, 62, 8] Operation: 72-64=8
Moving to Node #0,0
Current State: 77:[23, 72, 2], Operations: ['64-62=2']
Exploring Operation: 72+2=74, Resulting Numbers: [23, 74]
Generated Node #0,0,0: 77:[23, 74] Operation: 72+2=74
Exploring Operation: 23+2=25, Resulting Numbers: [72, 25]
Generated Node #0,0,1: 77:[72, 25] Operation: 23+2=25
Exploring Operation: 72-2=70, Resulting Numbers: [23, 70]
Generated Node #0,0,2: 77:[23, 70] Operation: 72-2=70
Exploring Operation: 23-2=21, Resulting Numbers: [72, 21]
Generated Node #0,0,3: 77:[72, 21] Operation: 23-2=21
Moving to Node #0,2
Current State: 77:[64, 72, 85], Operations: ['23+62=85']
Exploring Operation: 85-72=13, Resulting Numbers: [64, 13]
Generated Node #0,2,0: 77:[64, 13] Operation: 85-72=13
Exploring Operation: 72-64=8, Resulting Numbers: [85, 8]
Generated Node #0,2,1: 77:[85, 8] Operation: 72-64=8
Exploring Operation: 64+72=136, Resulting Numbers: [85, 136]
Generated Node #0,2,2: 77:[85, 136] Operation: 64+72=136
Exploring Operation: 85-64=21, Resulting Numbers: [72, 21]
Generated Node #0,2,3: 77:[72, 21] Operation: 85-64=21
Moving to Node #0,1
Current State: 77:[23, 64, 10], Operations: ['72-62=10']
Exploring Operation: 23-10=13, Resulting Numbers: [64, 13]
Generated Node #0,1,0: 77:[64, 13] Operation: 23-10=13
Exploring Operation: 23+64=87, Resulting Numbers: [10, 87]
Generated Node #0,1,1: 77:[10, 87] Operation: 23+64=87
Exploring Operation: 64+10=74, Resulting Numbers: [23, 74]
Generated Node #0,1,2: 77:[23, 74] Operation: 64+10=74
Exploring Operation: 64-23=41, Resulting Numbers: [10, 41]
Generated Node #0,1,3: 77:[10, 41] Operation: 64-23=41
Moving to Node #0,3
Current State: 77:[23, 62, 8], Operations: ['72-64=8']
Exploring Operation: 62+8=70, Resulting Numbers: [23, 70]
Generated Node #0,3,0: 77:[23, 70] Operation: 62+8=70
Exploring Operation: 23+62=85, Resulting Numbers: [8, 85]
Generated Node #0,3,1: 77:[8, 85] Operation: 23+62=85
Exploring Operation: 62-23=39, Resulting Numbers: [8, 39]
Generated Node #0,3,2: 77:[8, 39] Operation: 62-23=39
Exploring Operation: 23-8=15, Resulting Numbers: [62, 15]
Generated Node #0,3,3: 77:[62, 15] Operation: 23-8=15
Moving to Node #0,2,1
Current State: 77:[85, 8], Operations: ['23+62=85', '72-64=8']
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,77 unequal: No Solution
Exploring Operation: 85*8=680, Resulting Numbers: [680]
680,77 unequal: No Solution
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[23, 62, 64, 72], Operations: []
Exploring Operation: 23+62=85, Resulting Numbers: [64, 72, 85]
Generated Node #0,2: 77:[64, 72, 85] Operation: 23+62=85
Moving to Node #0,2
Current State: 77:[64, 72, 85], Operations: ['23+62=85']
Exploring Operation: 72-64=8, Resulting Numbers: [85, 8]
Generated Node #0,2,1: 77:[85, 8] Operation: 72-64=8
Moving to Node #0,2,1
Current State: 77:[85, 8], Operations: ['23+62=85', '72-64=8']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.976563 | hs_4 | sum_heuristic |
[
50,
69,
43,
83
] | 79 | [
"50+69=119",
"83-43=40",
"119-40=79"
] | Current State: 79:[50, 69, 43, 83], Operations: []
Exploring Operation: 50+69=119, Resulting Numbers: [43, 83, 119]
Generated Node #2: [43, 83, 119] from Operation: 50+69=119
Current State: 79:[43, 83, 119], Operations: ['50+69=119']
Exploring Operation: 83-43=40, Resulting Numbers: [119, 40]
Generated Node #3: [119, 40] from Operation: 83-43=40
Current State: 79:[119, 40], Operations: ['50+69=119', '83-43=40']
Exploring Operation: 119-40=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[50, 69, 43, 83], Operations: []
Exploring Operation: 50+43=93, Resulting Numbers: [69, 83, 93]
Generated Node #0,0: 79:[69, 83, 93] Operation: 50+43=93
Moving to Node #0,0
Current State: 79:[69, 83, 93], Operations: ['50+43=93']
Exploring Operation: 93-69=24, Resulting Numbers: [83, 24]
Generated Node #0,0,0: 79:[83, 24] Operation: 93-69=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[83, 24], Operations: ['50+43=93', '93-69=24']
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,79 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 |
[
95,
64,
91,
72
] | 59 | [
"91-72=19",
"95/19=5",
"64-5=59"
] | Current State: 59:[95, 64, 91, 72], Operations: []
Exploring Operation: 91-72=19, Resulting Numbers: [95, 64, 19]
Generated Node #2: [95, 64, 19] from Operation: 91-72=19
Current State: 59:[95, 64, 19], Operations: ['91-72=19']
Exploring Operation: 95/19=5, Resulting Numbers: [64, 5]
Generated Node #3: [64, 5] from Operation: 95/19=5
Current State: 59:[64, 5], Operations: ['91-72=19', '95/19=5']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[95, 64, 91, 72], Operations: []
Exploring Operation: 95-64=31, Resulting Numbers: [91, 72, 31]
Generated Node #0,0: 59:[91, 72, 31] Operation: 95-64=31
Moving to Node #0,0
Current State: 59:[91, 72, 31], Operations: ['95-64=31']
Exploring Operation: 91-31=60, Resulting Numbers: [72, 60]
Generated Node #0,0,0: 59:[72, 60] Operation: 91-31=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[72, 60], Operations: ['95-64=31', '91-31=60']
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
82,
25,
16,
96
] | 50 | [
"82+16=98",
"98-96=2",
"25*2=50"
] | Current State: 50:[82, 25, 16, 96], Operations: []
Exploring Operation: 82+16=98, Resulting Numbers: [25, 96, 98]
Generated Node #2: [25, 96, 98] from Operation: 82+16=98
Current State: 50:[25, 96, 98], Operations: ['82+16=98']
Exploring Operation: 98-96=2, Resulting Numbers: [25, 2]
Generated Node #3: [25, 2] from Operation: 98-96=2
Current State: 50:[25, 2], Operations: ['82+16=98', '98-96=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[82, 25, 16, 96], Operations: []
Exploring Operation: 96-82=14, Resulting Numbers: [25, 16, 14]
Generated Node #0,0: 50:[25, 16, 14] Operation: 96-82=14
Exploring Operation: 96/16=6, Resulting Numbers: [82, 25, 6]
Generated Node #0,1: 50:[82, 25, 6] Operation: 96/16=6
Exploring Operation: 96-25=71, Resulting Numbers: [82, 16, 71]
Generated Node #0,2: 50:[82, 16, 71] Operation: 96-25=71
Exploring Operation: 82-25=57, Resulting Numbers: [16, 96, 57]
Generated Node #0,3: 50:[16, 96, 57] Operation: 82-25=57
Exploring Operation: 82-16=66, Resulting Numbers: [25, 96, 66]
Generated Node #0,4: 50:[25, 96, 66] Operation: 82-16=66
Moving to Node #0,0
Current State: 50:[25, 16, 14], Operations: ['96-82=14']
Exploring Operation: 16-14=2, Resulting Numbers: [25, 2]
Generated Node #0,0,0: 50:[25, 2] Operation: 16-14=2
Exploring Operation: 16+14=30, Resulting Numbers: [25, 30]
Generated Node #0,0,1: 50:[25, 30] Operation: 16+14=30
Exploring Operation: 25-16=9, Resulting Numbers: [14, 9]
Generated Node #0,0,2: 50:[14, 9] Operation: 25-16=9
Exploring Operation: 25-14=11, Resulting Numbers: [16, 11]
Generated Node #0,0,3: 50:[16, 11] Operation: 25-14=11
Exploring Operation: 25+16=41, Resulting Numbers: [14, 41]
Generated Node #0,0,4: 50:[14, 41] Operation: 25+16=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[25, 2], Operations: ['96-82=14', '16-14=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[82, 25, 16, 96], Operations: []
Exploring Operation: 96-82=14, Resulting Numbers: [25, 16, 14]
Generated Node #0,0: 50:[25, 16, 14] Operation: 96-82=14
Moving to Node #0,0
Current State: 50:[25, 16, 14], Operations: ['96-82=14']
Exploring Operation: 16-14=2, Resulting Numbers: [25, 2]
Generated Node #0,0,0: 50:[25, 2] Operation: 16-14=2
Moving to Node #0,0,0
Current State: 50:[25, 2], Operations: ['96-82=14', '16-14=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
9,
42,
38,
11
] | 63 | [
"42-38=4",
"11-4=7",
"9*7=63"
] | Current State: 63:[9, 42, 38, 11], Operations: []
Exploring Operation: 42-38=4, Resulting Numbers: [9, 11, 4]
Generated Node #2: [9, 11, 4] from Operation: 42-38=4
Current State: 63:[9, 11, 4], Operations: ['42-38=4']
Exploring Operation: 11-4=7, Resulting Numbers: [9, 7]
Generated Node #3: [9, 7] from Operation: 11-4=7
Current State: 63:[9, 7], Operations: ['42-38=4', '11-4=7']
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[9, 42, 38, 11], Operations: []
Exploring Operation: 42-38=4, Resulting Numbers: [9, 11, 4]
Generated Node #0,0: 63:[9, 11, 4] Operation: 42-38=4
Exploring Operation: 38-11=27, Resulting Numbers: [9, 42, 27]
Generated Node #0,1: 63:[9, 42, 27] Operation: 38-11=27
Exploring Operation: 42+11=53, Resulting Numbers: [9, 38, 53]
Generated Node #0,2: 63:[9, 38, 53] Operation: 42+11=53
Exploring Operation: 42-11=31, Resulting Numbers: [9, 38, 31]
Generated Node #0,3: 63:[9, 38, 31] Operation: 42-11=31
Exploring Operation: 42+38=80, Resulting Numbers: [9, 11, 80]
Generated Node #0,4: 63:[9, 11, 80] Operation: 42+38=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[9, 11, 4], Operations: ['42-38=4']
Exploring Operation: 9+4=13, Resulting Numbers: [11, 13]
Generated Node #0,0,0: 63:[11, 13] Operation: 9+4=13
Exploring Operation: 11-4=7, Resulting Numbers: [9, 7]
Generated Node #0,0,1: 63:[9, 7] Operation: 11-4=7
Exploring Operation: 11-9=2, Resulting Numbers: [4, 2]
Generated Node #0,0,2: 63:[4, 2] Operation: 11-9=2
Exploring Operation: 9+11=20, Resulting Numbers: [4, 20]
Generated Node #0,0,3: 63:[4, 20] Operation: 9+11=20
Exploring Operation: 9-4=5, Resulting Numbers: [11, 5]
Generated Node #0,0,4: 63:[11, 5] Operation: 9-4=5
Moving to Node #0,0,1
Current State: 63:[9, 7], Operations: ['42-38=4', '11-4=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[9, 42, 38, 11], Operations: []
Exploring Operation: 42-38=4, Resulting Numbers: [9, 11, 4]
Generated Node #0,0: 63:[9, 11, 4] Operation: 42-38=4
Moving to Node #0,0
Current State: 63:[9, 11, 4], Operations: ['42-38=4']
Exploring Operation: 11-4=7, Resulting Numbers: [9, 7]
Generated Node #0,0,1: 63:[9, 7] Operation: 11-4=7
Moving to Node #0,0,1
Current State: 63:[9, 7], Operations: ['42-38=4', '11-4=7']
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
30,
13,
69,
11
] | 54 | [
"13-11=2",
"30/2=15",
"69-15=54"
] | Current State: 54:[30, 13, 69, 11], Operations: []
Exploring Operation: 13-11=2, Resulting Numbers: [30, 69, 2]
Generated Node #2: [30, 69, 2] from Operation: 13-11=2
Current State: 54:[30, 69, 2], Operations: ['13-11=2']
Exploring Operation: 30/2=15, Resulting Numbers: [69, 15]
Generated Node #3: [69, 15] from Operation: 30/2=15
Current State: 54:[69, 15], Operations: ['13-11=2', '30/2=15']
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[30, 13, 69, 11], Operations: []
Exploring Operation: 30-13=17, Resulting Numbers: [69, 11, 17]
Generated Node #0,0: 54:[69, 11, 17] Operation: 30-13=17
Exploring Operation: 69-30=39, Resulting Numbers: [13, 11, 39]
Generated Node #0,1: 54:[13, 11, 39] Operation: 69-30=39
Exploring Operation: 69-11=58, Resulting Numbers: [30, 13, 58]
Generated Node #0,2: 54:[30, 13, 58] Operation: 69-11=58
Exploring Operation: 13-11=2, Resulting Numbers: [30, 69, 2]
Generated Node #0,3: 54:[30, 69, 2] Operation: 13-11=2
Exploring Operation: 69-13=56, Resulting Numbers: [30, 11, 56]
Generated Node #0,4: 54:[30, 11, 56] Operation: 69-13=56
Moving to Node #0,4
Current State: 54:[30, 11, 56], Operations: ['69-13=56']
Exploring Operation: 11+56=67, Resulting Numbers: [30, 67]
Generated Node #0,4,0: 54:[30, 67] Operation: 11+56=67
Exploring Operation: 56-11=45, Resulting Numbers: [30, 45]
Generated Node #0,4,1: 54:[30, 45] Operation: 56-11=45
Exploring Operation: 30+11=41, Resulting Numbers: [56, 41]
Generated Node #0,4,2: 54:[56, 41] Operation: 30+11=41
Exploring Operation: 30-11=19, Resulting Numbers: [56, 19]
Generated Node #0,4,3: 54:[56, 19] Operation: 30-11=19
Exploring Operation: 56-30=26, Resulting Numbers: [11, 26]
Generated Node #0,4,4: 54:[11, 26] Operation: 56-30=26
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 54:[56, 19], Operations: ['69-13=56', '30-11=19']
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 56*19=1064, Resulting Numbers: [1064]
1064,54 unequal: No Solution
No 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: 54:[11, 26], Operations: ['69-13=56', '56-30=26']
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,54 unequal: No Solution
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,54 unequal: No Solution
No 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: 54:[30, 45], Operations: ['69-13=56', '56-11=45']
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 30*45=1350, Resulting Numbers: [1350]
1350,54 unequal: No Solution
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,54 unequal: No Solution
No 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: 54:[56, 41], Operations: ['69-13=56', '30+11=41']
Exploring Operation: 56*41=2296, Resulting Numbers: [2296]
2296,54 unequal: No Solution
Exploring Operation: 56+41=97, Resulting Numbers: [97]
97,54 unequal: No Solution
Exploring Operation: 56-41=15, Resulting Numbers: [15]
15,54 unequal: No Solution
No 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: 54:[30, 67], Operations: ['69-13=56', '11+56=67']
Exploring Operation: 30*67=2010, Resulting Numbers: [2010]
2010,54 unequal: No Solution
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 30+67=97, Resulting Numbers: [97]
97,54 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: 54:[30, 13, 58], Operations: ['69-11=58']
Exploring Operation: 58-30=28, Resulting Numbers: [13, 28]
Generated Node #0,2,0: 54:[13, 28] Operation: 58-30=28
Exploring Operation: 58-13=45, Resulting Numbers: [30, 45]
Generated Node #0,2,1: 54:[30, 45] Operation: 58-13=45
Exploring Operation: 13+58=71, Resulting Numbers: [30, 71]
Generated Node #0,2,2: 54:[30, 71] Operation: 13+58=71
Exploring Operation: 30+13=43, Resulting Numbers: [58, 43]
Generated Node #0,2,3: 54:[58, 43] Operation: 30+13=43
Exploring Operation: 30-13=17, Resulting Numbers: [58, 17]
Generated Node #0,2,4: 54:[58, 17] Operation: 30-13=17
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[13, 28], Operations: ['69-11=58', '58-30=28']
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,54 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 54:[58, 17], Operations: ['69-11=58', '30-13=17']
Exploring Operation: 58*17=986, Resulting Numbers: [986]
986,54 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 58+17=75, Resulting Numbers: [75]
75,54 unequal: No Solution
No 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: 54:[30, 45], Operations: ['69-11=58', '58-13=45']
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 30*45=1350, Resulting Numbers: [1350]
1350,54 unequal: No Solution
No 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: 54:[58, 43], Operations: ['69-11=58', '30+13=43']
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 58*43=2494, Resulting Numbers: [2494]
2494,54 unequal: No Solution
Exploring Operation: 58+43=101, Resulting Numbers: [101]
101,54 unequal: No Solution
No 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: 54:[30, 71], Operations: ['69-11=58', '13+58=71']
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 30+71=101, Resulting Numbers: [101]
101,54 unequal: No Solution
Exploring Operation: 30*71=2130, Resulting Numbers: [2130]
2130,54 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: 54:[69, 11, 17], Operations: ['30-13=17']
Exploring Operation: 11+17=28, Resulting Numbers: [69, 28]
Generated Node #0,0,0: 54:[69, 28] Operation: 11+17=28
Exploring Operation: 69+11=80, Resulting Numbers: [17, 80]
Generated Node #0,0,1: 54:[17, 80] Operation: 69+11=80
Exploring Operation: 17-11=6, Resulting Numbers: [69, 6]
Generated Node #0,0,2: 54:[69, 6] Operation: 17-11=6
Exploring Operation: 69-17=52, Resulting Numbers: [11, 52]
Generated Node #0,0,3: 54:[11, 52] Operation: 69-17=52
Exploring Operation: 69-11=58, Resulting Numbers: [17, 58]
Generated Node #0,0,4: 54:[17, 58] Operation: 69-11=58
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 54:[11, 52], Operations: ['30-13=17', '69-17=52']
Exploring Operation: 11*52=572, Resulting Numbers: [572]
572,54 unequal: No Solution
Exploring Operation: 11+52=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,54 unequal: No Solution
No 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: 54:[17, 58], Operations: ['30-13=17', '69-11=58']
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 17*58=986, Resulting Numbers: [986]
986,54 unequal: No Solution
No 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: 54:[69, 6], Operations: ['30-13=17', '17-11=6']
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,54 unequal: No Solution
No 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: 54:[69, 28], Operations: ['30-13=17', '11+17=28']
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,54 unequal: No Solution
Exploring Operation: 69*28=1932, Resulting Numbers: [1932]
1932,54 unequal: No Solution
No 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: 54:[17, 80], Operations: ['30-13=17', '69+11=80']
Exploring Operation: 80-17=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Exploring Operation: 17+80=97, Resulting Numbers: [97]
97,54 unequal: No Solution
Exploring Operation: 17*80=1360, Resulting Numbers: [1360]
1360,54 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: 54:[13, 11, 39], Operations: ['69-30=39']
Exploring Operation: 39-11=28, Resulting Numbers: [13, 28]
Generated Node #0,1,0: 54:[13, 28] Operation: 39-11=28
Exploring Operation: 39/13=3, Resulting Numbers: [11, 3]
Generated Node #0,1,1: 54:[11, 3] Operation: 39/13=3
Exploring Operation: 11+39=50, Resulting Numbers: [13, 50]
Generated Node #0,1,2: 54:[13, 50] Operation: 11+39=50
Exploring Operation: 13+39=52, Resulting Numbers: [11, 52]
Generated Node #0,1,3: 54:[11, 52] Operation: 13+39=52
Exploring Operation: 39-13=26, Resulting Numbers: [11, 26]
Generated Node #0,1,4: 54:[11, 26] Operation: 39-13=26
Moving to Node #0,3
Current State: 54:[30, 69, 2], Operations: ['13-11=2']
Exploring Operation: 30+2=32, Resulting Numbers: [69, 32]
Generated Node #0,3,0: 54:[69, 32] Operation: 30+2=32
Exploring Operation: 69-2=67, Resulting Numbers: [30, 67]
Generated Node #0,3,1: 54:[30, 67] Operation: 69-2=67
Exploring Operation: 30-2=28, Resulting Numbers: [69, 28]
Generated Node #0,3,2: 54:[69, 28] Operation: 30-2=28
Exploring Operation: 69-30=39, Resulting Numbers: [2, 39]
Generated Node #0,3,3: 54:[2, 39] Operation: 69-30=39
Exploring Operation: 30/2=15, Resulting Numbers: [69, 15]
Generated Node #0,3,4: 54:[69, 15] Operation: 30/2=15
Moving to Node #0,1,1
Current State: 54:[11, 3], Operations: ['69-30=39', '39/13=3']
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Moving to Node #0,1,4
Current State: 54:[11, 26], Operations: ['69-30=39', '39-13=26']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,54 unequal: No Solution
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Moving to Node #0,1,3
Current State: 54:[11, 52], Operations: ['69-30=39', '13+39=52']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 11*52=572, Resulting Numbers: [572]
572,54 unequal: No Solution
Exploring Operation: 11+52=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[13, 28], Operations: ['69-30=39', '39-11=28']
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[13, 50], Operations: ['69-30=39', '11+39=50']
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 13*50=650, Resulting Numbers: [650]
650,54 unequal: No Solution
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[2, 39], Operations: ['13-11=2', '69-30=39']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,54 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[69, 28], Operations: ['13-11=2', '30-2=28']
Exploring Operation: 69*28=1932, Resulting Numbers: [1932]
1932,54 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,54 unequal: No Solution
Moving to Node #0,3,1
Current State: 54:[30, 67], Operations: ['13-11=2', '69-2=67']
Exploring Operation: 30+67=97, Resulting Numbers: [97]
97,54 unequal: No Solution
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 30*67=2010, Resulting Numbers: [2010]
2010,54 unequal: No Solution
Moving to Node #0,3,4
Current State: 54:[69, 15], Operations: ['13-11=2', '30/2=15']
Exploring Operation: 69*15=1035, Resulting Numbers: [1035]
1035,54 unequal: No Solution
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[30, 13, 69, 11], Operations: []
Exploring Operation: 13-11=2, Resulting Numbers: [30, 69, 2]
Generated Node #0,3: 54:[30, 69, 2] Operation: 13-11=2
Moving to Node #0,3
Current State: 54:[30, 69, 2], Operations: ['13-11=2']
Exploring Operation: 30/2=15, Resulting Numbers: [69, 15]
Generated Node #0,3,4: 54:[69, 15] Operation: 30/2=15
Moving to Node #0,3,4
Current State: 54:[69, 15], Operations: ['13-11=2', '30/2=15']
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.908854 | hs_5 | mult_heuristic |
[
4,
2,
63,
19
] | 20 | [
"63-4=59",
"59-19=40",
"40/2=20"
] | Current State: 20:[4, 2, 63, 19], Operations: []
Exploring Operation: 63-4=59, Resulting Numbers: [2, 19, 59]
Generated Node #2: [2, 19, 59] from Operation: 63-4=59
Current State: 20:[2, 19, 59], Operations: ['63-4=59']
Exploring Operation: 59-19=40, Resulting Numbers: [2, 40]
Generated Node #3: [2, 40] from Operation: 59-19=40
Current State: 20:[2, 40], Operations: ['63-4=59', '59-19=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[4, 2, 63, 19], Operations: []
Exploring Operation: 63-19=44, Resulting Numbers: [4, 2, 44]
Generated Node #0,0: 20:[4, 2, 44] Operation: 63-19=44
Moving to Node #0,0
Current State: 20:[4, 2, 44], Operations: ['63-19=44']
Exploring Operation: 44/4=11, Resulting Numbers: [2, 11]
Generated Node #0,0,0: 20:[2, 11] Operation: 44/4=11
Moving to Node #0,0,0
Current State: 20:[2, 11], Operations: ['63-19=44', '44/4=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,20 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
11,
24,
23
] | 33 | [
"2+24=26",
"26-23=3",
"11*3=33"
] | Current State: 33:[2, 11, 24, 23], Operations: []
Exploring Operation: 2+24=26, Resulting Numbers: [11, 23, 26]
Generated Node #2: [11, 23, 26] from Operation: 2+24=26
Current State: 33:[11, 23, 26], Operations: ['2+24=26']
Exploring Operation: 26-23=3, Resulting Numbers: [11, 3]
Generated Node #3: [11, 3] from Operation: 26-23=3
Current State: 33:[11, 3], Operations: ['2+24=26', '26-23=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[2, 11, 24, 23], Operations: []
Exploring Operation: 24-23=1, Resulting Numbers: [2, 11, 1]
Generated Node #0,0: 33:[2, 11, 1] Operation: 24-23=1
Moving to Node #0,0
Current State: 33:[2, 11, 1], Operations: ['24-23=1']
Exploring Operation: 2+1=3, Resulting Numbers: [11, 3]
Generated Node #0,0,0: 33:[11, 3] Operation: 2+1=3
Moving to Node #0,0,0
Current State: 33:[11, 3], Operations: ['24-23=1', '2+1=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[2, 11, 24, 23], Operations: []
Exploring Operation: 24-23=1, Resulting Numbers: [2, 11, 1]
Generated Node #0,0: 33:[2, 11, 1] Operation: 24-23=1
Moving to Node #0,0
Current State: 33:[2, 11, 1], Operations: ['24-23=1']
Exploring Operation: 2+1=3, Resulting Numbers: [11, 3]
Generated Node #0,0,0: 33:[11, 3] Operation: 2+1=3
Moving to Node #0,0,0
Current State: 33:[11, 3], Operations: ['24-23=1', '2+1=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
45,
12,
27,
39
] | 85 | [
"12+39=51",
"45*51=2295",
"2295/27=85"
] | Current State: 85:[45, 12, 27, 39], Operations: []
Exploring Operation: 12+39=51, Resulting Numbers: [45, 27, 51]
Generated Node #2: [45, 27, 51] from Operation: 12+39=51
Current State: 85:[45, 27, 51], Operations: ['12+39=51']
Exploring Operation: 45*51=2295, Resulting Numbers: [27, 2295]
Generated Node #3: [27, 2295] from Operation: 45*51=2295
Current State: 85:[27, 2295], Operations: ['12+39=51', '45*51=2295']
Exploring Operation: 2295/27=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[45, 12, 27, 39], Operations: []
Exploring Operation: 39-27=12, Resulting Numbers: [45, 12, 12]
Generated Node #0,0: 85:[45, 12, 12] Operation: 39-27=12
Exploring Operation: 45-39=6, Resulting Numbers: [12, 27, 6]
Generated Node #0,1: 85:[12, 27, 6] Operation: 45-39=6
Exploring Operation: 45+39=84, Resulting Numbers: [12, 27, 84]
Generated Node #0,2: 85:[12, 27, 84] Operation: 45+39=84
Exploring Operation: 45+27=72, Resulting Numbers: [12, 39, 72]
Generated Node #0,3: 85:[12, 39, 72] Operation: 45+27=72
Exploring Operation: 45-27=18, Resulting Numbers: [12, 39, 18]
Generated Node #0,4: 85:[12, 39, 18] Operation: 45-27=18
Moving to Node #0,1
Current State: 85:[12, 27, 6], Operations: ['45-39=6']
Exploring Operation: 12-6=6, Resulting Numbers: [27, 6]
Generated Node #0,1,0: 85:[27, 6] Operation: 12-6=6
Exploring Operation: 27-12=15, Resulting Numbers: [6, 15]
Generated Node #0,1,1: 85:[6, 15] Operation: 27-12=15
Exploring Operation: 27-6=21, Resulting Numbers: [12, 21]
Generated Node #0,1,2: 85:[12, 21] Operation: 27-6=21
Exploring Operation: 12/6=2, Resulting Numbers: [27, 2]
Generated Node #0,1,3: 85:[27, 2] Operation: 12/6=2
Exploring Operation: 12+6=18, Resulting Numbers: [27, 18]
Generated Node #0,1,4: 85:[27, 18] Operation: 12+6=18
Moving to Node #0,2
Current State: 85:[12, 27, 84], Operations: ['45+39=84']
Exploring Operation: 12+84=96, Resulting Numbers: [27, 96]
Generated Node #0,2,0: 85:[27, 96] Operation: 12+84=96
Exploring Operation: 27-12=15, Resulting Numbers: [84, 15]
Generated Node #0,2,1: 85:[84, 15] Operation: 27-12=15
Exploring Operation: 84/12=7, Resulting Numbers: [27, 7]
Generated Node #0,2,2: 85:[27, 7] Operation: 84/12=7
Exploring Operation: 84-12=72, Resulting Numbers: [27, 72]
Generated Node #0,2,3: 85:[27, 72] Operation: 84-12=72
Exploring Operation: 12+27=39, Resulting Numbers: [84, 39]
Generated Node #0,2,4: 85:[84, 39] Operation: 12+27=39
Moving to Node #0,4
Current State: 85:[12, 39, 18], Operations: ['45-27=18']
Exploring Operation: 39-12=27, Resulting Numbers: [18, 27]
Generated Node #0,4,0: 85:[18, 27] Operation: 39-12=27
Exploring Operation: 39-18=21, Resulting Numbers: [12, 21]
Generated Node #0,4,1: 85:[12, 21] Operation: 39-18=21
Exploring Operation: 12+39=51, Resulting Numbers: [18, 51]
Generated Node #0,4,2: 85:[18, 51] Operation: 12+39=51
Exploring Operation: 39+18=57, Resulting Numbers: [12, 57]
Generated Node #0,4,3: 85:[12, 57] Operation: 39+18=57
Exploring Operation: 18-12=6, Resulting Numbers: [39, 6]
Generated Node #0,4,4: 85:[39, 6] Operation: 18-12=6
Moving to Node #0,0
Current State: 85:[45, 12, 12], Operations: ['39-27=12']
Exploring Operation: 45+12=57, Resulting Numbers: [12, 57]
Generated Node #0,0,0: 85:[12, 57] Operation: 45+12=57
Exploring Operation: 45+12=57, Resulting Numbers: [12, 57]
Generated Node #0,0,1: 85:[12, 57] Operation: 45+12=57
Exploring Operation: 45-12=33, Resulting Numbers: [12, 33]
Generated Node #0,0,2: 85:[12, 33] Operation: 45-12=33
Exploring Operation: 12/12=1, Resulting Numbers: [45, 1]
Generated Node #0,0,3: 85:[45, 1] Operation: 12/12=1
Exploring Operation: 45-12=33, Resulting Numbers: [12, 33]
Generated Node #0,0,4: 85:[12, 33] Operation: 45-12=33
Moving to Node #0,3
Current State: 85:[12, 39, 72], Operations: ['45+27=72']
Exploring Operation: 39+72=111, Resulting Numbers: [12, 111]
Generated Node #0,3,0: 85:[12, 111] Operation: 39+72=111
Exploring Operation: 72/12=6, Resulting Numbers: [39, 6]
Generated Node #0,3,1: 85:[39, 6] Operation: 72/12=6
Exploring Operation: 12+72=84, Resulting Numbers: [39, 84]
Generated Node #0,3,2: 85:[39, 84] Operation: 12+72=84
Exploring Operation: 72-39=33, Resulting Numbers: [12, 33]
Generated Node #0,3,3: 85:[12, 33] Operation: 72-39=33
Exploring Operation: 39-12=27, Resulting Numbers: [72, 27]
Generated Node #0,3,4: 85:[72, 27] Operation: 39-12=27
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 85:[12, 33], Operations: ['45+27=72', '72-39=33']
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,85 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 85:[39, 6], Operations: ['45+27=72', '72/12=6']
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,85 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 85:[39, 84], Operations: ['45+27=72', '12+72=84']
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Exploring Operation: 39*84=3276, Resulting Numbers: [3276]
3276,85 unequal: No Solution
Exploring Operation: 39+84=123, Resulting Numbers: [123]
123,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 85:[72, 27], Operations: ['45+27=72', '39-12=27']
Exploring Operation: 72+27=99, Resulting Numbers: [99]
99,85 unequal: No Solution
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Exploring Operation: 72*27=1944, Resulting Numbers: [1944]
1944,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 85:[12, 111], Operations: ['45+27=72', '39+72=111']
Exploring Operation: 12*111=1332, Resulting Numbers: [1332]
1332,85 unequal: No Solution
Exploring Operation: 12+111=123, Resulting Numbers: [123]
123,85 unequal: No Solution
Exploring Operation: 111-12=99, Resulting Numbers: [99]
99,85 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: 85:[6, 15], Operations: ['45-39=6', '27-12=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,85 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[84, 15], Operations: ['45+39=84', '27-12=15']
Exploring Operation: 84*15=1260, Resulting Numbers: [1260]
1260,85 unequal: No Solution
Exploring Operation: 84+15=99, Resulting Numbers: [99]
99,85 unequal: No Solution
Exploring Operation: 84-15=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[12, 21], Operations: ['45-39=6', '27-6=21']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,85 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Moving to Node #0,4,1
Current State: 85:[12, 21], Operations: ['45-27=18', '39-18=21']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[27, 6], Operations: ['45-39=6', '12-6=6']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,85 unequal: No Solution
Moving to Node #0,4,0
Current State: 85:[18, 27], Operations: ['45-27=18', '39-12=27']
Exploring Operation: 18*27=486, Resulting Numbers: [486]
486,85 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Moving to Node #0,1,4
Current State: 85:[27, 18], Operations: ['45-39=6', '12+6=18']
Exploring Operation: 27*18=486, Resulting Numbers: [486]
486,85 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 27+18=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[27, 7], Operations: ['45+39=84', '84/12=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,85 unequal: No Solution
Moving to Node #0,1,3
Current State: 85:[27, 2], Operations: ['45-39=6', '12/6=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,85 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[12, 33], Operations: ['39-27=12', '45-12=33']
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,85 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[27, 96], Operations: ['45+39=84', '12+84=96']
Exploring Operation: 27*96=2592, Resulting Numbers: [2592]
2592,85 unequal: No Solution
Exploring Operation: 27+96=123, Resulting Numbers: [123]
123,85 unequal: No Solution
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Moving to Node #0,0,4
Current State: 85:[12, 33], Operations: ['39-27=12', '45-12=33']
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Exploring Operation: 12*33=396, Resulting Numbers: [396]
396,85 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Moving to Node #0,4,4
Current State: 85:[39, 6], Operations: ['45-27=18', '18-12=6']
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,85 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Moving to Node #0,2,4
Current State: 85:[84, 39], Operations: ['45+39=84', '12+27=39']
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Exploring Operation: 84+39=123, Resulting Numbers: [123]
123,85 unequal: No Solution
Exploring Operation: 84*39=3276, Resulting Numbers: [3276]
3276,85 unequal: No Solution
Moving to Node #0,2,3
Current State: 85:[27, 72], Operations: ['45+39=84', '84-12=72']
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Exploring Operation: 27+72=99, Resulting Numbers: [99]
99,85 unequal: No Solution
Exploring Operation: 27*72=1944, Resulting Numbers: [1944]
1944,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[45, 1], Operations: ['39-27=12', '12/12=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,85 unequal: No Solution
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,85 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Moving to Node #0,4,3
Current State: 85:[12, 57], Operations: ['45-27=18', '39+18=57']
Exploring Operation: 12+57=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Exploring Operation: 12*57=684, Resulting Numbers: [684]
684,85 unequal: No Solution
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[12, 57], Operations: ['39-27=12', '45+12=57']
Exploring Operation: 12*57=684, Resulting Numbers: [684]
684,85 unequal: No Solution
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Exploring Operation: 12+57=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[12, 57], Operations: ['39-27=12', '45+12=57']
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Exploring Operation: 12*57=684, Resulting Numbers: [684]
684,85 unequal: No Solution
Exploring Operation: 12+57=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Moving to Node #0,4,2
Current State: 85:[18, 51], Operations: ['45-27=18', '12+39=51']
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,85 unequal: No Solution
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,85 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,85 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
1,
17,
12,
36
] | 41 | [
"1*17=17",
"36-12=24",
"17+24=41"
] | Current State: 41:[1, 17, 12, 36], Operations: []
Exploring Operation: 1*17=17, Resulting Numbers: [12, 36, 17]
Generated Node #2: [12, 36, 17] from Operation: 1*17=17
Current State: 41:[12, 36, 17], Operations: ['1*17=17']
Exploring Operation: 36-12=24, Resulting Numbers: [17, 24]
Generated Node #3: [17, 24] from Operation: 36-12=24
Current State: 41:[17, 24], Operations: ['1*17=17', '36-12=24']
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[1, 17, 12, 36], Operations: []
Exploring Operation: 1*17=17, Resulting Numbers: [12, 36, 17]
Generated Node #0,0: 41:[12, 36, 17] Operation: 1*17=17
Exploring Operation: 17+12=29, Resulting Numbers: [1, 36, 29]
Generated Node #0,1: 41:[1, 36, 29] Operation: 17+12=29
Exploring Operation: 1+12=13, Resulting Numbers: [17, 36, 13]
Generated Node #0,2: 41:[17, 36, 13] Operation: 1+12=13
Exploring Operation: 1+17=18, Resulting Numbers: [12, 36, 18]
Generated Node #0,3: 41:[12, 36, 18] Operation: 1+17=18
Exploring Operation: 1+36=37, Resulting Numbers: [17, 12, 37]
Generated Node #0,4: 41:[17, 12, 37] Operation: 1+36=37
Moving to Node #0,1
Current State: 41:[1, 36, 29], Operations: ['17+12=29']
Exploring Operation: 1+29=30, Resulting Numbers: [36, 30]
Generated Node #0,1,0: 41:[36, 30] Operation: 1+29=30
Exploring Operation: 1*29=29, Resulting Numbers: [36, 29]
Generated Node #0,1,1: 41:[36, 29] Operation: 1*29=29
Exploring Operation: 1+36=37, Resulting Numbers: [29, 37]
Generated Node #0,1,2: 41:[29, 37] Operation: 1+36=37
Exploring Operation: 36/1=36, Resulting Numbers: [29, 36]
Generated Node #0,1,3: 41:[29, 36] Operation: 36/1=36
Exploring Operation: 1*36=36, Resulting Numbers: [29, 36]
Generated Node #0,1,4: 41:[29, 36] Operation: 1*36=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[36, 30], Operations: ['17+12=29', '1+29=30']
Exploring Operation: 36*30=1080, Resulting Numbers: [1080]
1080,41 unequal: No Solution
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[29, 37], Operations: ['17+12=29', '1+36=37']
Exploring Operation: 29*37=1073, Resulting Numbers: [1073]
1073,41 unequal: No Solution
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[36, 29], Operations: ['17+12=29', '1*29=29']
Exploring Operation: 36+29=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 36*29=1044, Resulting Numbers: [1044]
1044,41 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 41:[29, 36], Operations: ['17+12=29', '36/1=36']
Exploring Operation: 29+36=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 29*36=1044, Resulting Numbers: [1044]
1044,41 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 41:[29, 36], Operations: ['17+12=29', '1*36=36']
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 29*36=1044, Resulting Numbers: [1044]
1044,41 unequal: No Solution
Exploring Operation: 29+36=65, Resulting Numbers: [65]
65,41 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: 41:[12, 36, 18], Operations: ['1+17=18']
Exploring Operation: 36+18=54, Resulting Numbers: [12, 54]
Generated Node #0,3,0: 41:[12, 54] Operation: 36+18=54
Exploring Operation: 18-12=6, Resulting Numbers: [36, 6]
Generated Node #0,3,1: 41:[36, 6] Operation: 18-12=6
Exploring Operation: 36-12=24, Resulting Numbers: [18, 24]
Generated Node #0,3,2: 41:[18, 24] Operation: 36-12=24
Exploring Operation: 12+18=30, Resulting Numbers: [36, 30]
Generated Node #0,3,3: 41:[36, 30] Operation: 12+18=30
Exploring Operation: 12+36=48, Resulting Numbers: [18, 48]
Generated Node #0,3,4: 41:[18, 48] Operation: 12+36=48
Moving to Node #0,2
Current State: 41:[17, 36, 13], Operations: ['1+12=13']
Exploring Operation: 36+13=49, Resulting Numbers: [17, 49]
Generated Node #0,2,0: 41:[17, 49] Operation: 36+13=49
Exploring Operation: 17-13=4, Resulting Numbers: [36, 4]
Generated Node #0,2,1: 41:[36, 4] Operation: 17-13=4
Exploring Operation: 17+13=30, Resulting Numbers: [36, 30]
Generated Node #0,2,2: 41:[36, 30] Operation: 17+13=30
Exploring Operation: 36-13=23, Resulting Numbers: [17, 23]
Generated Node #0,2,3: 41:[17, 23] Operation: 36-13=23
Exploring Operation: 17+36=53, Resulting Numbers: [13, 53]
Generated Node #0,2,4: 41:[13, 53] Operation: 17+36=53
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[36, 30], Operations: ['1+12=13', '17+13=30']
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 36*30=1080, Resulting Numbers: [1080]
1080,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[17, 49], Operations: ['1+12=13', '36+13=49']
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 17+49=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 17*49=833, Resulting Numbers: [833]
833,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 41:[13, 53], Operations: ['1+12=13', '17+36=53']
Exploring Operation: 13*53=689, Resulting Numbers: [689]
689,41 unequal: No Solution
Exploring Operation: 13+53=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 53-13=40, Resulting Numbers: [40]
40,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[36, 4], Operations: ['1+12=13', '17-13=4']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,41 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 41:[17, 23], Operations: ['1+12=13', '36-13=23']
Exploring Operation: 17+23=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 17*23=391, Resulting Numbers: [391]
391,41 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: 41:[17, 12, 37], Operations: ['1+36=37']
Exploring Operation: 17+12=29, Resulting Numbers: [37, 29]
Generated Node #0,4,0: 41:[37, 29] Operation: 17+12=29
Exploring Operation: 12+37=49, Resulting Numbers: [17, 49]
Generated Node #0,4,1: 41:[17, 49] Operation: 12+37=49
Exploring Operation: 37-12=25, Resulting Numbers: [17, 25]
Generated Node #0,4,2: 41:[17, 25] Operation: 37-12=25
Exploring Operation: 17+37=54, Resulting Numbers: [12, 54]
Generated Node #0,4,3: 41:[12, 54] Operation: 17+37=54
Exploring Operation: 17-12=5, Resulting Numbers: [37, 5]
Generated Node #0,4,4: 41:[37, 5] Operation: 17-12=5
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 41:[37, 29], Operations: ['1+36=37', '17+12=29']
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 37*29=1073, Resulting Numbers: [1073]
1073,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 41:[17, 49], Operations: ['1+36=37', '12+37=49']
Exploring Operation: 17*49=833, Resulting Numbers: [833]
833,41 unequal: No Solution
Exploring Operation: 17+49=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 41:[17, 25], Operations: ['1+36=37', '37-12=25']
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 41:[37, 5], Operations: ['1+36=37', '17-12=5']
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,41 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 41:[12, 54], Operations: ['1+36=37', '17+37=54']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 12*54=648, Resulting Numbers: [648]
648,41 unequal: No Solution
Exploring Operation: 12+54=66, Resulting Numbers: [66]
66,41 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: 41:[12, 36, 17], Operations: ['1*17=17']
Exploring Operation: 17-12=5, Resulting Numbers: [36, 5]
Generated Node #0,0,0: 41:[36, 5] Operation: 17-12=5
Exploring Operation: 36-12=24, Resulting Numbers: [17, 24]
Generated Node #0,0,1: 41:[17, 24] Operation: 36-12=24
Exploring Operation: 36+17=53, Resulting Numbers: [12, 53]
Generated Node #0,0,2: 41:[12, 53] Operation: 36+17=53
Exploring Operation: 12+17=29, Resulting Numbers: [36, 29]
Generated Node #0,0,3: 41:[36, 29] Operation: 12+17=29
Exploring Operation: 12+36=48, Resulting Numbers: [17, 48]
Generated Node #0,0,4: 41:[17, 48] Operation: 12+36=48
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 41:[36, 29], Operations: ['1*17=17', '12+17=29']
Exploring Operation: 36*29=1044, Resulting Numbers: [1044]
1044,41 unequal: No Solution
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 36+29=65, Resulting Numbers: [65]
65,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 41:[17, 48], Operations: ['1*17=17', '12+36=48']
Exploring Operation: 17*48=816, Resulting Numbers: [816]
816,41 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 17+48=65, Resulting Numbers: [65]
65,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[36, 5], Operations: ['1*17=17', '17-12=5']
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,41 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[1, 17, 12, 36], Operations: []
Exploring Operation: 1*17=17, Resulting Numbers: [12, 36, 17]
Generated Node #0,0: 41:[12, 36, 17] Operation: 1*17=17
Moving to Node #0,0
Current State: 41:[12, 36, 17], Operations: ['1*17=17']
Exploring Operation: 17-12=5, Resulting Numbers: [36, 5]
Generated Node #0,0,0: 41:[36, 5] Operation: 17-12=5
Moving to Node #0,0,0
Current State: 41:[36, 5], Operations: ['1*17=17', '17-12=5']
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.922743 | hs_5 | mult_heuristic |
[
13,
36,
78,
41
] | 47 | [
"13*36=468",
"468/78=6",
"41+6=47"
] | Current State: 47:[13, 36, 78, 41], Operations: []
Exploring Operation: 13*36=468, Resulting Numbers: [78, 41, 468]
Generated Node #2: [78, 41, 468] from Operation: 13*36=468
Current State: 47:[78, 41, 468], Operations: ['13*36=468']
Exploring Operation: 468/78=6, Resulting Numbers: [41, 6]
Generated Node #3: [41, 6] from Operation: 468/78=6
Current State: 47:[41, 6], Operations: ['13*36=468', '468/78=6']
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[13, 36, 78, 41], Operations: []
Exploring Operation: 78-13=65, Resulting Numbers: [36, 41, 65]
Generated Node #0,0: 47:[36, 41, 65] Operation: 78-13=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[36, 41, 65], Operations: ['78-13=65']
Exploring Operation: 65-36=29, Resulting Numbers: [41, 29]
Generated Node #0,0,0: 47:[41, 29] Operation: 65-36=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[41, 29], Operations: ['78-13=65', '65-36=29']
Exploring Operation: 41+29=70, Resulting Numbers: [70]
70,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
33,
83,
53,
61
] | 58 | [
"83-33=50",
"61-53=8",
"50+8=58"
] | Current State: 58:[33, 83, 53, 61], Operations: []
Exploring Operation: 83-33=50, Resulting Numbers: [53, 61, 50]
Generated Node #2: [53, 61, 50] from Operation: 83-33=50
Current State: 58:[53, 61, 50], Operations: ['83-33=50']
Exploring Operation: 61-53=8, Resulting Numbers: [50, 8]
Generated Node #3: [50, 8] from Operation: 61-53=8
Current State: 58:[50, 8], Operations: ['83-33=50', '61-53=8']
Exploring Operation: 50+8=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[33, 83, 53, 61], Operations: []
Exploring Operation: 83-61=22, Resulting Numbers: [33, 53, 22]
Generated Node #0,0: 58:[33, 53, 22] Operation: 83-61=22
Exploring Operation: 83-33=50, Resulting Numbers: [53, 61, 50]
Generated Node #0,1: 58:[53, 61, 50] Operation: 83-33=50
Exploring Operation: 83-53=30, Resulting Numbers: [33, 61, 30]
Generated Node #0,2: 58:[33, 61, 30] Operation: 83-53=30
Exploring Operation: 61-33=28, Resulting Numbers: [83, 53, 28]
Generated Node #0,3: 58:[83, 53, 28] Operation: 61-33=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[33, 61, 30], Operations: ['83-53=30']
Exploring Operation: 33+30=63, Resulting Numbers: [61, 63]
Generated Node #0,2,0: 58:[61, 63] Operation: 33+30=63
Exploring Operation: 33-30=3, Resulting Numbers: [61, 3]
Generated Node #0,2,1: 58:[61, 3] Operation: 33-30=3
Exploring Operation: 61-33=28, Resulting Numbers: [30, 28]
Generated Node #0,2,2: 58:[30, 28] Operation: 61-33=28
Exploring Operation: 61-30=31, Resulting Numbers: [33, 31]
Generated Node #0,2,3: 58:[33, 31] Operation: 61-30=31
Moving to Node #0,2,2
Current State: 58:[30, 28], Operations: ['83-53=30', '61-33=28']
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,58 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[33, 83, 53, 61], Operations: []
Exploring Operation: 83-53=30, Resulting Numbers: [33, 61, 30]
Generated Node #0,2: 58:[33, 61, 30] Operation: 83-53=30
Moving to Node #0,2
Current State: 58:[33, 61, 30], Operations: ['83-53=30']
Exploring Operation: 61-33=28, Resulting Numbers: [30, 28]
Generated Node #0,2,2: 58:[30, 28] Operation: 61-33=28
Moving to Node #0,2,2
Current State: 58:[30, 28], Operations: ['83-53=30', '61-33=28']
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
76,
12,
79,
46
] | 37 | [
"76+12=88",
"79+46=125",
"125-88=37"
] | Current State: 37:[76, 12, 79, 46], Operations: []
Exploring Operation: 76+12=88, Resulting Numbers: [79, 46, 88]
Generated Node #2: [79, 46, 88] from Operation: 76+12=88
Current State: 37:[79, 46, 88], Operations: ['76+12=88']
Exploring Operation: 79+46=125, Resulting Numbers: [88, 125]
Generated Node #3: [88, 125] from Operation: 79+46=125
Current State: 37:[88, 125], Operations: ['76+12=88', '79+46=125']
Exploring Operation: 125-88=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[76, 12, 79, 46], Operations: []
Exploring Operation: 79-46=33, Resulting Numbers: [76, 12, 33]
Generated Node #0,0: 37:[76, 12, 33] Operation: 79-46=33
Exploring Operation: 79-76=3, Resulting Numbers: [12, 46, 3]
Generated Node #0,1: 37:[12, 46, 3] Operation: 79-76=3
Exploring Operation: 76-46=30, Resulting Numbers: [12, 79, 30]
Generated Node #0,2: 37:[12, 79, 30] Operation: 76-46=30
Exploring Operation: 76-12=64, Resulting Numbers: [79, 46, 64]
Generated Node #0,3: 37:[79, 46, 64] Operation: 76-12=64
Moving to Node #0,0
Current State: 37:[76, 12, 33], Operations: ['79-46=33']
Exploring Operation: 76+12=88, Resulting Numbers: [33, 88]
Generated Node #0,0,0: 37:[33, 88] Operation: 76+12=88
Exploring Operation: 76-12=64, Resulting Numbers: [33, 64]
Generated Node #0,0,1: 37:[33, 64] Operation: 76-12=64
Exploring Operation: 76-33=43, Resulting Numbers: [12, 43]
Generated Node #0,0,2: 37:[12, 43] Operation: 76-33=43
Exploring Operation: 12+33=45, Resulting Numbers: [76, 45]
Generated Node #0,0,3: 37:[76, 45] Operation: 12+33=45
Moving to Node #0,1
Current State: 37:[12, 46, 3], Operations: ['79-76=3']
Exploring Operation: 12*3=36, Resulting Numbers: [46, 36]
Generated Node #0,1,0: 37:[46, 36] Operation: 12*3=36
Exploring Operation: 12+3=15, Resulting Numbers: [46, 15]
Generated Node #0,1,1: 37:[46, 15] Operation: 12+3=15
Exploring Operation: 46-12=34, Resulting Numbers: [3, 34]
Generated Node #0,1,2: 37:[3, 34] Operation: 46-12=34
Exploring Operation: 46-3=43, Resulting Numbers: [12, 43]
Generated Node #0,1,3: 37:[12, 43] Operation: 46-3=43
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[46, 36], Operations: ['79-76=3', '12*3=36']
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 46+36=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Exploring Operation: 46*36=1656, Resulting Numbers: [1656]
1656,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 37:[46, 15], Operations: ['79-76=3', '12+3=15']
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,37 unequal: No Solution
Exploring Operation: 46*15=690, Resulting Numbers: [690]
690,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 37:[12, 43], Operations: ['79-76=3', '46-3=43']
Exploring Operation: 12*43=516, Resulting Numbers: [516]
516,37 unequal: No Solution
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,37 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 37:[3, 34], Operations: ['79-76=3', '46-12=34']
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[76, 12, 79, 46], Operations: []
Exploring Operation: 79-76=3, Resulting Numbers: [12, 46, 3]
Generated Node #0,1: 37:[12, 46, 3] Operation: 79-76=3
Moving to Node #0,1
Current State: 37:[12, 46, 3], Operations: ['79-76=3']
Exploring Operation: 46-12=34, Resulting Numbers: [3, 34]
Generated Node #0,1,2: 37:[3, 34] Operation: 46-12=34
Moving to Node #0,1,2
Current State: 37:[3, 34], Operations: ['79-76=3', '46-12=34']
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_4 | mult_heuristic |
[
39,
90,
79,
95
] | 45 | [
"39+90=129",
"79+95=174",
"174-129=45"
] | Current State: 45:[39, 90, 79, 95], Operations: []
Exploring Operation: 39+90=129, Resulting Numbers: [79, 95, 129]
Generated Node #2: [79, 95, 129] from Operation: 39+90=129
Current State: 45:[79, 95, 129], Operations: ['39+90=129']
Exploring Operation: 79+95=174, Resulting Numbers: [129, 174]
Generated Node #3: [129, 174] from Operation: 79+95=174
Current State: 45:[129, 174], Operations: ['39+90=129', '79+95=174']
Exploring Operation: 174-129=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[39, 90, 79, 95], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [39, 79, 5]
Generated Node #0,0: 45:[39, 79, 5] Operation: 95-90=5
Exploring Operation: 90-39=51, Resulting Numbers: [79, 95, 51]
Generated Node #0,1: 45:[79, 95, 51] Operation: 90-39=51
Exploring Operation: 95-79=16, Resulting Numbers: [39, 90, 16]
Generated Node #0,2: 45:[39, 90, 16] Operation: 95-79=16
Exploring Operation: 90-79=11, Resulting Numbers: [39, 95, 11]
Generated Node #0,3: 45:[39, 95, 11] Operation: 90-79=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[39, 79, 5], Operations: ['95-90=5']
Exploring Operation: 39-5=34, Resulting Numbers: [79, 34]
Generated Node #0,0,0: 45:[79, 34] Operation: 39-5=34
Exploring Operation: 79-5=74, Resulting Numbers: [39, 74]
Generated Node #0,0,1: 45:[39, 74] Operation: 79-5=74
Exploring Operation: 79-39=40, Resulting Numbers: [5, 40]
Generated Node #0,0,2: 45:[5, 40] Operation: 79-39=40
Exploring Operation: 39+5=44, Resulting Numbers: [79, 44]
Generated Node #0,0,3: 45:[79, 44] Operation: 39+5=44
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 45:[5, 40], Operations: ['95-90=5', '79-39=40']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,45 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[39, 90, 79, 95], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [39, 79, 5]
Generated Node #0,0: 45:[39, 79, 5] Operation: 95-90=5
Moving to Node #0,0
Current State: 45:[39, 79, 5], Operations: ['95-90=5']
Exploring Operation: 79-39=40, Resulting Numbers: [5, 40]
Generated Node #0,0,2: 45:[5, 40] Operation: 79-39=40
Moving to Node #0,0,2
Current State: 45:[5, 40], Operations: ['95-90=5', '79-39=40']
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
36,
81,
73,
95
] | 51 | [
"36+81=117",
"73+95=168",
"168-117=51"
] | Current State: 51:[36, 81, 73, 95], Operations: []
Exploring Operation: 36+81=117, Resulting Numbers: [73, 95, 117]
Generated Node #2: [73, 95, 117] from Operation: 36+81=117
Current State: 51:[73, 95, 117], Operations: ['36+81=117']
Exploring Operation: 73+95=168, Resulting Numbers: [117, 168]
Generated Node #3: [117, 168] from Operation: 73+95=168
Current State: 51:[117, 168], Operations: ['36+81=117', '73+95=168']
Exploring Operation: 168-117=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[36, 81, 73, 95], Operations: []
Exploring Operation: 95-73=22, Resulting Numbers: [36, 81, 22]
Generated Node #0,0: 51:[36, 81, 22] Operation: 95-73=22
Exploring Operation: 95-81=14, Resulting Numbers: [36, 73, 14]
Generated Node #0,1: 51:[36, 73, 14] Operation: 95-81=14
Exploring Operation: 95-36=59, Resulting Numbers: [81, 73, 59]
Generated Node #0,2: 51:[81, 73, 59] Operation: 95-36=59
Moving to Node #0,1
Current State: 51:[36, 73, 14], Operations: ['95-81=14']
Exploring Operation: 73-36=37, Resulting Numbers: [14, 37]
Generated Node #0,1,0: 51:[14, 37] Operation: 73-36=37
Exploring Operation: 36+14=50, Resulting Numbers: [73, 50]
Generated Node #0,1,1: 51:[73, 50] Operation: 36+14=50
Exploring Operation: 73-14=59, Resulting Numbers: [36, 59]
Generated Node #0,1,2: 51:[36, 59] Operation: 73-14=59
Moving to Node #0,0
Current State: 51:[36, 81, 22], Operations: ['95-73=22']
Exploring Operation: 81-22=59, Resulting Numbers: [36, 59]
Generated Node #0,0,0: 51:[36, 59] Operation: 81-22=59
Exploring Operation: 36-22=14, Resulting Numbers: [81, 14]
Generated Node #0,0,1: 51:[81, 14] Operation: 36-22=14
Exploring Operation: 81-36=45, Resulting Numbers: [22, 45]
Generated Node #0,0,2: 51:[22, 45] Operation: 81-36=45
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[22, 45], Operations: ['95-73=22', '81-36=45']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 22*45=990, Resulting Numbers: [990]
990,51 unequal: No Solution
Exploring Operation: 22+45=67, Resulting Numbers: [67]
67,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[36, 59], Operations: ['95-73=22', '81-22=59']
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 36+59=95, Resulting Numbers: [95]
95,51 unequal: No Solution
Exploring Operation: 36*59=2124, Resulting Numbers: [2124]
2124,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[81, 14], Operations: ['95-73=22', '36-22=14']
Exploring Operation: 81+14=95, Resulting Numbers: [95]
95,51 unequal: No Solution
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,51 unequal: No Solution
Exploring Operation: 81*14=1134, Resulting Numbers: [1134]
1134,51 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: 51:[81, 73, 59], Operations: ['95-36=59']
Exploring Operation: 81-59=22, Resulting Numbers: [73, 22]
Generated Node #0,2,0: 51:[73, 22] Operation: 81-59=22
Exploring Operation: 81-73=8, Resulting Numbers: [59, 8]
Generated Node #0,2,1: 51:[59, 8] Operation: 81-73=8
Exploring Operation: 73-59=14, Resulting Numbers: [81, 14]
Generated Node #0,2,2: 51:[81, 14] Operation: 73-59=14
Moving to Node #0,2,1
Current State: 51:[59, 8], Operations: ['95-36=59', '81-73=8']
Exploring Operation: 59+8=67, Resulting Numbers: [67]
67,51 unequal: No Solution
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[36, 81, 73, 95], Operations: []
Exploring Operation: 95-36=59, Resulting Numbers: [81, 73, 59]
Generated Node #0,2: 51:[81, 73, 59] Operation: 95-36=59
Moving to Node #0,2
Current State: 51:[81, 73, 59], Operations: ['95-36=59']
Exploring Operation: 81-73=8, Resulting Numbers: [59, 8]
Generated Node #0,2,1: 51:[59, 8] Operation: 81-73=8
Moving to Node #0,2,1
Current State: 51:[59, 8], Operations: ['95-36=59', '81-73=8']
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
72,
98,
30,
2
] | 42 | [
"72-2=70",
"98*30=2940",
"2940/70=42"
] | Current State: 42:[72, 98, 30, 2], Operations: []
Exploring Operation: 72-2=70, Resulting Numbers: [98, 30, 70]
Generated Node #2: [98, 30, 70] from Operation: 72-2=70
Current State: 42:[98, 30, 70], Operations: ['72-2=70']
Exploring Operation: 98*30=2940, Resulting Numbers: [70, 2940]
Generated Node #3: [70, 2940] from Operation: 98*30=2940
Current State: 42:[70, 2940], Operations: ['72-2=70', '98*30=2940']
Exploring Operation: 2940/70=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[72, 98, 30, 2], Operations: []
Exploring Operation: 98-30=68, Resulting Numbers: [72, 2, 68]
Generated Node #0,0: 42:[72, 2, 68] Operation: 98-30=68
Exploring Operation: 72/2=36, Resulting Numbers: [98, 30, 36]
Generated Node #0,1: 42:[98, 30, 36] Operation: 72/2=36
Exploring Operation: 98/2=49, Resulting Numbers: [72, 30, 49]
Generated Node #0,2: 42:[72, 30, 49] Operation: 98/2=49
Exploring Operation: 72-30=42, Resulting Numbers: [98, 2, 42]
Generated Node #0,3: 42:[98, 2, 42] Operation: 72-30=42
Exploring Operation: 98-72=26, Resulting Numbers: [30, 2, 26]
Generated Node #0,4: 42:[30, 2, 26] Operation: 98-72=26
Moving to Node #0,4
Current State: 42:[30, 2, 26], Operations: ['98-72=26']
Exploring Operation: 30/2=15, Resulting Numbers: [26, 15]
Generated Node #0,4,0: 42:[26, 15] Operation: 30/2=15
Exploring Operation: 26/2=13, Resulting Numbers: [30, 13]
Generated Node #0,4,1: 42:[30, 13] Operation: 26/2=13
Exploring Operation: 30-26=4, Resulting Numbers: [2, 4]
Generated Node #0,4,2: 42:[2, 4] Operation: 30-26=4
Exploring Operation: 26-2=24, Resulting Numbers: [30, 24]
Generated Node #0,4,3: 42:[30, 24] Operation: 26-2=24
Exploring Operation: 30-2=28, Resulting Numbers: [26, 28]
Generated Node #0,4,4: 42:[26, 28] Operation: 30-2=28
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 42:[2, 4], Operations: ['98-72=26', '30-26=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 42:[26, 15], Operations: ['98-72=26', '30/2=15']
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 42:[30, 13], Operations: ['98-72=26', '26/2=13']
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,42 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,42 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 42:[30, 24], Operations: ['98-72=26', '26-2=24']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,42 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 42:[26, 28], Operations: ['98-72=26', '30-2=28']
Exploring Operation: 26*28=728, Resulting Numbers: [728]
728,42 unequal: No Solution
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,42 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: 42:[72, 30, 49], Operations: ['98/2=49']
Exploring Operation: 49-30=19, Resulting Numbers: [72, 19]
Generated Node #0,2,0: 42:[72, 19] Operation: 49-30=19
Exploring Operation: 30+49=79, Resulting Numbers: [72, 79]
Generated Node #0,2,1: 42:[72, 79] Operation: 30+49=79
Exploring Operation: 72-49=23, Resulting Numbers: [30, 23]
Generated Node #0,2,2: 42:[30, 23] Operation: 72-49=23
Exploring Operation: 72-30=42, Resulting Numbers: [49, 42]
Generated Node #0,2,3: 42:[49, 42] Operation: 72-30=42
Exploring Operation: 72+30=102, Resulting Numbers: [49, 102]
Generated Node #0,2,4: 42:[49, 102] Operation: 72+30=102
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 42:[49, 42], Operations: ['98/2=49', '72-30=42']
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 49*42=2058, Resulting Numbers: [2058]
2058,42 unequal: No Solution
Exploring Operation: 49+42=91, Resulting Numbers: [91]
91,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[30, 23], Operations: ['98/2=49', '72-49=23']
Exploring Operation: 30*23=690, Resulting Numbers: [690]
690,42 unequal: No Solution
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[72, 19], Operations: ['98/2=49', '49-30=19']
Exploring Operation: 72*19=1368, Resulting Numbers: [1368]
1368,42 unequal: No Solution
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 72+19=91, Resulting Numbers: [91]
91,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[72, 79], Operations: ['98/2=49', '30+49=79']
Exploring Operation: 72*79=5688, Resulting Numbers: [5688]
5688,42 unequal: No Solution
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 72+79=151, Resulting Numbers: [151]
151,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 42:[49, 102], Operations: ['98/2=49', '72+30=102']
Exploring Operation: 102-49=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 49+102=151, Resulting Numbers: [151]
151,42 unequal: No Solution
Exploring Operation: 49*102=4998, Resulting Numbers: [4998]
4998,42 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: 42:[72, 2, 68], Operations: ['98-30=68']
Exploring Operation: 72-2=70, Resulting Numbers: [68, 70]
Generated Node #0,0,0: 42:[68, 70] Operation: 72-2=70
Exploring Operation: 72/2=36, Resulting Numbers: [68, 36]
Generated Node #0,0,1: 42:[68, 36] Operation: 72/2=36
Exploring Operation: 72-68=4, Resulting Numbers: [2, 4]
Generated Node #0,0,2: 42:[2, 4] Operation: 72-68=4
Exploring Operation: 68-2=66, Resulting Numbers: [72, 66]
Generated Node #0,0,3: 42:[72, 66] Operation: 68-2=66
Exploring Operation: 68/2=34, Resulting Numbers: [72, 34]
Generated Node #0,0,4: 42:[72, 34] Operation: 68/2=34
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 42:[2, 4], Operations: ['98-30=68', '72-68=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[68, 36], Operations: ['98-30=68', '72/2=36']
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 68*36=2448, Resulting Numbers: [2448]
2448,42 unequal: No Solution
Exploring Operation: 68+36=104, Resulting Numbers: [104]
104,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 42:[72, 34], Operations: ['98-30=68', '68/2=34']
Exploring Operation: 72+34=106, Resulting Numbers: [106]
106,42 unequal: No Solution
Exploring Operation: 72*34=2448, Resulting Numbers: [2448]
2448,42 unequal: No Solution
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[68, 70], Operations: ['98-30=68', '72-2=70']
Exploring Operation: 70-68=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 68*70=4760, Resulting Numbers: [4760]
4760,42 unequal: No Solution
Exploring Operation: 68+70=138, Resulting Numbers: [138]
138,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 42:[72, 66], Operations: ['98-30=68', '68-2=66']
Exploring Operation: 72+66=138, Resulting Numbers: [138]
138,42 unequal: No Solution
Exploring Operation: 72*66=4752, Resulting Numbers: [4752]
4752,42 unequal: No Solution
Exploring Operation: 72-66=6, Resulting Numbers: [6]
6,42 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: 42:[98, 2, 42], Operations: ['72-30=42']
Exploring Operation: 98/2=49, Resulting Numbers: [42, 49]
Generated Node #0,3,0: 42:[42, 49] Operation: 98/2=49
Exploring Operation: 98-42=56, Resulting Numbers: [2, 56]
Generated Node #0,3,1: 42:[2, 56] Operation: 98-42=56
Exploring Operation: 98-2=96, Resulting Numbers: [42, 96]
Generated Node #0,3,2: 42:[42, 96] Operation: 98-2=96
Exploring Operation: 42/2=21, Resulting Numbers: [98, 21]
Generated Node #0,3,3: 42:[98, 21] Operation: 42/2=21
Exploring Operation: 98+2=100, Resulting Numbers: [42, 100]
Generated Node #0,3,4: 42:[42, 100] Operation: 98+2=100
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 42:[42, 49], Operations: ['72-30=42', '98/2=49']
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 42+49=91, Resulting Numbers: [91]
91,42 unequal: No Solution
Exploring Operation: 42*49=2058, Resulting Numbers: [2058]
2058,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 42:[2, 56], Operations: ['72-30=42', '98-42=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,42 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 42:[42, 96], Operations: ['72-30=42', '98-2=96']
Exploring Operation: 42*96=4032, Resulting Numbers: [4032]
4032,42 unequal: No Solution
Exploring Operation: 96-42=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 42+96=138, Resulting Numbers: [138]
138,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 42:[98, 21], Operations: ['72-30=42', '42/2=21']
Exploring Operation: 98+21=119, Resulting Numbers: [119]
119,42 unequal: No Solution
Exploring Operation: 98-21=77, Resulting Numbers: [77]
77,42 unequal: No Solution
Exploring Operation: 98*21=2058, Resulting Numbers: [2058]
2058,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 42:[42, 100], Operations: ['72-30=42', '98+2=100']
Exploring Operation: 42*100=4200, Resulting Numbers: [4200]
4200,42 unequal: No Solution
Exploring Operation: 42+100=142, Resulting Numbers: [142]
142,42 unequal: No Solution
Exploring Operation: 100-42=58, Resulting Numbers: [58]
58,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 42:[98, 30, 36], Operations: ['72/2=36']
Exploring Operation: 98+30=128, Resulting Numbers: [36, 128]
Generated Node #0,1,0: 42:[36, 128] Operation: 98+30=128
Exploring Operation: 36-30=6, Resulting Numbers: [98, 6]
Generated Node #0,1,1: 42:[98, 6] Operation: 36-30=6
Exploring Operation: 98-36=62, Resulting Numbers: [30, 62]
Generated Node #0,1,2: 42:[30, 62] Operation: 98-36=62
Exploring Operation: 30+36=66, Resulting Numbers: [98, 66]
Generated Node #0,1,3: 42:[98, 66] Operation: 30+36=66
Exploring Operation: 98-30=68, Resulting Numbers: [36, 68]
Generated Node #0,1,4: 42:[36, 68] Operation: 98-30=68
Moving to Node #0,1,2
Current State: 42:[30, 62], Operations: ['72/2=36', '98-36=62']
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 30+62=92, Resulting Numbers: [92]
92,42 unequal: No Solution
Exploring Operation: 30*62=1860, Resulting Numbers: [1860]
1860,42 unequal: No Solution
Moving to Node #0,1,4
Current State: 42:[36, 68], Operations: ['72/2=36', '98-30=68']
Exploring Operation: 36*68=2448, Resulting Numbers: [2448]
2448,42 unequal: No Solution
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 36+68=104, Resulting Numbers: [104]
104,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[98, 6], Operations: ['72/2=36', '36-30=6']
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,42 unequal: No Solution
Exploring Operation: 98+6=104, Resulting Numbers: [104]
104,42 unequal: No Solution
Exploring Operation: 98*6=588, Resulting Numbers: [588]
588,42 unequal: No Solution
Moving to Node #0,1,3
Current State: 42:[98, 66], Operations: ['72/2=36', '30+36=66']
Exploring Operation: 98-66=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 98*66=6468, Resulting Numbers: [6468]
6468,42 unequal: No Solution
Exploring Operation: 98+66=164, Resulting Numbers: [164]
164,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[36, 128], Operations: ['72/2=36', '98+30=128']
Exploring Operation: 128-36=92, Resulting Numbers: [92]
92,42 unequal: No Solution
Exploring Operation: 36+128=164, Resulting Numbers: [164]
164,42 unequal: No Solution
Exploring Operation: 36*128=4608, Resulting Numbers: [4608]
4608,42 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
83,
18,
93,
29
] | 96 | [
"83-29=54",
"54/18=3",
"93+3=96"
] | Current State: 96:[83, 18, 93, 29], Operations: []
Exploring Operation: 83-29=54, Resulting Numbers: [18, 93, 54]
Generated Node #2: [18, 93, 54] from Operation: 83-29=54
Current State: 96:[18, 93, 54], Operations: ['83-29=54']
Exploring Operation: 54/18=3, Resulting Numbers: [93, 3]
Generated Node #3: [93, 3] from Operation: 54/18=3
Current State: 96:[93, 3], Operations: ['83-29=54', '54/18=3']
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[83, 18, 93, 29], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [18, 29, 10]
Generated Node #0,0: 96:[18, 29, 10] Operation: 93-83=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[18, 29, 10], Operations: ['93-83=10']
Exploring Operation: 18+29=47, Resulting Numbers: [10, 47]
Generated Node #0,0,0: 96:[10, 47] Operation: 18+29=47
Moving to Node #0,0,0
Current State: 96:[10, 47], Operations: ['93-83=10', '18+29=47']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,96 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 |
[
52,
18,
59,
13
] | 80 | [
"52-18=34",
"59-13=46",
"34+46=80"
] | Current State: 80:[52, 18, 59, 13], Operations: []
Exploring Operation: 52-18=34, Resulting Numbers: [59, 13, 34]
Generated Node #2: [59, 13, 34] from Operation: 52-18=34
Current State: 80:[59, 13, 34], Operations: ['52-18=34']
Exploring Operation: 59-13=46, Resulting Numbers: [34, 46]
Generated Node #3: [34, 46] from Operation: 59-13=46
Current State: 80:[34, 46], Operations: ['52-18=34', '59-13=46']
Exploring Operation: 34+46=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[52, 18, 59, 13], Operations: []
Exploring Operation: 59-52=7, Resulting Numbers: [18, 13, 7]
Generated Node #0,0: 80:[18, 13, 7] Operation: 59-52=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[18, 13, 7], Operations: ['59-52=7']
Exploring Operation: 18-13=5, Resulting Numbers: [7, 5]
Generated Node #0,0,0: 80:[7, 5] Operation: 18-13=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[7, 5], Operations: ['59-52=7', '18-13=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
28,
2,
78,
29
] | 79 | [
"28+2=30",
"78-29=49",
"30+49=79"
] | Current State: 79:[28, 2, 78, 29], Operations: []
Exploring Operation: 28+2=30, Resulting Numbers: [78, 29, 30]
Generated Node #2: [78, 29, 30] from Operation: 28+2=30
Current State: 79:[78, 29, 30], Operations: ['28+2=30']
Exploring Operation: 78-29=49, Resulting Numbers: [30, 49]
Generated Node #3: [30, 49] from Operation: 78-29=49
Current State: 79:[30, 49], Operations: ['28+2=30', '78-29=49']
Exploring Operation: 30+49=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[28, 2, 78, 29], Operations: []
Exploring Operation: 28*2=56, Resulting Numbers: [78, 29, 56]
Generated Node #0,0: 79:[78, 29, 56] Operation: 28*2=56
Exploring Operation: 2*29=58, Resulting Numbers: [28, 78, 58]
Generated Node #0,1: 79:[28, 78, 58] Operation: 2*29=58
Moving to Node #0,1
Current State: 79:[28, 78, 58], Operations: ['2*29=58']
Exploring Operation: 28+58=86, Resulting Numbers: [78, 86]
Generated Node #0,1,0: 79:[78, 86] Operation: 28+58=86
Exploring Operation: 28+78=106, Resulting Numbers: [58, 106]
Generated Node #0,1,1: 79:[58, 106] Operation: 28+78=106
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[78, 86], Operations: ['2*29=58', '28+58=86']
Exploring Operation: 78+86=164, Resulting Numbers: [164]
164,79 unequal: No Solution
Exploring Operation: 86-78=8, Resulting Numbers: [8]
8,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[58, 106], Operations: ['2*29=58', '28+78=106']
Exploring Operation: 106-58=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Exploring Operation: 58+106=164, Resulting Numbers: [164]
164,79 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: 79:[78, 29, 56], Operations: ['28*2=56']
Exploring Operation: 29+56=85, Resulting Numbers: [78, 85]
Generated Node #0,0,0: 79:[78, 85] Operation: 29+56=85
Exploring Operation: 78+29=107, Resulting Numbers: [56, 107]
Generated Node #0,0,1: 79:[56, 107] Operation: 78+29=107
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[78, 85], Operations: ['28*2=56', '29+56=85']
Exploring Operation: 78+85=163, Resulting Numbers: [163]
163,79 unequal: No Solution
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[56, 107], Operations: ['28*2=56', '78+29=107']
Exploring Operation: 107-56=51, Resulting Numbers: [51]
51,79 unequal: No Solution
Exploring Operation: 56+107=163, Resulting Numbers: [163]
163,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
63,
6,
41,
43
] | 75 | [
"43-41=2",
"6*2=12",
"63+12=75"
] | Current State: 75:[63, 6, 41, 43], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [63, 6, 2]
Generated Node #2: [63, 6, 2] from Operation: 43-41=2
Current State: 75:[63, 6, 2], Operations: ['43-41=2']
Exploring Operation: 6*2=12, Resulting Numbers: [63, 12]
Generated Node #3: [63, 12] from Operation: 6*2=12
Current State: 75:[63, 12], Operations: ['43-41=2', '6*2=12']
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[63, 6, 41, 43], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [63, 6, 2]
Generated Node #0,0: 75:[63, 6, 2] Operation: 43-41=2
Exploring Operation: 63-41=22, Resulting Numbers: [6, 43, 22]
Generated Node #0,1: 75:[6, 43, 22] Operation: 63-41=22
Exploring Operation: 63+6=69, Resulting Numbers: [41, 43, 69]
Generated Node #0,2: 75:[41, 43, 69] Operation: 63+6=69
Exploring Operation: 63-43=20, Resulting Numbers: [6, 41, 20]
Generated Node #0,3: 75:[6, 41, 20] Operation: 63-43=20
Exploring Operation: 41+43=84, Resulting Numbers: [63, 6, 84]
Generated Node #0,4: 75:[63, 6, 84] Operation: 41+43=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[63, 6, 2], Operations: ['43-41=2']
Exploring Operation: 63+6=69, Resulting Numbers: [2, 69]
Generated Node #0,0,0: 75:[2, 69] Operation: 63+6=69
Exploring Operation: 63+2=65, Resulting Numbers: [6, 65]
Generated Node #0,0,1: 75:[6, 65] Operation: 63+2=65
Exploring Operation: 6-2=4, Resulting Numbers: [63, 4]
Generated Node #0,0,2: 75:[63, 4] Operation: 6-2=4
Exploring Operation: 63-2=61, Resulting Numbers: [6, 61]
Generated Node #0,0,3: 75:[6, 61] Operation: 63-2=61
Exploring Operation: 6/2=3, Resulting Numbers: [63, 3]
Generated Node #0,0,4: 75:[63, 3] Operation: 6/2=3
Moving to Node #0,0,0
Current State: 75:[2, 69], Operations: ['43-41=2', '63+6=69']
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[6, 65], Operations: ['43-41=2', '63+2=65']
Exploring Operation: 6*65=390, Resulting Numbers: [390]
390,75 unequal: No Solution
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,75 unequal: No Solution
Exploring Operation: 6+65=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Moving to Node #0,0,4
Current State: 75:[63, 3], Operations: ['43-41=2', '6/2=3']
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,75 unequal: No Solution
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,75 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[63, 4], Operations: ['43-41=2', '6-2=4']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,75 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,75 unequal: No Solution
Moving to Node #0,0,3
Current State: 75:[6, 61], Operations: ['43-41=2', '63-2=61']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 6+61=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 6*61=366, Resulting Numbers: [366]
366,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[6, 43, 22], Operations: ['63-41=22']
Exploring Operation: 6+22=28, Resulting Numbers: [43, 28]
Generated Node #0,1,0: 75:[43, 28] Operation: 6+22=28
Exploring Operation: 43+22=65, Resulting Numbers: [6, 65]
Generated Node #0,1,1: 75:[6, 65] Operation: 43+22=65
Exploring Operation: 22-6=16, Resulting Numbers: [43, 16]
Generated Node #0,1,2: 75:[43, 16] Operation: 22-6=16
Exploring Operation: 43-6=37, Resulting Numbers: [22, 37]
Generated Node #0,1,3: 75:[22, 37] Operation: 43-6=37
Exploring Operation: 43-22=21, Resulting Numbers: [6, 21]
Generated Node #0,1,4: 75:[6, 21] Operation: 43-22=21
Moving to Node #0,1,4
Current State: 75:[6, 21], Operations: ['63-41=22', '43-22=21']
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[6, 65], Operations: ['63-41=22', '43+22=65']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,75 unequal: No Solution
Exploring Operation: 6+65=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 6*65=390, Resulting Numbers: [390]
390,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[22, 37], Operations: ['63-41=22', '43-6=37']
Exploring Operation: 22+37=59, Resulting Numbers: [59]
59,75 unequal: No Solution
Exploring Operation: 22*37=814, Resulting Numbers: [814]
814,75 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[43, 16], Operations: ['63-41=22', '22-6=16']
Exploring Operation: 43+16=59, Resulting Numbers: [59]
59,75 unequal: No Solution
Exploring Operation: 43*16=688, Resulting Numbers: [688]
688,75 unequal: No Solution
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[43, 28], Operations: ['63-41=22', '6+22=28']
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 43+28=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 43*28=1204, Resulting Numbers: [1204]
1204,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[6, 41, 20], Operations: ['63-43=20']
Exploring Operation: 20-6=14, Resulting Numbers: [41, 14]
Generated Node #0,3,0: 75:[41, 14] Operation: 20-6=14
Exploring Operation: 41+20=61, Resulting Numbers: [6, 61]
Generated Node #0,3,1: 75:[6, 61] Operation: 41+20=61
Exploring Operation: 41-6=35, Resulting Numbers: [20, 35]
Generated Node #0,3,2: 75:[20, 35] Operation: 41-6=35
Exploring Operation: 6+20=26, Resulting Numbers: [41, 26]
Generated Node #0,3,3: 75:[41, 26] Operation: 6+20=26
Exploring Operation: 41-20=21, Resulting Numbers: [6, 21]
Generated Node #0,3,4: 75:[6, 21] Operation: 41-20=21
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 75:[6, 21], Operations: ['63-43=20', '41-20=21']
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 75:[6, 61], Operations: ['63-43=20', '41+20=61']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 6+61=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 6*61=366, Resulting Numbers: [366]
366,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 75:[20, 35], Operations: ['63-43=20', '41-6=35']
Exploring Operation: 20*35=700, Resulting Numbers: [700]
700,75 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 75:[41, 14], Operations: ['63-43=20', '20-6=14']
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 41+14=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 41*14=574, Resulting Numbers: [574]
574,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 75:[41, 26], Operations: ['63-43=20', '6+20=26']
Exploring Operation: 41*26=1066, Resulting Numbers: [1066]
1066,75 unequal: No Solution
Exploring Operation: 41+26=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[63, 6, 84], Operations: ['41+43=84']
Exploring Operation: 63+6=69, Resulting Numbers: [84, 69]
Generated Node #0,4,0: 75:[84, 69] Operation: 63+6=69
Exploring Operation: 84-6=78, Resulting Numbers: [63, 78]
Generated Node #0,4,1: 75:[63, 78] Operation: 84-6=78
Exploring Operation: 63-6=57, Resulting Numbers: [84, 57]
Generated Node #0,4,2: 75:[84, 57] Operation: 63-6=57
Exploring Operation: 84-63=21, Resulting Numbers: [6, 21]
Generated Node #0,4,3: 75:[6, 21] Operation: 84-63=21
Exploring Operation: 84/6=14, Resulting Numbers: [63, 14]
Generated Node #0,4,4: 75:[63, 14] Operation: 84/6=14
Moving to Node #0,4,3
Current State: 75:[6, 21], Operations: ['41+43=84', '84-63=21']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,75 unequal: No Solution
Moving to Node #0,4,4
Current State: 75:[63, 14], Operations: ['41+43=84', '84/6=14']
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,75 unequal: No Solution
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,75 unequal: No Solution
Moving to Node #0,4,0
Current State: 75:[84, 69], Operations: ['41+43=84', '63+6=69']
Exploring Operation: 84-69=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 84*69=5796, Resulting Numbers: [5796]
5796,75 unequal: No Solution
Exploring Operation: 84+69=153, Resulting Numbers: [153]
153,75 unequal: No Solution
Moving to Node #0,4,1
Current State: 75:[63, 78], Operations: ['41+43=84', '84-6=78']
Exploring Operation: 63+78=141, Resulting Numbers: [141]
141,75 unequal: No Solution
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 63*78=4914, Resulting Numbers: [4914]
4914,75 unequal: No Solution
Moving to Node #0,4,2
Current State: 75:[84, 57], Operations: ['41+43=84', '63-6=57']
Exploring Operation: 84*57=4788, Resulting Numbers: [4788]
4788,75 unequal: No Solution
Exploring Operation: 84-57=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 84+57=141, Resulting Numbers: [141]
141,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[41, 43, 69], Operations: ['63+6=69']
Exploring Operation: 69-43=26, Resulting Numbers: [41, 26]
Generated Node #0,2,0: 75:[41, 26] Operation: 69-43=26
Exploring Operation: 41+43=84, Resulting Numbers: [69, 84]
Generated Node #0,2,1: 75:[69, 84] Operation: 41+43=84
Exploring Operation: 41+69=110, Resulting Numbers: [43, 110]
Generated Node #0,2,2: 75:[43, 110] Operation: 41+69=110
Exploring Operation: 43-41=2, Resulting Numbers: [69, 2]
Generated Node #0,2,3: 75:[69, 2] Operation: 43-41=2
Exploring Operation: 69-41=28, Resulting Numbers: [43, 28]
Generated Node #0,2,4: 75:[43, 28] Operation: 69-41=28
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 75:[69, 2], Operations: ['63+6=69', '43-41=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[69, 84], Operations: ['63+6=69', '41+43=84']
Exploring Operation: 69+84=153, Resulting Numbers: [153]
153,75 unequal: No Solution
Exploring Operation: 69*84=5796, Resulting Numbers: [5796]
5796,75 unequal: No Solution
Exploring Operation: 84-69=15, Resulting Numbers: [15]
15,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 75:[41, 26], Operations: ['63+6=69', '69-43=26']
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 41*26=1066, Resulting Numbers: [1066]
1066,75 unequal: No Solution
Exploring Operation: 41+26=67, Resulting Numbers: [67]
67,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 75:[43, 28], Operations: ['63+6=69', '69-41=28']
Exploring Operation: 43+28=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 43*28=1204, Resulting Numbers: [1204]
1204,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 75:[43, 110], Operations: ['63+6=69', '41+69=110']
Exploring Operation: 110-43=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 43+110=153, Resulting Numbers: [153]
153,75 unequal: No Solution
Exploring Operation: 43*110=4730, Resulting Numbers: [4730]
4730,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_5 | mult_heuristic |
[
72,
24,
10,
69
] | 33 | [
"72/24=3",
"69/3=23",
"10+23=33"
] | Current State: 33:[72, 24, 10, 69], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [10, 69, 3]
Generated Node #2: [10, 69, 3] from Operation: 72/24=3
Current State: 33:[10, 69, 3], Operations: ['72/24=3']
Exploring Operation: 69/3=23, Resulting Numbers: [10, 23]
Generated Node #3: [10, 23] from Operation: 69/3=23
Current State: 33:[10, 23], Operations: ['72/24=3', '69/3=23']
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[72, 24, 10, 69], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [24, 10, 3]
Generated Node #0,0: 33:[24, 10, 3] Operation: 72-69=3
Moving to Node #0,0
Current State: 33:[24, 10, 3], Operations: ['72-69=3']
Exploring Operation: 24+10=34, Resulting Numbers: [3, 34]
Generated Node #0,0,0: 33:[3, 34] Operation: 24+10=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[3, 34], Operations: ['72-69=3', '24+10=34']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,33 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 |
[
74,
56,
18,
56
] | 93 | [
"74+18=92",
"56/56=1",
"92+1=93"
] | Current State: 93:[74, 56, 18, 56], Operations: []
Exploring Operation: 74+18=92, Resulting Numbers: [56, 56, 92]
Generated Node #2: [56, 56, 92] from Operation: 74+18=92
Current State: 93:[56, 56, 92], Operations: ['74+18=92']
Exploring Operation: 56/56=1, Resulting Numbers: [92, 1]
Generated Node #3: [92, 1] from Operation: 56/56=1
Current State: 93:[92, 1], Operations: ['74+18=92', '56/56=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[74, 56, 18, 56], Operations: []
Exploring Operation: 74-56=18, Resulting Numbers: [18, 56, 18]
Generated Node #0,0: 93:[18, 56, 18] Operation: 74-56=18
Exploring Operation: 74+18=92, Resulting Numbers: [56, 56, 92]
Generated Node #0,1: 93:[56, 56, 92] Operation: 74+18=92
Exploring Operation: 56-56=0, Resulting Numbers: [74, 18, 0]
Generated Node #0,2: 93:[74, 18, 0] Operation: 56-56=0
Exploring Operation: 56/56=1, Resulting Numbers: [74, 18, 1]
Generated Node #0,3: 93:[74, 18, 1] Operation: 56/56=1
Exploring Operation: 74-56=18, Resulting Numbers: [56, 18, 18]
Generated Node #0,4: 93:[56, 18, 18] Operation: 74-56=18
Moving to Node #0,3
Current State: 93:[74, 18, 1], Operations: ['56/56=1']
Exploring Operation: 74-18=56, Resulting Numbers: [1, 56]
Generated Node #0,3,0: 93:[1, 56] Operation: 74-18=56
Exploring Operation: 74*1=74, Resulting Numbers: [18, 74]
Generated Node #0,3,1: 93:[18, 74] Operation: 74*1=74
Exploring Operation: 18+1=19, Resulting Numbers: [74, 19]
Generated Node #0,3,2: 93:[74, 19] Operation: 18+1=19
Exploring Operation: 74+1=75, Resulting Numbers: [18, 75]
Generated Node #0,3,3: 93:[18, 75] Operation: 74+1=75
Exploring Operation: 74+18=92, Resulting Numbers: [1, 92]
Generated Node #0,3,4: 93:[1, 92] Operation: 74+18=92
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 93:[1, 92], Operations: ['56/56=1', '74+18=92']
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,93 unequal: No Solution
Exploring Operation: 1+92=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[74, 56, 18, 56], Operations: []
Exploring Operation: 56/56=1, Resulting Numbers: [74, 18, 1]
Generated Node #0,3: 93:[74, 18, 1] Operation: 56/56=1
Moving to Node #0,3
Current State: 93:[74, 18, 1], Operations: ['56/56=1']
Exploring Operation: 74+18=92, Resulting Numbers: [1, 92]
Generated Node #0,3,4: 93:[1, 92] Operation: 74+18=92
Moving to Node #0,3,4
Current State: 93:[1, 92], Operations: ['56/56=1', '74+18=92']
Exploring Operation: 1+92=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.