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 |
|---|---|---|---|---|---|---|---|---|
[
56,
69,
5,
18
] | 36 | [
"69-56=13",
"5+18=23",
"13+23=36"
] | Current State: 36:[56, 69, 5, 18], Operations: []
Exploring Operation: 69-56=13, Resulting Numbers: [5, 18, 13]
Generated Node #2: [5, 18, 13] from Operation: 69-56=13
Current State: 36:[5, 18, 13], Operations: ['69-56=13']
Exploring Operation: 5+18=23, Resulting Numbers: [13, 23]
Generated Node #3: [13, 23] from Operation: 5+18=23
Current State: 36:[13, 23], Operations: ['69-56=13', '5+18=23']
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[56, 69, 5, 18], Operations: []
Exploring Operation: 69-56=13, Resulting Numbers: [5, 18, 13]
Generated Node #0,0: 36:[5, 18, 13] Operation: 69-56=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[5, 18, 13], Operations: ['69-56=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18, 18]
Generated Node #0,0,0: 36:[18, 18] Operation: 5+13=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[18, 18], Operations: ['69-56=13', '5+13=18']
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[56, 69, 5, 18], Operations: []
Exploring Operation: 69-56=13, Resulting Numbers: [5, 18, 13]
Generated Node #0,0: 36:[5, 18, 13] Operation: 69-56=13
Moving to Node #0,0
Current State: 36:[5, 18, 13], Operations: ['69-56=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18, 18]
Generated Node #0,0,0: 36:[18, 18] Operation: 5+13=18
Moving to Node #0,0,0
Current State: 36:[18, 18], Operations: ['69-56=13', '5+13=18']
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
78,
35,
97,
6
] | 56 | [
"35+97=132",
"132/6=22",
"78-22=56"
] | Current State: 56:[78, 35, 97, 6], Operations: []
Exploring Operation: 35+97=132, Resulting Numbers: [78, 6, 132]
Generated Node #2: [78, 6, 132] from Operation: 35+97=132
Current State: 56:[78, 6, 132], Operations: ['35+97=132']
Exploring Operation: 132/6=22, Resulting Numbers: [78, 22]
Generated Node #3: [78, 22] from Operation: 132/6=22
Current State: 56:[78, 22], Operations: ['35+97=132', '132/6=22']
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[78, 35, 97, 6], Operations: []
Exploring Operation: 97-78=19, Resulting Numbers: [35, 6, 19]
Generated Node #0,0: 56:[35, 6, 19] Operation: 97-78=19
Exploring Operation: 97-35=62, Resulting Numbers: [78, 6, 62]
Generated Node #0,1: 56:[78, 6, 62] Operation: 97-35=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[35, 6, 19], Operations: ['97-78=19']
Exploring Operation: 35+19=54, Resulting Numbers: [6, 54]
Generated Node #0,0,0: 56:[6, 54] Operation: 35+19=54
Exploring Operation: 35-19=16, Resulting Numbers: [6, 16]
Generated Node #0,0,1: 56:[6, 16] Operation: 35-19=16
Moving to Node #0,0,0
Current State: 56:[6, 54], Operations: ['97-78=19', '35+19=54']
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 6+54=60, Resulting Numbers: [60]
60,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[6, 16], Operations: ['97-78=19', '35-19=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[78, 6, 62], Operations: ['97-35=62']
Exploring Operation: 78/6=13, Resulting Numbers: [62, 13]
Generated Node #0,1,0: 56:[62, 13] Operation: 78/6=13
Exploring Operation: 78-62=16, Resulting Numbers: [6, 16]
Generated Node #0,1,1: 56:[6, 16] Operation: 78-62=16
Moving to Node #0,1,1
Current State: 56:[6, 16], Operations: ['97-35=62', '78-62=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[62, 13], Operations: ['97-35=62', '78/6=13']
Exploring Operation: 62-13=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 62+13=75, Resulting Numbers: [75]
75,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
84,
71,
84
] | 73 | [
"2+84=86",
"84-71=13",
"86-13=73"
] | Current State: 73:[2, 84, 71, 84], Operations: []
Exploring Operation: 2+84=86, Resulting Numbers: [71, 86]
Generated Node #2: [71, 86] from Operation: 2+84=86
Current State: 73:[71, 86], Operations: ['2+84=86']
Exploring Operation: 84-71=13, Resulting Numbers: [86, 13]
Generated Node #3: [86, 13] from Operation: 84-71=13
Current State: 73:[86, 13], Operations: ['2+84=86', '84-71=13']
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[2, 84, 71, 84], Operations: []
Exploring Operation: 84-2=82, Resulting Numbers: [71, 84, 82]
Generated Node #0,0: 73:[71, 84, 82] Operation: 84-2=82
Exploring Operation: 84-2=82, Resulting Numbers: [84, 71, 82]
Generated Node #0,1: 73:[84, 71, 82] Operation: 84-2=82
Exploring Operation: 2+84=86, Resulting Numbers: [71, 84, 86]
Generated Node #0,2: 73:[71, 84, 86] Operation: 2+84=86
Exploring Operation: 2+71=73, Resulting Numbers: [84, 84, 73]
Generated Node #0,3: 73:[84, 84, 73] Operation: 2+71=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[71, 84, 82], Operations: ['84-2=82']
Exploring Operation: 82-71=11, Resulting Numbers: [84, 11]
Generated Node #0,0,0: 73:[84, 11] Operation: 82-71=11
Exploring Operation: 71+84=155, Resulting Numbers: [82, 155]
Generated Node #0,0,1: 73:[82, 155] Operation: 71+84=155
Exploring Operation: 84-82=2, Resulting Numbers: [71, 2]
Generated Node #0,0,2: 73:[71, 2] Operation: 84-82=2
Exploring Operation: 84-71=13, Resulting Numbers: [82, 13]
Generated Node #0,0,3: 73:[82, 13] Operation: 84-71=13
Moving to Node #0,0,3
Current State: 73:[82, 13], Operations: ['84-2=82', '84-71=13']
Exploring Operation: 82*13=1066, Resulting Numbers: [1066]
1066,73 unequal: No Solution
Exploring Operation: 82-13=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Exploring Operation: 82+13=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[71, 2], Operations: ['84-2=82', '84-82=2']
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,73 unequal: No Solution
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[2, 84, 71, 84], Operations: []
Exploring Operation: 84-2=82, Resulting Numbers: [71, 84, 82]
Generated Node #0,0: 73:[71, 84, 82] Operation: 84-2=82
Moving to Node #0,0
Current State: 73:[71, 84, 82], Operations: ['84-2=82']
Exploring Operation: 84-82=2, Resulting Numbers: [71, 2]
Generated Node #0,0,2: 73:[71, 2] Operation: 84-82=2
Moving to Node #0,0,2
Current State: 73:[71, 2], Operations: ['84-2=82', '84-82=2']
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
42,
63,
88,
34
] | 36 | [
"88-34=54",
"42*54=2268",
"2268/63=36"
] | Current State: 36:[42, 63, 88, 34], Operations: []
Exploring Operation: 88-34=54, Resulting Numbers: [42, 63, 54]
Generated Node #2: [42, 63, 54] from Operation: 88-34=54
Current State: 36:[42, 63, 54], Operations: ['88-34=54']
Exploring Operation: 42*54=2268, Resulting Numbers: [63, 2268]
Generated Node #3: [63, 2268] from Operation: 42*54=2268
Current State: 36:[63, 2268], Operations: ['88-34=54', '42*54=2268']
Exploring Operation: 2268/63=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[42, 63, 88, 34], Operations: []
Exploring Operation: 88-63=25, Resulting Numbers: [42, 34, 25]
Generated Node #0,0: 36:[42, 34, 25] Operation: 88-63=25
Exploring Operation: 88-42=46, Resulting Numbers: [63, 34, 46]
Generated Node #0,1: 36:[63, 34, 46] Operation: 88-42=46
Moving to Node #0,0
Current State: 36:[42, 34, 25], Operations: ['88-63=25']
Exploring Operation: 34-25=9, Resulting Numbers: [42, 9]
Generated Node #0,0,0: 36:[42, 9] Operation: 34-25=9
Exploring Operation: 42-25=17, Resulting Numbers: [34, 17]
Generated Node #0,0,1: 36:[34, 17] Operation: 42-25=17
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[34, 17], Operations: ['88-63=25', '42-25=17']
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,36 unequal: No Solution
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[42, 9], Operations: ['88-63=25', '34-25=9']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,36 unequal: No Solution
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,36 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: 36:[63, 34, 46], Operations: ['88-42=46']
Exploring Operation: 63-34=29, Resulting Numbers: [46, 29]
Generated Node #0,1,0: 36:[46, 29] Operation: 63-34=29
Exploring Operation: 63-46=17, Resulting Numbers: [34, 17]
Generated Node #0,1,1: 36:[34, 17] Operation: 63-46=17
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[34, 17], Operations: ['88-42=46', '63-46=17']
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[46, 29], Operations: ['88-42=46', '63-34=29']
Exploring Operation: 46+29=75, Resulting Numbers: [75]
75,36 unequal: No Solution
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,36 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 |
[
64,
58,
20,
16
] | 86 | [
"64+58=122",
"20+16=36",
"122-36=86"
] | Current State: 86:[64, 58, 20, 16], Operations: []
Exploring Operation: 64+58=122, Resulting Numbers: [20, 16, 122]
Generated Node #2: [20, 16, 122] from Operation: 64+58=122
Current State: 86:[20, 16, 122], Operations: ['64+58=122']
Exploring Operation: 20+16=36, Resulting Numbers: [122, 36]
Generated Node #3: [122, 36] from Operation: 20+16=36
Current State: 86:[122, 36], Operations: ['64+58=122', '20+16=36']
Exploring Operation: 122-36=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[64, 58, 20, 16], Operations: []
Exploring Operation: 64-20=44, Resulting Numbers: [58, 16, 44]
Generated Node #0,0: 86:[58, 16, 44] Operation: 64-20=44
Exploring Operation: 64/16=4, Resulting Numbers: [58, 20, 4]
Generated Node #0,1: 86:[58, 20, 4] Operation: 64/16=4
Exploring Operation: 64+20=84, Resulting Numbers: [58, 16, 84]
Generated Node #0,2: 86:[58, 16, 84] Operation: 64+20=84
Moving to Node #0,0
Current State: 86:[58, 16, 44], Operations: ['64-20=44']
Exploring Operation: 58-44=14, Resulting Numbers: [16, 14]
Generated Node #0,0,0: 86:[16, 14] Operation: 58-44=14
Exploring Operation: 58-16=42, Resulting Numbers: [44, 42]
Generated Node #0,0,1: 86:[44, 42] Operation: 58-16=42
Exploring Operation: 58+16=74, Resulting Numbers: [44, 74]
Generated Node #0,0,2: 86:[44, 74] Operation: 58+16=74
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[44, 42], Operations: ['64-20=44', '58-16=42']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 44*42=1848, Resulting Numbers: [1848]
1848,86 unequal: No Solution
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[64, 58, 20, 16], Operations: []
Exploring Operation: 64-20=44, Resulting Numbers: [58, 16, 44]
Generated Node #0,0: 86:[58, 16, 44] Operation: 64-20=44
Moving to Node #0,0
Current State: 86:[58, 16, 44], Operations: ['64-20=44']
Exploring Operation: 58-16=42, Resulting Numbers: [44, 42]
Generated Node #0,0,1: 86:[44, 42] Operation: 58-16=42
Moving to Node #0,0,1
Current State: 86:[44, 42], Operations: ['64-20=44', '58-16=42']
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
24,
25,
36,
1
] | 12 | [
"24+25=49",
"36+1=37",
"49-37=12"
] | Current State: 12:[24, 25, 36, 1], Operations: []
Exploring Operation: 24+25=49, Resulting Numbers: [36, 1, 49]
Generated Node #2: [36, 1, 49] from Operation: 24+25=49
Current State: 12:[36, 1, 49], Operations: ['24+25=49']
Exploring Operation: 36+1=37, Resulting Numbers: [49, 37]
Generated Node #3: [49, 37] from Operation: 36+1=37
Current State: 12:[49, 37], Operations: ['24+25=49', '36+1=37']
Exploring Operation: 49-37=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[24, 25, 36, 1], Operations: []
Exploring Operation: 36-24=12, Resulting Numbers: [25, 1, 12]
Generated Node #0,0: 12:[25, 1, 12] Operation: 36-24=12
Exploring Operation: 24-1=23, Resulting Numbers: [25, 36, 23]
Generated Node #0,1: 12:[25, 36, 23] Operation: 24-1=23
Exploring Operation: 25-24=1, Resulting Numbers: [36, 1, 1]
Generated Node #0,2: 12:[36, 1, 1] Operation: 25-24=1
Exploring Operation: 36-25=11, Resulting Numbers: [24, 1, 11]
Generated Node #0,3: 12:[24, 1, 11] Operation: 36-25=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[25, 1, 12], Operations: ['36-24=12']
Exploring Operation: 25*1=25, Resulting Numbers: [12, 25]
Generated Node #0,0,0: 12:[12, 25] Operation: 25*1=25
Exploring Operation: 25-12=13, Resulting Numbers: [1, 13]
Generated Node #0,0,1: 12:[1, 13] Operation: 25-12=13
Exploring Operation: 25-1=24, Resulting Numbers: [12, 24]
Generated Node #0,0,2: 12:[12, 24] Operation: 25-1=24
Exploring Operation: 25/1=25, Resulting Numbers: [12, 25]
Generated Node #0,0,3: 12:[12, 25] Operation: 25/1=25
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 12:[1, 13], Operations: ['36-24=12', '25-12=13']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[24, 25, 36, 1], Operations: []
Exploring Operation: 36-24=12, Resulting Numbers: [25, 1, 12]
Generated Node #0,0: 12:[25, 1, 12] Operation: 36-24=12
Moving to Node #0,0
Current State: 12:[25, 1, 12], Operations: ['36-24=12']
Exploring Operation: 25-12=13, Resulting Numbers: [1, 13]
Generated Node #0,0,1: 12:[1, 13] Operation: 25-12=13
Moving to Node #0,0,1
Current State: 12:[1, 13], Operations: ['36-24=12', '25-12=13']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
4,
47,
69,
12
] | 38 | [
"47-4=43",
"69+12=81",
"81-43=38"
] | Current State: 38:[4, 47, 69, 12], Operations: []
Exploring Operation: 47-4=43, Resulting Numbers: [69, 12, 43]
Generated Node #2: [69, 12, 43] from Operation: 47-4=43
Current State: 38:[69, 12, 43], Operations: ['47-4=43']
Exploring Operation: 69+12=81, Resulting Numbers: [43, 81]
Generated Node #3: [43, 81] from Operation: 69+12=81
Current State: 38:[43, 81], Operations: ['47-4=43', '69+12=81']
Exploring Operation: 81-43=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[4, 47, 69, 12], Operations: []
Exploring Operation: 69-47=22, Resulting Numbers: [4, 12, 22]
Generated Node #0,0: 38:[4, 12, 22] Operation: 69-47=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[4, 12, 22], Operations: ['69-47=22']
Exploring Operation: 12/4=3, Resulting Numbers: [22, 3]
Generated Node #0,0,0: 38:[22, 3] Operation: 12/4=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[22, 3], Operations: ['69-47=22', '12/4=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,38 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 |
[
85,
2,
90,
90
] | 82 | [
"85-2=83",
"90/90=1",
"83-1=82"
] | Current State: 82:[85, 2, 90, 90], Operations: []
Exploring Operation: 85-2=83, Resulting Numbers: [90, 90, 83]
Generated Node #2: [90, 90, 83] from Operation: 85-2=83
Current State: 82:[90, 90, 83], Operations: ['85-2=83']
Exploring Operation: 90/90=1, Resulting Numbers: [83, 1]
Generated Node #3: [83, 1] from Operation: 90/90=1
Current State: 82:[83, 1], Operations: ['85-2=83', '90/90=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[85, 2, 90, 90], Operations: []
Exploring Operation: 90/90=1, Resulting Numbers: [85, 2, 1]
Generated Node #0,0: 82:[85, 2, 1] Operation: 90/90=1
Exploring Operation: 90-90=0, Resulting Numbers: [85, 2, 0]
Generated Node #0,1: 82:[85, 2, 0] Operation: 90-90=0
Moving to Node #0,0
Current State: 82:[85, 2, 1], Operations: ['90/90=1']
Exploring Operation: 85-2=83, Resulting Numbers: [1, 83]
Generated Node #0,0,0: 82:[1, 83] Operation: 85-2=83
Exploring Operation: 85-1=84, Resulting Numbers: [2, 84]
Generated Node #0,0,1: 82:[2, 84] Operation: 85-1=84
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[1, 83], Operations: ['90/90=1', '85-2=83']
Exploring Operation: 1*83=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[85, 2, 90, 90], Operations: []
Exploring Operation: 90/90=1, Resulting Numbers: [85, 2, 1]
Generated Node #0,0: 82:[85, 2, 1] Operation: 90/90=1
Moving to Node #0,0
Current State: 82:[85, 2, 1], Operations: ['90/90=1']
Exploring Operation: 85-2=83, Resulting Numbers: [1, 83]
Generated Node #0,0,0: 82:[1, 83] Operation: 85-2=83
Moving to Node #0,0,0
Current State: 82:[1, 83], Operations: ['90/90=1', '85-2=83']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
73,
60,
39,
14
] | 12 | [
"73-60=13",
"39-14=25",
"25-13=12"
] | Current State: 12:[73, 60, 39, 14], Operations: []
Exploring Operation: 73-60=13, Resulting Numbers: [39, 14, 13]
Generated Node #2: [39, 14, 13] from Operation: 73-60=13
Current State: 12:[39, 14, 13], Operations: ['73-60=13']
Exploring Operation: 39-14=25, Resulting Numbers: [13, 25]
Generated Node #3: [13, 25] from Operation: 39-14=25
Current State: 12:[13, 25], Operations: ['73-60=13', '39-14=25']
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[73, 60, 39, 14], Operations: []
Exploring Operation: 73-14=59, Resulting Numbers: [60, 39, 59]
Generated Node #0,0: 12:[60, 39, 59] Operation: 73-14=59
Exploring Operation: 73-39=34, Resulting Numbers: [60, 14, 34]
Generated Node #0,1: 12:[60, 14, 34] Operation: 73-39=34
Exploring Operation: 60-39=21, Resulting Numbers: [73, 14, 21]
Generated Node #0,2: 12:[73, 14, 21] Operation: 60-39=21
Exploring Operation: 73-60=13, Resulting Numbers: [39, 14, 13]
Generated Node #0,3: 12:[39, 14, 13] Operation: 73-60=13
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[39, 14, 13], Operations: ['73-60=13']
Exploring Operation: 39-14=25, Resulting Numbers: [13, 25]
Generated Node #0,3,0: 12:[13, 25] Operation: 39-14=25
Exploring Operation: 39/13=3, Resulting Numbers: [14, 3]
Generated Node #0,3,1: 12:[14, 3] Operation: 39/13=3
Exploring Operation: 39-13=26, Resulting Numbers: [14, 26]
Generated Node #0,3,2: 12:[14, 26] Operation: 39-13=26
Exploring Operation: 14-13=1, Resulting Numbers: [39, 1]
Generated Node #0,3,3: 12:[39, 1] Operation: 14-13=1
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 12:[14, 3], Operations: ['73-60=13', '39/13=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,12 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,12 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 12:[13, 25], Operations: ['73-60=13', '39-14=25']
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,12 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[73, 60, 39, 14], Operations: []
Exploring Operation: 73-60=13, Resulting Numbers: [39, 14, 13]
Generated Node #0,3: 12:[39, 14, 13] Operation: 73-60=13
Moving to Node #0,3
Current State: 12:[39, 14, 13], Operations: ['73-60=13']
Exploring Operation: 39-14=25, Resulting Numbers: [13, 25]
Generated Node #0,3,0: 12:[13, 25] Operation: 39-14=25
Moving to Node #0,3,0
Current State: 12:[13, 25], Operations: ['73-60=13', '39-14=25']
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
1,
92,
86,
13
] | 19 | [
"1*92=92",
"86-13=73",
"92-73=19"
] | Current State: 19:[1, 92, 86, 13], Operations: []
Exploring Operation: 1*92=92, Resulting Numbers: [86, 13, 92]
Generated Node #2: [86, 13, 92] from Operation: 1*92=92
Current State: 19:[86, 13, 92], Operations: ['1*92=92']
Exploring Operation: 86-13=73, Resulting Numbers: [92, 73]
Generated Node #3: [92, 73] from Operation: 86-13=73
Current State: 19:[92, 73], Operations: ['1*92=92', '86-13=73']
Exploring Operation: 92-73=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[1, 92, 86, 13], Operations: []
Exploring Operation: 92-1=91, Resulting Numbers: [86, 13, 91]
Generated Node #0,0: 19:[86, 13, 91] Operation: 92-1=91
Exploring Operation: 92-86=6, Resulting Numbers: [1, 13, 6]
Generated Node #0,1: 19:[1, 13, 6] Operation: 92-86=6
Exploring Operation: 86-1=85, Resulting Numbers: [92, 13, 85]
Generated Node #0,2: 19:[92, 13, 85] Operation: 86-1=85
Moving to Node #0,1
Current State: 19:[1, 13, 6], Operations: ['92-86=6']
Exploring Operation: 1+13=14, Resulting Numbers: [6, 14]
Generated Node #0,1,0: 19:[6, 14] Operation: 1+13=14
Exploring Operation: 1+6=7, Resulting Numbers: [13, 7]
Generated Node #0,1,1: 19:[13, 7] Operation: 1+6=7
Exploring Operation: 13+6=19, Resulting Numbers: [1, 19]
Generated Node #0,1,2: 19:[1, 19] Operation: 13+6=19
Moving to Node #0,0
Current State: 19:[86, 13, 91], Operations: ['92-1=91']
Exploring Operation: 86-13=73, Resulting Numbers: [91, 73]
Generated Node #0,0,0: 19:[91, 73] Operation: 86-13=73
Exploring Operation: 91/13=7, Resulting Numbers: [86, 7]
Generated Node #0,0,1: 19:[86, 7] Operation: 91/13=7
Exploring Operation: 91-86=5, Resulting Numbers: [13, 5]
Generated Node #0,0,2: 19:[13, 5] Operation: 91-86=5
Moving to Node #0,2
Current State: 19:[92, 13, 85], Operations: ['86-1=85']
Exploring Operation: 85-13=72, Resulting Numbers: [92, 72]
Generated Node #0,2,0: 19:[92, 72] Operation: 85-13=72
Exploring Operation: 92-13=79, Resulting Numbers: [85, 79]
Generated Node #0,2,1: 19:[85, 79] Operation: 92-13=79
Exploring Operation: 92-85=7, Resulting Numbers: [13, 7]
Generated Node #0,2,2: 19:[13, 7] Operation: 92-85=7
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 19:[13, 7], Operations: ['86-1=85', '92-85=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,19 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 19:[92, 72], Operations: ['86-1=85', '85-13=72']
Exploring Operation: 92*72=6624, Resulting Numbers: [6624]
6624,19 unequal: No Solution
Exploring Operation: 92-72=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 92+72=164, Resulting Numbers: [164]
164,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[85, 79], Operations: ['86-1=85', '92-13=79']
Exploring Operation: 85*79=6715, Resulting Numbers: [6715]
6715,19 unequal: No Solution
Exploring Operation: 85+79=164, Resulting Numbers: [164]
164,19 unequal: No Solution
Exploring Operation: 85-79=6, Resulting Numbers: [6]
6,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 19:[6, 14], Operations: ['92-86=6', '1+13=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[1, 19], Operations: ['92-86=6', '13+6=19']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[1, 92, 86, 13], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [1, 13, 6]
Generated Node #0,1: 19:[1, 13, 6] Operation: 92-86=6
Moving to Node #0,1
Current State: 19:[1, 13, 6], Operations: ['92-86=6']
Exploring Operation: 13+6=19, Resulting Numbers: [1, 19]
Generated Node #0,1,2: 19:[1, 19] Operation: 13+6=19
Moving to Node #0,1,2
Current State: 19:[1, 19], Operations: ['92-86=6', '13+6=19']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.974826 | hs_3 | sum_heuristic |
[
88,
1,
74,
38
] | 86 | [
"38-1=37",
"74/37=2",
"88-2=86"
] | Current State: 86:[88, 1, 74, 38], Operations: []
Exploring Operation: 38-1=37, Resulting Numbers: [88, 74, 37]
Generated Node #2: [88, 74, 37] from Operation: 38-1=37
Current State: 86:[88, 74, 37], Operations: ['38-1=37']
Exploring Operation: 74/37=2, Resulting Numbers: [88, 2]
Generated Node #3: [88, 2] from Operation: 74/37=2
Current State: 86:[88, 2], Operations: ['38-1=37', '74/37=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[88, 1, 74, 38], Operations: []
Exploring Operation: 88-1=87, Resulting Numbers: [74, 38, 87]
Generated Node #0,0: 86:[74, 38, 87] Operation: 88-1=87
Exploring Operation: 74-38=36, Resulting Numbers: [88, 1, 36]
Generated Node #0,1: 86:[88, 1, 36] Operation: 74-38=36
Exploring Operation: 88-74=14, Resulting Numbers: [1, 38, 14]
Generated Node #0,2: 86:[1, 38, 14] Operation: 88-74=14
Exploring Operation: 1+74=75, Resulting Numbers: [88, 38, 75]
Generated Node #0,3: 86:[88, 38, 75] Operation: 1+74=75
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[88, 1, 36], Operations: ['74-38=36']
Exploring Operation: 88*1=88, Resulting Numbers: [36, 88]
Generated Node #0,1,0: 86:[36, 88] Operation: 88*1=88
Exploring Operation: 88-1=87, Resulting Numbers: [36, 87]
Generated Node #0,1,1: 86:[36, 87] Operation: 88-1=87
Exploring Operation: 1+36=37, Resulting Numbers: [88, 37]
Generated Node #0,1,2: 86:[88, 37] Operation: 1+36=37
Exploring Operation: 88/1=88, Resulting Numbers: [36, 88]
Generated Node #0,1,3: 86:[36, 88] Operation: 88/1=88
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 86:[36, 87], Operations: ['74-38=36', '88-1=87']
Exploring Operation: 36+87=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 36*87=3132, Resulting Numbers: [3132]
3132,86 unequal: No Solution
No 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: 86:[88, 37], Operations: ['74-38=36', '1+36=37']
Exploring Operation: 88*37=3256, Resulting Numbers: [3256]
3256,86 unequal: No Solution
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 88+37=125, Resulting Numbers: [125]
125,86 unequal: No Solution
No 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: 86:[36, 88], Operations: ['74-38=36', '88*1=88']
Exploring Operation: 36+88=124, Resulting Numbers: [124]
124,86 unequal: No Solution
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,86 unequal: No Solution
Exploring Operation: 36*88=3168, Resulting Numbers: [3168]
3168,86 unequal: No Solution
No 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: 86:[36, 88], Operations: ['74-38=36', '88/1=88']
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,86 unequal: No Solution
Exploring Operation: 36+88=124, Resulting Numbers: [124]
124,86 unequal: No Solution
Exploring Operation: 36*88=3168, Resulting Numbers: [3168]
3168,86 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: 86:[74, 38, 87], Operations: ['88-1=87']
Exploring Operation: 74+38=112, Resulting Numbers: [87, 112]
Generated Node #0,0,0: 86:[87, 112] Operation: 74+38=112
Exploring Operation: 87-74=13, Resulting Numbers: [38, 13]
Generated Node #0,0,1: 86:[38, 13] Operation: 87-74=13
Exploring Operation: 74-38=36, Resulting Numbers: [87, 36]
Generated Node #0,0,2: 86:[87, 36] Operation: 74-38=36
Exploring Operation: 87-38=49, Resulting Numbers: [74, 49]
Generated Node #0,0,3: 86:[74, 49] Operation: 87-38=49
Moving to Node #0,0,2
Current State: 86:[87, 36], Operations: ['88-1=87', '74-38=36']
Exploring Operation: 87+36=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Exploring Operation: 87*36=3132, Resulting Numbers: [3132]
3132,86 unequal: No Solution
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[38, 13], Operations: ['88-1=87', '87-74=13']
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 38*13=494, Resulting Numbers: [494]
494,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[74, 49], Operations: ['88-1=87', '87-38=49']
Exploring Operation: 74-49=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 74*49=3626, Resulting Numbers: [3626]
3626,86 unequal: No Solution
Exploring Operation: 74+49=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[87, 112], Operations: ['88-1=87', '74+38=112']
Exploring Operation: 87+112=199, Resulting Numbers: [199]
199,86 unequal: No Solution
Exploring Operation: 112-87=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 87*112=9744, Resulting Numbers: [9744]
9744,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[1, 38, 14], Operations: ['88-74=14']
Exploring Operation: 1*38=38, Resulting Numbers: [14, 38]
Generated Node #0,2,0: 86:[14, 38] Operation: 1*38=38
Exploring Operation: 38+14=52, Resulting Numbers: [1, 52]
Generated Node #0,2,1: 86:[1, 52] Operation: 38+14=52
Exploring Operation: 1+38=39, Resulting Numbers: [14, 39]
Generated Node #0,2,2: 86:[14, 39] Operation: 1+38=39
Exploring Operation: 14-1=13, Resulting Numbers: [38, 13]
Generated Node #0,2,3: 86:[38, 13] Operation: 14-1=13
Moving to Node #0,2,1
Current State: 86:[1, 52], Operations: ['88-74=14', '38+14=52']
Exploring Operation: 1+52=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,86 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,86 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Moving to Node #0,2,3
Current State: 86:[38, 13], Operations: ['88-74=14', '14-1=13']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 38*13=494, Resulting Numbers: [494]
494,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[14, 39], Operations: ['88-74=14', '1+38=39']
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 14*39=546, Resulting Numbers: [546]
546,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[14, 38], Operations: ['88-74=14', '1*38=38']
Exploring Operation: 14*38=532, Resulting Numbers: [532]
532,86 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,86 unequal: No Solution
Exploring Operation: 14+38=52, Resulting Numbers: [52]
52,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[88, 38, 75], Operations: ['1+74=75']
Exploring Operation: 88-38=50, Resulting Numbers: [75, 50]
Generated Node #0,3,0: 86:[75, 50] Operation: 88-38=50
Exploring Operation: 38+75=113, Resulting Numbers: [88, 113]
Generated Node #0,3,1: 86:[88, 113] Operation: 38+75=113
Exploring Operation: 88-75=13, Resulting Numbers: [38, 13]
Generated Node #0,3,2: 86:[38, 13] Operation: 88-75=13
Exploring Operation: 75-38=37, Resulting Numbers: [88, 37]
Generated Node #0,3,3: 86:[88, 37] Operation: 75-38=37
Moving to Node #0,3,3
Current State: 86:[88, 37], Operations: ['1+74=75', '75-38=37']
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 88*37=3256, Resulting Numbers: [3256]
3256,86 unequal: No Solution
Exploring Operation: 88+37=125, Resulting Numbers: [125]
125,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[38, 13], Operations: ['1+74=75', '88-75=13']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 38*13=494, Resulting Numbers: [494]
494,86 unequal: No Solution
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[75, 50], Operations: ['1+74=75', '88-38=50']
Exploring Operation: 75*50=3750, Resulting Numbers: [3750]
3750,86 unequal: No Solution
Exploring Operation: 75+50=125, Resulting Numbers: [125]
125,86 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Moving to Node #0,3,1
Current State: 86:[88, 113], Operations: ['1+74=75', '38+75=113']
Exploring Operation: 88*113=9944, Resulting Numbers: [9944]
9944,86 unequal: No Solution
Exploring Operation: 88+113=201, Resulting Numbers: [201]
201,86 unequal: No Solution
Exploring Operation: 113-88=25, Resulting Numbers: [25]
25,86 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 |
[
76,
74,
19,
68
] | 30 | [
"76-74=2",
"19*2=38",
"68-38=30"
] | Current State: 30:[76, 74, 19, 68], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [19, 68, 2]
Generated Node #2: [19, 68, 2] from Operation: 76-74=2
Current State: 30:[19, 68, 2], Operations: ['76-74=2']
Exploring Operation: 19*2=38, Resulting Numbers: [68, 38]
Generated Node #3: [68, 38] from Operation: 19*2=38
Current State: 30:[68, 38], Operations: ['76-74=2', '19*2=38']
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[76, 74, 19, 68], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [19, 68, 2]
Generated Node #0,0: 30:[19, 68, 2] Operation: 76-74=2
Exploring Operation: 76-68=8, Resulting Numbers: [74, 19, 8]
Generated Node #0,1: 30:[74, 19, 8] Operation: 76-68=8
Moving to Node #0,0
Current State: 30:[19, 68, 2], Operations: ['76-74=2']
Exploring Operation: 68-19=49, Resulting Numbers: [2, 49]
Generated Node #0,0,0: 30:[2, 49] Operation: 68-19=49
Exploring Operation: 68/2=34, Resulting Numbers: [19, 34]
Generated Node #0,0,1: 30:[19, 34] Operation: 68/2=34
Moving to Node #0,1
Current State: 30:[74, 19, 8], Operations: ['76-68=8']
Exploring Operation: 74-19=55, Resulting Numbers: [8, 55]
Generated Node #0,1,0: 30:[8, 55] Operation: 74-19=55
Exploring Operation: 74-8=66, Resulting Numbers: [19, 66]
Generated Node #0,1,1: 30:[19, 66] Operation: 74-8=66
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[8, 55], Operations: ['76-68=8', '74-19=55']
Exploring Operation: 8+55=63, Resulting Numbers: [63]
63,30 unequal: No Solution
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,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:[19, 66], Operations: ['76-68=8', '74-8=66']
Exploring Operation: 19+66=85, Resulting Numbers: [85]
85,30 unequal: No Solution
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,30 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: 30:[19, 34], Operations: ['76-74=2', '68/2=34']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 19+34=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[2, 49], Operations: ['76-74=2', '68-19=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,30 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
54,
90,
13,
2
] | 100 | [
"90-13=77",
"2*77=154",
"154-54=100"
] | Current State: 100:[54, 90, 13, 2], Operations: []
Exploring Operation: 90-13=77, Resulting Numbers: [54, 2, 77]
Generated Node #2: [54, 2, 77] from Operation: 90-13=77
Current State: 100:[54, 2, 77], Operations: ['90-13=77']
Exploring Operation: 2*77=154, Resulting Numbers: [54, 154]
Generated Node #3: [54, 154] from Operation: 2*77=154
Current State: 100:[54, 154], Operations: ['90-13=77', '2*77=154']
Exploring Operation: 154-54=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[54, 90, 13, 2], Operations: []
Exploring Operation: 54-2=52, Resulting Numbers: [90, 13, 52]
Generated Node #0,0: 100:[90, 13, 52] Operation: 54-2=52
Exploring Operation: 90+13=103, Resulting Numbers: [54, 2, 103]
Generated Node #0,1: 100:[54, 2, 103] Operation: 90+13=103
Exploring Operation: 90-54=36, Resulting Numbers: [13, 2, 36]
Generated Node #0,2: 100:[13, 2, 36] Operation: 90-54=36
Exploring Operation: 54/2=27, Resulting Numbers: [90, 13, 27]
Generated Node #0,3: 100:[90, 13, 27] Operation: 54/2=27
Exploring Operation: 90/2=45, Resulting Numbers: [54, 13, 45]
Generated Node #0,4: 100:[54, 13, 45] Operation: 90/2=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[54, 2, 103], Operations: ['90+13=103']
Exploring Operation: 54/2=27, Resulting Numbers: [103, 27]
Generated Node #0,1,0: 100:[103, 27] Operation: 54/2=27
Exploring Operation: 103-2=101, Resulting Numbers: [54, 101]
Generated Node #0,1,1: 100:[54, 101] Operation: 103-2=101
Exploring Operation: 54+2=56, Resulting Numbers: [103, 56]
Generated Node #0,1,2: 100:[103, 56] Operation: 54+2=56
Exploring Operation: 103-54=49, Resulting Numbers: [2, 49]
Generated Node #0,1,3: 100:[2, 49] Operation: 103-54=49
Exploring Operation: 54-2=52, Resulting Numbers: [103, 52]
Generated Node #0,1,4: 100:[103, 52] Operation: 54-2=52
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 100:[2, 49], Operations: ['90+13=103', '103-54=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,100 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,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,0
Current State: 100:[103, 27], Operations: ['90+13=103', '54/2=27']
Exploring Operation: 103-27=76, Resulting Numbers: [76]
76,100 unequal: No Solution
Exploring Operation: 103*27=2781, Resulting Numbers: [2781]
2781,100 unequal: No Solution
Exploring Operation: 103+27=130, Resulting Numbers: [130]
130,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:[54, 101], Operations: ['90+13=103', '103-2=101']
Exploring Operation: 54*101=5454, Resulting Numbers: [5454]
5454,100 unequal: No Solution
Exploring Operation: 54+101=155, Resulting Numbers: [155]
155,100 unequal: No Solution
Exploring Operation: 101-54=47, Resulting Numbers: [47]
47,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,4
Current State: 100:[103, 52], Operations: ['90+13=103', '54-2=52']
Exploring Operation: 103+52=155, Resulting Numbers: [155]
155,100 unequal: No Solution
Exploring Operation: 103*52=5356, Resulting Numbers: [5356]
5356,100 unequal: No Solution
Exploring Operation: 103-52=51, Resulting Numbers: [51]
51,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,2
Current State: 100:[103, 56], Operations: ['90+13=103', '54+2=56']
Exploring Operation: 103*56=5768, Resulting Numbers: [5768]
5768,100 unequal: No Solution
Exploring Operation: 103-56=47, Resulting Numbers: [47]
47,100 unequal: No Solution
Exploring Operation: 103+56=159, Resulting Numbers: [159]
159,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,4
Current State: 100:[54, 13, 45], Operations: ['90/2=45']
Exploring Operation: 54-45=9, Resulting Numbers: [13, 9]
Generated Node #0,4,0: 100:[13, 9] Operation: 54-45=9
Exploring Operation: 54+45=99, Resulting Numbers: [13, 99]
Generated Node #0,4,1: 100:[13, 99] Operation: 54+45=99
Exploring Operation: 45-13=32, Resulting Numbers: [54, 32]
Generated Node #0,4,2: 100:[54, 32] Operation: 45-13=32
Exploring Operation: 13+45=58, Resulting Numbers: [54, 58]
Generated Node #0,4,3: 100:[54, 58] Operation: 13+45=58
Exploring Operation: 54-13=41, Resulting Numbers: [45, 41]
Generated Node #0,4,4: 100:[45, 41] Operation: 54-13=41
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 100:[13, 9], Operations: ['90/2=45', '54-45=9']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,100 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,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,4,1
Current State: 100:[13, 99], Operations: ['90/2=45', '54+45=99']
Exploring Operation: 99-13=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 13+99=112, Resulting Numbers: [112]
112,100 unequal: No Solution
Exploring Operation: 13*99=1287, Resulting Numbers: [1287]
1287,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,4,2
Current State: 100:[54, 32], Operations: ['90/2=45', '45-13=32']
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 54+32=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 54*32=1728, Resulting Numbers: [1728]
1728,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,4,3
Current State: 100:[54, 58], Operations: ['90/2=45', '13+45=58']
Exploring Operation: 54*58=3132, Resulting Numbers: [3132]
3132,100 unequal: No Solution
Exploring Operation: 54+58=112, Resulting Numbers: [112]
112,100 unequal: No Solution
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,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,4,4
Current State: 100:[45, 41], Operations: ['90/2=45', '54-13=41']
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 45*41=1845, Resulting Numbers: [1845]
1845,100 unequal: No Solution
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,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,2
Current State: 100:[13, 2, 36], Operations: ['90-54=36']
Exploring Operation: 36/2=18, Resulting Numbers: [13, 18]
Generated Node #0,2,0: 100:[13, 18] Operation: 36/2=18
Exploring Operation: 13+36=49, Resulting Numbers: [2, 49]
Generated Node #0,2,1: 100:[2, 49] Operation: 13+36=49
Exploring Operation: 13*2=26, Resulting Numbers: [36, 26]
Generated Node #0,2,2: 100:[36, 26] Operation: 13*2=26
Exploring Operation: 13-2=11, Resulting Numbers: [36, 11]
Generated Node #0,2,3: 100:[36, 11] Operation: 13-2=11
Exploring Operation: 36-13=23, Resulting Numbers: [2, 23]
Generated Node #0,2,4: 100:[2, 23] Operation: 36-13=23
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 100:[2, 49], Operations: ['90-54=36', '13+36=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,100 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,100 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,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,2,4
Current State: 100:[2, 23], Operations: ['90-54=36', '36-13=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,100 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,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,2,0
Current State: 100:[13, 18], Operations: ['90-54=36', '36/2=18']
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,100 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,100 unequal: No Solution
Exploring Operation: 18-13=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,2,2
Current State: 100:[36, 26], Operations: ['90-54=36', '13*2=26']
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,100 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 36*26=936, Resulting Numbers: [936]
936,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,2,3
Current State: 100:[36, 11], Operations: ['90-54=36', '13-2=11']
Exploring Operation: 36*11=396, Resulting Numbers: [396]
396,100 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,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:[90, 13, 52], Operations: ['54-2=52']
Exploring Operation: 52/13=4, Resulting Numbers: [90, 4]
Generated Node #0,0,0: 100:[90, 4] Operation: 52/13=4
Exploring Operation: 90+13=103, Resulting Numbers: [52, 103]
Generated Node #0,0,1: 100:[52, 103] Operation: 90+13=103
Exploring Operation: 52-13=39, Resulting Numbers: [90, 39]
Generated Node #0,0,2: 100:[90, 39] Operation: 52-13=39
Exploring Operation: 90-52=38, Resulting Numbers: [13, 38]
Generated Node #0,0,3: 100:[13, 38] Operation: 90-52=38
Exploring Operation: 90-13=77, Resulting Numbers: [52, 77]
Generated Node #0,0,4: 100:[52, 77] Operation: 90-13=77
Moving to Node #0,0,1
Current State: 100:[52, 103], Operations: ['54-2=52', '90+13=103']
Exploring Operation: 103-52=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 52+103=155, Resulting Numbers: [155]
155,100 unequal: No Solution
Exploring Operation: 52*103=5356, Resulting Numbers: [5356]
5356,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[90, 4], Operations: ['54-2=52', '52/13=4']
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,100 unequal: No Solution
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 90*4=360, Resulting Numbers: [360]
360,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[13, 38], Operations: ['54-2=52', '90-52=38']
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,100 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[90, 39], Operations: ['54-2=52', '52-13=39']
Exploring Operation: 90-39=51, Resulting Numbers: [51]
51,100 unequal: No Solution
Exploring Operation: 90*39=3510, Resulting Numbers: [3510]
3510,100 unequal: No Solution
Exploring Operation: 90+39=129, Resulting Numbers: [129]
129,100 unequal: No Solution
Moving to Node #0,0,4
Current State: 100:[52, 77], Operations: ['54-2=52', '90-13=77']
Exploring Operation: 52*77=4004, Resulting Numbers: [4004]
4004,100 unequal: No Solution
Exploring Operation: 52+77=129, Resulting Numbers: [129]
129,100 unequal: No Solution
Exploring Operation: 77-52=25, Resulting Numbers: [25]
25,100 unequal: No Solution
No 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: 100:[90, 13, 27], Operations: ['54/2=27']
Exploring Operation: 90+27=117, Resulting Numbers: [13, 117]
Generated Node #0,3,0: 100:[13, 117] Operation: 90+27=117
Exploring Operation: 90-27=63, Resulting Numbers: [13, 63]
Generated Node #0,3,1: 100:[13, 63] Operation: 90-27=63
Exploring Operation: 27-13=14, Resulting Numbers: [90, 14]
Generated Node #0,3,2: 100:[90, 14] Operation: 27-13=14
Exploring Operation: 90+13=103, Resulting Numbers: [27, 103]
Generated Node #0,3,3: 100:[27, 103] Operation: 90+13=103
Exploring Operation: 13+27=40, Resulting Numbers: [90, 40]
Generated Node #0,3,4: 100:[90, 40] Operation: 13+27=40
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 100:[27, 103], Operations: ['54/2=27', '90+13=103']
Exploring Operation: 27*103=2781, Resulting Numbers: [2781]
2781,100 unequal: No Solution
Exploring Operation: 27+103=130, Resulting Numbers: [130]
130,100 unequal: No Solution
Exploring Operation: 103-27=76, Resulting Numbers: [76]
76,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,3,2
Current State: 100:[90, 14], Operations: ['54/2=27', '27-13=14']
Exploring Operation: 90+14=104, Resulting Numbers: [104]
104,100 unequal: No Solution
Exploring Operation: 90*14=1260, Resulting Numbers: [1260]
1260,100 unequal: No Solution
Exploring Operation: 90-14=76, Resulting Numbers: [76]
76,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,3,1
Current State: 100:[13, 63], Operations: ['54/2=27', '90-27=63']
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 13*63=819, Resulting Numbers: [819]
819,100 unequal: No Solution
Exploring Operation: 13+63=76, Resulting Numbers: [76]
76,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,3,0
Current State: 100:[13, 117], Operations: ['54/2=27', '90+27=117']
Exploring Operation: 13*117=1521, Resulting Numbers: [1521]
1521,100 unequal: No Solution
Exploring Operation: 117/13=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 117-13=104, Resulting Numbers: [104]
104,100 unequal: No Solution
Exploring Operation: 13+117=130, Resulting Numbers: [130]
130,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,3,4
Current State: 100:[90, 40], Operations: ['54/2=27', '13+27=40']
Exploring Operation: 90+40=130, Resulting Numbers: [130]
130,100 unequal: No Solution
Exploring Operation: 90-40=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 90*40=3600, Resulting Numbers: [3600]
3600,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
No solution found.
| 0 | hs_5 | mult_heuristic |
[
62,
92,
79,
2
] | 58 | [
"79-62=17",
"2*17=34",
"92-34=58"
] | Current State: 58:[62, 92, 79, 2], Operations: []
Exploring Operation: 79-62=17, Resulting Numbers: [92, 2, 17]
Generated Node #2: [92, 2, 17] from Operation: 79-62=17
Current State: 58:[92, 2, 17], Operations: ['79-62=17']
Exploring Operation: 2*17=34, Resulting Numbers: [92, 34]
Generated Node #3: [92, 34] from Operation: 2*17=34
Current State: 58:[92, 34], Operations: ['79-62=17', '2*17=34']
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[62, 92, 79, 2], Operations: []
Exploring Operation: 92/2=46, Resulting Numbers: [62, 79, 46]
Generated Node #0,0: 58:[62, 79, 46] Operation: 92/2=46
Exploring Operation: 79-62=17, Resulting Numbers: [92, 2, 17]
Generated Node #0,1: 58:[92, 2, 17] Operation: 79-62=17
Exploring Operation: 92-79=13, Resulting Numbers: [62, 2, 13]
Generated Node #0,2: 58:[62, 2, 13] Operation: 92-79=13
Exploring Operation: 62-2=60, Resulting Numbers: [92, 79, 60]
Generated Node #0,3: 58:[92, 79, 60] Operation: 62-2=60
Exploring Operation: 92-62=30, Resulting Numbers: [79, 2, 30]
Generated Node #0,4: 58:[79, 2, 30] Operation: 92-62=30
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[62, 2, 13], Operations: ['92-79=13']
Exploring Operation: 62/2=31, Resulting Numbers: [13, 31]
Generated Node #0,2,0: 58:[13, 31] Operation: 62/2=31
Exploring Operation: 13-2=11, Resulting Numbers: [62, 11]
Generated Node #0,2,1: 58:[62, 11] Operation: 13-2=11
Exploring Operation: 62-2=60, Resulting Numbers: [13, 60]
Generated Node #0,2,2: 58:[13, 60] Operation: 62-2=60
Exploring Operation: 2*13=26, Resulting Numbers: [62, 26]
Generated Node #0,2,3: 58:[62, 26] Operation: 2*13=26
Exploring Operation: 62-13=49, Resulting Numbers: [2, 49]
Generated Node #0,2,4: 58:[2, 49] Operation: 62-13=49
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 58:[62, 26], Operations: ['92-79=13', '2*13=26']
Exploring Operation: 62*26=1612, Resulting Numbers: [1612]
1612,58 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 62+26=88, Resulting Numbers: [88]
88,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 58:[2, 49], Operations: ['92-79=13', '62-13=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,58 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,58 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 58:[13, 31], Operations: ['92-79=13', '62/2=31']
Exploring Operation: 13*31=403, Resulting Numbers: [403]
403,58 unequal: No Solution
Exploring Operation: 13+31=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 58:[62, 11], Operations: ['92-79=13', '13-2=11']
Exploring Operation: 62+11=73, Resulting Numbers: [73]
73,58 unequal: No Solution
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,58 unequal: No Solution
Exploring Operation: 62*11=682, Resulting Numbers: [682]
682,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 58:[13, 60], Operations: ['92-79=13', '62-2=60']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,58 unequal: No Solution
Exploring Operation: 13*60=780, Resulting Numbers: [780]
780,58 unequal: No Solution
Exploring Operation: 13+60=73, Resulting Numbers: [73]
73,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 58:[79, 2, 30], Operations: ['92-62=30']
Exploring Operation: 2*30=60, Resulting Numbers: [79, 60]
Generated Node #0,4,0: 58:[79, 60] Operation: 2*30=60
Exploring Operation: 79-2=77, Resulting Numbers: [30, 77]
Generated Node #0,4,1: 58:[30, 77] Operation: 79-2=77
Exploring Operation: 30-2=28, Resulting Numbers: [79, 28]
Generated Node #0,4,2: 58:[79, 28] Operation: 30-2=28
Exploring Operation: 79+2=81, Resulting Numbers: [30, 81]
Generated Node #0,4,3: 58:[30, 81] Operation: 79+2=81
Exploring Operation: 79-30=49, Resulting Numbers: [2, 49]
Generated Node #0,4,4: 58:[2, 49] Operation: 79-30=49
Moving to Node #0,4,4
Current State: 58:[2, 49], Operations: ['92-62=30', '79-30=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,58 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,58 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,58 unequal: No Solution
Moving to Node #0,4,1
Current State: 58:[30, 77], Operations: ['92-62=30', '79-2=77']
Exploring Operation: 30*77=2310, Resulting Numbers: [2310]
2310,58 unequal: No Solution
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,58 unequal: No Solution
Exploring Operation: 30+77=107, Resulting Numbers: [107]
107,58 unequal: No Solution
Moving to Node #0,4,2
Current State: 58:[79, 28], Operations: ['92-62=30', '30-2=28']
Exploring Operation: 79*28=2212, Resulting Numbers: [2212]
2212,58 unequal: No Solution
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,58 unequal: No Solution
Exploring Operation: 79+28=107, Resulting Numbers: [107]
107,58 unequal: No Solution
Moving to Node #0,4,0
Current State: 58:[79, 60], Operations: ['92-62=30', '2*30=60']
Exploring Operation: 79+60=139, Resulting Numbers: [139]
139,58 unequal: No Solution
Exploring Operation: 79-60=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 79*60=4740, Resulting Numbers: [4740]
4740,58 unequal: No Solution
Moving to Node #0,4,3
Current State: 58:[30, 81], Operations: ['92-62=30', '79+2=81']
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,58 unequal: No Solution
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,58 unequal: No Solution
Exploring Operation: 30*81=2430, Resulting Numbers: [2430]
2430,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[62, 79, 46], Operations: ['92/2=46']
Exploring Operation: 79-62=17, Resulting Numbers: [46, 17]
Generated Node #0,0,0: 58:[46, 17] Operation: 79-62=17
Exploring Operation: 62+46=108, Resulting Numbers: [79, 108]
Generated Node #0,0,1: 58:[79, 108] Operation: 62+46=108
Exploring Operation: 62-46=16, Resulting Numbers: [79, 16]
Generated Node #0,0,2: 58:[79, 16] Operation: 62-46=16
Exploring Operation: 79+46=125, Resulting Numbers: [62, 125]
Generated Node #0,0,3: 58:[62, 125] Operation: 79+46=125
Exploring Operation: 79-46=33, Resulting Numbers: [62, 33]
Generated Node #0,0,4: 58:[62, 33] Operation: 79-46=33
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 58:[62, 33], Operations: ['92/2=46', '79-46=33']
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,58 unequal: No Solution
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[46, 17], Operations: ['92/2=46', '79-62=17']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 46+17=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Exploring Operation: 46*17=782, Resulting Numbers: [782]
782,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 58:[79, 16], Operations: ['92/2=46', '62-46=16']
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Exploring Operation: 79+16=95, Resulting Numbers: [95]
95,58 unequal: No Solution
Exploring Operation: 79*16=1264, Resulting Numbers: [1264]
1264,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 58:[79, 108], Operations: ['92/2=46', '62+46=108']
Exploring Operation: 79+108=187, Resulting Numbers: [187]
187,58 unequal: No Solution
Exploring Operation: 108-79=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 79*108=8532, Resulting Numbers: [8532]
8532,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 58:[62, 125], Operations: ['92/2=46', '79+46=125']
Exploring Operation: 62+125=187, Resulting Numbers: [187]
187,58 unequal: No Solution
Exploring Operation: 62*125=7750, Resulting Numbers: [7750]
7750,58 unequal: No Solution
Exploring Operation: 125-62=63, Resulting Numbers: [63]
63,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[92, 2, 17], Operations: ['79-62=17']
Exploring Operation: 92-17=75, Resulting Numbers: [2, 75]
Generated Node #0,1,0: 58:[2, 75] Operation: 92-17=75
Exploring Operation: 92/2=46, Resulting Numbers: [17, 46]
Generated Node #0,1,1: 58:[17, 46] Operation: 92/2=46
Exploring Operation: 92-2=90, Resulting Numbers: [17, 90]
Generated Node #0,1,2: 58:[17, 90] Operation: 92-2=90
Exploring Operation: 2+17=19, Resulting Numbers: [92, 19]
Generated Node #0,1,3: 58:[92, 19] Operation: 2+17=19
Exploring Operation: 2*17=34, Resulting Numbers: [92, 34]
Generated Node #0,1,4: 58:[92, 34] Operation: 2*17=34
Moving to Node #0,1,0
Current State: 58:[2, 75], Operations: ['79-62=17', '92-17=75']
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,58 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,58 unequal: No Solution
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[17, 46], Operations: ['79-62=17', '92/2=46']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,58 unequal: No Solution
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Moving to Node #0,1,4
Current State: 58:[92, 34], Operations: ['79-62=17', '2*17=34']
Exploring Operation: 92+34=126, Resulting Numbers: [126]
126,58 unequal: No Solution
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[62, 92, 79, 2], Operations: []
Exploring Operation: 79-62=17, Resulting Numbers: [92, 2, 17]
Generated Node #0,1: 58:[92, 2, 17] Operation: 79-62=17
Moving to Node #0,1
Current State: 58:[92, 2, 17], Operations: ['79-62=17']
Exploring Operation: 2*17=34, Resulting Numbers: [92, 34]
Generated Node #0,1,4: 58:[92, 34] Operation: 2*17=34
Moving to Node #0,1,4
Current State: 58:[92, 34], Operations: ['79-62=17', '2*17=34']
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.928819 | hs_5 | sum_heuristic |
[
80,
51,
4,
66
] | 91 | [
"80-51=29",
"66-4=62",
"29+62=91"
] | Current State: 91:[80, 51, 4, 66], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [4, 66, 29]
Generated Node #2: [4, 66, 29] from Operation: 80-51=29
Current State: 91:[4, 66, 29], Operations: ['80-51=29']
Exploring Operation: 66-4=62, Resulting Numbers: [29, 62]
Generated Node #3: [29, 62] from Operation: 66-4=62
Current State: 91:[29, 62], Operations: ['80-51=29', '66-4=62']
Exploring Operation: 29+62=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[80, 51, 4, 66], Operations: []
Exploring Operation: 66-51=15, Resulting Numbers: [80, 4, 15]
Generated Node #0,0: 91:[80, 4, 15] Operation: 66-51=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[80, 4, 15], Operations: ['66-51=15']
Exploring Operation: 80+15=95, Resulting Numbers: [4, 95]
Generated Node #0,0,0: 91:[4, 95] Operation: 80+15=95
Moving to Node #0,0,0
Current State: 91:[4, 95], Operations: ['66-51=15', '80+15=95']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[80, 51, 4, 66], Operations: []
Exploring Operation: 66-51=15, Resulting Numbers: [80, 4, 15]
Generated Node #0,0: 91:[80, 4, 15] Operation: 66-51=15
Moving to Node #0,0
Current State: 91:[80, 4, 15], Operations: ['66-51=15']
Exploring Operation: 80+15=95, Resulting Numbers: [4, 95]
Generated Node #0,0,0: 91:[4, 95] Operation: 80+15=95
Moving to Node #0,0,0
Current State: 91:[4, 95], Operations: ['66-51=15', '80+15=95']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
49,
42,
17,
19
] | 46 | [
"49+19=68",
"68/17=4",
"42+4=46"
] | Current State: 46:[49, 42, 17, 19], Operations: []
Exploring Operation: 49+19=68, Resulting Numbers: [42, 17, 68]
Generated Node #2: [42, 17, 68] from Operation: 49+19=68
Current State: 46:[42, 17, 68], Operations: ['49+19=68']
Exploring Operation: 68/17=4, Resulting Numbers: [42, 4]
Generated Node #3: [42, 4] from Operation: 68/17=4
Current State: 46:[42, 4], Operations: ['49+19=68', '68/17=4']
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[49, 42, 17, 19], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [49, 42, 2]
Generated Node #0,0: 46:[49, 42, 2] Operation: 19-17=2
Exploring Operation: 42-17=25, Resulting Numbers: [49, 19, 25]
Generated Node #0,1: 46:[49, 19, 25] Operation: 42-17=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[49, 42, 2], Operations: ['19-17=2']
Exploring Operation: 49-2=47, Resulting Numbers: [42, 47]
Generated Node #0,0,0: 46:[42, 47] Operation: 49-2=47
Exploring Operation: 49-42=7, Resulting Numbers: [2, 7]
Generated Node #0,0,1: 46:[2, 7] Operation: 49-42=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[42, 47], Operations: ['19-17=2', '49-2=47']
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[2, 7], Operations: ['19-17=2', '49-42=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[49, 19, 25], Operations: ['42-17=25']
Exploring Operation: 49-25=24, Resulting Numbers: [19, 24]
Generated Node #0,1,0: 46:[19, 24] Operation: 49-25=24
Exploring Operation: 19+25=44, Resulting Numbers: [49, 44]
Generated Node #0,1,1: 46:[49, 44] Operation: 19+25=44
Moving to Node #0,1,0
Current State: 46:[19, 24], Operations: ['42-17=25', '49-25=24']
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,46 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[49, 44], Operations: ['42-17=25', '19+25=44']
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 49+44=93, Resulting Numbers: [93]
93,46 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 |
[
37,
23,
22,
98
] | 60 | [
"37+23=60",
"22+98=120",
"120-60=60"
] | Current State: 60:[37, 23, 22, 98], Operations: []
Exploring Operation: 37+23=60, Resulting Numbers: [22, 98, 60]
Generated Node #2: [22, 98, 60] from Operation: 37+23=60
Current State: 60:[22, 98, 60], Operations: ['37+23=60']
Exploring Operation: 22+98=120, Resulting Numbers: [60, 120]
Generated Node #3: [60, 120] from Operation: 22+98=120
Current State: 60:[60, 120], Operations: ['37+23=60', '22+98=120']
Exploring Operation: 120-60=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[37, 23, 22, 98], Operations: []
Exploring Operation: 37+23=60, Resulting Numbers: [22, 98, 60]
Generated Node #0,0: 60:[22, 98, 60] Operation: 37+23=60
Exploring Operation: 37-23=14, Resulting Numbers: [22, 98, 14]
Generated Node #0,1: 60:[22, 98, 14] Operation: 37-23=14
Exploring Operation: 98-22=76, Resulting Numbers: [37, 23, 76]
Generated Node #0,2: 60:[37, 23, 76] Operation: 98-22=76
Exploring Operation: 98-37=61, Resulting Numbers: [23, 22, 61]
Generated Node #0,3: 60:[23, 22, 61] Operation: 98-37=61
Exploring Operation: 98-23=75, Resulting Numbers: [37, 22, 75]
Generated Node #0,4: 60:[37, 22, 75] Operation: 98-23=75
Moving to Node #0,3
Current State: 60:[23, 22, 61], Operations: ['98-37=61']
Exploring Operation: 23-22=1, Resulting Numbers: [61, 1]
Generated Node #0,3,0: 60:[61, 1] Operation: 23-22=1
Exploring Operation: 23+61=84, Resulting Numbers: [22, 84]
Generated Node #0,3,1: 60:[22, 84] Operation: 23+61=84
Exploring Operation: 61-22=39, Resulting Numbers: [23, 39]
Generated Node #0,3,2: 60:[23, 39] Operation: 61-22=39
Exploring Operation: 23+22=45, Resulting Numbers: [61, 45]
Generated Node #0,3,3: 60:[61, 45] Operation: 23+22=45
Exploring Operation: 61-23=38, Resulting Numbers: [22, 38]
Generated Node #0,3,4: 60:[22, 38] Operation: 61-23=38
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 60:[61, 1], Operations: ['98-37=61', '23-22=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,60 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[37, 23, 22, 98], Operations: []
Exploring Operation: 98-37=61, Resulting Numbers: [23, 22, 61]
Generated Node #0,3: 60:[23, 22, 61] Operation: 98-37=61
Moving to Node #0,3
Current State: 60:[23, 22, 61], Operations: ['98-37=61']
Exploring Operation: 23-22=1, Resulting Numbers: [61, 1]
Generated Node #0,3,0: 60:[61, 1] Operation: 23-22=1
Moving to Node #0,3,0
Current State: 60:[61, 1], Operations: ['98-37=61', '23-22=1']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
69,
9,
15,
58
] | 35 | [
"69+9=78",
"58-15=43",
"78-43=35"
] | Current State: 35:[69, 9, 15, 58], Operations: []
Exploring Operation: 69+9=78, Resulting Numbers: [15, 58, 78]
Generated Node #2: [15, 58, 78] from Operation: 69+9=78
Current State: 35:[15, 58, 78], Operations: ['69+9=78']
Exploring Operation: 58-15=43, Resulting Numbers: [78, 43]
Generated Node #3: [78, 43] from Operation: 58-15=43
Current State: 35:[78, 43], Operations: ['69+9=78', '58-15=43']
Exploring Operation: 78-43=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[69, 9, 15, 58], Operations: []
Exploring Operation: 69-15=54, Resulting Numbers: [9, 58, 54]
Generated Node #0,0: 35:[9, 58, 54] Operation: 69-15=54
Exploring Operation: 58-15=43, Resulting Numbers: [69, 9, 43]
Generated Node #0,1: 35:[69, 9, 43] Operation: 58-15=43
Exploring Operation: 69-58=11, Resulting Numbers: [9, 15, 11]
Generated Node #0,2: 35:[9, 15, 11] Operation: 69-58=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[9, 15, 11], Operations: ['69-58=11']
Exploring Operation: 11-9=2, Resulting Numbers: [15, 2]
Generated Node #0,2,0: 35:[15, 2] Operation: 11-9=2
Exploring Operation: 15-11=4, Resulting Numbers: [9, 4]
Generated Node #0,2,1: 35:[9, 4] Operation: 15-11=4
Exploring Operation: 15-9=6, Resulting Numbers: [11, 6]
Generated Node #0,2,2: 35:[11, 6] Operation: 15-9=6
Moving to Node #0,2,1
Current State: 35:[9, 4], Operations: ['69-58=11', '15-11=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,35 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[11, 6], Operations: ['69-58=11', '15-9=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[15, 2], Operations: ['69-58=11', '11-9=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[9, 58, 54], Operations: ['69-15=54']
Exploring Operation: 58-54=4, Resulting Numbers: [9, 4]
Generated Node #0,0,0: 35:[9, 4] Operation: 58-54=4
Exploring Operation: 54/9=6, Resulting Numbers: [58, 6]
Generated Node #0,0,1: 35:[58, 6] Operation: 54/9=6
Exploring Operation: 58-9=49, Resulting Numbers: [54, 49]
Generated Node #0,0,2: 35:[54, 49] Operation: 58-9=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[9, 4], Operations: ['69-15=54', '58-54=4']
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[58, 6], Operations: ['69-15=54', '54/9=6']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,35 unequal: No Solution
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 35:[54, 49], Operations: ['69-15=54', '58-9=49']
Exploring Operation: 54*49=2646, Resulting Numbers: [2646]
2646,35 unequal: No Solution
Exploring Operation: 54+49=103, Resulting Numbers: [103]
103,35 unequal: No Solution
Exploring Operation: 54-49=5, Resulting Numbers: [5]
5,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[69, 9, 43], Operations: ['58-15=43']
Exploring Operation: 43-9=34, Resulting Numbers: [69, 34]
Generated Node #0,1,0: 35:[69, 34] Operation: 43-9=34
Exploring Operation: 69-43=26, Resulting Numbers: [9, 26]
Generated Node #0,1,1: 35:[9, 26] Operation: 69-43=26
Exploring Operation: 69-9=60, Resulting Numbers: [43, 60]
Generated Node #0,1,2: 35:[43, 60] Operation: 69-9=60
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 35:[9, 26], Operations: ['58-15=43', '69-43=26']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,35 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[69, 9, 15, 58], Operations: []
Exploring Operation: 58-15=43, Resulting Numbers: [69, 9, 43]
Generated Node #0,1: 35:[69, 9, 43] Operation: 58-15=43
Moving to Node #0,1
Current State: 35:[69, 9, 43], Operations: ['58-15=43']
Exploring Operation: 69-43=26, Resulting Numbers: [9, 26]
Generated Node #0,1,1: 35:[9, 26] Operation: 69-43=26
Moving to Node #0,1,1
Current State: 35:[9, 26], Operations: ['58-15=43', '69-43=26']
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_3 | mult_heuristic |
[
2,
54,
57,
26
] | 84 | [
"2+26=28",
"57-54=3",
"28*3=84"
] | Current State: 84:[2, 54, 57, 26], Operations: []
Exploring Operation: 2+26=28, Resulting Numbers: [54, 57, 28]
Generated Node #2: [54, 57, 28] from Operation: 2+26=28
Current State: 84:[54, 57, 28], Operations: ['2+26=28']
Exploring Operation: 57-54=3, Resulting Numbers: [28, 3]
Generated Node #3: [28, 3] from Operation: 57-54=3
Current State: 84:[28, 3], Operations: ['2+26=28', '57-54=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[2, 54, 57, 26], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [2, 26, 3]
Generated Node #0,0: 84:[2, 26, 3] Operation: 57-54=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[2, 26, 3], Operations: ['57-54=3']
Exploring Operation: 2+26=28, Resulting Numbers: [3, 28]
Generated Node #0,0,0: 84:[3, 28] Operation: 2+26=28
Moving to Node #0,0,0
Current State: 84:[3, 28], Operations: ['57-54=3', '2+26=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[2, 54, 57, 26], Operations: []
Exploring Operation: 57-54=3, Resulting Numbers: [2, 26, 3]
Generated Node #0,0: 84:[2, 26, 3] Operation: 57-54=3
Moving to Node #0,0
Current State: 84:[2, 26, 3], Operations: ['57-54=3']
Exploring Operation: 2+26=28, Resulting Numbers: [3, 28]
Generated Node #0,0,0: 84:[3, 28] Operation: 2+26=28
Moving to Node #0,0,0
Current State: 84:[3, 28], Operations: ['57-54=3', '2+26=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
83,
20,
26,
71
] | 72 | [
"83-71=12",
"26-20=6",
"12*6=72"
] | Current State: 72:[83, 20, 26, 71], Operations: []
Exploring Operation: 83-71=12, Resulting Numbers: [20, 26, 12]
Generated Node #2: [20, 26, 12] from Operation: 83-71=12
Current State: 72:[20, 26, 12], Operations: ['83-71=12']
Exploring Operation: 26-20=6, Resulting Numbers: [12, 6]
Generated Node #3: [12, 6] from Operation: 26-20=6
Current State: 72:[12, 6], Operations: ['83-71=12', '26-20=6']
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[83, 20, 26, 71], Operations: []
Exploring Operation: 83-20=63, Resulting Numbers: [26, 71, 63]
Generated Node #0,0: 72:[26, 71, 63] Operation: 83-20=63
Exploring Operation: 26-20=6, Resulting Numbers: [83, 71, 6]
Generated Node #0,1: 72:[83, 71, 6] Operation: 26-20=6
Exploring Operation: 83-71=12, Resulting Numbers: [20, 26, 12]
Generated Node #0,2: 72:[20, 26, 12] Operation: 83-71=12
Exploring Operation: 83-26=57, Resulting Numbers: [20, 71, 57]
Generated Node #0,3: 72:[20, 71, 57] Operation: 83-26=57
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[20, 26, 12], Operations: ['83-71=12']
Exploring Operation: 20-12=8, Resulting Numbers: [26, 8]
Generated Node #0,2,0: 72:[26, 8] Operation: 20-12=8
Exploring Operation: 26+12=38, Resulting Numbers: [20, 38]
Generated Node #0,2,1: 72:[20, 38] Operation: 26+12=38
Exploring Operation: 26-20=6, Resulting Numbers: [12, 6]
Generated Node #0,2,2: 72:[12, 6] Operation: 26-20=6
Exploring Operation: 26-12=14, Resulting Numbers: [20, 14]
Generated Node #0,2,3: 72:[20, 14] Operation: 26-12=14
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 72:[12, 6], Operations: ['83-71=12', '26-20=6']
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[83, 20, 26, 71], Operations: []
Exploring Operation: 83-71=12, Resulting Numbers: [20, 26, 12]
Generated Node #0,2: 72:[20, 26, 12] Operation: 83-71=12
Moving to Node #0,2
Current State: 72:[20, 26, 12], Operations: ['83-71=12']
Exploring Operation: 26-20=6, Resulting Numbers: [12, 6]
Generated Node #0,2,2: 72:[12, 6] Operation: 26-20=6
Moving to Node #0,2,2
Current State: 72:[12, 6], Operations: ['83-71=12', '26-20=6']
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
86,
18,
28,
19
] | 76 | [
"28-19=9",
"18*9=162",
"162-86=76"
] | Current State: 76:[86, 18, 28, 19], Operations: []
Exploring Operation: 28-19=9, Resulting Numbers: [86, 18, 9]
Generated Node #2: [86, 18, 9] from Operation: 28-19=9
Current State: 76:[86, 18, 9], Operations: ['28-19=9']
Exploring Operation: 18*9=162, Resulting Numbers: [86, 162]
Generated Node #3: [86, 162] from Operation: 18*9=162
Current State: 76:[86, 162], Operations: ['28-19=9', '18*9=162']
Exploring Operation: 162-86=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[86, 18, 28, 19], Operations: []
Exploring Operation: 28-18=10, Resulting Numbers: [86, 19, 10]
Generated Node #0,0: 76:[86, 19, 10] Operation: 28-18=10
Moving to Node #0,0
Current State: 76:[86, 19, 10], Operations: ['28-18=10']
Exploring Operation: 86-10=76, Resulting Numbers: [19, 76]
Generated Node #0,0,0: 76:[19, 76] Operation: 86-10=76
Moving to Node #0,0,0
Current State: 76:[19, 76], Operations: ['28-18=10', '86-10=76']
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,76 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
36,
41,
26,
37
] | 39 | [
"41+37=78",
"78/26=3",
"36+3=39"
] | Current State: 39:[36, 41, 26, 37], Operations: []
Exploring Operation: 41+37=78, Resulting Numbers: [36, 26, 78]
Generated Node #2: [36, 26, 78] from Operation: 41+37=78
Current State: 39:[36, 26, 78], Operations: ['41+37=78']
Exploring Operation: 78/26=3, Resulting Numbers: [36, 3]
Generated Node #3: [36, 3] from Operation: 78/26=3
Current State: 39:[36, 3], Operations: ['41+37=78', '78/26=3']
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[36, 41, 26, 37], Operations: []
Exploring Operation: 36-26=10, Resulting Numbers: [41, 37, 10]
Generated Node #0,0: 39:[41, 37, 10] Operation: 36-26=10
Exploring Operation: 41-26=15, Resulting Numbers: [36, 37, 15]
Generated Node #0,1: 39:[36, 37, 15] Operation: 41-26=15
Exploring Operation: 37-26=11, Resulting Numbers: [36, 41, 11]
Generated Node #0,2: 39:[36, 41, 11] Operation: 37-26=11
Moving to Node #0,0
Current State: 39:[41, 37, 10], Operations: ['36-26=10']
Exploring Operation: 37+10=47, Resulting Numbers: [41, 47]
Generated Node #0,0,0: 39:[41, 47] Operation: 37+10=47
Exploring Operation: 41-37=4, Resulting Numbers: [10, 4]
Generated Node #0,0,1: 39:[10, 4] Operation: 41-37=4
Exploring Operation: 41-10=31, Resulting Numbers: [37, 31]
Generated Node #0,0,2: 39:[37, 31] Operation: 41-10=31
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[10, 4], Operations: ['36-26=10', '41-37=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[41, 47], Operations: ['36-26=10', '37+10=47']
Exploring Operation: 47-41=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 41*47=1927, Resulting Numbers: [1927]
1927,39 unequal: No Solution
Exploring Operation: 41+47=88, Resulting Numbers: [88]
88,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 39:[37, 31], Operations: ['36-26=10', '41-10=31']
Exploring Operation: 37+31=68, Resulting Numbers: [68]
68,39 unequal: No Solution
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 37*31=1147, Resulting Numbers: [1147]
1147,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 39:[36, 37, 15], Operations: ['41-26=15']
Exploring Operation: 37-36=1, Resulting Numbers: [15, 1]
Generated Node #0,1,0: 39:[15, 1] Operation: 37-36=1
Exploring Operation: 36-15=21, Resulting Numbers: [37, 21]
Generated Node #0,1,1: 39:[37, 21] Operation: 36-15=21
Exploring Operation: 37-15=22, Resulting Numbers: [36, 22]
Generated Node #0,1,2: 39:[36, 22] Operation: 37-15=22
Moving to Node #0,2
Current State: 39:[36, 41, 11], Operations: ['37-26=11']
Exploring Operation: 41-11=30, Resulting Numbers: [36, 30]
Generated Node #0,2,0: 39:[36, 30] Operation: 41-11=30
Exploring Operation: 41-36=5, Resulting Numbers: [11, 5]
Generated Node #0,2,1: 39:[11, 5] Operation: 41-36=5
Exploring Operation: 36+11=47, Resulting Numbers: [41, 47]
Generated Node #0,2,2: 39:[41, 47] Operation: 36+11=47
Moving to Node #0,1,0
Current State: 39:[15, 1], Operations: ['41-26=15', '37-36=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[11, 5], Operations: ['37-26=11', '41-36=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[41, 47], Operations: ['37-26=11', '36+11=47']
Exploring Operation: 41+47=88, Resulting Numbers: [88]
88,39 unequal: No Solution
Exploring Operation: 41*47=1927, Resulting Numbers: [1927]
1927,39 unequal: No Solution
Exploring Operation: 47-41=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[37, 21], Operations: ['41-26=15', '36-15=21']
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 37*21=777, Resulting Numbers: [777]
777,39 unequal: No Solution
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[36, 30], Operations: ['37-26=11', '41-11=30']
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 36*30=1080, Resulting Numbers: [1080]
1080,39 unequal: No Solution
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[36, 22], Operations: ['41-26=15', '37-15=22']
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,39 unequal: No Solution
Exploring Operation: 36*22=792, Resulting Numbers: [792]
792,39 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
73,
36,
33,
91
] | 54 | [
"91-73=18",
"36-33=3",
"18*3=54"
] | Current State: 54:[73, 36, 33, 91], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [36, 33, 18]
Generated Node #2: [36, 33, 18] from Operation: 91-73=18
Current State: 54:[36, 33, 18], Operations: ['91-73=18']
Exploring Operation: 36-33=3, Resulting Numbers: [18, 3]
Generated Node #3: [18, 3] from Operation: 36-33=3
Current State: 54:[18, 3], Operations: ['91-73=18', '36-33=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[73, 36, 33, 91], Operations: []
Exploring Operation: 73-36=37, Resulting Numbers: [33, 91, 37]
Generated Node #0,0: 54:[33, 91, 37] Operation: 73-36=37
Exploring Operation: 91-33=58, Resulting Numbers: [73, 36, 58]
Generated Node #0,1: 54:[73, 36, 58] Operation: 91-33=58
Exploring Operation: 91-73=18, Resulting Numbers: [36, 33, 18]
Generated Node #0,2: 54:[36, 33, 18] Operation: 91-73=18
Exploring Operation: 91-36=55, Resulting Numbers: [73, 33, 55]
Generated Node #0,3: 54:[73, 33, 55] Operation: 91-36=55
Moving to Node #0,2
Current State: 54:[36, 33, 18], Operations: ['91-73=18']
Exploring Operation: 36+18=54, Resulting Numbers: [33, 54]
Generated Node #0,2,0: 54:[33, 54] Operation: 36+18=54
Exploring Operation: 36/18=2, Resulting Numbers: [33, 2]
Generated Node #0,2,1: 54:[33, 2] Operation: 36/18=2
Exploring Operation: 36-33=3, Resulting Numbers: [18, 3]
Generated Node #0,2,2: 54:[18, 3] Operation: 36-33=3
Exploring Operation: 36-18=18, Resulting Numbers: [33, 18]
Generated Node #0,2,3: 54:[33, 18] Operation: 36-18=18
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[18, 3], Operations: ['91-73=18', '36-33=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[73, 36, 33, 91], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [36, 33, 18]
Generated Node #0,2: 54:[36, 33, 18] Operation: 91-73=18
Moving to Node #0,2
Current State: 54:[36, 33, 18], Operations: ['91-73=18']
Exploring Operation: 36-33=3, Resulting Numbers: [18, 3]
Generated Node #0,2,2: 54:[18, 3] Operation: 36-33=3
Moving to Node #0,2,2
Current State: 54:[18, 3], Operations: ['91-73=18', '36-33=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
29,
5,
79,
79
] | 13 | [
"29*5=145",
"79+79=158",
"158-145=13"
] | Current State: 13:[29, 5, 79, 79], Operations: []
Exploring Operation: 29*5=145, Resulting Numbers: [79, 79, 145]
Generated Node #2: [79, 79, 145] from Operation: 29*5=145
Current State: 13:[79, 79, 145], Operations: ['29*5=145']
Exploring Operation: 79+79=158, Resulting Numbers: [145, 158]
Generated Node #3: [145, 158] from Operation: 79+79=158
Current State: 13:[145, 158], Operations: ['29*5=145', '79+79=158']
Exploring Operation: 158-145=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[29, 5, 79, 79], Operations: []
Exploring Operation: 79-79=0, Resulting Numbers: [29, 5, 0]
Generated Node #0,0: 13:[29, 5, 0] Operation: 79-79=0
Exploring Operation: 79/79=1, Resulting Numbers: [29, 5, 1]
Generated Node #0,1: 13:[29, 5, 1] Operation: 79/79=1
Exploring Operation: 79-29=50, Resulting Numbers: [5, 79, 50]
Generated Node #0,2: 13:[5, 79, 50] Operation: 79-29=50
Exploring Operation: 79-29=50, Resulting Numbers: [5, 79, 50]
Generated Node #0,3: 13:[5, 79, 50] Operation: 79-29=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[29, 5, 1], Operations: ['79/79=1']
Exploring Operation: 29*1=29, Resulting Numbers: [5, 29]
Generated Node #0,1,0: 13:[5, 29] Operation: 29*1=29
Exploring Operation: 29-1=28, Resulting Numbers: [5, 28]
Generated Node #0,1,1: 13:[5, 28] Operation: 29-1=28
Exploring Operation: 5+1=6, Resulting Numbers: [29, 6]
Generated Node #0,1,2: 13:[29, 6] Operation: 5+1=6
Exploring Operation: 29-5=24, Resulting Numbers: [1, 24]
Generated Node #0,1,3: 13:[1, 24] Operation: 29-5=24
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[5, 28], Operations: ['79/79=1', '29-1=28']
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,13 unequal: No Solution
No 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: 13:[29, 6], Operations: ['79/79=1', '5+1=6']
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,13 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,13 unequal: No Solution
No 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: 13:[1, 24], Operations: ['79/79=1', '29-5=24']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 1*24=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,13 unequal: No Solution
No 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: 13:[5, 29], Operations: ['79/79=1', '29*1=29']
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,13 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,13 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: 13:[29, 5, 0], Operations: ['79-79=0']
Exploring Operation: 29+0=29, Resulting Numbers: [5, 29]
Generated Node #0,0,0: 13:[5, 29] Operation: 29+0=29
Exploring Operation: 29-5=24, Resulting Numbers: [0, 24]
Generated Node #0,0,1: 13:[0, 24] Operation: 29-5=24
Exploring Operation: 29-0=29, Resulting Numbers: [5, 29]
Generated Node #0,0,2: 13:[5, 29] Operation: 29-0=29
Exploring Operation: 29*0=0, Resulting Numbers: [5, 0]
Generated Node #0,0,3: 13:[5, 0] Operation: 29*0=0
Moving to Node #0,0,3
Current State: 13:[5, 0], Operations: ['79-79=0', '29*0=0']
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[0, 24], Operations: ['79-79=0', '29-5=24']
Exploring Operation: 24-0=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 0*24=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 0+24=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[5, 29], Operations: ['79-79=0', '29+0=29']
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,13 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[5, 29], Operations: ['79-79=0', '29-0=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[5, 79, 50], Operations: ['79-29=50']
Exploring Operation: 79-50=29, Resulting Numbers: [5, 29]
Generated Node #0,2,0: 13:[5, 29] Operation: 79-50=29
Exploring Operation: 50-5=45, Resulting Numbers: [79, 45]
Generated Node #0,2,1: 13:[79, 45] Operation: 50-5=45
Exploring Operation: 79-5=74, Resulting Numbers: [50, 74]
Generated Node #0,2,2: 13:[50, 74] Operation: 79-5=74
Exploring Operation: 50/5=10, Resulting Numbers: [79, 10]
Generated Node #0,2,3: 13:[79, 10] Operation: 50/5=10
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[5, 29], Operations: ['79-29=50', '79-50=29']
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,13 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,13 unequal: No Solution
No 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: 13:[79, 10], Operations: ['79-29=50', '50/5=10']
Exploring Operation: 79+10=89, Resulting Numbers: [89]
89,13 unequal: No Solution
Exploring Operation: 79*10=790, Resulting Numbers: [790]
790,13 unequal: No Solution
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,13 unequal: No Solution
No 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: 13:[79, 45], Operations: ['79-29=50', '50-5=45']
Exploring Operation: 79-45=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 79*45=3555, Resulting Numbers: [3555]
3555,13 unequal: No Solution
Exploring Operation: 79+45=124, Resulting Numbers: [124]
124,13 unequal: No Solution
No 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: 13:[50, 74], Operations: ['79-29=50', '79-5=74']
Exploring Operation: 50*74=3700, Resulting Numbers: [3700]
3700,13 unequal: No Solution
Exploring Operation: 50+74=124, Resulting Numbers: [124]
124,13 unequal: No Solution
Exploring Operation: 74-50=24, Resulting Numbers: [24]
24,13 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: 13:[5, 79, 50], Operations: ['79-29=50']
Exploring Operation: 50/5=10, Resulting Numbers: [79, 10]
Generated Node #0,3,0: 13:[79, 10] Operation: 50/5=10
Exploring Operation: 79-50=29, Resulting Numbers: [5, 29]
Generated Node #0,3,1: 13:[5, 29] Operation: 79-50=29
Exploring Operation: 79-5=74, Resulting Numbers: [50, 74]
Generated Node #0,3,2: 13:[50, 74] Operation: 79-5=74
Exploring Operation: 50-5=45, Resulting Numbers: [79, 45]
Generated Node #0,3,3: 13:[79, 45] Operation: 50-5=45
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 13:[5, 29], Operations: ['79-29=50', '79-50=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,13 unequal: No Solution
No 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: 13:[79, 10], Operations: ['79-29=50', '50/5=10']
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,13 unequal: No Solution
Exploring Operation: 79+10=89, Resulting Numbers: [89]
89,13 unequal: No Solution
Exploring Operation: 79*10=790, Resulting Numbers: [790]
790,13 unequal: No Solution
No 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: 13:[50, 74], Operations: ['79-29=50', '79-5=74']
Exploring Operation: 74-50=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 50+74=124, Resulting Numbers: [124]
124,13 unequal: No Solution
Exploring Operation: 50*74=3700, Resulting Numbers: [3700]
3700,13 unequal: No Solution
No 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: 13:[79, 45], Operations: ['79-29=50', '50-5=45']
Exploring Operation: 79-45=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 79+45=124, Resulting Numbers: [124]
124,13 unequal: No Solution
Exploring Operation: 79*45=3555, Resulting Numbers: [3555]
3555,13 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 |
[
12,
62,
90,
40
] | 56 | [
"12+62=74",
"90+40=130",
"130-74=56"
] | Current State: 56:[12, 62, 90, 40], Operations: []
Exploring Operation: 12+62=74, Resulting Numbers: [90, 40, 74]
Generated Node #2: [90, 40, 74] from Operation: 12+62=74
Current State: 56:[90, 40, 74], Operations: ['12+62=74']
Exploring Operation: 90+40=130, Resulting Numbers: [74, 130]
Generated Node #3: [74, 130] from Operation: 90+40=130
Current State: 56:[74, 130], Operations: ['12+62=74', '90+40=130']
Exploring Operation: 130-74=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[12, 62, 90, 40], Operations: []
Exploring Operation: 90-40=50, Resulting Numbers: [12, 62, 50]
Generated Node #0,0: 56:[12, 62, 50] Operation: 90-40=50
Exploring Operation: 90-62=28, Resulting Numbers: [12, 40, 28]
Generated Node #0,1: 56:[12, 40, 28] Operation: 90-62=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[12, 62, 50], Operations: ['90-40=50']
Exploring Operation: 62-50=12, Resulting Numbers: [12, 12]
Generated Node #0,0,0: 56:[12, 12] Operation: 62-50=12
Exploring Operation: 62-12=50, Resulting Numbers: [50, 50]
Generated Node #0,0,1: 56:[50, 50] Operation: 62-12=50
Moving to Node #0,0,0
Current State: 56:[12, 12], Operations: ['90-40=50', '62-50=12']
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[50, 50], Operations: ['90-40=50', '62-12=50']
Exploring Operation: 50-50=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 50/50=1, Resulting Numbers: [1]
1,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[12, 40, 28], Operations: ['90-62=28']
Exploring Operation: 40-12=28, Resulting Numbers: [28, 28]
Generated Node #0,1,0: 56:[28, 28] Operation: 40-12=28
Exploring Operation: 12+40=52, Resulting Numbers: [28, 52]
Generated Node #0,1,1: 56:[28, 52] Operation: 12+40=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 56:[28, 28], Operations: ['90-62=28', '40-12=28']
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[12, 62, 90, 40], Operations: []
Exploring Operation: 90-62=28, Resulting Numbers: [12, 40, 28]
Generated Node #0,1: 56:[12, 40, 28] Operation: 90-62=28
Moving to Node #0,1
Current State: 56:[12, 40, 28], Operations: ['90-62=28']
Exploring Operation: 40-12=28, Resulting Numbers: [28, 28]
Generated Node #0,1,0: 56:[28, 28] Operation: 40-12=28
Moving to Node #0,1,0
Current State: 56:[28, 28], Operations: ['90-62=28', '40-12=28']
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
6,
11,
25,
9
] | 64 | [
"9-6=3",
"25*3=75",
"75-11=64"
] | Current State: 64:[6, 11, 25, 9], Operations: []
Exploring Operation: 9-6=3, Resulting Numbers: [11, 25, 3]
Generated Node #2: [11, 25, 3] from Operation: 9-6=3
Current State: 64:[11, 25, 3], Operations: ['9-6=3']
Exploring Operation: 25*3=75, Resulting Numbers: [11, 75]
Generated Node #3: [11, 75] from Operation: 25*3=75
Current State: 64:[11, 75], Operations: ['9-6=3', '25*3=75']
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[6, 11, 25, 9], Operations: []
Exploring Operation: 25-9=16, Resulting Numbers: [6, 11, 16]
Generated Node #0,0: 64:[6, 11, 16] Operation: 25-9=16
Exploring Operation: 25-6=19, Resulting Numbers: [11, 9, 19]
Generated Node #0,1: 64:[11, 9, 19] Operation: 25-6=19
Exploring Operation: 25-11=14, Resulting Numbers: [6, 9, 14]
Generated Node #0,2: 64:[6, 9, 14] Operation: 25-11=14
Exploring Operation: 6+25=31, Resulting Numbers: [11, 9, 31]
Generated Node #0,3: 64:[11, 9, 31] Operation: 6+25=31
Exploring Operation: 11+25=36, Resulting Numbers: [6, 9, 36]
Generated Node #0,4: 64:[6, 9, 36] Operation: 11+25=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[6, 11, 16], Operations: ['25-9=16']
Exploring Operation: 16-11=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 64:[6, 5] Operation: 16-11=5
Exploring Operation: 11-6=5, Resulting Numbers: [16, 5]
Generated Node #0,0,1: 64:[16, 5] Operation: 11-6=5
Exploring Operation: 6+11=17, Resulting Numbers: [16, 17]
Generated Node #0,0,2: 64:[16, 17] Operation: 6+11=17
Exploring Operation: 6*11=66, Resulting Numbers: [16, 66]
Generated Node #0,0,3: 64:[16, 66] Operation: 6*11=66
Exploring Operation: 16-6=10, Resulting Numbers: [11, 10]
Generated Node #0,0,4: 64:[11, 10] Operation: 16-6=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[16, 5], Operations: ['25-9=16', '11-6=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,64 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[16, 17], Operations: ['25-9=16', '6+11=17']
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 16+17=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 16*17=272, Resulting Numbers: [272]
272,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 64:[16, 66], Operations: ['25-9=16', '6*11=66']
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 16+66=82, Resulting Numbers: [82]
82,64 unequal: No Solution
Exploring Operation: 16*66=1056, Resulting Numbers: [1056]
1056,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[6, 5], Operations: ['25-9=16', '16-11=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 64:[11, 10], Operations: ['25-9=16', '16-6=10']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,64 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[6, 9, 14], Operations: ['25-11=14']
Exploring Operation: 14-6=8, Resulting Numbers: [9, 8]
Generated Node #0,2,0: 64:[9, 8] Operation: 14-6=8
Exploring Operation: 14-9=5, Resulting Numbers: [6, 5]
Generated Node #0,2,1: 64:[6, 5] Operation: 14-9=5
Exploring Operation: 6+14=20, Resulting Numbers: [9, 20]
Generated Node #0,2,2: 64:[9, 20] Operation: 6+14=20
Exploring Operation: 9-6=3, Resulting Numbers: [14, 3]
Generated Node #0,2,3: 64:[14, 3] Operation: 9-6=3
Exploring Operation: 6+9=15, Resulting Numbers: [14, 15]
Generated Node #0,2,4: 64:[14, 15] Operation: 6+9=15
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 64:[9, 8], Operations: ['25-11=14', '14-6=8']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 64:[6, 5], Operations: ['25-11=14', '14-9=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 64:[14, 3], Operations: ['25-11=14', '9-6=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 64:[14, 15], Operations: ['25-11=14', '6+9=15']
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,64 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 64:[9, 20], Operations: ['25-11=14', '6+14=20']
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,64 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[11, 9, 31], Operations: ['6+25=31']
Exploring Operation: 11-9=2, Resulting Numbers: [31, 2]
Generated Node #0,3,0: 64:[31, 2] Operation: 11-9=2
Exploring Operation: 31-9=22, Resulting Numbers: [11, 22]
Generated Node #0,3,1: 64:[11, 22] Operation: 31-9=22
Exploring Operation: 11+9=20, Resulting Numbers: [31, 20]
Generated Node #0,3,2: 64:[31, 20] Operation: 11+9=20
Exploring Operation: 31-11=20, Resulting Numbers: [9, 20]
Generated Node #0,3,3: 64:[9, 20] Operation: 31-11=20
Exploring Operation: 11+31=42, Resulting Numbers: [9, 42]
Generated Node #0,3,4: 64:[9, 42] Operation: 11+31=42
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 64:[31, 2], Operations: ['6+25=31', '11-9=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,64 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 64:[31, 20], Operations: ['6+25=31', '11+9=20']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 31+20=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 31*20=620, Resulting Numbers: [620]
620,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 64:[9, 20], Operations: ['6+25=31', '31-11=20']
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,64 unequal: No Solution
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 64:[11, 22], Operations: ['6+25=31', '31-9=22']
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 11*22=242, Resulting Numbers: [242]
242,64 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 64:[9, 42], Operations: ['6+25=31', '11+31=42']
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,64 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[11, 9, 19], Operations: ['25-6=19']
Exploring Operation: 19-9=10, Resulting Numbers: [11, 10]
Generated Node #0,1,0: 64:[11, 10] Operation: 19-9=10
Exploring Operation: 11-9=2, Resulting Numbers: [19, 2]
Generated Node #0,1,1: 64:[19, 2] Operation: 11-9=2
Exploring Operation: 11+19=30, Resulting Numbers: [9, 30]
Generated Node #0,1,2: 64:[9, 30] Operation: 11+19=30
Exploring Operation: 11+9=20, Resulting Numbers: [19, 20]
Generated Node #0,1,3: 64:[19, 20] Operation: 11+9=20
Exploring Operation: 19-11=8, Resulting Numbers: [9, 8]
Generated Node #0,1,4: 64:[9, 8] Operation: 19-11=8
Moving to Node #0,1,4
Current State: 64:[9, 8], Operations: ['25-6=19', '19-11=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[9, 30], Operations: ['25-6=19', '11+19=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[19, 2], Operations: ['25-6=19', '11-9=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[11, 10], Operations: ['25-6=19', '19-9=10']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,64 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[19, 20], Operations: ['25-6=19', '11+9=20']
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 64:[6, 9, 36], Operations: ['11+25=36']
Exploring Operation: 36/9=4, Resulting Numbers: [6, 4]
Generated Node #0,4,0: 64:[6, 4] Operation: 36/9=4
Exploring Operation: 6+9=15, Resulting Numbers: [36, 15]
Generated Node #0,4,1: 64:[36, 15] Operation: 6+9=15
Exploring Operation: 36/6=6, Resulting Numbers: [9, 6]
Generated Node #0,4,2: 64:[9, 6] Operation: 36/6=6
Exploring Operation: 9-6=3, Resulting Numbers: [36, 3]
Generated Node #0,4,3: 64:[36, 3] Operation: 9-6=3
Exploring Operation: 36-6=30, Resulting Numbers: [9, 30]
Generated Node #0,4,4: 64:[9, 30] Operation: 36-6=30
Moving to Node #0,4,0
Current State: 64:[6, 4], Operations: ['11+25=36', '36/9=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Moving to Node #0,4,4
Current State: 64:[9, 30], Operations: ['11+25=36', '36-6=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,64 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Moving to Node #0,4,2
Current State: 64:[9, 6], Operations: ['11+25=36', '36/6=6']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Moving to Node #0,4,1
Current State: 64:[36, 15], Operations: ['11+25=36', '6+9=15']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 36*15=540, Resulting Numbers: [540]
540,64 unequal: No Solution
Moving to Node #0,4,3
Current State: 64:[36, 3], Operations: ['11+25=36', '9-6=3']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 36*3=108, Resulting Numbers: [108]
108,64 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,64 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 |
[
1,
61,
60,
66
] | 66 | [
"1*61=61",
"61-60=1",
"66*1=66"
] | Current State: 66:[1, 61, 60, 66], Operations: []
Exploring Operation: 1*61=61, Resulting Numbers: [60, 66, 61]
Generated Node #2: [60, 66, 61] from Operation: 1*61=61
Current State: 66:[60, 66, 61], Operations: ['1*61=61']
Exploring Operation: 61-60=1, Resulting Numbers: [66, 1]
Generated Node #3: [66, 1] from Operation: 61-60=1
Current State: 66:[66, 1], Operations: ['1*61=61', '61-60=1']
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[1, 61, 60, 66], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [1, 61, 6]
Generated Node #0,0: 66:[1, 61, 6] Operation: 66-60=6
Exploring Operation: 61-60=1, Resulting Numbers: [1, 66, 1]
Generated Node #0,1: 66:[1, 66, 1] Operation: 61-60=1
Moving to Node #0,1
Current State: 66:[1, 66, 1], Operations: ['61-60=1']
Exploring Operation: 1*66=66, Resulting Numbers: [1, 66]
Generated Node #0,1,0: 66:[1, 66] Operation: 1*66=66
Exploring Operation: 1+1=2, Resulting Numbers: [66, 2]
Generated Node #0,1,1: 66:[66, 2] Operation: 1+1=2
Moving to Node #0,0
Current State: 66:[1, 61, 6], Operations: ['66-60=6']
Exploring Operation: 1+61=62, Resulting Numbers: [6, 62]
Generated Node #0,0,0: 66:[6, 62] Operation: 1+61=62
Exploring Operation: 61+6=67, Resulting Numbers: [1, 67]
Generated Node #0,0,1: 66:[1, 67] Operation: 61+6=67
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[1, 67], Operations: ['66-60=6', '61+6=67']
Exploring Operation: 1*67=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[1, 61, 60, 66], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [1, 61, 6]
Generated Node #0,0: 66:[1, 61, 6] Operation: 66-60=6
Moving to Node #0,0
Current State: 66:[1, 61, 6], Operations: ['66-60=6']
Exploring Operation: 61+6=67, Resulting Numbers: [1, 67]
Generated Node #0,0,1: 66:[1, 67] Operation: 61+6=67
Moving to Node #0,0,1
Current State: 66:[1, 67], Operations: ['66-60=6', '61+6=67']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
20,
96,
23,
62
] | 77 | [
"20+96=116",
"62-23=39",
"116-39=77"
] | Current State: 77:[20, 96, 23, 62], Operations: []
Exploring Operation: 20+96=116, Resulting Numbers: [23, 62, 116]
Generated Node #2: [23, 62, 116] from Operation: 20+96=116
Current State: 77:[23, 62, 116], Operations: ['20+96=116']
Exploring Operation: 62-23=39, Resulting Numbers: [116, 39]
Generated Node #3: [116, 39] from Operation: 62-23=39
Current State: 77:[116, 39], Operations: ['20+96=116', '62-23=39']
Exploring Operation: 116-39=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[20, 96, 23, 62], Operations: []
Exploring Operation: 20+62=82, Resulting Numbers: [96, 23, 82]
Generated Node #0,0: 77:[96, 23, 82] Operation: 20+62=82
Exploring Operation: 96-23=73, Resulting Numbers: [20, 62, 73]
Generated Node #0,1: 77:[20, 62, 73] Operation: 96-23=73
Exploring Operation: 96-20=76, Resulting Numbers: [23, 62, 76]
Generated Node #0,2: 77:[23, 62, 76] Operation: 96-20=76
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[20, 62, 73], Operations: ['96-23=73']
Exploring Operation: 73-62=11, Resulting Numbers: [20, 11]
Generated Node #0,1,0: 77:[20, 11] Operation: 73-62=11
Exploring Operation: 20+73=93, Resulting Numbers: [62, 93]
Generated Node #0,1,1: 77:[62, 93] Operation: 20+73=93
Exploring Operation: 20+62=82, Resulting Numbers: [73, 82]
Generated Node #0,1,2: 77:[73, 82] Operation: 20+62=82
Moving to Node #0,1,0
Current State: 77:[20, 11], Operations: ['96-23=73', '73-62=11']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,77 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[73, 82], Operations: ['96-23=73', '20+62=82']
Exploring Operation: 73+82=155, Resulting Numbers: [155]
155,77 unequal: No Solution
Exploring Operation: 73*82=5986, Resulting Numbers: [5986]
5986,77 unequal: No Solution
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[62, 93], Operations: ['96-23=73', '20+73=93']
Exploring Operation: 62*93=5766, Resulting Numbers: [5766]
5766,77 unequal: No Solution
Exploring Operation: 62+93=155, Resulting Numbers: [155]
155,77 unequal: No Solution
Exploring Operation: 93-62=31, Resulting Numbers: [31]
31,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[23, 62, 76], Operations: ['96-20=76']
Exploring Operation: 23+62=85, Resulting Numbers: [76, 85]
Generated Node #0,2,0: 77:[76, 85] Operation: 23+62=85
Exploring Operation: 76-62=14, Resulting Numbers: [23, 14]
Generated Node #0,2,1: 77:[23, 14] Operation: 76-62=14
Exploring Operation: 62-23=39, Resulting Numbers: [76, 39]
Generated Node #0,2,2: 77:[76, 39] Operation: 62-23=39
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 77:[76, 85], Operations: ['96-20=76', '23+62=85']
Exploring Operation: 76*85=6460, Resulting Numbers: [6460]
6460,77 unequal: No Solution
Exploring Operation: 85-76=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 76+85=161, Resulting Numbers: [161]
161,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 77:[23, 14], Operations: ['96-20=76', '76-62=14']
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,77 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 77:[76, 39], Operations: ['96-20=76', '62-23=39']
Exploring Operation: 76-39=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 76+39=115, Resulting Numbers: [115]
115,77 unequal: No Solution
Exploring Operation: 76*39=2964, Resulting Numbers: [2964]
2964,77 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: 77:[96, 23, 82], Operations: ['20+62=82']
Exploring Operation: 96-82=14, Resulting Numbers: [23, 14]
Generated Node #0,0,0: 77:[23, 14] Operation: 96-82=14
Exploring Operation: 82-23=59, Resulting Numbers: [96, 59]
Generated Node #0,0,1: 77:[96, 59] Operation: 82-23=59
Exploring Operation: 96-23=73, Resulting Numbers: [82, 73]
Generated Node #0,0,2: 77:[82, 73] Operation: 96-23=73
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 77:[82, 73], Operations: ['20+62=82', '96-23=73']
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 82*73=5986, Resulting Numbers: [5986]
5986,77 unequal: No Solution
Exploring Operation: 82+73=155, Resulting Numbers: [155]
155,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[23, 14], Operations: ['20+62=82', '96-82=14']
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,77 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[96, 59], Operations: ['20+62=82', '82-23=59']
Exploring Operation: 96+59=155, Resulting Numbers: [155]
155,77 unequal: No Solution
Exploring Operation: 96-59=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 96*59=5664, Resulting Numbers: [5664]
5664,77 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 |
[
85,
72,
74,
2
] | 81 | [
"85+72=157",
"74+2=76",
"157-76=81"
] | Current State: 81:[85, 72, 74, 2], Operations: []
Exploring Operation: 85+72=157, Resulting Numbers: [74, 2, 157]
Generated Node #2: [74, 2, 157] from Operation: 85+72=157
Current State: 81:[74, 2, 157], Operations: ['85+72=157']
Exploring Operation: 74+2=76, Resulting Numbers: [157, 76]
Generated Node #3: [157, 76] from Operation: 74+2=76
Current State: 81:[157, 76], Operations: ['85+72=157', '74+2=76']
Exploring Operation: 157-76=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[85, 72, 74, 2], Operations: []
Exploring Operation: 85-74=11, Resulting Numbers: [72, 2, 11]
Generated Node #0,0: 81:[72, 2, 11] Operation: 85-74=11
Exploring Operation: 85-2=83, Resulting Numbers: [72, 74, 83]
Generated Node #0,1: 81:[72, 74, 83] Operation: 85-2=83
Exploring Operation: 85-72=13, Resulting Numbers: [74, 2, 13]
Generated Node #0,2: 81:[74, 2, 13] Operation: 85-72=13
Exploring Operation: 72+2=74, Resulting Numbers: [85, 74, 74]
Generated Node #0,3: 81:[85, 74, 74] Operation: 72+2=74
Exploring Operation: 74-72=2, Resulting Numbers: [85, 2, 2]
Generated Node #0,4: 81:[85, 2, 2] Operation: 74-72=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 81:[85, 2, 2], Operations: ['74-72=2']
Exploring Operation: 85-2=83, Resulting Numbers: [2, 83]
Generated Node #0,4,0: 81:[2, 83] Operation: 85-2=83
Exploring Operation: 2+2=4, Resulting Numbers: [85, 4]
Generated Node #0,4,1: 81:[85, 4] Operation: 2+2=4
Exploring Operation: 2*2=4, Resulting Numbers: [85, 4]
Generated Node #0,4,2: 81:[85, 4] Operation: 2*2=4
Exploring Operation: 85-2=83, Resulting Numbers: [2, 83]
Generated Node #0,4,3: 81:[2, 83] Operation: 85-2=83
Exploring Operation: 2/2=1, Resulting Numbers: [85, 1]
Generated Node #0,4,4: 81:[85, 1] Operation: 2/2=1
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 81:[2, 83], Operations: ['74-72=2', '85-2=83']
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,81 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[85, 72, 74, 2], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [85, 2, 2]
Generated Node #0,4: 81:[85, 2, 2] Operation: 74-72=2
Moving to Node #0,4
Current State: 81:[85, 2, 2], Operations: ['74-72=2']
Exploring Operation: 85-2=83, Resulting Numbers: [2, 83]
Generated Node #0,4,0: 81:[2, 83] Operation: 85-2=83
Moving to Node #0,4,0
Current State: 81:[2, 83], Operations: ['74-72=2', '85-2=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
13,
16,
2,
85
] | 41 | [
"16-13=3",
"85-3=82",
"82/2=41"
] | Current State: 41:[13, 16, 2, 85], Operations: []
Exploring Operation: 16-13=3, Resulting Numbers: [2, 85, 3]
Generated Node #2: [2, 85, 3] from Operation: 16-13=3
Current State: 41:[2, 85, 3], Operations: ['16-13=3']
Exploring Operation: 85-3=82, Resulting Numbers: [2, 82]
Generated Node #3: [2, 82] from Operation: 85-3=82
Current State: 41:[2, 82], Operations: ['16-13=3', '85-3=82']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[13, 16, 2, 85], Operations: []
Exploring Operation: 13*2=26, Resulting Numbers: [16, 85, 26]
Generated Node #0,0: 41:[16, 85, 26] Operation: 13*2=26
Exploring Operation: 16*2=32, Resulting Numbers: [13, 85, 32]
Generated Node #0,1: 41:[13, 85, 32] Operation: 16*2=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[13, 85, 32], Operations: ['16*2=32']
Exploring Operation: 85-13=72, Resulting Numbers: [32, 72]
Generated Node #0,1,0: 41:[32, 72] Operation: 85-13=72
Exploring Operation: 85-32=53, Resulting Numbers: [13, 53]
Generated Node #0,1,1: 41:[13, 53] Operation: 85-32=53
Moving to Node #0,1,0
Current State: 41:[32, 72], Operations: ['16*2=32', '85-13=72']
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 32+72=104, Resulting Numbers: [104]
104,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[13, 53], Operations: ['16*2=32', '85-32=53']
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,0
Current State: 41:[16, 85, 26], Operations: ['13*2=26']
Exploring Operation: 85-26=59, Resulting Numbers: [16, 59]
Generated Node #0,0,0: 41:[16, 59] Operation: 85-26=59
Exploring Operation: 85-16=69, Resulting Numbers: [26, 69]
Generated Node #0,0,1: 41:[26, 69] Operation: 85-16=69
Moving to Node #0,0,0
Current State: 41:[16, 59], Operations: ['13*2=26', '85-26=59']
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 16+59=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[26, 69], Operations: ['13*2=26', '85-16=69']
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 26+69=95, Resulting Numbers: [95]
95,41 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 |
[
57,
30,
9,
79
] | 82 | [
"57-30=27",
"27/9=3",
"79+3=82"
] | Current State: 82:[57, 30, 9, 79], Operations: []
Exploring Operation: 57-30=27, Resulting Numbers: [9, 79, 27]
Generated Node #2: [9, 79, 27] from Operation: 57-30=27
Current State: 82:[9, 79, 27], Operations: ['57-30=27']
Exploring Operation: 27/9=3, Resulting Numbers: [79, 3]
Generated Node #3: [79, 3] from Operation: 27/9=3
Current State: 82:[79, 3], Operations: ['57-30=27', '27/9=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[57, 30, 9, 79], Operations: []
Exploring Operation: 57-9=48, Resulting Numbers: [30, 79, 48]
Generated Node #0,0: 82:[30, 79, 48] Operation: 57-9=48
Exploring Operation: 57-30=27, Resulting Numbers: [9, 79, 27]
Generated Node #0,1: 82:[9, 79, 27] Operation: 57-30=27
Exploring Operation: 57+30=87, Resulting Numbers: [9, 79, 87]
Generated Node #0,2: 82:[9, 79, 87] Operation: 57+30=87
Exploring Operation: 30+9=39, Resulting Numbers: [57, 79, 39]
Generated Node #0,3: 82:[57, 79, 39] Operation: 30+9=39
Exploring Operation: 57+9=66, Resulting Numbers: [30, 79, 66]
Generated Node #0,4: 82:[30, 79, 66] Operation: 57+9=66
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[9, 79, 87], Operations: ['57+30=87']
Exploring Operation: 79-9=70, Resulting Numbers: [87, 70]
Generated Node #0,2,0: 82:[87, 70] Operation: 79-9=70
Exploring Operation: 9+87=96, Resulting Numbers: [79, 96]
Generated Node #0,2,1: 82:[79, 96] Operation: 9+87=96
Exploring Operation: 87-79=8, Resulting Numbers: [9, 8]
Generated Node #0,2,2: 82:[9, 8] Operation: 87-79=8
Exploring Operation: 87-9=78, Resulting Numbers: [79, 78]
Generated Node #0,2,3: 82:[79, 78] Operation: 87-9=78
Exploring Operation: 9+79=88, Resulting Numbers: [87, 88]
Generated Node #0,2,4: 82:[87, 88] Operation: 9+79=88
Moving to Node #0,2,3
Current State: 82:[79, 78], Operations: ['57+30=87', '87-9=78']
Exploring Operation: 79*78=6162, Resulting Numbers: [6162]
6162,82 unequal: No Solution
Exploring Operation: 79+78=157, Resulting Numbers: [157]
157,82 unequal: No Solution
Exploring Operation: 79-78=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Moving to Node #0,2,4
Current State: 82:[87, 88], Operations: ['57+30=87', '9+79=88']
Exploring Operation: 87*88=7656, Resulting Numbers: [7656]
7656,82 unequal: No Solution
Exploring Operation: 88-87=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 87+88=175, Resulting Numbers: [175]
175,82 unequal: No Solution
Moving to Node #0,2,2
Current State: 82:[9, 8], Operations: ['57+30=87', '87-79=8']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[87, 70], Operations: ['57+30=87', '79-9=70']
Exploring Operation: 87+70=157, Resulting Numbers: [157]
157,82 unequal: No Solution
Exploring Operation: 87-70=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 87*70=6090, Resulting Numbers: [6090]
6090,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[79, 96], Operations: ['57+30=87', '9+87=96']
Exploring Operation: 79*96=7584, Resulting Numbers: [7584]
7584,82 unequal: No Solution
Exploring Operation: 96-79=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 79+96=175, Resulting Numbers: [175]
175,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[30, 79, 48], Operations: ['57-9=48']
Exploring Operation: 30+79=109, Resulting Numbers: [48, 109]
Generated Node #0,0,0: 82:[48, 109] Operation: 30+79=109
Exploring Operation: 30+48=78, Resulting Numbers: [79, 78]
Generated Node #0,0,1: 82:[79, 78] Operation: 30+48=78
Exploring Operation: 79-30=49, Resulting Numbers: [48, 49]
Generated Node #0,0,2: 82:[48, 49] Operation: 79-30=49
Exploring Operation: 79-48=31, Resulting Numbers: [30, 31]
Generated Node #0,0,3: 82:[30, 31] Operation: 79-48=31
Exploring Operation: 48-30=18, Resulting Numbers: [79, 18]
Generated Node #0,0,4: 82:[79, 18] Operation: 48-30=18
Moving to Node #0,0,1
Current State: 82:[79, 78], Operations: ['57-9=48', '30+48=78']
Exploring Operation: 79+78=157, Resulting Numbers: [157]
157,82 unequal: No Solution
Exploring Operation: 79-78=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 79*78=6162, Resulting Numbers: [6162]
6162,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[48, 49], Operations: ['57-9=48', '79-30=49']
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 48+49=97, Resulting Numbers: [97]
97,82 unequal: No Solution
Exploring Operation: 48*49=2352, Resulting Numbers: [2352]
2352,82 unequal: No Solution
Moving to Node #0,0,4
Current State: 82:[79, 18], Operations: ['57-9=48', '48-30=18']
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,82 unequal: No Solution
Exploring Operation: 79*18=1422, Resulting Numbers: [1422]
1422,82 unequal: No Solution
Exploring Operation: 79+18=97, Resulting Numbers: [97]
97,82 unequal: No Solution
Moving to Node #0,0,3
Current State: 82:[30, 31], Operations: ['57-9=48', '79-48=31']
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,82 unequal: No Solution
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[48, 109], Operations: ['57-9=48', '30+79=109']
Exploring Operation: 48+109=157, Resulting Numbers: [157]
157,82 unequal: No Solution
Exploring Operation: 109-48=61, Resulting Numbers: [61]
61,82 unequal: No Solution
Exploring Operation: 48*109=5232, Resulting Numbers: [5232]
5232,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[57, 79, 39], Operations: ['30+9=39']
Exploring Operation: 79-39=40, Resulting Numbers: [57, 40]
Generated Node #0,3,0: 82:[57, 40] Operation: 79-39=40
Exploring Operation: 79+39=118, Resulting Numbers: [57, 118]
Generated Node #0,3,1: 82:[57, 118] Operation: 79+39=118
Exploring Operation: 57+39=96, Resulting Numbers: [79, 96]
Generated Node #0,3,2: 82:[79, 96] Operation: 57+39=96
Exploring Operation: 79-57=22, Resulting Numbers: [39, 22]
Generated Node #0,3,3: 82:[39, 22] Operation: 79-57=22
Exploring Operation: 57-39=18, Resulting Numbers: [79, 18]
Generated Node #0,3,4: 82:[79, 18] Operation: 57-39=18
Moving to Node #0,3,0
Current State: 82:[57, 40], Operations: ['30+9=39', '79-39=40']
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 57*40=2280, Resulting Numbers: [2280]
2280,82 unequal: No Solution
Exploring Operation: 57+40=97, Resulting Numbers: [97]
97,82 unequal: No Solution
Moving to Node #0,3,2
Current State: 82:[79, 96], Operations: ['30+9=39', '57+39=96']
Exploring Operation: 96-79=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 79*96=7584, Resulting Numbers: [7584]
7584,82 unequal: No Solution
Exploring Operation: 79+96=175, Resulting Numbers: [175]
175,82 unequal: No Solution
Moving to Node #0,3,4
Current State: 82:[79, 18], Operations: ['30+9=39', '57-39=18']
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,82 unequal: No Solution
Exploring Operation: 79*18=1422, Resulting Numbers: [1422]
1422,82 unequal: No Solution
Exploring Operation: 79+18=97, Resulting Numbers: [97]
97,82 unequal: No Solution
Moving to Node #0,3,3
Current State: 82:[39, 22], Operations: ['30+9=39', '79-57=22']
Exploring Operation: 39*22=858, Resulting Numbers: [858]
858,82 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 39+22=61, Resulting Numbers: [61]
61,82 unequal: No Solution
Moving to Node #0,3,1
Current State: 82:[57, 118], Operations: ['30+9=39', '79+39=118']
Exploring Operation: 57*118=6726, Resulting Numbers: [6726]
6726,82 unequal: No Solution
Exploring Operation: 118-57=61, Resulting Numbers: [61]
61,82 unequal: No Solution
Exploring Operation: 57+118=175, Resulting Numbers: [175]
175,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[9, 79, 27], Operations: ['57-30=27']
Exploring Operation: 27/9=3, Resulting Numbers: [79, 3]
Generated Node #0,1,0: 82:[79, 3] Operation: 27/9=3
Exploring Operation: 27-9=18, Resulting Numbers: [79, 18]
Generated Node #0,1,1: 82:[79, 18] Operation: 27-9=18
Exploring Operation: 9+27=36, Resulting Numbers: [79, 36]
Generated Node #0,1,2: 82:[79, 36] Operation: 9+27=36
Exploring Operation: 9+79=88, Resulting Numbers: [27, 88]
Generated Node #0,1,3: 82:[27, 88] Operation: 9+79=88
Exploring Operation: 79-27=52, Resulting Numbers: [9, 52]
Generated Node #0,1,4: 82:[9, 52] Operation: 79-27=52
Moving to Node #0,1,0
Current State: 82:[79, 3], Operations: ['57-30=27', '27/9=3']
Exploring Operation: 79*3=237, Resulting Numbers: [237]
237,82 unequal: No Solution
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[57, 30, 9, 79], Operations: []
Exploring Operation: 57-30=27, Resulting Numbers: [9, 79, 27]
Generated Node #0,1: 82:[9, 79, 27] Operation: 57-30=27
Moving to Node #0,1
Current State: 82:[9, 79, 27], Operations: ['57-30=27']
Exploring Operation: 27/9=3, Resulting Numbers: [79, 3]
Generated Node #0,1,0: 82:[79, 3] Operation: 27/9=3
Moving to Node #0,1,0
Current State: 82:[79, 3], Operations: ['57-30=27', '27/9=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.934028 | hs_5 | sum_heuristic |
[
32,
93,
42,
72
] | 60 | [
"93+42=135",
"32*135=4320",
"4320/72=60"
] | Current State: 60:[32, 93, 42, 72], Operations: []
Exploring Operation: 93+42=135, Resulting Numbers: [32, 72, 135]
Generated Node #2: [32, 72, 135] from Operation: 93+42=135
Current State: 60:[32, 72, 135], Operations: ['93+42=135']
Exploring Operation: 32*135=4320, Resulting Numbers: [72, 4320]
Generated Node #3: [72, 4320] from Operation: 32*135=4320
Current State: 60:[72, 4320], Operations: ['93+42=135', '32*135=4320']
Exploring Operation: 4320/72=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[32, 93, 42, 72], Operations: []
Exploring Operation: 93-72=21, Resulting Numbers: [32, 42, 21]
Generated Node #0,0: 60:[32, 42, 21] Operation: 93-72=21
Exploring Operation: 93-42=51, Resulting Numbers: [32, 72, 51]
Generated Node #0,1: 60:[32, 72, 51] Operation: 93-42=51
Exploring Operation: 93-32=61, Resulting Numbers: [42, 72, 61]
Generated Node #0,2: 60:[42, 72, 61] Operation: 93-32=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[32, 42, 21], Operations: ['93-72=21']
Exploring Operation: 42-21=21, Resulting Numbers: [32, 21]
Generated Node #0,0,0: 60:[32, 21] Operation: 42-21=21
Exploring Operation: 42-32=10, Resulting Numbers: [21, 10]
Generated Node #0,0,1: 60:[21, 10] Operation: 42-32=10
Exploring Operation: 42/21=2, Resulting Numbers: [32, 2]
Generated Node #0,0,2: 60:[32, 2] Operation: 42/21=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[21, 10], Operations: ['93-72=21', '42-32=10']
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,60 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 60:[32, 2], Operations: ['93-72=21', '42/21=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[32, 21], Operations: ['93-72=21', '42-21=21']
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,60 unequal: No Solution
Exploring Operation: 32*21=672, Resulting Numbers: [672]
672,60 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[32, 72, 51], Operations: ['93-42=51']
Exploring Operation: 72-51=21, Resulting Numbers: [32, 21]
Generated Node #0,1,0: 60:[32, 21] Operation: 72-51=21
Exploring Operation: 51-32=19, Resulting Numbers: [72, 19]
Generated Node #0,1,1: 60:[72, 19] Operation: 51-32=19
Exploring Operation: 72-32=40, Resulting Numbers: [51, 40]
Generated Node #0,1,2: 60:[51, 40] Operation: 72-32=40
Moving to Node #0,1,0
Current State: 60:[32, 21], Operations: ['93-42=51', '72-51=21']
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,60 unequal: No Solution
Exploring Operation: 32*21=672, Resulting Numbers: [672]
672,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[72, 19], Operations: ['93-42=51', '51-32=19']
Exploring Operation: 72*19=1368, Resulting Numbers: [1368]
1368,60 unequal: No Solution
Exploring Operation: 72+19=91, Resulting Numbers: [91]
91,60 unequal: No Solution
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[51, 40], Operations: ['93-42=51', '72-32=40']
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 51*40=2040, Resulting Numbers: [2040]
2040,60 unequal: No Solution
Exploring Operation: 51+40=91, Resulting Numbers: [91]
91,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[42, 72, 61], Operations: ['93-32=61']
Exploring Operation: 61-42=19, Resulting Numbers: [72, 19]
Generated Node #0,2,0: 60:[72, 19] Operation: 61-42=19
Exploring Operation: 72-61=11, Resulting Numbers: [42, 11]
Generated Node #0,2,1: 60:[42, 11] Operation: 72-61=11
Exploring Operation: 72-42=30, Resulting Numbers: [61, 30]
Generated Node #0,2,2: 60:[61, 30] Operation: 72-42=30
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[61, 30], Operations: ['93-32=61', '72-42=30']
Exploring Operation: 61+30=91, Resulting Numbers: [91]
91,60 unequal: No Solution
Exploring Operation: 61*30=1830, Resulting Numbers: [1830]
1830,60 unequal: No Solution
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[72, 19], Operations: ['93-32=61', '61-42=19']
Exploring Operation: 72+19=91, Resulting Numbers: [91]
91,60 unequal: No Solution
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,60 unequal: No Solution
Exploring Operation: 72*19=1368, Resulting Numbers: [1368]
1368,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[42, 11], Operations: ['93-32=61', '72-61=11']
Exploring Operation: 42+11=53, Resulting Numbers: [53]
53,60 unequal: No Solution
Exploring Operation: 42*11=462, Resulting Numbers: [462]
462,60 unequal: No Solution
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
4,
27,
12,
59
] | 28 | [
"4+59=63",
"12*63=756",
"756/27=28"
] | Current State: 28:[4, 27, 12, 59], Operations: []
Exploring Operation: 4+59=63, Resulting Numbers: [27, 12, 63]
Generated Node #2: [27, 12, 63] from Operation: 4+59=63
Current State: 28:[27, 12, 63], Operations: ['4+59=63']
Exploring Operation: 12*63=756, Resulting Numbers: [27, 756]
Generated Node #3: [27, 756] from Operation: 12*63=756
Current State: 28:[27, 756], Operations: ['4+59=63', '12*63=756']
Exploring Operation: 756/27=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[4, 27, 12, 59], Operations: []
Exploring Operation: 12-4=8, Resulting Numbers: [27, 59, 8]
Generated Node #0,0: 28:[27, 59, 8] Operation: 12-4=8
Exploring Operation: 59-27=32, Resulting Numbers: [4, 12, 32]
Generated Node #0,1: 28:[4, 12, 32] Operation: 59-27=32
Exploring Operation: 27-12=15, Resulting Numbers: [4, 59, 15]
Generated Node #0,2: 28:[4, 59, 15] Operation: 27-12=15
Exploring Operation: 59-4=55, Resulting Numbers: [27, 12, 55]
Generated Node #0,3: 28:[27, 12, 55] Operation: 59-4=55
Exploring Operation: 59-12=47, Resulting Numbers: [4, 27, 47]
Generated Node #0,4: 28:[4, 27, 47] Operation: 59-12=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[4, 12, 32], Operations: ['59-27=32']
Exploring Operation: 4+12=16, Resulting Numbers: [32, 16]
Generated Node #0,1,0: 28:[32, 16] Operation: 4+12=16
Exploring Operation: 32/4=8, Resulting Numbers: [12, 8]
Generated Node #0,1,1: 28:[12, 8] Operation: 32/4=8
Exploring Operation: 12-4=8, Resulting Numbers: [32, 8]
Generated Node #0,1,2: 28:[32, 8] Operation: 12-4=8
Exploring Operation: 32-4=28, Resulting Numbers: [12, 28]
Generated Node #0,1,3: 28:[12, 28] Operation: 32-4=28
Exploring Operation: 12/4=3, Resulting Numbers: [32, 3]
Generated Node #0,1,4: 28:[32, 3] Operation: 12/4=3
Moving to Node #0,1,3
Current State: 28:[12, 28], Operations: ['59-27=32', '32-4=28']
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,28 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[12, 8], Operations: ['59-27=32', '32/4=8']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,28 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[32, 8], Operations: ['59-27=32', '12-4=8']
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 32*8=256, Resulting Numbers: [256]
256,28 unequal: No Solution
Moving to Node #0,1,4
Current State: 28:[32, 3], Operations: ['59-27=32', '12/4=3']
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,28 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,28 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[32, 16], Operations: ['59-27=32', '4+12=16']
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,28 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 28:[4, 27, 47], Operations: ['59-12=47']
Exploring Operation: 27-4=23, Resulting Numbers: [47, 23]
Generated Node #0,4,0: 28:[47, 23] Operation: 27-4=23
Exploring Operation: 4+47=51, Resulting Numbers: [27, 51]
Generated Node #0,4,1: 28:[27, 51] Operation: 4+47=51
Exploring Operation: 47-4=43, Resulting Numbers: [27, 43]
Generated Node #0,4,2: 28:[27, 43] Operation: 47-4=43
Exploring Operation: 47-27=20, Resulting Numbers: [4, 20]
Generated Node #0,4,3: 28:[4, 20] Operation: 47-27=20
Exploring Operation: 4+27=31, Resulting Numbers: [47, 31]
Generated Node #0,4,4: 28:[47, 31] Operation: 4+27=31
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 28:[4, 20], Operations: ['59-12=47', '47-27=20']
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,28 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,28 unequal: No Solution
No 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: 28:[27, 43], Operations: ['59-12=47', '47-4=43']
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 27+43=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 27*43=1161, Resulting Numbers: [1161]
1161,28 unequal: No Solution
No 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: 28:[47, 31], Operations: ['59-12=47', '4+27=31']
Exploring Operation: 47*31=1457, Resulting Numbers: [1457]
1457,28 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,28 unequal: No Solution
No 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: 28:[47, 23], Operations: ['59-12=47', '27-4=23']
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 47*23=1081, Resulting Numbers: [1081]
1081,28 unequal: No Solution
Exploring Operation: 47+23=70, Resulting Numbers: [70]
70,28 unequal: No Solution
No 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: 28:[27, 51], Operations: ['59-12=47', '4+47=51']
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 27+51=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Exploring Operation: 27*51=1377, Resulting Numbers: [1377]
1377,28 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: 28:[27, 12, 55], Operations: ['59-4=55']
Exploring Operation: 55-12=43, Resulting Numbers: [27, 43]
Generated Node #0,3,0: 28:[27, 43] Operation: 55-12=43
Exploring Operation: 27-12=15, Resulting Numbers: [55, 15]
Generated Node #0,3,1: 28:[55, 15] Operation: 27-12=15
Exploring Operation: 27+12=39, Resulting Numbers: [55, 39]
Generated Node #0,3,2: 28:[55, 39] Operation: 27+12=39
Exploring Operation: 12+55=67, Resulting Numbers: [27, 67]
Generated Node #0,3,3: 28:[27, 67] Operation: 12+55=67
Exploring Operation: 55-27=28, Resulting Numbers: [12, 28]
Generated Node #0,3,4: 28:[12, 28] Operation: 55-27=28
Moving to Node #0,3,4
Current State: 28:[12, 28], Operations: ['59-4=55', '55-27=28']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,28 unequal: No Solution
Moving to Node #0,3,0
Current State: 28:[27, 43], Operations: ['59-4=55', '55-12=43']
Exploring Operation: 27*43=1161, Resulting Numbers: [1161]
1161,28 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 27+43=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Moving to Node #0,3,1
Current State: 28:[55, 15], Operations: ['59-4=55', '27-12=15']
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 55*15=825, Resulting Numbers: [825]
825,28 unequal: No Solution
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Moving to Node #0,3,2
Current State: 28:[55, 39], Operations: ['59-4=55', '27+12=39']
Exploring Operation: 55+39=94, Resulting Numbers: [94]
94,28 unequal: No Solution
Exploring Operation: 55*39=2145, Resulting Numbers: [2145]
2145,28 unequal: No Solution
Exploring Operation: 55-39=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Moving to Node #0,3,3
Current State: 28:[27, 67], Operations: ['59-4=55', '12+55=67']
Exploring Operation: 27*67=1809, Resulting Numbers: [1809]
1809,28 unequal: No Solution
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 27+67=94, Resulting Numbers: [94]
94,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[4, 59, 15], Operations: ['27-12=15']
Exploring Operation: 59-4=55, Resulting Numbers: [15, 55]
Generated Node #0,2,0: 28:[15, 55] Operation: 59-4=55
Exploring Operation: 4+59=63, Resulting Numbers: [15, 63]
Generated Node #0,2,1: 28:[15, 63] Operation: 4+59=63
Exploring Operation: 4+15=19, Resulting Numbers: [59, 19]
Generated Node #0,2,2: 28:[59, 19] Operation: 4+15=19
Exploring Operation: 15-4=11, Resulting Numbers: [59, 11]
Generated Node #0,2,3: 28:[59, 11] Operation: 15-4=11
Exploring Operation: 59-15=44, Resulting Numbers: [4, 44]
Generated Node #0,2,4: 28:[4, 44] Operation: 59-15=44
Moving to Node #0,2,4
Current State: 28:[4, 44], Operations: ['27-12=15', '59-15=44']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,28 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[15, 55], Operations: ['27-12=15', '59-4=55']
Exploring Operation: 15*55=825, Resulting Numbers: [825]
825,28 unequal: No Solution
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 15+55=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[59, 11], Operations: ['27-12=15', '15-4=11']
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,28 unequal: No Solution
Exploring Operation: 59+11=70, Resulting Numbers: [70]
70,28 unequal: No Solution
Exploring Operation: 59*11=649, Resulting Numbers: [649]
649,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[15, 63], Operations: ['27-12=15', '4+59=63']
Exploring Operation: 15+63=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Exploring Operation: 15*63=945, Resulting Numbers: [945]
945,28 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[59, 19], Operations: ['27-12=15', '4+15=19']
Exploring Operation: 59+19=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Exploring Operation: 59*19=1121, Resulting Numbers: [1121]
1121,28 unequal: No Solution
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[27, 59, 8], Operations: ['12-4=8']
Exploring Operation: 27+8=35, Resulting Numbers: [59, 35]
Generated Node #0,0,0: 28:[59, 35] Operation: 27+8=35
Exploring Operation: 27-8=19, Resulting Numbers: [59, 19]
Generated Node #0,0,1: 28:[59, 19] Operation: 27-8=19
Exploring Operation: 59+8=67, Resulting Numbers: [27, 67]
Generated Node #0,0,2: 28:[27, 67] Operation: 59+8=67
Exploring Operation: 59-8=51, Resulting Numbers: [27, 51]
Generated Node #0,0,3: 28:[27, 51] Operation: 59-8=51
Exploring Operation: 59-27=32, Resulting Numbers: [8, 32]
Generated Node #0,0,4: 28:[8, 32] Operation: 59-27=32
Moving to Node #0,0,4
Current State: 28:[8, 32], Operations: ['12-4=8', '59-27=32']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 8+32=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 8*32=256, Resulting Numbers: [256]
256,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[27, 51], Operations: ['12-4=8', '59-8=51']
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 27+51=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Exploring Operation: 27*51=1377, Resulting Numbers: [1377]
1377,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[59, 19], Operations: ['12-4=8', '27-8=19']
Exploring Operation: 59*19=1121, Resulting Numbers: [1121]
1121,28 unequal: No Solution
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 59+19=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[59, 35], Operations: ['12-4=8', '27+8=35']
Exploring Operation: 59+35=94, Resulting Numbers: [94]
94,28 unequal: No Solution
Exploring Operation: 59*35=2065, Resulting Numbers: [2065]
2065,28 unequal: No Solution
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[27, 67], Operations: ['12-4=8', '59+8=67']
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,28 unequal: No Solution
Exploring Operation: 27*67=1809, Resulting Numbers: [1809]
1809,28 unequal: No Solution
Exploring Operation: 27+67=94, Resulting Numbers: [94]
94,28 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 |
[
75,
49,
86,
72
] | 40 | [
"75-49=26",
"86-72=14",
"26+14=40"
] | Current State: 40:[75, 49, 86, 72], Operations: []
Exploring Operation: 75-49=26, Resulting Numbers: [86, 72, 26]
Generated Node #2: [86, 72, 26] from Operation: 75-49=26
Current State: 40:[86, 72, 26], Operations: ['75-49=26']
Exploring Operation: 86-72=14, Resulting Numbers: [26, 14]
Generated Node #3: [26, 14] from Operation: 86-72=14
Current State: 40:[26, 14], Operations: ['75-49=26', '86-72=14']
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[75, 49, 86, 72], Operations: []
Exploring Operation: 86-75=11, Resulting Numbers: [49, 72, 11]
Generated Node #0,0: 40:[49, 72, 11] Operation: 86-75=11
Exploring Operation: 86-72=14, Resulting Numbers: [75, 49, 14]
Generated Node #0,1: 40:[75, 49, 14] Operation: 86-72=14
Moving to Node #0,0
Current State: 40:[49, 72, 11], Operations: ['86-75=11']
Exploring Operation: 72-11=61, Resulting Numbers: [49, 61]
Generated Node #0,0,0: 40:[49, 61] Operation: 72-11=61
Exploring Operation: 72-49=23, Resulting Numbers: [11, 23]
Generated Node #0,0,1: 40:[11, 23] Operation: 72-49=23
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[11, 23], Operations: ['86-75=11', '72-49=23']
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,40 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[49, 61], Operations: ['86-75=11', '72-11=61']
Exploring Operation: 61-49=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 49+61=110, Resulting Numbers: [110]
110,40 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: 40:[75, 49, 14], Operations: ['86-72=14']
Exploring Operation: 75-49=26, Resulting Numbers: [14, 26]
Generated Node #0,1,0: 40:[14, 26] Operation: 75-49=26
Exploring Operation: 75-14=61, Resulting Numbers: [49, 61]
Generated Node #0,1,1: 40:[49, 61] Operation: 75-14=61
Moving to Node #0,1,0
Current State: 40:[14, 26], Operations: ['86-72=14', '75-49=26']
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[75, 49, 86, 72], Operations: []
Exploring Operation: 86-72=14, Resulting Numbers: [75, 49, 14]
Generated Node #0,1: 40:[75, 49, 14] Operation: 86-72=14
Moving to Node #0,1
Current State: 40:[75, 49, 14], Operations: ['86-72=14']
Exploring Operation: 75-49=26, Resulting Numbers: [14, 26]
Generated Node #0,1,0: 40:[14, 26] Operation: 75-49=26
Moving to Node #0,1,0
Current State: 40:[14, 26], Operations: ['86-72=14', '75-49=26']
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
85,
83,
93,
11
] | 69 | [
"83+93=176",
"176/11=16",
"85-16=69"
] | Current State: 69:[85, 83, 93, 11], Operations: []
Exploring Operation: 83+93=176, Resulting Numbers: [85, 11, 176]
Generated Node #2: [85, 11, 176] from Operation: 83+93=176
Current State: 69:[85, 11, 176], Operations: ['83+93=176']
Exploring Operation: 176/11=16, Resulting Numbers: [85, 16]
Generated Node #3: [85, 16] from Operation: 176/11=16
Current State: 69:[85, 16], Operations: ['83+93=176', '176/11=16']
Exploring Operation: 85-16=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[85, 83, 93, 11], Operations: []
Exploring Operation: 93-85=8, Resulting Numbers: [83, 11, 8]
Generated Node #0,0: 69:[83, 11, 8] Operation: 93-85=8
Exploring Operation: 85-83=2, Resulting Numbers: [93, 11, 2]
Generated Node #0,1: 69:[93, 11, 2] Operation: 85-83=2
Exploring Operation: 93-83=10, Resulting Numbers: [85, 11, 10]
Generated Node #0,2: 69:[85, 11, 10] Operation: 93-83=10
Moving to Node #0,0
Current State: 69:[83, 11, 8], Operations: ['93-85=8']
Exploring Operation: 11-8=3, Resulting Numbers: [83, 3]
Generated Node #0,0,0: 69:[83, 3] Operation: 11-8=3
Exploring Operation: 83-8=75, Resulting Numbers: [11, 75]
Generated Node #0,0,1: 69:[11, 75] Operation: 83-8=75
Exploring Operation: 83-11=72, Resulting Numbers: [8, 72]
Generated Node #0,0,2: 69:[8, 72] Operation: 83-11=72
Moving to Node #0,2
Current State: 69:[85, 11, 10], Operations: ['93-83=10']
Exploring Operation: 11+10=21, Resulting Numbers: [85, 21]
Generated Node #0,2,0: 69:[85, 21] Operation: 11+10=21
Exploring Operation: 85-10=75, Resulting Numbers: [11, 75]
Generated Node #0,2,1: 69:[11, 75] Operation: 85-10=75
Exploring Operation: 85-11=74, Resulting Numbers: [10, 74]
Generated Node #0,2,2: 69:[10, 74] Operation: 85-11=74
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 69:[10, 74], Operations: ['93-83=10', '85-11=74']
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Exploring Operation: 10*74=740, Resulting Numbers: [740]
740,69 unequal: No Solution
Exploring Operation: 10+74=84, Resulting Numbers: [84]
84,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[11, 75], Operations: ['93-83=10', '85-10=75']
Exploring Operation: 11+75=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 11*75=825, Resulting Numbers: [825]
825,69 unequal: No Solution
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 69:[85, 21], Operations: ['93-83=10', '11+10=21']
Exploring Operation: 85-21=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Exploring Operation: 85*21=1785, Resulting Numbers: [1785]
1785,69 unequal: No Solution
Exploring Operation: 85+21=106, Resulting Numbers: [106]
106,69 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: 69:[93, 11, 2], Operations: ['85-83=2']
Exploring Operation: 93-11=82, Resulting Numbers: [2, 82]
Generated Node #0,1,0: 69:[2, 82] Operation: 93-11=82
Exploring Operation: 11*2=22, Resulting Numbers: [93, 22]
Generated Node #0,1,1: 69:[93, 22] Operation: 11*2=22
Exploring Operation: 93-2=91, Resulting Numbers: [11, 91]
Generated Node #0,1,2: 69:[11, 91] Operation: 93-2=91
Moving to Node #0,0,2
Current State: 69:[8, 72], Operations: ['93-85=8', '83-11=72']
Exploring Operation: 8+72=80, Resulting Numbers: [80]
80,69 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[11, 75], Operations: ['93-85=8', '83-8=75']
Exploring Operation: 11+75=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 11*75=825, Resulting Numbers: [825]
825,69 unequal: No Solution
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[83, 3], Operations: ['93-85=8', '11-8=3']
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,69 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[2, 82], Operations: ['85-83=2', '93-11=82']
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,69 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,69 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[93, 22], Operations: ['85-83=2', '11*2=22']
Exploring Operation: 93*22=2046, Resulting Numbers: [2046]
2046,69 unequal: No Solution
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,69 unequal: No Solution
Exploring Operation: 93+22=115, Resulting Numbers: [115]
115,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[11, 91], Operations: ['85-83=2', '93-2=91']
Exploring Operation: 11*91=1001, Resulting Numbers: [1001]
1001,69 unequal: No Solution
Exploring Operation: 91-11=80, Resulting Numbers: [80]
80,69 unequal: No Solution
Exploring Operation: 11+91=102, Resulting Numbers: [102]
102,69 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
22,
49,
19,
29
] | 21 | [
"49-22=27",
"19+29=48",
"48-27=21"
] | Current State: 21:[22, 49, 19, 29], Operations: []
Exploring Operation: 49-22=27, Resulting Numbers: [19, 29, 27]
Generated Node #2: [19, 29, 27] from Operation: 49-22=27
Current State: 21:[19, 29, 27], Operations: ['49-22=27']
Exploring Operation: 19+29=48, Resulting Numbers: [27, 48]
Generated Node #3: [27, 48] from Operation: 19+29=48
Current State: 21:[27, 48], Operations: ['49-22=27', '19+29=48']
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[22, 49, 19, 29], Operations: []
Exploring Operation: 49-19=30, Resulting Numbers: [22, 29, 30]
Generated Node #0,0: 21:[22, 29, 30] Operation: 49-19=30
Exploring Operation: 49-29=20, Resulting Numbers: [22, 19, 20]
Generated Node #0,1: 21:[22, 19, 20] Operation: 49-29=20
Exploring Operation: 49-22=27, Resulting Numbers: [19, 29, 27]
Generated Node #0,2: 21:[19, 29, 27] Operation: 49-22=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[22, 19, 20], Operations: ['49-29=20']
Exploring Operation: 20-19=1, Resulting Numbers: [22, 1]
Generated Node #0,1,0: 21:[22, 1] Operation: 20-19=1
Exploring Operation: 22-20=2, Resulting Numbers: [19, 2]
Generated Node #0,1,1: 21:[19, 2] Operation: 22-20=2
Exploring Operation: 22-19=3, Resulting Numbers: [20, 3]
Generated Node #0,1,2: 21:[20, 3] Operation: 22-19=3
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 21:[20, 3], Operations: ['49-29=20', '22-19=3']
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,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:[22, 1], Operations: ['49-29=20', '20-19=1']
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[22, 49, 19, 29], Operations: []
Exploring Operation: 49-29=20, Resulting Numbers: [22, 19, 20]
Generated Node #0,1: 21:[22, 19, 20] Operation: 49-29=20
Moving to Node #0,1
Current State: 21:[22, 19, 20], Operations: ['49-29=20']
Exploring Operation: 20-19=1, Resulting Numbers: [22, 1]
Generated Node #0,1,0: 21:[22, 1] Operation: 20-19=1
Moving to Node #0,1,0
Current State: 21:[22, 1], Operations: ['49-29=20', '20-19=1']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
3,
58,
84,
9
] | 95 | [
"84/3=28",
"58+9=67",
"28+67=95"
] | Current State: 95:[3, 58, 84, 9], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [58, 9, 28]
Generated Node #2: [58, 9, 28] from Operation: 84/3=28
Current State: 95:[58, 9, 28], Operations: ['84/3=28']
Exploring Operation: 58+9=67, Resulting Numbers: [28, 67]
Generated Node #3: [28, 67] from Operation: 58+9=67
Current State: 95:[28, 67], Operations: ['84/3=28', '58+9=67']
Exploring Operation: 28+67=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[3, 58, 84, 9], Operations: []
Exploring Operation: 84-58=26, Resulting Numbers: [3, 9, 26]
Generated Node #0,0: 95:[3, 9, 26] Operation: 84-58=26
Moving to Node #0,0
Current State: 95:[3, 9, 26], Operations: ['84-58=26']
Exploring Operation: 26-9=17, Resulting Numbers: [3, 17]
Generated Node #0,0,0: 95:[3, 17] Operation: 26-9=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[3, 17], Operations: ['84-58=26', '26-9=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
87,
57,
13,
6
] | 37 | [
"87+57=144",
"144/6=24",
"13+24=37"
] | Current State: 37:[87, 57, 13, 6], Operations: []
Exploring Operation: 87+57=144, Resulting Numbers: [13, 6, 144]
Generated Node #2: [13, 6, 144] from Operation: 87+57=144
Current State: 37:[13, 6, 144], Operations: ['87+57=144']
Exploring Operation: 144/6=24, Resulting Numbers: [13, 24]
Generated Node #3: [13, 24] from Operation: 144/6=24
Current State: 37:[13, 24], Operations: ['87+57=144', '144/6=24']
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[87, 57, 13, 6], Operations: []
Exploring Operation: 87-6=81, Resulting Numbers: [57, 13, 81]
Generated Node #0,0: 37:[57, 13, 81] Operation: 87-6=81
Exploring Operation: 87-13=74, Resulting Numbers: [57, 6, 74]
Generated Node #0,1: 37:[57, 6, 74] Operation: 87-13=74
Exploring Operation: 87-57=30, Resulting Numbers: [13, 6, 30]
Generated Node #0,2: 37:[13, 6, 30] Operation: 87-57=30
Moving to Node #0,2
Current State: 37:[13, 6, 30], Operations: ['87-57=30']
Exploring Operation: 13-6=7, Resulting Numbers: [30, 7]
Generated Node #0,2,0: 37:[30, 7] Operation: 13-6=7
Exploring Operation: 13+6=19, Resulting Numbers: [30, 19]
Generated Node #0,2,1: 37:[30, 19] Operation: 13+6=19
Exploring Operation: 6+30=36, Resulting Numbers: [13, 36]
Generated Node #0,2,2: 37:[13, 36] Operation: 6+30=36
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[30, 19], Operations: ['87-57=30', '13+6=19']
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,37 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,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,2,2
Current State: 37:[13, 36], Operations: ['87-57=30', '6+30=36']
Exploring Operation: 13*36=468, Resulting Numbers: [468]
468,37 unequal: No Solution
Exploring Operation: 13+36=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,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,2,0
Current State: 37:[30, 7], Operations: ['87-57=30', '13-6=7']
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,37 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[87, 57, 13, 6], Operations: []
Exploring Operation: 87-57=30, Resulting Numbers: [13, 6, 30]
Generated Node #0,2: 37:[13, 6, 30] Operation: 87-57=30
Moving to Node #0,2
Current State: 37:[13, 6, 30], Operations: ['87-57=30']
Exploring Operation: 13-6=7, Resulting Numbers: [30, 7]
Generated Node #0,2,0: 37:[30, 7] Operation: 13-6=7
Moving to Node #0,2,0
Current State: 37:[30, 7], Operations: ['87-57=30', '13-6=7']
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
72,
21,
59,
25
] | 85 | [
"72-21=51",
"59-25=34",
"51+34=85"
] | Current State: 85:[72, 21, 59, 25], Operations: []
Exploring Operation: 72-21=51, Resulting Numbers: [59, 25, 51]
Generated Node #2: [59, 25, 51] from Operation: 72-21=51
Current State: 85:[59, 25, 51], Operations: ['72-21=51']
Exploring Operation: 59-25=34, Resulting Numbers: [51, 34]
Generated Node #3: [51, 34] from Operation: 59-25=34
Current State: 85:[51, 34], Operations: ['72-21=51', '59-25=34']
Exploring Operation: 51+34=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[72, 21, 59, 25], Operations: []
Exploring Operation: 59+25=84, Resulting Numbers: [72, 21, 84]
Generated Node #0,0: 85:[72, 21, 84] Operation: 59+25=84
Exploring Operation: 72-59=13, Resulting Numbers: [21, 25, 13]
Generated Node #0,1: 85:[21, 25, 13] Operation: 72-59=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[21, 25, 13], Operations: ['72-59=13']
Exploring Operation: 25-13=12, Resulting Numbers: [21, 12]
Generated Node #0,1,0: 85:[21, 12] Operation: 25-13=12
Exploring Operation: 25-21=4, Resulting Numbers: [13, 4]
Generated Node #0,1,1: 85:[13, 4] Operation: 25-21=4
Moving to Node #0,1,1
Current State: 85:[13, 4], Operations: ['72-59=13', '25-21=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[21, 12], Operations: ['72-59=13', '25-13=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,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,0
Current State: 85:[72, 21, 84], Operations: ['59+25=84']
Exploring Operation: 84-72=12, Resulting Numbers: [21, 12]
Generated Node #0,0,0: 85:[21, 12] Operation: 84-72=12
Exploring Operation: 72+21=93, Resulting Numbers: [84, 93]
Generated Node #0,0,1: 85:[84, 93] Operation: 72+21=93
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[21, 12], Operations: ['59+25=84', '84-72=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[84, 93], Operations: ['59+25=84', '72+21=93']
Exploring Operation: 93-84=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 84+93=177, Resulting Numbers: [177]
177,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
99,
23,
67,
76
] | 34 | [
"76-67=9",
"99/9=11",
"23+11=34"
] | Current State: 34:[99, 23, 67, 76], Operations: []
Exploring Operation: 76-67=9, Resulting Numbers: [99, 23, 9]
Generated Node #2: [99, 23, 9] from Operation: 76-67=9
Current State: 34:[99, 23, 9], Operations: ['76-67=9']
Exploring Operation: 99/9=11, Resulting Numbers: [23, 11]
Generated Node #3: [23, 11] from Operation: 99/9=11
Current State: 34:[23, 11], Operations: ['76-67=9', '99/9=11']
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[99, 23, 67, 76], Operations: []
Exploring Operation: 99-76=23, Resulting Numbers: [23, 67, 23]
Generated Node #0,0: 34:[23, 67, 23] Operation: 99-76=23
Exploring Operation: 67-23=44, Resulting Numbers: [99, 76, 44]
Generated Node #0,1: 34:[99, 76, 44] Operation: 67-23=44
Exploring Operation: 99-67=32, Resulting Numbers: [23, 76, 32]
Generated Node #0,2: 34:[23, 76, 32] Operation: 99-67=32
Exploring Operation: 99-23=76, Resulting Numbers: [67, 76, 76]
Generated Node #0,3: 34:[67, 76, 76] Operation: 99-23=76
Exploring Operation: 76-67=9, Resulting Numbers: [99, 23, 9]
Generated Node #0,4: 34:[99, 23, 9] Operation: 76-67=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[23, 67, 23], Operations: ['99-76=23']
Exploring Operation: 67-23=44, Resulting Numbers: [23, 44]
Generated Node #0,0,0: 34:[23, 44] Operation: 67-23=44
Exploring Operation: 67-23=44, Resulting Numbers: [23, 44]
Generated Node #0,0,1: 34:[23, 44] Operation: 67-23=44
Exploring Operation: 23-23=0, Resulting Numbers: [67, 0]
Generated Node #0,0,2: 34:[67, 0] Operation: 23-23=0
Exploring Operation: 23/23=1, Resulting Numbers: [67, 1]
Generated Node #0,0,3: 34:[67, 1] Operation: 23/23=1
Exploring Operation: 23+23=46, Resulting Numbers: [67, 46]
Generated Node #0,0,4: 34:[67, 46] Operation: 23+23=46
Moving to Node #0,0,0
Current State: 34:[23, 44], Operations: ['99-76=23', '67-23=44']
Exploring Operation: 23+44=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 23*44=1012, Resulting Numbers: [1012]
1012,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[23, 44], Operations: ['99-76=23', '67-23=44']
Exploring Operation: 23*44=1012, Resulting Numbers: [1012]
1012,34 unequal: No Solution
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 23+44=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[67, 1], Operations: ['99-76=23', '23/23=1']
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 67+1=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[67, 0], Operations: ['99-76=23', '23-23=0']
Exploring Operation: 67+0=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 67-0=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 67*0=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Moving to Node #0,0,4
Current State: 34:[67, 46], Operations: ['99-76=23', '23+23=46']
Exploring Operation: 67-46=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 67+46=113, Resulting Numbers: [113]
113,34 unequal: No Solution
Exploring Operation: 67*46=3082, Resulting Numbers: [3082]
3082,34 unequal: No Solution
No 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: 34:[23, 76, 32], Operations: ['99-67=32']
Exploring Operation: 23+32=55, Resulting Numbers: [76, 55]
Generated Node #0,2,0: 34:[76, 55] Operation: 23+32=55
Exploring Operation: 76-23=53, Resulting Numbers: [32, 53]
Generated Node #0,2,1: 34:[32, 53] Operation: 76-23=53
Exploring Operation: 32-23=9, Resulting Numbers: [76, 9]
Generated Node #0,2,2: 34:[76, 9] Operation: 32-23=9
Exploring Operation: 76-32=44, Resulting Numbers: [23, 44]
Generated Node #0,2,3: 34:[23, 44] Operation: 76-32=44
Exploring Operation: 23+76=99, Resulting Numbers: [32, 99]
Generated Node #0,2,4: 34:[32, 99] Operation: 23+76=99
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 34:[23, 44], Operations: ['99-67=32', '76-32=44']
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 23*44=1012, Resulting Numbers: [1012]
1012,34 unequal: No Solution
Exploring Operation: 23+44=67, Resulting Numbers: [67]
67,34 unequal: No Solution
No 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: 34:[32, 53], Operations: ['99-67=32', '76-23=53']
Exploring Operation: 32*53=1696, Resulting Numbers: [1696]
1696,34 unequal: No Solution
Exploring Operation: 53-32=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 32+53=85, Resulting Numbers: [85]
85,34 unequal: No Solution
No 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: 34:[76, 9], Operations: ['99-67=32', '32-23=9']
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,34 unequal: No Solution
Exploring Operation: 76*9=684, Resulting Numbers: [684]
684,34 unequal: No Solution
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,34 unequal: No Solution
No 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: 34:[76, 55], Operations: ['99-67=32', '23+32=55']
Exploring Operation: 76-55=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 76+55=131, Resulting Numbers: [131]
131,34 unequal: No Solution
Exploring Operation: 76*55=4180, Resulting Numbers: [4180]
4180,34 unequal: No Solution
No 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: 34:[32, 99], Operations: ['99-67=32', '23+76=99']
Exploring Operation: 32+99=131, Resulting Numbers: [131]
131,34 unequal: No Solution
Exploring Operation: 99-32=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 32*99=3168, Resulting Numbers: [3168]
3168,34 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: 34:[99, 23, 9], Operations: ['76-67=9']
Exploring Operation: 99-9=90, Resulting Numbers: [23, 90]
Generated Node #0,4,0: 34:[23, 90] Operation: 99-9=90
Exploring Operation: 23+9=32, Resulting Numbers: [99, 32]
Generated Node #0,4,1: 34:[99, 32] Operation: 23+9=32
Exploring Operation: 23-9=14, Resulting Numbers: [99, 14]
Generated Node #0,4,2: 34:[99, 14] Operation: 23-9=14
Exploring Operation: 99-23=76, Resulting Numbers: [9, 76]
Generated Node #0,4,3: 34:[9, 76] Operation: 99-23=76
Exploring Operation: 99/9=11, Resulting Numbers: [23, 11]
Generated Node #0,4,4: 34:[23, 11] Operation: 99/9=11
Moving to Node #0,4,4
Current State: 34:[23, 11], Operations: ['76-67=9', '99/9=11']
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,34 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[99, 23, 67, 76], Operations: []
Exploring Operation: 76-67=9, Resulting Numbers: [99, 23, 9]
Generated Node #0,4: 34:[99, 23, 9] Operation: 76-67=9
Moving to Node #0,4
Current State: 34:[99, 23, 9], Operations: ['76-67=9']
Exploring Operation: 99/9=11, Resulting Numbers: [23, 11]
Generated Node #0,4,4: 34:[23, 11] Operation: 99/9=11
Moving to Node #0,4,4
Current State: 34:[23, 11], Operations: ['76-67=9', '99/9=11']
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.950521 | hs_5 | sum_heuristic |
[
76,
29,
1,
68
] | 36 | [
"76+29=105",
"1+68=69",
"105-69=36"
] | Current State: 36:[76, 29, 1, 68], Operations: []
Exploring Operation: 76+29=105, Resulting Numbers: [1, 68, 105]
Generated Node #2: [1, 68, 105] from Operation: 76+29=105
Current State: 36:[1, 68, 105], Operations: ['76+29=105']
Exploring Operation: 1+68=69, Resulting Numbers: [105, 69]
Generated Node #3: [105, 69] from Operation: 1+68=69
Current State: 36:[105, 69], Operations: ['76+29=105', '1+68=69']
Exploring Operation: 105-69=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[76, 29, 1, 68], Operations: []
Exploring Operation: 29+1=30, Resulting Numbers: [76, 68, 30]
Generated Node #0,0: 36:[76, 68, 30] Operation: 29+1=30
Exploring Operation: 76-29=47, Resulting Numbers: [1, 68, 47]
Generated Node #0,1: 36:[1, 68, 47] Operation: 76-29=47
Exploring Operation: 76-68=8, Resulting Numbers: [29, 1, 8]
Generated Node #0,2: 36:[29, 1, 8] Operation: 76-68=8
Exploring Operation: 68-29=39, Resulting Numbers: [76, 1, 39]
Generated Node #0,3: 36:[76, 1, 39] Operation: 68-29=39
Exploring Operation: 76-1=75, Resulting Numbers: [29, 68, 75]
Generated Node #0,4: 36:[29, 68, 75] Operation: 76-1=75
Moving to Node #0,2
Current State: 36:[29, 1, 8], Operations: ['76-68=8']
Exploring Operation: 29+1=30, Resulting Numbers: [8, 30]
Generated Node #0,2,0: 36:[8, 30] Operation: 29+1=30
Exploring Operation: 29+8=37, Resulting Numbers: [1, 37]
Generated Node #0,2,1: 36:[1, 37] Operation: 29+8=37
Exploring Operation: 29*1=29, Resulting Numbers: [8, 29]
Generated Node #0,2,2: 36:[8, 29] Operation: 29*1=29
Exploring Operation: 1+8=9, Resulting Numbers: [29, 9]
Generated Node #0,2,3: 36:[29, 9] Operation: 1+8=9
Exploring Operation: 29-8=21, Resulting Numbers: [1, 21]
Generated Node #0,2,4: 36:[1, 21] Operation: 29-8=21
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[1, 37], Operations: ['76-68=8', '29+8=37']
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[76, 29, 1, 68], Operations: []
Exploring Operation: 76-68=8, Resulting Numbers: [29, 1, 8]
Generated Node #0,2: 36:[29, 1, 8] Operation: 76-68=8
Moving to Node #0,2
Current State: 36:[29, 1, 8], Operations: ['76-68=8']
Exploring Operation: 29+8=37, Resulting Numbers: [1, 37]
Generated Node #0,2,1: 36:[1, 37] Operation: 29+8=37
Moving to Node #0,2,1
Current State: 36:[1, 37], Operations: ['76-68=8', '29+8=37']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
30,
38,
87,
38
] | 19 | [
"30+38=68",
"87-38=49",
"68-49=19"
] | Current State: 19:[30, 38, 87, 38], Operations: []
Exploring Operation: 30+38=68, Resulting Numbers: [87, 68]
Generated Node #2: [87, 68] from Operation: 30+38=68
Current State: 19:[87, 68], Operations: ['30+38=68']
Exploring Operation: 87-38=49, Resulting Numbers: [68, 49]
Generated Node #3: [68, 49] from Operation: 87-38=49
Current State: 19:[68, 49], Operations: ['30+38=68', '87-38=49']
Exploring Operation: 68-49=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[30, 38, 87, 38], Operations: []
Exploring Operation: 87-30=57, Resulting Numbers: [38, 38, 57]
Generated Node #0,0: 19:[38, 38, 57] Operation: 87-30=57
Exploring Operation: 87-38=49, Resulting Numbers: [30, 38, 49]
Generated Node #0,1: 19:[30, 38, 49] Operation: 87-38=49
Exploring Operation: 87-38=49, Resulting Numbers: [30, 38, 49]
Generated Node #0,2: 19:[30, 38, 49] Operation: 87-38=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[30, 38, 49], Operations: ['87-38=49']
Exploring Operation: 49-30=19, Resulting Numbers: [38, 19]
Generated Node #0,1,0: 19:[38, 19] Operation: 49-30=19
Exploring Operation: 49-38=11, Resulting Numbers: [30, 11]
Generated Node #0,1,1: 19:[30, 11] Operation: 49-38=11
Exploring Operation: 38-30=8, Resulting Numbers: [49, 8]
Generated Node #0,1,2: 19:[49, 8] Operation: 38-30=8
Moving to Node #0,1,0
Current State: 19:[38, 19], Operations: ['87-38=49', '49-30=19']
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,19 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[30, 38, 87, 38], Operations: []
Exploring Operation: 87-38=49, Resulting Numbers: [30, 38, 49]
Generated Node #0,1: 19:[30, 38, 49] Operation: 87-38=49
Moving to Node #0,1
Current State: 19:[30, 38, 49], Operations: ['87-38=49']
Exploring Operation: 49-30=19, Resulting Numbers: [38, 19]
Generated Node #0,1,0: 19:[38, 19] Operation: 49-30=19
Moving to Node #0,1,0
Current State: 19:[38, 19], Operations: ['87-38=49', '49-30=19']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
72,
80,
22,
30
] | 64 | [
"80-72=8",
"30-22=8",
"8*8=64"
] | Current State: 64:[72, 80, 22, 30], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [22, 30, 8]
Generated Node #2: [22, 30, 8] from Operation: 80-72=8
Current State: 64:[22, 30, 8], Operations: ['80-72=8']
Exploring Operation: 30-22=8, Resulting Numbers: [8, 8]
Generated Node #3: [8, 8] from Operation: 30-22=8
Current State: 64:[8, 8], Operations: ['80-72=8', '30-22=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[72, 80, 22, 30], Operations: []
Exploring Operation: 30-22=8, Resulting Numbers: [72, 80, 8]
Generated Node #0,0: 64:[72, 80, 8] Operation: 30-22=8
Exploring Operation: 80-72=8, Resulting Numbers: [22, 30, 8]
Generated Node #0,1: 64:[22, 30, 8] Operation: 80-72=8
Exploring Operation: 80-22=58, Resulting Numbers: [72, 30, 58]
Generated Node #0,2: 64:[72, 30, 58] Operation: 80-22=58
Exploring Operation: 80-30=50, Resulting Numbers: [72, 22, 50]
Generated Node #0,3: 64:[72, 22, 50] Operation: 80-30=50
Moving to Node #0,1
Current State: 64:[22, 30, 8], Operations: ['80-72=8']
Exploring Operation: 22+8=30, Resulting Numbers: [30, 30]
Generated Node #0,1,0: 64:[30, 30] Operation: 22+8=30
Exploring Operation: 22+30=52, Resulting Numbers: [8, 52]
Generated Node #0,1,1: 64:[8, 52] Operation: 22+30=52
Exploring Operation: 22-8=14, Resulting Numbers: [30, 14]
Generated Node #0,1,2: 64:[30, 14] Operation: 22-8=14
Exploring Operation: 30-22=8, Resulting Numbers: [8, 8]
Generated Node #0,1,3: 64:[8, 8] Operation: 30-22=8
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 64:[8, 8], Operations: ['80-72=8', '30-22=8']
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,64 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[72, 80, 22, 30], Operations: []
Exploring Operation: 80-72=8, Resulting Numbers: [22, 30, 8]
Generated Node #0,1: 64:[22, 30, 8] Operation: 80-72=8
Moving to Node #0,1
Current State: 64:[22, 30, 8], Operations: ['80-72=8']
Exploring Operation: 30-22=8, Resulting Numbers: [8, 8]
Generated Node #0,1,3: 64:[8, 8] Operation: 30-22=8
Moving to Node #0,1,3
Current State: 64:[8, 8], Operations: ['80-72=8', '30-22=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
12,
96,
44,
40
] | 32 | [
"96/12=8",
"44-40=4",
"8*4=32"
] | Current State: 32:[12, 96, 44, 40], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [44, 40, 8]
Generated Node #2: [44, 40, 8] from Operation: 96/12=8
Current State: 32:[44, 40, 8], Operations: ['96/12=8']
Exploring Operation: 44-40=4, Resulting Numbers: [8, 4]
Generated Node #3: [8, 4] from Operation: 44-40=4
Current State: 32:[8, 4], Operations: ['96/12=8', '44-40=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[12, 96, 44, 40], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [44, 40, 8]
Generated Node #0,0: 32:[44, 40, 8] Operation: 96/12=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[44, 40, 8], Operations: ['96/12=8']
Exploring Operation: 44-40=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 32:[8, 4] Operation: 44-40=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[8, 4], Operations: ['96/12=8', '44-40=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[12, 96, 44, 40], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [44, 40, 8]
Generated Node #0,0: 32:[44, 40, 8] Operation: 96/12=8
Moving to Node #0,0
Current State: 32:[44, 40, 8], Operations: ['96/12=8']
Exploring Operation: 44-40=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 32:[8, 4] Operation: 44-40=4
Moving to Node #0,0,0
Current State: 32:[8, 4], Operations: ['96/12=8', '44-40=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
8,
72,
18,
2
] | 36 | [
"8*72=576",
"18-2=16",
"576/16=36"
] | Current State: 36:[8, 72, 18, 2], Operations: []
Exploring Operation: 8*72=576, Resulting Numbers: [18, 2, 576]
Generated Node #2: [18, 2, 576] from Operation: 8*72=576
Current State: 36:[18, 2, 576], Operations: ['8*72=576']
Exploring Operation: 18-2=16, Resulting Numbers: [576, 16]
Generated Node #3: [576, 16] from Operation: 18-2=16
Current State: 36:[576, 16], Operations: ['8*72=576', '18-2=16']
Exploring Operation: 576/16=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[8, 72, 18, 2], Operations: []
Exploring Operation: 72-18=54, Resulting Numbers: [8, 2, 54]
Generated Node #0,0: 36:[8, 2, 54] Operation: 72-18=54
Exploring Operation: 72/2=36, Resulting Numbers: [8, 18, 36]
Generated Node #0,1: 36:[8, 18, 36] Operation: 72/2=36
Exploring Operation: 72/18=4, Resulting Numbers: [8, 2, 4]
Generated Node #0,2: 36:[8, 2, 4] Operation: 72/18=4
Exploring Operation: 72-8=64, Resulting Numbers: [18, 2, 64]
Generated Node #0,3: 36:[18, 2, 64] Operation: 72-8=64
Exploring Operation: 72/8=9, Resulting Numbers: [18, 2, 9]
Generated Node #0,4: 36:[18, 2, 9] Operation: 72/8=9
Moving to Node #0,4
Current State: 36:[18, 2, 9], Operations: ['72/8=9']
Exploring Operation: 18*2=36, Resulting Numbers: [9, 36]
Generated Node #0,4,0: 36:[9, 36] Operation: 18*2=36
Exploring Operation: 2*9=18, Resulting Numbers: [18, 18]
Generated Node #0,4,1: 36:[18, 18] Operation: 2*9=18
Exploring Operation: 18/9=2, Resulting Numbers: [2, 2]
Generated Node #0,4,2: 36:[2, 2] Operation: 18/9=2
Exploring Operation: 18-9=9, Resulting Numbers: [2, 9]
Generated Node #0,4,3: 36:[2, 9] Operation: 18-9=9
Exploring Operation: 18/2=9, Resulting Numbers: [9, 9]
Generated Node #0,4,4: 36:[9, 9] Operation: 18/2=9
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 36:[9, 36], Operations: ['72/8=9', '18*2=36']
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,36 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,36 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 36:[18, 18], Operations: ['72/8=9', '2*9=18']
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 18-18=0, Resulting Numbers: [0]
0,36 unequal: No Solution
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[8, 72, 18, 2], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [18, 2, 9]
Generated Node #0,4: 36:[18, 2, 9] Operation: 72/8=9
Moving to Node #0,4
Current State: 36:[18, 2, 9], Operations: ['72/8=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18, 18]
Generated Node #0,4,1: 36:[18, 18] Operation: 2*9=18
Moving to Node #0,4,1
Current State: 36:[18, 18], Operations: ['72/8=9', '2*9=18']
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
73,
28,
27,
37
] | 21 | [
"73-37=36",
"28*27=756",
"756/36=21"
] | Current State: 21:[73, 28, 27, 37], Operations: []
Exploring Operation: 73-37=36, Resulting Numbers: [28, 27, 36]
Generated Node #2: [28, 27, 36] from Operation: 73-37=36
Current State: 21:[28, 27, 36], Operations: ['73-37=36']
Exploring Operation: 28*27=756, Resulting Numbers: [36, 756]
Generated Node #3: [36, 756] from Operation: 28*27=756
Current State: 21:[36, 756], Operations: ['73-37=36', '28*27=756']
Exploring Operation: 756/36=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[73, 28, 27, 37], Operations: []
Exploring Operation: 73-28=45, Resulting Numbers: [27, 37, 45]
Generated Node #0,0: 21:[27, 37, 45] Operation: 73-28=45
Exploring Operation: 73-37=36, Resulting Numbers: [28, 27, 36]
Generated Node #0,1: 21:[28, 27, 36] Operation: 73-37=36
Exploring Operation: 73-27=46, Resulting Numbers: [28, 37, 46]
Generated Node #0,2: 21:[28, 37, 46] Operation: 73-27=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[28, 27, 36], Operations: ['73-37=36']
Exploring Operation: 36-28=8, Resulting Numbers: [27, 8]
Generated Node #0,1,0: 21:[27, 8] Operation: 36-28=8
Exploring Operation: 36-27=9, Resulting Numbers: [28, 9]
Generated Node #0,1,1: 21:[28, 9] Operation: 36-27=9
Exploring Operation: 28-27=1, Resulting Numbers: [36, 1]
Generated Node #0,1,2: 21:[36, 1] Operation: 28-27=1
Moving to Node #0,1,0
Current State: 21:[27, 8], Operations: ['73-37=36', '36-28=8']
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,21 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[28, 9], Operations: ['73-37=36', '36-27=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[36, 1], Operations: ['73-37=36', '28-27=1']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,21 unequal: No Solution
No 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:[27, 37, 45], Operations: ['73-28=45']
Exploring Operation: 45-37=8, Resulting Numbers: [27, 8]
Generated Node #0,0,0: 21:[27, 8] Operation: 45-37=8
Exploring Operation: 45-27=18, Resulting Numbers: [37, 18]
Generated Node #0,0,1: 21:[37, 18] Operation: 45-27=18
Exploring Operation: 37-27=10, Resulting Numbers: [45, 10]
Generated Node #0,0,2: 21:[45, 10] Operation: 37-27=10
Moving to Node #0,0,0
Current State: 21:[27, 8], Operations: ['73-28=45', '45-37=8']
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,21 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[37, 18], Operations: ['73-28=45', '45-27=18']
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,21 unequal: No Solution
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,21 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[45, 10], Operations: ['73-28=45', '37-27=10']
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,21 unequal: No Solution
Exploring Operation: 45*10=450, Resulting Numbers: [450]
450,21 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,21 unequal: No Solution
No 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: 21:[28, 37, 46], Operations: ['73-27=46']
Exploring Operation: 37-28=9, Resulting Numbers: [46, 9]
Generated Node #0,2,0: 21:[46, 9] Operation: 37-28=9
Exploring Operation: 46-28=18, Resulting Numbers: [37, 18]
Generated Node #0,2,1: 21:[37, 18] Operation: 46-28=18
Exploring Operation: 46-37=9, Resulting Numbers: [28, 9]
Generated Node #0,2,2: 21:[28, 9] Operation: 46-37=9
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 21:[28, 9], Operations: ['73-27=46', '46-37=9']
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,21 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 28-9=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,2,1
Current State: 21:[37, 18], Operations: ['73-27=46', '46-28=18']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,21 unequal: No Solution
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,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,2,0
Current State: 21:[46, 9], Operations: ['73-27=46', '37-28=9']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,21 unequal: No Solution
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,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
No solution found.
| 0 | hs_3 | mult_heuristic |
[
38,
64,
94,
50
] | 18 | [
"64-38=26",
"94-50=44",
"44-26=18"
] | Current State: 18:[38, 64, 94, 50], Operations: []
Exploring Operation: 64-38=26, Resulting Numbers: [94, 50, 26]
Generated Node #2: [94, 50, 26] from Operation: 64-38=26
Current State: 18:[94, 50, 26], Operations: ['64-38=26']
Exploring Operation: 94-50=44, Resulting Numbers: [26, 44]
Generated Node #3: [26, 44] from Operation: 94-50=44
Current State: 18:[26, 44], Operations: ['64-38=26', '94-50=44']
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[38, 64, 94, 50], Operations: []
Exploring Operation: 94-64=30, Resulting Numbers: [38, 50, 30]
Generated Node #0,0: 18:[38, 50, 30] Operation: 94-64=30
Exploring Operation: 94-38=56, Resulting Numbers: [64, 50, 56]
Generated Node #0,1: 18:[64, 50, 56] Operation: 94-38=56
Exploring Operation: 64-50=14, Resulting Numbers: [38, 94, 14]
Generated Node #0,2: 18:[38, 94, 14] Operation: 64-50=14
Exploring Operation: 64-38=26, Resulting Numbers: [94, 50, 26]
Generated Node #0,3: 18:[94, 50, 26] Operation: 64-38=26
Exploring Operation: 94-50=44, Resulting Numbers: [38, 64, 44]
Generated Node #0,4: 18:[38, 64, 44] Operation: 94-50=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[38, 50, 30], Operations: ['94-64=30']
Exploring Operation: 38+30=68, Resulting Numbers: [50, 68]
Generated Node #0,0,0: 18:[50, 68] Operation: 38+30=68
Exploring Operation: 38-30=8, Resulting Numbers: [50, 8]
Generated Node #0,0,1: 18:[50, 8] Operation: 38-30=8
Exploring Operation: 38+50=88, Resulting Numbers: [30, 88]
Generated Node #0,0,2: 18:[30, 88] Operation: 38+50=88
Exploring Operation: 50-38=12, Resulting Numbers: [30, 12]
Generated Node #0,0,3: 18:[30, 12] Operation: 50-38=12
Exploring Operation: 50-30=20, Resulting Numbers: [38, 20]
Generated Node #0,0,4: 18:[38, 20] Operation: 50-30=20
Moving to Node #0,0,3
Current State: 18:[30, 12], Operations: ['94-64=30', '50-38=12']
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,18 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[38, 64, 94, 50], Operations: []
Exploring Operation: 94-64=30, Resulting Numbers: [38, 50, 30]
Generated Node #0,0: 18:[38, 50, 30] Operation: 94-64=30
Moving to Node #0,0
Current State: 18:[38, 50, 30], Operations: ['94-64=30']
Exploring Operation: 50-38=12, Resulting Numbers: [30, 12]
Generated Node #0,0,3: 18:[30, 12] Operation: 50-38=12
Moving to Node #0,0,3
Current State: 18:[30, 12], Operations: ['94-64=30', '50-38=12']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
56,
75,
23,
67
] | 41 | [
"56+75=131",
"23+67=90",
"131-90=41"
] | Current State: 41:[56, 75, 23, 67], Operations: []
Exploring Operation: 56+75=131, Resulting Numbers: [23, 67, 131]
Generated Node #2: [23, 67, 131] from Operation: 56+75=131
Current State: 41:[23, 67, 131], Operations: ['56+75=131']
Exploring Operation: 23+67=90, Resulting Numbers: [131, 90]
Generated Node #3: [131, 90] from Operation: 23+67=90
Current State: 41:[131, 90], Operations: ['56+75=131', '23+67=90']
Exploring Operation: 131-90=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[56, 75, 23, 67], Operations: []
Exploring Operation: 67-23=44, Resulting Numbers: [56, 75, 44]
Generated Node #0,0: 41:[56, 75, 44] Operation: 67-23=44
Exploring Operation: 75-23=52, Resulting Numbers: [56, 67, 52]
Generated Node #0,1: 41:[56, 67, 52] Operation: 75-23=52
Exploring Operation: 75-67=8, Resulting Numbers: [56, 23, 8]
Generated Node #0,2: 41:[56, 23, 8] Operation: 75-67=8
Exploring Operation: 75-56=19, Resulting Numbers: [23, 67, 19]
Generated Node #0,3: 41:[23, 67, 19] Operation: 75-56=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[56, 75, 44], Operations: ['67-23=44']
Exploring Operation: 75-44=31, Resulting Numbers: [56, 31]
Generated Node #0,0,0: 41:[56, 31] Operation: 75-44=31
Exploring Operation: 75-56=19, Resulting Numbers: [44, 19]
Generated Node #0,0,1: 41:[44, 19] Operation: 75-56=19
Exploring Operation: 56+75=131, Resulting Numbers: [44, 131]
Generated Node #0,0,2: 41:[44, 131] Operation: 56+75=131
Exploring Operation: 56-44=12, Resulting Numbers: [75, 12]
Generated Node #0,0,3: 41:[75, 12] Operation: 56-44=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[56, 31], Operations: ['67-23=44', '75-44=31']
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Exploring Operation: 56*31=1736, Resulting Numbers: [1736]
1736,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[44, 19], Operations: ['67-23=44', '75-56=19']
Exploring Operation: 44*19=836, Resulting Numbers: [836]
836,41 unequal: No Solution
Exploring Operation: 44+19=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 41:[75, 12], Operations: ['67-23=44', '56-44=12']
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Exploring Operation: 75+12=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Exploring Operation: 75*12=900, Resulting Numbers: [900]
900,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 41:[44, 131], Operations: ['67-23=44', '56+75=131']
Exploring Operation: 131-44=87, Resulting Numbers: [87]
87,41 unequal: No Solution
Exploring Operation: 44+131=175, Resulting Numbers: [175]
175,41 unequal: No Solution
Exploring Operation: 44*131=5764, Resulting Numbers: [5764]
5764,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[56, 67, 52], Operations: ['75-23=52']
Exploring Operation: 56-52=4, Resulting Numbers: [67, 4]
Generated Node #0,1,0: 41:[67, 4] Operation: 56-52=4
Exploring Operation: 56+67=123, Resulting Numbers: [52, 123]
Generated Node #0,1,1: 41:[52, 123] Operation: 56+67=123
Exploring Operation: 67-56=11, Resulting Numbers: [52, 11]
Generated Node #0,1,2: 41:[52, 11] Operation: 67-56=11
Exploring Operation: 67-52=15, Resulting Numbers: [56, 15]
Generated Node #0,1,3: 41:[56, 15] Operation: 67-52=15
Moving to Node #0,1,2
Current State: 41:[52, 11], Operations: ['75-23=52', '67-56=11']
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,41 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[56, 75, 23, 67], Operations: []
Exploring Operation: 75-23=52, Resulting Numbers: [56, 67, 52]
Generated Node #0,1: 41:[56, 67, 52] Operation: 75-23=52
Moving to Node #0,1
Current State: 41:[56, 67, 52], Operations: ['75-23=52']
Exploring Operation: 67-56=11, Resulting Numbers: [52, 11]
Generated Node #0,1,2: 41:[52, 11] Operation: 67-56=11
Moving to Node #0,1,2
Current State: 41:[52, 11], Operations: ['75-23=52', '67-56=11']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
8,
67,
46,
95
] | 10 | [
"67-8=59",
"95-46=49",
"59-49=10"
] | Current State: 10:[8, 67, 46, 95], Operations: []
Exploring Operation: 67-8=59, Resulting Numbers: [46, 95, 59]
Generated Node #2: [46, 95, 59] from Operation: 67-8=59
Current State: 10:[46, 95, 59], Operations: ['67-8=59']
Exploring Operation: 95-46=49, Resulting Numbers: [59, 49]
Generated Node #3: [59, 49] from Operation: 95-46=49
Current State: 10:[59, 49], Operations: ['67-8=59', '95-46=49']
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[8, 67, 46, 95], Operations: []
Exploring Operation: 95-67=28, Resulting Numbers: [8, 46, 28]
Generated Node #0,0: 10:[8, 46, 28] Operation: 95-67=28
Exploring Operation: 67-46=21, Resulting Numbers: [8, 95, 21]
Generated Node #0,1: 10:[8, 95, 21] Operation: 67-46=21
Exploring Operation: 46-8=38, Resulting Numbers: [67, 95, 38]
Generated Node #0,2: 10:[67, 95, 38] Operation: 46-8=38
Exploring Operation: 67-8=59, Resulting Numbers: [46, 95, 59]
Generated Node #0,3: 10:[46, 95, 59] Operation: 67-8=59
Exploring Operation: 95-46=49, Resulting Numbers: [8, 67, 49]
Generated Node #0,4: 10:[8, 67, 49] Operation: 95-46=49
Moving to Node #0,0
Current State: 10:[8, 46, 28], Operations: ['95-67=28']
Exploring Operation: 8+28=36, Resulting Numbers: [46, 36]
Generated Node #0,0,0: 10:[46, 36] Operation: 8+28=36
Exploring Operation: 46-8=38, Resulting Numbers: [28, 38]
Generated Node #0,0,1: 10:[28, 38] Operation: 46-8=38
Exploring Operation: 28-8=20, Resulting Numbers: [46, 20]
Generated Node #0,0,2: 10:[46, 20] Operation: 28-8=20
Exploring Operation: 8+46=54, Resulting Numbers: [28, 54]
Generated Node #0,0,3: 10:[28, 54] Operation: 8+46=54
Exploring Operation: 46-28=18, Resulting Numbers: [8, 18]
Generated Node #0,0,4: 10:[8, 18] Operation: 46-28=18
Moving to Node #0,4
Current State: 10:[8, 67, 49], Operations: ['95-46=49']
Exploring Operation: 67-49=18, Resulting Numbers: [8, 18]
Generated Node #0,4,0: 10:[8, 18] Operation: 67-49=18
Exploring Operation: 8+49=57, Resulting Numbers: [67, 57]
Generated Node #0,4,1: 10:[67, 57] Operation: 8+49=57
Exploring Operation: 8+67=75, Resulting Numbers: [49, 75]
Generated Node #0,4,2: 10:[49, 75] Operation: 8+67=75
Exploring Operation: 49-8=41, Resulting Numbers: [67, 41]
Generated Node #0,4,3: 10:[67, 41] Operation: 49-8=41
Exploring Operation: 67-8=59, Resulting Numbers: [49, 59]
Generated Node #0,4,4: 10:[49, 59] Operation: 67-8=59
Moving to Node #0,1
Current State: 10:[8, 95, 21], Operations: ['67-46=21']
Exploring Operation: 95-8=87, Resulting Numbers: [21, 87]
Generated Node #0,1,0: 10:[21, 87] Operation: 95-8=87
Exploring Operation: 8+95=103, Resulting Numbers: [21, 103]
Generated Node #0,1,1: 10:[21, 103] Operation: 8+95=103
Exploring Operation: 95-21=74, Resulting Numbers: [8, 74]
Generated Node #0,1,2: 10:[8, 74] Operation: 95-21=74
Exploring Operation: 21-8=13, Resulting Numbers: [95, 13]
Generated Node #0,1,3: 10:[95, 13] Operation: 21-8=13
Exploring Operation: 8+21=29, Resulting Numbers: [95, 29]
Generated Node #0,1,4: 10:[95, 29] Operation: 8+21=29
Moving to Node #0,2
Current State: 10:[67, 95, 38], Operations: ['46-8=38']
Exploring Operation: 67-38=29, Resulting Numbers: [95, 29]
Generated Node #0,2,0: 10:[95, 29] Operation: 67-38=29
Exploring Operation: 67+95=162, Resulting Numbers: [38, 162]
Generated Node #0,2,1: 10:[38, 162] Operation: 67+95=162
Exploring Operation: 95-67=28, Resulting Numbers: [38, 28]
Generated Node #0,2,2: 10:[38, 28] Operation: 95-67=28
Exploring Operation: 95-38=57, Resulting Numbers: [67, 57]
Generated Node #0,2,3: 10:[67, 57] Operation: 95-38=57
Exploring Operation: 67+38=105, Resulting Numbers: [95, 105]
Generated Node #0,2,4: 10:[95, 105] Operation: 67+38=105
Moving to Node #0,3
Current State: 10:[46, 95, 59], Operations: ['67-8=59']
Exploring Operation: 95-59=36, Resulting Numbers: [46, 36]
Generated Node #0,3,0: 10:[46, 36] Operation: 95-59=36
Exploring Operation: 95-46=49, Resulting Numbers: [59, 49]
Generated Node #0,3,1: 10:[59, 49] Operation: 95-46=49
Exploring Operation: 46+59=105, Resulting Numbers: [95, 105]
Generated Node #0,3,2: 10:[95, 105] Operation: 46+59=105
Exploring Operation: 59-46=13, Resulting Numbers: [95, 13]
Generated Node #0,3,3: 10:[95, 13] Operation: 59-46=13
Exploring Operation: 46+95=141, Resulting Numbers: [59, 141]
Generated Node #0,3,4: 10:[59, 141] Operation: 46+95=141
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 10:[46, 36], Operations: ['67-8=59', '95-59=36']
Exploring Operation: 46+36=82, Resulting Numbers: [82]
82,10 unequal: No Solution
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[8, 67, 46, 95], Operations: []
Exploring Operation: 67-8=59, Resulting Numbers: [46, 95, 59]
Generated Node #0,3: 10:[46, 95, 59] Operation: 67-8=59
Moving to Node #0,3
Current State: 10:[46, 95, 59], Operations: ['67-8=59']
Exploring Operation: 95-59=36, Resulting Numbers: [46, 36]
Generated Node #0,3,0: 10:[46, 36] Operation: 95-59=36
Moving to Node #0,3,0
Current State: 10:[46, 36], Operations: ['67-8=59', '95-59=36']
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
17,
87,
85,
32
] | 92 | [
"87+32=119",
"119/17=7",
"85+7=92"
] | Current State: 92:[17, 87, 85, 32], Operations: []
Exploring Operation: 87+32=119, Resulting Numbers: [17, 85, 119]
Generated Node #2: [17, 85, 119] from Operation: 87+32=119
Current State: 92:[17, 85, 119], Operations: ['87+32=119']
Exploring Operation: 119/17=7, Resulting Numbers: [85, 7]
Generated Node #3: [85, 7] from Operation: 119/17=7
Current State: 92:[85, 7], Operations: ['87+32=119', '119/17=7']
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[17, 87, 85, 32], Operations: []
Exploring Operation: 85/17=5, Resulting Numbers: [87, 32, 5]
Generated Node #0,0: 92:[87, 32, 5] Operation: 85/17=5
Exploring Operation: 17+32=49, Resulting Numbers: [87, 85, 49]
Generated Node #0,1: 92:[87, 85, 49] Operation: 17+32=49
Exploring Operation: 85-32=53, Resulting Numbers: [17, 87, 53]
Generated Node #0,2: 92:[17, 87, 53] Operation: 85-32=53
Exploring Operation: 87-85=2, Resulting Numbers: [17, 32, 2]
Generated Node #0,3: 92:[17, 32, 2] Operation: 87-85=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[87, 32, 5], Operations: ['85/17=5']
Exploring Operation: 32-5=27, Resulting Numbers: [87, 27]
Generated Node #0,0,0: 92:[87, 27] Operation: 32-5=27
Exploring Operation: 32+5=37, Resulting Numbers: [87, 37]
Generated Node #0,0,1: 92:[87, 37] Operation: 32+5=37
Exploring Operation: 87-32=55, Resulting Numbers: [5, 55]
Generated Node #0,0,2: 92:[5, 55] Operation: 87-32=55
Exploring Operation: 87+5=92, Resulting Numbers: [32, 92]
Generated Node #0,0,3: 92:[32, 92] Operation: 87+5=92
Moving to Node #0,0,0
Current State: 92:[87, 27], Operations: ['85/17=5', '32-5=27']
Exploring Operation: 87-27=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 87*27=2349, Resulting Numbers: [2349]
2349,92 unequal: No Solution
Exploring Operation: 87+27=114, Resulting Numbers: [114]
114,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[32, 92], Operations: ['85/17=5', '87+5=92']
Exploring Operation: 32+92=124, Resulting Numbers: [124]
124,92 unequal: No Solution
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 32*92=2944, Resulting Numbers: [2944]
2944,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[5, 55], Operations: ['85/17=5', '87-32=55']
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,92 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,92 unequal: No Solution
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[87, 37], Operations: ['85/17=5', '32+5=37']
Exploring Operation: 87+37=124, Resulting Numbers: [124]
124,92 unequal: No Solution
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 87*37=3219, Resulting Numbers: [3219]
3219,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[87, 85, 49], Operations: ['17+32=49']
Exploring Operation: 87-85=2, Resulting Numbers: [49, 2]
Generated Node #0,1,0: 92:[49, 2] Operation: 87-85=2
Exploring Operation: 85-49=36, Resulting Numbers: [87, 36]
Generated Node #0,1,1: 92:[87, 36] Operation: 85-49=36
Exploring Operation: 85+49=134, Resulting Numbers: [87, 134]
Generated Node #0,1,2: 92:[87, 134] Operation: 85+49=134
Exploring Operation: 87-49=38, Resulting Numbers: [85, 38]
Generated Node #0,1,3: 92:[85, 38] Operation: 87-49=38
Moving to Node #0,1,0
Current State: 92:[49, 2], Operations: ['17+32=49', '87-85=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[85, 38], Operations: ['17+32=49', '87-49=38']
Exploring Operation: 85+38=123, Resulting Numbers: [123]
123,92 unequal: No Solution
Exploring Operation: 85*38=3230, Resulting Numbers: [3230]
3230,92 unequal: No Solution
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[87, 36], Operations: ['17+32=49', '85-49=36']
Exploring Operation: 87*36=3132, Resulting Numbers: [3132]
3132,92 unequal: No Solution
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 87+36=123, Resulting Numbers: [123]
123,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[87, 134], Operations: ['17+32=49', '85+49=134']
Exploring Operation: 134-87=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 87*134=11658, Resulting Numbers: [11658]
11658,92 unequal: No Solution
Exploring Operation: 87+134=221, Resulting Numbers: [221]
221,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[17, 32, 2], Operations: ['87-85=2']
Exploring Operation: 32-17=15, Resulting Numbers: [2, 15]
Generated Node #0,3,0: 92:[2, 15] Operation: 32-17=15
Exploring Operation: 32-2=30, Resulting Numbers: [17, 30]
Generated Node #0,3,1: 92:[17, 30] Operation: 32-2=30
Exploring Operation: 17+2=19, Resulting Numbers: [32, 19]
Generated Node #0,3,2: 92:[32, 19] Operation: 17+2=19
Exploring Operation: 17+32=49, Resulting Numbers: [2, 49]
Generated Node #0,3,3: 92:[2, 49] Operation: 17+32=49
Moving to Node #0,3,3
Current State: 92:[2, 49], Operations: ['87-85=2', '17+32=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,92 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Moving to Node #0,3,0
Current State: 92:[2, 15], Operations: ['87-85=2', '32-17=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[32, 19], Operations: ['87-85=2', '17+2=19']
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,92 unequal: No Solution
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Moving to Node #0,3,1
Current State: 92:[17, 30], Operations: ['87-85=2', '32-2=30']
Exploring Operation: 17*30=510, Resulting Numbers: [510]
510,92 unequal: No Solution
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,92 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[17, 87, 53], Operations: ['85-32=53']
Exploring Operation: 17+87=104, Resulting Numbers: [53, 104]
Generated Node #0,2,0: 92:[53, 104] Operation: 17+87=104
Exploring Operation: 87-53=34, Resulting Numbers: [17, 34]
Generated Node #0,2,1: 92:[17, 34] Operation: 87-53=34
Exploring Operation: 17+53=70, Resulting Numbers: [87, 70]
Generated Node #0,2,2: 92:[87, 70] Operation: 17+53=70
Exploring Operation: 53-17=36, Resulting Numbers: [87, 36]
Generated Node #0,2,3: 92:[87, 36] Operation: 53-17=36
Moving to Node #0,2,3
Current State: 92:[87, 36], Operations: ['85-32=53', '53-17=36']
Exploring Operation: 87*36=3132, Resulting Numbers: [3132]
3132,92 unequal: No Solution
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Exploring Operation: 87+36=123, Resulting Numbers: [123]
123,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[17, 34], Operations: ['85-32=53', '87-53=34']
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 17*34=578, Resulting Numbers: [578]
578,92 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[53, 104], Operations: ['85-32=53', '17+87=104']
Exploring Operation: 53+104=157, Resulting Numbers: [157]
157,92 unequal: No Solution
Exploring Operation: 53*104=5512, Resulting Numbers: [5512]
5512,92 unequal: No Solution
Exploring Operation: 104-53=51, Resulting Numbers: [51]
51,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[87, 70], Operations: ['85-32=53', '17+53=70']
Exploring Operation: 87*70=6090, Resulting Numbers: [6090]
6090,92 unequal: No Solution
Exploring Operation: 87-70=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 87+70=157, Resulting Numbers: [157]
157,92 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 |
[
42,
37,
10,
31
] | 58 | [
"42+37=79",
"31-10=21",
"79-21=58"
] | Current State: 58:[42, 37, 10, 31], Operations: []
Exploring Operation: 42+37=79, Resulting Numbers: [10, 31, 79]
Generated Node #2: [10, 31, 79] from Operation: 42+37=79
Current State: 58:[10, 31, 79], Operations: ['42+37=79']
Exploring Operation: 31-10=21, Resulting Numbers: [79, 21]
Generated Node #3: [79, 21] from Operation: 31-10=21
Current State: 58:[79, 21], Operations: ['42+37=79', '31-10=21']
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[42, 37, 10, 31], Operations: []
Exploring Operation: 42-37=5, Resulting Numbers: [10, 31, 5]
Generated Node #0,0: 58:[10, 31, 5] Operation: 42-37=5
Moving to Node #0,0
Current State: 58:[10, 31, 5], Operations: ['42-37=5']
Exploring Operation: 10/5=2, Resulting Numbers: [31, 2]
Generated Node #0,0,0: 58:[31, 2] Operation: 10/5=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[31, 2], Operations: ['42-37=5', '10/5=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
9,
34,
79,
49
] | 55 | [
"34-9=25",
"79-49=30",
"25+30=55"
] | Current State: 55:[9, 34, 79, 49], Operations: []
Exploring Operation: 34-9=25, Resulting Numbers: [79, 49, 25]
Generated Node #2: [79, 49, 25] from Operation: 34-9=25
Current State: 55:[79, 49, 25], Operations: ['34-9=25']
Exploring Operation: 79-49=30, Resulting Numbers: [25, 30]
Generated Node #3: [25, 30] from Operation: 79-49=30
Current State: 55:[25, 30], Operations: ['34-9=25', '79-49=30']
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[9, 34, 79, 49], Operations: []
Exploring Operation: 79-34=45, Resulting Numbers: [9, 49, 45]
Generated Node #0,0: 55:[9, 49, 45] Operation: 79-34=45
Exploring Operation: 49-34=15, Resulting Numbers: [9, 79, 15]
Generated Node #0,1: 55:[9, 79, 15] Operation: 49-34=15
Moving to Node #0,0
Current State: 55:[9, 49, 45], Operations: ['79-34=45']
Exploring Operation: 45/9=5, Resulting Numbers: [49, 5]
Generated Node #0,0,0: 55:[49, 5] Operation: 45/9=5
Exploring Operation: 49-45=4, Resulting Numbers: [9, 4]
Generated Node #0,0,1: 55:[9, 4] Operation: 49-45=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[9, 4], Operations: ['79-34=45', '49-45=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[49, 5], Operations: ['79-34=45', '45/9=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,55 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: 55:[9, 79, 15], Operations: ['49-34=15']
Exploring Operation: 79-9=70, Resulting Numbers: [15, 70]
Generated Node #0,1,0: 55:[15, 70] Operation: 79-9=70
Exploring Operation: 79-15=64, Resulting Numbers: [9, 64]
Generated Node #0,1,1: 55:[9, 64] Operation: 79-15=64
Moving to Node #0,1,1
Current State: 55:[9, 64], Operations: ['49-34=15', '79-15=64']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[9, 34, 79, 49], Operations: []
Exploring Operation: 49-34=15, Resulting Numbers: [9, 79, 15]
Generated Node #0,1: 55:[9, 79, 15] Operation: 49-34=15
Moving to Node #0,1
Current State: 55:[9, 79, 15], Operations: ['49-34=15']
Exploring Operation: 79-15=64, Resulting Numbers: [9, 64]
Generated Node #0,1,1: 55:[9, 64] Operation: 79-15=64
Moving to Node #0,1,1
Current State: 55:[9, 64], Operations: ['49-34=15', '79-15=64']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
74,
42,
26,
30
] | 29 | [
"74+42=116",
"30-26=4",
"116/4=29"
] | Current State: 29:[74, 42, 26, 30], Operations: []
Exploring Operation: 74+42=116, Resulting Numbers: [26, 30, 116]
Generated Node #2: [26, 30, 116] from Operation: 74+42=116
Current State: 29:[26, 30, 116], Operations: ['74+42=116']
Exploring Operation: 30-26=4, Resulting Numbers: [116, 4]
Generated Node #3: [116, 4] from Operation: 30-26=4
Current State: 29:[116, 4], Operations: ['74+42=116', '30-26=4']
Exploring Operation: 116/4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[74, 42, 26, 30], Operations: []
Exploring Operation: 74-42=32, Resulting Numbers: [26, 30, 32]
Generated Node #0,0: 29:[26, 30, 32] Operation: 74-42=32
Exploring Operation: 74-26=48, Resulting Numbers: [42, 30, 48]
Generated Node #0,1: 29:[42, 30, 48] Operation: 74-26=48
Exploring Operation: 74-30=44, Resulting Numbers: [42, 26, 44]
Generated Node #0,2: 29:[42, 26, 44] Operation: 74-30=44
Moving to Node #0,0
Current State: 29:[26, 30, 32], Operations: ['74-42=32']
Exploring Operation: 30-26=4, Resulting Numbers: [32, 4]
Generated Node #0,0,0: 29:[32, 4] Operation: 30-26=4
Exploring Operation: 26+30=56, Resulting Numbers: [32, 56]
Generated Node #0,0,1: 29:[32, 56] Operation: 26+30=56
Exploring Operation: 32-26=6, Resulting Numbers: [30, 6]
Generated Node #0,0,2: 29:[30, 6] Operation: 32-26=6
Moving to Node #0,2
Current State: 29:[42, 26, 44], Operations: ['74-30=44']
Exploring Operation: 44-42=2, Resulting Numbers: [26, 2]
Generated Node #0,2,0: 29:[26, 2] Operation: 44-42=2
Exploring Operation: 42-26=16, Resulting Numbers: [44, 16]
Generated Node #0,2,1: 29:[44, 16] Operation: 42-26=16
Exploring Operation: 44-26=18, Resulting Numbers: [42, 18]
Generated Node #0,2,2: 29:[42, 18] Operation: 44-26=18
Moving to Node #0,1
Current State: 29:[42, 30, 48], Operations: ['74-26=48']
Exploring Operation: 42-30=12, Resulting Numbers: [48, 12]
Generated Node #0,1,0: 29:[48, 12] Operation: 42-30=12
Exploring Operation: 48-30=18, Resulting Numbers: [42, 18]
Generated Node #0,1,1: 29:[42, 18] Operation: 48-30=18
Exploring Operation: 48-42=6, Resulting Numbers: [30, 6]
Generated Node #0,1,2: 29:[30, 6] Operation: 48-42=6
Moving to Node #0,0,2
Current State: 29:[30, 6], Operations: ['74-42=32', '32-26=6']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[42, 18], Operations: ['74-26=48', '48-30=18']
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Exploring Operation: 42*18=756, Resulting Numbers: [756]
756,29 unequal: No Solution
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[42, 18], Operations: ['74-30=44', '44-26=18']
Exploring Operation: 42*18=756, Resulting Numbers: [756]
756,29 unequal: No Solution
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[30, 6], Operations: ['74-26=48', '48-42=6']
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[44, 16], Operations: ['74-30=44', '42-26=16']
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,29 unequal: No Solution
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[32, 4], Operations: ['74-42=32', '30-26=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[32, 56], Operations: ['74-42=32', '26+30=56']
Exploring Operation: 32+56=88, Resulting Numbers: [88]
88,29 unequal: No Solution
Exploring Operation: 32*56=1792, Resulting Numbers: [1792]
1792,29 unequal: No Solution
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[26, 2], Operations: ['74-30=44', '44-42=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[48, 12], Operations: ['74-26=48', '42-30=12']
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,29 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,29 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
12,
63,
9,
96
] | 53 | [
"12-9=3",
"63+96=159",
"159/3=53"
] | Current State: 53:[12, 63, 9, 96], Operations: []
Exploring Operation: 12-9=3, Resulting Numbers: [63, 96, 3]
Generated Node #2: [63, 96, 3] from Operation: 12-9=3
Current State: 53:[63, 96, 3], Operations: ['12-9=3']
Exploring Operation: 63+96=159, Resulting Numbers: [3, 159]
Generated Node #3: [3, 159] from Operation: 63+96=159
Current State: 53:[3, 159], Operations: ['12-9=3', '63+96=159']
Exploring Operation: 159/3=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[12, 63, 9, 96], Operations: []
Exploring Operation: 12+9=21, Resulting Numbers: [63, 96, 21]
Generated Node #0,0: 53:[63, 96, 21] Operation: 12+9=21
Exploring Operation: 96-12=84, Resulting Numbers: [63, 9, 84]
Generated Node #0,1: 53:[63, 9, 84] Operation: 96-12=84
Exploring Operation: 63-9=54, Resulting Numbers: [12, 96, 54]
Generated Node #0,2: 53:[12, 96, 54] Operation: 63-9=54
Moving to Node #0,0
Current State: 53:[63, 96, 21], Operations: ['12+9=21']
Exploring Operation: 96-21=75, Resulting Numbers: [63, 75]
Generated Node #0,0,0: 53:[63, 75] Operation: 96-21=75
Exploring Operation: 96-63=33, Resulting Numbers: [21, 33]
Generated Node #0,0,1: 53:[21, 33] Operation: 96-63=33
Exploring Operation: 63-21=42, Resulting Numbers: [96, 42]
Generated Node #0,0,2: 53:[96, 42] Operation: 63-21=42
Moving to Node #0,1
Current State: 53:[63, 9, 84], Operations: ['96-12=84']
Exploring Operation: 63+9=72, Resulting Numbers: [84, 72]
Generated Node #0,1,0: 53:[84, 72] Operation: 63+9=72
Exploring Operation: 63-9=54, Resulting Numbers: [84, 54]
Generated Node #0,1,1: 53:[84, 54] Operation: 63-9=54
Exploring Operation: 84-9=75, Resulting Numbers: [63, 75]
Generated Node #0,1,2: 53:[63, 75] Operation: 84-9=75
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[84, 54], Operations: ['96-12=84', '63-9=54']
Exploring Operation: 84*54=4536, Resulting Numbers: [4536]
4536,53 unequal: No Solution
Exploring Operation: 84-54=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Exploring Operation: 84+54=138, Resulting Numbers: [138]
138,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 53:[63, 75], Operations: ['96-12=84', '84-9=75']
Exploring Operation: 63+75=138, Resulting Numbers: [138]
138,53 unequal: No Solution
Exploring Operation: 63*75=4725, Resulting Numbers: [4725]
4725,53 unequal: No Solution
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[84, 72], Operations: ['96-12=84', '63+9=72']
Exploring Operation: 84*72=6048, Resulting Numbers: [6048]
6048,53 unequal: No Solution
Exploring Operation: 84-72=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 84+72=156, Resulting Numbers: [156]
156,53 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: 53:[12, 96, 54], Operations: ['63-9=54']
Exploring Operation: 96-54=42, Resulting Numbers: [12, 42]
Generated Node #0,2,0: 53:[12, 42] Operation: 96-54=42
Exploring Operation: 96/12=8, Resulting Numbers: [54, 8]
Generated Node #0,2,1: 53:[54, 8] Operation: 96/12=8
Exploring Operation: 96-12=84, Resulting Numbers: [54, 84]
Generated Node #0,2,2: 53:[54, 84] Operation: 96-12=84
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[54, 84], Operations: ['63-9=54', '96-12=84']
Exploring Operation: 54*84=4536, Resulting Numbers: [4536]
4536,53 unequal: No Solution
Exploring Operation: 84-54=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Exploring Operation: 54+84=138, Resulting Numbers: [138]
138,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[54, 8], Operations: ['63-9=54', '96/12=8']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,53 unequal: No Solution
Exploring Operation: 54*8=432, Resulting Numbers: [432]
432,53 unequal: No Solution
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[12, 42], Operations: ['63-9=54', '96-54=42']
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Exploring Operation: 12*42=504, Resulting Numbers: [504]
504,53 unequal: No Solution
Exploring Operation: 12+42=54, Resulting Numbers: [54]
54,53 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: 53:[63, 75], Operations: ['12+9=21', '96-21=75']
Exploring Operation: 63*75=4725, Resulting Numbers: [4725]
4725,53 unequal: No Solution
Exploring Operation: 63+75=138, Resulting Numbers: [138]
138,53 unequal: No Solution
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[21, 33], Operations: ['12+9=21', '96-63=33']
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 21+33=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 21*33=693, Resulting Numbers: [693]
693,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[96, 42], Operations: ['12+9=21', '63-21=42']
Exploring Operation: 96+42=138, Resulting Numbers: [138]
138,53 unequal: No Solution
Exploring Operation: 96-42=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 96*42=4032, Resulting Numbers: [4032]
4032,53 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
25,
39,
71,
45
] | 39 | [
"71-25=46",
"46-45=1",
"39*1=39"
] | Current State: 39:[25, 39, 71, 45], Operations: []
Exploring Operation: 71-25=46, Resulting Numbers: [39, 45, 46]
Generated Node #2: [39, 45, 46] from Operation: 71-25=46
Current State: 39:[39, 45, 46], Operations: ['71-25=46']
Exploring Operation: 46-45=1, Resulting Numbers: [39, 1]
Generated Node #3: [39, 1] from Operation: 46-45=1
Current State: 39:[39, 1], Operations: ['71-25=46', '46-45=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[25, 39, 71, 45], Operations: []
Exploring Operation: 71-25=46, Resulting Numbers: [39, 45, 46]
Generated Node #0,0: 39:[39, 45, 46] Operation: 71-25=46
Exploring Operation: 39-25=14, Resulting Numbers: [71, 45, 14]
Generated Node #0,1: 39:[71, 45, 14] Operation: 39-25=14
Exploring Operation: 71-39=32, Resulting Numbers: [25, 45, 32]
Generated Node #0,2: 39:[25, 45, 32] Operation: 71-39=32
Exploring Operation: 45-25=20, Resulting Numbers: [39, 71, 20]
Generated Node #0,3: 39:[39, 71, 20] Operation: 45-25=20
Exploring Operation: 71-45=26, Resulting Numbers: [25, 39, 26]
Generated Node #0,4: 39:[25, 39, 26] Operation: 71-45=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[39, 45, 46], Operations: ['71-25=46']
Exploring Operation: 39+46=85, Resulting Numbers: [45, 85]
Generated Node #0,0,0: 39:[45, 85] Operation: 39+46=85
Exploring Operation: 46-39=7, Resulting Numbers: [45, 7]
Generated Node #0,0,1: 39:[45, 7] Operation: 46-39=7
Exploring Operation: 46-45=1, Resulting Numbers: [39, 1]
Generated Node #0,0,2: 39:[39, 1] Operation: 46-45=1
Exploring Operation: 45-39=6, Resulting Numbers: [46, 6]
Generated Node #0,0,3: 39:[46, 6] Operation: 45-39=6
Exploring Operation: 39+45=84, Resulting Numbers: [46, 84]
Generated Node #0,0,4: 39:[46, 84] Operation: 39+45=84
Moving to Node #0,0,2
Current State: 39:[39, 1], Operations: ['71-25=46', '46-45=1']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[25, 39, 71, 45], Operations: []
Exploring Operation: 71-25=46, Resulting Numbers: [39, 45, 46]
Generated Node #0,0: 39:[39, 45, 46] Operation: 71-25=46
Moving to Node #0,0
Current State: 39:[39, 45, 46], Operations: ['71-25=46']
Exploring Operation: 46-45=1, Resulting Numbers: [39, 1]
Generated Node #0,0,2: 39:[39, 1] Operation: 46-45=1
Moving to Node #0,0,2
Current State: 39:[39, 1], Operations: ['71-25=46', '46-45=1']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
92,
83,
24,
38
] | 53 | [
"92-83=9",
"24+38=62",
"62-9=53"
] | Current State: 53:[92, 83, 24, 38], Operations: []
Exploring Operation: 92-83=9, Resulting Numbers: [24, 38, 9]
Generated Node #2: [24, 38, 9] from Operation: 92-83=9
Current State: 53:[24, 38, 9], Operations: ['92-83=9']
Exploring Operation: 24+38=62, Resulting Numbers: [9, 62]
Generated Node #3: [9, 62] from Operation: 24+38=62
Current State: 53:[9, 62], Operations: ['92-83=9', '24+38=62']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[92, 83, 24, 38], Operations: []
Exploring Operation: 83-24=59, Resulting Numbers: [92, 38, 59]
Generated Node #0,0: 53:[92, 38, 59] Operation: 83-24=59
Exploring Operation: 24+38=62, Resulting Numbers: [92, 83, 62]
Generated Node #0,1: 53:[92, 83, 62] Operation: 24+38=62
Exploring Operation: 92-24=68, Resulting Numbers: [83, 38, 68]
Generated Node #0,2: 53:[83, 38, 68] Operation: 92-24=68
Exploring Operation: 92-38=54, Resulting Numbers: [83, 24, 54]
Generated Node #0,3: 53:[83, 24, 54] Operation: 92-38=54
Exploring Operation: 83-38=45, Resulting Numbers: [92, 24, 45]
Generated Node #0,4: 53:[92, 24, 45] Operation: 83-38=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[92, 38, 59], Operations: ['83-24=59']
Exploring Operation: 38+59=97, Resulting Numbers: [92, 97]
Generated Node #0,0,0: 53:[92, 97] Operation: 38+59=97
Exploring Operation: 59-38=21, Resulting Numbers: [92, 21]
Generated Node #0,0,1: 53:[92, 21] Operation: 59-38=21
Exploring Operation: 92+38=130, Resulting Numbers: [59, 130]
Generated Node #0,0,2: 53:[59, 130] Operation: 92+38=130
Exploring Operation: 92-38=54, Resulting Numbers: [59, 54]
Generated Node #0,0,3: 53:[59, 54] Operation: 92-38=54
Exploring Operation: 92-59=33, Resulting Numbers: [38, 33]
Generated Node #0,0,4: 53:[38, 33] Operation: 92-59=33
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 53:[59, 54], Operations: ['83-24=59', '92-38=54']
Exploring Operation: 59-54=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 59+54=113, Resulting Numbers: [113]
113,53 unequal: No Solution
Exploring Operation: 59*54=3186, Resulting Numbers: [3186]
3186,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 53:[38, 33], Operations: ['83-24=59', '92-59=33']
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 38+33=71, Resulting Numbers: [71]
71,53 unequal: No Solution
Exploring Operation: 38*33=1254, Resulting Numbers: [1254]
1254,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[92, 21], Operations: ['83-24=59', '59-38=21']
Exploring Operation: 92+21=113, Resulting Numbers: [113]
113,53 unequal: No Solution
Exploring Operation: 92-21=71, Resulting Numbers: [71]
71,53 unequal: No Solution
Exploring Operation: 92*21=1932, Resulting Numbers: [1932]
1932,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[92, 97], Operations: ['83-24=59', '38+59=97']
Exploring Operation: 92*97=8924, Resulting Numbers: [8924]
8924,53 unequal: No Solution
Exploring Operation: 92+97=189, Resulting Numbers: [189]
189,53 unequal: No Solution
Exploring Operation: 97-92=5, Resulting Numbers: [5]
5,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 53:[59, 130], Operations: ['83-24=59', '92+38=130']
Exploring Operation: 59*130=7670, Resulting Numbers: [7670]
7670,53 unequal: No Solution
Exploring Operation: 130-59=71, Resulting Numbers: [71]
71,53 unequal: No Solution
Exploring Operation: 59+130=189, Resulting Numbers: [189]
189,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[83, 38, 68], Operations: ['92-24=68']
Exploring Operation: 83+38=121, Resulting Numbers: [68, 121]
Generated Node #0,2,0: 53:[68, 121] Operation: 83+38=121
Exploring Operation: 83-68=15, Resulting Numbers: [38, 15]
Generated Node #0,2,1: 53:[38, 15] Operation: 83-68=15
Exploring Operation: 38+68=106, Resulting Numbers: [83, 106]
Generated Node #0,2,2: 53:[83, 106] Operation: 38+68=106
Exploring Operation: 68-38=30, Resulting Numbers: [83, 30]
Generated Node #0,2,3: 53:[83, 30] Operation: 68-38=30
Exploring Operation: 83-38=45, Resulting Numbers: [68, 45]
Generated Node #0,2,4: 53:[68, 45] Operation: 83-38=45
Moving to Node #0,2,4
Current State: 53:[68, 45], Operations: ['92-24=68', '83-38=45']
Exploring Operation: 68-45=23, Resulting Numbers: [23]
23,53 unequal: No Solution
Exploring Operation: 68*45=3060, Resulting Numbers: [3060]
3060,53 unequal: No Solution
Exploring Operation: 68+45=113, Resulting Numbers: [113]
113,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[83, 30], Operations: ['92-24=68', '68-38=30']
Exploring Operation: 83-30=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[92, 83, 24, 38], Operations: []
Exploring Operation: 92-24=68, Resulting Numbers: [83, 38, 68]
Generated Node #0,2: 53:[83, 38, 68] Operation: 92-24=68
Moving to Node #0,2
Current State: 53:[83, 38, 68], Operations: ['92-24=68']
Exploring Operation: 68-38=30, Resulting Numbers: [83, 30]
Generated Node #0,2,3: 53:[83, 30] Operation: 68-38=30
Moving to Node #0,2,3
Current State: 53:[83, 30], Operations: ['92-24=68', '68-38=30']
Exploring Operation: 83-30=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
9,
30,
36,
46
] | 61 | [
"30-9=21",
"36+46=82",
"82-21=61"
] | Current State: 61:[9, 30, 36, 46], Operations: []
Exploring Operation: 30-9=21, Resulting Numbers: [36, 46, 21]
Generated Node #2: [36, 46, 21] from Operation: 30-9=21
Current State: 61:[36, 46, 21], Operations: ['30-9=21']
Exploring Operation: 36+46=82, Resulting Numbers: [21, 82]
Generated Node #3: [21, 82] from Operation: 36+46=82
Current State: 61:[21, 82], Operations: ['30-9=21', '36+46=82']
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[9, 30, 36, 46], Operations: []
Exploring Operation: 30+36=66, Resulting Numbers: [9, 46, 66]
Generated Node #0,0: 61:[9, 46, 66] Operation: 30+36=66
Exploring Operation: 9+36=45, Resulting Numbers: [30, 46, 45]
Generated Node #0,1: 61:[30, 46, 45] Operation: 9+36=45
Exploring Operation: 9+46=55, Resulting Numbers: [30, 36, 55]
Generated Node #0,2: 61:[30, 36, 55] Operation: 9+46=55
Exploring Operation: 9+30=39, Resulting Numbers: [36, 46, 39]
Generated Node #0,3: 61:[36, 46, 39] Operation: 9+30=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[30, 46, 45], Operations: ['9+36=45']
Exploring Operation: 30+45=75, Resulting Numbers: [46, 75]
Generated Node #0,1,0: 61:[46, 75] Operation: 30+45=75
Exploring Operation: 46-30=16, Resulting Numbers: [45, 16]
Generated Node #0,1,1: 61:[45, 16] Operation: 46-30=16
Exploring Operation: 30+46=76, Resulting Numbers: [45, 76]
Generated Node #0,1,2: 61:[45, 76] Operation: 30+46=76
Exploring Operation: 45-30=15, Resulting Numbers: [46, 15]
Generated Node #0,1,3: 61:[46, 15] Operation: 45-30=15
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[46, 75], Operations: ['9+36=45', '30+45=75']
Exploring Operation: 46+75=121, Resulting Numbers: [121]
121,61 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 46*75=3450, Resulting Numbers: [3450]
3450,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 61:[45, 76], Operations: ['9+36=45', '30+46=76']
Exploring Operation: 45*76=3420, Resulting Numbers: [3420]
3420,61 unequal: No Solution
Exploring Operation: 45+76=121, Resulting Numbers: [121]
121,61 unequal: No Solution
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[45, 16], Operations: ['9+36=45', '46-30=16']
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[9, 30, 36, 46], Operations: []
Exploring Operation: 9+36=45, Resulting Numbers: [30, 46, 45]
Generated Node #0,1: 61:[30, 46, 45] Operation: 9+36=45
Moving to Node #0,1
Current State: 61:[30, 46, 45], Operations: ['9+36=45']
Exploring Operation: 46-30=16, Resulting Numbers: [45, 16]
Generated Node #0,1,1: 61:[45, 16] Operation: 46-30=16
Moving to Node #0,1,1
Current State: 61:[45, 16], Operations: ['9+36=45', '46-30=16']
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
68,
84,
86,
12
] | 40 | [
"68+12=80",
"86-84=2",
"80/2=40"
] | Current State: 40:[68, 84, 86, 12], Operations: []
Exploring Operation: 68+12=80, Resulting Numbers: [84, 86, 80]
Generated Node #2: [84, 86, 80] from Operation: 68+12=80
Current State: 40:[84, 86, 80], Operations: ['68+12=80']
Exploring Operation: 86-84=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 86-84=2
Current State: 40:[80, 2], Operations: ['68+12=80', '86-84=2']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[68, 84, 86, 12], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [68, 86, 7]
Generated Node #0,0: 40:[68, 86, 7] Operation: 84/12=7
Exploring Operation: 86-68=18, Resulting Numbers: [84, 12, 18]
Generated Node #0,1: 40:[84, 12, 18] Operation: 86-68=18
Exploring Operation: 86-84=2, Resulting Numbers: [68, 12, 2]
Generated Node #0,2: 40:[68, 12, 2] Operation: 86-84=2
Exploring Operation: 84-68=16, Resulting Numbers: [86, 12, 16]
Generated Node #0,3: 40:[86, 12, 16] Operation: 84-68=16
Exploring Operation: 68-12=56, Resulting Numbers: [84, 86, 56]
Generated Node #0,4: 40:[84, 86, 56] Operation: 68-12=56
Moving to Node #0,2
Current State: 40:[68, 12, 2], Operations: ['86-84=2']
Exploring Operation: 68/2=34, Resulting Numbers: [12, 34]
Generated Node #0,2,0: 40:[12, 34] Operation: 68/2=34
Exploring Operation: 68-2=66, Resulting Numbers: [12, 66]
Generated Node #0,2,1: 40:[12, 66] Operation: 68-2=66
Exploring Operation: 12/2=6, Resulting Numbers: [68, 6]
Generated Node #0,2,2: 40:[68, 6] Operation: 12/2=6
Exploring Operation: 68-12=56, Resulting Numbers: [2, 56]
Generated Node #0,2,3: 40:[2, 56] Operation: 68-12=56
Exploring Operation: 12-2=10, Resulting Numbers: [68, 10]
Generated Node #0,2,4: 40:[68, 10] Operation: 12-2=10
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[12, 34], Operations: ['86-84=2', '68/2=34']
Exploring Operation: 12*34=408, Resulting Numbers: [408]
408,40 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 40:[2, 56], Operations: ['86-84=2', '68-12=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,40 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[12, 66], Operations: ['86-84=2', '68-2=66']
Exploring Operation: 12*66=792, Resulting Numbers: [792]
792,40 unequal: No Solution
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 12+66=78, Resulting Numbers: [78]
78,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 40:[68, 10], Operations: ['86-84=2', '12-2=10']
Exploring Operation: 68*10=680, Resulting Numbers: [680]
680,40 unequal: No Solution
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,40 unequal: No Solution
Exploring Operation: 68+10=78, Resulting Numbers: [78]
78,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 40:[68, 6], Operations: ['86-84=2', '12/2=6']
Exploring Operation: 68*6=408, Resulting Numbers: [408]
408,40 unequal: No Solution
Exploring Operation: 68+6=74, Resulting Numbers: [74]
74,40 unequal: No Solution
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,40 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: 40:[84, 12, 18], Operations: ['86-68=18']
Exploring Operation: 18-12=6, Resulting Numbers: [84, 6]
Generated Node #0,1,0: 40:[84, 6] Operation: 18-12=6
Exploring Operation: 84-18=66, Resulting Numbers: [12, 66]
Generated Node #0,1,1: 40:[12, 66] Operation: 84-18=66
Exploring Operation: 84/12=7, Resulting Numbers: [18, 7]
Generated Node #0,1,2: 40:[18, 7] Operation: 84/12=7
Exploring Operation: 12+18=30, Resulting Numbers: [84, 30]
Generated Node #0,1,3: 40:[84, 30] Operation: 12+18=30
Exploring Operation: 84-12=72, Resulting Numbers: [18, 72]
Generated Node #0,1,4: 40:[18, 72] Operation: 84-12=72
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 40:[18, 7], Operations: ['86-68=18', '84/12=7']
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,40 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[12, 66], Operations: ['86-68=18', '84-18=66']
Exploring Operation: 12*66=792, Resulting Numbers: [792]
792,40 unequal: No Solution
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 12+66=78, Resulting Numbers: [78]
78,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 40:[18, 72], Operations: ['86-68=18', '84-12=72']
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 18*72=1296, Resulting Numbers: [1296]
1296,40 unequal: No Solution
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[84, 6], Operations: ['86-68=18', '18-12=6']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,40 unequal: No Solution
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Exploring Operation: 84*6=504, Resulting Numbers: [504]
504,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 40:[84, 30], Operations: ['86-68=18', '12+18=30']
Exploring Operation: 84+30=114, Resulting Numbers: [114]
114,40 unequal: No Solution
Exploring Operation: 84*30=2520, Resulting Numbers: [2520]
2520,40 unequal: No Solution
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,40 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: 40:[86, 12, 16], Operations: ['84-68=16']
Exploring Operation: 16-12=4, Resulting Numbers: [86, 4]
Generated Node #0,3,0: 40:[86, 4] Operation: 16-12=4
Exploring Operation: 86+12=98, Resulting Numbers: [16, 98]
Generated Node #0,3,1: 40:[16, 98] Operation: 86+12=98
Exploring Operation: 86-12=74, Resulting Numbers: [16, 74]
Generated Node #0,3,2: 40:[16, 74] Operation: 86-12=74
Exploring Operation: 86-16=70, Resulting Numbers: [12, 70]
Generated Node #0,3,3: 40:[12, 70] Operation: 86-16=70
Exploring Operation: 12+16=28, Resulting Numbers: [86, 28]
Generated Node #0,3,4: 40:[86, 28] Operation: 12+16=28
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 40:[12, 70], Operations: ['84-68=16', '86-16=70']
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,40 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,40 unequal: No Solution
Exploring Operation: 12*70=840, Resulting Numbers: [840]
840,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 40:[16, 74], Operations: ['84-68=16', '86-12=74']
Exploring Operation: 16+74=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Exploring Operation: 16*74=1184, Resulting Numbers: [1184]
1184,40 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 40:[86, 4], Operations: ['84-68=16', '16-12=4']
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,40 unequal: No Solution
Exploring Operation: 86+4=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Exploring Operation: 86*4=344, Resulting Numbers: [344]
344,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 40:[86, 28], Operations: ['84-68=16', '12+16=28']
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,40 unequal: No Solution
Exploring Operation: 86+28=114, Resulting Numbers: [114]
114,40 unequal: No Solution
Exploring Operation: 86*28=2408, Resulting Numbers: [2408]
2408,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 40:[16, 98], Operations: ['84-68=16', '86+12=98']
Exploring Operation: 16+98=114, Resulting Numbers: [114]
114,40 unequal: No Solution
Exploring Operation: 16*98=1568, Resulting Numbers: [1568]
1568,40 unequal: No Solution
Exploring Operation: 98-16=82, Resulting Numbers: [82]
82,40 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: 40:[68, 86, 7], Operations: ['84/12=7']
Exploring Operation: 86+7=93, Resulting Numbers: [68, 93]
Generated Node #0,0,0: 40:[68, 93] Operation: 86+7=93
Exploring Operation: 86-68=18, Resulting Numbers: [7, 18]
Generated Node #0,0,1: 40:[7, 18] Operation: 86-68=18
Exploring Operation: 86-7=79, Resulting Numbers: [68, 79]
Generated Node #0,0,2: 40:[68, 79] Operation: 86-7=79
Exploring Operation: 68-7=61, Resulting Numbers: [86, 61]
Generated Node #0,0,3: 40:[86, 61] Operation: 68-7=61
Exploring Operation: 68+7=75, Resulting Numbers: [86, 75]
Generated Node #0,0,4: 40:[86, 75] Operation: 68+7=75
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[7, 18], Operations: ['84/12=7', '86-68=18']
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,40 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 40:[68, 79], Operations: ['84/12=7', '86-7=79']
Exploring Operation: 68+79=147, Resulting Numbers: [147]
147,40 unequal: No Solution
Exploring Operation: 79-68=11, Resulting Numbers: [11]
11,40 unequal: No Solution
Exploring Operation: 68*79=5372, Resulting Numbers: [5372]
5372,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 40:[86, 61], Operations: ['84/12=7', '68-7=61']
Exploring Operation: 86-61=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Exploring Operation: 86+61=147, Resulting Numbers: [147]
147,40 unequal: No Solution
Exploring Operation: 86*61=5246, Resulting Numbers: [5246]
5246,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[68, 93], Operations: ['84/12=7', '86+7=93']
Exploring Operation: 93-68=25, Resulting Numbers: [25]
25,40 unequal: No Solution
Exploring Operation: 68*93=6324, Resulting Numbers: [6324]
6324,40 unequal: No Solution
Exploring Operation: 68+93=161, Resulting Numbers: [161]
161,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 40:[86, 75], Operations: ['84/12=7', '68+7=75']
Exploring Operation: 86-75=11, Resulting Numbers: [11]
11,40 unequal: No Solution
Exploring Operation: 86*75=6450, Resulting Numbers: [6450]
6450,40 unequal: No Solution
Exploring Operation: 86+75=161, Resulting Numbers: [161]
161,40 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: 40:[84, 86, 56], Operations: ['68-12=56']
Exploring Operation: 84-56=28, Resulting Numbers: [86, 28]
Generated Node #0,4,0: 40:[86, 28] Operation: 84-56=28
Exploring Operation: 84+56=140, Resulting Numbers: [86, 140]
Generated Node #0,4,1: 40:[86, 140] Operation: 84+56=140
Exploring Operation: 86-56=30, Resulting Numbers: [84, 30]
Generated Node #0,4,2: 40:[84, 30] Operation: 86-56=30
Exploring Operation: 86-84=2, Resulting Numbers: [56, 2]
Generated Node #0,4,3: 40:[56, 2] Operation: 86-84=2
Exploring Operation: 84+86=170, Resulting Numbers: [56, 170]
Generated Node #0,4,4: 40:[56, 170] Operation: 84+86=170
Moving to Node #0,4,3
Current State: 40:[56, 2], Operations: ['68-12=56', '86-84=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,40 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 56*2=112, Resulting Numbers: [112]
112,40 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Moving to Node #0,4,2
Current State: 40:[84, 30], Operations: ['68-12=56', '86-56=30']
Exploring Operation: 84*30=2520, Resulting Numbers: [2520]
2520,40 unequal: No Solution
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 84+30=114, Resulting Numbers: [114]
114,40 unequal: No Solution
Moving to Node #0,4,0
Current State: 40:[86, 28], Operations: ['68-12=56', '84-56=28']
Exploring Operation: 86*28=2408, Resulting Numbers: [2408]
2408,40 unequal: No Solution
Exploring Operation: 86-28=58, Resulting Numbers: [58]
58,40 unequal: No Solution
Exploring Operation: 86+28=114, Resulting Numbers: [114]
114,40 unequal: No Solution
Moving to Node #0,4,1
Current State: 40:[86, 140], Operations: ['68-12=56', '84+56=140']
Exploring Operation: 140-86=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 86*140=12040, Resulting Numbers: [12040]
12040,40 unequal: No Solution
Exploring Operation: 86+140=226, Resulting Numbers: [226]
226,40 unequal: No Solution
Moving to Node #0,4,4
Current State: 40:[56, 170], Operations: ['68-12=56', '84+86=170']
Exploring Operation: 170-56=114, Resulting Numbers: [114]
114,40 unequal: No Solution
Exploring Operation: 56*170=9520, Resulting Numbers: [9520]
9520,40 unequal: No Solution
Exploring Operation: 56+170=226, Resulting Numbers: [226]
226,40 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
75,
64,
4,
31
] | 60 | [
"75-31=44",
"64/4=16",
"44+16=60"
] | Current State: 60:[75, 64, 4, 31], Operations: []
Exploring Operation: 75-31=44, Resulting Numbers: [64, 4, 44]
Generated Node #2: [64, 4, 44] from Operation: 75-31=44
Current State: 60:[64, 4, 44], Operations: ['75-31=44']
Exploring Operation: 64/4=16, Resulting Numbers: [44, 16]
Generated Node #3: [44, 16] from Operation: 64/4=16
Current State: 60:[44, 16], Operations: ['75-31=44', '64/4=16']
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[75, 64, 4, 31], Operations: []
Exploring Operation: 64-4=60, Resulting Numbers: [75, 31, 60]
Generated Node #0,0: 60:[75, 31, 60] Operation: 64-4=60
Exploring Operation: 75-64=11, Resulting Numbers: [4, 31, 11]
Generated Node #0,1: 60:[4, 31, 11] Operation: 75-64=11
Exploring Operation: 75-4=71, Resulting Numbers: [64, 31, 71]
Generated Node #0,2: 60:[64, 31, 71] Operation: 75-4=71
Moving to Node #0,1
Current State: 60:[4, 31, 11], Operations: ['75-64=11']
Exploring Operation: 4+11=15, Resulting Numbers: [31, 15]
Generated Node #0,1,0: 60:[31, 15] Operation: 4+11=15
Exploring Operation: 11-4=7, Resulting Numbers: [31, 7]
Generated Node #0,1,1: 60:[31, 7] Operation: 11-4=7
Exploring Operation: 31-11=20, Resulting Numbers: [4, 20]
Generated Node #0,1,2: 60:[4, 20] Operation: 31-11=20
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[4, 20], Operations: ['75-64=11', '31-11=20']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[31, 15], Operations: ['75-64=11', '4+11=15']
Exploring Operation: 31*15=465, Resulting Numbers: [465]
465,60 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 31+15=46, Resulting Numbers: [46]
46,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[31, 7], Operations: ['75-64=11', '11-4=7']
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,60 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,60 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: 60:[75, 31, 60], Operations: ['64-4=60']
Exploring Operation: 60-31=29, Resulting Numbers: [75, 29]
Generated Node #0,0,0: 60:[75, 29] Operation: 60-31=29
Exploring Operation: 75-60=15, Resulting Numbers: [31, 15]
Generated Node #0,0,1: 60:[31, 15] Operation: 75-60=15
Exploring Operation: 75-31=44, Resulting Numbers: [60, 44]
Generated Node #0,0,2: 60:[60, 44] Operation: 75-31=44
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 60:[31, 15], Operations: ['64-4=60', '75-60=15']
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 31*15=465, Resulting Numbers: [465]
465,60 unequal: No Solution
Exploring Operation: 31+15=46, Resulting Numbers: [46]
46,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[60, 44], Operations: ['64-4=60', '75-31=44']
Exploring Operation: 60*44=2640, Resulting Numbers: [2640]
2640,60 unequal: No Solution
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 60+44=104, Resulting Numbers: [104]
104,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[75, 29], Operations: ['64-4=60', '60-31=29']
Exploring Operation: 75+29=104, Resulting Numbers: [104]
104,60 unequal: No Solution
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,60 unequal: No Solution
Exploring Operation: 75*29=2175, Resulting Numbers: [2175]
2175,60 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: 60:[64, 31, 71], Operations: ['75-4=71']
Exploring Operation: 71-31=40, Resulting Numbers: [64, 40]
Generated Node #0,2,0: 60:[64, 40] Operation: 71-31=40
Exploring Operation: 64-31=33, Resulting Numbers: [71, 33]
Generated Node #0,2,1: 60:[71, 33] Operation: 64-31=33
Exploring Operation: 71-64=7, Resulting Numbers: [31, 7]
Generated Node #0,2,2: 60:[31, 7] Operation: 71-64=7
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 60:[31, 7], Operations: ['75-4=71', '71-64=7']
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 60:[64, 40], Operations: ['75-4=71', '71-31=40']
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 64*40=2560, Resulting Numbers: [2560]
2560,60 unequal: No Solution
Exploring Operation: 64+40=104, Resulting Numbers: [104]
104,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 60:[71, 33], Operations: ['75-4=71', '64-31=33']
Exploring Operation: 71-33=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 71*33=2343, Resulting Numbers: [2343]
2343,60 unequal: No Solution
Exploring Operation: 71+33=104, Resulting Numbers: [104]
104,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
65,
53,
52,
35
] | 31 | [
"65+53=118",
"52+35=87",
"118-87=31"
] | Current State: 31:[65, 53, 52, 35], Operations: []
Exploring Operation: 65+53=118, Resulting Numbers: [52, 35, 118]
Generated Node #2: [52, 35, 118] from Operation: 65+53=118
Current State: 31:[52, 35, 118], Operations: ['65+53=118']
Exploring Operation: 52+35=87, Resulting Numbers: [118, 87]
Generated Node #3: [118, 87] from Operation: 52+35=87
Current State: 31:[118, 87], Operations: ['65+53=118', '52+35=87']
Exploring Operation: 118-87=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[65, 53, 52, 35], Operations: []
Exploring Operation: 65-53=12, Resulting Numbers: [52, 35, 12]
Generated Node #0,0: 31:[52, 35, 12] Operation: 65-53=12
Moving to Node #0,0
Current State: 31:[52, 35, 12], Operations: ['65-53=12']
Exploring Operation: 52-12=40, Resulting Numbers: [35, 40]
Generated Node #0,0,0: 31:[35, 40] Operation: 52-12=40
Moving to Node #0,0,0
Current State: 31:[35, 40], Operations: ['65-53=12', '52-12=40']
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,31 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
5,
93,
18
] | 73 | [
"5-3=2",
"93-18=75",
"75-2=73"
] | Current State: 73:[3, 5, 93, 18], Operations: []
Exploring Operation: 5-3=2, Resulting Numbers: [93, 18, 2]
Generated Node #2: [93, 18, 2] from Operation: 5-3=2
Current State: 73:[93, 18, 2], Operations: ['5-3=2']
Exploring Operation: 93-18=75, Resulting Numbers: [2, 75]
Generated Node #3: [2, 75] from Operation: 93-18=75
Current State: 73:[2, 75], Operations: ['5-3=2', '93-18=75']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[3, 5, 93, 18], Operations: []
Exploring Operation: 5*18=90, Resulting Numbers: [3, 93, 90]
Generated Node #0,0: 73:[3, 93, 90] Operation: 5*18=90
Exploring Operation: 3*18=54, Resulting Numbers: [5, 93, 54]
Generated Node #0,1: 73:[5, 93, 54] Operation: 3*18=54
Exploring Operation: 3*5=15, Resulting Numbers: [93, 18, 15]
Generated Node #0,2: 73:[93, 18, 15] Operation: 3*5=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[3, 93, 90], Operations: ['5*18=90']
Exploring Operation: 93-3=90, Resulting Numbers: [90, 90]
Generated Node #0,0,0: 73:[90, 90] Operation: 93-3=90
Exploring Operation: 90-3=87, Resulting Numbers: [93, 87]
Generated Node #0,0,1: 73:[93, 87] Operation: 90-3=87
Exploring Operation: 3+93=96, Resulting Numbers: [90, 96]
Generated Node #0,0,2: 73:[90, 96] Operation: 3+93=96
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[90, 90], Operations: ['5*18=90', '93-3=90']
Exploring Operation: 90+90=180, Resulting Numbers: [180]
180,73 unequal: No Solution
Exploring Operation: 90-90=0, Resulting Numbers: [0]
0,73 unequal: No Solution
Exploring Operation: 90/90=1, Resulting Numbers: [1]
1,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,0,1
Current State: 73:[93, 87], Operations: ['5*18=90', '90-3=87']
Exploring Operation: 93-87=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 93*87=8091, Resulting Numbers: [8091]
8091,73 unequal: No Solution
Exploring Operation: 93+87=180, Resulting Numbers: [180]
180,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,0,2
Current State: 73:[90, 96], Operations: ['5*18=90', '3+93=96']
Exploring Operation: 90+96=186, Resulting Numbers: [186]
186,73 unequal: No Solution
Exploring Operation: 96-90=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 90*96=8640, Resulting Numbers: [8640]
8640,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,1
Current State: 73:[5, 93, 54], Operations: ['3*18=54']
Exploring Operation: 5+93=98, Resulting Numbers: [54, 98]
Generated Node #0,1,0: 73:[54, 98] Operation: 5+93=98
Exploring Operation: 5+54=59, Resulting Numbers: [93, 59]
Generated Node #0,1,1: 73:[93, 59] Operation: 5+54=59
Exploring Operation: 93-5=88, Resulting Numbers: [54, 88]
Generated Node #0,1,2: 73:[54, 88] Operation: 93-5=88
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[93, 59], Operations: ['3*18=54', '5+54=59']
Exploring Operation: 93+59=152, Resulting Numbers: [152]
152,73 unequal: No Solution
Exploring Operation: 93*59=5487, Resulting Numbers: [5487]
5487,73 unequal: No Solution
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,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:[54, 88], Operations: ['3*18=54', '93-5=88']
Exploring Operation: 54*88=4752, Resulting Numbers: [4752]
4752,73 unequal: No Solution
Exploring Operation: 88-54=34, Resulting Numbers: [34]
34,73 unequal: No Solution
Exploring Operation: 54+88=142, Resulting Numbers: [142]
142,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:[54, 98], Operations: ['3*18=54', '5+93=98']
Exploring Operation: 98-54=44, Resulting Numbers: [44]
44,73 unequal: No Solution
Exploring Operation: 54*98=5292, Resulting Numbers: [5292]
5292,73 unequal: No Solution
Exploring Operation: 54+98=152, Resulting Numbers: [152]
152,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:[93, 18, 15], Operations: ['3*5=15']
Exploring Operation: 93-15=78, Resulting Numbers: [18, 78]
Generated Node #0,2,0: 73:[18, 78] Operation: 93-15=78
Exploring Operation: 18+15=33, Resulting Numbers: [93, 33]
Generated Node #0,2,1: 73:[93, 33] Operation: 18+15=33
Exploring Operation: 93-18=75, Resulting Numbers: [15, 75]
Generated Node #0,2,2: 73:[15, 75] Operation: 93-18=75
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[18, 78], Operations: ['3*5=15', '93-15=78']
Exploring Operation: 18*78=1404, Resulting Numbers: [1404]
1404,73 unequal: No Solution
Exploring Operation: 18+78=96, Resulting Numbers: [96]
96,73 unequal: No Solution
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,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:[93, 33], Operations: ['3*5=15', '18+15=33']
Exploring Operation: 93+33=126, Resulting Numbers: [126]
126,73 unequal: No Solution
Exploring Operation: 93*33=3069, Resulting Numbers: [3069]
3069,73 unequal: No Solution
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 73:[15, 75], Operations: ['3*5=15', '93-18=75']
Exploring Operation: 75/15=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,73 unequal: No Solution
Exploring Operation: 15+75=90, Resulting Numbers: [90]
90,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
No solution found.
| 0 | hs_3 | sum_heuristic |
[
46,
21,
25,
76
] | 76 | [
"46-21=25",
"25+76=101",
"101-25=76"
] | Current State: 76:[46, 21, 25, 76], Operations: []
Exploring Operation: 46-21=25, Resulting Numbers: [25, 76, 25]
Generated Node #2: [25, 76, 25] from Operation: 46-21=25
Current State: 76:[25, 76, 25], Operations: ['46-21=25']
Exploring Operation: 25+76=101, Resulting Numbers: [101]
101,76 equal: Goal Reached
Exploring Operation: 101-25=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[46, 21, 25, 76], Operations: []
Exploring Operation: 46+25=71, Resulting Numbers: [21, 76, 71]
Generated Node #0,0: 76:[21, 76, 71] Operation: 46+25=71
Exploring Operation: 46-25=21, Resulting Numbers: [21, 76, 21]
Generated Node #0,1: 76:[21, 76, 21] Operation: 46-25=21
Moving to Node #0,1
Current State: 76:[21, 76, 21], Operations: ['46-25=21']
Exploring Operation: 21-21=0, Resulting Numbers: [76, 0]
Generated Node #0,1,0: 76:[76, 0] Operation: 21-21=0
Exploring Operation: 21/21=1, Resulting Numbers: [76, 1]
Generated Node #0,1,1: 76:[76, 1] Operation: 21/21=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[76, 1], Operations: ['46-25=21', '21/21=1']
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[46, 21, 25, 76], Operations: []
Exploring Operation: 46-25=21, Resulting Numbers: [21, 76, 21]
Generated Node #0,1: 76:[21, 76, 21] Operation: 46-25=21
Moving to Node #0,1
Current State: 76:[21, 76, 21], Operations: ['46-25=21']
Exploring Operation: 21/21=1, Resulting Numbers: [76, 1]
Generated Node #0,1,1: 76:[76, 1] Operation: 21/21=1
Moving to Node #0,1,1
Current State: 76:[76, 1], Operations: ['46-25=21', '21/21=1']
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
83,
81,
78,
32
] | 13 | [
"81-78=3",
"32*3=96",
"96-83=13"
] | Current State: 13:[83, 81, 78, 32], Operations: []
Exploring Operation: 81-78=3, Resulting Numbers: [83, 32, 3]
Generated Node #2: [83, 32, 3] from Operation: 81-78=3
Current State: 13:[83, 32, 3], Operations: ['81-78=3']
Exploring Operation: 32*3=96, Resulting Numbers: [83, 96]
Generated Node #3: [83, 96] from Operation: 32*3=96
Current State: 13:[83, 96], Operations: ['81-78=3', '32*3=96']
Exploring Operation: 96-83=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[83, 81, 78, 32], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [78, 32, 2]
Generated Node #0,0: 13:[78, 32, 2] Operation: 83-81=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[78, 32, 2], Operations: ['83-81=2']
Exploring Operation: 78-32=46, Resulting Numbers: [2, 46]
Generated Node #0,0,0: 13:[2, 46] Operation: 78-32=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[2, 46], Operations: ['83-81=2', '78-32=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,13 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 |
[
3,
13,
92,
47
] | 29 | [
"3+13=16",
"92-47=45",
"45-16=29"
] | Current State: 29:[3, 13, 92, 47], Operations: []
Exploring Operation: 3+13=16, Resulting Numbers: [92, 47, 16]
Generated Node #2: [92, 47, 16] from Operation: 3+13=16
Current State: 29:[92, 47, 16], Operations: ['3+13=16']
Exploring Operation: 92-47=45, Resulting Numbers: [16, 45]
Generated Node #3: [16, 45] from Operation: 92-47=45
Current State: 29:[16, 45], Operations: ['3+13=16', '92-47=45']
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[3, 13, 92, 47], Operations: []
Exploring Operation: 92-47=45, Resulting Numbers: [3, 13, 45]
Generated Node #0,0: 29:[3, 13, 45] Operation: 92-47=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[3, 13, 45], Operations: ['92-47=45']
Exploring Operation: 3*13=39, Resulting Numbers: [45, 39]
Generated Node #0,0,0: 29:[45, 39] Operation: 3*13=39
Moving to Node #0,0,0
Current State: 29:[45, 39], Operations: ['92-47=45', '3*13=39']
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
50,
7,
92
] | 89 | [
"92/2=46",
"50-7=43",
"46+43=89"
] | Current State: 89:[2, 50, 7, 92], Operations: []
Exploring Operation: 92/2=46, Resulting Numbers: [50, 7, 46]
Generated Node #2: [50, 7, 46] from Operation: 92/2=46
Current State: 89:[50, 7, 46], Operations: ['92/2=46']
Exploring Operation: 50-7=43, Resulting Numbers: [46, 43]
Generated Node #3: [46, 43] from Operation: 50-7=43
Current State: 89:[46, 43], Operations: ['92/2=46', '50-7=43']
Exploring Operation: 46+43=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[2, 50, 7, 92], Operations: []
Exploring Operation: 2*7=14, Resulting Numbers: [50, 92, 14]
Generated Node #0,0: 89:[50, 92, 14] Operation: 2*7=14
Exploring Operation: 2*50=100, Resulting Numbers: [7, 92, 100]
Generated Node #0,1: 89:[7, 92, 100] Operation: 2*50=100
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[7, 92, 100], Operations: ['2*50=100']
Exploring Operation: 92-7=85, Resulting Numbers: [100, 85]
Generated Node #0,1,0: 89:[100, 85] Operation: 92-7=85
Exploring Operation: 100-7=93, Resulting Numbers: [92, 93]
Generated Node #0,1,1: 89:[92, 93] Operation: 100-7=93
Moving to Node #0,1,1
Current State: 89:[92, 93], Operations: ['2*50=100', '100-7=93']
Exploring Operation: 93-92=1, Resulting Numbers: [1]
1,89 unequal: No Solution
Exploring Operation: 92+93=185, Resulting Numbers: [185]
185,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[100, 85], Operations: ['2*50=100', '92-7=85']
Exploring Operation: 100-85=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 100+85=185, Resulting Numbers: [185]
185,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:[50, 92, 14], Operations: ['2*7=14']
Exploring Operation: 50+14=64, Resulting Numbers: [92, 64]
Generated Node #0,0,0: 89:[92, 64] Operation: 50+14=64
Exploring Operation: 92-14=78, Resulting Numbers: [50, 78]
Generated Node #0,0,1: 89:[50, 78] Operation: 92-14=78
Moving to Node #0,0,0
Current State: 89:[92, 64], Operations: ['2*7=14', '50+14=64']
Exploring Operation: 92-64=28, Resulting Numbers: [28]
28,89 unequal: No Solution
Exploring Operation: 92+64=156, Resulting Numbers: [156]
156,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[50, 78], Operations: ['2*7=14', '92-14=78']
Exploring Operation: 78-50=28, Resulting Numbers: [28]
28,89 unequal: No Solution
Exploring Operation: 50+78=128, Resulting Numbers: [128]
128,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
36,
24,
65,
40
] | 13 | [
"36-24=12",
"65-40=25",
"25-12=13"
] | Current State: 13:[36, 24, 65, 40], Operations: []
Exploring Operation: 36-24=12, Resulting Numbers: [65, 40, 12]
Generated Node #2: [65, 40, 12] from Operation: 36-24=12
Current State: 13:[65, 40, 12], Operations: ['36-24=12']
Exploring Operation: 65-40=25, Resulting Numbers: [12, 25]
Generated Node #3: [12, 25] from Operation: 65-40=25
Current State: 13:[12, 25], Operations: ['36-24=12', '65-40=25']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[36, 24, 65, 40], Operations: []
Exploring Operation: 65-24=41, Resulting Numbers: [36, 40, 41]
Generated Node #0,0: 13:[36, 40, 41] Operation: 65-24=41
Exploring Operation: 40-24=16, Resulting Numbers: [36, 65, 16]
Generated Node #0,1: 13:[36, 65, 16] Operation: 40-24=16
Exploring Operation: 40-36=4, Resulting Numbers: [24, 65, 4]
Generated Node #0,2: 13:[24, 65, 4] Operation: 40-36=4
Exploring Operation: 65-40=25, Resulting Numbers: [36, 24, 25]
Generated Node #0,3: 13:[36, 24, 25] Operation: 65-40=25
Exploring Operation: 65-36=29, Resulting Numbers: [24, 40, 29]
Generated Node #0,4: 13:[24, 40, 29] Operation: 65-36=29
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[36, 24, 25], Operations: ['65-40=25']
Exploring Operation: 36-24=12, Resulting Numbers: [25, 12]
Generated Node #0,3,0: 13:[25, 12] Operation: 36-24=12
Exploring Operation: 36+25=61, Resulting Numbers: [24, 61]
Generated Node #0,3,1: 13:[24, 61] Operation: 36+25=61
Exploring Operation: 36-25=11, Resulting Numbers: [24, 11]
Generated Node #0,3,2: 13:[24, 11] Operation: 36-25=11
Exploring Operation: 36+24=60, Resulting Numbers: [25, 60]
Generated Node #0,3,3: 13:[25, 60] Operation: 36+24=60
Exploring Operation: 25-24=1, Resulting Numbers: [36, 1]
Generated Node #0,3,4: 13:[36, 1] Operation: 25-24=1
Moving to Node #0,3,0
Current State: 13:[25, 12], Operations: ['65-40=25', '36-24=12']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[36, 24, 65, 40], Operations: []
Exploring Operation: 65-40=25, Resulting Numbers: [36, 24, 25]
Generated Node #0,3: 13:[36, 24, 25] Operation: 65-40=25
Moving to Node #0,3
Current State: 13:[36, 24, 25], Operations: ['65-40=25']
Exploring Operation: 36-24=12, Resulting Numbers: [25, 12]
Generated Node #0,3,0: 13:[25, 12] Operation: 36-24=12
Moving to Node #0,3,0
Current State: 13:[25, 12], Operations: ['65-40=25', '36-24=12']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
15,
8,
72,
48
] | 54 | [
"15+48=63",
"72/8=9",
"63-9=54"
] | Current State: 54:[15, 8, 72, 48], Operations: []
Exploring Operation: 15+48=63, Resulting Numbers: [8, 72, 63]
Generated Node #2: [8, 72, 63] from Operation: 15+48=63
Current State: 54:[8, 72, 63], Operations: ['15+48=63']
Exploring Operation: 72/8=9, Resulting Numbers: [63, 9]
Generated Node #3: [63, 9] from Operation: 72/8=9
Current State: 54:[63, 9], Operations: ['15+48=63', '72/8=9']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[15, 8, 72, 48], Operations: []
Exploring Operation: 72-48=24, Resulting Numbers: [15, 8, 24]
Generated Node #0,0: 54:[15, 8, 24] Operation: 72-48=24
Exploring Operation: 72-15=57, Resulting Numbers: [8, 48, 57]
Generated Node #0,1: 54:[8, 48, 57] Operation: 72-15=57
Exploring Operation: 72/8=9, Resulting Numbers: [15, 48, 9]
Generated Node #0,2: 54:[15, 48, 9] Operation: 72/8=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[15, 8, 24], Operations: ['72-48=24']
Exploring Operation: 24/8=3, Resulting Numbers: [15, 3]
Generated Node #0,0,0: 54:[15, 3] Operation: 24/8=3
Exploring Operation: 24-15=9, Resulting Numbers: [8, 9]
Generated Node #0,0,1: 54:[8, 9] Operation: 24-15=9
Exploring Operation: 15-8=7, Resulting Numbers: [24, 7]
Generated Node #0,0,2: 54:[24, 7] Operation: 15-8=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 54:[8, 9], Operations: ['72-48=24', '24-15=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,54 unequal: No Solution
No 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: 54:[15, 3], Operations: ['72-48=24', '24/8=3']
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,54 unequal: No Solution
No 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: 54:[24, 7], Operations: ['72-48=24', '15-8=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,54 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,54 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: 54:[15, 48, 9], Operations: ['72/8=9']
Exploring Operation: 15-9=6, Resulting Numbers: [48, 6]
Generated Node #0,2,0: 54:[48, 6] Operation: 15-9=6
Exploring Operation: 48+9=57, Resulting Numbers: [15, 57]
Generated Node #0,2,1: 54:[15, 57] Operation: 48+9=57
Exploring Operation: 48-15=33, Resulting Numbers: [9, 33]
Generated Node #0,2,2: 54:[9, 33] Operation: 48-15=33
Moving to Node #0,2,0
Current State: 54:[48, 6], Operations: ['72/8=9', '15-9=6']
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[15, 8, 72, 48], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [15, 48, 9]
Generated Node #0,2: 54:[15, 48, 9] Operation: 72/8=9
Moving to Node #0,2
Current State: 54:[15, 48, 9], Operations: ['72/8=9']
Exploring Operation: 15-9=6, Resulting Numbers: [48, 6]
Generated Node #0,2,0: 54:[48, 6] Operation: 15-9=6
Moving to Node #0,2,0
Current State: 54:[48, 6], Operations: ['72/8=9', '15-9=6']
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
98,
3,
64,
15
] | 11 | [
"98+3=101",
"64+101=165",
"165/15=11"
] | Current State: 11:[98, 3, 64, 15], Operations: []
Exploring Operation: 98+3=101, Resulting Numbers: [64, 15, 101]
Generated Node #2: [64, 15, 101] from Operation: 98+3=101
Current State: 11:[64, 15, 101], Operations: ['98+3=101']
Exploring Operation: 64+101=165, Resulting Numbers: [15, 165]
Generated Node #3: [15, 165] from Operation: 64+101=165
Current State: 11:[15, 165], Operations: ['98+3=101', '64+101=165']
Exploring Operation: 165/15=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[98, 3, 64, 15], Operations: []
Exploring Operation: 98-64=34, Resulting Numbers: [3, 15, 34]
Generated Node #0,0: 11:[3, 15, 34] Operation: 98-64=34
Exploring Operation: 98-15=83, Resulting Numbers: [3, 64, 83]
Generated Node #0,1: 11:[3, 64, 83] Operation: 98-15=83
Exploring Operation: 98-3=95, Resulting Numbers: [64, 15, 95]
Generated Node #0,2: 11:[64, 15, 95] Operation: 98-3=95
Exploring Operation: 64-15=49, Resulting Numbers: [98, 3, 49]
Generated Node #0,3: 11:[98, 3, 49] Operation: 64-15=49
Moving to Node #0,0
Current State: 11:[3, 15, 34], Operations: ['98-64=34']
Exploring Operation: 15-3=12, Resulting Numbers: [34, 12]
Generated Node #0,0,0: 11:[34, 12] Operation: 15-3=12
Exploring Operation: 34-15=19, Resulting Numbers: [3, 19]
Generated Node #0,0,1: 11:[3, 19] Operation: 34-15=19
Exploring Operation: 34-3=31, Resulting Numbers: [15, 31]
Generated Node #0,0,2: 11:[15, 31] Operation: 34-3=31
Exploring Operation: 15/3=5, Resulting Numbers: [34, 5]
Generated Node #0,0,3: 11:[34, 5] Operation: 15/3=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[3, 19], Operations: ['98-64=34', '34-15=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,11 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[34, 12], Operations: ['98-64=34', '15-3=12']
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,11 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 11:[15, 31], Operations: ['98-64=34', '34-3=31']
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 11:[34, 5], Operations: ['98-64=34', '15/3=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,11 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,11 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: 11:[98, 3, 49], Operations: ['64-15=49']
Exploring Operation: 98-3=95, Resulting Numbers: [49, 95]
Generated Node #0,3,0: 11:[49, 95] Operation: 98-3=95
Exploring Operation: 98/49=2, Resulting Numbers: [3, 2]
Generated Node #0,3,1: 11:[3, 2] Operation: 98/49=2
Exploring Operation: 49-3=46, Resulting Numbers: [98, 46]
Generated Node #0,3,2: 11:[98, 46] Operation: 49-3=46
Exploring Operation: 98-49=49, Resulting Numbers: [3, 49]
Generated Node #0,3,3: 11:[3, 49] Operation: 98-49=49
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 11:[3, 2], Operations: ['64-15=49', '98/49=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 11:[3, 49], Operations: ['64-15=49', '98-49=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,11 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 11:[49, 95], Operations: ['64-15=49', '98-3=95']
Exploring Operation: 95-49=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 49*95=4655, Resulting Numbers: [4655]
4655,11 unequal: No Solution
Exploring Operation: 49+95=144, Resulting Numbers: [144]
144,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 11:[98, 46], Operations: ['64-15=49', '49-3=46']
Exploring Operation: 98+46=144, Resulting Numbers: [144]
144,11 unequal: No Solution
Exploring Operation: 98-46=52, Resulting Numbers: [52]
52,11 unequal: No Solution
Exploring Operation: 98*46=4508, Resulting Numbers: [4508]
4508,11 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: 11:[3, 64, 83], Operations: ['98-15=83']
Exploring Operation: 83-64=19, Resulting Numbers: [3, 19]
Generated Node #0,1,0: 11:[3, 19] Operation: 83-64=19
Exploring Operation: 64-3=61, Resulting Numbers: [83, 61]
Generated Node #0,1,1: 11:[83, 61] Operation: 64-3=61
Exploring Operation: 83-3=80, Resulting Numbers: [64, 80]
Generated Node #0,1,2: 11:[64, 80] Operation: 83-3=80
Exploring Operation: 3+64=67, Resulting Numbers: [83, 67]
Generated Node #0,1,3: 11:[83, 67] Operation: 3+64=67
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[3, 19], Operations: ['98-15=83', '83-64=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,11 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[83, 61], Operations: ['98-15=83', '64-3=61']
Exploring Operation: 83-61=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Exploring Operation: 83+61=144, Resulting Numbers: [144]
144,11 unequal: No Solution
Exploring Operation: 83*61=5063, Resulting Numbers: [5063]
5063,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[64, 80], Operations: ['98-15=83', '83-3=80']
Exploring Operation: 64+80=144, Resulting Numbers: [144]
144,11 unequal: No Solution
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 64*80=5120, Resulting Numbers: [5120]
5120,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 11:[83, 67], Operations: ['98-15=83', '3+64=67']
Exploring Operation: 83+67=150, Resulting Numbers: [150]
150,11 unequal: No Solution
Exploring Operation: 83-67=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 83*67=5561, Resulting Numbers: [5561]
5561,11 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: 11:[64, 15, 95], Operations: ['98-3=95']
Exploring Operation: 95-15=80, Resulting Numbers: [64, 80]
Generated Node #0,2,0: 11:[64, 80] Operation: 95-15=80
Exploring Operation: 64-15=49, Resulting Numbers: [95, 49]
Generated Node #0,2,1: 11:[95, 49] Operation: 64-15=49
Exploring Operation: 64+15=79, Resulting Numbers: [95, 79]
Generated Node #0,2,2: 11:[95, 79] Operation: 64+15=79
Exploring Operation: 95-64=31, Resulting Numbers: [15, 31]
Generated Node #0,2,3: 11:[15, 31] Operation: 95-64=31
Moving to Node #0,2,3
Current State: 11:[15, 31], Operations: ['98-3=95', '95-64=31']
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,11 unequal: No Solution
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[95, 49], Operations: ['98-3=95', '64-15=49']
Exploring Operation: 95*49=4655, Resulting Numbers: [4655]
4655,11 unequal: No Solution
Exploring Operation: 95+49=144, Resulting Numbers: [144]
144,11 unequal: No Solution
Exploring Operation: 95-49=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[64, 80], Operations: ['98-3=95', '95-15=80']
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 64+80=144, Resulting Numbers: [144]
144,11 unequal: No Solution
Exploring Operation: 64*80=5120, Resulting Numbers: [5120]
5120,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[95, 79], Operations: ['98-3=95', '64+15=79']
Exploring Operation: 95*79=7505, Resulting Numbers: [7505]
7505,11 unequal: No Solution
Exploring Operation: 95-79=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 95+79=174, Resulting Numbers: [174]
174,11 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
37,
55,
49,
4
] | 39 | [
"37+55=92",
"49+4=53",
"92-53=39"
] | Current State: 39:[37, 55, 49, 4], Operations: []
Exploring Operation: 37+55=92, Resulting Numbers: [49, 4, 92]
Generated Node #2: [49, 4, 92] from Operation: 37+55=92
Current State: 39:[49, 4, 92], Operations: ['37+55=92']
Exploring Operation: 49+4=53, Resulting Numbers: [92, 53]
Generated Node #3: [92, 53] from Operation: 49+4=53
Current State: 39:[92, 53], Operations: ['37+55=92', '49+4=53']
Exploring Operation: 92-53=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[37, 55, 49, 4], Operations: []
Exploring Operation: 49-4=45, Resulting Numbers: [37, 55, 45]
Generated Node #0,0: 39:[37, 55, 45] Operation: 49-4=45
Exploring Operation: 55-37=18, Resulting Numbers: [49, 4, 18]
Generated Node #0,1: 39:[49, 4, 18] Operation: 55-37=18
Exploring Operation: 49-37=12, Resulting Numbers: [55, 4, 12]
Generated Node #0,2: 39:[55, 4, 12] Operation: 49-37=12
Exploring Operation: 55-49=6, Resulting Numbers: [37, 4, 6]
Generated Node #0,3: 39:[37, 4, 6] Operation: 55-49=6
Exploring Operation: 55-4=51, Resulting Numbers: [37, 49, 51]
Generated Node #0,4: 39:[37, 49, 51] Operation: 55-4=51
Moving to Node #0,3
Current State: 39:[37, 4, 6], Operations: ['55-49=6']
Exploring Operation: 4+6=10, Resulting Numbers: [37, 10]
Generated Node #0,3,0: 39:[37, 10] Operation: 4+6=10
Exploring Operation: 37+4=41, Resulting Numbers: [6, 41]
Generated Node #0,3,1: 39:[6, 41] Operation: 37+4=41
Exploring Operation: 37+6=43, Resulting Numbers: [4, 43]
Generated Node #0,3,2: 39:[4, 43] Operation: 37+6=43
Exploring Operation: 6-4=2, Resulting Numbers: [37, 2]
Generated Node #0,3,3: 39:[37, 2] Operation: 6-4=2
Exploring Operation: 37-4=33, Resulting Numbers: [6, 33]
Generated Node #0,3,4: 39:[6, 33] Operation: 37-4=33
Moving to Node #0,1
Current State: 39:[49, 4, 18], Operations: ['55-37=18']
Exploring Operation: 49-18=31, Resulting Numbers: [4, 31]
Generated Node #0,1,0: 39:[4, 31] Operation: 49-18=31
Exploring Operation: 18-4=14, Resulting Numbers: [49, 14]
Generated Node #0,1,1: 39:[49, 14] Operation: 18-4=14
Exploring Operation: 4+18=22, Resulting Numbers: [49, 22]
Generated Node #0,1,2: 39:[49, 22] Operation: 4+18=22
Exploring Operation: 49+4=53, Resulting Numbers: [18, 53]
Generated Node #0,1,3: 39:[18, 53] Operation: 49+4=53
Exploring Operation: 49-4=45, Resulting Numbers: [18, 45]
Generated Node #0,1,4: 39:[18, 45] Operation: 49-4=45
Moving to Node #0,2
Current State: 39:[55, 4, 12], Operations: ['49-37=12']
Exploring Operation: 4+12=16, Resulting Numbers: [55, 16]
Generated Node #0,2,0: 39:[55, 16] Operation: 4+12=16
Exploring Operation: 55-4=51, Resulting Numbers: [12, 51]
Generated Node #0,2,1: 39:[12, 51] Operation: 55-4=51
Exploring Operation: 12/4=3, Resulting Numbers: [55, 3]
Generated Node #0,2,2: 39:[55, 3] Operation: 12/4=3
Exploring Operation: 55-12=43, Resulting Numbers: [4, 43]
Generated Node #0,2,3: 39:[4, 43] Operation: 55-12=43
Exploring Operation: 55+4=59, Resulting Numbers: [12, 59]
Generated Node #0,2,4: 39:[12, 59] Operation: 55+4=59
Moving to Node #0,0
Current State: 39:[37, 55, 45], Operations: ['49-4=45']
Exploring Operation: 37+45=82, Resulting Numbers: [55, 82]
Generated Node #0,0,0: 39:[55, 82] Operation: 37+45=82
Exploring Operation: 55-37=18, Resulting Numbers: [45, 18]
Generated Node #0,0,1: 39:[45, 18] Operation: 55-37=18
Exploring Operation: 45-37=8, Resulting Numbers: [55, 8]
Generated Node #0,0,2: 39:[55, 8] Operation: 45-37=8
Exploring Operation: 55-45=10, Resulting Numbers: [37, 10]
Generated Node #0,0,3: 39:[37, 10] Operation: 55-45=10
Exploring Operation: 37+55=92, Resulting Numbers: [45, 92]
Generated Node #0,0,4: 39:[45, 92] Operation: 37+55=92
Moving to Node #0,4
Current State: 39:[37, 49, 51], Operations: ['55-4=51']
Exploring Operation: 37+51=88, Resulting Numbers: [49, 88]
Generated Node #0,4,0: 39:[49, 88] Operation: 37+51=88
Exploring Operation: 51-37=14, Resulting Numbers: [49, 14]
Generated Node #0,4,1: 39:[49, 14] Operation: 51-37=14
Exploring Operation: 37+49=86, Resulting Numbers: [51, 86]
Generated Node #0,4,2: 39:[51, 86] Operation: 37+49=86
Exploring Operation: 51-49=2, Resulting Numbers: [37, 2]
Generated Node #0,4,3: 39:[37, 2] Operation: 51-49=2
Exploring Operation: 49-37=12, Resulting Numbers: [51, 12]
Generated Node #0,4,4: 39:[51, 12] Operation: 49-37=12
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 39:[37, 2], Operations: ['55-4=51', '51-49=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[37, 55, 49, 4], Operations: []
Exploring Operation: 55-4=51, Resulting Numbers: [37, 49, 51]
Generated Node #0,4: 39:[37, 49, 51] Operation: 55-4=51
Moving to Node #0,4
Current State: 39:[37, 49, 51], Operations: ['55-4=51']
Exploring Operation: 51-49=2, Resulting Numbers: [37, 2]
Generated Node #0,4,3: 39:[37, 2] Operation: 51-49=2
Moving to Node #0,4,3
Current State: 39:[37, 2], Operations: ['55-4=51', '51-49=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
25,
70,
66,
77
] | 85 | [
"70*66=4620",
"4620/77=60",
"25+60=85"
] | Current State: 85:[25, 70, 66, 77], Operations: []
Exploring Operation: 70*66=4620, Resulting Numbers: [25, 77, 4620]
Generated Node #2: [25, 77, 4620] from Operation: 70*66=4620
Current State: 85:[25, 77, 4620], Operations: ['70*66=4620']
Exploring Operation: 4620/77=60, Resulting Numbers: [25, 60]
Generated Node #3: [25, 60] from Operation: 4620/77=60
Current State: 85:[25, 60], Operations: ['70*66=4620', '4620/77=60']
Exploring Operation: 25+60=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[25, 70, 66, 77], Operations: []
Exploring Operation: 70-66=4, Resulting Numbers: [25, 77, 4]
Generated Node #0,0: 85:[25, 77, 4] Operation: 70-66=4
Exploring Operation: 25+66=91, Resulting Numbers: [70, 77, 91]
Generated Node #0,1: 85:[70, 77, 91] Operation: 25+66=91
Moving to Node #0,0
Current State: 85:[25, 77, 4], Operations: ['70-66=4']
Exploring Operation: 25-4=21, Resulting Numbers: [77, 21]
Generated Node #0,0,0: 85:[77, 21] Operation: 25-4=21
Exploring Operation: 77+4=81, Resulting Numbers: [25, 81]
Generated Node #0,0,1: 85:[25, 81] Operation: 77+4=81
Moving to Node #0,1
Current State: 85:[70, 77, 91], Operations: ['25+66=91']
Exploring Operation: 77-70=7, Resulting Numbers: [91, 7]
Generated Node #0,1,0: 85:[91, 7] Operation: 77-70=7
Exploring Operation: 91-70=21, Resulting Numbers: [77, 21]
Generated Node #0,1,1: 85:[77, 21] Operation: 91-70=21
Moving to Node #0,1,0
Current State: 85:[91, 7], Operations: ['25+66=91', '77-70=7']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[77, 21], Operations: ['70-66=4', '25-4=21']
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 77+21=98, Resulting Numbers: [98]
98,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[25, 81], Operations: ['70-66=4', '77+4=81']
Exploring Operation: 81-25=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 25+81=106, Resulting Numbers: [106]
106,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[77, 21], Operations: ['25+66=91', '91-70=21']
Exploring Operation: 77+21=98, Resulting Numbers: [98]
98,85 unequal: No Solution
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,85 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
66,
4,
56,
2
] | 48 | [
"66-56=10",
"2+10=12",
"4*12=48"
] | Current State: 48:[66, 4, 56, 2], Operations: []
Exploring Operation: 66-56=10, Resulting Numbers: [4, 2, 10]
Generated Node #2: [4, 2, 10] from Operation: 66-56=10
Current State: 48:[4, 2, 10], Operations: ['66-56=10']
Exploring Operation: 2+10=12, Resulting Numbers: [4, 12]
Generated Node #3: [4, 12] from Operation: 2+10=12
Current State: 48:[4, 12], Operations: ['66-56=10', '2+10=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[66, 4, 56, 2], Operations: []
Exploring Operation: 66-56=10, Resulting Numbers: [4, 2, 10]
Generated Node #0,0: 48:[4, 2, 10] Operation: 66-56=10
Exploring Operation: 56/4=14, Resulting Numbers: [66, 2, 14]
Generated Node #0,1: 48:[66, 2, 14] Operation: 56/4=14
Exploring Operation: 66/2=33, Resulting Numbers: [4, 56, 33]
Generated Node #0,2: 48:[4, 56, 33] Operation: 66/2=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[4, 2, 10], Operations: ['66-56=10']
Exploring Operation: 2+10=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 48:[4, 12] Operation: 2+10=12
Exploring Operation: 10-2=8, Resulting Numbers: [4, 8]
Generated Node #0,0,1: 48:[4, 8] Operation: 10-2=8
Exploring Operation: 10-4=6, Resulting Numbers: [2, 6]
Generated Node #0,0,2: 48:[2, 6] Operation: 10-4=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[4, 12], Operations: ['66-56=10', '2+10=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[66, 4, 56, 2], Operations: []
Exploring Operation: 66-56=10, Resulting Numbers: [4, 2, 10]
Generated Node #0,0: 48:[4, 2, 10] Operation: 66-56=10
Moving to Node #0,0
Current State: 48:[4, 2, 10], Operations: ['66-56=10']
Exploring Operation: 2+10=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 48:[4, 12] Operation: 2+10=12
Moving to Node #0,0,0
Current State: 48:[4, 12], Operations: ['66-56=10', '2+10=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
25,
87,
2,
87
] | 56 | [
"87-25=62",
"62/2=31",
"87-31=56"
] | Current State: 56:[25, 87, 2, 87], Operations: []
Exploring Operation: 87-25=62, Resulting Numbers: [2, 62]
Generated Node #2: [2, 62] from Operation: 87-25=62
Current State: 56:[2, 62], Operations: ['87-25=62']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,56 equal: Goal Reached
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[25, 87, 2, 87], Operations: []
Exploring Operation: 87-87=0, Resulting Numbers: [25, 2, 0]
Generated Node #0,0: 56:[25, 2, 0] Operation: 87-87=0
Exploring Operation: 87/87=1, Resulting Numbers: [25, 2, 1]
Generated Node #0,1: 56:[25, 2, 1] Operation: 87/87=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[25, 2, 1], Operations: ['87/87=1']
Exploring Operation: 25+1=26, Resulting Numbers: [2, 26]
Generated Node #0,1,0: 56:[2, 26] Operation: 25+1=26
Exploring Operation: 25+2=27, Resulting Numbers: [1, 27]
Generated Node #0,1,1: 56:[1, 27] Operation: 25+2=27
Moving to Node #0,1,0
Current State: 56:[2, 26], Operations: ['87/87=1', '25+1=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[1, 27], Operations: ['87/87=1', '25+2=27']
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[25, 2, 0], Operations: ['87-87=0']
Exploring Operation: 25+2=27, Resulting Numbers: [0, 27]
Generated Node #0,0,0: 56:[0, 27] Operation: 25+2=27
Exploring Operation: 25*0=0, Resulting Numbers: [2, 0]
Generated Node #0,0,1: 56:[2, 0] Operation: 25*0=0
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[2, 0], Operations: ['87-87=0', '25*0=0']
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[0, 27], Operations: ['87-87=0', '25+2=27']
Exploring Operation: 27-0=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 0+27=27, Resulting Numbers: [27]
27,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
63,
44,
19,
46
] | 46 | [
"63-44=19",
"19+46=65",
"65-19=46"
] | Current State: 46:[63, 44, 19, 46], Operations: []
Exploring Operation: 63-44=19, Resulting Numbers: [19, 46, 19]
Generated Node #2: [19, 46, 19] from Operation: 63-44=19
Current State: 46:[19, 46, 19], Operations: ['63-44=19']
Exploring Operation: 19+46=65, Resulting Numbers: [65]
65,46 equal: Goal Reached
Exploring Operation: 65-19=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[63, 44, 19, 46], Operations: []
Exploring Operation: 63-19=44, Resulting Numbers: [44, 46, 44]
Generated Node #0,0: 46:[44, 46, 44] Operation: 63-19=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[44, 46, 44], Operations: ['63-19=44']
Exploring Operation: 44/44=1, Resulting Numbers: [46, 1]
Generated Node #0,0,0: 46:[46, 1] Operation: 44/44=1
Moving to Node #0,0,0
Current State: 46:[46, 1], Operations: ['63-19=44', '44/44=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[63, 44, 19, 46], Operations: []
Exploring Operation: 63-19=44, Resulting Numbers: [44, 46, 44]
Generated Node #0,0: 46:[44, 46, 44] Operation: 63-19=44
Moving to Node #0,0
Current State: 46:[44, 46, 44], Operations: ['63-19=44']
Exploring Operation: 44/44=1, Resulting Numbers: [46, 1]
Generated Node #0,0,0: 46:[46, 1] Operation: 44/44=1
Moving to Node #0,0,0
Current State: 46:[46, 1], Operations: ['63-19=44', '44/44=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
64,
7,
74,
87
] | 17 | [
"74-64=10",
"7*10=70",
"87-70=17"
] | Current State: 17:[64, 7, 74, 87], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [7, 87, 10]
Generated Node #2: [7, 87, 10] from Operation: 74-64=10
Current State: 17:[7, 87, 10], Operations: ['74-64=10']
Exploring Operation: 7*10=70, Resulting Numbers: [87, 70]
Generated Node #3: [87, 70] from Operation: 7*10=70
Current State: 17:[87, 70], Operations: ['74-64=10', '7*10=70']
Exploring Operation: 87-70=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[64, 7, 74, 87], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [7, 87, 10]
Generated Node #0,0: 17:[7, 87, 10] Operation: 74-64=10
Exploring Operation: 87-74=13, Resulting Numbers: [64, 7, 13]
Generated Node #0,1: 17:[64, 7, 13] Operation: 87-74=13
Exploring Operation: 87-64=23, Resulting Numbers: [7, 74, 23]
Generated Node #0,2: 17:[7, 74, 23] Operation: 87-64=23
Moving to Node #0,1
Current State: 17:[64, 7, 13], Operations: ['87-74=13']
Exploring Operation: 7+13=20, Resulting Numbers: [64, 20]
Generated Node #0,1,0: 17:[64, 20] Operation: 7+13=20
Exploring Operation: 64-13=51, Resulting Numbers: [7, 51]
Generated Node #0,1,1: 17:[7, 51] Operation: 64-13=51
Exploring Operation: 64-7=57, Resulting Numbers: [13, 57]
Generated Node #0,1,2: 17:[13, 57] Operation: 64-7=57
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[7, 51], Operations: ['87-74=13', '64-13=51']
Exploring Operation: 7+51=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 7*51=357, Resulting Numbers: [357]
357,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 17:[13, 57], Operations: ['87-74=13', '64-7=57']
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 13+57=70, Resulting Numbers: [70]
70,17 unequal: No Solution
Exploring Operation: 13*57=741, Resulting Numbers: [741]
741,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[64, 20], Operations: ['87-74=13', '7+13=20']
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 64*20=1280, Resulting Numbers: [1280]
1280,17 unequal: No Solution
Exploring Operation: 64+20=84, Resulting Numbers: [84]
84,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 17:[7, 74, 23], Operations: ['87-64=23']
Exploring Operation: 74-7=67, Resulting Numbers: [23, 67]
Generated Node #0,2,0: 17:[23, 67] Operation: 74-7=67
Exploring Operation: 23-7=16, Resulting Numbers: [74, 16]
Generated Node #0,2,1: 17:[74, 16] Operation: 23-7=16
Exploring Operation: 74-23=51, Resulting Numbers: [7, 51]
Generated Node #0,2,2: 17:[7, 51] Operation: 74-23=51
Moving to Node #0,0
Current State: 17:[7, 87, 10], Operations: ['74-64=10']
Exploring Operation: 87-10=77, Resulting Numbers: [7, 77]
Generated Node #0,0,0: 17:[7, 77] Operation: 87-10=77
Exploring Operation: 87-7=80, Resulting Numbers: [10, 80]
Generated Node #0,0,1: 17:[10, 80] Operation: 87-7=80
Exploring Operation: 7+10=17, Resulting Numbers: [87, 17]
Generated Node #0,0,2: 17:[87, 17] Operation: 7+10=17
Moving to Node #0,2,2
Current State: 17:[7, 51], Operations: ['87-64=23', '74-23=51']
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 7*51=357, Resulting Numbers: [357]
357,17 unequal: No Solution
Exploring Operation: 7+51=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Moving to Node #0,2,0
Current State: 17:[23, 67], Operations: ['87-64=23', '74-7=67']
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 23*67=1541, Resulting Numbers: [1541]
1541,17 unequal: No Solution
Exploring Operation: 23+67=90, Resulting Numbers: [90]
90,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[74, 16], Operations: ['87-64=23', '23-7=16']
Exploring Operation: 74+16=90, Resulting Numbers: [90]
90,17 unequal: No Solution
Exploring Operation: 74*16=1184, Resulting Numbers: [1184]
1184,17 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[87, 17], Operations: ['74-64=10', '7+10=17']
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,17 unequal: No Solution
Exploring Operation: 87*17=1479, Resulting Numbers: [1479]
1479,17 unequal: No Solution
Exploring Operation: 87+17=104, Resulting Numbers: [104]
104,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[10, 80], Operations: ['74-64=10', '87-7=80']
Exploring Operation: 10+80=90, Resulting Numbers: [90]
90,17 unequal: No Solution
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 80-10=70, Resulting Numbers: [70]
70,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[7, 77], Operations: ['74-64=10', '87-10=77']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Exploring Operation: 7+77=84, Resulting Numbers: [84]
84,17 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,17 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
19,
96,
12,
63
] | 26 | [
"96-19=77",
"63-12=51",
"77-51=26"
] | Current State: 26:[19, 96, 12, 63], Operations: []
Exploring Operation: 96-19=77, Resulting Numbers: [12, 63, 77]
Generated Node #2: [12, 63, 77] from Operation: 96-19=77
Current State: 26:[12, 63, 77], Operations: ['96-19=77']
Exploring Operation: 63-12=51, Resulting Numbers: [77, 51]
Generated Node #3: [77, 51] from Operation: 63-12=51
Current State: 26:[77, 51], Operations: ['96-19=77', '63-12=51']
Exploring Operation: 77-51=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[19, 96, 12, 63], Operations: []
Exploring Operation: 96-63=33, Resulting Numbers: [19, 12, 33]
Generated Node #0,0: 26:[19, 12, 33] Operation: 96-63=33
Exploring Operation: 96/12=8, Resulting Numbers: [19, 63, 8]
Generated Node #0,1: 26:[19, 63, 8] Operation: 96/12=8
Moving to Node #0,0
Current State: 26:[19, 12, 33], Operations: ['96-63=33']
Exploring Operation: 33-19=14, Resulting Numbers: [12, 14]
Generated Node #0,0,0: 26:[12, 14] Operation: 33-19=14
Exploring Operation: 33-12=21, Resulting Numbers: [19, 21]
Generated Node #0,0,1: 26:[19, 21] Operation: 33-12=21
Moving to Node #0,1
Current State: 26:[19, 63, 8], Operations: ['96/12=8']
Exploring Operation: 63-8=55, Resulting Numbers: [19, 55]
Generated Node #0,1,0: 26:[19, 55] Operation: 63-8=55
Exploring Operation: 63-19=44, Resulting Numbers: [8, 44]
Generated Node #0,1,1: 26:[8, 44] Operation: 63-19=44
Moving to Node #0,0,0
Current State: 26:[12, 14], Operations: ['96-63=33', '33-19=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[19, 96, 12, 63], Operations: []
Exploring Operation: 96-63=33, Resulting Numbers: [19, 12, 33]
Generated Node #0,0: 26:[19, 12, 33] Operation: 96-63=33
Moving to Node #0,0
Current State: 26:[19, 12, 33], Operations: ['96-63=33']
Exploring Operation: 33-19=14, Resulting Numbers: [12, 14]
Generated Node #0,0,0: 26:[12, 14] Operation: 33-19=14
Moving to Node #0,0,0
Current State: 26:[12, 14], Operations: ['96-63=33', '33-19=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
68,
38,
40,
46
] | 20 | [
"68+38=106",
"40+46=86",
"106-86=20"
] | Current State: 20:[68, 38, 40, 46], Operations: []
Exploring Operation: 68+38=106, Resulting Numbers: [40, 46, 106]
Generated Node #2: [40, 46, 106] from Operation: 68+38=106
Current State: 20:[40, 46, 106], Operations: ['68+38=106']
Exploring Operation: 40+46=86, Resulting Numbers: [106, 86]
Generated Node #3: [106, 86] from Operation: 40+46=86
Current State: 20:[106, 86], Operations: ['68+38=106', '40+46=86']
Exploring Operation: 106-86=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[68, 38, 40, 46], Operations: []
Exploring Operation: 68-46=22, Resulting Numbers: [38, 40, 22]
Generated Node #0,0: 20:[38, 40, 22] Operation: 68-46=22
Exploring Operation: 68-40=28, Resulting Numbers: [38, 46, 28]
Generated Node #0,1: 20:[38, 46, 28] Operation: 68-40=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[38, 40, 22], Operations: ['68-46=22']
Exploring Operation: 40-22=18, Resulting Numbers: [38, 18]
Generated Node #0,0,0: 20:[38, 18] Operation: 40-22=18
Exploring Operation: 40-38=2, Resulting Numbers: [22, 2]
Generated Node #0,0,1: 20:[22, 2] Operation: 40-38=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[22, 2], Operations: ['68-46=22', '40-38=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[68, 38, 40, 46], Operations: []
Exploring Operation: 68-46=22, Resulting Numbers: [38, 40, 22]
Generated Node #0,0: 20:[38, 40, 22] Operation: 68-46=22
Moving to Node #0,0
Current State: 20:[38, 40, 22], Operations: ['68-46=22']
Exploring Operation: 40-38=2, Resulting Numbers: [22, 2]
Generated Node #0,0,1: 20:[22, 2] Operation: 40-38=2
Moving to Node #0,0,1
Current State: 20:[22, 2], Operations: ['68-46=22', '40-38=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
43,
33,
15,
27
] | 52 | [
"43*33=1419",
"1419-15=1404",
"1404/27=52"
] | Current State: 52:[43, 33, 15, 27], Operations: []
Exploring Operation: 43*33=1419, Resulting Numbers: [15, 27, 1419]
Generated Node #2: [15, 27, 1419] from Operation: 43*33=1419
Current State: 52:[15, 27, 1419], Operations: ['43*33=1419']
Exploring Operation: 1419-15=1404, Resulting Numbers: [27, 1404]
Generated Node #3: [27, 1404] from Operation: 1419-15=1404
Current State: 52:[27, 1404], Operations: ['43*33=1419', '1419-15=1404']
Exploring Operation: 1404/27=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[43, 33, 15, 27], Operations: []
Exploring Operation: 43-33=10, Resulting Numbers: [15, 27, 10]
Generated Node #0,0: 52:[15, 27, 10] Operation: 43-33=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[15, 27, 10], Operations: ['43-33=10']
Exploring Operation: 15+10=25, Resulting Numbers: [27, 25]
Generated Node #0,0,0: 52:[27, 25] Operation: 15+10=25
Moving to Node #0,0,0
Current State: 52:[27, 25], Operations: ['43-33=10', '15+10=25']
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[43, 33, 15, 27], Operations: []
Exploring Operation: 43-33=10, Resulting Numbers: [15, 27, 10]
Generated Node #0,0: 52:[15, 27, 10] Operation: 43-33=10
Moving to Node #0,0
Current State: 52:[15, 27, 10], Operations: ['43-33=10']
Exploring Operation: 15+10=25, Resulting Numbers: [27, 25]
Generated Node #0,0,0: 52:[27, 25] Operation: 15+10=25
Moving to Node #0,0,0
Current State: 52:[27, 25], Operations: ['43-33=10', '15+10=25']
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
70,
88,
74,
48
] | 85 | [
"70+74=144",
"144/48=3",
"88-3=85"
] | Current State: 85:[70, 88, 74, 48], Operations: []
Exploring Operation: 70+74=144, Resulting Numbers: [88, 48, 144]
Generated Node #2: [88, 48, 144] from Operation: 70+74=144
Current State: 85:[88, 48, 144], Operations: ['70+74=144']
Exploring Operation: 144/48=3, Resulting Numbers: [88, 3]
Generated Node #3: [88, 3] from Operation: 144/48=3
Current State: 85:[88, 3], Operations: ['70+74=144', '144/48=3']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[70, 88, 74, 48], Operations: []
Exploring Operation: 70-48=22, Resulting Numbers: [88, 74, 22]
Generated Node #0,0: 85:[88, 74, 22] Operation: 70-48=22
Moving to Node #0,0
Current State: 85:[88, 74, 22], Operations: ['70-48=22']
Exploring Operation: 88-74=14, Resulting Numbers: [22, 14]
Generated Node #0,0,0: 85:[22, 14] Operation: 88-74=14
Moving to Node #0,0,0
Current State: 85:[22, 14], Operations: ['70-48=22', '88-74=14']
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,85 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
64,
28,
57,
14
] | 49 | [
"64+28=92",
"57-14=43",
"92-43=49"
] | Current State: 49:[64, 28, 57, 14], Operations: []
Exploring Operation: 64+28=92, Resulting Numbers: [57, 14, 92]
Generated Node #2: [57, 14, 92] from Operation: 64+28=92
Current State: 49:[57, 14, 92], Operations: ['64+28=92']
Exploring Operation: 57-14=43, Resulting Numbers: [92, 43]
Generated Node #3: [92, 43] from Operation: 57-14=43
Current State: 49:[92, 43], Operations: ['64+28=92', '57-14=43']
Exploring Operation: 92-43=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[64, 28, 57, 14], Operations: []
Exploring Operation: 64-28=36, Resulting Numbers: [57, 14, 36]
Generated Node #0,0: 49:[57, 14, 36] Operation: 64-28=36
Exploring Operation: 64-57=7, Resulting Numbers: [28, 14, 7]
Generated Node #0,1: 49:[28, 14, 7] Operation: 64-57=7
Exploring Operation: 28/14=2, Resulting Numbers: [64, 57, 2]
Generated Node #0,2: 49:[64, 57, 2] Operation: 28/14=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[57, 14, 36], Operations: ['64-28=36']
Exploring Operation: 14+36=50, Resulting Numbers: [57, 50]
Generated Node #0,0,0: 49:[57, 50] Operation: 14+36=50
Exploring Operation: 57-36=21, Resulting Numbers: [14, 21]
Generated Node #0,0,1: 49:[14, 21] Operation: 57-36=21
Exploring Operation: 57-14=43, Resulting Numbers: [36, 43]
Generated Node #0,0,2: 49:[36, 43] Operation: 57-14=43
Moving to Node #0,0,0
Current State: 49:[57, 50], Operations: ['64-28=36', '14+36=50']
Exploring Operation: 57-50=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 57+50=107, Resulting Numbers: [107]
107,49 unequal: No Solution
Exploring Operation: 57*50=2850, Resulting Numbers: [2850]
2850,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[36, 43], Operations: ['64-28=36', '57-14=43']
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 36*43=1548, Resulting Numbers: [1548]
1548,49 unequal: No Solution
Exploring Operation: 36+43=79, Resulting Numbers: [79]
79,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[14, 21], Operations: ['64-28=36', '57-36=21']
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,49 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,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,1
Current State: 49:[28, 14, 7], Operations: ['64-57=7']
Exploring Operation: 28-14=14, Resulting Numbers: [7, 14]
Generated Node #0,1,0: 49:[7, 14] Operation: 28-14=14
Exploring Operation: 28+14=42, Resulting Numbers: [7, 42]
Generated Node #0,1,1: 49:[7, 42] Operation: 28+14=42
Exploring Operation: 28/14=2, Resulting Numbers: [7, 2]
Generated Node #0,1,2: 49:[7, 2] Operation: 28/14=2
Moving to Node #0,1,2
Current State: 49:[7, 2], Operations: ['64-57=7', '28/14=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[7, 14], Operations: ['64-57=7', '28-14=14']
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,49 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[7, 42], Operations: ['64-57=7', '28+14=42']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,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:[64, 28, 57, 14], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [28, 14, 7]
Generated Node #0,1: 49:[28, 14, 7] Operation: 64-57=7
Moving to Node #0,1
Current State: 49:[28, 14, 7], Operations: ['64-57=7']
Exploring Operation: 28+14=42, Resulting Numbers: [7, 42]
Generated Node #0,1,1: 49:[7, 42] Operation: 28+14=42
Moving to Node #0,1,1
Current State: 49:[7, 42], Operations: ['64-57=7', '28+14=42']
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_3 | mult_heuristic |
[
22,
47,
72,
9
] | 17 | [
"47-22=25",
"72/9=8",
"25-8=17"
] | Current State: 17:[22, 47, 72, 9], Operations: []
Exploring Operation: 47-22=25, Resulting Numbers: [72, 9, 25]
Generated Node #2: [72, 9, 25] from Operation: 47-22=25
Current State: 17:[72, 9, 25], Operations: ['47-22=25']
Exploring Operation: 72/9=8, Resulting Numbers: [25, 8]
Generated Node #3: [25, 8] from Operation: 72/9=8
Current State: 17:[25, 8], Operations: ['47-22=25', '72/9=8']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[22, 47, 72, 9], Operations: []
Exploring Operation: 72/9=8, Resulting Numbers: [22, 47, 8]
Generated Node #0,0: 17:[22, 47, 8] Operation: 72/9=8
Exploring Operation: 72-47=25, Resulting Numbers: [22, 9, 25]
Generated Node #0,1: 17:[22, 9, 25] Operation: 72-47=25
Exploring Operation: 47-22=25, Resulting Numbers: [72, 9, 25]
Generated Node #0,2: 17:[72, 9, 25] Operation: 47-22=25
Moving to Node #0,1
Current State: 17:[22, 9, 25], Operations: ['72-47=25']
Exploring Operation: 22+9=31, Resulting Numbers: [25, 31]
Generated Node #0,1,0: 17:[25, 31] Operation: 22+9=31
Exploring Operation: 25-9=16, Resulting Numbers: [22, 16]
Generated Node #0,1,1: 17:[22, 16] Operation: 25-9=16
Exploring Operation: 22-9=13, Resulting Numbers: [25, 13]
Generated Node #0,1,2: 17:[25, 13] Operation: 22-9=13
Moving to Node #0,0
Current State: 17:[22, 47, 8], Operations: ['72/9=8']
Exploring Operation: 47-8=39, Resulting Numbers: [22, 39]
Generated Node #0,0,0: 17:[22, 39] Operation: 47-8=39
Exploring Operation: 47-22=25, Resulting Numbers: [8, 25]
Generated Node #0,0,1: 17:[8, 25] Operation: 47-22=25
Exploring Operation: 22-8=14, Resulting Numbers: [47, 14]
Generated Node #0,0,2: 17:[47, 14] Operation: 22-8=14
Moving to Node #0,2
Current State: 17:[72, 9, 25], Operations: ['47-22=25']
Exploring Operation: 72-25=47, Resulting Numbers: [9, 47]
Generated Node #0,2,0: 17:[9, 47] Operation: 72-25=47
Exploring Operation: 72-9=63, Resulting Numbers: [25, 63]
Generated Node #0,2,1: 17:[25, 63] Operation: 72-9=63
Exploring Operation: 72/9=8, Resulting Numbers: [25, 8]
Generated Node #0,2,2: 17:[25, 8] Operation: 72/9=8
Moving to Node #0,1,1
Current State: 17:[22, 16], Operations: ['72-47=25', '25-9=16']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,17 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[25, 13], Operations: ['72-47=25', '22-9=13']
Exploring Operation: 25*13=325, Resulting Numbers: [325]
325,17 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[25, 8], Operations: ['47-22=25', '72/9=8']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[22, 47, 72, 9], Operations: []
Exploring Operation: 47-22=25, Resulting Numbers: [72, 9, 25]
Generated Node #0,2: 17:[72, 9, 25] Operation: 47-22=25
Moving to Node #0,2
Current State: 17:[72, 9, 25], Operations: ['47-22=25']
Exploring Operation: 72/9=8, Resulting Numbers: [25, 8]
Generated Node #0,2,2: 17:[25, 8] Operation: 72/9=8
Moving to Node #0,2,2
Current State: 17:[25, 8], Operations: ['47-22=25', '72/9=8']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.980035 | hs_3 | sum_heuristic |
[
12,
77,
83,
18
] | 20 | [
"83-77=6",
"12/6=2",
"18+2=20"
] | Current State: 20:[12, 77, 83, 18], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [12, 18, 6]
Generated Node #2: [12, 18, 6] from Operation: 83-77=6
Current State: 20:[12, 18, 6], Operations: ['83-77=6']
Exploring Operation: 12/6=2, Resulting Numbers: [18, 2]
Generated Node #3: [18, 2] from Operation: 12/6=2
Current State: 20:[18, 2], Operations: ['83-77=6', '12/6=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[12, 77, 83, 18], Operations: []
Exploring Operation: 77-18=59, Resulting Numbers: [12, 83, 59]
Generated Node #0,0: 20:[12, 83, 59] Operation: 77-18=59
Exploring Operation: 83-77=6, Resulting Numbers: [12, 18, 6]
Generated Node #0,1: 20:[12, 18, 6] Operation: 83-77=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[12, 18, 6], Operations: ['83-77=6']
Exploring Operation: 18-12=6, Resulting Numbers: [6, 6]
Generated Node #0,1,0: 20:[6, 6] Operation: 18-12=6
Exploring Operation: 12/6=2, Resulting Numbers: [18, 2]
Generated Node #0,1,1: 20:[18, 2] Operation: 12/6=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[6, 6], Operations: ['83-77=6', '18-12=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[18, 2], Operations: ['83-77=6', '12/6=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[12, 77, 83, 18], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [12, 18, 6]
Generated Node #0,1: 20:[12, 18, 6] Operation: 83-77=6
Moving to Node #0,1
Current State: 20:[12, 18, 6], Operations: ['83-77=6']
Exploring Operation: 12/6=2, Resulting Numbers: [18, 2]
Generated Node #0,1,1: 20:[18, 2] Operation: 12/6=2
Moving to Node #0,1,1
Current State: 20:[18, 2], Operations: ['83-77=6', '12/6=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
44,
24,
62,
26
] | 22 | [
"62+26=88",
"88/44=2",
"24-2=22"
] | Current State: 22:[44, 24, 62, 26], Operations: []
Exploring Operation: 62+26=88, Resulting Numbers: [44, 24, 88]
Generated Node #2: [44, 24, 88] from Operation: 62+26=88
Current State: 22:[44, 24, 88], Operations: ['62+26=88']
Exploring Operation: 88/44=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 88/44=2
Current State: 22:[24, 2], Operations: ['62+26=88', '88/44=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[44, 24, 62, 26], Operations: []
Exploring Operation: 62-44=18, Resulting Numbers: [24, 26, 18]
Generated Node #0,0: 22:[24, 26, 18] Operation: 62-44=18
Exploring Operation: 62-24=38, Resulting Numbers: [44, 26, 38]
Generated Node #0,1: 22:[44, 26, 38] Operation: 62-24=38
Exploring Operation: 62-26=36, Resulting Numbers: [44, 24, 36]
Generated Node #0,2: 22:[44, 24, 36] Operation: 62-26=36
Moving to Node #0,0
Current State: 22:[24, 26, 18], Operations: ['62-44=18']
Exploring Operation: 26-24=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 22:[18, 2] Operation: 26-24=2
Exploring Operation: 24-18=6, Resulting Numbers: [26, 6]
Generated Node #0,0,1: 22:[26, 6] Operation: 24-18=6
Exploring Operation: 26-18=8, Resulting Numbers: [24, 8]
Generated Node #0,0,2: 22:[24, 8] Operation: 26-18=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[18, 2], Operations: ['62-44=18', '26-24=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,22 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[24, 8], Operations: ['62-44=18', '26-18=8']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[26, 6], Operations: ['62-44=18', '24-18=6']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,22 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: 22:[44, 24, 36], Operations: ['62-26=36']
Exploring Operation: 44-36=8, Resulting Numbers: [24, 8]
Generated Node #0,2,0: 22:[24, 8] Operation: 44-36=8
Exploring Operation: 44-24=20, Resulting Numbers: [36, 20]
Generated Node #0,2,1: 22:[36, 20] Operation: 44-24=20
Exploring Operation: 36-24=12, Resulting Numbers: [44, 12]
Generated Node #0,2,2: 22:[44, 12] Operation: 36-24=12
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[24, 8], Operations: ['62-26=36', '44-36=8']
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 22:[36, 20], Operations: ['62-26=36', '44-24=20']
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,22 unequal: No Solution
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,22 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 22:[44, 12], Operations: ['62-26=36', '36-24=12']
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 44*12=528, Resulting Numbers: [528]
528,22 unequal: No Solution
Exploring Operation: 44+12=56, Resulting Numbers: [56]
56,22 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: 22:[44, 26, 38], Operations: ['62-24=38']
Exploring Operation: 44-38=6, Resulting Numbers: [26, 6]
Generated Node #0,1,0: 22:[26, 6] Operation: 44-38=6
Exploring Operation: 44-26=18, Resulting Numbers: [38, 18]
Generated Node #0,1,1: 22:[38, 18] Operation: 44-26=18
Exploring Operation: 38-26=12, Resulting Numbers: [44, 12]
Generated Node #0,1,2: 22:[44, 12] Operation: 38-26=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[26, 6], Operations: ['62-24=38', '44-38=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,22 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[38, 18], Operations: ['62-24=38', '44-26=18']
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,22 unequal: No Solution
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,22 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 22:[44, 12], Operations: ['62-24=38', '38-26=12']
Exploring Operation: 44+12=56, Resulting Numbers: [56]
56,22 unequal: No Solution
Exploring Operation: 44*12=528, Resulting Numbers: [528]
528,22 unequal: No Solution
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
93,
97,
67,
78
] | 44 | [
"97-93=4",
"78-67=11",
"4*11=44"
] | Current State: 44:[93, 97, 67, 78], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [67, 78, 4]
Generated Node #2: [67, 78, 4] from Operation: 97-93=4
Current State: 44:[67, 78, 4], Operations: ['97-93=4']
Exploring Operation: 78-67=11, Resulting Numbers: [4, 11]
Generated Node #3: [4, 11] from Operation: 78-67=11
Current State: 44:[4, 11], Operations: ['97-93=4', '78-67=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[93, 97, 67, 78], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [67, 78, 4]
Generated Node #0,0: 44:[67, 78, 4] Operation: 97-93=4
Exploring Operation: 97-78=19, Resulting Numbers: [93, 67, 19]
Generated Node #0,1: 44:[93, 67, 19] Operation: 97-78=19
Moving to Node #0,0
Current State: 44:[67, 78, 4], Operations: ['97-93=4']
Exploring Operation: 67-4=63, Resulting Numbers: [78, 63]
Generated Node #0,0,0: 44:[78, 63] Operation: 67-4=63
Exploring Operation: 78-67=11, Resulting Numbers: [4, 11]
Generated Node #0,0,1: 44:[4, 11] Operation: 78-67=11
Moving to Node #0,1
Current State: 44:[93, 67, 19], Operations: ['97-78=19']
Exploring Operation: 93-19=74, Resulting Numbers: [67, 74]
Generated Node #0,1,0: 44:[67, 74] Operation: 93-19=74
Exploring Operation: 93-67=26, Resulting Numbers: [19, 26]
Generated Node #0,1,1: 44:[19, 26] Operation: 93-67=26
Moving to Node #0,0,1
Current State: 44:[4, 11], Operations: ['97-93=4', '78-67=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[93, 97, 67, 78], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [67, 78, 4]
Generated Node #0,0: 44:[67, 78, 4] Operation: 97-93=4
Moving to Node #0,0
Current State: 44:[67, 78, 4], Operations: ['97-93=4']
Exploring Operation: 78-67=11, Resulting Numbers: [4, 11]
Generated Node #0,0,1: 44:[4, 11] Operation: 78-67=11
Moving to Node #0,0,1
Current State: 44:[4, 11], Operations: ['97-93=4', '78-67=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
36,
92,
15,
44
] | 69 | [
"36+92=128",
"15+44=59",
"128-59=69"
] | Current State: 69:[36, 92, 15, 44], Operations: []
Exploring Operation: 36+92=128, Resulting Numbers: [15, 44, 128]
Generated Node #2: [15, 44, 128] from Operation: 36+92=128
Current State: 69:[15, 44, 128], Operations: ['36+92=128']
Exploring Operation: 15+44=59, Resulting Numbers: [128, 59]
Generated Node #3: [128, 59] from Operation: 15+44=59
Current State: 69:[128, 59], Operations: ['36+92=128', '15+44=59']
Exploring Operation: 128-59=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[36, 92, 15, 44], Operations: []
Exploring Operation: 44-36=8, Resulting Numbers: [92, 15, 8]
Generated Node #0,0: 69:[92, 15, 8] Operation: 44-36=8
Exploring Operation: 92-36=56, Resulting Numbers: [15, 44, 56]
Generated Node #0,1: 69:[15, 44, 56] Operation: 92-36=56
Exploring Operation: 92-15=77, Resulting Numbers: [36, 44, 77]
Generated Node #0,2: 69:[36, 44, 77] Operation: 92-15=77
Exploring Operation: 36+44=80, Resulting Numbers: [92, 15, 80]
Generated Node #0,3: 69:[92, 15, 80] Operation: 36+44=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[92, 15, 8], Operations: ['44-36=8']
Exploring Operation: 15+8=23, Resulting Numbers: [92, 23]
Generated Node #0,0,0: 69:[92, 23] Operation: 15+8=23
Exploring Operation: 92-8=84, Resulting Numbers: [15, 84]
Generated Node #0,0,1: 69:[15, 84] Operation: 92-8=84
Exploring Operation: 92-15=77, Resulting Numbers: [8, 77]
Generated Node #0,0,2: 69:[8, 77] Operation: 92-15=77
Exploring Operation: 15-8=7, Resulting Numbers: [92, 7]
Generated Node #0,0,3: 69:[92, 7] Operation: 15-8=7
Moving to Node #0,0,2
Current State: 69:[8, 77], Operations: ['44-36=8', '92-15=77']
Exploring Operation: 8*77=616, Resulting Numbers: [616]
616,69 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[36, 92, 15, 44], Operations: []
Exploring Operation: 44-36=8, Resulting Numbers: [92, 15, 8]
Generated Node #0,0: 69:[92, 15, 8] Operation: 44-36=8
Moving to Node #0,0
Current State: 69:[92, 15, 8], Operations: ['44-36=8']
Exploring Operation: 92-15=77, Resulting Numbers: [8, 77]
Generated Node #0,0,2: 69:[8, 77] Operation: 92-15=77
Moving to Node #0,0,2
Current State: 69:[8, 77], Operations: ['44-36=8', '92-15=77']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
24,
9,
82,
8
] | 85 | [
"24/8=3",
"9/3=3",
"82+3=85"
] | Current State: 85:[24, 9, 82, 8], Operations: []
Exploring Operation: 24/8=3, Resulting Numbers: [9, 82, 3]
Generated Node #2: [9, 82, 3] from Operation: 24/8=3
Current State: 85:[9, 82, 3], Operations: ['24/8=3']
Exploring Operation: 9/3=3, Resulting Numbers: [82, 3]
Generated Node #3: [82, 3] from Operation: 9/3=3
Current State: 85:[82, 3], Operations: ['24/8=3', '9/3=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[24, 9, 82, 8], Operations: []
Exploring Operation: 24-9=15, Resulting Numbers: [82, 8, 15]
Generated Node #0,0: 85:[82, 8, 15] Operation: 24-9=15
Exploring Operation: 24-8=16, Resulting Numbers: [9, 82, 16]
Generated Node #0,1: 85:[9, 82, 16] Operation: 24-8=16
Exploring Operation: 24/8=3, Resulting Numbers: [9, 82, 3]
Generated Node #0,2: 85:[9, 82, 3] Operation: 24/8=3
Exploring Operation: 9+8=17, Resulting Numbers: [24, 82, 17]
Generated Node #0,3: 85:[24, 82, 17] Operation: 9+8=17
Moving to Node #0,0
Current State: 85:[82, 8, 15], Operations: ['24-9=15']
Exploring Operation: 82+8=90, Resulting Numbers: [15, 90]
Generated Node #0,0,0: 85:[15, 90] Operation: 82+8=90
Exploring Operation: 82-8=74, Resulting Numbers: [15, 74]
Generated Node #0,0,1: 85:[15, 74] Operation: 82-8=74
Exploring Operation: 8+15=23, Resulting Numbers: [82, 23]
Generated Node #0,0,2: 85:[82, 23] Operation: 8+15=23
Exploring Operation: 15-8=7, Resulting Numbers: [82, 7]
Generated Node #0,0,3: 85:[82, 7] Operation: 15-8=7
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 85:[82, 7], Operations: ['24-9=15', '15-8=7']
Exploring Operation: 82*7=574, Resulting Numbers: [574]
574,85 unequal: No Solution
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,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,0,0
Current State: 85:[15, 90], Operations: ['24-9=15', '82+8=90']
Exploring Operation: 15+90=105, Resulting Numbers: [105]
105,85 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 15*90=1350, Resulting Numbers: [1350]
1350,85 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,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,0,2
Current State: 85:[82, 23], Operations: ['24-9=15', '8+15=23']
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 82+23=105, Resulting Numbers: [105]
105,85 unequal: No Solution
Exploring Operation: 82*23=1886, Resulting Numbers: [1886]
1886,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,0,1
Current State: 85:[15, 74], Operations: ['24-9=15', '82-8=74']
Exploring Operation: 15+74=89, Resulting Numbers: [89]
89,85 unequal: No Solution
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 15*74=1110, Resulting Numbers: [1110]
1110,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 85:[9, 82, 16], Operations: ['24-8=16']
Exploring Operation: 9+16=25, Resulting Numbers: [82, 25]
Generated Node #0,1,0: 85:[82, 25] Operation: 9+16=25
Exploring Operation: 82-9=73, Resulting Numbers: [16, 73]
Generated Node #0,1,1: 85:[16, 73] Operation: 82-9=73
Exploring Operation: 16-9=7, Resulting Numbers: [82, 7]
Generated Node #0,1,2: 85:[82, 7] Operation: 16-9=7
Exploring Operation: 9+82=91, Resulting Numbers: [16, 91]
Generated Node #0,1,3: 85:[16, 91] Operation: 9+82=91
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[82, 7], Operations: ['24-8=16', '16-9=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,85 unequal: No Solution
Exploring Operation: 82*7=574, Resulting Numbers: [574]
574,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 85:[16, 91], Operations: ['24-8=16', '9+82=91']
Exploring Operation: 16+91=107, Resulting Numbers: [107]
107,85 unequal: No Solution
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Exploring Operation: 16*91=1456, Resulting Numbers: [1456]
1456,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[82, 25], Operations: ['24-8=16', '9+16=25']
Exploring Operation: 82+25=107, Resulting Numbers: [107]
107,85 unequal: No Solution
Exploring Operation: 82*25=2050, Resulting Numbers: [2050]
2050,85 unequal: No Solution
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[16, 73], Operations: ['24-8=16', '82-9=73']
Exploring Operation: 73-16=57, Resulting Numbers: [57]
57,85 unequal: No Solution
Exploring Operation: 16+73=89, Resulting Numbers: [89]
89,85 unequal: No Solution
Exploring Operation: 16*73=1168, Resulting Numbers: [1168]
1168,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 85:[9, 82, 3], Operations: ['24/8=3']
Exploring Operation: 82+3=85, Resulting Numbers: [9, 85]
Generated Node #0,2,0: 85:[9, 85] Operation: 82+3=85
Exploring Operation: 9+82=91, Resulting Numbers: [3, 91]
Generated Node #0,2,1: 85:[3, 91] Operation: 9+82=91
Exploring Operation: 9-3=6, Resulting Numbers: [82, 6]
Generated Node #0,2,2: 85:[82, 6] Operation: 9-3=6
Exploring Operation: 9/3=3, Resulting Numbers: [82, 3]
Generated Node #0,2,3: 85:[82, 3] Operation: 9/3=3
Moving to Node #0,3
Current State: 85:[24, 82, 17], Operations: ['9+8=17']
Exploring Operation: 82+17=99, Resulting Numbers: [24, 99]
Generated Node #0,3,0: 85:[24, 99] Operation: 82+17=99
Exploring Operation: 24+82=106, Resulting Numbers: [17, 106]
Generated Node #0,3,1: 85:[17, 106] Operation: 24+82=106
Exploring Operation: 24-17=7, Resulting Numbers: [82, 7]
Generated Node #0,3,2: 85:[82, 7] Operation: 24-17=7
Exploring Operation: 82-24=58, Resulting Numbers: [17, 58]
Generated Node #0,3,3: 85:[17, 58] Operation: 82-24=58
Moving to Node #0,2,0
Current State: 85:[9, 85], Operations: ['24/8=3', '82+3=85']
Exploring Operation: 9*85=765, Resulting Numbers: [765]
765,85 unequal: No Solution
Exploring Operation: 9+85=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Exploring Operation: 85-9=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[82, 6], Operations: ['24/8=3', '9-3=6']
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,85 unequal: No Solution
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 82*6=492, Resulting Numbers: [492]
492,85 unequal: No Solution
Moving to Node #0,2,3
Current State: 85:[82, 3], Operations: ['24/8=3', '9/3=3']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[24, 9, 82, 8], Operations: []
Exploring Operation: 24/8=3, Resulting Numbers: [9, 82, 3]
Generated Node #0,2: 85:[9, 82, 3] Operation: 24/8=3
Moving to Node #0,2
Current State: 85:[9, 82, 3], Operations: ['24/8=3']
Exploring Operation: 9/3=3, Resulting Numbers: [82, 3]
Generated Node #0,2,3: 85:[82, 3] Operation: 9/3=3
Moving to Node #0,2,3
Current State: 85:[82, 3], Operations: ['24/8=3', '9/3=3']
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.950521 | hs_4 | mult_heuristic |
[
31,
40,
68,
10
] | 95 | [
"31+68=99",
"40/10=4",
"99-4=95"
] | Current State: 95:[31, 40, 68, 10], Operations: []
Exploring Operation: 31+68=99, Resulting Numbers: [40, 10, 99]
Generated Node #2: [40, 10, 99] from Operation: 31+68=99
Current State: 95:[40, 10, 99], Operations: ['31+68=99']
Exploring Operation: 40/10=4, Resulting Numbers: [99, 4]
Generated Node #3: [99, 4] from Operation: 40/10=4
Current State: 95:[99, 4], Operations: ['31+68=99', '40/10=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[31, 40, 68, 10], Operations: []
Exploring Operation: 68-40=28, Resulting Numbers: [31, 10, 28]
Generated Node #0,0: 95:[31, 10, 28] Operation: 68-40=28
Exploring Operation: 31+68=99, Resulting Numbers: [40, 10, 99]
Generated Node #0,1: 95:[40, 10, 99] Operation: 31+68=99
Moving to Node #0,0
Current State: 95:[31, 10, 28], Operations: ['68-40=28']
Exploring Operation: 31-28=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 95:[10, 3] Operation: 31-28=3
Exploring Operation: 31-10=21, Resulting Numbers: [28, 21]
Generated Node #0,0,1: 95:[28, 21] Operation: 31-10=21
Moving to Node #0,1
Current State: 95:[40, 10, 99], Operations: ['31+68=99']
Exploring Operation: 40/10=4, Resulting Numbers: [99, 4]
Generated Node #0,1,0: 95:[99, 4] Operation: 40/10=4
Exploring Operation: 40-10=30, Resulting Numbers: [99, 30]
Generated Node #0,1,1: 95:[99, 30] Operation: 40-10=30
Moving to Node #0,1,0
Current State: 95:[99, 4], Operations: ['31+68=99', '40/10=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[31, 40, 68, 10], Operations: []
Exploring Operation: 31+68=99, Resulting Numbers: [40, 10, 99]
Generated Node #0,1: 95:[40, 10, 99] Operation: 31+68=99
Moving to Node #0,1
Current State: 95:[40, 10, 99], Operations: ['31+68=99']
Exploring Operation: 40/10=4, Resulting Numbers: [99, 4]
Generated Node #0,1,0: 95:[99, 4] Operation: 40/10=4
Moving to Node #0,1,0
Current State: 95:[99, 4], Operations: ['31+68=99', '40/10=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
8,
13,
28,
49
] | 91 | [
"13-8=5",
"28*5=140",
"140-49=91"
] | Current State: 91:[8, 13, 28, 49], Operations: []
Exploring Operation: 13-8=5, Resulting Numbers: [28, 49, 5]
Generated Node #2: [28, 49, 5] from Operation: 13-8=5
Current State: 91:[28, 49, 5], Operations: ['13-8=5']
Exploring Operation: 28*5=140, Resulting Numbers: [49, 140]
Generated Node #3: [49, 140] from Operation: 28*5=140
Current State: 91:[49, 140], Operations: ['13-8=5', '28*5=140']
Exploring Operation: 140-49=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[8, 13, 28, 49], Operations: []
Exploring Operation: 28-8=20, Resulting Numbers: [13, 49, 20]
Generated Node #0,0: 91:[13, 49, 20] Operation: 28-8=20
Exploring Operation: 49-13=36, Resulting Numbers: [8, 28, 36]
Generated Node #0,1: 91:[8, 28, 36] Operation: 49-13=36
Exploring Operation: 28+49=77, Resulting Numbers: [8, 13, 77]
Generated Node #0,2: 91:[8, 13, 77] Operation: 28+49=77
Exploring Operation: 49-28=21, Resulting Numbers: [8, 13, 21]
Generated Node #0,3: 91:[8, 13, 21] Operation: 49-28=21
Exploring Operation: 28-13=15, Resulting Numbers: [8, 49, 15]
Generated Node #0,4: 91:[8, 49, 15] Operation: 28-13=15
Moving to Node #0,3
Current State: 91:[8, 13, 21], Operations: ['49-28=21']
Exploring Operation: 8+21=29, Resulting Numbers: [13, 29]
Generated Node #0,3,0: 91:[13, 29] Operation: 8+21=29
Exploring Operation: 21-8=13, Resulting Numbers: [13, 13]
Generated Node #0,3,1: 91:[13, 13] Operation: 21-8=13
Exploring Operation: 8+13=21, Resulting Numbers: [21, 21]
Generated Node #0,3,2: 91:[21, 21] Operation: 8+13=21
Exploring Operation: 13-8=5, Resulting Numbers: [21, 5]
Generated Node #0,3,3: 91:[21, 5] Operation: 13-8=5
Exploring Operation: 21-13=8, Resulting Numbers: [8, 8]
Generated Node #0,3,4: 91:[8, 8] Operation: 21-13=8
Moving to Node #0,2
Current State: 91:[8, 13, 77], Operations: ['28+49=77']
Exploring Operation: 8+13=21, Resulting Numbers: [77, 21]
Generated Node #0,2,0: 91:[77, 21] Operation: 8+13=21
Exploring Operation: 77-8=69, Resulting Numbers: [13, 69]
Generated Node #0,2,1: 91:[13, 69] Operation: 77-8=69
Exploring Operation: 13+77=90, Resulting Numbers: [8, 90]
Generated Node #0,2,2: 91:[8, 90] Operation: 13+77=90
Exploring Operation: 13-8=5, Resulting Numbers: [77, 5]
Generated Node #0,2,3: 91:[77, 5] Operation: 13-8=5
Exploring Operation: 8+77=85, Resulting Numbers: [13, 85]
Generated Node #0,2,4: 91:[13, 85] Operation: 8+77=85
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[8, 90], Operations: ['28+49=77', '13+77=90']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 8+90=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 8*90=720, Resulting Numbers: [720]
720,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 91:[13, 85], Operations: ['28+49=77', '8+77=85']
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 13+85=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 13*85=1105, Resulting Numbers: [1105]
1105,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[77, 5], Operations: ['28+49=77', '13-8=5']
Exploring Operation: 77*5=385, Resulting Numbers: [385]
385,91 unequal: No Solution
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[77, 21], Operations: ['28+49=77', '8+13=21']
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 77+21=98, Resulting Numbers: [98]
98,91 unequal: No Solution
Exploring Operation: 77*21=1617, Resulting Numbers: [1617]
1617,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[13, 69], Operations: ['28+49=77', '77-8=69']
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 13+69=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 13*69=897, Resulting Numbers: [897]
897,91 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: 91:[8, 28, 36], Operations: ['49-13=36']
Exploring Operation: 36-28=8, Resulting Numbers: [8, 8]
Generated Node #0,1,0: 91:[8, 8] Operation: 36-28=8
Exploring Operation: 8+28=36, Resulting Numbers: [36, 36]
Generated Node #0,1,1: 91:[36, 36] Operation: 8+28=36
Exploring Operation: 36-8=28, Resulting Numbers: [28, 28]
Generated Node #0,1,2: 91:[28, 28] Operation: 36-8=28
Exploring Operation: 28-8=20, Resulting Numbers: [36, 20]
Generated Node #0,1,3: 91:[36, 20] Operation: 28-8=20
Exploring Operation: 28+36=64, Resulting Numbers: [8, 64]
Generated Node #0,1,4: 91:[8, 64] Operation: 28+36=64
Moving to Node #0,4
Current State: 91:[8, 49, 15], Operations: ['28-13=15']
Exploring Operation: 49+15=64, Resulting Numbers: [8, 64]
Generated Node #0,4,0: 91:[8, 64] Operation: 49+15=64
Exploring Operation: 8+49=57, Resulting Numbers: [15, 57]
Generated Node #0,4,1: 91:[15, 57] Operation: 8+49=57
Exploring Operation: 49-8=41, Resulting Numbers: [15, 41]
Generated Node #0,4,2: 91:[15, 41] Operation: 49-8=41
Exploring Operation: 15-8=7, Resulting Numbers: [49, 7]
Generated Node #0,4,3: 91:[49, 7] Operation: 15-8=7
Exploring Operation: 49-15=34, Resulting Numbers: [8, 34]
Generated Node #0,4,4: 91:[8, 34] Operation: 49-15=34
Moving to Node #0,0
Current State: 91:[13, 49, 20], Operations: ['28-8=20']
Exploring Operation: 49-20=29, Resulting Numbers: [13, 29]
Generated Node #0,0,0: 91:[13, 29] Operation: 49-20=29
Exploring Operation: 49-13=36, Resulting Numbers: [20, 36]
Generated Node #0,0,1: 91:[20, 36] Operation: 49-13=36
Exploring Operation: 20-13=7, Resulting Numbers: [49, 7]
Generated Node #0,0,2: 91:[49, 7] Operation: 20-13=7
Exploring Operation: 49+20=69, Resulting Numbers: [13, 69]
Generated Node #0,0,3: 91:[13, 69] Operation: 49+20=69
Exploring Operation: 13+49=62, Resulting Numbers: [20, 62]
Generated Node #0,0,4: 91:[20, 62] Operation: 13+49=62
Moving to Node #0,3,1
Current State: 91:[13, 13], Operations: ['49-28=21', '21-8=13']
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 13*13=169, Resulting Numbers: [169]
169,91 unequal: No Solution
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[8, 8], Operations: ['49-13=36', '36-28=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,91 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Moving to Node #0,3,4
Current State: 91:[8, 8], Operations: ['49-28=21', '21-13=8']
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,91 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[21, 5], Operations: ['49-28=21', '13-8=5']
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,91 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,91 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[21, 21], Operations: ['49-28=21', '8+13=21']
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 21*21=441, Resulting Numbers: [441]
441,91 unequal: No Solution
Moving to Node #0,3,0
Current State: 91:[13, 29], Operations: ['49-28=21', '8+21=29']
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 13*29=377, Resulting Numbers: [377]
377,91 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[13, 29], Operations: ['28-8=20', '49-20=29']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 13*29=377, Resulting Numbers: [377]
377,91 unequal: No Solution
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Moving to Node #0,4,4
Current State: 91:[8, 34], Operations: ['28-13=15', '49-15=34']
Exploring Operation: 8+34=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,91 unequal: No Solution
Exploring Operation: 8*34=272, Resulting Numbers: [272]
272,91 unequal: No Solution
Moving to Node #0,0,3
Current State: 91:[13, 69], Operations: ['28-8=20', '49+20=69']
Exploring Operation: 13+69=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 13*69=897, Resulting Numbers: [897]
897,91 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Moving to Node #0,1,4
Current State: 91:[8, 64], Operations: ['49-13=36', '28+36=64']
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 8+64=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 8*64=512, Resulting Numbers: [512]
512,91 unequal: No Solution
Moving to Node #0,4,0
Current State: 91:[8, 64], Operations: ['28-13=15', '49+15=64']
Exploring Operation: 8*64=512, Resulting Numbers: [512]
512,91 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 8+64=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[20, 36], Operations: ['28-8=20', '49-13=36']
Exploring Operation: 20+36=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 20*36=720, Resulting Numbers: [720]
720,91 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[36, 20], Operations: ['49-13=36', '28-8=20']
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,91 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[28, 28], Operations: ['49-13=36', '36-8=28']
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 28*28=784, Resulting Numbers: [784]
784,91 unequal: No Solution
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Moving to Node #0,4,2
Current State: 91:[15, 41], Operations: ['28-13=15', '49-8=41']
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,91 unequal: No Solution
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,91 unequal: No Solution
Moving to Node #0,4,3
Current State: 91:[49, 7], Operations: ['28-13=15', '15-8=7']
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 49*7=343, Resulting Numbers: [343]
343,91 unequal: No Solution
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[49, 7], Operations: ['28-8=20', '20-13=7']
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,91 unequal: No Solution
Exploring Operation: 49*7=343, Resulting Numbers: [343]
343,91 unequal: No Solution
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Moving to Node #0,4,1
Current State: 91:[15, 57], Operations: ['28-13=15', '8+49=57']
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 15*57=855, Resulting Numbers: [855]
855,91 unequal: No Solution
Exploring Operation: 15+57=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Moving to Node #0,0,4
Current State: 91:[20, 62], Operations: ['28-8=20', '13+49=62']
Exploring Operation: 20+62=82, Resulting Numbers: [82]
82,91 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 20*62=1240, Resulting Numbers: [1240]
1240,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[36, 36], Operations: ['49-13=36', '8+28=36']
Exploring Operation: 36-36=0, Resulting Numbers: [0]
0,91 unequal: No Solution
Exploring Operation: 36/36=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 36+36=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 36*36=1296, Resulting Numbers: [1296]
1296,91 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
33,
79,
7,
77
] | 28 | [
"33+79=112",
"7+77=84",
"112-84=28"
] | Current State: 28:[33, 79, 7, 77], Operations: []
Exploring Operation: 33+79=112, Resulting Numbers: [7, 77, 112]
Generated Node #2: [7, 77, 112] from Operation: 33+79=112
Current State: 28:[7, 77, 112], Operations: ['33+79=112']
Exploring Operation: 7+77=84, Resulting Numbers: [112, 84]
Generated Node #3: [112, 84] from Operation: 7+77=84
Current State: 28:[112, 84], Operations: ['33+79=112', '7+77=84']
Exploring Operation: 112-84=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[33, 79, 7, 77], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [33, 7, 2]
Generated Node #0,0: 28:[33, 7, 2] Operation: 79-77=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[33, 7, 2], Operations: ['79-77=2']
Exploring Operation: 33-7=26, Resulting Numbers: [2, 26]
Generated Node #0,0,0: 28:[2, 26] Operation: 33-7=26
Moving to Node #0,0,0
Current State: 28:[2, 26], Operations: ['79-77=2', '33-7=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[33, 79, 7, 77], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [33, 7, 2]
Generated Node #0,0: 28:[33, 7, 2] Operation: 79-77=2
Moving to Node #0,0
Current State: 28:[33, 7, 2], Operations: ['79-77=2']
Exploring Operation: 33-7=26, Resulting Numbers: [2, 26]
Generated Node #0,0,0: 28:[2, 26] Operation: 33-7=26
Moving to Node #0,0,0
Current State: 28:[2, 26], Operations: ['79-77=2', '33-7=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
26,
19,
65,
21
] | 79 | [
"26-19=7",
"65+21=86",
"86-7=79"
] | Current State: 79:[26, 19, 65, 21], Operations: []
Exploring Operation: 26-19=7, Resulting Numbers: [65, 21, 7]
Generated Node #2: [65, 21, 7] from Operation: 26-19=7
Current State: 79:[65, 21, 7], Operations: ['26-19=7']
Exploring Operation: 65+21=86, Resulting Numbers: [7, 86]
Generated Node #3: [7, 86] from Operation: 65+21=86
Current State: 79:[7, 86], Operations: ['26-19=7', '65+21=86']
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[26, 19, 65, 21], Operations: []
Exploring Operation: 26+19=45, Resulting Numbers: [65, 21, 45]
Generated Node #0,0: 79:[65, 21, 45] Operation: 26+19=45
Moving to Node #0,0
Current State: 79:[65, 21, 45], Operations: ['26+19=45']
Exploring Operation: 21+45=66, Resulting Numbers: [65, 66]
Generated Node #0,0,0: 79:[65, 66] Operation: 21+45=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[65, 66], Operations: ['26+19=45', '21+45=66']
Exploring Operation: 65+66=131, Resulting Numbers: [131]
131,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 | sum_heuristic |
[
9,
25,
47,
10
] | 88 | [
"25-10=15",
"9*15=135",
"135-47=88"
] | Current State: 88:[9, 25, 47, 10], Operations: []
Exploring Operation: 25-10=15, Resulting Numbers: [9, 47, 15]
Generated Node #2: [9, 47, 15] from Operation: 25-10=15
Current State: 88:[9, 47, 15], Operations: ['25-10=15']
Exploring Operation: 9*15=135, Resulting Numbers: [47, 135]
Generated Node #3: [47, 135] from Operation: 9*15=135
Current State: 88:[47, 135], Operations: ['25-10=15', '9*15=135']
Exploring Operation: 135-47=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[9, 25, 47, 10], Operations: []
Exploring Operation: 25-9=16, Resulting Numbers: [47, 10, 16]
Generated Node #0,0: 88:[47, 10, 16] Operation: 25-9=16
Exploring Operation: 10-9=1, Resulting Numbers: [25, 47, 1]
Generated Node #0,1: 88:[25, 47, 1] Operation: 10-9=1
Exploring Operation: 47-25=22, Resulting Numbers: [9, 10, 22]
Generated Node #0,2: 88:[9, 10, 22] Operation: 47-25=22
Exploring Operation: 9*10=90, Resulting Numbers: [25, 47, 90]
Generated Node #0,3: 88:[25, 47, 90] Operation: 9*10=90
Exploring Operation: 25-10=15, Resulting Numbers: [9, 47, 15]
Generated Node #0,4: 88:[9, 47, 15] Operation: 25-10=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[9, 10, 22], Operations: ['47-25=22']
Exploring Operation: 10-9=1, Resulting Numbers: [22, 1]
Generated Node #0,2,0: 88:[22, 1] Operation: 10-9=1
Exploring Operation: 22-10=12, Resulting Numbers: [9, 12]
Generated Node #0,2,1: 88:[9, 12] Operation: 22-10=12
Exploring Operation: 22-9=13, Resulting Numbers: [10, 13]
Generated Node #0,2,2: 88:[10, 13] Operation: 22-9=13
Exploring Operation: 9*10=90, Resulting Numbers: [22, 90]
Generated Node #0,2,3: 88:[22, 90] Operation: 9*10=90
Exploring Operation: 9+10=19, Resulting Numbers: [22, 19]
Generated Node #0,2,4: 88:[22, 19] Operation: 9+10=19
Moving to Node #0,2,0
Current State: 88:[22, 1], Operations: ['47-25=22', '10-9=1']
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[22, 90], Operations: ['47-25=22', '9*10=90']
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,88 unequal: No Solution
Exploring Operation: 22*90=1980, Resulting Numbers: [1980]
1980,88 unequal: No Solution
Exploring Operation: 22+90=112, Resulting Numbers: [112]
112,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[9, 12], Operations: ['47-25=22', '22-10=12']
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[10, 13], Operations: ['47-25=22', '22-9=13']
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,88 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Moving to Node #0,2,4
Current State: 88:[22, 19], Operations: ['47-25=22', '9+10=19']
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,88 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[25, 47, 1], Operations: ['10-9=1']
Exploring Operation: 47-25=22, Resulting Numbers: [1, 22]
Generated Node #0,1,0: 88:[1, 22] Operation: 47-25=22
Exploring Operation: 25/1=25, Resulting Numbers: [47, 25]
Generated Node #0,1,1: 88:[47, 25] Operation: 25/1=25
Exploring Operation: 25*1=25, Resulting Numbers: [47, 25]
Generated Node #0,1,2: 88:[47, 25] Operation: 25*1=25
Exploring Operation: 47-1=46, Resulting Numbers: [25, 46]
Generated Node #0,1,3: 88:[25, 46] Operation: 47-1=46
Exploring Operation: 25-1=24, Resulting Numbers: [47, 24]
Generated Node #0,1,4: 88:[47, 24] Operation: 25-1=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[1, 22], Operations: ['10-9=1', '47-25=22']
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 88:[25, 46], Operations: ['10-9=1', '47-1=46']
Exploring Operation: 25*46=1150, Resulting Numbers: [1150]
1150,88 unequal: No Solution
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 88:[47, 24], Operations: ['10-9=1', '25-1=24']
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 47*24=1128, Resulting Numbers: [1128]
1128,88 unequal: No Solution
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[47, 25], Operations: ['10-9=1', '25/1=25']
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Exploring Operation: 47+25=72, Resulting Numbers: [72]
72,88 unequal: No Solution
Exploring Operation: 47*25=1175, Resulting Numbers: [1175]
1175,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 88:[47, 25], Operations: ['10-9=1', '25*1=25']
Exploring Operation: 47*25=1175, Resulting Numbers: [1175]
1175,88 unequal: No Solution
Exploring Operation: 47+25=72, Resulting Numbers: [72]
72,88 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[25, 47, 90], Operations: ['9*10=90']
Exploring Operation: 25+47=72, Resulting Numbers: [90, 72]
Generated Node #0,3,0: 88:[90, 72] Operation: 25+47=72
Exploring Operation: 90-25=65, Resulting Numbers: [47, 65]
Generated Node #0,3,1: 88:[47, 65] Operation: 90-25=65
Exploring Operation: 90-47=43, Resulting Numbers: [25, 43]
Generated Node #0,3,2: 88:[25, 43] Operation: 90-47=43
Exploring Operation: 25+90=115, Resulting Numbers: [47, 115]
Generated Node #0,3,3: 88:[47, 115] Operation: 25+90=115
Exploring Operation: 47-25=22, Resulting Numbers: [90, 22]
Generated Node #0,3,4: 88:[90, 22] Operation: 47-25=22
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 88:[90, 22], Operations: ['9*10=90', '47-25=22']
Exploring Operation: 90*22=1980, Resulting Numbers: [1980]
1980,88 unequal: No Solution
Exploring Operation: 90+22=112, Resulting Numbers: [112]
112,88 unequal: No Solution
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 88:[25, 43], Operations: ['9*10=90', '90-47=43']
Exploring Operation: 25*43=1075, Resulting Numbers: [1075]
1075,88 unequal: No Solution
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,88 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 88:[90, 72], Operations: ['9*10=90', '25+47=72']
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 90+72=162, Resulting Numbers: [162]
162,88 unequal: No Solution
Exploring Operation: 90*72=6480, Resulting Numbers: [6480]
6480,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 88:[47, 65], Operations: ['9*10=90', '90-25=65']
Exploring Operation: 47*65=3055, Resulting Numbers: [3055]
3055,88 unequal: No Solution
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 47+65=112, Resulting Numbers: [112]
112,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 88:[47, 115], Operations: ['9*10=90', '25+90=115']
Exploring Operation: 47+115=162, Resulting Numbers: [162]
162,88 unequal: No Solution
Exploring Operation: 47*115=5405, Resulting Numbers: [5405]
5405,88 unequal: No Solution
Exploring Operation: 115-47=68, Resulting Numbers: [68]
68,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 88:[9, 47, 15], Operations: ['25-10=15']
Exploring Operation: 15-9=6, Resulting Numbers: [47, 6]
Generated Node #0,4,0: 88:[47, 6] Operation: 15-9=6
Exploring Operation: 9+47=56, Resulting Numbers: [15, 56]
Generated Node #0,4,1: 88:[15, 56] Operation: 9+47=56
Exploring Operation: 47-9=38, Resulting Numbers: [15, 38]
Generated Node #0,4,2: 88:[15, 38] Operation: 47-9=38
Exploring Operation: 47-15=32, Resulting Numbers: [9, 32]
Generated Node #0,4,3: 88:[9, 32] Operation: 47-15=32
Exploring Operation: 9+15=24, Resulting Numbers: [47, 24]
Generated Node #0,4,4: 88:[47, 24] Operation: 9+15=24
Moving to Node #0,4,0
Current State: 88:[47, 6], Operations: ['25-10=15', '15-9=6']
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,88 unequal: No Solution
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,88 unequal: No Solution
Exploring Operation: 47*6=282, Resulting Numbers: [282]
282,88 unequal: No Solution
Moving to Node #0,4,4
Current State: 88:[47, 24], Operations: ['25-10=15', '9+15=24']
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 47*24=1128, Resulting Numbers: [1128]
1128,88 unequal: No Solution
Moving to Node #0,4,2
Current State: 88:[15, 38], Operations: ['25-10=15', '47-9=38']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 15*38=570, Resulting Numbers: [570]
570,88 unequal: No Solution
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,88 unequal: No Solution
Moving to Node #0,4,3
Current State: 88:[9, 32], Operations: ['25-10=15', '47-15=32']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 9*32=288, Resulting Numbers: [288]
288,88 unequal: No Solution
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,88 unequal: No Solution
Moving to Node #0,4,1
Current State: 88:[15, 56], Operations: ['25-10=15', '9+47=56']
Exploring Operation: 15*56=840, Resulting Numbers: [840]
840,88 unequal: No Solution
Exploring Operation: 15+56=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[47, 10, 16], Operations: ['25-9=16']
Exploring Operation: 16-10=6, Resulting Numbers: [47, 6]
Generated Node #0,0,0: 88:[47, 6] Operation: 16-10=6
Exploring Operation: 47-16=31, Resulting Numbers: [10, 31]
Generated Node #0,0,1: 88:[10, 31] Operation: 47-16=31
Exploring Operation: 47+10=57, Resulting Numbers: [16, 57]
Generated Node #0,0,2: 88:[16, 57] Operation: 47+10=57
Exploring Operation: 10+16=26, Resulting Numbers: [47, 26]
Generated Node #0,0,3: 88:[47, 26] Operation: 10+16=26
Exploring Operation: 47-10=37, Resulting Numbers: [16, 37]
Generated Node #0,0,4: 88:[16, 37] Operation: 47-10=37
Moving to Node #0,0,0
Current State: 88:[47, 6], Operations: ['25-9=16', '16-10=6']
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,88 unequal: No Solution
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,88 unequal: No Solution
Exploring Operation: 47*6=282, Resulting Numbers: [282]
282,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[47, 26], Operations: ['25-9=16', '10+16=26']
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,88 unequal: No Solution
Exploring Operation: 47*26=1222, Resulting Numbers: [1222]
1222,88 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[10, 31], Operations: ['25-9=16', '47-16=31']
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,88 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,88 unequal: No Solution
Moving to Node #0,0,4
Current State: 88:[16, 37], Operations: ['25-9=16', '47-10=37']
Exploring Operation: 16*37=592, Resulting Numbers: [592]
592,88 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[16, 57], Operations: ['25-9=16', '47+10=57']
Exploring Operation: 16*57=912, Resulting Numbers: [912]
912,88 unequal: No Solution
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,88 unequal: No Solution
Exploring Operation: 16+57=73, Resulting Numbers: [73]
73,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
38,
21,
51,
82
] | 14 | [
"38-21=17",
"82-51=31",
"31-17=14"
] | Current State: 14:[38, 21, 51, 82], Operations: []
Exploring Operation: 38-21=17, Resulting Numbers: [51, 82, 17]
Generated Node #2: [51, 82, 17] from Operation: 38-21=17
Current State: 14:[51, 82, 17], Operations: ['38-21=17']
Exploring Operation: 82-51=31, Resulting Numbers: [17, 31]
Generated Node #3: [17, 31] from Operation: 82-51=31
Current State: 14:[17, 31], Operations: ['38-21=17', '82-51=31']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[38, 21, 51, 82], Operations: []
Exploring Operation: 51-38=13, Resulting Numbers: [21, 82, 13]
Generated Node #0,0: 14:[21, 82, 13] Operation: 51-38=13
Exploring Operation: 82-38=44, Resulting Numbers: [21, 51, 44]
Generated Node #0,1: 14:[21, 51, 44] Operation: 82-38=44
Exploring Operation: 82-51=31, Resulting Numbers: [38, 21, 31]
Generated Node #0,2: 14:[38, 21, 31] Operation: 82-51=31
Exploring Operation: 38-21=17, Resulting Numbers: [51, 82, 17]
Generated Node #0,3: 14:[51, 82, 17] Operation: 38-21=17
Moving to Node #0,2
Current State: 14:[38, 21, 31], Operations: ['82-51=31']
Exploring Operation: 31-21=10, Resulting Numbers: [38, 10]
Generated Node #0,2,0: 14:[38, 10] Operation: 31-21=10
Exploring Operation: 38+21=59, Resulting Numbers: [31, 59]
Generated Node #0,2,1: 14:[31, 59] Operation: 38+21=59
Exploring Operation: 38-31=7, Resulting Numbers: [21, 7]
Generated Node #0,2,2: 14:[21, 7] Operation: 38-31=7
Exploring Operation: 38-21=17, Resulting Numbers: [31, 17]
Generated Node #0,2,3: 14:[31, 17] Operation: 38-21=17
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 14:[21, 7], Operations: ['82-51=31', '38-31=7']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,14 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[38, 21, 51, 82], Operations: []
Exploring Operation: 82-51=31, Resulting Numbers: [38, 21, 31]
Generated Node #0,2: 14:[38, 21, 31] Operation: 82-51=31
Moving to Node #0,2
Current State: 14:[38, 21, 31], Operations: ['82-51=31']
Exploring Operation: 38-31=7, Resulting Numbers: [21, 7]
Generated Node #0,2,2: 14:[21, 7] Operation: 38-31=7
Moving to Node #0,2,2
Current State: 14:[21, 7], Operations: ['82-51=31', '38-31=7']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
69,
15,
5,
23
] | 61 | [
"69-15=54",
"5*23=115",
"115-54=61"
] | Current State: 61:[69, 15, 5, 23], Operations: []
Exploring Operation: 69-15=54, Resulting Numbers: [5, 23, 54]
Generated Node #2: [5, 23, 54] from Operation: 69-15=54
Current State: 61:[5, 23, 54], Operations: ['69-15=54']
Exploring Operation: 5*23=115, Resulting Numbers: [54, 115]
Generated Node #3: [54, 115] from Operation: 5*23=115
Current State: 61:[54, 115], Operations: ['69-15=54', '5*23=115']
Exploring Operation: 115-54=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[69, 15, 5, 23], Operations: []
Exploring Operation: 15*5=75, Resulting Numbers: [69, 23, 75]
Generated Node #0,0: 61:[69, 23, 75] Operation: 15*5=75
Exploring Operation: 69-5=64, Resulting Numbers: [15, 23, 64]
Generated Node #0,1: 61:[15, 23, 64] Operation: 69-5=64
Exploring Operation: 15+5=20, Resulting Numbers: [69, 23, 20]
Generated Node #0,2: 61:[69, 23, 20] Operation: 15+5=20
Exploring Operation: 15+23=38, Resulting Numbers: [69, 5, 38]
Generated Node #0,3: 61:[69, 5, 38] Operation: 15+23=38
Exploring Operation: 5+23=28, Resulting Numbers: [69, 15, 28]
Generated Node #0,4: 61:[69, 15, 28] Operation: 5+23=28
Moving to Node #0,0
Current State: 61:[69, 23, 75], Operations: ['15*5=75']
Exploring Operation: 69-23=46, Resulting Numbers: [75, 46]
Generated Node #0,0,0: 61:[75, 46] Operation: 69-23=46
Exploring Operation: 69+23=92, Resulting Numbers: [75, 92]
Generated Node #0,0,1: 61:[75, 92] Operation: 69+23=92
Exploring Operation: 23+75=98, Resulting Numbers: [69, 98]
Generated Node #0,0,2: 61:[69, 98] Operation: 23+75=98
Exploring Operation: 69/23=3, Resulting Numbers: [75, 3]
Generated Node #0,0,3: 61:[75, 3] Operation: 69/23=3
Exploring Operation: 75-23=52, Resulting Numbers: [69, 52]
Generated Node #0,0,4: 61:[69, 52] Operation: 75-23=52
Moving to Node #0,2
Current State: 61:[69, 23, 20], Operations: ['15+5=20']
Exploring Operation: 69-23=46, Resulting Numbers: [20, 46]
Generated Node #0,2,0: 61:[20, 46] Operation: 69-23=46
Exploring Operation: 23-20=3, Resulting Numbers: [69, 3]
Generated Node #0,2,1: 61:[69, 3] Operation: 23-20=3
Exploring Operation: 69+20=89, Resulting Numbers: [23, 89]
Generated Node #0,2,2: 61:[23, 89] Operation: 69+20=89
Exploring Operation: 69-20=49, Resulting Numbers: [23, 49]
Generated Node #0,2,3: 61:[23, 49] Operation: 69-20=49
Exploring Operation: 23+20=43, Resulting Numbers: [69, 43]
Generated Node #0,2,4: 61:[69, 43] Operation: 23+20=43
Moving to Node #0,4
Current State: 61:[69, 15, 28], Operations: ['5+23=28']
Exploring Operation: 69+15=84, Resulting Numbers: [28, 84]
Generated Node #0,4,0: 61:[28, 84] Operation: 69+15=84
Exploring Operation: 28-15=13, Resulting Numbers: [69, 13]
Generated Node #0,4,1: 61:[69, 13] Operation: 28-15=13
Exploring Operation: 15+28=43, Resulting Numbers: [69, 43]
Generated Node #0,4,2: 61:[69, 43] Operation: 15+28=43
Exploring Operation: 69-15=54, Resulting Numbers: [28, 54]
Generated Node #0,4,3: 61:[28, 54] Operation: 69-15=54
Exploring Operation: 69-28=41, Resulting Numbers: [15, 41]
Generated Node #0,4,4: 61:[15, 41] Operation: 69-28=41
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 61:[69, 43], Operations: ['5+23=28', '15+28=43']
Exploring Operation: 69+43=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 69-43=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Exploring Operation: 69*43=2967, Resulting Numbers: [2967]
2967,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 61:[28, 54], Operations: ['5+23=28', '69-15=54']
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,61 unequal: No Solution
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 61:[28, 84], Operations: ['5+23=28', '69+15=84']
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 28*84=2352, Resulting Numbers: [2352]
2352,61 unequal: No Solution
Exploring Operation: 28+84=112, Resulting Numbers: [112]
112,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 61:[69, 13], Operations: ['5+23=28', '28-15=13']
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 69*13=897, Resulting Numbers: [897]
897,61 unequal: No Solution
Exploring Operation: 69+13=82, Resulting Numbers: [82]
82,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 61:[15, 41], Operations: ['5+23=28', '69-28=41']
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,61 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: 61:[15, 23, 64], Operations: ['69-5=64']
Exploring Operation: 15+23=38, Resulting Numbers: [64, 38]
Generated Node #0,1,0: 61:[64, 38] Operation: 15+23=38
Exploring Operation: 23-15=8, Resulting Numbers: [64, 8]
Generated Node #0,1,1: 61:[64, 8] Operation: 23-15=8
Exploring Operation: 15+64=79, Resulting Numbers: [23, 79]
Generated Node #0,1,2: 61:[23, 79] Operation: 15+64=79
Exploring Operation: 64-23=41, Resulting Numbers: [15, 41]
Generated Node #0,1,3: 61:[15, 41] Operation: 64-23=41
Exploring Operation: 64-15=49, Resulting Numbers: [23, 49]
Generated Node #0,1,4: 61:[23, 49] Operation: 64-15=49
Moving to Node #0,3
Current State: 61:[69, 5, 38], Operations: ['15+23=38']
Exploring Operation: 69-5=64, Resulting Numbers: [38, 64]
Generated Node #0,3,0: 61:[38, 64] Operation: 69-5=64
Exploring Operation: 69+5=74, Resulting Numbers: [38, 74]
Generated Node #0,3,1: 61:[38, 74] Operation: 69+5=74
Exploring Operation: 5+38=43, Resulting Numbers: [69, 43]
Generated Node #0,3,2: 61:[69, 43] Operation: 5+38=43
Exploring Operation: 69-38=31, Resulting Numbers: [5, 31]
Generated Node #0,3,3: 61:[5, 31] Operation: 69-38=31
Exploring Operation: 38-5=33, Resulting Numbers: [69, 33]
Generated Node #0,3,4: 61:[69, 33] Operation: 38-5=33
Moving to Node #0,0,4
Current State: 61:[69, 52], Operations: ['15*5=75', '75-23=52']
Exploring Operation: 69+52=121, Resulting Numbers: [121]
121,61 unequal: No Solution
Exploring Operation: 69*52=3588, Resulting Numbers: [3588]
3588,61 unequal: No Solution
Exploring Operation: 69-52=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Moving to Node #0,2,4
Current State: 61:[69, 43], Operations: ['15+5=20', '23+20=43']
Exploring Operation: 69*43=2967, Resulting Numbers: [2967]
2967,61 unequal: No Solution
Exploring Operation: 69+43=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 69-43=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[64, 38], Operations: ['69-5=64', '15+23=38']
Exploring Operation: 64-38=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Exploring Operation: 64*38=2432, Resulting Numbers: [2432]
2432,61 unequal: No Solution
Exploring Operation: 64+38=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[38, 64], Operations: ['15+23=38', '69-5=64']
Exploring Operation: 38*64=2432, Resulting Numbers: [2432]
2432,61 unequal: No Solution
Exploring Operation: 38+64=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Exploring Operation: 64-38=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[69, 43], Operations: ['15+23=38', '5+38=43']
Exploring Operation: 69*43=2967, Resulting Numbers: [2967]
2967,61 unequal: No Solution
Exploring Operation: 69+43=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 69-43=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[75, 46], Operations: ['15*5=75', '69-23=46']
Exploring Operation: 75+46=121, Resulting Numbers: [121]
121,61 unequal: No Solution
Exploring Operation: 75*46=3450, Resulting Numbers: [3450]
3450,61 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[38, 74], Operations: ['15+23=38', '69+5=74']
Exploring Operation: 38*74=2812, Resulting Numbers: [2812]
2812,61 unequal: No Solution
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,61 unequal: No Solution
Exploring Operation: 38+74=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Moving to Node #0,3,4
Current State: 61:[69, 33], Operations: ['15+23=38', '38-5=33']
Exploring Operation: 69*33=2277, Resulting Numbers: [2277]
2277,61 unequal: No Solution
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,61 unequal: No Solution
Exploring Operation: 69+33=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[75, 92], Operations: ['15*5=75', '69+23=92']
Exploring Operation: 75*92=6900, Resulting Numbers: [6900]
6900,61 unequal: No Solution
Exploring Operation: 92-75=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 75+92=167, Resulting Numbers: [167]
167,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[69, 98], Operations: ['15*5=75', '23+75=98']
Exploring Operation: 69*98=6762, Resulting Numbers: [6762]
6762,61 unequal: No Solution
Exploring Operation: 98-69=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 69+98=167, Resulting Numbers: [167]
167,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[23, 49], Operations: ['15+5=20', '69-20=49']
Exploring Operation: 23+49=72, Resulting Numbers: [72]
72,61 unequal: No Solution
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Exploring Operation: 23*49=1127, Resulting Numbers: [1127]
1127,61 unequal: No Solution
Moving to Node #0,1,4
Current State: 61:[23, 49], Operations: ['69-5=64', '64-15=49']
Exploring Operation: 23+49=72, Resulting Numbers: [72]
72,61 unequal: No Solution
Exploring Operation: 23*49=1127, Resulting Numbers: [1127]
1127,61 unequal: No Solution
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[64, 8], Operations: ['69-5=64', '23-15=8']
Exploring Operation: 64*8=512, Resulting Numbers: [512]
512,61 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,61 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[23, 79], Operations: ['69-5=64', '15+64=79']
Exploring Operation: 23+79=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Exploring Operation: 23*79=1817, Resulting Numbers: [1817]
1817,61 unequal: No Solution
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[20, 46], Operations: ['15+5=20', '69-23=46']
Exploring Operation: 20*46=920, Resulting Numbers: [920]
920,61 unequal: No Solution
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[69, 3], Operations: ['15+5=20', '23-20=3']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,61 unequal: No Solution
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,61 unequal: No Solution
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,61 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[23, 89], Operations: ['15+5=20', '69+20=89']
Exploring Operation: 23+89=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 89-23=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 23*89=2047, Resulting Numbers: [2047]
2047,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[15, 41], Operations: ['69-5=64', '64-23=41']
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,61 unequal: No Solution
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[75, 3], Operations: ['15*5=75', '69/23=3']
Exploring Operation: 75*3=225, Resulting Numbers: [225]
225,61 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,61 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[5, 31], Operations: ['15+23=38', '69-38=31']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,61 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,61 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,61 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
10,
27,
10,
1
] | 13 | [
"10-1=9",
"27/9=3",
"10+3=13"
] | Current State: 13:[10, 27, 10, 1], Operations: []
Exploring Operation: 10-1=9, Resulting Numbers: [27, 9]
Generated Node #2: [27, 9] from Operation: 10-1=9
Current State: 13:[27, 9], Operations: ['10-1=9']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,13 equal: Goal Reached
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[10, 27, 10, 1], Operations: []
Exploring Operation: 27-10=17, Resulting Numbers: [10, 1, 17]
Generated Node #0,0: 13:[10, 1, 17] Operation: 27-10=17
Exploring Operation: 10+1=11, Resulting Numbers: [27, 10, 11]
Generated Node #0,1: 13:[27, 10, 11] Operation: 10+1=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[10, 1, 17], Operations: ['27-10=17']
Exploring Operation: 10+1=11, Resulting Numbers: [17, 11]
Generated Node #0,0,0: 13:[17, 11] Operation: 10+1=11
Exploring Operation: 17-1=16, Resulting Numbers: [10, 16]
Generated Node #0,0,1: 13:[10, 16] Operation: 17-1=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[17, 11], Operations: ['27-10=17', '10+1=11']
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No 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: 13:[10, 16], Operations: ['27-10=17', '17-1=16']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,13 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: 13:[27, 10, 11], Operations: ['10+1=11']
Exploring Operation: 27-10=17, Resulting Numbers: [11, 17]
Generated Node #0,1,0: 13:[11, 17] Operation: 27-10=17
Exploring Operation: 27-11=16, Resulting Numbers: [10, 16]
Generated Node #0,1,1: 13:[10, 16] Operation: 27-11=16
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[11, 17], Operations: ['10+1=11', '27-10=17']
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No 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: 13:[10, 16], Operations: ['10+1=11', '27-11=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
20,
74,
51,
11
] | 86 | [
"20*51=1020",
"1020-74=946",
"946/11=86"
] | Current State: 86:[20, 74, 51, 11], Operations: []
Exploring Operation: 20*51=1020, Resulting Numbers: [74, 11, 1020]
Generated Node #2: [74, 11, 1020] from Operation: 20*51=1020
Current State: 86:[74, 11, 1020], Operations: ['20*51=1020']
Exploring Operation: 1020-74=946, Resulting Numbers: [11, 946]
Generated Node #3: [11, 946] from Operation: 1020-74=946
Current State: 86:[11, 946], Operations: ['20*51=1020', '1020-74=946']
Exploring Operation: 946/11=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[20, 74, 51, 11], Operations: []
Exploring Operation: 20+74=94, Resulting Numbers: [51, 11, 94]
Generated Node #0,0: 86:[51, 11, 94] Operation: 20+74=94
Moving to Node #0,0
Current State: 86:[51, 11, 94], Operations: ['20+74=94']
Exploring Operation: 94-51=43, Resulting Numbers: [11, 43]
Generated Node #0,0,0: 86:[11, 43] Operation: 94-51=43
Moving to Node #0,0,0
Current State: 86:[11, 43], Operations: ['20+74=94', '94-51=43']
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,86 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
75,
50,
87,
65
] | 82 | [
"75-65=10",
"50/10=5",
"87-5=82"
] | Current State: 82:[75, 50, 87, 65], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [50, 87, 10]
Generated Node #2: [50, 87, 10] from Operation: 75-65=10
Current State: 82:[50, 87, 10], Operations: ['75-65=10']
Exploring Operation: 50/10=5, Resulting Numbers: [87, 5]
Generated Node #3: [87, 5] from Operation: 50/10=5
Current State: 82:[87, 5], Operations: ['75-65=10', '50/10=5']
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[75, 50, 87, 65], Operations: []
Exploring Operation: 65-50=15, Resulting Numbers: [75, 87, 15]
Generated Node #0,0: 82:[75, 87, 15] Operation: 65-50=15
Exploring Operation: 75-65=10, Resulting Numbers: [50, 87, 10]
Generated Node #0,1: 82:[50, 87, 10] Operation: 75-65=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[50, 87, 10], Operations: ['75-65=10']
Exploring Operation: 50-10=40, Resulting Numbers: [87, 40]
Generated Node #0,1,0: 82:[87, 40] Operation: 50-10=40
Exploring Operation: 50/10=5, Resulting Numbers: [87, 5]
Generated Node #0,1,1: 82:[87, 5] Operation: 50/10=5
Moving to Node #0,1,0
Current State: 82:[87, 40], Operations: ['75-65=10', '50-10=40']
Exploring Operation: 87+40=127, Resulting Numbers: [127]
127,82 unequal: No Solution
Exploring Operation: 87-40=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[87, 5], Operations: ['75-65=10', '50/10=5']
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[75, 50, 87, 65], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [50, 87, 10]
Generated Node #0,1: 82:[50, 87, 10] Operation: 75-65=10
Moving to Node #0,1
Current State: 82:[50, 87, 10], Operations: ['75-65=10']
Exploring Operation: 50/10=5, Resulting Numbers: [87, 5]
Generated Node #0,1,1: 82:[87, 5] Operation: 50/10=5
Moving to Node #0,1,1
Current State: 82:[87, 5], Operations: ['75-65=10', '50/10=5']
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
60,
79,
83,
9
] | 24 | [
"83-79=4",
"60/4=15",
"9+15=24"
] | Current State: 24:[60, 79, 83, 9], Operations: []
Exploring Operation: 83-79=4, Resulting Numbers: [60, 9, 4]
Generated Node #2: [60, 9, 4] from Operation: 83-79=4
Current State: 24:[60, 9, 4], Operations: ['83-79=4']
Exploring Operation: 60/4=15, Resulting Numbers: [9, 15]
Generated Node #3: [9, 15] from Operation: 60/4=15
Current State: 24:[9, 15], Operations: ['83-79=4', '60/4=15']
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[60, 79, 83, 9], Operations: []
Exploring Operation: 83-79=4, Resulting Numbers: [60, 9, 4]
Generated Node #0,0: 24:[60, 9, 4] Operation: 83-79=4
Exploring Operation: 83-60=23, Resulting Numbers: [79, 9, 23]
Generated Node #0,1: 24:[79, 9, 23] Operation: 83-60=23
Moving to Node #0,0
Current State: 24:[60, 9, 4], Operations: ['83-79=4']
Exploring Operation: 60/4=15, Resulting Numbers: [9, 15]
Generated Node #0,0,0: 24:[9, 15] Operation: 60/4=15
Exploring Operation: 60-9=51, Resulting Numbers: [4, 51]
Generated Node #0,0,1: 24:[4, 51] Operation: 60-9=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[9, 15], Operations: ['83-79=4', '60/4=15']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[60, 79, 83, 9], Operations: []
Exploring Operation: 83-79=4, Resulting Numbers: [60, 9, 4]
Generated Node #0,0: 24:[60, 9, 4] Operation: 83-79=4
Moving to Node #0,0
Current State: 24:[60, 9, 4], Operations: ['83-79=4']
Exploring Operation: 60/4=15, Resulting Numbers: [9, 15]
Generated Node #0,0,0: 24:[9, 15] Operation: 60/4=15
Moving to Node #0,0,0
Current State: 24:[9, 15], Operations: ['83-79=4', '60/4=15']
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
24,
35,
11,
35
] | 14 | [
"24-11=13",
"35/35=1",
"13+1=14"
] | Current State: 14:[24, 35, 11, 35], Operations: []
Exploring Operation: 24-11=13, Resulting Numbers: [35, 35, 13]
Generated Node #2: [35, 35, 13] from Operation: 24-11=13
Current State: 14:[35, 35, 13], Operations: ['24-11=13']
Exploring Operation: 35/35=1, Resulting Numbers: [13, 1]
Generated Node #3: [13, 1] from Operation: 35/35=1
Current State: 14:[13, 1], Operations: ['24-11=13', '35/35=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[24, 35, 11, 35], Operations: []
Exploring Operation: 35-35=0, Resulting Numbers: [24, 11, 0]
Generated Node #0,0: 14:[24, 11, 0] Operation: 35-35=0
Exploring Operation: 35-24=11, Resulting Numbers: [35, 11, 11]
Generated Node #0,1: 14:[35, 11, 11] Operation: 35-24=11
Exploring Operation: 35-24=11, Resulting Numbers: [11, 35, 11]
Generated Node #0,2: 14:[11, 35, 11] Operation: 35-24=11
Exploring Operation: 35/35=1, Resulting Numbers: [24, 11, 1]
Generated Node #0,3: 14:[24, 11, 1] Operation: 35/35=1
Exploring Operation: 35-11=24, Resulting Numbers: [24, 35, 24]
Generated Node #0,4: 14:[24, 35, 24] Operation: 35-11=24
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[24, 11, 1], Operations: ['35/35=1']
Exploring Operation: 11+1=12, Resulting Numbers: [24, 12]
Generated Node #0,3,0: 14:[24, 12] Operation: 11+1=12
Exploring Operation: 24-1=23, Resulting Numbers: [11, 23]
Generated Node #0,3,1: 14:[11, 23] Operation: 24-1=23
Exploring Operation: 24-11=13, Resulting Numbers: [1, 13]
Generated Node #0,3,2: 14:[1, 13] Operation: 24-11=13
Exploring Operation: 24/1=24, Resulting Numbers: [11, 24]
Generated Node #0,3,3: 14:[11, 24] Operation: 24/1=24
Exploring Operation: 24*1=24, Resulting Numbers: [11, 24]
Generated Node #0,3,4: 14:[11, 24] Operation: 24*1=24
Moving to Node #0,3,2
Current State: 14:[1, 13], Operations: ['35/35=1', '24-11=13']
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[24, 35, 11, 35], Operations: []
Exploring Operation: 35/35=1, Resulting Numbers: [24, 11, 1]
Generated Node #0,3: 14:[24, 11, 1] Operation: 35/35=1
Moving to Node #0,3
Current State: 14:[24, 11, 1], Operations: ['35/35=1']
Exploring Operation: 24-11=13, Resulting Numbers: [1, 13]
Generated Node #0,3,2: 14:[1, 13] Operation: 24-11=13
Moving to Node #0,3,2
Current State: 14:[1, 13], Operations: ['35/35=1', '24-11=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
48,
9,
4,
15
] | 91 | [
"48-4=44",
"9*15=135",
"135-44=91"
] | Current State: 91:[48, 9, 4, 15], Operations: []
Exploring Operation: 48-4=44, Resulting Numbers: [9, 15, 44]
Generated Node #2: [9, 15, 44] from Operation: 48-4=44
Current State: 91:[9, 15, 44], Operations: ['48-4=44']
Exploring Operation: 9*15=135, Resulting Numbers: [44, 135]
Generated Node #3: [44, 135] from Operation: 9*15=135
Current State: 91:[44, 135], Operations: ['48-4=44', '9*15=135']
Exploring Operation: 135-44=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[48, 9, 4, 15], Operations: []
Exploring Operation: 48-9=39, Resulting Numbers: [4, 15, 39]
Generated Node #0,0: 91:[4, 15, 39] Operation: 48-9=39
Exploring Operation: 48+15=63, Resulting Numbers: [9, 4, 63]
Generated Node #0,1: 91:[9, 4, 63] Operation: 48+15=63
Exploring Operation: 48-4=44, Resulting Numbers: [9, 15, 44]
Generated Node #0,2: 91:[9, 15, 44] Operation: 48-4=44
Exploring Operation: 48-15=33, Resulting Numbers: [9, 4, 33]
Generated Node #0,3: 91:[9, 4, 33] Operation: 48-15=33
Exploring Operation: 48/4=12, Resulting Numbers: [9, 15, 12]
Generated Node #0,4: 91:[9, 15, 12] Operation: 48/4=12
Moving to Node #0,4
Current State: 91:[9, 15, 12], Operations: ['48/4=12']
Exploring Operation: 15-12=3, Resulting Numbers: [9, 3]
Generated Node #0,4,0: 91:[9, 3] Operation: 15-12=3
Exploring Operation: 9+12=21, Resulting Numbers: [15, 21]
Generated Node #0,4,1: 91:[15, 21] Operation: 9+12=21
Exploring Operation: 15-9=6, Resulting Numbers: [12, 6]
Generated Node #0,4,2: 91:[12, 6] Operation: 15-9=6
Exploring Operation: 9+15=24, Resulting Numbers: [12, 24]
Generated Node #0,4,3: 91:[12, 24] Operation: 9+15=24
Exploring Operation: 12-9=3, Resulting Numbers: [15, 3]
Generated Node #0,4,4: 91:[15, 3] Operation: 12-9=3
Moving to Node #0,3
Current State: 91:[9, 4, 33], Operations: ['48-15=33']
Exploring Operation: 33-9=24, Resulting Numbers: [4, 24]
Generated Node #0,3,0: 91:[4, 24] Operation: 33-9=24
Exploring Operation: 4+33=37, Resulting Numbers: [9, 37]
Generated Node #0,3,1: 91:[9, 37] Operation: 4+33=37
Exploring Operation: 33-4=29, Resulting Numbers: [9, 29]
Generated Node #0,3,2: 91:[9, 29] Operation: 33-4=29
Exploring Operation: 9-4=5, Resulting Numbers: [33, 5]
Generated Node #0,3,3: 91:[33, 5] Operation: 9-4=5
Exploring Operation: 9+4=13, Resulting Numbers: [33, 13]
Generated Node #0,3,4: 91:[33, 13] Operation: 9+4=13
Moving to Node #0,0
Current State: 91:[4, 15, 39], Operations: ['48-9=39']
Exploring Operation: 15-4=11, Resulting Numbers: [39, 11]
Generated Node #0,0,0: 91:[39, 11] Operation: 15-4=11
Exploring Operation: 4+39=43, Resulting Numbers: [15, 43]
Generated Node #0,0,1: 91:[15, 43] Operation: 4+39=43
Exploring Operation: 39-4=35, Resulting Numbers: [15, 35]
Generated Node #0,0,2: 91:[15, 35] Operation: 39-4=35
Exploring Operation: 4+15=19, Resulting Numbers: [39, 19]
Generated Node #0,0,3: 91:[39, 19] Operation: 4+15=19
Exploring Operation: 39-15=24, Resulting Numbers: [4, 24]
Generated Node #0,0,4: 91:[4, 24] Operation: 39-15=24
Moving to Node #0,1
Current State: 91:[9, 4, 63], Operations: ['48+15=63']
Exploring Operation: 4+63=67, Resulting Numbers: [9, 67]
Generated Node #0,1,0: 91:[9, 67] Operation: 4+63=67
Exploring Operation: 9+63=72, Resulting Numbers: [4, 72]
Generated Node #0,1,1: 91:[4, 72] Operation: 9+63=72
Exploring Operation: 9+4=13, Resulting Numbers: [63, 13]
Generated Node #0,1,2: 91:[63, 13] Operation: 9+4=13
Exploring Operation: 9-4=5, Resulting Numbers: [63, 5]
Generated Node #0,1,3: 91:[63, 5] Operation: 9-4=5
Exploring Operation: 63/9=7, Resulting Numbers: [4, 7]
Generated Node #0,1,4: 91:[4, 7] Operation: 63/9=7
Moving to Node #0,2
Current State: 91:[9, 15, 44], Operations: ['48-4=44']
Exploring Operation: 15+44=59, Resulting Numbers: [9, 59]
Generated Node #0,2,0: 91:[9, 59] Operation: 15+44=59
Exploring Operation: 44-9=35, Resulting Numbers: [15, 35]
Generated Node #0,2,1: 91:[15, 35] Operation: 44-9=35
Exploring Operation: 15-9=6, Resulting Numbers: [44, 6]
Generated Node #0,2,2: 91:[44, 6] Operation: 15-9=6
Exploring Operation: 44-15=29, Resulting Numbers: [9, 29]
Generated Node #0,2,3: 91:[9, 29] Operation: 44-15=29
Exploring Operation: 9+44=53, Resulting Numbers: [15, 53]
Generated Node #0,2,4: 91:[15, 53] Operation: 9+44=53
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[9, 29], Operations: ['48-4=44', '44-15=29']
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,91 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[15, 35], Operations: ['48-4=44', '44-9=35']
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[44, 6], Operations: ['48-4=44', '15-9=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[9, 59], Operations: ['48-4=44', '15+44=59']
Exploring Operation: 9*59=531, Resulting Numbers: [531]
531,91 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 9+59=68, Resulting Numbers: [68]
68,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 91:[15, 53], Operations: ['48-4=44', '9+44=53']
Exploring Operation: 15*53=795, Resulting Numbers: [795]
795,91 unequal: No Solution
Exploring Operation: 15+53=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 91:[12, 6], Operations: ['48/4=12', '15-9=6']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Moving to Node #0,1,4
Current State: 91:[4, 7], Operations: ['48+15=63', '63/9=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Moving to Node #0,4,4
Current State: 91:[15, 3], Operations: ['48/4=12', '12-9=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,91 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Moving to Node #0,4,0
Current State: 91:[9, 3], Operations: ['48/4=12', '15-12=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Moving to Node #0,4,1
Current State: 91:[15, 21], Operations: ['48/4=12', '9+12=21']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,91 unequal: No Solution
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Moving to Node #0,4,3
Current State: 91:[12, 24], Operations: ['48/4=12', '9+15=24']
Exploring Operation: 12*24=288, Resulting Numbers: [288]
288,91 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,91 unequal: No Solution
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Moving to Node #0,3,0
Current State: 91:[4, 24], Operations: ['48-15=33', '33-9=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,91 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Moving to Node #0,0,4
Current State: 91:[4, 24], Operations: ['48-9=39', '39-15=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,91 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[9, 29], Operations: ['48-15=33', '33-4=29']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,91 unequal: No Solution
Moving to Node #0,3,4
Current State: 91:[33, 13], Operations: ['48-15=33', '9+4=13']
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 33*13=429, Resulting Numbers: [429]
429,91 unequal: No Solution
Exploring Operation: 33+13=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[33, 5], Operations: ['48-15=33', '9-4=5']
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,91 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[4, 72], Operations: ['48+15=63', '9+63=72']
Exploring Operation: 4*72=288, Resulting Numbers: [288]
288,91 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,91 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[15, 35], Operations: ['48-9=39', '39-4=35']
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[9, 67], Operations: ['48+15=63', '4+63=67']
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,91 unequal: No Solution
Exploring Operation: 9*67=603, Resulting Numbers: [603]
603,91 unequal: No Solution
Exploring Operation: 9+67=76, Resulting Numbers: [76]
76,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[9, 37], Operations: ['48-15=33', '4+33=37']
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,91 unequal: No Solution
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,91 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[63, 13], Operations: ['48+15=63', '9+4=13']
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 63+13=76, Resulting Numbers: [76]
76,91 unequal: No Solution
Exploring Operation: 63*13=819, Resulting Numbers: [819]
819,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[39, 11], Operations: ['48-9=39', '15-4=11']
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,91 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[63, 5], Operations: ['48+15=63', '9-4=5']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,91 unequal: No Solution
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Exploring Operation: 63*5=315, Resulting Numbers: [315]
315,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[15, 43], Operations: ['48-9=39', '4+39=43']
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 15*43=645, Resulting Numbers: [645]
645,91 unequal: No Solution
Exploring Operation: 15+43=58, Resulting Numbers: [58]
58,91 unequal: No Solution
Moving to Node #0,0,3
Current State: 91:[39, 19], Operations: ['48-9=39', '4+15=19']
Exploring Operation: 39*19=741, Resulting Numbers: [741]
741,91 unequal: No Solution
Exploring Operation: 39+19=58, Resulting Numbers: [58]
58,91 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,91 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
1,
35,
13,
41
] | 62 | [
"35-1=34",
"41-13=28",
"34+28=62"
] | Current State: 62:[1, 35, 13, 41], Operations: []
Exploring Operation: 35-1=34, Resulting Numbers: [13, 41, 34]
Generated Node #2: [13, 41, 34] from Operation: 35-1=34
Current State: 62:[13, 41, 34], Operations: ['35-1=34']
Exploring Operation: 41-13=28, Resulting Numbers: [34, 28]
Generated Node #3: [34, 28] from Operation: 41-13=28
Current State: 62:[34, 28], Operations: ['35-1=34', '41-13=28']
Exploring Operation: 34+28=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[1, 35, 13, 41], Operations: []
Exploring Operation: 35-13=22, Resulting Numbers: [1, 41, 22]
Generated Node #0,0: 62:[1, 41, 22] Operation: 35-13=22
Exploring Operation: 35-1=34, Resulting Numbers: [13, 41, 34]
Generated Node #0,1: 62:[13, 41, 34] Operation: 35-1=34
Exploring Operation: 13+41=54, Resulting Numbers: [1, 35, 54]
Generated Node #0,2: 62:[1, 35, 54] Operation: 13+41=54
Exploring Operation: 41-13=28, Resulting Numbers: [1, 35, 28]
Generated Node #0,3: 62:[1, 35, 28] Operation: 41-13=28
Exploring Operation: 41-35=6, Resulting Numbers: [1, 13, 6]
Generated Node #0,4: 62:[1, 13, 6] Operation: 41-35=6
Moving to Node #0,3
Current State: 62:[1, 35, 28], Operations: ['41-13=28']
Exploring Operation: 35+28=63, Resulting Numbers: [1, 63]
Generated Node #0,3,0: 62:[1, 63] Operation: 35+28=63
Exploring Operation: 35-28=7, Resulting Numbers: [1, 7]
Generated Node #0,3,1: 62:[1, 7] Operation: 35-28=7
Exploring Operation: 1+28=29, Resulting Numbers: [35, 29]
Generated Node #0,3,2: 62:[35, 29] Operation: 1+28=29
Exploring Operation: 35-1=34, Resulting Numbers: [28, 34]
Generated Node #0,3,3: 62:[28, 34] Operation: 35-1=34
Exploring Operation: 1*35=35, Resulting Numbers: [28, 35]
Generated Node #0,3,4: 62:[28, 35] Operation: 1*35=35
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 62:[1, 63], Operations: ['41-13=28', '35+28=63']
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[1, 35, 13, 41], Operations: []
Exploring Operation: 41-13=28, Resulting Numbers: [1, 35, 28]
Generated Node #0,3: 62:[1, 35, 28] Operation: 41-13=28
Moving to Node #0,3
Current State: 62:[1, 35, 28], Operations: ['41-13=28']
Exploring Operation: 35+28=63, Resulting Numbers: [1, 63]
Generated Node #0,3,0: 62:[1, 63] Operation: 35+28=63
Moving to Node #0,3,0
Current State: 62:[1, 63], Operations: ['41-13=28', '35+28=63']
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
36,
86,
72,
77
] | 34 | [
"36*86=3096",
"3096/72=43",
"77-43=34"
] | Current State: 34:[36, 86, 72, 77], Operations: []
Exploring Operation: 36*86=3096, Resulting Numbers: [72, 77, 3096]
Generated Node #2: [72, 77, 3096] from Operation: 36*86=3096
Current State: 34:[72, 77, 3096], Operations: ['36*86=3096']
Exploring Operation: 3096/72=43, Resulting Numbers: [77, 43]
Generated Node #3: [77, 43] from Operation: 3096/72=43
Current State: 34:[77, 43], Operations: ['36*86=3096', '3096/72=43']
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[36, 86, 72, 77], Operations: []
Exploring Operation: 86-72=14, Resulting Numbers: [36, 77, 14]
Generated Node #0,0: 34:[36, 77, 14] Operation: 86-72=14
Exploring Operation: 86-77=9, Resulting Numbers: [36, 72, 9]
Generated Node #0,1: 34:[36, 72, 9] Operation: 86-77=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[36, 72, 9], Operations: ['86-77=9']
Exploring Operation: 72/9=8, Resulting Numbers: [36, 8]
Generated Node #0,1,0: 34:[36, 8] Operation: 72/9=8
Exploring Operation: 72/36=2, Resulting Numbers: [9, 2]
Generated Node #0,1,1: 34:[9, 2] Operation: 72/36=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[9, 2], Operations: ['86-77=9', '72/36=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,34 unequal: No Solution
No 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: 34:[36, 8], Operations: ['86-77=9', '72/9=8']
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,34 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: 34:[36, 77, 14], Operations: ['86-72=14']
Exploring Operation: 77-14=63, Resulting Numbers: [36, 63]
Generated Node #0,0,0: 34:[36, 63] Operation: 77-14=63
Exploring Operation: 77-36=41, Resulting Numbers: [14, 41]
Generated Node #0,0,1: 34:[14, 41] Operation: 77-36=41
Moving to Node #0,0,1
Current State: 34:[14, 41], Operations: ['86-72=14', '77-36=41']
Exploring Operation: 14+41=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[36, 63], Operations: ['86-72=14', '77-14=63']
Exploring Operation: 36+63=99, Resulting Numbers: [99]
99,34 unequal: No Solution
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,34 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.