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 |
|---|---|---|---|---|---|---|---|---|
[
9,
14,
92,
84
] | 95 | [
"9+92=101",
"84/14=6",
"101-6=95"
] | Current State: 95:[9, 14, 92, 84], Operations: []
Exploring Operation: 9+92=101, Resulting Numbers: [14, 84, 101]
Generated Node #2: [14, 84, 101] from Operation: 9+92=101
Current State: 95:[14, 84, 101], Operations: ['9+92=101']
Exploring Operation: 84/14=6, Resulting Numbers: [101, 6]
Generated Node #3: [101, 6] from Operation: 84/14=6
Current State: 95:[101, 6], Operations: ['9+92=101', '84/14=6']
Exploring Operation: 101-6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[9, 14, 92, 84], Operations: []
Exploring Operation: 84/14=6, Resulting Numbers: [9, 92, 6]
Generated Node #0,0: 95:[9, 92, 6] Operation: 84/14=6
Exploring Operation: 9+84=93, Resulting Numbers: [14, 92, 93]
Generated Node #0,1: 95:[14, 92, 93] Operation: 9+84=93
Exploring Operation: 14-9=5, Resulting Numbers: [92, 84, 5]
Generated Node #0,2: 95:[92, 84, 5] Operation: 14-9=5
Exploring Operation: 14+84=98, Resulting Numbers: [9, 92, 98]
Generated Node #0,3: 95:[9, 92, 98] Operation: 14+84=98
Exploring Operation: 92-84=8, Resulting Numbers: [9, 14, 8]
Generated Node #0,4: 95:[9, 14, 8] Operation: 92-84=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[9, 92, 6], Operations: ['84/14=6']
Exploring Operation: 9+6=15, Resulting Numbers: [92, 15]
Generated Node #0,0,0: 95:[92, 15] Operation: 9+6=15
Exploring Operation: 92+6=98, Resulting Numbers: [9, 98]
Generated Node #0,0,1: 95:[9, 98] Operation: 92+6=98
Exploring Operation: 9+92=101, Resulting Numbers: [6, 101]
Generated Node #0,0,2: 95:[6, 101] Operation: 9+92=101
Exploring Operation: 92-9=83, Resulting Numbers: [6, 83]
Generated Node #0,0,3: 95:[6, 83] Operation: 92-9=83
Exploring Operation: 9-6=3, Resulting Numbers: [92, 3]
Generated Node #0,0,4: 95:[92, 3] Operation: 9-6=3
Moving to Node #0,0,4
Current State: 95:[92, 3], Operations: ['84/14=6', '9-6=3']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,95 unequal: No Solution
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,95 unequal: No Solution
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[9, 14, 92, 84], Operations: []
Exploring Operation: 84/14=6, Resulting Numbers: [9, 92, 6]
Generated Node #0,0: 95:[9, 92, 6] Operation: 84/14=6
Moving to Node #0,0
Current State: 95:[9, 92, 6], Operations: ['84/14=6']
Exploring Operation: 9-6=3, Resulting Numbers: [92, 3]
Generated Node #0,0,4: 95:[92, 3] Operation: 9-6=3
Moving to Node #0,0,4
Current State: 95:[92, 3], Operations: ['84/14=6', '9-6=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
26,
47,
18,
35
] | 45 | [
"35-26=9",
"18/9=2",
"47-2=45"
] | Current State: 45:[26, 47, 18, 35], Operations: []
Exploring Operation: 35-26=9, Resulting Numbers: [47, 18, 9]
Generated Node #2: [47, 18, 9] from Operation: 35-26=9
Current State: 45:[47, 18, 9], Operations: ['35-26=9']
Exploring Operation: 18/9=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 18/9=2
Current State: 45:[47, 2], Operations: ['35-26=9', '18/9=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[26, 47, 18, 35], Operations: []
Exploring Operation: 35-26=9, Resulting Numbers: [47, 18, 9]
Generated Node #0,0: 45:[47, 18, 9] Operation: 35-26=9
Exploring Operation: 26+18=44, Resulting Numbers: [47, 35, 44]
Generated Node #0,1: 45:[47, 35, 44] Operation: 26+18=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[47, 18, 9], Operations: ['35-26=9']
Exploring Operation: 18-9=9, Resulting Numbers: [47, 9]
Generated Node #0,0,0: 45:[47, 9] Operation: 18-9=9
Exploring Operation: 18/9=2, Resulting Numbers: [47, 2]
Generated Node #0,0,1: 45:[47, 2] Operation: 18/9=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[47, 9], Operations: ['35-26=9', '18-9=9']
Exploring Operation: 47+9=56, Resulting Numbers: [56]
56,45 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 45:[47, 2], Operations: ['35-26=9', '18/9=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[26, 47, 18, 35], Operations: []
Exploring Operation: 35-26=9, Resulting Numbers: [47, 18, 9]
Generated Node #0,0: 45:[47, 18, 9] Operation: 35-26=9
Moving to Node #0,0
Current State: 45:[47, 18, 9], Operations: ['35-26=9']
Exploring Operation: 18/9=2, Resulting Numbers: [47, 2]
Generated Node #0,0,1: 45:[47, 2] Operation: 18/9=2
Moving to Node #0,0,1
Current State: 45:[47, 2], Operations: ['35-26=9', '18/9=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
36,
48,
20,
28
] | 76 | [
"36+48=84",
"28-20=8",
"84-8=76"
] | Current State: 76:[36, 48, 20, 28], Operations: []
Exploring Operation: 36+48=84, Resulting Numbers: [20, 28, 84]
Generated Node #2: [20, 28, 84] from Operation: 36+48=84
Current State: 76:[20, 28, 84], Operations: ['36+48=84']
Exploring Operation: 28-20=8, Resulting Numbers: [84, 8]
Generated Node #3: [84, 8] from Operation: 28-20=8
Current State: 76:[84, 8], Operations: ['36+48=84', '28-20=8']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[36, 48, 20, 28], Operations: []
Exploring Operation: 48+28=76, Resulting Numbers: [36, 20, 76]
Generated Node #0,0: 76:[36, 20, 76] Operation: 48+28=76
Exploring Operation: 48-28=20, Resulting Numbers: [36, 20, 20]
Generated Node #0,1: 76:[36, 20, 20] Operation: 48-28=20
Exploring Operation: 36-28=8, Resulting Numbers: [48, 20, 8]
Generated Node #0,2: 76:[48, 20, 8] Operation: 36-28=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[36, 20, 76], Operations: ['48+28=76']
Exploring Operation: 76-36=40, Resulting Numbers: [20, 40]
Generated Node #0,0,0: 76:[20, 40] Operation: 76-36=40
Exploring Operation: 36+20=56, Resulting Numbers: [76, 56]
Generated Node #0,0,1: 76:[76, 56] Operation: 36+20=56
Exploring Operation: 36-20=16, Resulting Numbers: [76, 16]
Generated Node #0,0,2: 76:[76, 16] Operation: 36-20=16
Moving to Node #0,0,0
Current State: 76:[20, 40], Operations: ['48+28=76', '76-36=40']
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 20+40=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[76, 16], Operations: ['48+28=76', '36-20=16']
Exploring Operation: 76*16=1216, Resulting Numbers: [1216]
1216,76 unequal: No Solution
Exploring Operation: 76-16=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 76+16=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[76, 56], Operations: ['48+28=76', '36+20=56']
Exploring Operation: 76*56=4256, Resulting Numbers: [4256]
4256,76 unequal: No Solution
Exploring Operation: 76+56=132, Resulting Numbers: [132]
132,76 unequal: No Solution
Exploring Operation: 76-56=20, Resulting Numbers: [20]
20,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[36, 20, 20], Operations: ['48-28=20']
Exploring Operation: 36-20=16, Resulting Numbers: [20, 16]
Generated Node #0,1,0: 76:[20, 16] Operation: 36-20=16
Exploring Operation: 36-20=16, Resulting Numbers: [20, 16]
Generated Node #0,1,1: 76:[20, 16] Operation: 36-20=16
Exploring Operation: 20/20=1, Resulting Numbers: [36, 1]
Generated Node #0,1,2: 76:[36, 1] Operation: 20/20=1
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[36, 1], Operations: ['48-28=20', '20/20=1']
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[20, 16], Operations: ['48-28=20', '36-20=16']
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,76 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[20, 16], Operations: ['48-28=20', '36-20=16']
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,76 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[48, 20, 8], Operations: ['36-28=8']
Exploring Operation: 48/8=6, Resulting Numbers: [20, 6]
Generated Node #0,2,0: 76:[20, 6] Operation: 48/8=6
Exploring Operation: 48+20=68, Resulting Numbers: [8, 68]
Generated Node #0,2,1: 76:[8, 68] Operation: 48+20=68
Exploring Operation: 48-8=40, Resulting Numbers: [20, 40]
Generated Node #0,2,2: 76:[20, 40] Operation: 48-8=40
Moving to Node #0,2,0
Current State: 76:[20, 6], Operations: ['36-28=8', '48/8=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,76 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,76 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[20, 40], Operations: ['36-28=8', '48-8=40']
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 20+40=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[8, 68], Operations: ['36-28=8', '48+20=68']
Exploring Operation: 8*68=544, Resulting Numbers: [544]
544,76 unequal: No Solution
Exploring Operation: 8+68=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[36, 48, 20, 28], Operations: []
Exploring Operation: 36-28=8, Resulting Numbers: [48, 20, 8]
Generated Node #0,2: 76:[48, 20, 8] Operation: 36-28=8
Moving to Node #0,2
Current State: 76:[48, 20, 8], Operations: ['36-28=8']
Exploring Operation: 48+20=68, Resulting Numbers: [8, 68]
Generated Node #0,2,1: 76:[8, 68] Operation: 48+20=68
Moving to Node #0,2,1
Current State: 76:[8, 68], Operations: ['36-28=8', '48+20=68']
Exploring Operation: 8+68=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_3 | sum_heuristic |
[
65,
87,
53,
46
] | 53 | [
"65+87=152",
"53+46=99",
"152-99=53"
] | Current State: 53:[65, 87, 53, 46], Operations: []
Exploring Operation: 65+87=152, Resulting Numbers: [53, 46, 152]
Generated Node #2: [53, 46, 152] from Operation: 65+87=152
Current State: 53:[53, 46, 152], Operations: ['65+87=152']
Exploring Operation: 53+46=99, Resulting Numbers: [152, 99]
Generated Node #3: [152, 99] from Operation: 53+46=99
Current State: 53:[152, 99], Operations: ['65+87=152', '53+46=99']
Exploring Operation: 152-99=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[65, 87, 53, 46], Operations: []
Exploring Operation: 87-53=34, Resulting Numbers: [65, 46, 34]
Generated Node #0,0: 53:[65, 46, 34] Operation: 87-53=34
Exploring Operation: 65-53=12, Resulting Numbers: [87, 46, 12]
Generated Node #0,1: 53:[87, 46, 12] Operation: 65-53=12
Exploring Operation: 87-46=41, Resulting Numbers: [65, 53, 41]
Generated Node #0,2: 53:[65, 53, 41] Operation: 87-46=41
Exploring Operation: 65-46=19, Resulting Numbers: [87, 53, 19]
Generated Node #0,3: 53:[87, 53, 19] Operation: 65-46=19
Exploring Operation: 87-65=22, Resulting Numbers: [53, 46, 22]
Generated Node #0,4: 53:[53, 46, 22] Operation: 87-65=22
Moving to Node #0,2
Current State: 53:[65, 53, 41], Operations: ['87-46=41']
Exploring Operation: 65+41=106, Resulting Numbers: [53, 106]
Generated Node #0,2,0: 53:[53, 106] Operation: 65+41=106
Exploring Operation: 53+41=94, Resulting Numbers: [65, 94]
Generated Node #0,2,1: 53:[65, 94] Operation: 53+41=94
Exploring Operation: 65-41=24, Resulting Numbers: [53, 24]
Generated Node #0,2,2: 53:[53, 24] Operation: 65-41=24
Exploring Operation: 53-41=12, Resulting Numbers: [65, 12]
Generated Node #0,2,3: 53:[65, 12] Operation: 53-41=12
Exploring Operation: 65-53=12, Resulting Numbers: [41, 12]
Generated Node #0,2,4: 53:[41, 12] Operation: 65-53=12
Moving to Node #0,4
Current State: 53:[53, 46, 22], Operations: ['87-65=22']
Exploring Operation: 46+22=68, Resulting Numbers: [53, 68]
Generated Node #0,4,0: 53:[53, 68] Operation: 46+22=68
Exploring Operation: 53+46=99, Resulting Numbers: [22, 99]
Generated Node #0,4,1: 53:[22, 99] Operation: 53+46=99
Exploring Operation: 53-22=31, Resulting Numbers: [46, 31]
Generated Node #0,4,2: 53:[46, 31] Operation: 53-22=31
Exploring Operation: 53+22=75, Resulting Numbers: [46, 75]
Generated Node #0,4,3: 53:[46, 75] Operation: 53+22=75
Exploring Operation: 46-22=24, Resulting Numbers: [53, 24]
Generated Node #0,4,4: 53:[53, 24] Operation: 46-22=24
Moving to Node #0,0
Current State: 53:[65, 46, 34], Operations: ['87-53=34']
Exploring Operation: 46-34=12, Resulting Numbers: [65, 12]
Generated Node #0,0,0: 53:[65, 12] Operation: 46-34=12
Exploring Operation: 46+34=80, Resulting Numbers: [65, 80]
Generated Node #0,0,1: 53:[65, 80] Operation: 46+34=80
Exploring Operation: 65-46=19, Resulting Numbers: [34, 19]
Generated Node #0,0,2: 53:[34, 19] Operation: 65-46=19
Exploring Operation: 65-34=31, Resulting Numbers: [46, 31]
Generated Node #0,0,3: 53:[46, 31] Operation: 65-34=31
Exploring Operation: 65+34=99, Resulting Numbers: [46, 99]
Generated Node #0,0,4: 53:[46, 99] Operation: 65+34=99
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 53:[46, 31], Operations: ['87-53=34', '65-34=31']
Exploring Operation: 46+31=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 46*31=1426, Resulting Numbers: [1426]
1426,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,0,1
Current State: 53:[65, 80], Operations: ['87-53=34', '46+34=80']
Exploring Operation: 80-65=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 65+80=145, Resulting Numbers: [145]
145,53 unequal: No Solution
Exploring Operation: 65*80=5200, Resulting Numbers: [5200]
5200,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,0,0
Current State: 53:[65, 12], Operations: ['87-53=34', '46-34=12']
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[65, 87, 53, 46], Operations: []
Exploring Operation: 87-53=34, Resulting Numbers: [65, 46, 34]
Generated Node #0,0: 53:[65, 46, 34] Operation: 87-53=34
Moving to Node #0,0
Current State: 53:[65, 46, 34], Operations: ['87-53=34']
Exploring Operation: 46-34=12, Resulting Numbers: [65, 12]
Generated Node #0,0,0: 53:[65, 12] Operation: 46-34=12
Moving to Node #0,0,0
Current State: 53:[65, 12], Operations: ['87-53=34', '46-34=12']
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_5 | mult_heuristic |
[
40,
18,
15,
29
] | 72 | [
"40+18=58",
"29-15=14",
"58+14=72"
] | Current State: 72:[40, 18, 15, 29], Operations: []
Exploring Operation: 40+18=58, Resulting Numbers: [15, 29, 58]
Generated Node #2: [15, 29, 58] from Operation: 40+18=58
Current State: 72:[15, 29, 58], Operations: ['40+18=58']
Exploring Operation: 29-15=14, Resulting Numbers: [58, 14]
Generated Node #3: [58, 14] from Operation: 29-15=14
Current State: 72:[58, 14], Operations: ['40+18=58', '29-15=14']
Exploring Operation: 58+14=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[40, 18, 15, 29], Operations: []
Exploring Operation: 40-29=11, Resulting Numbers: [18, 15, 11]
Generated Node #0,0: 72:[18, 15, 11] Operation: 40-29=11
Exploring Operation: 40-15=25, Resulting Numbers: [18, 29, 25]
Generated Node #0,1: 72:[18, 29, 25] Operation: 40-15=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[18, 15, 11], Operations: ['40-29=11']
Exploring Operation: 15-11=4, Resulting Numbers: [18, 4]
Generated Node #0,0,0: 72:[18, 4] Operation: 15-11=4
Exploring Operation: 18-15=3, Resulting Numbers: [11, 3]
Generated Node #0,0,1: 72:[11, 3] Operation: 18-15=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[18, 4], Operations: ['40-29=11', '15-11=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[40, 18, 15, 29], Operations: []
Exploring Operation: 40-29=11, Resulting Numbers: [18, 15, 11]
Generated Node #0,0: 72:[18, 15, 11] Operation: 40-29=11
Moving to Node #0,0
Current State: 72:[18, 15, 11], Operations: ['40-29=11']
Exploring Operation: 15-11=4, Resulting Numbers: [18, 4]
Generated Node #0,0,0: 72:[18, 4] Operation: 15-11=4
Moving to Node #0,0,0
Current State: 72:[18, 4], Operations: ['40-29=11', '15-11=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
4,
7,
58,
90
] | 88 | [
"7-4=3",
"90/3=30",
"58+30=88"
] | Current State: 88:[4, 7, 58, 90], Operations: []
Exploring Operation: 7-4=3, Resulting Numbers: [58, 90, 3]
Generated Node #2: [58, 90, 3] from Operation: 7-4=3
Current State: 88:[58, 90, 3], Operations: ['7-4=3']
Exploring Operation: 90/3=30, Resulting Numbers: [58, 30]
Generated Node #3: [58, 30] from Operation: 90/3=30
Current State: 88:[58, 30], Operations: ['7-4=3', '90/3=30']
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[4, 7, 58, 90], Operations: []
Exploring Operation: 7-4=3, Resulting Numbers: [58, 90, 3]
Generated Node #0,0: 88:[58, 90, 3] Operation: 7-4=3
Exploring Operation: 58-4=54, Resulting Numbers: [7, 90, 54]
Generated Node #0,1: 88:[7, 90, 54] Operation: 58-4=54
Exploring Operation: 58-7=51, Resulting Numbers: [4, 90, 51]
Generated Node #0,2: 88:[4, 90, 51] Operation: 58-7=51
Exploring Operation: 90-58=32, Resulting Numbers: [4, 7, 32]
Generated Node #0,3: 88:[4, 7, 32] Operation: 90-58=32
Exploring Operation: 4+7=11, Resulting Numbers: [58, 90, 11]
Generated Node #0,4: 88:[58, 90, 11] Operation: 4+7=11
Moving to Node #0,2
Current State: 88:[4, 90, 51], Operations: ['58-7=51']
Exploring Operation: 90-4=86, Resulting Numbers: [51, 86]
Generated Node #0,2,0: 88:[51, 86] Operation: 90-4=86
Exploring Operation: 4+90=94, Resulting Numbers: [51, 94]
Generated Node #0,2,1: 88:[51, 94] Operation: 4+90=94
Exploring Operation: 51-4=47, Resulting Numbers: [90, 47]
Generated Node #0,2,2: 88:[90, 47] Operation: 51-4=47
Exploring Operation: 90-51=39, Resulting Numbers: [4, 39]
Generated Node #0,2,3: 88:[4, 39] Operation: 90-51=39
Exploring Operation: 4+51=55, Resulting Numbers: [90, 55]
Generated Node #0,2,4: 88:[90, 55] Operation: 4+51=55
Moving to Node #0,3
Current State: 88:[4, 7, 32], Operations: ['90-58=32']
Exploring Operation: 32-7=25, Resulting Numbers: [4, 25]
Generated Node #0,3,0: 88:[4, 25] Operation: 32-7=25
Exploring Operation: 7+32=39, Resulting Numbers: [4, 39]
Generated Node #0,3,1: 88:[4, 39] Operation: 7+32=39
Exploring Operation: 4+32=36, Resulting Numbers: [7, 36]
Generated Node #0,3,2: 88:[7, 36] Operation: 4+32=36
Exploring Operation: 32-4=28, Resulting Numbers: [7, 28]
Generated Node #0,3,3: 88:[7, 28] Operation: 32-4=28
Exploring Operation: 32/4=8, Resulting Numbers: [7, 8]
Generated Node #0,3,4: 88:[7, 8] Operation: 32/4=8
Moving to Node #0,1
Current State: 88:[7, 90, 54], Operations: ['58-4=54']
Exploring Operation: 7+90=97, Resulting Numbers: [54, 97]
Generated Node #0,1,0: 88:[54, 97] Operation: 7+90=97
Exploring Operation: 90-7=83, Resulting Numbers: [54, 83]
Generated Node #0,1,1: 88:[54, 83] Operation: 90-7=83
Exploring Operation: 90-54=36, Resulting Numbers: [7, 36]
Generated Node #0,1,2: 88:[7, 36] Operation: 90-54=36
Exploring Operation: 54-7=47, Resulting Numbers: [90, 47]
Generated Node #0,1,3: 88:[90, 47] Operation: 54-7=47
Exploring Operation: 7+54=61, Resulting Numbers: [90, 61]
Generated Node #0,1,4: 88:[90, 61] Operation: 7+54=61
Moving to Node #0,4
Current State: 88:[58, 90, 11], Operations: ['4+7=11']
Exploring Operation: 58+11=69, Resulting Numbers: [90, 69]
Generated Node #0,4,0: 88:[90, 69] Operation: 58+11=69
Exploring Operation: 90-11=79, Resulting Numbers: [58, 79]
Generated Node #0,4,1: 88:[58, 79] Operation: 90-11=79
Exploring Operation: 90-58=32, Resulting Numbers: [11, 32]
Generated Node #0,4,2: 88:[11, 32] Operation: 90-58=32
Exploring Operation: 58-11=47, Resulting Numbers: [90, 47]
Generated Node #0,4,3: 88:[90, 47] Operation: 58-11=47
Exploring Operation: 90+11=101, Resulting Numbers: [58, 101]
Generated Node #0,4,4: 88:[58, 101] Operation: 90+11=101
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 88:[90, 47], Operations: ['4+7=11', '58-11=47']
Exploring Operation: 90*47=4230, Resulting Numbers: [4230]
4230,88 unequal: No Solution
Exploring Operation: 90-47=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 90+47=137, Resulting Numbers: [137]
137,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,4,2
Current State: 88:[11, 32], Operations: ['4+7=11', '90-58=32']
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,88 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,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,4,0
Current State: 88:[90, 69], Operations: ['4+7=11', '58+11=69']
Exploring Operation: 90+69=159, Resulting Numbers: [159]
159,88 unequal: No Solution
Exploring Operation: 90-69=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 90*69=6210, Resulting Numbers: [6210]
6210,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,4,1
Current State: 88:[58, 79], Operations: ['4+7=11', '90-11=79']
Exploring Operation: 79-58=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 58*79=4582, Resulting Numbers: [4582]
4582,88 unequal: No Solution
Exploring Operation: 58+79=137, Resulting Numbers: [137]
137,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,4,4
Current State: 88:[58, 101], Operations: ['4+7=11', '90+11=101']
Exploring Operation: 58+101=159, Resulting Numbers: [159]
159,88 unequal: No Solution
Exploring Operation: 101-58=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 58*101=5858, Resulting Numbers: [5858]
5858,88 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: 88:[58, 90, 3], Operations: ['7-4=3']
Exploring Operation: 58-3=55, Resulting Numbers: [90, 55]
Generated Node #0,0,0: 88:[90, 55] Operation: 58-3=55
Exploring Operation: 90-3=87, Resulting Numbers: [58, 87]
Generated Node #0,0,1: 88:[58, 87] Operation: 90-3=87
Exploring Operation: 90-58=32, Resulting Numbers: [3, 32]
Generated Node #0,0,2: 88:[3, 32] Operation: 90-58=32
Exploring Operation: 90+3=93, Resulting Numbers: [58, 93]
Generated Node #0,0,3: 88:[58, 93] Operation: 90+3=93
Exploring Operation: 58+3=61, Resulting Numbers: [90, 61]
Generated Node #0,0,4: 88:[90, 61] Operation: 58+3=61
Moving to Node #0,3,4
Current State: 88:[7, 8], Operations: ['90-58=32', '32/4=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,88 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[4, 25], Operations: ['90-58=32', '32-7=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,88 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[90, 47], Operations: ['58-7=51', '51-4=47']
Exploring Operation: 90*47=4230, Resulting Numbers: [4230]
4230,88 unequal: No Solution
Exploring Operation: 90-47=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 90+47=137, Resulting Numbers: [137]
137,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[4, 39], Operations: ['58-7=51', '90-51=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[90, 47], Operations: ['58-4=54', '54-7=47']
Exploring Operation: 90+47=137, Resulting Numbers: [137]
137,88 unequal: No Solution
Exploring Operation: 90-47=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 90*47=4230, Resulting Numbers: [4230]
4230,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[4, 39], Operations: ['90-58=32', '7+32=39']
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[7, 28], Operations: ['90-58=32', '32-4=28']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 7*28=196, Resulting Numbers: [196]
196,88 unequal: No Solution
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[51, 86], Operations: ['58-7=51', '90-4=86']
Exploring Operation: 51+86=137, Resulting Numbers: [137]
137,88 unequal: No Solution
Exploring Operation: 86-51=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Exploring Operation: 51*86=4386, Resulting Numbers: [4386]
4386,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[7, 36], Operations: ['58-4=54', '90-54=36']
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,88 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[7, 36], Operations: ['90-58=32', '4+32=36']
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,88 unequal: No Solution
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[3, 32], Operations: ['7-4=3', '90-58=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,88 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Moving to Node #0,2,4
Current State: 88:[90, 55], Operations: ['58-7=51', '4+51=55']
Exploring Operation: 90*55=4950, Resulting Numbers: [4950]
4950,88 unequal: No Solution
Exploring Operation: 90+55=145, Resulting Numbers: [145]
145,88 unequal: No Solution
Exploring Operation: 90-55=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[90, 55], Operations: ['7-4=3', '58-3=55']
Exploring Operation: 90-55=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Exploring Operation: 90*55=4950, Resulting Numbers: [4950]
4950,88 unequal: No Solution
Exploring Operation: 90+55=145, Resulting Numbers: [145]
145,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[51, 94], Operations: ['58-7=51', '4+90=94']
Exploring Operation: 94-51=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 51+94=145, Resulting Numbers: [145]
145,88 unequal: No Solution
Exploring Operation: 51*94=4794, Resulting Numbers: [4794]
4794,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[54, 83], Operations: ['58-4=54', '90-7=83']
Exploring Operation: 83-54=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 54+83=137, Resulting Numbers: [137]
137,88 unequal: No Solution
Exploring Operation: 54*83=4482, Resulting Numbers: [4482]
4482,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[58, 87], Operations: ['7-4=3', '90-3=87']
Exploring Operation: 87-58=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 58+87=145, Resulting Numbers: [145]
145,88 unequal: No Solution
Exploring Operation: 58*87=5046, Resulting Numbers: [5046]
5046,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[58, 93], Operations: ['7-4=3', '90+3=93']
Exploring Operation: 58*93=5394, Resulting Numbers: [5394]
5394,88 unequal: No Solution
Exploring Operation: 93-58=35, Resulting Numbers: [35]
35,88 unequal: No Solution
Exploring Operation: 58+93=151, Resulting Numbers: [151]
151,88 unequal: No Solution
Moving to Node #0,1,4
Current State: 88:[90, 61], Operations: ['58-4=54', '7+54=61']
Exploring Operation: 90+61=151, Resulting Numbers: [151]
151,88 unequal: No Solution
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 90*61=5490, Resulting Numbers: [5490]
5490,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[54, 97], Operations: ['58-4=54', '7+90=97']
Exploring Operation: 97-54=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 54*97=5238, Resulting Numbers: [5238]
5238,88 unequal: No Solution
Exploring Operation: 54+97=151, Resulting Numbers: [151]
151,88 unequal: No Solution
Moving to Node #0,0,4
Current State: 88:[90, 61], Operations: ['7-4=3', '58+3=61']
Exploring Operation: 90+61=151, Resulting Numbers: [151]
151,88 unequal: No Solution
Exploring Operation: 90-61=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 90*61=5490, Resulting Numbers: [5490]
5490,88 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
36,
55,
81,
74
] | 98 | [
"36+55=91",
"81-74=7",
"91+7=98"
] | Current State: 98:[36, 55, 81, 74], Operations: []
Exploring Operation: 36+55=91, Resulting Numbers: [81, 74, 91]
Generated Node #2: [81, 74, 91] from Operation: 36+55=91
Current State: 98:[81, 74, 91], Operations: ['36+55=91']
Exploring Operation: 81-74=7, Resulting Numbers: [91, 7]
Generated Node #3: [91, 7] from Operation: 81-74=7
Current State: 98:[91, 7], Operations: ['36+55=91', '81-74=7']
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[36, 55, 81, 74], Operations: []
Exploring Operation: 81-74=7, Resulting Numbers: [36, 55, 7]
Generated Node #0,0: 98:[36, 55, 7] Operation: 81-74=7
Moving to Node #0,0
Current State: 98:[36, 55, 7], Operations: ['81-74=7']
Exploring Operation: 55-36=19, Resulting Numbers: [7, 19]
Generated Node #0,0,0: 98:[7, 19] Operation: 55-36=19
Moving to Node #0,0,0
Current State: 98:[7, 19], Operations: ['81-74=7', '55-36=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,98 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
72,
40,
74,
24
] | 46 | [
"72*40=2880",
"2880/24=120",
"120-74=46"
] | Current State: 46:[72, 40, 74, 24], Operations: []
Exploring Operation: 72*40=2880, Resulting Numbers: [74, 24, 2880]
Generated Node #2: [74, 24, 2880] from Operation: 72*40=2880
Current State: 46:[74, 24, 2880], Operations: ['72*40=2880']
Exploring Operation: 2880/24=120, Resulting Numbers: [74, 120]
Generated Node #3: [74, 120] from Operation: 2880/24=120
Current State: 46:[74, 120], Operations: ['72*40=2880', '2880/24=120']
Exploring Operation: 120-74=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[72, 40, 74, 24], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [40, 24, 2]
Generated Node #0,0: 46:[40, 24, 2] Operation: 74-72=2
Exploring Operation: 72/24=3, Resulting Numbers: [40, 74, 3]
Generated Node #0,1: 46:[40, 74, 3] Operation: 72/24=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[40, 24, 2], Operations: ['74-72=2']
Exploring Operation: 40/2=20, Resulting Numbers: [24, 20]
Generated Node #0,0,0: 46:[24, 20] Operation: 40/2=20
Exploring Operation: 40+2=42, Resulting Numbers: [24, 42]
Generated Node #0,0,1: 46:[24, 42] Operation: 40+2=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[24, 20], Operations: ['74-72=2', '40/2=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,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:[24, 42], Operations: ['74-72=2', '40+2=42']
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,46 unequal: No Solution
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,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:[40, 74, 3], Operations: ['72/24=3']
Exploring Operation: 40+3=43, Resulting Numbers: [74, 43]
Generated Node #0,1,0: 46:[74, 43] Operation: 40+3=43
Exploring Operation: 74-40=34, Resulting Numbers: [3, 34]
Generated Node #0,1,1: 46:[3, 34] Operation: 74-40=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 46:[3, 34], Operations: ['72/24=3', '74-40=34']
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,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,1,0
Current State: 46:[74, 43], Operations: ['72/24=3', '40+3=43']
Exploring Operation: 74+43=117, Resulting Numbers: [117]
117,46 unequal: No Solution
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,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
No solution found.
| 0 | hs_2 | mult_heuristic |
[
60,
75,
35,
60
] | 76 | [
"60+35=95",
"60*95=5700",
"5700/75=76"
] | Current State: 76:[60, 75, 35, 60], Operations: []
Exploring Operation: 60+35=95, Resulting Numbers: [75, 95]
Generated Node #2: [75, 95] from Operation: 60+35=95
Current State: 76:[75, 95], Operations: ['60+35=95']
Exploring Operation: 60*95=5700, Resulting Numbers: [75, 5700]
Generated Node #3: [75, 5700] from Operation: 60*95=5700
Current State: 76:[75, 5700], Operations: ['60+35=95', '60*95=5700']
Exploring Operation: 5700/75=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[60, 75, 35, 60], Operations: []
Exploring Operation: 60-60=0, Resulting Numbers: [75, 35, 0]
Generated Node #0,0: 76:[75, 35, 0] Operation: 60-60=0
Exploring Operation: 60/60=1, Resulting Numbers: [75, 35, 1]
Generated Node #0,1: 76:[75, 35, 1] Operation: 60/60=1
Exploring Operation: 75-60=15, Resulting Numbers: [60, 35, 15]
Generated Node #0,2: 76:[60, 35, 15] Operation: 75-60=15
Exploring Operation: 75-60=15, Resulting Numbers: [35, 60, 15]
Generated Node #0,3: 76:[35, 60, 15] Operation: 75-60=15
Exploring Operation: 60-35=25, Resulting Numbers: [75, 60, 25]
Generated Node #0,4: 76:[75, 60, 25] Operation: 60-35=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[75, 35, 1], Operations: ['60/60=1']
Exploring Operation: 35+1=36, Resulting Numbers: [75, 36]
Generated Node #0,1,0: 76:[75, 36] Operation: 35+1=36
Exploring Operation: 75-35=40, Resulting Numbers: [1, 40]
Generated Node #0,1,1: 76:[1, 40] Operation: 75-35=40
Exploring Operation: 75/1=75, Resulting Numbers: [35, 75]
Generated Node #0,1,2: 76:[35, 75] Operation: 75/1=75
Exploring Operation: 75*1=75, Resulting Numbers: [35, 75]
Generated Node #0,1,3: 76:[35, 75] Operation: 75*1=75
Exploring Operation: 75+1=76, Resulting Numbers: [35, 76]
Generated Node #0,1,4: 76:[35, 76] Operation: 75+1=76
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[75, 36], Operations: ['60/60=1', '35+1=36']
Exploring Operation: 75*36=2700, Resulting Numbers: [2700]
2700,76 unequal: No Solution
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 75+36=111, Resulting Numbers: [111]
111,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[1, 40], Operations: ['60/60=1', '75-35=40']
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 76:[35, 76], Operations: ['60/60=1', '75+1=76']
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,76 unequal: No Solution
Exploring Operation: 35+76=111, Resulting Numbers: [111]
111,76 unequal: No Solution
Exploring Operation: 35*76=2660, Resulting Numbers: [2660]
2660,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[35, 75], Operations: ['60/60=1', '75/1=75']
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 35*75=2625, Resulting Numbers: [2625]
2625,76 unequal: No Solution
Exploring Operation: 35+75=110, Resulting Numbers: [110]
110,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 76:[35, 75], Operations: ['60/60=1', '75*1=75']
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 35+75=110, Resulting Numbers: [110]
110,76 unequal: No Solution
Exploring Operation: 35*75=2625, Resulting Numbers: [2625]
2625,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[75, 35, 0], Operations: ['60-60=0']
Exploring Operation: 75-35=40, Resulting Numbers: [0, 40]
Generated Node #0,0,0: 76:[0, 40] Operation: 75-35=40
Exploring Operation: 35+0=35, Resulting Numbers: [75, 35]
Generated Node #0,0,1: 76:[75, 35] Operation: 35+0=35
Exploring Operation: 75-0=75, Resulting Numbers: [35, 75]
Generated Node #0,0,2: 76:[35, 75] Operation: 75-0=75
Exploring Operation: 35*0=0, Resulting Numbers: [75, 0]
Generated Node #0,0,3: 76:[75, 0] Operation: 35*0=0
Exploring Operation: 75+0=75, Resulting Numbers: [35, 75]
Generated Node #0,0,4: 76:[35, 75] Operation: 75+0=75
Moving to Node #0,0,3
Current State: 76:[75, 0], Operations: ['60-60=0', '35*0=0']
Exploring Operation: 75*0=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 75-0=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 75+0=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[75, 35], Operations: ['60-60=0', '35+0=35']
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,76 unequal: No Solution
Exploring Operation: 75*35=2625, Resulting Numbers: [2625]
2625,76 unequal: No Solution
Moving to Node #0,0,4
Current State: 76:[35, 75], Operations: ['60-60=0', '75+0=75']
Exploring Operation: 35+75=110, Resulting Numbers: [110]
110,76 unequal: No Solution
Exploring Operation: 35*75=2625, Resulting Numbers: [2625]
2625,76 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[0, 40], Operations: ['60-60=0', '75-35=40']
Exploring Operation: 0*40=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 0+40=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 40-0=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[35, 75], Operations: ['60-60=0', '75-0=75']
Exploring Operation: 35+75=110, Resulting Numbers: [110]
110,76 unequal: No Solution
Exploring Operation: 35*75=2625, Resulting Numbers: [2625]
2625,76 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[60, 35, 15], Operations: ['75-60=15']
Exploring Operation: 60-15=45, Resulting Numbers: [35, 45]
Generated Node #0,2,0: 76:[35, 45] Operation: 60-15=45
Exploring Operation: 60-35=25, Resulting Numbers: [15, 25]
Generated Node #0,2,1: 76:[15, 25] Operation: 60-35=25
Exploring Operation: 60+15=75, Resulting Numbers: [35, 75]
Generated Node #0,2,2: 76:[35, 75] Operation: 60+15=75
Exploring Operation: 35-15=20, Resulting Numbers: [60, 20]
Generated Node #0,2,3: 76:[60, 20] Operation: 35-15=20
Exploring Operation: 60/15=4, Resulting Numbers: [35, 4]
Generated Node #0,2,4: 76:[35, 4] Operation: 60/15=4
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 76:[35, 4], Operations: ['75-60=15', '60/15=4']
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,76 unequal: No Solution
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[35, 75], Operations: ['75-60=15', '60+15=75']
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 35*75=2625, Resulting Numbers: [2625]
2625,76 unequal: No Solution
Exploring Operation: 35+75=110, Resulting Numbers: [110]
110,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 76:[35, 45], Operations: ['75-60=15', '60-15=45']
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 35*45=1575, Resulting Numbers: [1575]
1575,76 unequal: No Solution
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[15, 25], Operations: ['75-60=15', '60-35=25']
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,76 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 76:[60, 20], Operations: ['75-60=15', '35-15=20']
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 60*20=1200, Resulting Numbers: [1200]
1200,76 unequal: No Solution
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[35, 60, 15], Operations: ['75-60=15']
Exploring Operation: 60-35=25, Resulting Numbers: [15, 25]
Generated Node #0,3,0: 76:[15, 25] Operation: 60-35=25
Exploring Operation: 60+15=75, Resulting Numbers: [35, 75]
Generated Node #0,3,1: 76:[35, 75] Operation: 60+15=75
Exploring Operation: 60/15=4, Resulting Numbers: [35, 4]
Generated Node #0,3,2: 76:[35, 4] Operation: 60/15=4
Exploring Operation: 35-15=20, Resulting Numbers: [60, 20]
Generated Node #0,3,3: 76:[60, 20] Operation: 35-15=20
Exploring Operation: 60-15=45, Resulting Numbers: [35, 45]
Generated Node #0,3,4: 76:[35, 45] Operation: 60-15=45
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 76:[35, 4], Operations: ['75-60=15', '60/15=4']
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,76 unequal: No Solution
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 76:[35, 75], Operations: ['75-60=15', '60+15=75']
Exploring Operation: 35+75=110, Resulting Numbers: [110]
110,76 unequal: No Solution
Exploring Operation: 35*75=2625, Resulting Numbers: [2625]
2625,76 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 76:[15, 25], Operations: ['75-60=15', '60-35=25']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,76 unequal: No Solution
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 76:[35, 45], Operations: ['75-60=15', '60-15=45']
Exploring Operation: 35*45=1575, Resulting Numbers: [1575]
1575,76 unequal: No Solution
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 76:[60, 20], Operations: ['75-60=15', '35-15=20']
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 60*20=1200, Resulting Numbers: [1200]
1200,76 unequal: No Solution
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 76:[75, 60, 25], Operations: ['60-35=25']
Exploring Operation: 75-25=50, Resulting Numbers: [60, 50]
Generated Node #0,4,0: 76:[60, 50] Operation: 75-25=50
Exploring Operation: 60-25=35, Resulting Numbers: [75, 35]
Generated Node #0,4,1: 76:[75, 35] Operation: 60-25=35
Exploring Operation: 60+25=85, Resulting Numbers: [75, 85]
Generated Node #0,4,2: 76:[75, 85] Operation: 60+25=85
Exploring Operation: 75-60=15, Resulting Numbers: [25, 15]
Generated Node #0,4,3: 76:[25, 15] Operation: 75-60=15
Exploring Operation: 75/25=3, Resulting Numbers: [60, 3]
Generated Node #0,4,4: 76:[60, 3] Operation: 75/25=3
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 76:[75, 35], Operations: ['60-35=25', '60-25=35']
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,76 unequal: No Solution
Exploring Operation: 75*35=2625, Resulting Numbers: [2625]
2625,76 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 76:[75, 85], Operations: ['60-35=25', '60+25=85']
Exploring Operation: 85-75=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 75+85=160, Resulting Numbers: [160]
160,76 unequal: No Solution
Exploring Operation: 75*85=6375, Resulting Numbers: [6375]
6375,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 76:[25, 15], Operations: ['60-35=25', '75-60=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,76 unequal: No Solution
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 76:[60, 3], Operations: ['60-35=25', '75/25=3']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,76 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 76:[60, 50], Operations: ['60-35=25', '75-25=50']
Exploring Operation: 60+50=110, Resulting Numbers: [110]
110,76 unequal: No Solution
Exploring Operation: 60*50=3000, Resulting Numbers: [3000]
3000,76 unequal: No Solution
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
9,
75,
42,
79
] | 29 | [
"75-9=66",
"79-42=37",
"66-37=29"
] | Current State: 29:[9, 75, 42, 79], Operations: []
Exploring Operation: 75-9=66, Resulting Numbers: [42, 79, 66]
Generated Node #2: [42, 79, 66] from Operation: 75-9=66
Current State: 29:[42, 79, 66], Operations: ['75-9=66']
Exploring Operation: 79-42=37, Resulting Numbers: [66, 37]
Generated Node #3: [66, 37] from Operation: 79-42=37
Current State: 29:[66, 37], Operations: ['75-9=66', '79-42=37']
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[9, 75, 42, 79], Operations: []
Exploring Operation: 75-42=33, Resulting Numbers: [9, 79, 33]
Generated Node #0,0: 29:[9, 79, 33] Operation: 75-42=33
Exploring Operation: 79-75=4, Resulting Numbers: [9, 42, 4]
Generated Node #0,1: 29:[9, 42, 4] Operation: 79-75=4
Moving to Node #0,1
Current State: 29:[9, 42, 4], Operations: ['79-75=4']
Exploring Operation: 42-9=33, Resulting Numbers: [4, 33]
Generated Node #0,1,0: 29:[4, 33] Operation: 42-9=33
Exploring Operation: 9*4=36, Resulting Numbers: [42, 36]
Generated Node #0,1,1: 29:[42, 36] Operation: 9*4=36
Moving to Node #0,0
Current State: 29:[9, 79, 33], Operations: ['75-42=33']
Exploring Operation: 79-33=46, Resulting Numbers: [9, 46]
Generated Node #0,0,0: 29:[9, 46] Operation: 79-33=46
Exploring Operation: 79-9=70, Resulting Numbers: [33, 70]
Generated Node #0,0,1: 29:[33, 70] Operation: 79-9=70
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[9, 46], Operations: ['75-42=33', '79-33=46']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[33, 70], Operations: ['75-42=33', '79-9=70']
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 33+70=103, Resulting Numbers: [103]
103,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 29:[42, 36], Operations: ['79-75=4', '9*4=36']
Exploring Operation: 42+36=78, Resulting Numbers: [78]
78,29 unequal: No Solution
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[4, 33], Operations: ['79-75=4', '42-9=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[9, 75, 42, 79], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [9, 42, 4]
Generated Node #0,1: 29:[9, 42, 4] Operation: 79-75=4
Moving to Node #0,1
Current State: 29:[9, 42, 4], Operations: ['79-75=4']
Exploring Operation: 42-9=33, Resulting Numbers: [4, 33]
Generated Node #0,1,0: 29:[4, 33] Operation: 42-9=33
Moving to Node #0,1,0
Current State: 29:[4, 33], Operations: ['79-75=4', '42-9=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
85,
8,
40,
37
] | 43 | [
"85-37=48",
"40/8=5",
"48-5=43"
] | Current State: 43:[85, 8, 40, 37], Operations: []
Exploring Operation: 85-37=48, Resulting Numbers: [8, 40, 48]
Generated Node #2: [8, 40, 48] from Operation: 85-37=48
Current State: 43:[8, 40, 48], Operations: ['85-37=48']
Exploring Operation: 40/8=5, Resulting Numbers: [48, 5]
Generated Node #3: [48, 5] from Operation: 40/8=5
Current State: 43:[48, 5], Operations: ['85-37=48', '40/8=5']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[85, 8, 40, 37], Operations: []
Exploring Operation: 8+37=45, Resulting Numbers: [85, 40, 45]
Generated Node #0,0: 43:[85, 40, 45] Operation: 8+37=45
Exploring Operation: 85-37=48, Resulting Numbers: [8, 40, 48]
Generated Node #0,1: 43:[8, 40, 48] Operation: 85-37=48
Exploring Operation: 85-40=45, Resulting Numbers: [8, 37, 45]
Generated Node #0,2: 43:[8, 37, 45] Operation: 85-40=45
Exploring Operation: 85-8=77, Resulting Numbers: [40, 37, 77]
Generated Node #0,3: 43:[40, 37, 77] Operation: 85-8=77
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[8, 40, 48], Operations: ['85-37=48']
Exploring Operation: 8+40=48, Resulting Numbers: [48, 48]
Generated Node #0,1,0: 43:[48, 48] Operation: 8+40=48
Exploring Operation: 40-8=32, Resulting Numbers: [48, 32]
Generated Node #0,1,1: 43:[48, 32] Operation: 40-8=32
Exploring Operation: 8+48=56, Resulting Numbers: [40, 56]
Generated Node #0,1,2: 43:[40, 56] Operation: 8+48=56
Exploring Operation: 48-8=40, Resulting Numbers: [40, 40]
Generated Node #0,1,3: 43:[40, 40] Operation: 48-8=40
Moving to Node #0,1,3
Current State: 43:[40, 40], Operations: ['85-37=48', '48-8=40']
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 40*40=1600, Resulting Numbers: [1600]
1600,43 unequal: No Solution
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[48, 48], Operations: ['85-37=48', '8+40=48']
Exploring Operation: 48*48=2304, Resulting Numbers: [2304]
2304,43 unequal: No Solution
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 48-48=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[40, 56], Operations: ['85-37=48', '8+48=56']
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 40+56=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 40*56=2240, Resulting Numbers: [2240]
2240,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[48, 32], Operations: ['85-37=48', '40-8=32']
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 48*32=1536, Resulting Numbers: [1536]
1536,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[8, 37, 45], Operations: ['85-40=45']
Exploring Operation: 37-8=29, Resulting Numbers: [45, 29]
Generated Node #0,2,0: 43:[45, 29] Operation: 37-8=29
Exploring Operation: 8+37=45, Resulting Numbers: [45, 45]
Generated Node #0,2,1: 43:[45, 45] Operation: 8+37=45
Exploring Operation: 8+45=53, Resulting Numbers: [37, 53]
Generated Node #0,2,2: 43:[37, 53] Operation: 8+45=53
Exploring Operation: 45-8=37, Resulting Numbers: [37, 37]
Generated Node #0,2,3: 43:[37, 37] Operation: 45-8=37
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[45, 45], Operations: ['85-40=45', '8+37=45']
Exploring Operation: 45/45=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 45-45=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 45*45=2025, Resulting Numbers: [2025]
2025,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 43:[37, 37], Operations: ['85-40=45', '45-8=37']
Exploring Operation: 37*37=1369, Resulting Numbers: [1369]
1369,43 unequal: No Solution
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[45, 29], Operations: ['85-40=45', '37-8=29']
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,43 unequal: No Solution
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[37, 53], Operations: ['85-40=45', '8+45=53']
Exploring Operation: 37*53=1961, Resulting Numbers: [1961]
1961,43 unequal: No Solution
Exploring Operation: 37+53=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[40, 37, 77], Operations: ['85-8=77']
Exploring Operation: 40+37=77, Resulting Numbers: [77, 77]
Generated Node #0,3,0: 43:[77, 77] Operation: 40+37=77
Exploring Operation: 77-40=37, Resulting Numbers: [37, 37]
Generated Node #0,3,1: 43:[37, 37] Operation: 77-40=37
Exploring Operation: 77-37=40, Resulting Numbers: [40, 40]
Generated Node #0,3,2: 43:[40, 40] Operation: 77-37=40
Exploring Operation: 40-37=3, Resulting Numbers: [77, 3]
Generated Node #0,3,3: 43:[77, 3] Operation: 40-37=3
Moving to Node #0,3,2
Current State: 43:[40, 40], Operations: ['85-8=77', '77-37=40']
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Exploring Operation: 40*40=1600, Resulting Numbers: [1600]
1600,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[37, 37], Operations: ['85-8=77', '77-40=37']
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 37*37=1369, Resulting Numbers: [1369]
1369,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[77, 77], Operations: ['85-8=77', '40+37=77']
Exploring Operation: 77+77=154, Resulting Numbers: [154]
154,43 unequal: No Solution
Exploring Operation: 77/77=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 77*77=5929, Resulting Numbers: [5929]
5929,43 unequal: No Solution
Exploring Operation: 77-77=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[77, 3], Operations: ['85-8=77', '40-37=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,43 unequal: No Solution
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[85, 40, 45], Operations: ['8+37=45']
Exploring Operation: 45-40=5, Resulting Numbers: [85, 5]
Generated Node #0,0,0: 43:[85, 5] Operation: 45-40=5
Exploring Operation: 85-40=45, Resulting Numbers: [45, 45]
Generated Node #0,0,1: 43:[45, 45] Operation: 85-40=45
Exploring Operation: 85+40=125, Resulting Numbers: [45, 125]
Generated Node #0,0,2: 43:[45, 125] Operation: 85+40=125
Exploring Operation: 85-45=40, Resulting Numbers: [40, 40]
Generated Node #0,0,3: 43:[40, 40] Operation: 85-45=40
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[45, 45], Operations: ['8+37=45', '85-40=45']
Exploring Operation: 45/45=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 45-45=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 45*45=2025, Resulting Numbers: [2025]
2025,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 43:[40, 40], Operations: ['8+37=45', '85-45=40']
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 40*40=1600, Resulting Numbers: [1600]
1600,43 unequal: No Solution
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[85, 5], Operations: ['8+37=45', '45-40=5']
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,43 unequal: No Solution
Exploring Operation: 85+5=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 85*5=425, Resulting Numbers: [425]
425,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[45, 125], Operations: ['8+37=45', '85+40=125']
Exploring Operation: 125-45=80, Resulting Numbers: [80]
80,43 unequal: No Solution
Exploring Operation: 45+125=170, Resulting Numbers: [170]
170,43 unequal: No Solution
Exploring Operation: 45*125=5625, Resulting Numbers: [5625]
5625,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
20,
71,
55,
80
] | 84 | [
"71-20=51",
"55+80=135",
"135-51=84"
] | Current State: 84:[20, 71, 55, 80], Operations: []
Exploring Operation: 71-20=51, Resulting Numbers: [55, 80, 51]
Generated Node #2: [55, 80, 51] from Operation: 71-20=51
Current State: 84:[55, 80, 51], Operations: ['71-20=51']
Exploring Operation: 55+80=135, Resulting Numbers: [51, 135]
Generated Node #3: [51, 135] from Operation: 55+80=135
Current State: 84:[51, 135], Operations: ['71-20=51', '55+80=135']
Exploring Operation: 135-51=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[20, 71, 55, 80], Operations: []
Exploring Operation: 71-55=16, Resulting Numbers: [20, 80, 16]
Generated Node #0,0: 84:[20, 80, 16] Operation: 71-55=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[20, 80, 16], Operations: ['71-55=16']
Exploring Operation: 80/20=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 84:[16, 4] Operation: 80/20=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[16, 4], Operations: ['71-55=16', '80/20=4']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
55,
7,
51,
71
] | 74 | [
"55-7=48",
"51+71=122",
"122-48=74"
] | Current State: 74:[55, 7, 51, 71], Operations: []
Exploring Operation: 55-7=48, Resulting Numbers: [51, 71, 48]
Generated Node #2: [51, 71, 48] from Operation: 55-7=48
Current State: 74:[51, 71, 48], Operations: ['55-7=48']
Exploring Operation: 51+71=122, Resulting Numbers: [48, 122]
Generated Node #3: [48, 122] from Operation: 51+71=122
Current State: 74:[48, 122], Operations: ['55-7=48', '51+71=122']
Exploring Operation: 122-48=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[55, 7, 51, 71], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [7, 71, 4]
Generated Node #0,0: 74:[7, 71, 4] Operation: 55-51=4
Moving to Node #0,0
Current State: 74:[7, 71, 4], Operations: ['55-51=4']
Exploring Operation: 7-4=3, Resulting Numbers: [71, 3]
Generated Node #0,0,0: 74:[71, 3] Operation: 7-4=3
Moving to Node #0,0,0
Current State: 74:[71, 3], Operations: ['55-51=4', '7-4=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[55, 7, 51, 71], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [7, 71, 4]
Generated Node #0,0: 74:[7, 71, 4] Operation: 55-51=4
Moving to Node #0,0
Current State: 74:[7, 71, 4], Operations: ['55-51=4']
Exploring Operation: 7-4=3, Resulting Numbers: [71, 3]
Generated Node #0,0,0: 74:[71, 3] Operation: 7-4=3
Moving to Node #0,0,0
Current State: 74:[71, 3], Operations: ['55-51=4', '7-4=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
78,
6,
3,
26
] | 75 | [
"78+3=81",
"6*26=156",
"156-81=75"
] | Current State: 75:[78, 6, 3, 26], Operations: []
Exploring Operation: 78+3=81, Resulting Numbers: [6, 26, 81]
Generated Node #2: [6, 26, 81] from Operation: 78+3=81
Current State: 75:[6, 26, 81], Operations: ['78+3=81']
Exploring Operation: 6*26=156, Resulting Numbers: [81, 156]
Generated Node #3: [81, 156] from Operation: 6*26=156
Current State: 75:[81, 156], Operations: ['78+3=81', '6*26=156']
Exploring Operation: 156-81=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[78, 6, 3, 26], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [6, 3, 3]
Generated Node #0,0: 75:[6, 3, 3] Operation: 78/26=3
Moving to Node #0,0
Current State: 75:[6, 3, 3], Operations: ['78/26=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3, 3]
Generated Node #0,0,0: 75:[3, 3] Operation: 6-3=3
Moving to Node #0,0,0
Current State: 75:[3, 3], Operations: ['78/26=3', '6-3=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,75 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
97,
13,
60,
81
] | 20 | [
"97-13=84",
"84-81=3",
"60/3=20"
] | Current State: 20:[97, 13, 60, 81], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [60, 81, 84]
Generated Node #2: [60, 81, 84] from Operation: 97-13=84
Current State: 20:[60, 81, 84], Operations: ['97-13=84']
Exploring Operation: 84-81=3, Resulting Numbers: [60, 3]
Generated Node #3: [60, 3] from Operation: 84-81=3
Current State: 20:[60, 3], Operations: ['97-13=84', '84-81=3']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[97, 13, 60, 81], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [60, 81, 84]
Generated Node #0,0: 20:[60, 81, 84] Operation: 97-13=84
Exploring Operation: 60-13=47, Resulting Numbers: [97, 81, 47]
Generated Node #0,1: 20:[97, 81, 47] Operation: 60-13=47
Exploring Operation: 97-81=16, Resulting Numbers: [13, 60, 16]
Generated Node #0,2: 20:[13, 60, 16] Operation: 97-81=16
Exploring Operation: 81-60=21, Resulting Numbers: [97, 13, 21]
Generated Node #0,3: 20:[97, 13, 21] Operation: 81-60=21
Exploring Operation: 97-60=37, Resulting Numbers: [13, 81, 37]
Generated Node #0,4: 20:[13, 81, 37] Operation: 97-60=37
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[13, 60, 16], Operations: ['97-81=16']
Exploring Operation: 60-16=44, Resulting Numbers: [13, 44]
Generated Node #0,2,0: 20:[13, 44] Operation: 60-16=44
Exploring Operation: 13+60=73, Resulting Numbers: [16, 73]
Generated Node #0,2,1: 20:[16, 73] Operation: 13+60=73
Exploring Operation: 16-13=3, Resulting Numbers: [60, 3]
Generated Node #0,2,2: 20:[60, 3] Operation: 16-13=3
Exploring Operation: 60-13=47, Resulting Numbers: [16, 47]
Generated Node #0,2,3: 20:[16, 47] Operation: 60-13=47
Exploring Operation: 13+16=29, Resulting Numbers: [60, 29]
Generated Node #0,2,4: 20:[60, 29] Operation: 13+16=29
Moving to Node #0,2,0
Current State: 20:[13, 44], Operations: ['97-81=16', '60-16=44']
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 13*44=572, Resulting Numbers: [572]
572,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[16, 47], Operations: ['97-81=16', '60-13=47']
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 16*47=752, Resulting Numbers: [752]
752,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[60, 3], Operations: ['97-81=16', '16-13=3']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,20 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[97, 13, 60, 81], Operations: []
Exploring Operation: 97-81=16, Resulting Numbers: [13, 60, 16]
Generated Node #0,2: 20:[13, 60, 16] Operation: 97-81=16
Moving to Node #0,2
Current State: 20:[13, 60, 16], Operations: ['97-81=16']
Exploring Operation: 16-13=3, Resulting Numbers: [60, 3]
Generated Node #0,2,2: 20:[60, 3] Operation: 16-13=3
Moving to Node #0,2,2
Current State: 20:[60, 3], Operations: ['97-81=16', '16-13=3']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | mult_heuristic |
[
43,
2,
56,
10
] | 46 | [
"56-43=13",
"10+13=23",
"2*23=46"
] | Current State: 46:[43, 2, 56, 10], Operations: []
Exploring Operation: 56-43=13, Resulting Numbers: [2, 10, 13]
Generated Node #2: [2, 10, 13] from Operation: 56-43=13
Current State: 46:[2, 10, 13], Operations: ['56-43=13']
Exploring Operation: 10+13=23, Resulting Numbers: [2, 23]
Generated Node #3: [2, 23] from Operation: 10+13=23
Current State: 46:[2, 23], Operations: ['56-43=13', '10+13=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[43, 2, 56, 10], Operations: []
Exploring Operation: 10/2=5, Resulting Numbers: [43, 56, 5]
Generated Node #0,0: 46:[43, 56, 5] Operation: 10/2=5
Exploring Operation: 56/2=28, Resulting Numbers: [43, 10, 28]
Generated Node #0,1: 46:[43, 10, 28] Operation: 56/2=28
Exploring Operation: 56-10=46, Resulting Numbers: [43, 2, 46]
Generated Node #0,2: 46:[43, 2, 46] Operation: 56-10=46
Exploring Operation: 2*10=20, Resulting Numbers: [43, 56, 20]
Generated Node #0,3: 46:[43, 56, 20] Operation: 2*10=20
Moving to Node #0,2
Current State: 46:[43, 2, 46], Operations: ['56-10=46']
Exploring Operation: 43-2=41, Resulting Numbers: [46, 41]
Generated Node #0,2,0: 46:[46, 41] Operation: 43-2=41
Exploring Operation: 43+2=45, Resulting Numbers: [46, 45]
Generated Node #0,2,1: 46:[46, 45] Operation: 43+2=45
Exploring Operation: 46/2=23, Resulting Numbers: [43, 23]
Generated Node #0,2,2: 46:[43, 23] Operation: 46/2=23
Exploring Operation: 46-43=3, Resulting Numbers: [2, 3]
Generated Node #0,2,3: 46:[2, 3] Operation: 46-43=3
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 46:[46, 45], Operations: ['56-10=46', '43+2=45']
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 46+45=91, Resulting Numbers: [91]
91,46 unequal: No Solution
Exploring Operation: 46*45=2070, Resulting Numbers: [2070]
2070,46 unequal: No Solution
No 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: 46:[2, 3], Operations: ['56-10=46', '46-43=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,46 unequal: No Solution
No 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: 46:[43, 23], Operations: ['56-10=46', '46/2=23']
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 43*23=989, Resulting Numbers: [989]
989,46 unequal: No Solution
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,46 unequal: No Solution
No 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: 46:[46, 41], Operations: ['56-10=46', '43-2=41']
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 46*41=1886, Resulting Numbers: [1886]
1886,46 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: 46:[43, 10, 28], Operations: ['56/2=28']
Exploring Operation: 43+10=53, Resulting Numbers: [28, 53]
Generated Node #0,1,0: 46:[28, 53] Operation: 43+10=53
Exploring Operation: 28-10=18, Resulting Numbers: [43, 18]
Generated Node #0,1,1: 46:[43, 18] Operation: 28-10=18
Exploring Operation: 10+28=38, Resulting Numbers: [43, 38]
Generated Node #0,1,2: 46:[43, 38] Operation: 10+28=38
Exploring Operation: 43-10=33, Resulting Numbers: [28, 33]
Generated Node #0,1,3: 46:[28, 33] Operation: 43-10=33
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[43, 18], Operations: ['56/2=28', '28-10=18']
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,46 unequal: No Solution
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,46 unequal: No Solution
No 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: 46:[43, 38], Operations: ['56/2=28', '10+28=38']
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 43+38=81, Resulting Numbers: [81]
81,46 unequal: No Solution
Exploring Operation: 43*38=1634, Resulting Numbers: [1634]
1634,46 unequal: No Solution
No 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: 46:[28, 53], Operations: ['56/2=28', '43+10=53']
Exploring Operation: 28*53=1484, Resulting Numbers: [1484]
1484,46 unequal: No Solution
Exploring Operation: 28+53=81, Resulting Numbers: [81]
81,46 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,46 unequal: No Solution
No 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: 46:[28, 33], Operations: ['56/2=28', '43-10=33']
Exploring Operation: 28*33=924, Resulting Numbers: [924]
924,46 unequal: No Solution
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,46 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: 46:[43, 56, 5], Operations: ['10/2=5']
Exploring Operation: 56-43=13, Resulting Numbers: [5, 13]
Generated Node #0,0,0: 46:[5, 13] Operation: 56-43=13
Exploring Operation: 43-5=38, Resulting Numbers: [56, 38]
Generated Node #0,0,1: 46:[56, 38] Operation: 43-5=38
Exploring Operation: 43+5=48, Resulting Numbers: [56, 48]
Generated Node #0,0,2: 46:[56, 48] Operation: 43+5=48
Exploring Operation: 56-5=51, Resulting Numbers: [43, 51]
Generated Node #0,0,3: 46:[43, 51] Operation: 56-5=51
Moving to Node #0,3
Current State: 46:[43, 56, 20], Operations: ['2*10=20']
Exploring Operation: 56-43=13, Resulting Numbers: [20, 13]
Generated Node #0,3,0: 46:[20, 13] Operation: 56-43=13
Exploring Operation: 43+20=63, Resulting Numbers: [56, 63]
Generated Node #0,3,1: 46:[56, 63] Operation: 43+20=63
Exploring Operation: 56-20=36, Resulting Numbers: [43, 36]
Generated Node #0,3,2: 46:[43, 36] Operation: 56-20=36
Exploring Operation: 43-20=23, Resulting Numbers: [56, 23]
Generated Node #0,3,3: 46:[56, 23] Operation: 43-20=23
Moving to Node #0,0,3
Current State: 46:[43, 51], Operations: ['10/2=5', '56-5=51']
Exploring Operation: 43*51=2193, Resulting Numbers: [2193]
2193,46 unequal: No Solution
Exploring Operation: 43+51=94, Resulting Numbers: [94]
94,46 unequal: No Solution
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Moving to Node #0,3,3
Current State: 46:[56, 23], Operations: ['2*10=20', '43-20=23']
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 56*23=1288, Resulting Numbers: [1288]
1288,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[56, 48], Operations: ['10/2=5', '43+5=48']
Exploring Operation: 56*48=2688, Resulting Numbers: [2688]
2688,46 unequal: No Solution
Exploring Operation: 56+48=104, Resulting Numbers: [104]
104,46 unequal: No Solution
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[5, 13], Operations: ['10/2=5', '56-43=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,46 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Moving to Node #0,3,0
Current State: 46:[20, 13], Operations: ['2*10=20', '56-43=13']
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,46 unequal: No Solution
Moving to Node #0,3,2
Current State: 46:[43, 36], Operations: ['2*10=20', '56-20=36']
Exploring Operation: 43+36=79, Resulting Numbers: [79]
79,46 unequal: No Solution
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 43*36=1548, Resulting Numbers: [1548]
1548,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[56, 38], Operations: ['10/2=5', '43-5=38']
Exploring Operation: 56+38=94, Resulting Numbers: [94]
94,46 unequal: No Solution
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 56*38=2128, Resulting Numbers: [2128]
2128,46 unequal: No Solution
Moving to Node #0,3,1
Current State: 46:[56, 63], Operations: ['2*10=20', '43+20=63']
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 56*63=3528, Resulting Numbers: [3528]
3528,46 unequal: No Solution
Exploring Operation: 56+63=119, Resulting Numbers: [119]
119,46 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
81,
72,
63,
27
] | 27 | [
"81-72=9",
"63-27=36",
"36-9=27"
] | Current State: 27:[81, 72, 63, 27], Operations: []
Exploring Operation: 81-72=9, Resulting Numbers: [63, 27, 9]
Generated Node #2: [63, 27, 9] from Operation: 81-72=9
Current State: 27:[63, 27, 9], Operations: ['81-72=9']
Exploring Operation: 63-27=36, Resulting Numbers: [9, 36]
Generated Node #3: [9, 36] from Operation: 63-27=36
Current State: 27:[9, 36], Operations: ['81-72=9', '63-27=36']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[81, 72, 63, 27], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [81, 27, 9]
Generated Node #0,0: 27:[81, 27, 9] Operation: 72-63=9
Exploring Operation: 81-72=9, Resulting Numbers: [63, 27, 9]
Generated Node #0,1: 27:[63, 27, 9] Operation: 81-72=9
Exploring Operation: 81/27=3, Resulting Numbers: [72, 63, 3]
Generated Node #0,2: 27:[72, 63, 3] Operation: 81/27=3
Exploring Operation: 81-63=18, Resulting Numbers: [72, 27, 18]
Generated Node #0,3: 27:[72, 27, 18] Operation: 81-63=18
Moving to Node #0,1
Current State: 27:[63, 27, 9], Operations: ['81-72=9']
Exploring Operation: 63-9=54, Resulting Numbers: [27, 54]
Generated Node #0,1,0: 27:[27, 54] Operation: 63-9=54
Exploring Operation: 63/9=7, Resulting Numbers: [27, 7]
Generated Node #0,1,1: 27:[27, 7] Operation: 63/9=7
Exploring Operation: 27/9=3, Resulting Numbers: [63, 3]
Generated Node #0,1,2: 27:[63, 3] Operation: 27/9=3
Exploring Operation: 63-27=36, Resulting Numbers: [9, 36]
Generated Node #0,1,3: 27:[9, 36] Operation: 63-27=36
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[27, 7], Operations: ['81-72=9', '63/9=7']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 27:[9, 36], Operations: ['81-72=9', '63-27=36']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[81, 72, 63, 27], Operations: []
Exploring Operation: 81-72=9, Resulting Numbers: [63, 27, 9]
Generated Node #0,1: 27:[63, 27, 9] Operation: 81-72=9
Moving to Node #0,1
Current State: 27:[63, 27, 9], Operations: ['81-72=9']
Exploring Operation: 63-27=36, Resulting Numbers: [9, 36]
Generated Node #0,1,3: 27:[9, 36] Operation: 63-27=36
Moving to Node #0,1,3
Current State: 27:[9, 36], Operations: ['81-72=9', '63-27=36']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
13,
66,
51,
27
] | 48 | [
"66-27=39",
"39/13=3",
"51-3=48"
] | Current State: 48:[13, 66, 51, 27], Operations: []
Exploring Operation: 66-27=39, Resulting Numbers: [13, 51, 39]
Generated Node #2: [13, 51, 39] from Operation: 66-27=39
Current State: 48:[13, 51, 39], Operations: ['66-27=39']
Exploring Operation: 39/13=3, Resulting Numbers: [51, 3]
Generated Node #3: [51, 3] from Operation: 39/13=3
Current State: 48:[51, 3], Operations: ['66-27=39', '39/13=3']
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[13, 66, 51, 27], Operations: []
Exploring Operation: 66-51=15, Resulting Numbers: [13, 27, 15]
Generated Node #0,0: 48:[13, 27, 15] Operation: 66-51=15
Exploring Operation: 66-27=39, Resulting Numbers: [13, 51, 39]
Generated Node #0,1: 48:[13, 51, 39] Operation: 66-27=39
Exploring Operation: 66-13=53, Resulting Numbers: [51, 27, 53]
Generated Node #0,2: 48:[51, 27, 53] Operation: 66-13=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[13, 27, 15], Operations: ['66-51=15']
Exploring Operation: 15-13=2, Resulting Numbers: [27, 2]
Generated Node #0,0,0: 48:[27, 2] Operation: 15-13=2
Exploring Operation: 27-15=12, Resulting Numbers: [13, 12]
Generated Node #0,0,1: 48:[13, 12] Operation: 27-15=12
Exploring Operation: 27-13=14, Resulting Numbers: [15, 14]
Generated Node #0,0,2: 48:[15, 14] Operation: 27-13=14
Moving to Node #0,0,1
Current State: 48:[13, 12], Operations: ['66-51=15', '27-15=12']
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,48 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[27, 2], Operations: ['66-51=15', '15-13=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[15, 14], Operations: ['66-51=15', '27-13=14']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 15+14=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 15*14=210, Resulting Numbers: [210]
210,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[51, 27, 53], Operations: ['66-13=53']
Exploring Operation: 53-27=26, Resulting Numbers: [51, 26]
Generated Node #0,2,0: 48:[51, 26] Operation: 53-27=26
Exploring Operation: 51-27=24, Resulting Numbers: [53, 24]
Generated Node #0,2,1: 48:[53, 24] Operation: 51-27=24
Exploring Operation: 53-51=2, Resulting Numbers: [27, 2]
Generated Node #0,2,2: 48:[27, 2] Operation: 53-51=2
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 48:[27, 2], Operations: ['66-13=53', '53-51=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 48:[51, 26], Operations: ['66-13=53', '53-27=26']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,48 unequal: No Solution
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 48:[53, 24], Operations: ['66-13=53', '51-27=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,48 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[13, 51, 39], Operations: ['66-27=39']
Exploring Operation: 39/13=3, Resulting Numbers: [51, 3]
Generated Node #0,1,0: 48:[51, 3] Operation: 39/13=3
Exploring Operation: 39-13=26, Resulting Numbers: [51, 26]
Generated Node #0,1,1: 48:[51, 26] Operation: 39-13=26
Exploring Operation: 51-39=12, Resulting Numbers: [13, 12]
Generated Node #0,1,2: 48:[13, 12] Operation: 51-39=12
Moving to Node #0,1,2
Current State: 48:[13, 12], Operations: ['66-27=39', '51-39=12']
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[51, 3], Operations: ['66-27=39', '39/13=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[13, 66, 51, 27], Operations: []
Exploring Operation: 66-27=39, Resulting Numbers: [13, 51, 39]
Generated Node #0,1: 48:[13, 51, 39] Operation: 66-27=39
Moving to Node #0,1
Current State: 48:[13, 51, 39], Operations: ['66-27=39']
Exploring Operation: 39/13=3, Resulting Numbers: [51, 3]
Generated Node #0,1,0: 48:[51, 3] Operation: 39/13=3
Moving to Node #0,1,0
Current State: 48:[51, 3], Operations: ['66-27=39', '39/13=3']
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_3 | sum_heuristic |
[
14,
7,
8,
72
] | 30 | [
"14+7=21",
"72/8=9",
"21+9=30"
] | Current State: 30:[14, 7, 8, 72], Operations: []
Exploring Operation: 14+7=21, Resulting Numbers: [8, 72, 21]
Generated Node #2: [8, 72, 21] from Operation: 14+7=21
Current State: 30:[8, 72, 21], Operations: ['14+7=21']
Exploring Operation: 72/8=9, Resulting Numbers: [21, 9]
Generated Node #3: [21, 9] from Operation: 72/8=9
Current State: 30:[21, 9], Operations: ['14+7=21', '72/8=9']
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[14, 7, 8, 72], Operations: []
Exploring Operation: 72-14=58, Resulting Numbers: [7, 8, 58]
Generated Node #0,0: 30:[7, 8, 58] Operation: 72-14=58
Exploring Operation: 72/8=9, Resulting Numbers: [14, 7, 9]
Generated Node #0,1: 30:[14, 7, 9] Operation: 72/8=9
Moving to Node #0,1
Current State: 30:[14, 7, 9], Operations: ['72/8=9']
Exploring Operation: 14/7=2, Resulting Numbers: [9, 2]
Generated Node #0,1,0: 30:[9, 2] Operation: 14/7=2
Exploring Operation: 14-9=5, Resulting Numbers: [7, 5]
Generated Node #0,1,1: 30:[7, 5] Operation: 14-9=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[9, 2], Operations: ['72/8=9', '14/7=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[7, 5], Operations: ['72/8=9', '14-9=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,30 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: 30:[7, 8, 58], Operations: ['72-14=58']
Exploring Operation: 58-8=50, Resulting Numbers: [7, 50]
Generated Node #0,0,0: 30:[7, 50] Operation: 58-8=50
Exploring Operation: 58-7=51, Resulting Numbers: [8, 51]
Generated Node #0,0,1: 30:[8, 51] Operation: 58-7=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[7, 50], Operations: ['72-14=58', '58-8=50']
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[8, 51], Operations: ['72-14=58', '58-7=51']
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,30 unequal: No Solution
Exploring Operation: 8+51=59, Resulting Numbers: [59]
59,30 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 |
[
2,
47,
15,
52
] | 58 | [
"52/2=26",
"47-15=32",
"26+32=58"
] | Current State: 58:[2, 47, 15, 52], Operations: []
Exploring Operation: 52/2=26, Resulting Numbers: [47, 15, 26]
Generated Node #2: [47, 15, 26] from Operation: 52/2=26
Current State: 58:[47, 15, 26], Operations: ['52/2=26']
Exploring Operation: 47-15=32, Resulting Numbers: [26, 32]
Generated Node #3: [26, 32] from Operation: 47-15=32
Current State: 58:[26, 32], Operations: ['52/2=26', '47-15=32']
Exploring Operation: 26+32=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[2, 47, 15, 52], Operations: []
Exploring Operation: 47-15=32, Resulting Numbers: [2, 52, 32]
Generated Node #0,0: 58:[2, 52, 32] Operation: 47-15=32
Moving to Node #0,0
Current State: 58:[2, 52, 32], Operations: ['47-15=32']
Exploring Operation: 52/2=26, Resulting Numbers: [32, 26]
Generated Node #0,0,0: 58:[32, 26] Operation: 52/2=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[32, 26], Operations: ['47-15=32', '52/2=26']
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[2, 47, 15, 52], Operations: []
Exploring Operation: 47-15=32, Resulting Numbers: [2, 52, 32]
Generated Node #0,0: 58:[2, 52, 32] Operation: 47-15=32
Moving to Node #0,0
Current State: 58:[2, 52, 32], Operations: ['47-15=32']
Exploring Operation: 52/2=26, Resulting Numbers: [32, 26]
Generated Node #0,0,0: 58:[32, 26] Operation: 52/2=26
Moving to Node #0,0,0
Current State: 58:[32, 26], Operations: ['47-15=32', '52/2=26']
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
1,
57,
18,
9
] | 55 | [
"1*57=57",
"18/9=2",
"57-2=55"
] | Current State: 55:[1, 57, 18, 9], Operations: []
Exploring Operation: 1*57=57, Resulting Numbers: [18, 9, 57]
Generated Node #2: [18, 9, 57] from Operation: 1*57=57
Current State: 55:[18, 9, 57], Operations: ['1*57=57']
Exploring Operation: 18/9=2, Resulting Numbers: [57, 2]
Generated Node #3: [57, 2] from Operation: 18/9=2
Current State: 55:[57, 2], Operations: ['1*57=57', '18/9=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[1, 57, 18, 9], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [1, 57, 2]
Generated Node #0,0: 55:[1, 57, 2] Operation: 18/9=2
Exploring Operation: 57-1=56, Resulting Numbers: [18, 9, 56]
Generated Node #0,1: 55:[18, 9, 56] Operation: 57-1=56
Exploring Operation: 18-1=17, Resulting Numbers: [57, 9, 17]
Generated Node #0,2: 55:[57, 9, 17] Operation: 18-1=17
Exploring Operation: 18-9=9, Resulting Numbers: [1, 57, 9]
Generated Node #0,3: 55:[1, 57, 9] Operation: 18-9=9
Moving to Node #0,3
Current State: 55:[1, 57, 9], Operations: ['18-9=9']
Exploring Operation: 57-1=56, Resulting Numbers: [9, 56]
Generated Node #0,3,0: 55:[9, 56] Operation: 57-1=56
Exploring Operation: 1+9=10, Resulting Numbers: [57, 10]
Generated Node #0,3,1: 55:[57, 10] Operation: 1+9=10
Exploring Operation: 1*57=57, Resulting Numbers: [9, 57]
Generated Node #0,3,2: 55:[9, 57] Operation: 1*57=57
Exploring Operation: 57/1=57, Resulting Numbers: [9, 57]
Generated Node #0,3,3: 55:[9, 57] Operation: 57/1=57
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 55:[9, 56], Operations: ['18-9=9', '57-1=56']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Exploring Operation: 9*56=504, Resulting Numbers: [504]
504,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,3,1
Current State: 55:[57, 10], Operations: ['18-9=9', '1+9=10']
Exploring Operation: 57*10=570, Resulting Numbers: [570]
570,55 unequal: No Solution
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Exploring Operation: 57+10=67, Resulting Numbers: [67]
67,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,3,2
Current State: 55:[9, 57], Operations: ['18-9=9', '1*57=57']
Exploring Operation: 9*57=513, Resulting Numbers: [513]
513,55 unequal: No Solution
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 9+57=66, Resulting Numbers: [66]
66,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,3,3
Current State: 55:[9, 57], Operations: ['18-9=9', '57/1=57']
Exploring Operation: 9*57=513, Resulting Numbers: [513]
513,55 unequal: No Solution
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 9+57=66, Resulting Numbers: [66]
66,55 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: 55:[1, 57, 2], Operations: ['18/9=2']
Exploring Operation: 57-1=56, Resulting Numbers: [2, 56]
Generated Node #0,0,0: 55:[2, 56] Operation: 57-1=56
Exploring Operation: 57-2=55, Resulting Numbers: [1, 55]
Generated Node #0,0,1: 55:[1, 55] Operation: 57-2=55
Exploring Operation: 1+2=3, Resulting Numbers: [57, 3]
Generated Node #0,0,2: 55:[57, 3] Operation: 1+2=3
Exploring Operation: 1*57=57, Resulting Numbers: [2, 57]
Generated Node #0,0,3: 55:[2, 57] Operation: 1*57=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[2, 56], Operations: ['18/9=2', '57-1=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,55 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[1, 55], Operations: ['18/9=2', '57-2=55']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[1, 57, 18, 9], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [1, 57, 2]
Generated Node #0,0: 55:[1, 57, 2] Operation: 18/9=2
Moving to Node #0,0
Current State: 55:[1, 57, 2], Operations: ['18/9=2']
Exploring Operation: 57-2=55, Resulting Numbers: [1, 55]
Generated Node #0,0,1: 55:[1, 55] Operation: 57-2=55
Moving to Node #0,0,1
Current State: 55:[1, 55], Operations: ['18/9=2', '57-2=55']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
85,
12,
29,
35
] | 39 | [
"85+35=120",
"120/12=10",
"29+10=39"
] | Current State: 39:[85, 12, 29, 35], Operations: []
Exploring Operation: 85+35=120, Resulting Numbers: [12, 29, 120]
Generated Node #2: [12, 29, 120] from Operation: 85+35=120
Current State: 39:[12, 29, 120], Operations: ['85+35=120']
Exploring Operation: 120/12=10, Resulting Numbers: [29, 10]
Generated Node #3: [29, 10] from Operation: 120/12=10
Current State: 39:[29, 10], Operations: ['85+35=120', '120/12=10']
Exploring Operation: 29+10=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[85, 12, 29, 35], Operations: []
Exploring Operation: 35-29=6, Resulting Numbers: [85, 12, 6]
Generated Node #0,0: 39:[85, 12, 6] Operation: 35-29=6
Exploring Operation: 85-35=50, Resulting Numbers: [12, 29, 50]
Generated Node #0,1: 39:[12, 29, 50] Operation: 85-35=50
Exploring Operation: 85-12=73, Resulting Numbers: [29, 35, 73]
Generated Node #0,2: 39:[29, 35, 73] Operation: 85-12=73
Exploring Operation: 12+29=41, Resulting Numbers: [85, 35, 41]
Generated Node #0,3: 39:[85, 35, 41] Operation: 12+29=41
Exploring Operation: 85-29=56, Resulting Numbers: [12, 35, 56]
Generated Node #0,4: 39:[12, 35, 56] Operation: 85-29=56
Moving to Node #0,1
Current State: 39:[12, 29, 50], Operations: ['85-35=50']
Exploring Operation: 50-12=38, Resulting Numbers: [29, 38]
Generated Node #0,1,0: 39:[29, 38] Operation: 50-12=38
Exploring Operation: 29-12=17, Resulting Numbers: [50, 17]
Generated Node #0,1,1: 39:[50, 17] Operation: 29-12=17
Exploring Operation: 50-29=21, Resulting Numbers: [12, 21]
Generated Node #0,1,2: 39:[12, 21] Operation: 50-29=21
Exploring Operation: 12+29=41, Resulting Numbers: [50, 41]
Generated Node #0,1,3: 39:[50, 41] Operation: 12+29=41
Exploring Operation: 12+50=62, Resulting Numbers: [29, 62]
Generated Node #0,1,4: 39:[29, 62] Operation: 12+50=62
Moving to Node #0,4
Current State: 39:[12, 35, 56], Operations: ['85-29=56']
Exploring Operation: 12+35=47, Resulting Numbers: [56, 47]
Generated Node #0,4,0: 39:[56, 47] Operation: 12+35=47
Exploring Operation: 56-35=21, Resulting Numbers: [12, 21]
Generated Node #0,4,1: 39:[12, 21] Operation: 56-35=21
Exploring Operation: 35-12=23, Resulting Numbers: [56, 23]
Generated Node #0,4,2: 39:[56, 23] Operation: 35-12=23
Exploring Operation: 56-12=44, Resulting Numbers: [35, 44]
Generated Node #0,4,3: 39:[35, 44] Operation: 56-12=44
Exploring Operation: 12+56=68, Resulting Numbers: [35, 68]
Generated Node #0,4,4: 39:[35, 68] Operation: 12+56=68
Moving to Node #0,2
Current State: 39:[29, 35, 73], Operations: ['85-12=73']
Exploring Operation: 73-35=38, Resulting Numbers: [29, 38]
Generated Node #0,2,0: 39:[29, 38] Operation: 73-35=38
Exploring Operation: 29+35=64, Resulting Numbers: [73, 64]
Generated Node #0,2,1: 39:[73, 64] Operation: 29+35=64
Exploring Operation: 29+73=102, Resulting Numbers: [35, 102]
Generated Node #0,2,2: 39:[35, 102] Operation: 29+73=102
Exploring Operation: 73-29=44, Resulting Numbers: [35, 44]
Generated Node #0,2,3: 39:[35, 44] Operation: 73-29=44
Exploring Operation: 35-29=6, Resulting Numbers: [73, 6]
Generated Node #0,2,4: 39:[73, 6] Operation: 35-29=6
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 39:[35, 44], Operations: ['85-12=73', '73-29=44']
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 35*44=1540, Resulting Numbers: [1540]
1540,39 unequal: No Solution
Exploring Operation: 35+44=79, Resulting Numbers: [79]
79,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 39:[29, 38], Operations: ['85-12=73', '73-35=38']
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 29*38=1102, Resulting Numbers: [1102]
1102,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 39:[73, 6], Operations: ['85-12=73', '35-29=6']
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 73*6=438, Resulting Numbers: [438]
438,39 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 39:[73, 64], Operations: ['85-12=73', '29+35=64']
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 73+64=137, Resulting Numbers: [137]
137,39 unequal: No Solution
Exploring Operation: 73*64=4672, Resulting Numbers: [4672]
4672,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 39:[35, 102], Operations: ['85-12=73', '29+73=102']
Exploring Operation: 35+102=137, Resulting Numbers: [137]
137,39 unequal: No Solution
Exploring Operation: 102-35=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Exploring Operation: 35*102=3570, Resulting Numbers: [3570]
3570,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 39:[85, 12, 6], Operations: ['35-29=6']
Exploring Operation: 85-6=79, Resulting Numbers: [12, 79]
Generated Node #0,0,0: 39:[12, 79] Operation: 85-6=79
Exploring Operation: 12-6=6, Resulting Numbers: [85, 6]
Generated Node #0,0,1: 39:[85, 6] Operation: 12-6=6
Exploring Operation: 12+6=18, Resulting Numbers: [85, 18]
Generated Node #0,0,2: 39:[85, 18] Operation: 12+6=18
Exploring Operation: 85-12=73, Resulting Numbers: [6, 73]
Generated Node #0,0,3: 39:[6, 73] Operation: 85-12=73
Exploring Operation: 12/6=2, Resulting Numbers: [85, 2]
Generated Node #0,0,4: 39:[85, 2] Operation: 12/6=2
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 39:[6, 73], Operations: ['35-29=6', '85-12=73']
Exploring Operation: 6*73=438, Resulting Numbers: [438]
438,39 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Exploring Operation: 6+73=79, Resulting Numbers: [79]
79,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:[12, 79], Operations: ['35-29=6', '85-6=79']
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Exploring Operation: 12*79=948, Resulting Numbers: [948]
948,39 unequal: No Solution
Exploring Operation: 12+79=91, Resulting Numbers: [91]
91,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,4
Current State: 39:[85, 2], Operations: ['35-29=6', '12/6=2']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Exploring Operation: 85*2=170, Resulting Numbers: [170]
170,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[85, 6], Operations: ['35-29=6', '12-6=6']
Exploring Operation: 85+6=91, Resulting Numbers: [91]
91,39 unequal: No Solution
Exploring Operation: 85*6=510, Resulting Numbers: [510]
510,39 unequal: No Solution
Exploring Operation: 85-6=79, Resulting Numbers: [79]
79,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:[85, 18], Operations: ['35-29=6', '12+6=18']
Exploring Operation: 85-18=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Exploring Operation: 85*18=1530, Resulting Numbers: [1530]
1530,39 unequal: No Solution
Exploring Operation: 85+18=103, Resulting Numbers: [103]
103,39 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: 39:[85, 35, 41], Operations: ['12+29=41']
Exploring Operation: 35+41=76, Resulting Numbers: [85, 76]
Generated Node #0,3,0: 39:[85, 76] Operation: 35+41=76
Exploring Operation: 85-35=50, Resulting Numbers: [41, 50]
Generated Node #0,3,1: 39:[41, 50] Operation: 85-35=50
Exploring Operation: 85+35=120, Resulting Numbers: [41, 120]
Generated Node #0,3,2: 39:[41, 120] Operation: 85+35=120
Exploring Operation: 85-41=44, Resulting Numbers: [35, 44]
Generated Node #0,3,3: 39:[35, 44] Operation: 85-41=44
Exploring Operation: 41-35=6, Resulting Numbers: [85, 6]
Generated Node #0,3,4: 39:[85, 6] Operation: 41-35=6
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 39:[35, 44], Operations: ['12+29=41', '85-41=44']
Exploring Operation: 35+44=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 35*44=1540, Resulting Numbers: [1540]
1540,39 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,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,3,1
Current State: 39:[41, 50], Operations: ['12+29=41', '85-35=50']
Exploring Operation: 50-41=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 41*50=2050, Resulting Numbers: [2050]
2050,39 unequal: No Solution
Exploring Operation: 41+50=91, Resulting Numbers: [91]
91,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,3,4
Current State: 39:[85, 6], Operations: ['12+29=41', '41-35=6']
Exploring Operation: 85-6=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 85+6=91, Resulting Numbers: [91]
91,39 unequal: No Solution
Exploring Operation: 85*6=510, Resulting Numbers: [510]
510,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,3,0
Current State: 39:[85, 76], Operations: ['12+29=41', '35+41=76']
Exploring Operation: 85-76=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 85+76=161, Resulting Numbers: [161]
161,39 unequal: No Solution
Exploring Operation: 85*76=6460, Resulting Numbers: [6460]
6460,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,3,2
Current State: 39:[41, 120], Operations: ['12+29=41', '85+35=120']
Exploring Operation: 41+120=161, Resulting Numbers: [161]
161,39 unequal: No Solution
Exploring Operation: 120-41=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 41*120=4920, Resulting Numbers: [4920]
4920,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 39:[12, 21], Operations: ['85-35=50', '50-29=21']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,39 unequal: No Solution
Moving to Node #0,4,1
Current State: 39:[12, 21], Operations: ['85-29=56', '56-35=21']
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,39 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Moving to Node #0,4,3
Current State: 39:[35, 44], Operations: ['85-29=56', '56-12=44']
Exploring Operation: 35+44=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 35*44=1540, Resulting Numbers: [1540]
1540,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[29, 38], Operations: ['85-35=50', '50-12=38']
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Exploring Operation: 29*38=1102, Resulting Numbers: [1102]
1102,39 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Moving to Node #0,1,3
Current State: 39:[50, 41], Operations: ['85-35=50', '12+29=41']
Exploring Operation: 50-41=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Exploring Operation: 50+41=91, Resulting Numbers: [91]
91,39 unequal: No Solution
Exploring Operation: 50*41=2050, Resulting Numbers: [2050]
2050,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[50, 17], Operations: ['85-35=50', '29-12=17']
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 50*17=850, Resulting Numbers: [850]
850,39 unequal: No Solution
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,39 unequal: No Solution
Moving to Node #0,4,0
Current State: 39:[56, 47], Operations: ['85-29=56', '12+35=47']
Exploring Operation: 56*47=2632, Resulting Numbers: [2632]
2632,39 unequal: No Solution
Exploring Operation: 56+47=103, Resulting Numbers: [103]
103,39 unequal: No Solution
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,39 unequal: No Solution
Moving to Node #0,4,2
Current State: 39:[56, 23], Operations: ['85-29=56', '35-12=23']
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 56*23=1288, Resulting Numbers: [1288]
1288,39 unequal: No Solution
Exploring Operation: 56+23=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Moving to Node #0,4,4
Current State: 39:[35, 68], Operations: ['85-29=56', '12+56=68']
Exploring Operation: 35+68=103, Resulting Numbers: [103]
103,39 unequal: No Solution
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 35*68=2380, Resulting Numbers: [2380]
2380,39 unequal: No Solution
Moving to Node #0,1,4
Current State: 39:[29, 62], Operations: ['85-35=50', '12+50=62']
Exploring Operation: 29*62=1798, Resulting Numbers: [1798]
1798,39 unequal: No Solution
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 29+62=91, Resulting Numbers: [91]
91,39 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
45,
98,
12,
2
] | 20 | [
"45*2=90",
"98+12=110",
"110-90=20"
] | Current State: 20:[45, 98, 12, 2], Operations: []
Exploring Operation: 45*2=90, Resulting Numbers: [98, 12, 90]
Generated Node #2: [98, 12, 90] from Operation: 45*2=90
Current State: 20:[98, 12, 90], Operations: ['45*2=90']
Exploring Operation: 98+12=110, Resulting Numbers: [90, 110]
Generated Node #3: [90, 110] from Operation: 98+12=110
Current State: 20:[90, 110], Operations: ['45*2=90', '98+12=110']
Exploring Operation: 110-90=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[45, 98, 12, 2], Operations: []
Exploring Operation: 98/2=49, Resulting Numbers: [45, 12, 49]
Generated Node #0,0: 20:[45, 12, 49] Operation: 98/2=49
Exploring Operation: 98-12=86, Resulting Numbers: [45, 2, 86]
Generated Node #0,1: 20:[45, 2, 86] Operation: 98-12=86
Exploring Operation: 45-12=33, Resulting Numbers: [98, 2, 33]
Generated Node #0,2: 20:[98, 2, 33] Operation: 45-12=33
Exploring Operation: 98-45=53, Resulting Numbers: [12, 2, 53]
Generated Node #0,3: 20:[12, 2, 53] Operation: 98-45=53
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[12, 2, 53], Operations: ['98-45=53']
Exploring Operation: 53-12=41, Resulting Numbers: [2, 41]
Generated Node #0,3,0: 20:[2, 41] Operation: 53-12=41
Exploring Operation: 53-2=51, Resulting Numbers: [12, 51]
Generated Node #0,3,1: 20:[12, 51] Operation: 53-2=51
Exploring Operation: 12/2=6, Resulting Numbers: [53, 6]
Generated Node #0,3,2: 20:[53, 6] Operation: 12/2=6
Exploring Operation: 12-2=10, Resulting Numbers: [53, 10]
Generated Node #0,3,3: 20:[53, 10] Operation: 12-2=10
Moving to Node #0,3,0
Current State: 20:[2, 41], Operations: ['98-45=53', '53-12=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,20 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[53, 10], Operations: ['98-45=53', '12-2=10']
Exploring Operation: 53*10=530, Resulting Numbers: [530]
530,20 unequal: No Solution
Exploring Operation: 53+10=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Moving to Node #0,3,1
Current State: 20:[12, 51], Operations: ['98-45=53', '53-2=51']
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 12*51=612, Resulting Numbers: [612]
612,20 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[53, 6], Operations: ['98-45=53', '12/2=6']
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,20 unequal: No Solution
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,20 unequal: No Solution
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[45, 12, 49], Operations: ['98/2=49']
Exploring Operation: 45+12=57, Resulting Numbers: [49, 57]
Generated Node #0,0,0: 20:[49, 57] Operation: 45+12=57
Exploring Operation: 49-12=37, Resulting Numbers: [45, 37]
Generated Node #0,0,1: 20:[45, 37] Operation: 49-12=37
Exploring Operation: 49-45=4, Resulting Numbers: [12, 4]
Generated Node #0,0,2: 20:[12, 4] Operation: 49-45=4
Exploring Operation: 45-12=33, Resulting Numbers: [49, 33]
Generated Node #0,0,3: 20:[49, 33] Operation: 45-12=33
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 20:[12, 4], Operations: ['98/2=49', '49-45=4']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,20 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,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,0,1
Current State: 20:[45, 37], Operations: ['98/2=49', '49-12=37']
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,20 unequal: No Solution
Exploring Operation: 45*37=1665, Resulting Numbers: [1665]
1665,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,0,3
Current State: 20:[49, 33], Operations: ['98/2=49', '45-12=33']
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,20 unequal: No Solution
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,20 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,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,0,0
Current State: 20:[49, 57], Operations: ['98/2=49', '45+12=57']
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 49+57=106, Resulting Numbers: [106]
106,20 unequal: No Solution
Exploring Operation: 49*57=2793, Resulting Numbers: [2793]
2793,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[45, 2, 86], Operations: ['98-12=86']
Exploring Operation: 86-2=84, Resulting Numbers: [45, 84]
Generated Node #0,1,0: 20:[45, 84] Operation: 86-2=84
Exploring Operation: 86-45=41, Resulting Numbers: [2, 41]
Generated Node #0,1,1: 20:[2, 41] Operation: 86-45=41
Exploring Operation: 45-2=43, Resulting Numbers: [86, 43]
Generated Node #0,1,2: 20:[86, 43] Operation: 45-2=43
Exploring Operation: 86/2=43, Resulting Numbers: [45, 43]
Generated Node #0,1,3: 20:[45, 43] Operation: 86/2=43
Moving to Node #0,1,1
Current State: 20:[2, 41], Operations: ['98-12=86', '86-45=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,20 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Moving to Node #0,1,3
Current State: 20:[45, 43], Operations: ['98-12=86', '86/2=43']
Exploring Operation: 45*43=1935, Resulting Numbers: [1935]
1935,20 unequal: No Solution
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 45+43=88, Resulting Numbers: [88]
88,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[86, 43], Operations: ['98-12=86', '45-2=43']
Exploring Operation: 86*43=3698, Resulting Numbers: [3698]
3698,20 unequal: No Solution
Exploring Operation: 86+43=129, Resulting Numbers: [129]
129,20 unequal: No Solution
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 86/43=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[45, 84], Operations: ['98-12=86', '86-2=84']
Exploring Operation: 45+84=129, Resulting Numbers: [129]
129,20 unequal: No Solution
Exploring Operation: 45*84=3780, Resulting Numbers: [3780]
3780,20 unequal: No Solution
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[98, 2, 33], Operations: ['45-12=33']
Exploring Operation: 98-2=96, Resulting Numbers: [33, 96]
Generated Node #0,2,0: 20:[33, 96] Operation: 98-2=96
Exploring Operation: 98/2=49, Resulting Numbers: [33, 49]
Generated Node #0,2,1: 20:[33, 49] Operation: 98/2=49
Exploring Operation: 33-2=31, Resulting Numbers: [98, 31]
Generated Node #0,2,2: 20:[98, 31] Operation: 33-2=31
Exploring Operation: 98-33=65, Resulting Numbers: [2, 65]
Generated Node #0,2,3: 20:[2, 65] Operation: 98-33=65
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 20:[33, 49], Operations: ['45-12=33', '98/2=49']
Exploring Operation: 33*49=1617, Resulting Numbers: [1617]
1617,20 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 33+49=82, Resulting Numbers: [82]
82,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,2,3
Current State: 20:[2, 65], Operations: ['45-12=33', '98-33=65']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,20 unequal: No Solution
Exploring Operation: 2*65=130, Resulting Numbers: [130]
130,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,2,0
Current State: 20:[33, 96], Operations: ['45-12=33', '98-2=96']
Exploring Operation: 33*96=3168, Resulting Numbers: [3168]
3168,20 unequal: No Solution
Exploring Operation: 33+96=129, Resulting Numbers: [129]
129,20 unequal: No Solution
Exploring Operation: 96-33=63, Resulting Numbers: [63]
63,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,2,2
Current State: 20:[98, 31], Operations: ['45-12=33', '33-2=31']
Exploring Operation: 98*31=3038, Resulting Numbers: [3038]
3038,20 unequal: No Solution
Exploring Operation: 98+31=129, Resulting Numbers: [129]
129,20 unequal: No Solution
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
62,
28,
12,
33
] | 11 | [
"62-28=34",
"12+33=45",
"45-34=11"
] | Current State: 11:[62, 28, 12, 33], Operations: []
Exploring Operation: 62-28=34, Resulting Numbers: [12, 33, 34]
Generated Node #2: [12, 33, 34] from Operation: 62-28=34
Current State: 11:[12, 33, 34], Operations: ['62-28=34']
Exploring Operation: 12+33=45, Resulting Numbers: [34, 45]
Generated Node #3: [34, 45] from Operation: 12+33=45
Current State: 11:[34, 45], Operations: ['62-28=34', '12+33=45']
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[62, 28, 12, 33], Operations: []
Exploring Operation: 62-28=34, Resulting Numbers: [12, 33, 34]
Generated Node #0,0: 11:[12, 33, 34] Operation: 62-28=34
Exploring Operation: 62-33=29, Resulting Numbers: [28, 12, 29]
Generated Node #0,1: 11:[28, 12, 29] Operation: 62-33=29
Exploring Operation: 33-28=5, Resulting Numbers: [62, 12, 5]
Generated Node #0,2: 11:[62, 12, 5] Operation: 33-28=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[28, 12, 29], Operations: ['62-33=29']
Exploring Operation: 29-12=17, Resulting Numbers: [28, 17]
Generated Node #0,1,0: 11:[28, 17] Operation: 29-12=17
Exploring Operation: 28-12=16, Resulting Numbers: [29, 16]
Generated Node #0,1,1: 11:[29, 16] Operation: 28-12=16
Exploring Operation: 29-28=1, Resulting Numbers: [12, 1]
Generated Node #0,1,2: 11:[12, 1] Operation: 29-28=1
Moving to Node #0,1,2
Current State: 11:[12, 1], Operations: ['62-33=29', '29-28=1']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[62, 28, 12, 33], Operations: []
Exploring Operation: 62-33=29, Resulting Numbers: [28, 12, 29]
Generated Node #0,1: 11:[28, 12, 29] Operation: 62-33=29
Moving to Node #0,1
Current State: 11:[28, 12, 29], Operations: ['62-33=29']
Exploring Operation: 29-28=1, Resulting Numbers: [12, 1]
Generated Node #0,1,2: 11:[12, 1] Operation: 29-28=1
Moving to Node #0,1,2
Current State: 11:[12, 1], Operations: ['62-33=29', '29-28=1']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
89,
95,
93,
14
] | 85 | [
"95-89=6",
"93-14=79",
"6+79=85"
] | Current State: 85:[89, 95, 93, 14], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [93, 14, 6]
Generated Node #2: [93, 14, 6] from Operation: 95-89=6
Current State: 85:[93, 14, 6], Operations: ['95-89=6']
Exploring Operation: 93-14=79, Resulting Numbers: [6, 79]
Generated Node #3: [6, 79] from Operation: 93-14=79
Current State: 85:[6, 79], Operations: ['95-89=6', '93-14=79']
Exploring Operation: 6+79=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[89, 95, 93, 14], Operations: []
Exploring Operation: 95-93=2, Resulting Numbers: [89, 14, 2]
Generated Node #0,0: 85:[89, 14, 2] Operation: 95-93=2
Exploring Operation: 95-89=6, Resulting Numbers: [93, 14, 6]
Generated Node #0,1: 85:[93, 14, 6] Operation: 95-89=6
Moving to Node #0,0
Current State: 85:[89, 14, 2], Operations: ['95-93=2']
Exploring Operation: 89-2=87, Resulting Numbers: [14, 87]
Generated Node #0,0,0: 85:[14, 87] Operation: 89-2=87
Exploring Operation: 14+2=16, Resulting Numbers: [89, 16]
Generated Node #0,0,1: 85:[89, 16] Operation: 14+2=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[14, 87], Operations: ['95-93=2', '89-2=87']
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,85 unequal: No Solution
Exploring Operation: 14+87=101, Resulting Numbers: [101]
101,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:[89, 16], Operations: ['95-93=2', '14+2=16']
Exploring Operation: 89+16=105, Resulting Numbers: [105]
105,85 unequal: No Solution
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,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:[93, 14, 6], Operations: ['95-89=6']
Exploring Operation: 93-6=87, Resulting Numbers: [14, 87]
Generated Node #0,1,0: 85:[14, 87] Operation: 93-6=87
Exploring Operation: 93-14=79, Resulting Numbers: [6, 79]
Generated Node #0,1,1: 85:[6, 79] Operation: 93-14=79
Moving to Node #0,1,0
Current State: 85:[14, 87], Operations: ['95-89=6', '93-6=87']
Exploring Operation: 14+87=101, Resulting Numbers: [101]
101,85 unequal: No Solution
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[6, 79], Operations: ['95-89=6', '93-14=79']
Exploring Operation: 6+79=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[89, 95, 93, 14], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [93, 14, 6]
Generated Node #0,1: 85:[93, 14, 6] Operation: 95-89=6
Moving to Node #0,1
Current State: 85:[93, 14, 6], Operations: ['95-89=6']
Exploring Operation: 93-14=79, Resulting Numbers: [6, 79]
Generated Node #0,1,1: 85:[6, 79] Operation: 93-14=79
Moving to Node #0,1,1
Current State: 85:[6, 79], Operations: ['95-89=6', '93-14=79']
Exploring Operation: 6+79=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.985243 | hs_2 | mult_heuristic |
[
64,
51,
29,
8
] | 24 | [
"64-51=13",
"29+8=37",
"37-13=24"
] | Current State: 24:[64, 51, 29, 8], Operations: []
Exploring Operation: 64-51=13, Resulting Numbers: [29, 8, 13]
Generated Node #2: [29, 8, 13] from Operation: 64-51=13
Current State: 24:[29, 8, 13], Operations: ['64-51=13']
Exploring Operation: 29+8=37, Resulting Numbers: [13, 37]
Generated Node #3: [13, 37] from Operation: 29+8=37
Current State: 24:[13, 37], Operations: ['64-51=13', '29+8=37']
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[64, 51, 29, 8], Operations: []
Exploring Operation: 64-51=13, Resulting Numbers: [29, 8, 13]
Generated Node #0,0: 24:[29, 8, 13] Operation: 64-51=13
Exploring Operation: 64-8=56, Resulting Numbers: [51, 29, 56]
Generated Node #0,1: 24:[51, 29, 56] Operation: 64-8=56
Exploring Operation: 64/8=8, Resulting Numbers: [51, 29, 8]
Generated Node #0,2: 24:[51, 29, 8] Operation: 64/8=8
Exploring Operation: 64-29=35, Resulting Numbers: [51, 8, 35]
Generated Node #0,3: 24:[51, 8, 35] Operation: 64-29=35
Exploring Operation: 51-29=22, Resulting Numbers: [64, 8, 22]
Generated Node #0,4: 24:[64, 8, 22] Operation: 51-29=22
Moving to Node #0,0
Current State: 24:[29, 8, 13], Operations: ['64-51=13']
Exploring Operation: 29-8=21, Resulting Numbers: [13, 21]
Generated Node #0,0,0: 24:[13, 21] Operation: 29-8=21
Exploring Operation: 29-13=16, Resulting Numbers: [8, 16]
Generated Node #0,0,1: 24:[8, 16] Operation: 29-13=16
Exploring Operation: 13-8=5, Resulting Numbers: [29, 5]
Generated Node #0,0,2: 24:[29, 5] Operation: 13-8=5
Exploring Operation: 29+8=37, Resulting Numbers: [13, 37]
Generated Node #0,0,3: 24:[13, 37] Operation: 29+8=37
Exploring Operation: 8+13=21, Resulting Numbers: [29, 21]
Generated Node #0,0,4: 24:[29, 21] Operation: 8+13=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[13, 21], Operations: ['64-51=13', '29-8=21']
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,24 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[8, 16], Operations: ['64-51=13', '29-13=16']
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,24 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[64, 51, 29, 8], Operations: []
Exploring Operation: 64-51=13, Resulting Numbers: [29, 8, 13]
Generated Node #0,0: 24:[29, 8, 13] Operation: 64-51=13
Moving to Node #0,0
Current State: 24:[29, 8, 13], Operations: ['64-51=13']
Exploring Operation: 29-13=16, Resulting Numbers: [8, 16]
Generated Node #0,0,1: 24:[8, 16] Operation: 29-13=16
Moving to Node #0,0,1
Current State: 24:[8, 16], Operations: ['64-51=13', '29-13=16']
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
11,
29,
67,
30
] | 19 | [
"29-11=18",
"67-30=37",
"37-18=19"
] | Current State: 19:[11, 29, 67, 30], Operations: []
Exploring Operation: 29-11=18, Resulting Numbers: [67, 30, 18]
Generated Node #2: [67, 30, 18] from Operation: 29-11=18
Current State: 19:[67, 30, 18], Operations: ['29-11=18']
Exploring Operation: 67-30=37, Resulting Numbers: [18, 37]
Generated Node #3: [18, 37] from Operation: 67-30=37
Current State: 19:[18, 37], Operations: ['29-11=18', '67-30=37']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[11, 29, 67, 30], Operations: []
Exploring Operation: 67-11=56, Resulting Numbers: [29, 30, 56]
Generated Node #0,0: 19:[29, 30, 56] Operation: 67-11=56
Exploring Operation: 67-30=37, Resulting Numbers: [11, 29, 37]
Generated Node #0,1: 19:[11, 29, 37] Operation: 67-30=37
Exploring Operation: 67-29=38, Resulting Numbers: [11, 30, 38]
Generated Node #0,2: 19:[11, 30, 38] Operation: 67-29=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[11, 29, 37], Operations: ['67-30=37']
Exploring Operation: 29-11=18, Resulting Numbers: [37, 18]
Generated Node #0,1,0: 19:[37, 18] Operation: 29-11=18
Exploring Operation: 37-29=8, Resulting Numbers: [11, 8]
Generated Node #0,1,1: 19:[11, 8] Operation: 37-29=8
Exploring Operation: 37-11=26, Resulting Numbers: [29, 26]
Generated Node #0,1,2: 19:[29, 26] Operation: 37-11=26
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 19:[29, 26], Operations: ['67-30=37', '37-11=26']
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,19 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[37, 18], Operations: ['67-30=37', '29-11=18']
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,19 unequal: No Solution
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,19 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[11, 29, 67, 30], Operations: []
Exploring Operation: 67-30=37, Resulting Numbers: [11, 29, 37]
Generated Node #0,1: 19:[11, 29, 37] Operation: 67-30=37
Moving to Node #0,1
Current State: 19:[11, 29, 37], Operations: ['67-30=37']
Exploring Operation: 29-11=18, Resulting Numbers: [37, 18]
Generated Node #0,1,0: 19:[37, 18] Operation: 29-11=18
Moving to Node #0,1,0
Current State: 19:[37, 18], Operations: ['67-30=37', '29-11=18']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
22,
70,
87,
61
] | 100 | [
"70-22=48",
"87+61=148",
"148-48=100"
] | Current State: 100:[22, 70, 87, 61], Operations: []
Exploring Operation: 70-22=48, Resulting Numbers: [87, 61, 48]
Generated Node #2: [87, 61, 48] from Operation: 70-22=48
Current State: 100:[87, 61, 48], Operations: ['70-22=48']
Exploring Operation: 87+61=148, Resulting Numbers: [48, 148]
Generated Node #3: [48, 148] from Operation: 87+61=148
Current State: 100:[48, 148], Operations: ['70-22=48', '87+61=148']
Exploring Operation: 148-48=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[22, 70, 87, 61], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [22, 87, 9]
Generated Node #0,0: 100:[22, 87, 9] Operation: 70-61=9
Exploring Operation: 87-61=26, Resulting Numbers: [22, 70, 26]
Generated Node #0,1: 100:[22, 70, 26] Operation: 87-61=26
Exploring Operation: 87-70=17, Resulting Numbers: [22, 61, 17]
Generated Node #0,2: 100:[22, 61, 17] Operation: 87-70=17
Moving to Node #0,0
Current State: 100:[22, 87, 9], Operations: ['70-61=9']
Exploring Operation: 22+87=109, Resulting Numbers: [9, 109]
Generated Node #0,0,0: 100:[9, 109] Operation: 22+87=109
Exploring Operation: 87-22=65, Resulting Numbers: [9, 65]
Generated Node #0,0,1: 100:[9, 65] Operation: 87-22=65
Exploring Operation: 87+9=96, Resulting Numbers: [22, 96]
Generated Node #0,0,2: 100:[22, 96] Operation: 87+9=96
Moving to Node #0,2
Current State: 100:[22, 61, 17], Operations: ['87-70=17']
Exploring Operation: 61-17=44, Resulting Numbers: [22, 44]
Generated Node #0,2,0: 100:[22, 44] Operation: 61-17=44
Exploring Operation: 22-17=5, Resulting Numbers: [61, 5]
Generated Node #0,2,1: 100:[61, 5] Operation: 22-17=5
Exploring Operation: 61-22=39, Resulting Numbers: [17, 39]
Generated Node #0,2,2: 100:[17, 39] Operation: 61-22=39
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 100:[22, 44], Operations: ['87-70=17', '61-17=44']
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,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,2,1
Current State: 100:[61, 5], Operations: ['87-70=17', '22-17=5']
Exploring Operation: 61*5=305, Resulting Numbers: [305]
305,100 unequal: No Solution
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,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,2,2
Current State: 100:[17, 39], Operations: ['87-70=17', '61-22=39']
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 17*39=663, Resulting Numbers: [663]
663,100 unequal: No Solution
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,100 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: 100:[22, 70, 26], Operations: ['87-61=26']
Exploring Operation: 70-26=44, Resulting Numbers: [22, 44]
Generated Node #0,1,0: 100:[22, 44] Operation: 70-26=44
Exploring Operation: 70-22=48, Resulting Numbers: [26, 48]
Generated Node #0,1,1: 100:[26, 48] Operation: 70-22=48
Exploring Operation: 70+26=96, Resulting Numbers: [22, 96]
Generated Node #0,1,2: 100:[22, 96] Operation: 70+26=96
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[26, 48], Operations: ['87-61=26', '70-22=48']
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 26*48=1248, Resulting Numbers: [1248]
1248,100 unequal: No Solution
Exploring Operation: 26+48=74, Resulting Numbers: [74]
74,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,1,2
Current State: 100:[22, 96], Operations: ['87-61=26', '70+26=96']
Exploring Operation: 96-22=74, Resulting Numbers: [74]
74,100 unequal: No Solution
Exploring Operation: 22*96=2112, Resulting Numbers: [2112]
2112,100 unequal: No Solution
Exploring Operation: 22+96=118, Resulting Numbers: [118]
118,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,1,0
Current State: 100:[22, 44], Operations: ['87-61=26', '70-26=44']
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 100:[22, 96], Operations: ['70-61=9', '87+9=96']
Exploring Operation: 22+96=118, Resulting Numbers: [118]
118,100 unequal: No Solution
Exploring Operation: 22*96=2112, Resulting Numbers: [2112]
2112,100 unequal: No Solution
Exploring Operation: 96-22=74, Resulting Numbers: [74]
74,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[9, 109], Operations: ['70-61=9', '22+87=109']
Exploring Operation: 109-9=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[22, 70, 87, 61], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [22, 87, 9]
Generated Node #0,0: 100:[22, 87, 9] Operation: 70-61=9
Moving to Node #0,0
Current State: 100:[22, 87, 9], Operations: ['70-61=9']
Exploring Operation: 22+87=109, Resulting Numbers: [9, 109]
Generated Node #0,0,0: 100:[9, 109] Operation: 22+87=109
Moving to Node #0,0,0
Current State: 100:[9, 109], Operations: ['70-61=9', '22+87=109']
Exploring Operation: 109-9=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.967014 | hs_3 | mult_heuristic |
[
57,
74,
99,
2
] | 65 | [
"74-57=17",
"2*17=34",
"99-34=65"
] | Current State: 65:[57, 74, 99, 2], Operations: []
Exploring Operation: 74-57=17, Resulting Numbers: [99, 2, 17]
Generated Node #2: [99, 2, 17] from Operation: 74-57=17
Current State: 65:[99, 2, 17], Operations: ['74-57=17']
Exploring Operation: 2*17=34, Resulting Numbers: [99, 34]
Generated Node #3: [99, 34] from Operation: 2*17=34
Current State: 65:[99, 34], Operations: ['74-57=17', '2*17=34']
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[57, 74, 99, 2], Operations: []
Exploring Operation: 74-2=72, Resulting Numbers: [57, 99, 72]
Generated Node #0,0: 65:[57, 99, 72] Operation: 74-2=72
Exploring Operation: 57+2=59, Resulting Numbers: [74, 99, 59]
Generated Node #0,1: 65:[74, 99, 59] Operation: 57+2=59
Exploring Operation: 74-57=17, Resulting Numbers: [99, 2, 17]
Generated Node #0,2: 65:[99, 2, 17] Operation: 74-57=17
Exploring Operation: 99-57=42, Resulting Numbers: [74, 2, 42]
Generated Node #0,3: 65:[74, 2, 42] Operation: 99-57=42
Exploring Operation: 99-74=25, Resulting Numbers: [57, 2, 25]
Generated Node #0,4: 65:[57, 2, 25] Operation: 99-74=25
Moving to Node #0,4
Current State: 65:[57, 2, 25], Operations: ['99-74=25']
Exploring Operation: 57+25=82, Resulting Numbers: [2, 82]
Generated Node #0,4,0: 65:[2, 82] Operation: 57+25=82
Exploring Operation: 57-25=32, Resulting Numbers: [2, 32]
Generated Node #0,4,1: 65:[2, 32] Operation: 57-25=32
Exploring Operation: 57+2=59, Resulting Numbers: [25, 59]
Generated Node #0,4,2: 65:[25, 59] Operation: 57+2=59
Exploring Operation: 25-2=23, Resulting Numbers: [57, 23]
Generated Node #0,4,3: 65:[57, 23] Operation: 25-2=23
Exploring Operation: 57-2=55, Resulting Numbers: [25, 55]
Generated Node #0,4,4: 65:[25, 55] Operation: 57-2=55
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 65:[25, 59], Operations: ['99-74=25', '57+2=59']
Exploring Operation: 25*59=1475, Resulting Numbers: [1475]
1475,65 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 25+59=84, Resulting Numbers: [84]
84,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 65:[57, 23], Operations: ['99-74=25', '25-2=23']
Exploring Operation: 57*23=1311, Resulting Numbers: [1311]
1311,65 unequal: No Solution
Exploring Operation: 57+23=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 65:[2, 82], Operations: ['99-74=25', '57+25=82']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 2*82=164, Resulting Numbers: [164]
164,65 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 65:[2, 32], Operations: ['99-74=25', '57-25=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 65:[25, 55], Operations: ['99-74=25', '57-2=55']
Exploring Operation: 25*55=1375, Resulting Numbers: [1375]
1375,65 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 25+55=80, Resulting Numbers: [80]
80,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 65:[74, 2, 42], Operations: ['99-57=42']
Exploring Operation: 42/2=21, Resulting Numbers: [74, 21]
Generated Node #0,3,0: 65:[74, 21] Operation: 42/2=21
Exploring Operation: 2+42=44, Resulting Numbers: [74, 44]
Generated Node #0,3,1: 65:[74, 44] Operation: 2+42=44
Exploring Operation: 2*42=84, Resulting Numbers: [74, 84]
Generated Node #0,3,2: 65:[74, 84] Operation: 2*42=84
Exploring Operation: 74-2=72, Resulting Numbers: [42, 72]
Generated Node #0,3,3: 65:[42, 72] Operation: 74-2=72
Exploring Operation: 74-42=32, Resulting Numbers: [2, 32]
Generated Node #0,3,4: 65:[2, 32] Operation: 74-42=32
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 65:[74, 21], Operations: ['99-57=42', '42/2=21']
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 74+21=95, Resulting Numbers: [95]
95,65 unequal: No Solution
Exploring Operation: 74*21=1554, Resulting Numbers: [1554]
1554,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 65:[2, 32], Operations: ['99-57=42', '74-42=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 65:[74, 84], Operations: ['99-57=42', '2*42=84']
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 74*84=6216, Resulting Numbers: [6216]
6216,65 unequal: No Solution
Exploring Operation: 74+84=158, Resulting Numbers: [158]
158,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 65:[74, 44], Operations: ['99-57=42', '2+42=44']
Exploring Operation: 74*44=3256, Resulting Numbers: [3256]
3256,65 unequal: No Solution
Exploring Operation: 74-44=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 74+44=118, Resulting Numbers: [118]
118,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[42, 72], Operations: ['99-57=42', '74-2=72']
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 42+72=114, Resulting Numbers: [114]
114,65 unequal: No Solution
Exploring Operation: 42*72=3024, Resulting Numbers: [3024]
3024,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 65:[99, 2, 17], Operations: ['74-57=17']
Exploring Operation: 2+17=19, Resulting Numbers: [99, 19]
Generated Node #0,2,0: 65:[99, 19] Operation: 2+17=19
Exploring Operation: 99-17=82, Resulting Numbers: [2, 82]
Generated Node #0,2,1: 65:[2, 82] Operation: 99-17=82
Exploring Operation: 99-2=97, Resulting Numbers: [17, 97]
Generated Node #0,2,2: 65:[17, 97] Operation: 99-2=97
Exploring Operation: 17-2=15, Resulting Numbers: [99, 15]
Generated Node #0,2,3: 65:[99, 15] Operation: 17-2=15
Exploring Operation: 99+2=101, Resulting Numbers: [17, 101]
Generated Node #0,2,4: 65:[17, 101] Operation: 99+2=101
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 65:[2, 82], Operations: ['74-57=17', '99-17=82']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,65 unequal: No Solution
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,65 unequal: No Solution
Exploring Operation: 2*82=164, Resulting Numbers: [164]
164,65 unequal: No Solution
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 65:[17, 97], Operations: ['74-57=17', '99-2=97']
Exploring Operation: 17*97=1649, Resulting Numbers: [1649]
1649,65 unequal: No Solution
Exploring Operation: 97-17=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 17+97=114, Resulting Numbers: [114]
114,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 65:[99, 15], Operations: ['74-57=17', '17-2=15']
Exploring Operation: 99*15=1485, Resulting Numbers: [1485]
1485,65 unequal: No Solution
Exploring Operation: 99-15=84, Resulting Numbers: [84]
84,65 unequal: No Solution
Exploring Operation: 99+15=114, Resulting Numbers: [114]
114,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 65:[99, 19], Operations: ['74-57=17', '2+17=19']
Exploring Operation: 99*19=1881, Resulting Numbers: [1881]
1881,65 unequal: No Solution
Exploring Operation: 99-19=80, Resulting Numbers: [80]
80,65 unequal: No Solution
Exploring Operation: 99+19=118, Resulting Numbers: [118]
118,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 65:[17, 101], Operations: ['74-57=17', '99+2=101']
Exploring Operation: 101-17=84, Resulting Numbers: [84]
84,65 unequal: No Solution
Exploring Operation: 17+101=118, Resulting Numbers: [118]
118,65 unequal: No Solution
Exploring Operation: 17*101=1717, Resulting Numbers: [1717]
1717,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 65:[57, 99, 72], Operations: ['74-2=72']
Exploring Operation: 72-57=15, Resulting Numbers: [99, 15]
Generated Node #0,0,0: 65:[99, 15] Operation: 72-57=15
Exploring Operation: 99-57=42, Resulting Numbers: [72, 42]
Generated Node #0,0,1: 65:[72, 42] Operation: 99-57=42
Exploring Operation: 57+99=156, Resulting Numbers: [72, 156]
Generated Node #0,0,2: 65:[72, 156] Operation: 57+99=156
Exploring Operation: 99-72=27, Resulting Numbers: [57, 27]
Generated Node #0,0,3: 65:[57, 27] Operation: 99-72=27
Exploring Operation: 57+72=129, Resulting Numbers: [99, 129]
Generated Node #0,0,4: 65:[99, 129] Operation: 57+72=129
Moving to Node #0,1
Current State: 65:[74, 99, 59], Operations: ['57+2=59']
Exploring Operation: 99-59=40, Resulting Numbers: [74, 40]
Generated Node #0,1,0: 65:[74, 40] Operation: 99-59=40
Exploring Operation: 74+59=133, Resulting Numbers: [99, 133]
Generated Node #0,1,1: 65:[99, 133] Operation: 74+59=133
Exploring Operation: 99-74=25, Resulting Numbers: [59, 25]
Generated Node #0,1,2: 65:[59, 25] Operation: 99-74=25
Exploring Operation: 99+59=158, Resulting Numbers: [74, 158]
Generated Node #0,1,3: 65:[74, 158] Operation: 99+59=158
Exploring Operation: 74-59=15, Resulting Numbers: [99, 15]
Generated Node #0,1,4: 65:[99, 15] Operation: 74-59=15
Moving to Node #0,1,2
Current State: 65:[59, 25], Operations: ['57+2=59', '99-74=25']
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,65 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,65 unequal: No Solution
Moving to Node #0,0,3
Current State: 65:[57, 27], Operations: ['74-2=72', '99-72=27']
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 57+27=84, Resulting Numbers: [84]
84,65 unequal: No Solution
Exploring Operation: 57*27=1539, Resulting Numbers: [1539]
1539,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[72, 42], Operations: ['74-2=72', '99-57=42']
Exploring Operation: 72*42=3024, Resulting Numbers: [3024]
3024,65 unequal: No Solution
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Exploring Operation: 72+42=114, Resulting Numbers: [114]
114,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[74, 40], Operations: ['57+2=59', '99-59=40']
Exploring Operation: 74*40=2960, Resulting Numbers: [2960]
2960,65 unequal: No Solution
Exploring Operation: 74+40=114, Resulting Numbers: [114]
114,65 unequal: No Solution
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[99, 15], Operations: ['74-2=72', '72-57=15']
Exploring Operation: 99*15=1485, Resulting Numbers: [1485]
1485,65 unequal: No Solution
Exploring Operation: 99+15=114, Resulting Numbers: [114]
114,65 unequal: No Solution
Exploring Operation: 99-15=84, Resulting Numbers: [84]
84,65 unequal: No Solution
Moving to Node #0,1,4
Current State: 65:[99, 15], Operations: ['57+2=59', '74-59=15']
Exploring Operation: 99*15=1485, Resulting Numbers: [1485]
1485,65 unequal: No Solution
Exploring Operation: 99-15=84, Resulting Numbers: [84]
84,65 unequal: No Solution
Exploring Operation: 99+15=114, Resulting Numbers: [114]
114,65 unequal: No Solution
Moving to Node #0,0,4
Current State: 65:[99, 129], Operations: ['74-2=72', '57+72=129']
Exploring Operation: 99+129=228, Resulting Numbers: [228]
228,65 unequal: No Solution
Exploring Operation: 99*129=12771, Resulting Numbers: [12771]
12771,65 unequal: No Solution
Exploring Operation: 129-99=30, Resulting Numbers: [30]
30,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[72, 156], Operations: ['74-2=72', '57+99=156']
Exploring Operation: 72+156=228, Resulting Numbers: [228]
228,65 unequal: No Solution
Exploring Operation: 72*156=11232, Resulting Numbers: [11232]
11232,65 unequal: No Solution
Exploring Operation: 156-72=84, Resulting Numbers: [84]
84,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[74, 158], Operations: ['57+2=59', '99+59=158']
Exploring Operation: 158-74=84, Resulting Numbers: [84]
84,65 unequal: No Solution
Exploring Operation: 74*158=11692, Resulting Numbers: [11692]
11692,65 unequal: No Solution
Exploring Operation: 74+158=232, Resulting Numbers: [232]
232,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[99, 133], Operations: ['57+2=59', '74+59=133']
Exploring Operation: 133-99=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 99+133=232, Resulting Numbers: [232]
232,65 unequal: No Solution
Exploring Operation: 99*133=13167, Resulting Numbers: [13167]
13167,65 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
93,
13,
61,
75
] | 94 | [
"93-13=80",
"75-61=14",
"80+14=94"
] | Current State: 94:[93, 13, 61, 75], Operations: []
Exploring Operation: 93-13=80, Resulting Numbers: [61, 75, 80]
Generated Node #2: [61, 75, 80] from Operation: 93-13=80
Current State: 94:[61, 75, 80], Operations: ['93-13=80']
Exploring Operation: 75-61=14, Resulting Numbers: [80, 14]
Generated Node #3: [80, 14] from Operation: 75-61=14
Current State: 94:[80, 14], Operations: ['93-13=80', '75-61=14']
Exploring Operation: 80+14=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[93, 13, 61, 75], Operations: []
Exploring Operation: 75-61=14, Resulting Numbers: [93, 13, 14]
Generated Node #0,0: 94:[93, 13, 14] Operation: 75-61=14
Exploring Operation: 13+75=88, Resulting Numbers: [93, 61, 88]
Generated Node #0,1: 94:[93, 61, 88] Operation: 13+75=88
Exploring Operation: 75-13=62, Resulting Numbers: [93, 61, 62]
Generated Node #0,2: 94:[93, 61, 62] Operation: 75-13=62
Exploring Operation: 61-13=48, Resulting Numbers: [93, 75, 48]
Generated Node #0,3: 94:[93, 75, 48] Operation: 61-13=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[93, 61, 88], Operations: ['13+75=88']
Exploring Operation: 93-88=5, Resulting Numbers: [61, 5]
Generated Node #0,1,0: 94:[61, 5] Operation: 93-88=5
Exploring Operation: 93-61=32, Resulting Numbers: [88, 32]
Generated Node #0,1,1: 94:[88, 32] Operation: 93-61=32
Exploring Operation: 88-61=27, Resulting Numbers: [93, 27]
Generated Node #0,1,2: 94:[93, 27] Operation: 88-61=27
Exploring Operation: 61+88=149, Resulting Numbers: [93, 149]
Generated Node #0,1,3: 94:[93, 149] Operation: 61+88=149
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[61, 5], Operations: ['13+75=88', '93-88=5']
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Exploring Operation: 61*5=305, Resulting Numbers: [305]
305,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[88, 32], Operations: ['13+75=88', '93-61=32']
Exploring Operation: 88*32=2816, Resulting Numbers: [2816]
2816,94 unequal: No Solution
Exploring Operation: 88+32=120, Resulting Numbers: [120]
120,94 unequal: No Solution
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 94:[93, 27], Operations: ['13+75=88', '88-61=27']
Exploring Operation: 93+27=120, Resulting Numbers: [120]
120,94 unequal: No Solution
Exploring Operation: 93*27=2511, Resulting Numbers: [2511]
2511,94 unequal: No Solution
Exploring Operation: 93-27=66, Resulting Numbers: [66]
66,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 94:[93, 149], Operations: ['13+75=88', '61+88=149']
Exploring Operation: 149-93=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 93+149=242, Resulting Numbers: [242]
242,94 unequal: No Solution
Exploring Operation: 93*149=13857, Resulting Numbers: [13857]
13857,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[93, 75, 48], Operations: ['61-13=48']
Exploring Operation: 75+48=123, Resulting Numbers: [93, 123]
Generated Node #0,3,0: 94:[93, 123] Operation: 75+48=123
Exploring Operation: 75-48=27, Resulting Numbers: [93, 27]
Generated Node #0,3,1: 94:[93, 27] Operation: 75-48=27
Exploring Operation: 93-48=45, Resulting Numbers: [75, 45]
Generated Node #0,3,2: 94:[75, 45] Operation: 93-48=45
Exploring Operation: 93-75=18, Resulting Numbers: [48, 18]
Generated Node #0,3,3: 94:[48, 18] Operation: 93-75=18
Moving to Node #0,3,3
Current State: 94:[48, 18], Operations: ['61-13=48', '93-75=18']
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,94 unequal: No Solution
Exploring Operation: 48*18=864, Resulting Numbers: [864]
864,94 unequal: No Solution
Exploring Operation: 48+18=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[75, 45], Operations: ['61-13=48', '93-48=45']
Exploring Operation: 75*45=3375, Resulting Numbers: [3375]
3375,94 unequal: No Solution
Exploring Operation: 75+45=120, Resulting Numbers: [120]
120,94 unequal: No Solution
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[93, 27], Operations: ['61-13=48', '75-48=27']
Exploring Operation: 93-27=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Exploring Operation: 93+27=120, Resulting Numbers: [120]
120,94 unequal: No Solution
Exploring Operation: 93*27=2511, Resulting Numbers: [2511]
2511,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[93, 123], Operations: ['61-13=48', '75+48=123']
Exploring Operation: 123-93=30, Resulting Numbers: [30]
30,94 unequal: No Solution
Exploring Operation: 93+123=216, Resulting Numbers: [216]
216,94 unequal: No Solution
Exploring Operation: 93*123=11439, Resulting Numbers: [11439]
11439,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[93, 13, 14], Operations: ['75-61=14']
Exploring Operation: 93+13=106, Resulting Numbers: [14, 106]
Generated Node #0,0,0: 94:[14, 106] Operation: 93+13=106
Exploring Operation: 93+14=107, Resulting Numbers: [13, 107]
Generated Node #0,0,1: 94:[13, 107] Operation: 93+14=107
Exploring Operation: 13+14=27, Resulting Numbers: [93, 27]
Generated Node #0,0,2: 94:[93, 27] Operation: 13+14=27
Exploring Operation: 14-13=1, Resulting Numbers: [93, 1]
Generated Node #0,0,3: 94:[93, 1] Operation: 14-13=1
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 94:[93, 1], Operations: ['75-61=14', '14-13=1']
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[93, 13, 61, 75], Operations: []
Exploring Operation: 75-61=14, Resulting Numbers: [93, 13, 14]
Generated Node #0,0: 94:[93, 13, 14] Operation: 75-61=14
Moving to Node #0,0
Current State: 94:[93, 13, 14], Operations: ['75-61=14']
Exploring Operation: 14-13=1, Resulting Numbers: [93, 1]
Generated Node #0,0,3: 94:[93, 1] Operation: 14-13=1
Moving to Node #0,0,3
Current State: 94:[93, 1], Operations: ['75-61=14', '14-13=1']
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960069 | hs_4 | mult_heuristic |
[
32,
43,
40,
23
] | 12 | [
"32+43=75",
"40+23=63",
"75-63=12"
] | Current State: 12:[32, 43, 40, 23], Operations: []
Exploring Operation: 32+43=75, Resulting Numbers: [40, 23, 75]
Generated Node #2: [40, 23, 75] from Operation: 32+43=75
Current State: 12:[40, 23, 75], Operations: ['32+43=75']
Exploring Operation: 40+23=63, Resulting Numbers: [75, 63]
Generated Node #3: [75, 63] from Operation: 40+23=63
Current State: 12:[75, 63], Operations: ['32+43=75', '40+23=63']
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[32, 43, 40, 23], Operations: []
Exploring Operation: 43-23=20, Resulting Numbers: [32, 40, 20]
Generated Node #0,0: 12:[32, 40, 20] Operation: 43-23=20
Exploring Operation: 43-40=3, Resulting Numbers: [32, 23, 3]
Generated Node #0,1: 12:[32, 23, 3] Operation: 43-40=3
Exploring Operation: 40-32=8, Resulting Numbers: [43, 23, 8]
Generated Node #0,2: 12:[43, 23, 8] Operation: 40-32=8
Exploring Operation: 43-32=11, Resulting Numbers: [40, 23, 11]
Generated Node #0,3: 12:[40, 23, 11] Operation: 43-32=11
Moving to Node #0,1
Current State: 12:[32, 23, 3], Operations: ['43-40=3']
Exploring Operation: 23-3=20, Resulting Numbers: [32, 20]
Generated Node #0,1,0: 12:[32, 20] Operation: 23-3=20
Exploring Operation: 32-3=29, Resulting Numbers: [23, 29]
Generated Node #0,1,1: 12:[23, 29] Operation: 32-3=29
Exploring Operation: 32+3=35, Resulting Numbers: [23, 35]
Generated Node #0,1,2: 12:[23, 35] Operation: 32+3=35
Exploring Operation: 32-23=9, Resulting Numbers: [3, 9]
Generated Node #0,1,3: 12:[3, 9] Operation: 32-23=9
Moving to Node #0,3
Current State: 12:[40, 23, 11], Operations: ['43-32=11']
Exploring Operation: 40+11=51, Resulting Numbers: [23, 51]
Generated Node #0,3,0: 12:[23, 51] Operation: 40+11=51
Exploring Operation: 23-11=12, Resulting Numbers: [40, 12]
Generated Node #0,3,1: 12:[40, 12] Operation: 23-11=12
Exploring Operation: 40-23=17, Resulting Numbers: [11, 17]
Generated Node #0,3,2: 12:[11, 17] Operation: 40-23=17
Exploring Operation: 40-11=29, Resulting Numbers: [23, 29]
Generated Node #0,3,3: 12:[23, 29] Operation: 40-11=29
Moving to Node #0,2
Current State: 12:[43, 23, 8], Operations: ['40-32=8']
Exploring Operation: 43+8=51, Resulting Numbers: [23, 51]
Generated Node #0,2,0: 12:[23, 51] Operation: 43+8=51
Exploring Operation: 43-23=20, Resulting Numbers: [8, 20]
Generated Node #0,2,1: 12:[8, 20] Operation: 43-23=20
Exploring Operation: 43-8=35, Resulting Numbers: [23, 35]
Generated Node #0,2,2: 12:[23, 35] Operation: 43-8=35
Exploring Operation: 23-8=15, Resulting Numbers: [43, 15]
Generated Node #0,2,3: 12:[43, 15] Operation: 23-8=15
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[8, 20], Operations: ['40-32=8', '43-23=20']
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,12 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[32, 43, 40, 23], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [43, 23, 8]
Generated Node #0,2: 12:[43, 23, 8] Operation: 40-32=8
Moving to Node #0,2
Current State: 12:[43, 23, 8], Operations: ['40-32=8']
Exploring Operation: 43-23=20, Resulting Numbers: [8, 20]
Generated Node #0,2,1: 12:[8, 20] Operation: 43-23=20
Moving to Node #0,2,1
Current State: 12:[8, 20], Operations: ['40-32=8', '43-23=20']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
12,
85,
10,
25
] | 50 | [
"85-25=60",
"60/12=5",
"10*5=50"
] | Current State: 50:[12, 85, 10, 25], Operations: []
Exploring Operation: 85-25=60, Resulting Numbers: [12, 10, 60]
Generated Node #2: [12, 10, 60] from Operation: 85-25=60
Current State: 50:[12, 10, 60], Operations: ['85-25=60']
Exploring Operation: 60/12=5, Resulting Numbers: [10, 5]
Generated Node #3: [10, 5] from Operation: 60/12=5
Current State: 50:[10, 5], Operations: ['85-25=60', '60/12=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[12, 85, 10, 25], Operations: []
Exploring Operation: 85-10=75, Resulting Numbers: [12, 25, 75]
Generated Node #0,0: 50:[12, 25, 75] Operation: 85-10=75
Exploring Operation: 12-10=2, Resulting Numbers: [85, 25, 2]
Generated Node #0,1: 50:[85, 25, 2] Operation: 12-10=2
Exploring Operation: 85-12=73, Resulting Numbers: [10, 25, 73]
Generated Node #0,2: 50:[10, 25, 73] Operation: 85-12=73
Exploring Operation: 85-25=60, Resulting Numbers: [12, 10, 60]
Generated Node #0,3: 50:[12, 10, 60] Operation: 85-25=60
Moving to Node #0,3
Current State: 50:[12, 10, 60], Operations: ['85-25=60']
Exploring Operation: 60/12=5, Resulting Numbers: [10, 5]
Generated Node #0,3,0: 50:[10, 5] Operation: 60/12=5
Exploring Operation: 60-10=50, Resulting Numbers: [12, 50]
Generated Node #0,3,1: 50:[12, 50] Operation: 60-10=50
Exploring Operation: 60-12=48, Resulting Numbers: [10, 48]
Generated Node #0,3,2: 50:[10, 48] Operation: 60-12=48
Exploring Operation: 60/10=6, Resulting Numbers: [12, 6]
Generated Node #0,3,3: 50:[12, 6] Operation: 60/10=6
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 50:[10, 5], Operations: ['85-25=60', '60/12=5']
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[12, 85, 10, 25], Operations: []
Exploring Operation: 85-25=60, Resulting Numbers: [12, 10, 60]
Generated Node #0,3: 50:[12, 10, 60] Operation: 85-25=60
Moving to Node #0,3
Current State: 50:[12, 10, 60], Operations: ['85-25=60']
Exploring Operation: 60/12=5, Resulting Numbers: [10, 5]
Generated Node #0,3,0: 50:[10, 5] Operation: 60/12=5
Moving to Node #0,3,0
Current State: 50:[10, 5], Operations: ['85-25=60', '60/12=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
97,
34,
35,
5
] | 33 | [
"97-34=63",
"35-5=30",
"63-30=33"
] | Current State: 33:[97, 34, 35, 5], Operations: []
Exploring Operation: 97-34=63, Resulting Numbers: [35, 5, 63]
Generated Node #2: [35, 5, 63] from Operation: 97-34=63
Current State: 33:[35, 5, 63], Operations: ['97-34=63']
Exploring Operation: 35-5=30, Resulting Numbers: [63, 30]
Generated Node #3: [63, 30] from Operation: 35-5=30
Current State: 33:[63, 30], Operations: ['97-34=63', '35-5=30']
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[97, 34, 35, 5], Operations: []
Exploring Operation: 97-34=63, Resulting Numbers: [35, 5, 63]
Generated Node #0,0: 33:[35, 5, 63] Operation: 97-34=63
Exploring Operation: 97-5=92, Resulting Numbers: [34, 35, 92]
Generated Node #0,1: 33:[34, 35, 92] Operation: 97-5=92
Exploring Operation: 35-34=1, Resulting Numbers: [97, 5, 1]
Generated Node #0,2: 33:[97, 5, 1] Operation: 35-34=1
Exploring Operation: 35-5=30, Resulting Numbers: [97, 34, 30]
Generated Node #0,3: 33:[97, 34, 30] Operation: 35-5=30
Exploring Operation: 97-35=62, Resulting Numbers: [34, 5, 62]
Generated Node #0,4: 33:[34, 5, 62] Operation: 97-35=62
Start Sub Search at level 1: Moving to Node #0,4
Current State: 33:[34, 5, 62], Operations: ['97-35=62']
Exploring Operation: 5+62=67, Resulting Numbers: [34, 67]
Generated Node #0,4,0: 33:[34, 67] Operation: 5+62=67
Exploring Operation: 34-5=29, Resulting Numbers: [62, 29]
Generated Node #0,4,1: 33:[62, 29] Operation: 34-5=29
Exploring Operation: 62-5=57, Resulting Numbers: [34, 57]
Generated Node #0,4,2: 33:[34, 57] Operation: 62-5=57
Exploring Operation: 62-34=28, Resulting Numbers: [5, 28]
Generated Node #0,4,3: 33:[5, 28] Operation: 62-34=28
Exploring Operation: 34+5=39, Resulting Numbers: [62, 39]
Generated Node #0,4,4: 33:[62, 39] Operation: 34+5=39
Moving to Node #0,4,3
Current State: 33:[5, 28], Operations: ['97-35=62', '62-34=28']
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,33 unequal: No Solution
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[97, 34, 35, 5], Operations: []
Exploring Operation: 97-35=62, Resulting Numbers: [34, 5, 62]
Generated Node #0,4: 33:[34, 5, 62] Operation: 97-35=62
Moving to Node #0,4
Current State: 33:[34, 5, 62], Operations: ['97-35=62']
Exploring Operation: 62-34=28, Resulting Numbers: [5, 28]
Generated Node #0,4,3: 33:[5, 28] Operation: 62-34=28
Moving to Node #0,4,3
Current State: 33:[5, 28], Operations: ['97-35=62', '62-34=28']
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
48,
36,
80,
30
] | 88 | [
"36-30=6",
"48/6=8",
"80+8=88"
] | Current State: 88:[48, 36, 80, 30], Operations: []
Exploring Operation: 36-30=6, Resulting Numbers: [48, 80, 6]
Generated Node #2: [48, 80, 6] from Operation: 36-30=6
Current State: 88:[48, 80, 6], Operations: ['36-30=6']
Exploring Operation: 48/6=8, Resulting Numbers: [80, 8]
Generated Node #3: [80, 8] from Operation: 48/6=8
Current State: 88:[80, 8], Operations: ['36-30=6', '48/6=8']
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[48, 36, 80, 30], Operations: []
Exploring Operation: 48-36=12, Resulting Numbers: [80, 30, 12]
Generated Node #0,0: 88:[80, 30, 12] Operation: 48-36=12
Exploring Operation: 36-30=6, Resulting Numbers: [48, 80, 6]
Generated Node #0,1: 88:[48, 80, 6] Operation: 36-30=6
Exploring Operation: 80-36=44, Resulting Numbers: [48, 30, 44]
Generated Node #0,2: 88:[48, 30, 44] Operation: 80-36=44
Moving to Node #0,2
Current State: 88:[48, 30, 44], Operations: ['80-36=44']
Exploring Operation: 44-30=14, Resulting Numbers: [48, 14]
Generated Node #0,2,0: 88:[48, 14] Operation: 44-30=14
Exploring Operation: 48-44=4, Resulting Numbers: [30, 4]
Generated Node #0,2,1: 88:[30, 4] Operation: 48-44=4
Exploring Operation: 48-30=18, Resulting Numbers: [44, 18]
Generated Node #0,2,2: 88:[44, 18] Operation: 48-30=18
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[44, 18], Operations: ['80-36=44', '48-30=18']
Exploring Operation: 44*18=792, Resulting Numbers: [792]
792,88 unequal: No Solution
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[48, 14], Operations: ['80-36=44', '44-30=14']
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,88 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[30, 4], Operations: ['80-36=44', '48-44=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 88:[48, 80, 6], Operations: ['36-30=6']
Exploring Operation: 48-6=42, Resulting Numbers: [80, 42]
Generated Node #0,1,0: 88:[80, 42] Operation: 48-6=42
Exploring Operation: 48/6=8, Resulting Numbers: [80, 8]
Generated Node #0,1,1: 88:[80, 8] Operation: 48/6=8
Exploring Operation: 80+6=86, Resulting Numbers: [48, 86]
Generated Node #0,1,2: 88:[48, 86] Operation: 80+6=86
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[48, 86], Operations: ['36-30=6', '80+6=86']
Exploring Operation: 48*86=4128, Resulting Numbers: [4128]
4128,88 unequal: No Solution
Exploring Operation: 48+86=134, Resulting Numbers: [134]
134,88 unequal: No Solution
Exploring Operation: 86-48=38, Resulting Numbers: [38]
38,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,1
Current State: 88:[80, 8], Operations: ['36-30=6', '48/6=8']
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,88 unequal: No Solution
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[48, 36, 80, 30], Operations: []
Exploring Operation: 36-30=6, Resulting Numbers: [48, 80, 6]
Generated Node #0,1: 88:[48, 80, 6] Operation: 36-30=6
Moving to Node #0,1
Current State: 88:[48, 80, 6], Operations: ['36-30=6']
Exploring Operation: 48/6=8, Resulting Numbers: [80, 8]
Generated Node #0,1,1: 88:[80, 8] Operation: 48/6=8
Moving to Node #0,1,1
Current State: 88:[80, 8], Operations: ['36-30=6', '48/6=8']
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
32,
96,
63,
87
] | 34 | [
"96/32=3",
"87/3=29",
"63-29=34"
] | Current State: 34:[32, 96, 63, 87], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [63, 87, 3]
Generated Node #2: [63, 87, 3] from Operation: 96/32=3
Current State: 34:[63, 87, 3], Operations: ['96/32=3']
Exploring Operation: 87/3=29, Resulting Numbers: [63, 29]
Generated Node #3: [63, 29] from Operation: 87/3=29
Current State: 34:[63, 29], Operations: ['96/32=3', '87/3=29']
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[32, 96, 63, 87], Operations: []
Exploring Operation: 96-63=33, Resulting Numbers: [32, 87, 33]
Generated Node #0,0: 34:[32, 87, 33] Operation: 96-63=33
Exploring Operation: 96/32=3, Resulting Numbers: [63, 87, 3]
Generated Node #0,1: 34:[63, 87, 3] Operation: 96/32=3
Exploring Operation: 96-32=64, Resulting Numbers: [63, 87, 64]
Generated Node #0,2: 34:[63, 87, 64] Operation: 96-32=64
Exploring Operation: 96-87=9, Resulting Numbers: [32, 63, 9]
Generated Node #0,3: 34:[32, 63, 9] Operation: 96-87=9
Exploring Operation: 87-63=24, Resulting Numbers: [32, 96, 24]
Generated Node #0,4: 34:[32, 96, 24] Operation: 87-63=24
Moving to Node #0,3
Current State: 34:[32, 63, 9], Operations: ['96-87=9']
Exploring Operation: 32-9=23, Resulting Numbers: [63, 23]
Generated Node #0,3,0: 34:[63, 23] Operation: 32-9=23
Exploring Operation: 63-32=31, Resulting Numbers: [9, 31]
Generated Node #0,3,1: 34:[9, 31] Operation: 63-32=31
Exploring Operation: 32+9=41, Resulting Numbers: [63, 41]
Generated Node #0,3,2: 34:[63, 41] Operation: 32+9=41
Exploring Operation: 63/9=7, Resulting Numbers: [32, 7]
Generated Node #0,3,3: 34:[32, 7] Operation: 63/9=7
Exploring Operation: 63-9=54, Resulting Numbers: [32, 54]
Generated Node #0,3,4: 34:[32, 54] Operation: 63-9=54
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 34:[32, 7], Operations: ['96-87=9', '63/9=7']
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,34 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,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,3,1
Current State: 34:[9, 31], Operations: ['96-87=9', '63-32=31']
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,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,3,4
Current State: 34:[32, 54], Operations: ['96-87=9', '63-9=54']
Exploring Operation: 32*54=1728, Resulting Numbers: [1728]
1728,34 unequal: No Solution
Exploring Operation: 32+54=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,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,3,0
Current State: 34:[63, 23], Operations: ['96-87=9', '32-9=23']
Exploring Operation: 63*23=1449, Resulting Numbers: [1449]
1449,34 unequal: No Solution
Exploring Operation: 63+23=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,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,3,2
Current State: 34:[63, 41], Operations: ['96-87=9', '32+9=41']
Exploring Operation: 63*41=2583, Resulting Numbers: [2583]
2583,34 unequal: No Solution
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 63+41=104, Resulting Numbers: [104]
104,34 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: 34:[32, 87, 33], Operations: ['96-63=33']
Exploring Operation: 87-32=55, Resulting Numbers: [33, 55]
Generated Node #0,0,0: 34:[33, 55] Operation: 87-32=55
Exploring Operation: 32+33=65, Resulting Numbers: [87, 65]
Generated Node #0,0,1: 34:[87, 65] Operation: 32+33=65
Exploring Operation: 32+87=119, Resulting Numbers: [33, 119]
Generated Node #0,0,2: 34:[33, 119] Operation: 32+87=119
Exploring Operation: 33-32=1, Resulting Numbers: [87, 1]
Generated Node #0,0,3: 34:[87, 1] Operation: 33-32=1
Exploring Operation: 87-33=54, Resulting Numbers: [32, 54]
Generated Node #0,0,4: 34:[32, 54] Operation: 87-33=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[33, 55], Operations: ['96-63=33', '87-32=55']
Exploring Operation: 33+55=88, Resulting Numbers: [88]
88,34 unequal: No Solution
Exploring Operation: 33*55=1815, Resulting Numbers: [1815]
1815,34 unequal: No Solution
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,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,0,4
Current State: 34:[32, 54], Operations: ['96-63=33', '87-33=54']
Exploring Operation: 32*54=1728, Resulting Numbers: [1728]
1728,34 unequal: No Solution
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 32+54=86, Resulting Numbers: [86]
86,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,0,3
Current State: 34:[87, 1], Operations: ['96-63=33', '33-32=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,34 unequal: No Solution
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,34 unequal: No Solution
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,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,0,1
Current State: 34:[87, 65], Operations: ['96-63=33', '32+33=65']
Exploring Operation: 87*65=5655, Resulting Numbers: [5655]
5655,34 unequal: No Solution
Exploring Operation: 87+65=152, Resulting Numbers: [152]
152,34 unequal: No Solution
Exploring Operation: 87-65=22, Resulting Numbers: [22]
22,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,0,2
Current State: 34:[33, 119], Operations: ['96-63=33', '32+87=119']
Exploring Operation: 33*119=3927, Resulting Numbers: [3927]
3927,34 unequal: No Solution
Exploring Operation: 119-33=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 33+119=152, Resulting Numbers: [152]
152,34 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: 34:[32, 96, 24], Operations: ['87-63=24']
Exploring Operation: 96-24=72, Resulting Numbers: [32, 72]
Generated Node #0,4,0: 34:[32, 72] Operation: 96-24=72
Exploring Operation: 96/32=3, Resulting Numbers: [24, 3]
Generated Node #0,4,1: 34:[24, 3] Operation: 96/32=3
Exploring Operation: 32-24=8, Resulting Numbers: [96, 8]
Generated Node #0,4,2: 34:[96, 8] Operation: 32-24=8
Exploring Operation: 96-32=64, Resulting Numbers: [24, 64]
Generated Node #0,4,3: 34:[24, 64] Operation: 96-32=64
Exploring Operation: 96/24=4, Resulting Numbers: [32, 4]
Generated Node #0,4,4: 34:[32, 4] Operation: 96/24=4
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 34:[32, 4], Operations: ['87-63=24', '96/24=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,34 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,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,4,1
Current State: 34:[24, 3], Operations: ['87-63=24', '96/32=3']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,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,4,3
Current State: 34:[24, 64], Operations: ['87-63=24', '96-32=64']
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 24*64=1536, Resulting Numbers: [1536]
1536,34 unequal: No Solution
Exploring Operation: 24+64=88, Resulting Numbers: [88]
88,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,4,0
Current State: 34:[32, 72], Operations: ['87-63=24', '96-24=72']
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 32+72=104, Resulting Numbers: [104]
104,34 unequal: No Solution
Exploring Operation: 32*72=2304, Resulting Numbers: [2304]
2304,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,4,2
Current State: 34:[96, 8], Operations: ['87-63=24', '32-24=8']
Exploring Operation: 96/8=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 96+8=104, Resulting Numbers: [104]
104,34 unequal: No Solution
Exploring Operation: 96*8=768, Resulting Numbers: [768]
768,34 unequal: No Solution
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,34 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: 34:[63, 87, 3], Operations: ['96/32=3']
Exploring Operation: 63/3=21, Resulting Numbers: [87, 21]
Generated Node #0,1,0: 34:[87, 21] Operation: 63/3=21
Exploring Operation: 87-3=84, Resulting Numbers: [63, 84]
Generated Node #0,1,1: 34:[63, 84] Operation: 87-3=84
Exploring Operation: 87/3=29, Resulting Numbers: [63, 29]
Generated Node #0,1,2: 34:[63, 29] Operation: 87/3=29
Exploring Operation: 87-63=24, Resulting Numbers: [3, 24]
Generated Node #0,1,3: 34:[3, 24] Operation: 87-63=24
Exploring Operation: 63-3=60, Resulting Numbers: [87, 60]
Generated Node #0,1,4: 34:[87, 60] Operation: 63-3=60
Moving to Node #0,2
Current State: 34:[63, 87, 64], Operations: ['96-32=64']
Exploring Operation: 87-64=23, Resulting Numbers: [63, 23]
Generated Node #0,2,0: 34:[63, 23] Operation: 87-64=23
Exploring Operation: 63+64=127, Resulting Numbers: [87, 127]
Generated Node #0,2,1: 34:[87, 127] Operation: 63+64=127
Exploring Operation: 64-63=1, Resulting Numbers: [87, 1]
Generated Node #0,2,2: 34:[87, 1] Operation: 64-63=1
Exploring Operation: 63+87=150, Resulting Numbers: [64, 150]
Generated Node #0,2,3: 34:[64, 150] Operation: 63+87=150
Exploring Operation: 87-63=24, Resulting Numbers: [64, 24]
Generated Node #0,2,4: 34:[64, 24] Operation: 87-63=24
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[63, 23], Operations: ['96-32=64', '87-64=23']
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 63+23=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 63*23=1449, Resulting Numbers: [1449]
1449,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,4
Current State: 34:[64, 24], Operations: ['96-32=64', '87-63=24']
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 64*24=1536, Resulting Numbers: [1536]
1536,34 unequal: No Solution
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,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,2
Current State: 34:[87, 1], Operations: ['96-32=64', '64-63=1']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,34 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,34 unequal: No Solution
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,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,1
Current State: 34:[87, 127], Operations: ['96-32=64', '63+64=127']
Exploring Operation: 127-87=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 87+127=214, Resulting Numbers: [214]
214,34 unequal: No Solution
Exploring Operation: 87*127=11049, Resulting Numbers: [11049]
11049,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,3
Current State: 34:[64, 150], Operations: ['96-32=64', '63+87=150']
Exploring Operation: 64*150=9600, Resulting Numbers: [9600]
9600,34 unequal: No Solution
Exploring Operation: 150-64=86, Resulting Numbers: [86]
86,34 unequal: No Solution
Exploring Operation: 64+150=214, Resulting Numbers: [214]
214,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 34:[3, 24], Operations: ['96/32=3', '87-63=24']
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,34 unequal: No Solution
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[63, 29], Operations: ['96/32=3', '87/3=29']
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[32, 96, 63, 87], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [63, 87, 3]
Generated Node #0,1: 34:[63, 87, 3] Operation: 96/32=3
Moving to Node #0,1
Current State: 34:[63, 87, 3], Operations: ['96/32=3']
Exploring Operation: 87/3=29, Resulting Numbers: [63, 29]
Generated Node #0,1,2: 34:[63, 29] Operation: 87/3=29
Moving to Node #0,1,2
Current State: 34:[63, 29], Operations: ['96/32=3', '87/3=29']
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.909722 | hs_5 | mult_heuristic |
[
12,
32,
39,
20
] | 14 | [
"12*39=468",
"468-20=448",
"448/32=14"
] | Current State: 14:[12, 32, 39, 20], Operations: []
Exploring Operation: 12*39=468, Resulting Numbers: [32, 20, 468]
Generated Node #2: [32, 20, 468] from Operation: 12*39=468
Current State: 14:[32, 20, 468], Operations: ['12*39=468']
Exploring Operation: 468-20=448, Resulting Numbers: [32, 448]
Generated Node #3: [32, 448] from Operation: 468-20=448
Current State: 14:[32, 448], Operations: ['12*39=468', '468-20=448']
Exploring Operation: 448/32=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[12, 32, 39, 20], Operations: []
Exploring Operation: 32-20=12, Resulting Numbers: [12, 39, 12]
Generated Node #0,0: 14:[12, 39, 12] Operation: 32-20=12
Exploring Operation: 39-32=7, Resulting Numbers: [12, 20, 7]
Generated Node #0,1: 14:[12, 20, 7] Operation: 39-32=7
Exploring Operation: 32-12=20, Resulting Numbers: [39, 20, 20]
Generated Node #0,2: 14:[39, 20, 20] Operation: 32-12=20
Exploring Operation: 39-20=19, Resulting Numbers: [12, 32, 19]
Generated Node #0,3: 14:[12, 32, 19] Operation: 39-20=19
Moving to Node #0,1
Current State: 14:[12, 20, 7], Operations: ['39-32=7']
Exploring Operation: 20-12=8, Resulting Numbers: [7, 8]
Generated Node #0,1,0: 14:[7, 8] Operation: 20-12=8
Exploring Operation: 12+7=19, Resulting Numbers: [20, 19]
Generated Node #0,1,1: 14:[20, 19] Operation: 12+7=19
Exploring Operation: 20-7=13, Resulting Numbers: [12, 13]
Generated Node #0,1,2: 14:[12, 13] Operation: 20-7=13
Exploring Operation: 12-7=5, Resulting Numbers: [20, 5]
Generated Node #0,1,3: 14:[20, 5] Operation: 12-7=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[7, 8], Operations: ['39-32=7', '20-12=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,14 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 14:[12, 13], Operations: ['39-32=7', '20-7=13']
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,14 unequal: No Solution
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 14:[20, 5], Operations: ['39-32=7', '12-7=5']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,14 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[20, 19], Operations: ['39-32=7', '12+7=19']
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 20*19=380, Resulting Numbers: [380]
380,14 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: 14:[12, 32, 19], Operations: ['39-20=19']
Exploring Operation: 32-19=13, Resulting Numbers: [12, 13]
Generated Node #0,3,0: 14:[12, 13] Operation: 32-19=13
Exploring Operation: 12+32=44, Resulting Numbers: [19, 44]
Generated Node #0,3,1: 14:[19, 44] Operation: 12+32=44
Exploring Operation: 19-12=7, Resulting Numbers: [32, 7]
Generated Node #0,3,2: 14:[32, 7] Operation: 19-12=7
Exploring Operation: 32-12=20, Resulting Numbers: [19, 20]
Generated Node #0,3,3: 14:[19, 20] Operation: 32-12=20
Moving to Node #0,0
Current State: 14:[12, 39, 12], Operations: ['32-20=12']
Exploring Operation: 39-12=27, Resulting Numbers: [12, 27]
Generated Node #0,0,0: 14:[12, 27] Operation: 39-12=27
Exploring Operation: 12/12=1, Resulting Numbers: [39, 1]
Generated Node #0,0,1: 14:[39, 1] Operation: 12/12=1
Exploring Operation: 39-12=27, Resulting Numbers: [12, 27]
Generated Node #0,0,2: 14:[12, 27] Operation: 39-12=27
Exploring Operation: 12-12=0, Resulting Numbers: [39, 0]
Generated Node #0,0,3: 14:[39, 0] Operation: 12-12=0
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[12, 27], Operations: ['32-20=12', '39-12=27']
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,14 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[12, 27], Operations: ['32-20=12', '39-12=27']
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[39, 1], Operations: ['32-20=12', '12/12=1']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,14 unequal: No Solution
No 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: 14:[39, 0], Operations: ['32-20=12', '12-12=0']
Exploring Operation: 39-0=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 39*0=0, Resulting Numbers: [0]
0,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 14:[39, 20, 20], Operations: ['32-12=20']
Exploring Operation: 39-20=19, Resulting Numbers: [20, 19]
Generated Node #0,2,0: 14:[20, 19] Operation: 39-20=19
Exploring Operation: 20-20=0, Resulting Numbers: [39, 0]
Generated Node #0,2,1: 14:[39, 0] Operation: 20-20=0
Exploring Operation: 20/20=1, Resulting Numbers: [39, 1]
Generated Node #0,2,2: 14:[39, 1] Operation: 20/20=1
Exploring Operation: 39-20=19, Resulting Numbers: [20, 19]
Generated Node #0,2,3: 14:[20, 19] Operation: 39-20=19
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 14:[20, 19], Operations: ['32-12=20', '39-20=19']
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 20*19=380, Resulting Numbers: [380]
380,14 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 14:[20, 19], Operations: ['32-12=20', '39-20=19']
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 20*19=380, Resulting Numbers: [380]
380,14 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 14:[39, 1], Operations: ['32-12=20', '20/20=1']
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,14 unequal: No Solution
No 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: 14:[39, 0], Operations: ['32-12=20', '20-20=0']
Exploring Operation: 39*0=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 39-0=39, Resulting Numbers: [39]
39,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 14:[12, 13], Operations: ['39-20=19', '32-19=13']
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,14 unequal: No Solution
Moving to Node #0,3,3
Current State: 14:[19, 20], Operations: ['39-20=19', '32-12=20']
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,14 unequal: No Solution
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[32, 7], Operations: ['39-20=19', '19-12=7']
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,14 unequal: No Solution
Moving to Node #0,3,1
Current State: 14:[19, 44], Operations: ['39-20=19', '12+32=44']
Exploring Operation: 19+44=63, Resulting Numbers: [63]
63,14 unequal: No Solution
Exploring Operation: 19*44=836, Resulting Numbers: [836]
836,14 unequal: No Solution
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,14 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
58,
39,
7,
54
] | 67 | [
"58-54=4",
"7*4=28",
"39+28=67"
] | Current State: 67:[58, 39, 7, 54], Operations: []
Exploring Operation: 58-54=4, Resulting Numbers: [39, 7, 4]
Generated Node #2: [39, 7, 4] from Operation: 58-54=4
Current State: 67:[39, 7, 4], Operations: ['58-54=4']
Exploring Operation: 7*4=28, Resulting Numbers: [39, 28]
Generated Node #3: [39, 28] from Operation: 7*4=28
Current State: 67:[39, 28], Operations: ['58-54=4', '7*4=28']
Exploring Operation: 39+28=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[58, 39, 7, 54], Operations: []
Exploring Operation: 58-7=51, Resulting Numbers: [39, 54, 51]
Generated Node #0,0: 67:[39, 54, 51] Operation: 58-7=51
Exploring Operation: 58+7=65, Resulting Numbers: [39, 54, 65]
Generated Node #0,1: 67:[39, 54, 65] Operation: 58+7=65
Exploring Operation: 7+54=61, Resulting Numbers: [58, 39, 61]
Generated Node #0,2: 67:[58, 39, 61] Operation: 7+54=61
Exploring Operation: 39+7=46, Resulting Numbers: [58, 54, 46]
Generated Node #0,3: 67:[58, 54, 46] Operation: 39+7=46
Moving to Node #0,1
Current State: 67:[39, 54, 65], Operations: ['58+7=65']
Exploring Operation: 39+65=104, Resulting Numbers: [54, 104]
Generated Node #0,1,0: 67:[54, 104] Operation: 39+65=104
Exploring Operation: 39+54=93, Resulting Numbers: [65, 93]
Generated Node #0,1,1: 67:[65, 93] Operation: 39+54=93
Exploring Operation: 65-39=26, Resulting Numbers: [54, 26]
Generated Node #0,1,2: 67:[54, 26] Operation: 65-39=26
Exploring Operation: 54-39=15, Resulting Numbers: [65, 15]
Generated Node #0,1,3: 67:[65, 15] Operation: 54-39=15
Moving to Node #0,3
Current State: 67:[58, 54, 46], Operations: ['39+7=46']
Exploring Operation: 58+46=104, Resulting Numbers: [54, 104]
Generated Node #0,3,0: 67:[54, 104] Operation: 58+46=104
Exploring Operation: 58-46=12, Resulting Numbers: [54, 12]
Generated Node #0,3,1: 67:[54, 12] Operation: 58-46=12
Exploring Operation: 58+54=112, Resulting Numbers: [46, 112]
Generated Node #0,3,2: 67:[46, 112] Operation: 58+54=112
Exploring Operation: 54+46=100, Resulting Numbers: [58, 100]
Generated Node #0,3,3: 67:[58, 100] Operation: 54+46=100
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 67:[58, 100], Operations: ['39+7=46', '54+46=100']
Exploring Operation: 100-58=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 58+100=158, Resulting Numbers: [158]
158,67 unequal: No Solution
Exploring Operation: 58*100=5800, Resulting Numbers: [5800]
5800,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 67:[54, 104], Operations: ['39+7=46', '58+46=104']
Exploring Operation: 104-54=50, Resulting Numbers: [50]
50,67 unequal: No Solution
Exploring Operation: 54*104=5616, Resulting Numbers: [5616]
5616,67 unequal: No Solution
Exploring Operation: 54+104=158, Resulting Numbers: [158]
158,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 67:[46, 112], Operations: ['39+7=46', '58+54=112']
Exploring Operation: 46+112=158, Resulting Numbers: [158]
158,67 unequal: No Solution
Exploring Operation: 112-46=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 46*112=5152, Resulting Numbers: [5152]
5152,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 67:[54, 12], Operations: ['39+7=46', '58-46=12']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 54+12=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 54*12=648, Resulting Numbers: [648]
648,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 67:[58, 39, 61], Operations: ['7+54=61']
Exploring Operation: 39+61=100, Resulting Numbers: [58, 100]
Generated Node #0,2,0: 67:[58, 100] Operation: 39+61=100
Exploring Operation: 58+39=97, Resulting Numbers: [61, 97]
Generated Node #0,2,1: 67:[61, 97] Operation: 58+39=97
Exploring Operation: 61-39=22, Resulting Numbers: [58, 22]
Generated Node #0,2,2: 67:[58, 22] Operation: 61-39=22
Exploring Operation: 58-39=19, Resulting Numbers: [61, 19]
Generated Node #0,2,3: 67:[61, 19] Operation: 58-39=19
Moving to Node #0,0
Current State: 67:[39, 54, 51], Operations: ['58-7=51']
Exploring Operation: 39+54=93, Resulting Numbers: [51, 93]
Generated Node #0,0,0: 67:[51, 93] Operation: 39+54=93
Exploring Operation: 39+51=90, Resulting Numbers: [54, 90]
Generated Node #0,0,1: 67:[54, 90] Operation: 39+51=90
Exploring Operation: 54-39=15, Resulting Numbers: [51, 15]
Generated Node #0,0,2: 67:[51, 15] Operation: 54-39=15
Exploring Operation: 54+51=105, Resulting Numbers: [39, 105]
Generated Node #0,0,3: 67:[39, 105] Operation: 54+51=105
Moving to Node #0,1,1
Current State: 67:[65, 93], Operations: ['58+7=65', '39+54=93']
Exploring Operation: 65+93=158, Resulting Numbers: [158]
158,67 unequal: No Solution
Exploring Operation: 93-65=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 65*93=6045, Resulting Numbers: [6045]
6045,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[61, 97], Operations: ['7+54=61', '58+39=97']
Exploring Operation: 61+97=158, Resulting Numbers: [158]
158,67 unequal: No Solution
Exploring Operation: 97-61=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 61*97=5917, Resulting Numbers: [5917]
5917,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[54, 90], Operations: ['58-7=51', '39+51=90']
Exploring Operation: 90-54=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 54*90=4860, Resulting Numbers: [4860]
4860,67 unequal: No Solution
Exploring Operation: 54+90=144, Resulting Numbers: [144]
144,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[58, 100], Operations: ['7+54=61', '39+61=100']
Exploring Operation: 58*100=5800, Resulting Numbers: [5800]
5800,67 unequal: No Solution
Exploring Operation: 58+100=158, Resulting Numbers: [158]
158,67 unequal: No Solution
Exploring Operation: 100-58=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[51, 93], Operations: ['58-7=51', '39+54=93']
Exploring Operation: 51*93=4743, Resulting Numbers: [4743]
4743,67 unequal: No Solution
Exploring Operation: 51+93=144, Resulting Numbers: [144]
144,67 unequal: No Solution
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[54, 104], Operations: ['58+7=65', '39+65=104']
Exploring Operation: 54+104=158, Resulting Numbers: [158]
158,67 unequal: No Solution
Exploring Operation: 54*104=5616, Resulting Numbers: [5616]
5616,67 unequal: No Solution
Exploring Operation: 104-54=50, Resulting Numbers: [50]
50,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[58, 22], Operations: ['7+54=61', '61-39=22']
Exploring Operation: 58*22=1276, Resulting Numbers: [1276]
1276,67 unequal: No Solution
Exploring Operation: 58+22=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[54, 26], Operations: ['58+7=65', '65-39=26']
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,67 unequal: No Solution
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[65, 15], Operations: ['58+7=65', '54-39=15']
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,67 unequal: No Solution
Exploring Operation: 65+15=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 65*15=975, Resulting Numbers: [975]
975,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[61, 19], Operations: ['7+54=61', '58-39=19']
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 61*19=1159, Resulting Numbers: [1159]
1159,67 unequal: No Solution
Exploring Operation: 61+19=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[39, 105], Operations: ['58-7=51', '54+51=105']
Exploring Operation: 105-39=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 39*105=4095, Resulting Numbers: [4095]
4095,67 unequal: No Solution
Exploring Operation: 39+105=144, Resulting Numbers: [144]
144,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[51, 15], Operations: ['58-7=51', '54-39=15']
Exploring Operation: 51*15=765, Resulting Numbers: [765]
765,67 unequal: No Solution
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 51+15=66, Resulting Numbers: [66]
66,67 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
82,
90,
10,
41
] | 82 | [
"90-82=8",
"10-8=2",
"41*2=82"
] | Current State: 82:[82, 90, 10, 41], Operations: []
Exploring Operation: 90-82=8, Resulting Numbers: [10, 41, 8]
Generated Node #2: [10, 41, 8] from Operation: 90-82=8
Current State: 82:[10, 41, 8], Operations: ['90-82=8']
Exploring Operation: 10-8=2, Resulting Numbers: [41, 2]
Generated Node #3: [41, 2] from Operation: 10-8=2
Current State: 82:[41, 2], Operations: ['90-82=8', '10-8=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[82, 90, 10, 41], Operations: []
Exploring Operation: 90-10=80, Resulting Numbers: [82, 41, 80]
Generated Node #0,0: 82:[82, 41, 80] Operation: 90-10=80
Exploring Operation: 90-82=8, Resulting Numbers: [10, 41, 8]
Generated Node #0,1: 82:[10, 41, 8] Operation: 90-82=8
Exploring Operation: 90/10=9, Resulting Numbers: [82, 41, 9]
Generated Node #0,2: 82:[82, 41, 9] Operation: 90/10=9
Moving to Node #0,0
Current State: 82:[82, 41, 80], Operations: ['90-10=80']
Exploring Operation: 82-41=41, Resulting Numbers: [80, 41]
Generated Node #0,0,0: 82:[80, 41] Operation: 82-41=41
Exploring Operation: 82-80=2, Resulting Numbers: [41, 2]
Generated Node #0,0,1: 82:[41, 2] Operation: 82-80=2
Exploring Operation: 82/41=2, Resulting Numbers: [80, 2]
Generated Node #0,0,2: 82:[80, 2] Operation: 82/41=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 82:[41, 2], Operations: ['90-10=80', '82-80=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[82, 90, 10, 41], Operations: []
Exploring Operation: 90-10=80, Resulting Numbers: [82, 41, 80]
Generated Node #0,0: 82:[82, 41, 80] Operation: 90-10=80
Moving to Node #0,0
Current State: 82:[82, 41, 80], Operations: ['90-10=80']
Exploring Operation: 82-80=2, Resulting Numbers: [41, 2]
Generated Node #0,0,1: 82:[41, 2] Operation: 82-80=2
Moving to Node #0,0,1
Current State: 82:[41, 2], Operations: ['90-10=80', '82-80=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
74,
8,
5,
55
] | 77 | [
"74-8=66",
"55/5=11",
"66+11=77"
] | Current State: 77:[74, 8, 5, 55], Operations: []
Exploring Operation: 74-8=66, Resulting Numbers: [5, 55, 66]
Generated Node #2: [5, 55, 66] from Operation: 74-8=66
Current State: 77:[5, 55, 66], Operations: ['74-8=66']
Exploring Operation: 55/5=11, Resulting Numbers: [66, 11]
Generated Node #3: [66, 11] from Operation: 55/5=11
Current State: 77:[66, 11], Operations: ['74-8=66', '55/5=11']
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[74, 8, 5, 55], Operations: []
Exploring Operation: 74-55=19, Resulting Numbers: [8, 5, 19]
Generated Node #0,0: 77:[8, 5, 19] Operation: 74-55=19
Exploring Operation: 55/5=11, Resulting Numbers: [74, 8, 11]
Generated Node #0,1: 77:[74, 8, 11] Operation: 55/5=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[74, 8, 11], Operations: ['55/5=11']
Exploring Operation: 74+8=82, Resulting Numbers: [11, 82]
Generated Node #0,1,0: 77:[11, 82] Operation: 74+8=82
Exploring Operation: 11-8=3, Resulting Numbers: [74, 3]
Generated Node #0,1,1: 77:[74, 3] Operation: 11-8=3
Moving to Node #0,1,0
Current State: 77:[11, 82], Operations: ['55/5=11', '74+8=82']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 11+82=93, Resulting Numbers: [93]
93,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[74, 3], Operations: ['55/5=11', '11-8=3']
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[74, 8, 5, 55], Operations: []
Exploring Operation: 55/5=11, Resulting Numbers: [74, 8, 11]
Generated Node #0,1: 77:[74, 8, 11] Operation: 55/5=11
Moving to Node #0,1
Current State: 77:[74, 8, 11], Operations: ['55/5=11']
Exploring Operation: 11-8=3, Resulting Numbers: [74, 3]
Generated Node #0,1,1: 77:[74, 3] Operation: 11-8=3
Moving to Node #0,1,1
Current State: 77:[74, 3], Operations: ['55/5=11', '11-8=3']
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
59,
68,
5,
54
] | 58 | [
"68-59=9",
"54-5=49",
"9+49=58"
] | Current State: 58:[59, 68, 5, 54], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [5, 54, 9]
Generated Node #2: [5, 54, 9] from Operation: 68-59=9
Current State: 58:[5, 54, 9], Operations: ['68-59=9']
Exploring Operation: 54-5=49, Resulting Numbers: [9, 49]
Generated Node #3: [9, 49] from Operation: 54-5=49
Current State: 58:[9, 49], Operations: ['68-59=9', '54-5=49']
Exploring Operation: 9+49=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[59, 68, 5, 54], Operations: []
Exploring Operation: 68-59=9, Resulting Numbers: [5, 54, 9]
Generated Node #0,0: 58:[5, 54, 9] Operation: 68-59=9
Exploring Operation: 5+54=59, Resulting Numbers: [59, 68, 59]
Generated Node #0,1: 58:[59, 68, 59] Operation: 5+54=59
Exploring Operation: 68-5=63, Resulting Numbers: [59, 54, 63]
Generated Node #0,2: 58:[59, 54, 63] Operation: 68-5=63
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[59, 54, 63], Operations: ['68-5=63']
Exploring Operation: 59-54=5, Resulting Numbers: [63, 5]
Generated Node #0,2,0: 58:[63, 5] Operation: 59-54=5
Exploring Operation: 63-54=9, Resulting Numbers: [59, 9]
Generated Node #0,2,1: 58:[59, 9] Operation: 63-54=9
Exploring Operation: 63-59=4, Resulting Numbers: [54, 4]
Generated Node #0,2,2: 58:[54, 4] Operation: 63-59=4
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 58:[54, 4], Operations: ['68-5=63', '63-59=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[59, 68, 5, 54], Operations: []
Exploring Operation: 68-5=63, Resulting Numbers: [59, 54, 63]
Generated Node #0,2: 58:[59, 54, 63] Operation: 68-5=63
Moving to Node #0,2
Current State: 58:[59, 54, 63], Operations: ['68-5=63']
Exploring Operation: 63-59=4, Resulting Numbers: [54, 4]
Generated Node #0,2,2: 58:[54, 4] Operation: 63-59=4
Moving to Node #0,2,2
Current State: 58:[54, 4], Operations: ['68-5=63', '63-59=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
32,
82,
49,
24
] | 75 | [
"82-32=50",
"49-24=25",
"50+25=75"
] | Current State: 75:[32, 82, 49, 24], Operations: []
Exploring Operation: 82-32=50, Resulting Numbers: [49, 24, 50]
Generated Node #2: [49, 24, 50] from Operation: 82-32=50
Current State: 75:[49, 24, 50], Operations: ['82-32=50']
Exploring Operation: 49-24=25, Resulting Numbers: [50, 25]
Generated Node #3: [50, 25] from Operation: 49-24=25
Current State: 75:[50, 25], Operations: ['82-32=50', '49-24=25']
Exploring Operation: 50+25=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[32, 82, 49, 24], Operations: []
Exploring Operation: 82-49=33, Resulting Numbers: [32, 24, 33]
Generated Node #0,0: 75:[32, 24, 33] Operation: 82-49=33
Exploring Operation: 49-24=25, Resulting Numbers: [32, 82, 25]
Generated Node #0,1: 75:[32, 82, 25] Operation: 49-24=25
Exploring Operation: 49-32=17, Resulting Numbers: [82, 24, 17]
Generated Node #0,2: 75:[82, 24, 17] Operation: 49-32=17
Exploring Operation: 49+24=73, Resulting Numbers: [32, 82, 73]
Generated Node #0,3: 75:[32, 82, 73] Operation: 49+24=73
Exploring Operation: 32+49=81, Resulting Numbers: [82, 24, 81]
Generated Node #0,4: 75:[82, 24, 81] Operation: 32+49=81
Moving to Node #0,2
Current State: 75:[82, 24, 17], Operations: ['49-32=17']
Exploring Operation: 82-17=65, Resulting Numbers: [24, 65]
Generated Node #0,2,0: 75:[24, 65] Operation: 82-17=65
Exploring Operation: 82-24=58, Resulting Numbers: [17, 58]
Generated Node #0,2,1: 75:[17, 58] Operation: 82-24=58
Exploring Operation: 24+17=41, Resulting Numbers: [82, 41]
Generated Node #0,2,2: 75:[82, 41] Operation: 24+17=41
Exploring Operation: 24-17=7, Resulting Numbers: [82, 7]
Generated Node #0,2,3: 75:[82, 7] Operation: 24-17=7
Exploring Operation: 82+17=99, Resulting Numbers: [24, 99]
Generated Node #0,2,4: 75:[24, 99] Operation: 82+17=99
Moving to Node #0,4
Current State: 75:[82, 24, 81], Operations: ['32+49=81']
Exploring Operation: 82+24=106, Resulting Numbers: [81, 106]
Generated Node #0,4,0: 75:[81, 106] Operation: 82+24=106
Exploring Operation: 82-24=58, Resulting Numbers: [81, 58]
Generated Node #0,4,1: 75:[81, 58] Operation: 82-24=58
Exploring Operation: 81-24=57, Resulting Numbers: [82, 57]
Generated Node #0,4,2: 75:[82, 57] Operation: 81-24=57
Exploring Operation: 82-81=1, Resulting Numbers: [24, 1]
Generated Node #0,4,3: 75:[24, 1] Operation: 82-81=1
Exploring Operation: 24+81=105, Resulting Numbers: [82, 105]
Generated Node #0,4,4: 75:[82, 105] Operation: 24+81=105
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 75:[24, 1], Operations: ['32+49=81', '82-81=1']
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 75:[81, 58], Operations: ['32+49=81', '82-24=58']
Exploring Operation: 81+58=139, Resulting Numbers: [139]
139,75 unequal: No Solution
Exploring Operation: 81*58=4698, Resulting Numbers: [4698]
4698,75 unequal: No Solution
Exploring Operation: 81-58=23, Resulting Numbers: [23]
23,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 75:[82, 57], Operations: ['32+49=81', '81-24=57']
Exploring Operation: 82-57=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 82+57=139, Resulting Numbers: [139]
139,75 unequal: No Solution
Exploring Operation: 82*57=4674, Resulting Numbers: [4674]
4674,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 75:[81, 106], Operations: ['32+49=81', '82+24=106']
Exploring Operation: 81+106=187, Resulting Numbers: [187]
187,75 unequal: No Solution
Exploring Operation: 106-81=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 81*106=8586, Resulting Numbers: [8586]
8586,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 75:[82, 105], Operations: ['32+49=81', '24+81=105']
Exploring Operation: 105-82=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Exploring Operation: 82+105=187, Resulting Numbers: [187]
187,75 unequal: No Solution
Exploring Operation: 82*105=8610, Resulting Numbers: [8610]
8610,75 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: 75:[32, 82, 25], Operations: ['49-24=25']
Exploring Operation: 32+25=57, Resulting Numbers: [82, 57]
Generated Node #0,1,0: 75:[82, 57] Operation: 32+25=57
Exploring Operation: 32+82=114, Resulting Numbers: [25, 114]
Generated Node #0,1,1: 75:[25, 114] Operation: 32+82=114
Exploring Operation: 32-25=7, Resulting Numbers: [82, 7]
Generated Node #0,1,2: 75:[82, 7] Operation: 32-25=7
Exploring Operation: 82-32=50, Resulting Numbers: [25, 50]
Generated Node #0,1,3: 75:[25, 50] Operation: 82-32=50
Exploring Operation: 82-25=57, Resulting Numbers: [32, 57]
Generated Node #0,1,4: 75:[32, 57] Operation: 82-25=57
Moving to Node #0,0
Current State: 75:[32, 24, 33], Operations: ['82-49=33']
Exploring Operation: 32-24=8, Resulting Numbers: [33, 8]
Generated Node #0,0,0: 75:[33, 8] Operation: 32-24=8
Exploring Operation: 32+33=65, Resulting Numbers: [24, 65]
Generated Node #0,0,1: 75:[24, 65] Operation: 32+33=65
Exploring Operation: 33-24=9, Resulting Numbers: [32, 9]
Generated Node #0,0,2: 75:[32, 9] Operation: 33-24=9
Exploring Operation: 33-32=1, Resulting Numbers: [24, 1]
Generated Node #0,0,3: 75:[24, 1] Operation: 33-32=1
Exploring Operation: 24+33=57, Resulting Numbers: [32, 57]
Generated Node #0,0,4: 75:[32, 57] Operation: 24+33=57
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 75:[24, 1], Operations: ['82-49=33', '33-32=1']
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[33, 8], Operations: ['82-49=33', '32-24=8']
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,75 unequal: No Solution
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[24, 65], Operations: ['82-49=33', '32+33=65']
Exploring Operation: 24*65=1560, Resulting Numbers: [1560]
1560,75 unequal: No Solution
Exploring Operation: 24+65=89, Resulting Numbers: [89]
89,75 unequal: No Solution
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 75:[32, 9], Operations: ['82-49=33', '33-24=9']
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 75:[32, 57], Operations: ['82-49=33', '24+33=57']
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 32+57=89, Resulting Numbers: [89]
89,75 unequal: No Solution
Exploring Operation: 32*57=1824, Resulting Numbers: [1824]
1824,75 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: 75:[32, 82, 73], Operations: ['49+24=73']
Exploring Operation: 32+82=114, Resulting Numbers: [73, 114]
Generated Node #0,3,0: 75:[73, 114] Operation: 32+82=114
Exploring Operation: 82-73=9, Resulting Numbers: [32, 9]
Generated Node #0,3,1: 75:[32, 9] Operation: 82-73=9
Exploring Operation: 82-32=50, Resulting Numbers: [73, 50]
Generated Node #0,3,2: 75:[73, 50] Operation: 82-32=50
Exploring Operation: 73-32=41, Resulting Numbers: [82, 41]
Generated Node #0,3,3: 75:[82, 41] Operation: 73-32=41
Exploring Operation: 32+73=105, Resulting Numbers: [82, 105]
Generated Node #0,3,4: 75:[82, 105] Operation: 32+73=105
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 75:[32, 9], Operations: ['49+24=73', '82-73=9']
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 75:[82, 41], Operations: ['49+24=73', '73-32=41']
Exploring Operation: 82/41=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 82*41=3362, Resulting Numbers: [3362]
3362,75 unequal: No Solution
Exploring Operation: 82+41=123, Resulting Numbers: [123]
123,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 75:[73, 50], Operations: ['49+24=73', '82-32=50']
Exploring Operation: 73+50=123, Resulting Numbers: [123]
123,75 unequal: No Solution
Exploring Operation: 73*50=3650, Resulting Numbers: [3650]
3650,75 unequal: No Solution
Exploring Operation: 73-50=23, Resulting Numbers: [23]
23,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 75:[82, 105], Operations: ['49+24=73', '32+73=105']
Exploring Operation: 105-82=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Exploring Operation: 82+105=187, Resulting Numbers: [187]
187,75 unequal: No Solution
Exploring Operation: 82*105=8610, Resulting Numbers: [8610]
8610,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 75:[73, 114], Operations: ['49+24=73', '32+82=114']
Exploring Operation: 73*114=8322, Resulting Numbers: [8322]
8322,75 unequal: No Solution
Exploring Operation: 114-73=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 73+114=187, Resulting Numbers: [187]
187,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 75:[82, 7], Operations: ['49-32=17', '24-17=7']
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,75 unequal: No Solution
Exploring Operation: 82*7=574, Resulting Numbers: [574]
574,75 unequal: No Solution
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[32, 82, 49, 24], Operations: []
Exploring Operation: 49-32=17, Resulting Numbers: [82, 24, 17]
Generated Node #0,2: 75:[82, 24, 17] Operation: 49-32=17
Moving to Node #0,2
Current State: 75:[82, 24, 17], Operations: ['49-32=17']
Exploring Operation: 24-17=7, Resulting Numbers: [82, 7]
Generated Node #0,2,3: 75:[82, 7] Operation: 24-17=7
Moving to Node #0,2,3
Current State: 75:[82, 7], Operations: ['49-32=17', '24-17=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.926215 | hs_5 | sum_heuristic |
[
8,
37,
42,
43
] | 32 | [
"37+43=80",
"80/8=10",
"42-10=32"
] | Current State: 32:[8, 37, 42, 43], Operations: []
Exploring Operation: 37+43=80, Resulting Numbers: [8, 42, 80]
Generated Node #2: [8, 42, 80] from Operation: 37+43=80
Current State: 32:[8, 42, 80], Operations: ['37+43=80']
Exploring Operation: 80/8=10, Resulting Numbers: [42, 10]
Generated Node #3: [42, 10] from Operation: 80/8=10
Current State: 32:[42, 10], Operations: ['37+43=80', '80/8=10']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[8, 37, 42, 43], Operations: []
Exploring Operation: 43-8=35, Resulting Numbers: [37, 42, 35]
Generated Node #0,0: 32:[37, 42, 35] Operation: 43-8=35
Exploring Operation: 43-37=6, Resulting Numbers: [8, 42, 6]
Generated Node #0,1: 32:[8, 42, 6] Operation: 43-37=6
Exploring Operation: 42-37=5, Resulting Numbers: [8, 43, 5]
Generated Node #0,2: 32:[8, 43, 5] Operation: 42-37=5
Exploring Operation: 42-8=34, Resulting Numbers: [37, 43, 34]
Generated Node #0,3: 32:[37, 43, 34] Operation: 42-8=34
Exploring Operation: 43-42=1, Resulting Numbers: [8, 37, 1]
Generated Node #0,4: 32:[8, 37, 1] Operation: 43-42=1
Moving to Node #0,4
Current State: 32:[8, 37, 1], Operations: ['43-42=1']
Exploring Operation: 37*1=37, Resulting Numbers: [8, 37]
Generated Node #0,4,0: 32:[8, 37] Operation: 37*1=37
Exploring Operation: 8/1=8, Resulting Numbers: [37, 8]
Generated Node #0,4,1: 32:[37, 8] Operation: 8/1=8
Exploring Operation: 8*1=8, Resulting Numbers: [37, 8]
Generated Node #0,4,2: 32:[37, 8] Operation: 8*1=8
Exploring Operation: 37-8=29, Resulting Numbers: [1, 29]
Generated Node #0,4,3: 32:[1, 29] Operation: 37-8=29
Exploring Operation: 37-1=36, Resulting Numbers: [8, 36]
Generated Node #0,4,4: 32:[8, 36] Operation: 37-1=36
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 32:[1, 29], Operations: ['43-42=1', '37-8=29']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,32 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 32:[8, 36], Operations: ['43-42=1', '37-1=36']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,32 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 32:[8, 37], Operations: ['43-42=1', '37*1=37']
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 8*37=296, Resulting Numbers: [296]
296,32 unequal: No Solution
Exploring Operation: 8+37=45, Resulting Numbers: [45]
45,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 32:[37, 8], Operations: ['43-42=1', '8/1=8']
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,32 unequal: No Solution
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,32 unequal: No Solution
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 32:[37, 8], Operations: ['43-42=1', '8*1=8']
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,32 unequal: No Solution
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,32 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,32 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: 32:[8, 43, 5], Operations: ['42-37=5']
Exploring Operation: 43-8=35, Resulting Numbers: [5, 35]
Generated Node #0,2,0: 32:[5, 35] Operation: 43-8=35
Exploring Operation: 43-5=38, Resulting Numbers: [8, 38]
Generated Node #0,2,1: 32:[8, 38] Operation: 43-5=38
Exploring Operation: 43+5=48, Resulting Numbers: [8, 48]
Generated Node #0,2,2: 32:[8, 48] Operation: 43+5=48
Exploring Operation: 8-5=3, Resulting Numbers: [43, 3]
Generated Node #0,2,3: 32:[43, 3] Operation: 8-5=3
Exploring Operation: 8+5=13, Resulting Numbers: [43, 13]
Generated Node #0,2,4: 32:[43, 13] Operation: 8+5=13
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 32:[5, 35], Operations: ['42-37=5', '43-8=35']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,32 unequal: No Solution
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 32:[8, 38], Operations: ['42-37=5', '43-5=38']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,32 unequal: No Solution
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 32:[43, 3], Operations: ['42-37=5', '8-5=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,32 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 32:[43, 13], Operations: ['42-37=5', '8+5=13']
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,32 unequal: No Solution
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,32 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 32:[8, 48], Operations: ['42-37=5', '43+5=48']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Exploring Operation: 8*48=384, Resulting Numbers: [384]
384,32 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 32:[8, 42, 6], Operations: ['43-37=6']
Exploring Operation: 8+6=14, Resulting Numbers: [42, 14]
Generated Node #0,1,0: 32:[42, 14] Operation: 8+6=14
Exploring Operation: 42/6=7, Resulting Numbers: [8, 7]
Generated Node #0,1,1: 32:[8, 7] Operation: 42/6=7
Exploring Operation: 8-6=2, Resulting Numbers: [42, 2]
Generated Node #0,1,2: 32:[42, 2] Operation: 8-6=2
Exploring Operation: 42-6=36, Resulting Numbers: [8, 36]
Generated Node #0,1,3: 32:[8, 36] Operation: 42-6=36
Exploring Operation: 42-8=34, Resulting Numbers: [6, 34]
Generated Node #0,1,4: 32:[6, 34] Operation: 42-8=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[8, 7], Operations: ['43-37=6', '42/6=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 32:[8, 36], Operations: ['43-37=6', '42-6=36']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 32:[6, 34], Operations: ['43-37=6', '42-8=34']
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 32:[42, 2], Operations: ['43-37=6', '8-6=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[42, 14], Operations: ['43-37=6', '8+6=14']
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 42*14=588, Resulting Numbers: [588]
588,32 unequal: No Solution
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,32 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 32:[37, 42, 35], Operations: ['43-8=35']
Exploring Operation: 42-37=5, Resulting Numbers: [35, 5]
Generated Node #0,0,0: 32:[35, 5] Operation: 42-37=5
Exploring Operation: 37+42=79, Resulting Numbers: [35, 79]
Generated Node #0,0,1: 32:[35, 79] Operation: 37+42=79
Exploring Operation: 37+35=72, Resulting Numbers: [42, 72]
Generated Node #0,0,2: 32:[42, 72] Operation: 37+35=72
Exploring Operation: 42-35=7, Resulting Numbers: [37, 7]
Generated Node #0,0,3: 32:[37, 7] Operation: 42-35=7
Exploring Operation: 37-35=2, Resulting Numbers: [42, 2]
Generated Node #0,0,4: 32:[42, 2] Operation: 37-35=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[35, 5], Operations: ['43-8=35', '42-37=5']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,32 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,32 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 32:[37, 7], Operations: ['43-8=35', '42-35=7']
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,32 unequal: No Solution
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 32:[42, 2], Operations: ['43-8=35', '37-35=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,32 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,32 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[35, 79], Operations: ['43-8=35', '37+42=79']
Exploring Operation: 79-35=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 35+79=114, Resulting Numbers: [114]
114,32 unequal: No Solution
Exploring Operation: 35*79=2765, Resulting Numbers: [2765]
2765,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 32:[42, 72], Operations: ['43-8=35', '37+35=72']
Exploring Operation: 42+72=114, Resulting Numbers: [114]
114,32 unequal: No Solution
Exploring Operation: 42*72=3024, Resulting Numbers: [3024]
3024,32 unequal: No Solution
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,32 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: 32:[37, 43, 34], Operations: ['42-8=34']
Exploring Operation: 43-34=9, Resulting Numbers: [37, 9]
Generated Node #0,3,0: 32:[37, 9] Operation: 43-34=9
Exploring Operation: 37+43=80, Resulting Numbers: [34, 80]
Generated Node #0,3,1: 32:[34, 80] Operation: 37+43=80
Exploring Operation: 37-34=3, Resulting Numbers: [43, 3]
Generated Node #0,3,2: 32:[43, 3] Operation: 37-34=3
Exploring Operation: 37+34=71, Resulting Numbers: [43, 71]
Generated Node #0,3,3: 32:[43, 71] Operation: 37+34=71
Exploring Operation: 43-37=6, Resulting Numbers: [34, 6]
Generated Node #0,3,4: 32:[34, 6] Operation: 43-37=6
Moving to Node #0,3,4
Current State: 32:[34, 6], Operations: ['42-8=34', '43-37=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,32 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[37, 9], Operations: ['42-8=34', '43-34=9']
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 37*9=333, Resulting Numbers: [333]
333,32 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[43, 3], Operations: ['42-8=34', '37-34=3']
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,32 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Moving to Node #0,3,1
Current State: 32:[34, 80], Operations: ['42-8=34', '37+43=80']
Exploring Operation: 34+80=114, Resulting Numbers: [114]
114,32 unequal: No Solution
Exploring Operation: 34*80=2720, Resulting Numbers: [2720]
2720,32 unequal: No Solution
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[43, 71], Operations: ['42-8=34', '37+34=71']
Exploring Operation: 43+71=114, Resulting Numbers: [114]
114,32 unequal: No Solution
Exploring Operation: 71-43=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 43*71=3053, Resulting Numbers: [3053]
3053,32 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
3,
41,
62,
83
] | 65 | [
"3+41=44",
"83-62=21",
"44+21=65"
] | Current State: 65:[3, 41, 62, 83], Operations: []
Exploring Operation: 3+41=44, Resulting Numbers: [62, 83, 44]
Generated Node #2: [62, 83, 44] from Operation: 3+41=44
Current State: 65:[62, 83, 44], Operations: ['3+41=44']
Exploring Operation: 83-62=21, Resulting Numbers: [44, 21]
Generated Node #3: [44, 21] from Operation: 83-62=21
Current State: 65:[44, 21], Operations: ['3+41=44', '83-62=21']
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[3, 41, 62, 83], Operations: []
Exploring Operation: 83-41=42, Resulting Numbers: [3, 62, 42]
Generated Node #0,0: 65:[3, 62, 42] Operation: 83-41=42
Exploring Operation: 62-41=21, Resulting Numbers: [3, 83, 21]
Generated Node #0,1: 65:[3, 83, 21] Operation: 62-41=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[3, 62, 42], Operations: ['83-41=42']
Exploring Operation: 42/3=14, Resulting Numbers: [62, 14]
Generated Node #0,0,0: 65:[62, 14] Operation: 42/3=14
Exploring Operation: 62-42=20, Resulting Numbers: [3, 20]
Generated Node #0,0,1: 65:[3, 20] Operation: 62-42=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[62, 14], Operations: ['83-41=42', '42/3=14']
Exploring Operation: 62+14=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[3, 20], Operations: ['83-41=42', '62-42=20']
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,65 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[3, 83, 21], Operations: ['62-41=21']
Exploring Operation: 3*21=63, Resulting Numbers: [83, 63]
Generated Node #0,1,0: 65:[83, 63] Operation: 3*21=63
Exploring Operation: 83-21=62, Resulting Numbers: [3, 62]
Generated Node #0,1,1: 65:[3, 62] Operation: 83-21=62
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 65:[3, 62], Operations: ['62-41=21', '83-21=62']
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[3, 41, 62, 83], Operations: []
Exploring Operation: 62-41=21, Resulting Numbers: [3, 83, 21]
Generated Node #0,1: 65:[3, 83, 21] Operation: 62-41=21
Moving to Node #0,1
Current State: 65:[3, 83, 21], Operations: ['62-41=21']
Exploring Operation: 83-21=62, Resulting Numbers: [3, 62]
Generated Node #0,1,1: 65:[3, 62] Operation: 83-21=62
Moving to Node #0,1,1
Current State: 65:[3, 62], Operations: ['62-41=21', '83-21=62']
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
55,
48,
90,
78
] | 30 | [
"55*78=4290",
"48*90=4320",
"4320-4290=30"
] | Current State: 30:[55, 48, 90, 78], Operations: []
Exploring Operation: 55*78=4290, Resulting Numbers: [48, 90, 4290]
Generated Node #2: [48, 90, 4290] from Operation: 55*78=4290
Current State: 30:[48, 90, 4290], Operations: ['55*78=4290']
Exploring Operation: 48*90=4320, Resulting Numbers: [4290, 4320]
Generated Node #3: [4290, 4320] from Operation: 48*90=4320
Current State: 30:[4290, 4320], Operations: ['55*78=4290', '48*90=4320']
Exploring Operation: 4320-4290=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[55, 48, 90, 78], Operations: []
Exploring Operation: 90-78=12, Resulting Numbers: [55, 48, 12]
Generated Node #0,0: 30:[55, 48, 12] Operation: 90-78=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[55, 48, 12], Operations: ['90-78=12']
Exploring Operation: 55-48=7, Resulting Numbers: [12, 7]
Generated Node #0,0,0: 30:[12, 7] Operation: 55-48=7
Moving to Node #0,0,0
Current State: 30:[12, 7], Operations: ['90-78=12', '55-48=7']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,30 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 |
[
48,
29,
20,
42
] | 55 | [
"48+29=77",
"42-20=22",
"77-22=55"
] | Current State: 55:[48, 29, 20, 42], Operations: []
Exploring Operation: 48+29=77, Resulting Numbers: [20, 42, 77]
Generated Node #2: [20, 42, 77] from Operation: 48+29=77
Current State: 55:[20, 42, 77], Operations: ['48+29=77']
Exploring Operation: 42-20=22, Resulting Numbers: [77, 22]
Generated Node #3: [77, 22] from Operation: 42-20=22
Current State: 55:[77, 22], Operations: ['48+29=77', '42-20=22']
Exploring Operation: 77-22=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[48, 29, 20, 42], Operations: []
Exploring Operation: 42-29=13, Resulting Numbers: [48, 20, 13]
Generated Node #0,0: 55:[48, 20, 13] Operation: 42-29=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[48, 20, 13], Operations: ['42-29=13']
Exploring Operation: 20-13=7, Resulting Numbers: [48, 7]
Generated Node #0,0,0: 55:[48, 7] Operation: 20-13=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[48, 7], Operations: ['42-29=13', '20-13=7']
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[48, 29, 20, 42], Operations: []
Exploring Operation: 42-29=13, Resulting Numbers: [48, 20, 13]
Generated Node #0,0: 55:[48, 20, 13] Operation: 42-29=13
Moving to Node #0,0
Current State: 55:[48, 20, 13], Operations: ['42-29=13']
Exploring Operation: 20-13=7, Resulting Numbers: [48, 7]
Generated Node #0,0,0: 55:[48, 7] Operation: 20-13=7
Moving to Node #0,0,0
Current State: 55:[48, 7], Operations: ['42-29=13', '20-13=7']
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
56,
7,
25,
8
] | 14 | [
"56*8=448",
"7+25=32",
"448/32=14"
] | Current State: 14:[56, 7, 25, 8], Operations: []
Exploring Operation: 56*8=448, Resulting Numbers: [7, 25, 448]
Generated Node #2: [7, 25, 448] from Operation: 56*8=448
Current State: 14:[7, 25, 448], Operations: ['56*8=448']
Exploring Operation: 7+25=32, Resulting Numbers: [448, 32]
Generated Node #3: [448, 32] from Operation: 7+25=32
Current State: 14:[448, 32], Operations: ['56*8=448', '7+25=32']
Exploring Operation: 448/32=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[56, 7, 25, 8], Operations: []
Exploring Operation: 56/7=8, Resulting Numbers: [25, 8, 8]
Generated Node #0,0: 14:[25, 8, 8] Operation: 56/7=8
Exploring Operation: 25-8=17, Resulting Numbers: [56, 7, 17]
Generated Node #0,1: 14:[56, 7, 17] Operation: 25-8=17
Exploring Operation: 56-8=48, Resulting Numbers: [7, 25, 48]
Generated Node #0,2: 14:[7, 25, 48] Operation: 56-8=48
Exploring Operation: 56/8=7, Resulting Numbers: [7, 25, 7]
Generated Node #0,3: 14:[7, 25, 7] Operation: 56/8=7
Exploring Operation: 56-25=31, Resulting Numbers: [7, 8, 31]
Generated Node #0,4: 14:[7, 8, 31] Operation: 56-25=31
Moving to Node #0,3
Current State: 14:[7, 25, 7], Operations: ['56/8=7']
Exploring Operation: 25-7=18, Resulting Numbers: [7, 18]
Generated Node #0,3,0: 14:[7, 18] Operation: 25-7=18
Exploring Operation: 25-7=18, Resulting Numbers: [7, 18]
Generated Node #0,3,1: 14:[7, 18] Operation: 25-7=18
Exploring Operation: 7+7=14, Resulting Numbers: [25, 14]
Generated Node #0,3,2: 14:[25, 14] Operation: 7+7=14
Exploring Operation: 7/7=1, Resulting Numbers: [25, 1]
Generated Node #0,3,3: 14:[25, 1] Operation: 7/7=1
Exploring Operation: 7-7=0, Resulting Numbers: [25, 0]
Generated Node #0,3,4: 14:[25, 0] Operation: 7-7=0
Moving to Node #0,0
Current State: 14:[25, 8, 8], Operations: ['56/7=8']
Exploring Operation: 8/8=1, Resulting Numbers: [25, 1]
Generated Node #0,0,0: 14:[25, 1] Operation: 8/8=1
Exploring Operation: 25-8=17, Resulting Numbers: [8, 17]
Generated Node #0,0,1: 14:[8, 17] Operation: 25-8=17
Exploring Operation: 25-8=17, Resulting Numbers: [8, 17]
Generated Node #0,0,2: 14:[8, 17] Operation: 25-8=17
Exploring Operation: 8+8=16, Resulting Numbers: [25, 16]
Generated Node #0,0,3: 14:[25, 16] Operation: 8+8=16
Exploring Operation: 8-8=0, Resulting Numbers: [25, 0]
Generated Node #0,0,4: 14:[25, 0] Operation: 8-8=0
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[8, 17], Operations: ['56/7=8', '25-8=17']
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[8, 17], Operations: ['56/7=8', '25-8=17']
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[25, 1], Operations: ['56/7=8', '8/8=1']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 14:[25, 16], Operations: ['56/7=8', '8+8=16']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,14 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 14:[25, 0], Operations: ['56/7=8', '8-8=0']
Exploring Operation: 25+0=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 25*0=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 25-0=25, Resulting Numbers: [25]
25,14 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: 14:[7, 8, 31], Operations: ['56-25=31']
Exploring Operation: 7+31=38, Resulting Numbers: [8, 38]
Generated Node #0,4,0: 14:[8, 38] Operation: 7+31=38
Exploring Operation: 8-7=1, Resulting Numbers: [31, 1]
Generated Node #0,4,1: 14:[31, 1] Operation: 8-7=1
Exploring Operation: 31-8=23, Resulting Numbers: [7, 23]
Generated Node #0,4,2: 14:[7, 23] Operation: 31-8=23
Exploring Operation: 7+8=15, Resulting Numbers: [31, 15]
Generated Node #0,4,3: 14:[31, 15] Operation: 7+8=15
Exploring Operation: 31-7=24, Resulting Numbers: [8, 24]
Generated Node #0,4,4: 14:[8, 24] Operation: 31-7=24
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 14:[7, 23], Operations: ['56-25=31', '31-8=23']
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 14:[8, 24], Operations: ['56-25=31', '31-7=24']
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,14 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,14 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,14 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 14:[31, 1], Operations: ['56-25=31', '8-7=1']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,14 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,14 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 14:[31, 15], Operations: ['56-25=31', '7+8=15']
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 31+15=46, Resulting Numbers: [46]
46,14 unequal: No Solution
Exploring Operation: 31*15=465, Resulting Numbers: [465]
465,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 14:[8, 38], Operations: ['56-25=31', '7+31=38']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,14 unequal: No Solution
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,14 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: 14:[56, 7, 17], Operations: ['25-8=17']
Exploring Operation: 56+7=63, Resulting Numbers: [17, 63]
Generated Node #0,1,0: 14:[17, 63] Operation: 56+7=63
Exploring Operation: 56-7=49, Resulting Numbers: [17, 49]
Generated Node #0,1,1: 14:[17, 49] Operation: 56-7=49
Exploring Operation: 56-17=39, Resulting Numbers: [7, 39]
Generated Node #0,1,2: 14:[7, 39] Operation: 56-17=39
Exploring Operation: 56/7=8, Resulting Numbers: [17, 8]
Generated Node #0,1,3: 14:[17, 8] Operation: 56/7=8
Exploring Operation: 17-7=10, Resulting Numbers: [56, 10]
Generated Node #0,1,4: 14:[56, 10] Operation: 17-7=10
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 14:[17, 8], Operations: ['25-8=17', '56/7=8']
Exploring Operation: 17*8=136, Resulting Numbers: [136]
136,14 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 14:[7, 39], Operations: ['25-8=17', '56-17=39']
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,14 unequal: No Solution
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,14 unequal: No Solution
Exploring Operation: 7*39=273, Resulting Numbers: [273]
273,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[17, 49], Operations: ['25-8=17', '56-7=49']
Exploring Operation: 17+49=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 17*49=833, Resulting Numbers: [833]
833,14 unequal: No Solution
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 14:[56, 10], Operations: ['25-8=17', '17-7=10']
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,14 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,14 unequal: No Solution
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[17, 63], Operations: ['25-8=17', '56+7=63']
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,14 unequal: No Solution
Exploring Operation: 17+63=80, Resulting Numbers: [80]
80,14 unequal: No Solution
Exploring Operation: 17*63=1071, Resulting Numbers: [1071]
1071,14 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: 14:[7, 25, 48], Operations: ['56-8=48']
Exploring Operation: 25-7=18, Resulting Numbers: [48, 18]
Generated Node #0,2,0: 14:[48, 18] Operation: 25-7=18
Exploring Operation: 48-25=23, Resulting Numbers: [7, 23]
Generated Node #0,2,1: 14:[7, 23] Operation: 48-25=23
Exploring Operation: 7+25=32, Resulting Numbers: [48, 32]
Generated Node #0,2,2: 14:[48, 32] Operation: 7+25=32
Exploring Operation: 7+48=55, Resulting Numbers: [25, 55]
Generated Node #0,2,3: 14:[25, 55] Operation: 7+48=55
Exploring Operation: 48-7=41, Resulting Numbers: [25, 41]
Generated Node #0,2,4: 14:[25, 41] Operation: 48-7=41
Moving to Node #0,3,0
Current State: 14:[7, 18], Operations: ['56/8=7', '25-7=18']
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,14 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Moving to Node #0,3,1
Current State: 14:[7, 18], Operations: ['56/8=7', '25-7=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,14 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[7, 23], Operations: ['56-8=48', '48-25=23']
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,14 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[25, 14], Operations: ['56/8=7', '7+7=14']
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 25*14=350, Resulting Numbers: [350]
350,14 unequal: No Solution
Moving to Node #0,3,3
Current State: 14:[25, 1], Operations: ['56/8=7', '7/7=1']
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,14 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Moving to Node #0,3,4
Current State: 14:[25, 0], Operations: ['56/8=7', '7-7=0']
Exploring Operation: 25*0=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 25+0=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 25-0=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[48, 18], Operations: ['56-8=48', '25-7=18']
Exploring Operation: 48*18=864, Resulting Numbers: [864]
864,14 unequal: No Solution
Exploring Operation: 48+18=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Moving to Node #0,2,4
Current State: 14:[25, 41], Operations: ['56-8=48', '48-7=41']
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,14 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[48, 32], Operations: ['56-8=48', '7+25=32']
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,14 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 48*32=1536, Resulting Numbers: [1536]
1536,14 unequal: No Solution
Moving to Node #0,2,3
Current State: 14:[25, 55], Operations: ['56-8=48', '7+48=55']
Exploring Operation: 25*55=1375, Resulting Numbers: [1375]
1375,14 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 25+55=80, Resulting Numbers: [80]
80,14 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
14,
93,
6,
18
] | 76 | [
"93-14=79",
"18/6=3",
"79-3=76"
] | Current State: 76:[14, 93, 6, 18], Operations: []
Exploring Operation: 93-14=79, Resulting Numbers: [6, 18, 79]
Generated Node #2: [6, 18, 79] from Operation: 93-14=79
Current State: 76:[6, 18, 79], Operations: ['93-14=79']
Exploring Operation: 18/6=3, Resulting Numbers: [79, 3]
Generated Node #3: [79, 3] from Operation: 18/6=3
Current State: 76:[79, 3], Operations: ['93-14=79', '18/6=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[14, 93, 6, 18], Operations: []
Exploring Operation: 93-14=79, Resulting Numbers: [6, 18, 79]
Generated Node #0,0: 76:[6, 18, 79] Operation: 93-14=79
Moving to Node #0,0
Current State: 76:[6, 18, 79], Operations: ['93-14=79']
Exploring Operation: 18/6=3, Resulting Numbers: [79, 3]
Generated Node #0,0,0: 76:[79, 3] Operation: 18/6=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[79, 3], Operations: ['93-14=79', '18/6=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[14, 93, 6, 18], Operations: []
Exploring Operation: 93-14=79, Resulting Numbers: [6, 18, 79]
Generated Node #0,0: 76:[6, 18, 79] Operation: 93-14=79
Moving to Node #0,0
Current State: 76:[6, 18, 79], Operations: ['93-14=79']
Exploring Operation: 18/6=3, Resulting Numbers: [79, 3]
Generated Node #0,0,0: 76:[79, 3] Operation: 18/6=3
Moving to Node #0,0,0
Current State: 76:[79, 3], Operations: ['93-14=79', '18/6=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
73,
9,
25,
35
] | 92 | [
"73+9=82",
"35-25=10",
"82+10=92"
] | Current State: 92:[73, 9, 25, 35], Operations: []
Exploring Operation: 73+9=82, Resulting Numbers: [25, 35, 82]
Generated Node #2: [25, 35, 82] from Operation: 73+9=82
Current State: 92:[25, 35, 82], Operations: ['73+9=82']
Exploring Operation: 35-25=10, Resulting Numbers: [82, 10]
Generated Node #3: [82, 10] from Operation: 35-25=10
Current State: 92:[82, 10], Operations: ['73+9=82', '35-25=10']
Exploring Operation: 82+10=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[73, 9, 25, 35], Operations: []
Exploring Operation: 73-25=48, Resulting Numbers: [9, 35, 48]
Generated Node #0,0: 92:[9, 35, 48] Operation: 73-25=48
Exploring Operation: 73-35=38, Resulting Numbers: [9, 25, 38]
Generated Node #0,1: 92:[9, 25, 38] Operation: 73-35=38
Exploring Operation: 73+25=98, Resulting Numbers: [9, 35, 98]
Generated Node #0,2: 92:[9, 35, 98] Operation: 73+25=98
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[9, 25, 38], Operations: ['73-35=38']
Exploring Operation: 38-25=13, Resulting Numbers: [9, 13]
Generated Node #0,1,0: 92:[9, 13] Operation: 38-25=13
Exploring Operation: 9+38=47, Resulting Numbers: [25, 47]
Generated Node #0,1,1: 92:[25, 47] Operation: 9+38=47
Exploring Operation: 38-9=29, Resulting Numbers: [25, 29]
Generated Node #0,1,2: 92:[25, 29] Operation: 38-9=29
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[25, 47], Operations: ['73-35=38', '9+38=47']
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,92 unequal: No Solution
Exploring Operation: 25*47=1175, Resulting Numbers: [1175]
1175,92 unequal: No Solution
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,92 unequal: No Solution
No 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: 92:[25, 29], Operations: ['73-35=38', '38-9=29']
Exploring Operation: 25+29=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Exploring Operation: 25*29=725, Resulting Numbers: [725]
725,92 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,92 unequal: No Solution
No 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: 92:[9, 13], Operations: ['73-35=38', '38-25=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,92 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,92 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: 92:[9, 35, 48], Operations: ['73-25=48']
Exploring Operation: 35-9=26, Resulting Numbers: [48, 26]
Generated Node #0,0,0: 92:[48, 26] Operation: 35-9=26
Exploring Operation: 9+35=44, Resulting Numbers: [48, 44]
Generated Node #0,0,1: 92:[48, 44] Operation: 9+35=44
Exploring Operation: 35+48=83, Resulting Numbers: [9, 83]
Generated Node #0,0,2: 92:[9, 83] Operation: 35+48=83
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 92:[48, 44], Operations: ['73-25=48', '9+35=44']
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 48+44=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[73, 9, 25, 35], Operations: []
Exploring Operation: 73-25=48, Resulting Numbers: [9, 35, 48]
Generated Node #0,0: 92:[9, 35, 48] Operation: 73-25=48
Moving to Node #0,0
Current State: 92:[9, 35, 48], Operations: ['73-25=48']
Exploring Operation: 9+35=44, Resulting Numbers: [48, 44]
Generated Node #0,0,1: 92:[48, 44] Operation: 9+35=44
Moving to Node #0,0,1
Current State: 92:[48, 44], Operations: ['73-25=48', '9+35=44']
Exploring Operation: 48+44=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
50,
4,
76,
39
] | 91 | [
"50+4=54",
"76-39=37",
"54+37=91"
] | Current State: 91:[50, 4, 76, 39], Operations: []
Exploring Operation: 50+4=54, Resulting Numbers: [76, 39, 54]
Generated Node #2: [76, 39, 54] from Operation: 50+4=54
Current State: 91:[76, 39, 54], Operations: ['50+4=54']
Exploring Operation: 76-39=37, Resulting Numbers: [54, 37]
Generated Node #3: [54, 37] from Operation: 76-39=37
Current State: 91:[54, 37], Operations: ['50+4=54', '76-39=37']
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[50, 4, 76, 39], Operations: []
Exploring Operation: 50+39=89, Resulting Numbers: [4, 76, 89]
Generated Node #0,0: 91:[4, 76, 89] Operation: 50+39=89
Moving to Node #0,0
Current State: 91:[4, 76, 89], Operations: ['50+39=89']
Exploring Operation: 89-76=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 91:[4, 13] Operation: 89-76=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[4, 13], Operations: ['50+39=89', '89-76=13']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
65,
84,
26,
95
] | 46 | [
"26*95=2470",
"2470/65=38",
"84-38=46"
] | Current State: 46:[65, 84, 26, 95], Operations: []
Exploring Operation: 26*95=2470, Resulting Numbers: [65, 84, 2470]
Generated Node #2: [65, 84, 2470] from Operation: 26*95=2470
Current State: 46:[65, 84, 2470], Operations: ['26*95=2470']
Exploring Operation: 2470/65=38, Resulting Numbers: [84, 38]
Generated Node #3: [84, 38] from Operation: 2470/65=38
Current State: 46:[84, 38], Operations: ['26*95=2470', '2470/65=38']
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[65, 84, 26, 95], Operations: []
Exploring Operation: 95-84=11, Resulting Numbers: [65, 26, 11]
Generated Node #0,0: 46:[65, 26, 11] Operation: 95-84=11
Exploring Operation: 95-65=30, Resulting Numbers: [84, 26, 30]
Generated Node #0,1: 46:[84, 26, 30] Operation: 95-65=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[65, 26, 11], Operations: ['95-84=11']
Exploring Operation: 65-26=39, Resulting Numbers: [11, 39]
Generated Node #0,0,0: 46:[11, 39] Operation: 65-26=39
Exploring Operation: 65-11=54, Resulting Numbers: [26, 54]
Generated Node #0,0,1: 46:[26, 54] Operation: 65-11=54
Moving to Node #0,0,1
Current State: 46:[26, 54], Operations: ['95-84=11', '65-11=54']
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 26+54=80, Resulting Numbers: [80]
80,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[11, 39], Operations: ['95-84=11', '65-26=39']
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,46 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,46 unequal: No Solution
No 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:[84, 26, 30], Operations: ['95-65=30']
Exploring Operation: 84-26=58, Resulting Numbers: [30, 58]
Generated Node #0,1,0: 46:[30, 58] Operation: 84-26=58
Exploring Operation: 84-30=54, Resulting Numbers: [26, 54]
Generated Node #0,1,1: 46:[26, 54] Operation: 84-30=54
Moving to Node #0,1,1
Current State: 46:[26, 54], Operations: ['95-65=30', '84-30=54']
Exploring Operation: 26+54=80, Resulting Numbers: [80]
80,46 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[30, 58], Operations: ['95-65=30', '84-26=58']
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 30+58=88, Resulting Numbers: [88]
88,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 | mult_heuristic |
[
76,
54,
33,
36
] | 81 | [
"76*54=4104",
"4104/36=114",
"114-33=81"
] | Current State: 81:[76, 54, 33, 36], Operations: []
Exploring Operation: 76*54=4104, Resulting Numbers: [33, 36, 4104]
Generated Node #2: [33, 36, 4104] from Operation: 76*54=4104
Current State: 81:[33, 36, 4104], Operations: ['76*54=4104']
Exploring Operation: 4104/36=114, Resulting Numbers: [33, 114]
Generated Node #3: [33, 114] from Operation: 4104/36=114
Current State: 81:[33, 114], Operations: ['76*54=4104', '4104/36=114']
Exploring Operation: 114-33=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[76, 54, 33, 36], Operations: []
Exploring Operation: 76-54=22, Resulting Numbers: [33, 36, 22]
Generated Node #0,0: 81:[33, 36, 22] Operation: 76-54=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[33, 36, 22], Operations: ['76-54=22']
Exploring Operation: 36-33=3, Resulting Numbers: [22, 3]
Generated Node #0,0,0: 81:[22, 3] Operation: 36-33=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[22, 3], Operations: ['76-54=22', '36-33=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
56,
17,
10,
54
] | 12 | [
"56-54=2",
"10/2=5",
"17-5=12"
] | Current State: 12:[56, 17, 10, 54], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [17, 10, 2]
Generated Node #2: [17, 10, 2] from Operation: 56-54=2
Current State: 12:[17, 10, 2], Operations: ['56-54=2']
Exploring Operation: 10/2=5, Resulting Numbers: [17, 5]
Generated Node #3: [17, 5] from Operation: 10/2=5
Current State: 12:[17, 5], Operations: ['56-54=2', '10/2=5']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[56, 17, 10, 54], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [17, 10, 2]
Generated Node #0,0: 12:[17, 10, 2] Operation: 56-54=2
Exploring Operation: 56-17=39, Resulting Numbers: [10, 54, 39]
Generated Node #0,1: 12:[10, 54, 39] Operation: 56-17=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[17, 10, 2], Operations: ['56-54=2']
Exploring Operation: 17-10=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 12:[2, 7] Operation: 17-10=7
Exploring Operation: 17-2=15, Resulting Numbers: [10, 15]
Generated Node #0,0,1: 12:[10, 15] Operation: 17-2=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[2, 7], Operations: ['56-54=2', '17-10=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 12:[10, 15], Operations: ['56-54=2', '17-2=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[10, 54, 39], Operations: ['56-17=39']
Exploring Operation: 54-10=44, Resulting Numbers: [39, 44]
Generated Node #0,1,0: 12:[39, 44] Operation: 54-10=44
Exploring Operation: 54-39=15, Resulting Numbers: [10, 15]
Generated Node #0,1,1: 12:[10, 15] Operation: 54-39=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 12:[10, 15], Operations: ['56-17=39', '54-39=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,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,1,0
Current State: 12:[39, 44], Operations: ['56-17=39', '54-10=44']
Exploring Operation: 39+44=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,12 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
52,
40,
11,
89
] | 66 | [
"52-40=12",
"89-11=78",
"78-12=66"
] | Current State: 66:[52, 40, 11, 89], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [11, 89, 12]
Generated Node #2: [11, 89, 12] from Operation: 52-40=12
Current State: 66:[11, 89, 12], Operations: ['52-40=12']
Exploring Operation: 89-11=78, Resulting Numbers: [12, 78]
Generated Node #3: [12, 78] from Operation: 89-11=78
Current State: 66:[12, 78], Operations: ['52-40=12', '89-11=78']
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[52, 40, 11, 89], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [11, 89, 12]
Generated Node #0,0: 66:[11, 89, 12] Operation: 52-40=12
Exploring Operation: 89-52=37, Resulting Numbers: [40, 11, 37]
Generated Node #0,1: 66:[40, 11, 37] Operation: 89-52=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[40, 11, 37], Operations: ['89-52=37']
Exploring Operation: 40-11=29, Resulting Numbers: [37, 29]
Generated Node #0,1,0: 66:[37, 29] Operation: 40-11=29
Exploring Operation: 40-37=3, Resulting Numbers: [11, 3]
Generated Node #0,1,1: 66:[11, 3] Operation: 40-37=3
Moving to Node #0,1,1
Current State: 66:[11, 3], Operations: ['89-52=37', '40-37=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,66 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[37, 29], Operations: ['89-52=37', '40-11=29']
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[52, 40, 11, 89], Operations: []
Exploring Operation: 89-52=37, Resulting Numbers: [40, 11, 37]
Generated Node #0,1: 66:[40, 11, 37] Operation: 89-52=37
Moving to Node #0,1
Current State: 66:[40, 11, 37], Operations: ['89-52=37']
Exploring Operation: 40-11=29, Resulting Numbers: [37, 29]
Generated Node #0,1,0: 66:[37, 29] Operation: 40-11=29
Moving to Node #0,1,0
Current State: 66:[37, 29], Operations: ['89-52=37', '40-11=29']
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
57,
21,
81,
49
] | 52 | [
"57+21=78",
"81+49=130",
"130-78=52"
] | Current State: 52:[57, 21, 81, 49], Operations: []
Exploring Operation: 57+21=78, Resulting Numbers: [81, 49, 78]
Generated Node #2: [81, 49, 78] from Operation: 57+21=78
Current State: 52:[81, 49, 78], Operations: ['57+21=78']
Exploring Operation: 81+49=130, Resulting Numbers: [78, 130]
Generated Node #3: [78, 130] from Operation: 81+49=130
Current State: 52:[78, 130], Operations: ['57+21=78', '81+49=130']
Exploring Operation: 130-78=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[57, 21, 81, 49], Operations: []
Exploring Operation: 81-57=24, Resulting Numbers: [21, 49, 24]
Generated Node #0,0: 52:[21, 49, 24] Operation: 81-57=24
Moving to Node #0,0
Current State: 52:[21, 49, 24], Operations: ['81-57=24']
Exploring Operation: 49-21=28, Resulting Numbers: [24, 28]
Generated Node #0,0,0: 52:[24, 28] Operation: 49-21=28
Moving to Node #0,0,0
Current State: 52:[24, 28], Operations: ['81-57=24', '49-21=28']
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[57, 21, 81, 49], Operations: []
Exploring Operation: 81-57=24, Resulting Numbers: [21, 49, 24]
Generated Node #0,0: 52:[21, 49, 24] Operation: 81-57=24
Moving to Node #0,0
Current State: 52:[21, 49, 24], Operations: ['81-57=24']
Exploring Operation: 49-21=28, Resulting Numbers: [24, 28]
Generated Node #0,0,0: 52:[24, 28] Operation: 49-21=28
Moving to Node #0,0,0
Current State: 52:[24, 28], Operations: ['81-57=24', '49-21=28']
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
7,
26,
63,
17
] | 79 | [
"7+26=33",
"63-17=46",
"33+46=79"
] | Current State: 79:[7, 26, 63, 17], Operations: []
Exploring Operation: 7+26=33, Resulting Numbers: [63, 17, 33]
Generated Node #2: [63, 17, 33] from Operation: 7+26=33
Current State: 79:[63, 17, 33], Operations: ['7+26=33']
Exploring Operation: 63-17=46, Resulting Numbers: [33, 46]
Generated Node #3: [33, 46] from Operation: 63-17=46
Current State: 79:[33, 46], Operations: ['7+26=33', '63-17=46']
Exploring Operation: 33+46=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[7, 26, 63, 17], Operations: []
Exploring Operation: 7*17=119, Resulting Numbers: [26, 63, 119]
Generated Node #0,0: 79:[26, 63, 119] Operation: 7*17=119
Exploring Operation: 7+26=33, Resulting Numbers: [63, 17, 33]
Generated Node #0,1: 79:[63, 17, 33] Operation: 7+26=33
Moving to Node #0,0
Current State: 79:[26, 63, 119], Operations: ['7*17=119']
Exploring Operation: 119-26=93, Resulting Numbers: [63, 93]
Generated Node #0,0,0: 79:[63, 93] Operation: 119-26=93
Exploring Operation: 26+63=89, Resulting Numbers: [119, 89]
Generated Node #0,0,1: 79:[119, 89] Operation: 26+63=89
Moving to Node #0,1
Current State: 79:[63, 17, 33], Operations: ['7+26=33']
Exploring Operation: 17+33=50, Resulting Numbers: [63, 50]
Generated Node #0,1,0: 79:[63, 50] Operation: 17+33=50
Exploring Operation: 63+17=80, Resulting Numbers: [33, 80]
Generated Node #0,1,1: 79:[33, 80] Operation: 63+17=80
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[63, 50], Operations: ['7+26=33', '17+33=50']
Exploring Operation: 63+50=113, Resulting Numbers: [113]
113,79 unequal: No Solution
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[33, 80], Operations: ['7+26=33', '63+17=80']
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,79 unequal: No Solution
Exploring Operation: 33+80=113, Resulting Numbers: [113]
113,79 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: 79:[63, 93], Operations: ['7*17=119', '119-26=93']
Exploring Operation: 93-63=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 63+93=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[119, 89], Operations: ['7*17=119', '26+63=89']
Exploring Operation: 119+89=208, Resulting Numbers: [208]
208,79 unequal: No Solution
Exploring Operation: 119-89=30, Resulting Numbers: [30]
30,79 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
56,
97,
18,
70
] | 90 | [
"56+70=126",
"126/18=7",
"97-7=90"
] | Current State: 90:[56, 97, 18, 70], Operations: []
Exploring Operation: 56+70=126, Resulting Numbers: [97, 18, 126]
Generated Node #2: [97, 18, 126] from Operation: 56+70=126
Current State: 90:[97, 18, 126], Operations: ['56+70=126']
Exploring Operation: 126/18=7, Resulting Numbers: [97, 7]
Generated Node #3: [97, 7] from Operation: 126/18=7
Current State: 90:[97, 7], Operations: ['56+70=126', '126/18=7']
Exploring Operation: 97-7=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[56, 97, 18, 70], Operations: []
Exploring Operation: 18+70=88, Resulting Numbers: [56, 97, 88]
Generated Node #0,0: 90:[56, 97, 88] Operation: 18+70=88
Exploring Operation: 97-70=27, Resulting Numbers: [56, 18, 27]
Generated Node #0,1: 90:[56, 18, 27] Operation: 97-70=27
Exploring Operation: 97-56=41, Resulting Numbers: [18, 70, 41]
Generated Node #0,2: 90:[18, 70, 41] Operation: 97-56=41
Exploring Operation: 70-56=14, Resulting Numbers: [97, 18, 14]
Generated Node #0,3: 90:[97, 18, 14] Operation: 70-56=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[97, 18, 14], Operations: ['70-56=14']
Exploring Operation: 18+14=32, Resulting Numbers: [97, 32]
Generated Node #0,3,0: 90:[97, 32] Operation: 18+14=32
Exploring Operation: 97-18=79, Resulting Numbers: [14, 79]
Generated Node #0,3,1: 90:[14, 79] Operation: 97-18=79
Exploring Operation: 18-14=4, Resulting Numbers: [97, 4]
Generated Node #0,3,2: 90:[97, 4] Operation: 18-14=4
Exploring Operation: 97-14=83, Resulting Numbers: [18, 83]
Generated Node #0,3,3: 90:[18, 83] Operation: 97-14=83
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 90:[18, 83], Operations: ['70-56=14', '97-14=83']
Exploring Operation: 18+83=101, Resulting Numbers: [101]
101,90 unequal: No Solution
Exploring Operation: 18*83=1494, Resulting Numbers: [1494]
1494,90 unequal: No Solution
Exploring Operation: 83-18=65, Resulting Numbers: [65]
65,90 unequal: No Solution
No 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: 90:[97, 4], Operations: ['70-56=14', '18-14=4']
Exploring Operation: 97*4=388, Resulting Numbers: [388]
388,90 unequal: No Solution
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,90 unequal: No Solution
Exploring Operation: 97+4=101, Resulting Numbers: [101]
101,90 unequal: No Solution
No 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: 90:[97, 32], Operations: ['70-56=14', '18+14=32']
Exploring Operation: 97-32=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 97*32=3104, Resulting Numbers: [3104]
3104,90 unequal: No Solution
Exploring Operation: 97+32=129, Resulting Numbers: [129]
129,90 unequal: No Solution
No 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: 90:[14, 79], Operations: ['70-56=14', '97-18=79']
Exploring Operation: 79-14=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 14+79=93, Resulting Numbers: [93]
93,90 unequal: No Solution
Exploring Operation: 14*79=1106, Resulting Numbers: [1106]
1106,90 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: 90:[56, 18, 27], Operations: ['97-70=27']
Exploring Operation: 56-18=38, Resulting Numbers: [27, 38]
Generated Node #0,1,0: 90:[27, 38] Operation: 56-18=38
Exploring Operation: 56+27=83, Resulting Numbers: [18, 83]
Generated Node #0,1,1: 90:[18, 83] Operation: 56+27=83
Exploring Operation: 56-27=29, Resulting Numbers: [18, 29]
Generated Node #0,1,2: 90:[18, 29] Operation: 56-27=29
Exploring Operation: 18+27=45, Resulting Numbers: [56, 45]
Generated Node #0,1,3: 90:[56, 45] Operation: 18+27=45
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[18, 29], Operations: ['97-70=27', '56-27=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,90 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,90 unequal: No Solution
No 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: 90:[18, 83], Operations: ['97-70=27', '56+27=83']
Exploring Operation: 83-18=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 18*83=1494, Resulting Numbers: [1494]
1494,90 unequal: No Solution
Exploring Operation: 18+83=101, Resulting Numbers: [101]
101,90 unequal: No Solution
No 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: 90:[27, 38], Operations: ['97-70=27', '56-18=38']
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 27+38=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 27*38=1026, Resulting Numbers: [1026]
1026,90 unequal: No Solution
No 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: 90:[56, 45], Operations: ['97-70=27', '18+27=45']
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 56+45=101, Resulting Numbers: [101]
101,90 unequal: No Solution
Exploring Operation: 56*45=2520, Resulting Numbers: [2520]
2520,90 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: 90:[56, 97, 88], Operations: ['18+70=88']
Exploring Operation: 97-88=9, Resulting Numbers: [56, 9]
Generated Node #0,0,0: 90:[56, 9] Operation: 97-88=9
Exploring Operation: 56+88=144, Resulting Numbers: [97, 144]
Generated Node #0,0,1: 90:[97, 144] Operation: 56+88=144
Exploring Operation: 97-56=41, Resulting Numbers: [88, 41]
Generated Node #0,0,2: 90:[88, 41] Operation: 97-56=41
Exploring Operation: 88-56=32, Resulting Numbers: [97, 32]
Generated Node #0,0,3: 90:[97, 32] Operation: 88-56=32
Moving to Node #0,0,2
Current State: 90:[88, 41], Operations: ['18+70=88', '97-56=41']
Exploring Operation: 88*41=3608, Resulting Numbers: [3608]
3608,90 unequal: No Solution
Exploring Operation: 88-41=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 88+41=129, Resulting Numbers: [129]
129,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[97, 32], Operations: ['18+70=88', '88-56=32']
Exploring Operation: 97*32=3104, Resulting Numbers: [3104]
3104,90 unequal: No Solution
Exploring Operation: 97+32=129, Resulting Numbers: [129]
129,90 unequal: No Solution
Exploring Operation: 97-32=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[56, 9], Operations: ['18+70=88', '97-88=9']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 56+9=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 56*9=504, Resulting Numbers: [504]
504,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[97, 144], Operations: ['18+70=88', '56+88=144']
Exploring Operation: 97*144=13968, Resulting Numbers: [13968]
13968,90 unequal: No Solution
Exploring Operation: 97+144=241, Resulting Numbers: [241]
241,90 unequal: No Solution
Exploring Operation: 144-97=47, Resulting Numbers: [47]
47,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[18, 70, 41], Operations: ['97-56=41']
Exploring Operation: 70-18=52, Resulting Numbers: [41, 52]
Generated Node #0,2,0: 90:[41, 52] Operation: 70-18=52
Exploring Operation: 70+41=111, Resulting Numbers: [18, 111]
Generated Node #0,2,1: 90:[18, 111] Operation: 70+41=111
Exploring Operation: 18+70=88, Resulting Numbers: [41, 88]
Generated Node #0,2,2: 90:[41, 88] Operation: 18+70=88
Exploring Operation: 70-41=29, Resulting Numbers: [18, 29]
Generated Node #0,2,3: 90:[18, 29] Operation: 70-41=29
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 90:[18, 29], Operations: ['97-56=41', '70-41=29']
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,90 unequal: No Solution
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,90 unequal: No Solution
No 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: 90:[41, 88], Operations: ['97-56=41', '18+70=88']
Exploring Operation: 88-41=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 41+88=129, Resulting Numbers: [129]
129,90 unequal: No Solution
Exploring Operation: 41*88=3608, Resulting Numbers: [3608]
3608,90 unequal: No Solution
No 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: 90:[41, 52], Operations: ['97-56=41', '70-18=52']
Exploring Operation: 41+52=93, Resulting Numbers: [93]
93,90 unequal: No Solution
Exploring Operation: 41*52=2132, Resulting Numbers: [2132]
2132,90 unequal: No Solution
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,90 unequal: No Solution
No 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: 90:[18, 111], Operations: ['97-56=41', '70+41=111']
Exploring Operation: 18+111=129, Resulting Numbers: [129]
129,90 unequal: No Solution
Exploring Operation: 111-18=93, Resulting Numbers: [93]
93,90 unequal: No Solution
Exploring Operation: 18*111=1998, Resulting Numbers: [1998]
1998,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
4,
38,
57,
29
] | 62 | [
"38-4=34",
"57-29=28",
"34+28=62"
] | Current State: 62:[4, 38, 57, 29], Operations: []
Exploring Operation: 38-4=34, Resulting Numbers: [57, 29, 34]
Generated Node #2: [57, 29, 34] from Operation: 38-4=34
Current State: 62:[57, 29, 34], Operations: ['38-4=34']
Exploring Operation: 57-29=28, Resulting Numbers: [34, 28]
Generated Node #3: [34, 28] from Operation: 57-29=28
Current State: 62:[34, 28], Operations: ['38-4=34', '57-29=28']
Exploring Operation: 34+28=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[4, 38, 57, 29], Operations: []
Exploring Operation: 4+57=61, Resulting Numbers: [38, 29, 61]
Generated Node #0,0: 62:[38, 29, 61] Operation: 4+57=61
Exploring Operation: 38-4=34, Resulting Numbers: [57, 29, 34]
Generated Node #0,1: 62:[57, 29, 34] Operation: 38-4=34
Exploring Operation: 38+29=67, Resulting Numbers: [4, 57, 67]
Generated Node #0,2: 62:[4, 57, 67] Operation: 38+29=67
Exploring Operation: 57-29=28, Resulting Numbers: [4, 38, 28]
Generated Node #0,3: 62:[4, 38, 28] Operation: 57-29=28
Moving to Node #0,0
Current State: 62:[38, 29, 61], Operations: ['4+57=61']
Exploring Operation: 61-29=32, Resulting Numbers: [38, 32]
Generated Node #0,0,0: 62:[38, 32] Operation: 61-29=32
Exploring Operation: 38+29=67, Resulting Numbers: [61, 67]
Generated Node #0,0,1: 62:[61, 67] Operation: 38+29=67
Exploring Operation: 61-38=23, Resulting Numbers: [29, 23]
Generated Node #0,0,2: 62:[29, 23] Operation: 61-38=23
Exploring Operation: 38-29=9, Resulting Numbers: [61, 9]
Generated Node #0,0,3: 62:[61, 9] Operation: 38-29=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[61, 67], Operations: ['4+57=61', '38+29=67']
Exploring Operation: 67-61=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 61+67=128, Resulting Numbers: [128]
128,62 unequal: No Solution
Exploring Operation: 61*67=4087, Resulting Numbers: [4087]
4087,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[38, 32], Operations: ['4+57=61', '61-29=32']
Exploring Operation: 38*32=1216, Resulting Numbers: [1216]
1216,62 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 38+32=70, Resulting Numbers: [70]
70,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 62:[61, 9], Operations: ['4+57=61', '38-29=9']
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Exploring Operation: 61*9=549, Resulting Numbers: [549]
549,62 unequal: No Solution
Exploring Operation: 61+9=70, Resulting Numbers: [70]
70,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[29, 23], Operations: ['4+57=61', '61-38=23']
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,62 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 62:[57, 29, 34], Operations: ['38-4=34']
Exploring Operation: 57-29=28, Resulting Numbers: [34, 28]
Generated Node #0,1,0: 62:[34, 28] Operation: 57-29=28
Exploring Operation: 57-34=23, Resulting Numbers: [29, 23]
Generated Node #0,1,1: 62:[29, 23] Operation: 57-34=23
Exploring Operation: 34-29=5, Resulting Numbers: [57, 5]
Generated Node #0,1,2: 62:[57, 5] Operation: 34-29=5
Exploring Operation: 29+34=63, Resulting Numbers: [57, 63]
Generated Node #0,1,3: 62:[57, 63] Operation: 29+34=63
Moving to Node #0,3
Current State: 62:[4, 38, 28], Operations: ['57-29=28']
Exploring Operation: 38-28=10, Resulting Numbers: [4, 10]
Generated Node #0,3,0: 62:[4, 10] Operation: 38-28=10
Exploring Operation: 38-4=34, Resulting Numbers: [28, 34]
Generated Node #0,3,1: 62:[28, 34] Operation: 38-4=34
Exploring Operation: 4+28=32, Resulting Numbers: [38, 32]
Generated Node #0,3,2: 62:[38, 32] Operation: 4+28=32
Exploring Operation: 38+28=66, Resulting Numbers: [4, 66]
Generated Node #0,3,3: 62:[4, 66] Operation: 38+28=66
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 62:[28, 34], Operations: ['57-29=28', '38-4=34']
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,62 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[4, 38, 57, 29], Operations: []
Exploring Operation: 57-29=28, Resulting Numbers: [4, 38, 28]
Generated Node #0,3: 62:[4, 38, 28] Operation: 57-29=28
Moving to Node #0,3
Current State: 62:[4, 38, 28], Operations: ['57-29=28']
Exploring Operation: 38-4=34, Resulting Numbers: [28, 34]
Generated Node #0,3,1: 62:[28, 34] Operation: 38-4=34
Moving to Node #0,3,1
Current State: 62:[28, 34], Operations: ['57-29=28', '38-4=34']
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
10,
91,
53,
36
] | 62 | [
"91*36=3276",
"10+3276=3286",
"3286/53=62"
] | Current State: 62:[10, 91, 53, 36], Operations: []
Exploring Operation: 91*36=3276, Resulting Numbers: [10, 53, 3276]
Generated Node #2: [10, 53, 3276] from Operation: 91*36=3276
Current State: 62:[10, 53, 3276], Operations: ['91*36=3276']
Exploring Operation: 10+3276=3286, Resulting Numbers: [53, 3286]
Generated Node #3: [53, 3286] from Operation: 10+3276=3286
Current State: 62:[53, 3286], Operations: ['91*36=3276', '10+3276=3286']
Exploring Operation: 3286/53=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[10, 91, 53, 36], Operations: []
Exploring Operation: 10+53=63, Resulting Numbers: [91, 36, 63]
Generated Node #0,0: 62:[91, 36, 63] Operation: 10+53=63
Exploring Operation: 91-10=81, Resulting Numbers: [53, 36, 81]
Generated Node #0,1: 62:[53, 36, 81] Operation: 91-10=81
Exploring Operation: 36-10=26, Resulting Numbers: [91, 53, 26]
Generated Node #0,2: 62:[91, 53, 26] Operation: 36-10=26
Exploring Operation: 91-36=55, Resulting Numbers: [10, 53, 55]
Generated Node #0,3: 62:[10, 53, 55] Operation: 91-36=55
Exploring Operation: 91-53=38, Resulting Numbers: [10, 36, 38]
Generated Node #0,4: 62:[10, 36, 38] Operation: 91-53=38
Start Sub Search at level 1: Moving to Node #0,4
Current State: 62:[10, 36, 38], Operations: ['91-53=38']
Exploring Operation: 38-10=28, Resulting Numbers: [36, 28]
Generated Node #0,4,0: 62:[36, 28] Operation: 38-10=28
Exploring Operation: 38-36=2, Resulting Numbers: [10, 2]
Generated Node #0,4,1: 62:[10, 2] Operation: 38-36=2
Exploring Operation: 10+38=48, Resulting Numbers: [36, 48]
Generated Node #0,4,2: 62:[36, 48] Operation: 10+38=48
Exploring Operation: 36-10=26, Resulting Numbers: [38, 26]
Generated Node #0,4,3: 62:[38, 26] Operation: 36-10=26
Exploring Operation: 36+38=74, Resulting Numbers: [10, 74]
Generated Node #0,4,4: 62:[10, 74] Operation: 36+38=74
Moving to Node #0,4,0
Current State: 62:[36, 28], Operations: ['91-53=38', '38-10=28']
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 36+28=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 36*28=1008, Resulting Numbers: [1008]
1008,62 unequal: No Solution
Moving to Node #0,4,1
Current State: 62:[10, 2], Operations: ['91-53=38', '38-36=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Moving to Node #0,4,3
Current State: 62:[38, 26], Operations: ['91-53=38', '36-10=26']
Exploring Operation: 38*26=988, Resulting Numbers: [988]
988,62 unequal: No Solution
Exploring Operation: 38+26=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Moving to Node #0,4,2
Current State: 62:[36, 48], Operations: ['91-53=38', '10+38=48']
Exploring Operation: 36+48=84, Resulting Numbers: [84]
84,62 unequal: No Solution
Exploring Operation: 36*48=1728, Resulting Numbers: [1728]
1728,62 unequal: No Solution
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Moving to Node #0,4,4
Current State: 62:[10, 74], Operations: ['91-53=38', '36+38=74']
Exploring Operation: 10*74=740, Resulting Numbers: [740]
740,62 unequal: No Solution
Exploring Operation: 10+74=84, Resulting Numbers: [84]
84,62 unequal: No Solution
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[10, 53, 55], Operations: ['91-36=55']
Exploring Operation: 10+55=65, Resulting Numbers: [53, 65]
Generated Node #0,3,0: 62:[53, 65] Operation: 10+55=65
Exploring Operation: 53-10=43, Resulting Numbers: [55, 43]
Generated Node #0,3,1: 62:[55, 43] Operation: 53-10=43
Exploring Operation: 55-53=2, Resulting Numbers: [10, 2]
Generated Node #0,3,2: 62:[10, 2] Operation: 55-53=2
Exploring Operation: 10+53=63, Resulting Numbers: [55, 63]
Generated Node #0,3,3: 62:[55, 63] Operation: 10+53=63
Exploring Operation: 55-10=45, Resulting Numbers: [53, 45]
Generated Node #0,3,4: 62:[53, 45] Operation: 55-10=45
Moving to Node #0,3,2
Current State: 62:[10, 2], Operations: ['91-36=55', '55-53=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[55, 63], Operations: ['91-36=55', '10+53=63']
Exploring Operation: 55+63=118, Resulting Numbers: [118]
118,62 unequal: No Solution
Exploring Operation: 63-55=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 55*63=3465, Resulting Numbers: [3465]
3465,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[53, 65], Operations: ['91-36=55', '10+55=65']
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Exploring Operation: 53*65=3445, Resulting Numbers: [3445]
3445,62 unequal: No Solution
Exploring Operation: 53+65=118, Resulting Numbers: [118]
118,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[55, 43], Operations: ['91-36=55', '53-10=43']
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Exploring Operation: 55*43=2365, Resulting Numbers: [2365]
2365,62 unequal: No Solution
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,62 unequal: No Solution
Moving to Node #0,3,4
Current State: 62:[53, 45], Operations: ['91-36=55', '55-10=45']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,62 unequal: No Solution
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[53, 36, 81], Operations: ['91-10=81']
Exploring Operation: 36+81=117, Resulting Numbers: [53, 117]
Generated Node #0,1,0: 62:[53, 117] Operation: 36+81=117
Exploring Operation: 81-53=28, Resulting Numbers: [36, 28]
Generated Node #0,1,1: 62:[36, 28] Operation: 81-53=28
Exploring Operation: 53+36=89, Resulting Numbers: [81, 89]
Generated Node #0,1,2: 62:[81, 89] Operation: 53+36=89
Exploring Operation: 53-36=17, Resulting Numbers: [81, 17]
Generated Node #0,1,3: 62:[81, 17] Operation: 53-36=17
Exploring Operation: 81-36=45, Resulting Numbers: [53, 45]
Generated Node #0,1,4: 62:[53, 45] Operation: 81-36=45
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[36, 28], Operations: ['91-10=81', '81-53=28']
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 36+28=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 36*28=1008, Resulting Numbers: [1008]
1008,62 unequal: No Solution
No 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: 62:[53, 45], Operations: ['91-10=81', '81-36=45']
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,62 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,62 unequal: No Solution
No 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: 62:[81, 17], Operations: ['91-10=81', '53-36=17']
Exploring Operation: 81*17=1377, Resulting Numbers: [1377]
1377,62 unequal: No Solution
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 81+17=98, Resulting Numbers: [98]
98,62 unequal: No Solution
No 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: 62:[81, 89], Operations: ['91-10=81', '53+36=89']
Exploring Operation: 81+89=170, Resulting Numbers: [170]
170,62 unequal: No Solution
Exploring Operation: 81*89=7209, Resulting Numbers: [7209]
7209,62 unequal: No Solution
Exploring Operation: 89-81=8, Resulting Numbers: [8]
8,62 unequal: No Solution
No 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: 62:[53, 117], Operations: ['91-10=81', '36+81=117']
Exploring Operation: 53+117=170, Resulting Numbers: [170]
170,62 unequal: No Solution
Exploring Operation: 117-53=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 53*117=6201, Resulting Numbers: [6201]
6201,62 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: 62:[91, 36, 63], Operations: ['10+53=63']
Exploring Operation: 91+36=127, Resulting Numbers: [63, 127]
Generated Node #0,0,0: 62:[63, 127] Operation: 91+36=127
Exploring Operation: 36+63=99, Resulting Numbers: [91, 99]
Generated Node #0,0,1: 62:[91, 99] Operation: 36+63=99
Exploring Operation: 91-63=28, Resulting Numbers: [36, 28]
Generated Node #0,0,2: 62:[36, 28] Operation: 91-63=28
Exploring Operation: 63-36=27, Resulting Numbers: [91, 27]
Generated Node #0,0,3: 62:[91, 27] Operation: 63-36=27
Exploring Operation: 91-36=55, Resulting Numbers: [63, 55]
Generated Node #0,0,4: 62:[63, 55] Operation: 91-36=55
Moving to Node #0,0,2
Current State: 62:[36, 28], Operations: ['10+53=63', '91-63=28']
Exploring Operation: 36*28=1008, Resulting Numbers: [1008]
1008,62 unequal: No Solution
Exploring Operation: 36+28=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Moving to Node #0,0,4
Current State: 62:[63, 55], Operations: ['10+53=63', '91-36=55']
Exploring Operation: 63*55=3465, Resulting Numbers: [3465]
3465,62 unequal: No Solution
Exploring Operation: 63-55=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 63+55=118, Resulting Numbers: [118]
118,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[91, 27], Operations: ['10+53=63', '63-36=27']
Exploring Operation: 91-27=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 91+27=118, Resulting Numbers: [118]
118,62 unequal: No Solution
Exploring Operation: 91*27=2457, Resulting Numbers: [2457]
2457,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[63, 127], Operations: ['10+53=63', '91+36=127']
Exploring Operation: 63+127=190, Resulting Numbers: [190]
190,62 unequal: No Solution
Exploring Operation: 63*127=8001, Resulting Numbers: [8001]
8001,62 unequal: No Solution
Exploring Operation: 127-63=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[91, 99], Operations: ['10+53=63', '36+63=99']
Exploring Operation: 99-91=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 91+99=190, Resulting Numbers: [190]
190,62 unequal: No Solution
Exploring Operation: 91*99=9009, Resulting Numbers: [9009]
9009,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[91, 53, 26], Operations: ['36-10=26']
Exploring Operation: 53-26=27, Resulting Numbers: [91, 27]
Generated Node #0,2,0: 62:[91, 27] Operation: 53-26=27
Exploring Operation: 53+26=79, Resulting Numbers: [91, 79]
Generated Node #0,2,1: 62:[91, 79] Operation: 53+26=79
Exploring Operation: 91-53=38, Resulting Numbers: [26, 38]
Generated Node #0,2,2: 62:[26, 38] Operation: 91-53=38
Exploring Operation: 91+26=117, Resulting Numbers: [53, 117]
Generated Node #0,2,3: 62:[53, 117] Operation: 91+26=117
Exploring Operation: 91-26=65, Resulting Numbers: [53, 65]
Generated Node #0,2,4: 62:[53, 65] Operation: 91-26=65
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 62:[26, 38], Operations: ['36-10=26', '91-53=38']
Exploring Operation: 26*38=988, Resulting Numbers: [988]
988,62 unequal: No Solution
Exploring Operation: 26+38=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,62 unequal: No Solution
No 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: 62:[53, 65], Operations: ['36-10=26', '91-26=65']
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Exploring Operation: 53*65=3445, Resulting Numbers: [3445]
3445,62 unequal: No Solution
Exploring Operation: 53+65=118, Resulting Numbers: [118]
118,62 unequal: No Solution
No 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: 62:[91, 27], Operations: ['36-10=26', '53-26=27']
Exploring Operation: 91*27=2457, Resulting Numbers: [2457]
2457,62 unequal: No Solution
Exploring Operation: 91-27=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 91+27=118, Resulting Numbers: [118]
118,62 unequal: No Solution
No 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: 62:[91, 79], Operations: ['36-10=26', '53+26=79']
Exploring Operation: 91*79=7189, Resulting Numbers: [7189]
7189,62 unequal: No Solution
Exploring Operation: 91+79=170, Resulting Numbers: [170]
170,62 unequal: No Solution
Exploring Operation: 91-79=12, Resulting Numbers: [12]
12,62 unequal: No Solution
No 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: 62:[53, 117], Operations: ['36-10=26', '91+26=117']
Exploring Operation: 117-53=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 53+117=170, Resulting Numbers: [170]
170,62 unequal: No Solution
Exploring Operation: 53*117=6201, Resulting Numbers: [6201]
6201,62 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 |
[
81,
66,
79,
41
] | 27 | [
"81+66=147",
"79+41=120",
"147-120=27"
] | Current State: 27:[81, 66, 79, 41], Operations: []
Exploring Operation: 81+66=147, Resulting Numbers: [79, 41, 147]
Generated Node #2: [79, 41, 147] from Operation: 81+66=147
Current State: 27:[79, 41, 147], Operations: ['81+66=147']
Exploring Operation: 79+41=120, Resulting Numbers: [147, 120]
Generated Node #3: [147, 120] from Operation: 79+41=120
Current State: 27:[147, 120], Operations: ['81+66=147', '79+41=120']
Exploring Operation: 147-120=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[81, 66, 79, 41], Operations: []
Exploring Operation: 81-41=40, Resulting Numbers: [66, 79, 40]
Generated Node #0,0: 27:[66, 79, 40] Operation: 81-41=40
Exploring Operation: 79-66=13, Resulting Numbers: [81, 41, 13]
Generated Node #0,1: 27:[81, 41, 13] Operation: 79-66=13
Exploring Operation: 79-41=38, Resulting Numbers: [81, 66, 38]
Generated Node #0,2: 27:[81, 66, 38] Operation: 79-41=38
Exploring Operation: 81-79=2, Resulting Numbers: [66, 41, 2]
Generated Node #0,3: 27:[66, 41, 2] Operation: 81-79=2
Exploring Operation: 81-66=15, Resulting Numbers: [79, 41, 15]
Generated Node #0,4: 27:[79, 41, 15] Operation: 81-66=15
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[66, 41, 2], Operations: ['81-79=2']
Exploring Operation: 66-2=64, Resulting Numbers: [41, 64]
Generated Node #0,3,0: 27:[41, 64] Operation: 66-2=64
Exploring Operation: 66/2=33, Resulting Numbers: [41, 33]
Generated Node #0,3,1: 27:[41, 33] Operation: 66/2=33
Exploring Operation: 66-41=25, Resulting Numbers: [2, 25]
Generated Node #0,3,2: 27:[2, 25] Operation: 66-41=25
Exploring Operation: 66+2=68, Resulting Numbers: [41, 68]
Generated Node #0,3,3: 27:[41, 68] Operation: 66+2=68
Exploring Operation: 41-2=39, Resulting Numbers: [66, 39]
Generated Node #0,3,4: 27:[66, 39] Operation: 41-2=39
Moving to Node #0,3,2
Current State: 27:[2, 25], Operations: ['81-79=2', '66-41=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,27 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[81, 66, 79, 41], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [66, 41, 2]
Generated Node #0,3: 27:[66, 41, 2] Operation: 81-79=2
Moving to Node #0,3
Current State: 27:[66, 41, 2], Operations: ['81-79=2']
Exploring Operation: 66-41=25, Resulting Numbers: [2, 25]
Generated Node #0,3,2: 27:[2, 25] Operation: 66-41=25
Moving to Node #0,3,2
Current State: 27:[2, 25], Operations: ['81-79=2', '66-41=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
78,
5,
2,
16
] | 100 | [
"16-5=11",
"2*11=22",
"78+22=100"
] | Current State: 100:[78, 5, 2, 16], Operations: []
Exploring Operation: 16-5=11, Resulting Numbers: [78, 2, 11]
Generated Node #2: [78, 2, 11] from Operation: 16-5=11
Current State: 100:[78, 2, 11], Operations: ['16-5=11']
Exploring Operation: 2*11=22, Resulting Numbers: [78, 22]
Generated Node #3: [78, 22] from Operation: 2*11=22
Current State: 100:[78, 22], Operations: ['16-5=11', '2*11=22']
Exploring Operation: 78+22=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[78, 5, 2, 16], Operations: []
Exploring Operation: 78+16=94, Resulting Numbers: [5, 2, 94]
Generated Node #0,0: 100:[5, 2, 94] Operation: 78+16=94
Exploring Operation: 78-16=62, Resulting Numbers: [5, 2, 62]
Generated Node #0,1: 100:[5, 2, 62] Operation: 78-16=62
Exploring Operation: 78/2=39, Resulting Numbers: [5, 16, 39]
Generated Node #0,2: 100:[5, 16, 39] Operation: 78/2=39
Exploring Operation: 78+5=83, Resulting Numbers: [2, 16, 83]
Generated Node #0,3: 100:[2, 16, 83] Operation: 78+5=83
Moving to Node #0,0
Current State: 100:[5, 2, 94], Operations: ['78+16=94']
Exploring Operation: 94/2=47, Resulting Numbers: [5, 47]
Generated Node #0,0,0: 100:[5, 47] Operation: 94/2=47
Exploring Operation: 5*2=10, Resulting Numbers: [94, 10]
Generated Node #0,0,1: 100:[94, 10] Operation: 5*2=10
Exploring Operation: 2+94=96, Resulting Numbers: [5, 96]
Generated Node #0,0,2: 100:[5, 96] Operation: 2+94=96
Exploring Operation: 5+94=99, Resulting Numbers: [2, 99]
Generated Node #0,0,3: 100:[2, 99] Operation: 5+94=99
Moving to Node #0,1
Current State: 100:[5, 2, 62], Operations: ['78-16=62']
Exploring Operation: 62-2=60, Resulting Numbers: [5, 60]
Generated Node #0,1,0: 100:[5, 60] Operation: 62-2=60
Exploring Operation: 62/2=31, Resulting Numbers: [5, 31]
Generated Node #0,1,1: 100:[5, 31] Operation: 62/2=31
Exploring Operation: 62-5=57, Resulting Numbers: [2, 57]
Generated Node #0,1,2: 100:[2, 57] Operation: 62-5=57
Exploring Operation: 5*2=10, Resulting Numbers: [62, 10]
Generated Node #0,1,3: 100:[62, 10] Operation: 5*2=10
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[5, 31], Operations: ['78-16=62', '62/2=31']
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,100 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,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,1,2
Current State: 100:[2, 57], Operations: ['78-16=62', '62-5=57']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,100 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,100 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,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,1,0
Current State: 100:[5, 60], Operations: ['78-16=62', '62-2=60']
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,100 unequal: No Solution
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 5*60=300, Resulting Numbers: [300]
300,100 unequal: No Solution
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,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,1,3
Current State: 100:[62, 10], Operations: ['78-16=62', '5*2=10']
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 62*10=620, Resulting Numbers: [620]
620,100 unequal: No Solution
Exploring Operation: 62+10=72, Resulting Numbers: [72]
72,100 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: 100:[5, 16, 39], Operations: ['78/2=39']
Exploring Operation: 39-16=23, Resulting Numbers: [5, 23]
Generated Node #0,2,0: 100:[5, 23] Operation: 39-16=23
Exploring Operation: 16+39=55, Resulting Numbers: [5, 55]
Generated Node #0,2,1: 100:[5, 55] Operation: 16+39=55
Exploring Operation: 5+16=21, Resulting Numbers: [39, 21]
Generated Node #0,2,2: 100:[39, 21] Operation: 5+16=21
Exploring Operation: 5+39=44, Resulting Numbers: [16, 44]
Generated Node #0,2,3: 100:[16, 44] Operation: 5+39=44
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 100:[5, 23], Operations: ['78/2=39', '39-16=23']
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,100 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,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,2,1
Current State: 100:[5, 55], Operations: ['78/2=39', '16+39=55']
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,100 unequal: No Solution
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,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,2,3
Current State: 100:[16, 44], Operations: ['78/2=39', '5+39=44']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,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,2,2
Current State: 100:[39, 21], Operations: ['78/2=39', '5+16=21']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Exploring Operation: 39+21=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 39*21=819, Resulting Numbers: [819]
819,100 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: 100:[2, 16, 83], Operations: ['78+5=83']
Exploring Operation: 83-16=67, Resulting Numbers: [2, 67]
Generated Node #0,3,0: 100:[2, 67] Operation: 83-16=67
Exploring Operation: 16+83=99, Resulting Numbers: [2, 99]
Generated Node #0,3,1: 100:[2, 99] Operation: 16+83=99
Exploring Operation: 16/2=8, Resulting Numbers: [83, 8]
Generated Node #0,3,2: 100:[83, 8] Operation: 16/2=8
Exploring Operation: 2+16=18, Resulting Numbers: [83, 18]
Generated Node #0,3,3: 100:[83, 18] Operation: 2+16=18
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 100:[2, 99], Operations: ['78+5=83', '16+83=99']
Exploring Operation: 2*99=198, Resulting Numbers: [198]
198,100 unequal: No Solution
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,100 unequal: No Solution
Exploring Operation: 2+99=101, Resulting Numbers: [101]
101,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,0
Current State: 100:[2, 67], Operations: ['78+5=83', '83-16=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,100 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,100 unequal: No Solution
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,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,2
Current State: 100:[83, 8], Operations: ['78+5=83', '16/2=8']
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,100 unequal: No Solution
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,100 unequal: No Solution
Exploring Operation: 83*8=664, Resulting Numbers: [664]
664,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,3
Current State: 100:[83, 18], Operations: ['78+5=83', '2+16=18']
Exploring Operation: 83-18=65, Resulting Numbers: [65]
65,100 unequal: No Solution
Exploring Operation: 83+18=101, Resulting Numbers: [101]
101,100 unequal: No Solution
Exploring Operation: 83*18=1494, Resulting Numbers: [1494]
1494,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 100:[2, 99], Operations: ['78+16=94', '5+94=99']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,100 unequal: No Solution
Exploring Operation: 2*99=198, Resulting Numbers: [198]
198,100 unequal: No Solution
Exploring Operation: 2+99=101, Resulting Numbers: [101]
101,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[5, 47], Operations: ['78+16=94', '94/2=47']
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,100 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[5, 96], Operations: ['78+16=94', '2+94=96']
Exploring Operation: 5+96=101, Resulting Numbers: [101]
101,100 unequal: No Solution
Exploring Operation: 96-5=91, Resulting Numbers: [91]
91,100 unequal: No Solution
Exploring Operation: 5*96=480, Resulting Numbers: [480]
480,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[94, 10], Operations: ['78+16=94', '5*2=10']
Exploring Operation: 94+10=104, Resulting Numbers: [104]
104,100 unequal: No Solution
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Exploring Operation: 94*10=940, Resulting Numbers: [940]
940,100 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
86,
9,
76,
11
] | 89 | [
"86-76=10",
"9*11=99",
"99-10=89"
] | Current State: 89:[86, 9, 76, 11], Operations: []
Exploring Operation: 86-76=10, Resulting Numbers: [9, 11, 10]
Generated Node #2: [9, 11, 10] from Operation: 86-76=10
Current State: 89:[9, 11, 10], Operations: ['86-76=10']
Exploring Operation: 9*11=99, Resulting Numbers: [10, 99]
Generated Node #3: [10, 99] from Operation: 9*11=99
Current State: 89:[10, 99], Operations: ['86-76=10', '9*11=99']
Exploring Operation: 99-10=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[86, 9, 76, 11], Operations: []
Exploring Operation: 9*11=99, Resulting Numbers: [86, 76, 99]
Generated Node #0,0: 89:[86, 76, 99] Operation: 9*11=99
Moving to Node #0,0
Current State: 89:[86, 76, 99], Operations: ['9*11=99']
Exploring Operation: 99-76=23, Resulting Numbers: [86, 23]
Generated Node #0,0,0: 89:[86, 23] Operation: 99-76=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[86, 23], Operations: ['9*11=99', '99-76=23']
Exploring Operation: 86+23=109, Resulting Numbers: [109]
109,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
68,
72,
78,
45
] | 16 | [
"78-68=10",
"72*10=720",
"720/45=16"
] | Current State: 16:[68, 72, 78, 45], Operations: []
Exploring Operation: 78-68=10, Resulting Numbers: [72, 45, 10]
Generated Node #2: [72, 45, 10] from Operation: 78-68=10
Current State: 16:[72, 45, 10], Operations: ['78-68=10']
Exploring Operation: 72*10=720, Resulting Numbers: [45, 720]
Generated Node #3: [45, 720] from Operation: 72*10=720
Current State: 16:[45, 720], Operations: ['78-68=10', '72*10=720']
Exploring Operation: 720/45=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[68, 72, 78, 45], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [68, 45, 6]
Generated Node #0,0: 16:[68, 45, 6] Operation: 78-72=6
Exploring Operation: 78-68=10, Resulting Numbers: [72, 45, 10]
Generated Node #0,1: 16:[72, 45, 10] Operation: 78-68=10
Exploring Operation: 72-68=4, Resulting Numbers: [78, 45, 4]
Generated Node #0,2: 16:[78, 45, 4] Operation: 72-68=4
Moving to Node #0,0
Current State: 16:[68, 45, 6], Operations: ['78-72=6']
Exploring Operation: 45-6=39, Resulting Numbers: [68, 39]
Generated Node #0,0,0: 16:[68, 39] Operation: 45-6=39
Exploring Operation: 68-6=62, Resulting Numbers: [45, 62]
Generated Node #0,0,1: 16:[45, 62] Operation: 68-6=62
Exploring Operation: 68-45=23, Resulting Numbers: [6, 23]
Generated Node #0,0,2: 16:[6, 23] Operation: 68-45=23
Moving to Node #0,1
Current State: 16:[72, 45, 10], Operations: ['78-68=10']
Exploring Operation: 72-10=62, Resulting Numbers: [45, 62]
Generated Node #0,1,0: 16:[45, 62] Operation: 72-10=62
Exploring Operation: 45-10=35, Resulting Numbers: [72, 35]
Generated Node #0,1,1: 16:[72, 35] Operation: 45-10=35
Exploring Operation: 72-45=27, Resulting Numbers: [10, 27]
Generated Node #0,1,2: 16:[10, 27] Operation: 72-45=27
Moving to Node #0,2
Current State: 16:[78, 45, 4], Operations: ['72-68=4']
Exploring Operation: 78-45=33, Resulting Numbers: [4, 33]
Generated Node #0,2,0: 16:[4, 33] Operation: 78-45=33
Exploring Operation: 45-4=41, Resulting Numbers: [78, 41]
Generated Node #0,2,1: 16:[78, 41] Operation: 45-4=41
Exploring Operation: 78-4=74, Resulting Numbers: [45, 74]
Generated Node #0,2,2: 16:[45, 74] Operation: 78-4=74
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[4, 33], Operations: ['72-68=4', '78-45=33']
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,16 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,16 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,16 unequal: No Solution
No 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: 16:[78, 41], Operations: ['72-68=4', '45-4=41']
Exploring Operation: 78-41=37, Resulting Numbers: [37]
37,16 unequal: No Solution
Exploring Operation: 78*41=3198, Resulting Numbers: [3198]
3198,16 unequal: No Solution
Exploring Operation: 78+41=119, Resulting Numbers: [119]
119,16 unequal: No Solution
No 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: 16:[45, 74], Operations: ['72-68=4', '78-4=74']
Exploring Operation: 74-45=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 45*74=3330, Resulting Numbers: [3330]
3330,16 unequal: No Solution
Exploring Operation: 45+74=119, Resulting Numbers: [119]
119,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 16:[6, 23], Operations: ['78-72=6', '68-45=23']
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[10, 27], Operations: ['78-68=10', '72-45=27']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 10*27=270, Resulting Numbers: [270]
270,16 unequal: No Solution
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[45, 62], Operations: ['78-72=6', '68-6=62']
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 45*62=2790, Resulting Numbers: [2790]
2790,16 unequal: No Solution
Exploring Operation: 45+62=107, Resulting Numbers: [107]
107,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[72, 35], Operations: ['78-68=10', '45-10=35']
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,16 unequal: No Solution
Exploring Operation: 72+35=107, Resulting Numbers: [107]
107,16 unequal: No Solution
Exploring Operation: 72*35=2520, Resulting Numbers: [2520]
2520,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[45, 62], Operations: ['78-68=10', '72-10=62']
Exploring Operation: 45*62=2790, Resulting Numbers: [2790]
2790,16 unequal: No Solution
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 45+62=107, Resulting Numbers: [107]
107,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[68, 39], Operations: ['78-72=6', '45-6=39']
Exploring Operation: 68+39=107, Resulting Numbers: [107]
107,16 unequal: No Solution
Exploring Operation: 68*39=2652, Resulting Numbers: [2652]
2652,16 unequal: No Solution
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,16 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
27,
4,
42,
86
] | 21 | [
"27-4=23",
"86-42=44",
"44-23=21"
] | Current State: 21:[27, 4, 42, 86], Operations: []
Exploring Operation: 27-4=23, Resulting Numbers: [42, 86, 23]
Generated Node #2: [42, 86, 23] from Operation: 27-4=23
Current State: 21:[42, 86, 23], Operations: ['27-4=23']
Exploring Operation: 86-42=44, Resulting Numbers: [23, 44]
Generated Node #3: [23, 44] from Operation: 86-42=44
Current State: 21:[23, 44], Operations: ['27-4=23', '86-42=44']
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[27, 4, 42, 86], Operations: []
Exploring Operation: 86-27=59, Resulting Numbers: [4, 42, 59]
Generated Node #0,0: 21:[4, 42, 59] Operation: 86-27=59
Exploring Operation: 42-27=15, Resulting Numbers: [4, 86, 15]
Generated Node #0,1: 21:[4, 86, 15] Operation: 42-27=15
Exploring Operation: 27-4=23, Resulting Numbers: [42, 86, 23]
Generated Node #0,2: 21:[42, 86, 23] Operation: 27-4=23
Exploring Operation: 86-42=44, Resulting Numbers: [27, 4, 44]
Generated Node #0,3: 21:[27, 4, 44] Operation: 86-42=44
Moving to Node #0,3
Current State: 21:[27, 4, 44], Operations: ['86-42=44']
Exploring Operation: 27-4=23, Resulting Numbers: [44, 23]
Generated Node #0,3,0: 21:[44, 23] Operation: 27-4=23
Exploring Operation: 44/4=11, Resulting Numbers: [27, 11]
Generated Node #0,3,1: 21:[27, 11] Operation: 44/4=11
Exploring Operation: 44-4=40, Resulting Numbers: [27, 40]
Generated Node #0,3,2: 21:[27, 40] Operation: 44-4=40
Exploring Operation: 44-27=17, Resulting Numbers: [4, 17]
Generated Node #0,3,3: 21:[4, 17] Operation: 44-27=17
Moving to Node #0,0
Current State: 21:[4, 42, 59], Operations: ['86-27=59']
Exploring Operation: 59-42=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 21:[4, 17] Operation: 59-42=17
Exploring Operation: 42-4=38, Resulting Numbers: [59, 38]
Generated Node #0,0,1: 21:[59, 38] Operation: 42-4=38
Exploring Operation: 4+42=46, Resulting Numbers: [59, 46]
Generated Node #0,0,2: 21:[59, 46] Operation: 4+42=46
Exploring Operation: 59-4=55, Resulting Numbers: [42, 55]
Generated Node #0,0,3: 21:[42, 55] Operation: 59-4=55
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[4, 17], Operations: ['86-27=59', '59-42=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,21 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[27, 4, 42, 86], Operations: []
Exploring Operation: 86-27=59, Resulting Numbers: [4, 42, 59]
Generated Node #0,0: 21:[4, 42, 59] Operation: 86-27=59
Moving to Node #0,0
Current State: 21:[4, 42, 59], Operations: ['86-27=59']
Exploring Operation: 59-42=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 21:[4, 17] Operation: 59-42=17
Moving to Node #0,0,0
Current State: 21:[4, 17], Operations: ['86-27=59', '59-42=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
63,
40,
83,
40
] | 100 | [
"63-40=23",
"83+40=123",
"123-23=100"
] | Current State: 100:[63, 40, 83, 40], Operations: []
Exploring Operation: 63-40=23, Resulting Numbers: [83, 23]
Generated Node #2: [83, 23] from Operation: 63-40=23
Current State: 100:[83, 23], Operations: ['63-40=23']
Exploring Operation: 83+40=123, Resulting Numbers: [23, 123]
Generated Node #3: [23, 123] from Operation: 83+40=123
Current State: 100:[23, 123], Operations: ['63-40=23', '83+40=123']
Exploring Operation: 123-23=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[63, 40, 83, 40], Operations: []
Exploring Operation: 63-40=23, Resulting Numbers: [83, 40, 23]
Generated Node #0,0: 100:[83, 40, 23] Operation: 63-40=23
Exploring Operation: 63-40=23, Resulting Numbers: [40, 83, 23]
Generated Node #0,1: 100:[40, 83, 23] Operation: 63-40=23
Exploring Operation: 63+40=103, Resulting Numbers: [83, 40, 103]
Generated Node #0,2: 100:[83, 40, 103] Operation: 63+40=103
Exploring Operation: 83-63=20, Resulting Numbers: [40, 40, 20]
Generated Node #0,3: 100:[40, 40, 20] Operation: 83-63=20
Start Sub Search at level 1: Moving to Node #0,3
Current State: 100:[40, 40, 20], Operations: ['83-63=20']
Exploring Operation: 40-20=20, Resulting Numbers: [40, 20]
Generated Node #0,3,0: 100:[40, 20] Operation: 40-20=20
Exploring Operation: 40/40=1, Resulting Numbers: [20, 1]
Generated Node #0,3,1: 100:[20, 1] Operation: 40/40=1
Exploring Operation: 40/20=2, Resulting Numbers: [40, 2]
Generated Node #0,3,2: 100:[40, 2] Operation: 40/20=2
Exploring Operation: 40-40=0, Resulting Numbers: [20, 0]
Generated Node #0,3,3: 100:[20, 0] Operation: 40-40=0
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 100:[20, 1], Operations: ['83-63=20', '40/40=1']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,100 unequal: No Solution
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,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,3
Current State: 100:[20, 0], Operations: ['83-63=20', '40-40=0']
Exploring Operation: 20*0=0, Resulting Numbers: [0]
0,100 unequal: No Solution
Exploring Operation: 20+0=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 20-0=20, Resulting Numbers: [20]
20,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:[40, 20], Operations: ['83-63=20', '40-20=20']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 40*20=800, Resulting Numbers: [800]
800,100 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,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:[40, 2], Operations: ['83-63=20', '40/20=2']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,100 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,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:[83, 40, 23], Operations: ['63-40=23']
Exploring Operation: 40-23=17, Resulting Numbers: [83, 17]
Generated Node #0,0,0: 100:[83, 17] Operation: 40-23=17
Exploring Operation: 83-40=43, Resulting Numbers: [23, 43]
Generated Node #0,0,1: 100:[23, 43] Operation: 83-40=43
Exploring Operation: 83-23=60, Resulting Numbers: [40, 60]
Generated Node #0,0,2: 100:[40, 60] Operation: 83-23=60
Exploring Operation: 83+23=106, Resulting Numbers: [40, 106]
Generated Node #0,0,3: 100:[40, 106] Operation: 83+23=106
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[23, 43], Operations: ['63-40=23', '83-40=43']
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 23+43=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 23*43=989, Resulting Numbers: [989]
989,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,0,3
Current State: 100:[40, 106], Operations: ['63-40=23', '83+23=106']
Exploring Operation: 106-40=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 40*106=4240, Resulting Numbers: [4240]
4240,100 unequal: No Solution
Exploring Operation: 40+106=146, Resulting Numbers: [146]
146,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,0,0
Current State: 100:[83, 17], Operations: ['63-40=23', '40-23=17']
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,100 unequal: No Solution
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[63, 40, 83, 40], Operations: []
Exploring Operation: 63-40=23, Resulting Numbers: [83, 40, 23]
Generated Node #0,0: 100:[83, 40, 23] Operation: 63-40=23
Moving to Node #0,0
Current State: 100:[83, 40, 23], Operations: ['63-40=23']
Exploring Operation: 40-23=17, Resulting Numbers: [83, 17]
Generated Node #0,0,0: 100:[83, 17] Operation: 40-23=17
Moving to Node #0,0,0
Current State: 100:[83, 17], Operations: ['63-40=23', '40-23=17']
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.966146 | hs_4 | sum_heuristic |
[
36,
81,
80,
41
] | 18 | [
"81-41=40",
"36*40=1440",
"1440/80=18"
] | Current State: 18:[36, 81, 80, 41], Operations: []
Exploring Operation: 81-41=40, Resulting Numbers: [36, 80, 40]
Generated Node #2: [36, 80, 40] from Operation: 81-41=40
Current State: 18:[36, 80, 40], Operations: ['81-41=40']
Exploring Operation: 36*40=1440, Resulting Numbers: [80, 1440]
Generated Node #3: [80, 1440] from Operation: 36*40=1440
Current State: 18:[80, 1440], Operations: ['81-41=40', '36*40=1440']
Exploring Operation: 1440/80=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[36, 81, 80, 41], Operations: []
Exploring Operation: 81-41=40, Resulting Numbers: [36, 80, 40]
Generated Node #0,0: 18:[36, 80, 40] Operation: 81-41=40
Exploring Operation: 81-80=1, Resulting Numbers: [36, 41, 1]
Generated Node #0,1: 18:[36, 41, 1] Operation: 81-80=1
Moving to Node #0,1
Current State: 18:[36, 41, 1], Operations: ['81-80=1']
Exploring Operation: 36-1=35, Resulting Numbers: [41, 35]
Generated Node #0,1,0: 18:[41, 35] Operation: 36-1=35
Exploring Operation: 41-36=5, Resulting Numbers: [1, 5]
Generated Node #0,1,1: 18:[1, 5] Operation: 41-36=5
Moving to Node #0,0
Current State: 18:[36, 80, 40], Operations: ['81-41=40']
Exploring Operation: 80-40=40, Resulting Numbers: [36, 40]
Generated Node #0,0,0: 18:[36, 40] Operation: 80-40=40
Exploring Operation: 80/40=2, Resulting Numbers: [36, 2]
Generated Node #0,0,1: 18:[36, 2] Operation: 80/40=2
Moving to Node #0,1,1
Current State: 18:[1, 5], Operations: ['81-80=1', '41-36=5']
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[36, 2], Operations: ['81-41=40', '80/40=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,18 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[36, 81, 80, 41], Operations: []
Exploring Operation: 81-41=40, Resulting Numbers: [36, 80, 40]
Generated Node #0,0: 18:[36, 80, 40] Operation: 81-41=40
Moving to Node #0,0
Current State: 18:[36, 80, 40], Operations: ['81-41=40']
Exploring Operation: 80/40=2, Resulting Numbers: [36, 2]
Generated Node #0,0,1: 18:[36, 2] Operation: 80/40=2
Moving to Node #0,0,1
Current State: 18:[36, 2], Operations: ['81-41=40', '80/40=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.987847 | hs_2 | mult_heuristic |
[
91,
63,
22,
29
] | 82 | [
"29-22=7",
"63/7=9",
"91-9=82"
] | Current State: 82:[91, 63, 22, 29], Operations: []
Exploring Operation: 29-22=7, Resulting Numbers: [91, 63, 7]
Generated Node #2: [91, 63, 7] from Operation: 29-22=7
Current State: 82:[91, 63, 7], Operations: ['29-22=7']
Exploring Operation: 63/7=9, Resulting Numbers: [91, 9]
Generated Node #3: [91, 9] from Operation: 63/7=9
Current State: 82:[91, 9], Operations: ['29-22=7', '63/7=9']
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[91, 63, 22, 29], Operations: []
Exploring Operation: 63-22=41, Resulting Numbers: [91, 29, 41]
Generated Node #0,0: 82:[91, 29, 41] Operation: 63-22=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[91, 29, 41], Operations: ['63-22=41']
Exploring Operation: 41-29=12, Resulting Numbers: [91, 12]
Generated Node #0,0,0: 82:[91, 12] Operation: 41-29=12
Moving to Node #0,0,0
Current State: 82:[91, 12], Operations: ['63-22=41', '41-29=12']
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
52,
18,
52,
66
] | 85 | [
"52/52=1",
"18+66=84",
"1+84=85"
] | Current State: 85:[52, 18, 52, 66], Operations: []
Exploring Operation: 52/52=1, Resulting Numbers: [18, 66, 1]
Generated Node #2: [18, 66, 1] from Operation: 52/52=1
Current State: 85:[18, 66, 1], Operations: ['52/52=1']
Exploring Operation: 18+66=84, Resulting Numbers: [1, 84]
Generated Node #3: [1, 84] from Operation: 18+66=84
Current State: 85:[1, 84], Operations: ['52/52=1', '18+66=84']
Exploring Operation: 1+84=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[52, 18, 52, 66], Operations: []
Exploring Operation: 52/52=1, Resulting Numbers: [18, 66, 1]
Generated Node #0,0: 85:[18, 66, 1] Operation: 52/52=1
Exploring Operation: 52-52=0, Resulting Numbers: [18, 66, 0]
Generated Node #0,1: 85:[18, 66, 0] Operation: 52-52=0
Moving to Node #0,0
Current State: 85:[18, 66, 1], Operations: ['52/52=1']
Exploring Operation: 18+66=84, Resulting Numbers: [1, 84]
Generated Node #0,0,0: 85:[1, 84] Operation: 18+66=84
Exploring Operation: 18-1=17, Resulting Numbers: [66, 17]
Generated Node #0,0,1: 85:[66, 17] Operation: 18-1=17
Moving to Node #0,1
Current State: 85:[18, 66, 0], Operations: ['52-52=0']
Exploring Operation: 18+66=84, Resulting Numbers: [0, 84]
Generated Node #0,1,0: 85:[0, 84] Operation: 18+66=84
Exploring Operation: 66*0=0, Resulting Numbers: [18, 0]
Generated Node #0,1,1: 85:[18, 0] Operation: 66*0=0
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[0, 84], Operations: ['52-52=0', '18+66=84']
Exploring Operation: 0+84=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 84-0=84, Resulting Numbers: [84]
84,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:[18, 0], Operations: ['52-52=0', '66*0=0']
Exploring Operation: 18-0=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 18+0=18, Resulting Numbers: [18]
18,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 85:[1, 84], Operations: ['52/52=1', '18+66=84']
Exploring Operation: 1*84=84, Resulting Numbers: [84]
84,85 unequal: No Solution
Exploring Operation: 1+84=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[52, 18, 52, 66], Operations: []
Exploring Operation: 52/52=1, Resulting Numbers: [18, 66, 1]
Generated Node #0,0: 85:[18, 66, 1] Operation: 52/52=1
Moving to Node #0,0
Current State: 85:[18, 66, 1], Operations: ['52/52=1']
Exploring Operation: 18+66=84, Resulting Numbers: [1, 84]
Generated Node #0,0,0: 85:[1, 84] Operation: 18+66=84
Moving to Node #0,0,0
Current State: 85:[1, 84], Operations: ['52/52=1', '18+66=84']
Exploring Operation: 1+84=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
66,
33,
2,
1
] | 17 | [
"66-33=33",
"1+33=34",
"34/2=17"
] | Current State: 17:[66, 33, 2, 1], Operations: []
Exploring Operation: 66-33=33, Resulting Numbers: [2, 1, 33]
Generated Node #2: [2, 1, 33] from Operation: 66-33=33
Current State: 17:[2, 1, 33], Operations: ['66-33=33']
Exploring Operation: 1+33=34, Resulting Numbers: [2, 34]
Generated Node #3: [2, 34] from Operation: 1+33=34
Current State: 17:[2, 34], Operations: ['66-33=33', '1+33=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[66, 33, 2, 1], Operations: []
Exploring Operation: 66/2=33, Resulting Numbers: [33, 1, 33]
Generated Node #0,0: 17:[33, 1, 33] Operation: 66/2=33
Exploring Operation: 66/33=2, Resulting Numbers: [2, 1, 2]
Generated Node #0,1: 17:[2, 1, 2] Operation: 66/33=2
Exploring Operation: 66-33=33, Resulting Numbers: [2, 1, 33]
Generated Node #0,2: 17:[2, 1, 33] Operation: 66-33=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[2, 1, 2], Operations: ['66/33=2']
Exploring Operation: 2+2=4, Resulting Numbers: [1, 4]
Generated Node #0,1,0: 17:[1, 4] Operation: 2+2=4
Exploring Operation: 2+1=3, Resulting Numbers: [2, 3]
Generated Node #0,1,1: 17:[2, 3] Operation: 2+1=3
Exploring Operation: 2*2=4, Resulting Numbers: [1, 4]
Generated Node #0,1,2: 17:[1, 4] Operation: 2*2=4
Moving to Node #0,1,0
Current State: 17:[1, 4], Operations: ['66/33=2', '2+2=4']
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[2, 3], Operations: ['66/33=2', '2+1=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[1, 4], Operations: ['66/33=2', '2*2=4']
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,17 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,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,2
Current State: 17:[2, 1, 33], Operations: ['66-33=33']
Exploring Operation: 2+1=3, Resulting Numbers: [33, 3]
Generated Node #0,2,0: 17:[33, 3] Operation: 2+1=3
Exploring Operation: 33-2=31, Resulting Numbers: [1, 31]
Generated Node #0,2,1: 17:[1, 31] Operation: 33-2=31
Exploring Operation: 33-1=32, Resulting Numbers: [2, 32]
Generated Node #0,2,2: 17:[2, 32] Operation: 33-1=32
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 17:[33, 3], Operations: ['66-33=33', '2+1=3']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,17 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,17 unequal: No Solution
No 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: 17:[1, 31], Operations: ['66-33=33', '33-2=31']
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,17 unequal: No Solution
No 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: 17:[2, 32], Operations: ['66-33=33', '33-1=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,17 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,17 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: 17:[33, 1, 33], Operations: ['66/2=33']
Exploring Operation: 33-1=32, Resulting Numbers: [33, 32]
Generated Node #0,0,0: 17:[33, 32] Operation: 33-1=32
Exploring Operation: 33*1=33, Resulting Numbers: [33, 33]
Generated Node #0,0,1: 17:[33, 33] Operation: 33*1=33
Exploring Operation: 33-1=32, Resulting Numbers: [33, 32]
Generated Node #0,0,2: 17:[33, 32] Operation: 33-1=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[33, 32], Operations: ['66/2=33', '33-1=32']
Exploring Operation: 33*32=1056, Resulting Numbers: [1056]
1056,17 unequal: No Solution
Exploring Operation: 33+32=65, Resulting Numbers: [65]
65,17 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,17 unequal: No Solution
No 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: 17:[33, 32], Operations: ['66/2=33', '33-1=32']
Exploring Operation: 33+32=65, Resulting Numbers: [65]
65,17 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 33*32=1056, Resulting Numbers: [1056]
1056,17 unequal: No Solution
No 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: 17:[33, 33], Operations: ['66/2=33', '33*1=33']
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,17 unequal: No Solution
Exploring Operation: 33-33=0, Resulting Numbers: [0]
0,17 unequal: No Solution
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,17 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 |
[
28,
70,
70,
14
] | 14 | [
"28+70=98",
"70+14=84",
"98-84=14"
] | Current State: 14:[28, 70, 70, 14], Operations: []
Exploring Operation: 28+70=98, Resulting Numbers: [14, 98]
Generated Node #2: [14, 98] from Operation: 28+70=98
Current State: 14:[14, 98], Operations: ['28+70=98']
Exploring Operation: 70+14=84, Resulting Numbers: [98, 84]
Generated Node #3: [98, 84] from Operation: 70+14=84
Current State: 14:[98, 84], Operations: ['28+70=98', '70+14=84']
Exploring Operation: 98-84=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[28, 70, 70, 14], Operations: []
Exploring Operation: 70-70=0, Resulting Numbers: [28, 14, 0]
Generated Node #0,0: 14:[28, 14, 0] Operation: 70-70=0
Exploring Operation: 70/70=1, Resulting Numbers: [28, 14, 1]
Generated Node #0,1: 14:[28, 14, 1] Operation: 70/70=1
Exploring Operation: 70/14=5, Resulting Numbers: [28, 70, 5]
Generated Node #0,2: 14:[28, 70, 5] Operation: 70/14=5
Exploring Operation: 70/14=5, Resulting Numbers: [28, 70, 5]
Generated Node #0,3: 14:[28, 70, 5] Operation: 70/14=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[28, 14, 1], Operations: ['70/70=1']
Exploring Operation: 28-14=14, Resulting Numbers: [1, 14]
Generated Node #0,1,0: 14:[1, 14] Operation: 28-14=14
Exploring Operation: 28/14=2, Resulting Numbers: [1, 2]
Generated Node #0,1,1: 14:[1, 2] Operation: 28/14=2
Exploring Operation: 28*1=28, Resulting Numbers: [14, 28]
Generated Node #0,1,2: 14:[14, 28] Operation: 28*1=28
Exploring Operation: 28-1=27, Resulting Numbers: [14, 27]
Generated Node #0,1,3: 14:[14, 27] Operation: 28-1=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 14:[1, 14], Operations: ['70/70=1', '28-14=14']
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[28, 70, 70, 14], Operations: []
Exploring Operation: 70/70=1, Resulting Numbers: [28, 14, 1]
Generated Node #0,1: 14:[28, 14, 1] Operation: 70/70=1
Moving to Node #0,1
Current State: 14:[28, 14, 1], Operations: ['70/70=1']
Exploring Operation: 28-14=14, Resulting Numbers: [1, 14]
Generated Node #0,1,0: 14:[1, 14] Operation: 28-14=14
Moving to Node #0,1,0
Current State: 14:[1, 14], Operations: ['70/70=1', '28-14=14']
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
43,
2,
10,
89
] | 17 | [
"43+10=53",
"2*53=106",
"106-89=17"
] | Current State: 17:[43, 2, 10, 89], Operations: []
Exploring Operation: 43+10=53, Resulting Numbers: [2, 89, 53]
Generated Node #2: [2, 89, 53] from Operation: 43+10=53
Current State: 17:[2, 89, 53], Operations: ['43+10=53']
Exploring Operation: 2*53=106, Resulting Numbers: [89, 106]
Generated Node #3: [89, 106] from Operation: 2*53=106
Current State: 17:[89, 106], Operations: ['43+10=53', '2*53=106']
Exploring Operation: 106-89=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[43, 2, 10, 89], Operations: []
Exploring Operation: 43-2=41, Resulting Numbers: [10, 89, 41]
Generated Node #0,0: 17:[10, 89, 41] Operation: 43-2=41
Exploring Operation: 89-43=46, Resulting Numbers: [2, 10, 46]
Generated Node #0,1: 17:[2, 10, 46] Operation: 89-43=46
Exploring Operation: 2+10=12, Resulting Numbers: [43, 89, 12]
Generated Node #0,2: 17:[43, 89, 12] Operation: 2+10=12
Exploring Operation: 2*10=20, Resulting Numbers: [43, 89, 20]
Generated Node #0,3: 17:[43, 89, 20] Operation: 2*10=20
Exploring Operation: 43-10=33, Resulting Numbers: [2, 89, 33]
Generated Node #0,4: 17:[2, 89, 33] Operation: 43-10=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[2, 10, 46], Operations: ['89-43=46']
Exploring Operation: 46-2=44, Resulting Numbers: [10, 44]
Generated Node #0,1,0: 17:[10, 44] Operation: 46-2=44
Exploring Operation: 46/2=23, Resulting Numbers: [10, 23]
Generated Node #0,1,1: 17:[10, 23] Operation: 46/2=23
Exploring Operation: 2*10=20, Resulting Numbers: [46, 20]
Generated Node #0,1,2: 17:[46, 20] Operation: 2*10=20
Exploring Operation: 2+10=12, Resulting Numbers: [46, 12]
Generated Node #0,1,3: 17:[46, 12] Operation: 2+10=12
Exploring Operation: 46-10=36, Resulting Numbers: [2, 36]
Generated Node #0,1,4: 17:[2, 36] Operation: 46-10=36
Moving to Node #0,1,1
Current State: 17:[10, 23], Operations: ['89-43=46', '46/2=23']
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[46, 20], Operations: ['89-43=46', '2*10=20']
Exploring Operation: 46+20=66, Resulting Numbers: [66]
66,17 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Exploring Operation: 46*20=920, Resulting Numbers: [920]
920,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[10, 44], Operations: ['89-43=46', '46-2=44']
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,17 unequal: No Solution
Moving to Node #0,1,3
Current State: 17:[46, 12], Operations: ['89-43=46', '2+10=12']
Exploring Operation: 46*12=552, Resulting Numbers: [552]
552,17 unequal: No Solution
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Moving to Node #0,1,4
Current State: 17:[2, 36], Operations: ['89-43=46', '46-10=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,17 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,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,3
Current State: 17:[43, 89, 20], Operations: ['2*10=20']
Exploring Operation: 43+89=132, Resulting Numbers: [20, 132]
Generated Node #0,3,0: 17:[20, 132] Operation: 43+89=132
Exploring Operation: 89-43=46, Resulting Numbers: [20, 46]
Generated Node #0,3,1: 17:[20, 46] Operation: 89-43=46
Exploring Operation: 89-20=69, Resulting Numbers: [43, 69]
Generated Node #0,3,2: 17:[43, 69] Operation: 89-20=69
Exploring Operation: 43-20=23, Resulting Numbers: [89, 23]
Generated Node #0,3,3: 17:[89, 23] Operation: 43-20=23
Exploring Operation: 43+20=63, Resulting Numbers: [89, 63]
Generated Node #0,3,4: 17:[89, 63] Operation: 43+20=63
Moving to Node #0,3,1
Current State: 17:[20, 46], Operations: ['2*10=20', '89-43=46']
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,17 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Exploring Operation: 20*46=920, Resulting Numbers: [920]
920,17 unequal: No Solution
Moving to Node #0,3,3
Current State: 17:[89, 23], Operations: ['2*10=20', '43-20=23']
Exploring Operation: 89-23=66, Resulting Numbers: [66]
66,17 unequal: No Solution
Exploring Operation: 89+23=112, Resulting Numbers: [112]
112,17 unequal: No Solution
Exploring Operation: 89*23=2047, Resulting Numbers: [2047]
2047,17 unequal: No Solution
Moving to Node #0,3,2
Current State: 17:[43, 69], Operations: ['2*10=20', '89-20=69']
Exploring Operation: 43*69=2967, Resulting Numbers: [2967]
2967,17 unequal: No Solution
Exploring Operation: 43+69=112, Resulting Numbers: [112]
112,17 unequal: No Solution
Exploring Operation: 69-43=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Moving to Node #0,3,0
Current State: 17:[20, 132], Operations: ['2*10=20', '43+89=132']
Exploring Operation: 132-20=112, Resulting Numbers: [112]
112,17 unequal: No Solution
Exploring Operation: 20+132=152, Resulting Numbers: [152]
152,17 unequal: No Solution
Exploring Operation: 20*132=2640, Resulting Numbers: [2640]
2640,17 unequal: No Solution
Moving to Node #0,3,4
Current State: 17:[89, 63], Operations: ['2*10=20', '43+20=63']
Exploring Operation: 89-63=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Exploring Operation: 89+63=152, Resulting Numbers: [152]
152,17 unequal: No Solution
Exploring Operation: 89*63=5607, Resulting Numbers: [5607]
5607,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,0
Current State: 17:[10, 89, 41], Operations: ['43-2=41']
Exploring Operation: 89-41=48, Resulting Numbers: [10, 48]
Generated Node #0,0,0: 17:[10, 48] Operation: 89-41=48
Exploring Operation: 41-10=31, Resulting Numbers: [89, 31]
Generated Node #0,0,1: 17:[89, 31] Operation: 41-10=31
Exploring Operation: 89-10=79, Resulting Numbers: [41, 79]
Generated Node #0,0,2: 17:[41, 79] Operation: 89-10=79
Exploring Operation: 10+89=99, Resulting Numbers: [41, 99]
Generated Node #0,0,3: 17:[41, 99] Operation: 10+89=99
Exploring Operation: 10+41=51, Resulting Numbers: [89, 51]
Generated Node #0,0,4: 17:[89, 51] Operation: 10+41=51
Moving to Node #0,0,0
Current State: 17:[10, 48], Operations: ['43-2=41', '89-41=48']
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,17 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[41, 79], Operations: ['43-2=41', '89-10=79']
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Exploring Operation: 41*79=3239, Resulting Numbers: [3239]
3239,17 unequal: No Solution
Exploring Operation: 41+79=120, Resulting Numbers: [120]
120,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[89, 31], Operations: ['43-2=41', '41-10=31']
Exploring Operation: 89*31=2759, Resulting Numbers: [2759]
2759,17 unequal: No Solution
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 89+31=120, Resulting Numbers: [120]
120,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[41, 99], Operations: ['43-2=41', '10+89=99']
Exploring Operation: 41+99=140, Resulting Numbers: [140]
140,17 unequal: No Solution
Exploring Operation: 99-41=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 41*99=4059, Resulting Numbers: [4059]
4059,17 unequal: No Solution
Moving to Node #0,0,4
Current State: 17:[89, 51], Operations: ['43-2=41', '10+41=51']
Exploring Operation: 89*51=4539, Resulting Numbers: [4539]
4539,17 unequal: No Solution
Exploring Operation: 89-51=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Exploring Operation: 89+51=140, Resulting Numbers: [140]
140,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,2
Current State: 17:[43, 89, 12], Operations: ['2+10=12']
Exploring Operation: 89-43=46, Resulting Numbers: [12, 46]
Generated Node #0,2,0: 17:[12, 46] Operation: 89-43=46
Exploring Operation: 43+12=55, Resulting Numbers: [89, 55]
Generated Node #0,2,1: 17:[89, 55] Operation: 43+12=55
Exploring Operation: 43-12=31, Resulting Numbers: [89, 31]
Generated Node #0,2,2: 17:[89, 31] Operation: 43-12=31
Exploring Operation: 89+12=101, Resulting Numbers: [43, 101]
Generated Node #0,2,3: 17:[43, 101] Operation: 89+12=101
Exploring Operation: 89-12=77, Resulting Numbers: [43, 77]
Generated Node #0,2,4: 17:[43, 77] Operation: 89-12=77
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 17:[12, 46], Operations: ['2+10=12', '89-43=46']
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Exploring Operation: 12+46=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 12*46=552, Resulting Numbers: [552]
552,17 unequal: No Solution
No 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: 17:[89, 31], Operations: ['2+10=12', '43-12=31']
Exploring Operation: 89*31=2759, Resulting Numbers: [2759]
2759,17 unequal: No Solution
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 89+31=120, Resulting Numbers: [120]
120,17 unequal: No Solution
No 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: 17:[43, 77], Operations: ['2+10=12', '89-12=77']
Exploring Operation: 43+77=120, Resulting Numbers: [120]
120,17 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Exploring Operation: 43*77=3311, Resulting Numbers: [3311]
3311,17 unequal: No Solution
No 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: 17:[89, 55], Operations: ['2+10=12', '43+12=55']
Exploring Operation: 89-55=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Exploring Operation: 89*55=4895, Resulting Numbers: [4895]
4895,17 unequal: No Solution
Exploring Operation: 89+55=144, Resulting Numbers: [144]
144,17 unequal: No Solution
No 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: 17:[43, 101], Operations: ['2+10=12', '89+12=101']
Exploring Operation: 43+101=144, Resulting Numbers: [144]
144,17 unequal: No Solution
Exploring Operation: 101-43=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 43*101=4343, Resulting Numbers: [4343]
4343,17 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: 17:[2, 89, 33], Operations: ['43-10=33']
Exploring Operation: 89-2=87, Resulting Numbers: [33, 87]
Generated Node #0,4,0: 17:[33, 87] Operation: 89-2=87
Exploring Operation: 33-2=31, Resulting Numbers: [89, 31]
Generated Node #0,4,1: 17:[89, 31] Operation: 33-2=31
Exploring Operation: 2+89=91, Resulting Numbers: [33, 91]
Generated Node #0,4,2: 17:[33, 91] Operation: 2+89=91
Exploring Operation: 89-33=56, Resulting Numbers: [2, 56]
Generated Node #0,4,3: 17:[2, 56] Operation: 89-33=56
Exploring Operation: 2+33=35, Resulting Numbers: [89, 35]
Generated Node #0,4,4: 17:[89, 35] Operation: 2+33=35
Moving to Node #0,4,3
Current State: 17:[2, 56], Operations: ['43-10=33', '89-33=56']
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,17 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Moving to Node #0,4,1
Current State: 17:[89, 31], Operations: ['43-10=33', '33-2=31']
Exploring Operation: 89*31=2759, Resulting Numbers: [2759]
2759,17 unequal: No Solution
Exploring Operation: 89-31=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 89+31=120, Resulting Numbers: [120]
120,17 unequal: No Solution
Moving to Node #0,4,0
Current State: 17:[33, 87], Operations: ['43-10=33', '89-2=87']
Exploring Operation: 33+87=120, Resulting Numbers: [120]
120,17 unequal: No Solution
Exploring Operation: 33*87=2871, Resulting Numbers: [2871]
2871,17 unequal: No Solution
Exploring Operation: 87-33=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Moving to Node #0,4,2
Current State: 17:[33, 91], Operations: ['43-10=33', '2+89=91']
Exploring Operation: 33+91=124, Resulting Numbers: [124]
124,17 unequal: No Solution
Exploring Operation: 33*91=3003, Resulting Numbers: [3003]
3003,17 unequal: No Solution
Exploring Operation: 91-33=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Moving to Node #0,4,4
Current State: 17:[89, 35], Operations: ['43-10=33', '2+33=35']
Exploring Operation: 89+35=124, Resulting Numbers: [124]
124,17 unequal: No Solution
Exploring Operation: 89*35=3115, Resulting Numbers: [3115]
3115,17 unequal: No Solution
Exploring Operation: 89-35=54, Resulting Numbers: [54]
54,17 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 |
[
16,
29,
8,
45
] | 37 | [
"16/8=2",
"29+45=74",
"74/2=37"
] | Current State: 37:[16, 29, 8, 45], Operations: []
Exploring Operation: 16/8=2, Resulting Numbers: [29, 45, 2]
Generated Node #2: [29, 45, 2] from Operation: 16/8=2
Current State: 37:[29, 45, 2], Operations: ['16/8=2']
Exploring Operation: 29+45=74, Resulting Numbers: [2, 74]
Generated Node #3: [2, 74] from Operation: 29+45=74
Current State: 37:[2, 74], Operations: ['16/8=2', '29+45=74']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[16, 29, 8, 45], Operations: []
Exploring Operation: 45-8=37, Resulting Numbers: [16, 29, 37]
Generated Node #0,0: 37:[16, 29, 37] Operation: 45-8=37
Exploring Operation: 16+8=24, Resulting Numbers: [29, 45, 24]
Generated Node #0,1: 37:[29, 45, 24] Operation: 16+8=24
Exploring Operation: 29+8=37, Resulting Numbers: [16, 45, 37]
Generated Node #0,2: 37:[16, 45, 37] Operation: 29+8=37
Exploring Operation: 16+29=45, Resulting Numbers: [8, 45, 45]
Generated Node #0,3: 37:[8, 45, 45] Operation: 16+29=45
Moving to Node #0,0
Current State: 37:[16, 29, 37], Operations: ['45-8=37']
Exploring Operation: 16+37=53, Resulting Numbers: [29, 53]
Generated Node #0,0,0: 37:[29, 53] Operation: 16+37=53
Exploring Operation: 29-16=13, Resulting Numbers: [37, 13]
Generated Node #0,0,1: 37:[37, 13] Operation: 29-16=13
Exploring Operation: 37-16=21, Resulting Numbers: [29, 21]
Generated Node #0,0,2: 37:[29, 21] Operation: 37-16=21
Exploring Operation: 16+29=45, Resulting Numbers: [37, 45]
Generated Node #0,0,3: 37:[37, 45] Operation: 16+29=45
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 37:[37, 45], Operations: ['45-8=37', '16+29=45']
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 37+45=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Exploring Operation: 37*45=1665, Resulting Numbers: [1665]
1665,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,0,0
Current State: 37:[29, 53], Operations: ['45-8=37', '16+37=53']
Exploring Operation: 29+53=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Exploring Operation: 29*53=1537, Resulting Numbers: [1537]
1537,37 unequal: No Solution
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,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,0,1
Current State: 37:[37, 13], Operations: ['45-8=37', '29-16=13']
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,37 unequal: No Solution
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,37 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,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,0,2
Current State: 37:[29, 21], Operations: ['45-8=37', '37-16=21']
Exploring Operation: 29*21=609, Resulting Numbers: [609]
609,37 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,37 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: 37:[16, 45, 37], Operations: ['29+8=37']
Exploring Operation: 37-16=21, Resulting Numbers: [45, 21]
Generated Node #0,2,0: 37:[45, 21] Operation: 37-16=21
Exploring Operation: 45-16=29, Resulting Numbers: [37, 29]
Generated Node #0,2,1: 37:[37, 29] Operation: 45-16=29
Exploring Operation: 16+45=61, Resulting Numbers: [37, 61]
Generated Node #0,2,2: 37:[37, 61] Operation: 16+45=61
Exploring Operation: 16+37=53, Resulting Numbers: [45, 53]
Generated Node #0,2,3: 37:[45, 53] Operation: 16+37=53
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[37, 29], Operations: ['29+8=37', '45-16=29']
Exploring Operation: 37*29=1073, Resulting Numbers: [1073]
1073,37 unequal: No Solution
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,37 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,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:[45, 21], Operations: ['29+8=37', '37-16=21']
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 45*21=945, Resulting Numbers: [945]
945,37 unequal: No Solution
Exploring Operation: 45+21=66, Resulting Numbers: [66]
66,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:[37, 61], Operations: ['29+8=37', '16+45=61']
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 37*61=2257, Resulting Numbers: [2257]
2257,37 unequal: No Solution
Exploring Operation: 37+61=98, Resulting Numbers: [98]
98,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,3
Current State: 37:[45, 53], Operations: ['29+8=37', '16+37=53']
Exploring Operation: 45*53=2385, Resulting Numbers: [2385]
2385,37 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 45+53=98, Resulting Numbers: [98]
98,37 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: 37:[29, 45, 24], Operations: ['16+8=24']
Exploring Operation: 29+24=53, Resulting Numbers: [45, 53]
Generated Node #0,1,0: 37:[45, 53] Operation: 29+24=53
Exploring Operation: 45-24=21, Resulting Numbers: [29, 21]
Generated Node #0,1,1: 37:[29, 21] Operation: 45-24=21
Exploring Operation: 45-29=16, Resulting Numbers: [24, 16]
Generated Node #0,1,2: 37:[24, 16] Operation: 45-29=16
Exploring Operation: 29-24=5, Resulting Numbers: [45, 5]
Generated Node #0,1,3: 37:[45, 5] Operation: 29-24=5
Moving to Node #0,3
Current State: 37:[8, 45, 45], Operations: ['16+29=45']
Exploring Operation: 8+45=53, Resulting Numbers: [45, 53]
Generated Node #0,3,0: 37:[45, 53] Operation: 8+45=53
Exploring Operation: 8+45=53, Resulting Numbers: [45, 53]
Generated Node #0,3,1: 37:[45, 53] Operation: 8+45=53
Exploring Operation: 45-8=37, Resulting Numbers: [45, 37]
Generated Node #0,3,2: 37:[45, 37] Operation: 45-8=37
Exploring Operation: 45-8=37, Resulting Numbers: [45, 37]
Generated Node #0,3,3: 37:[45, 37] Operation: 45-8=37
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 37:[45, 37], Operations: ['16+29=45', '45-8=37']
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 45*37=1665, Resulting Numbers: [1665]
1665,37 unequal: No Solution
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 37:[45, 37], Operations: ['16+29=45', '45-8=37']
Exploring Operation: 45+37=82, Resulting Numbers: [82]
82,37 unequal: No Solution
Exploring Operation: 45*37=1665, Resulting Numbers: [1665]
1665,37 unequal: No Solution
Exploring Operation: 45-37=8, Resulting Numbers: [8]
8,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 37:[45, 53], Operations: ['16+29=45', '8+45=53']
Exploring Operation: 45+53=98, Resulting Numbers: [98]
98,37 unequal: No Solution
Exploring Operation: 45*53=2385, Resulting Numbers: [2385]
2385,37 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 37:[45, 53], Operations: ['16+29=45', '8+45=53']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 45*53=2385, Resulting Numbers: [2385]
2385,37 unequal: No Solution
Exploring Operation: 45+53=98, Resulting Numbers: [98]
98,37 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: 37:[45, 53], Operations: ['16+8=24', '29+24=53']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 45*53=2385, Resulting Numbers: [2385]
2385,37 unequal: No Solution
Exploring Operation: 45+53=98, Resulting Numbers: [98]
98,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[29, 21], Operations: ['16+8=24', '45-24=21']
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,37 unequal: No Solution
Exploring Operation: 29*21=609, Resulting Numbers: [609]
609,37 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[24, 16], Operations: ['16+8=24', '45-29=16']
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[45, 5], Operations: ['16+8=24', '29-24=5']
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Exploring Operation: 45*5=225, Resulting Numbers: [225]
225,37 unequal: No Solution
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,37 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,37 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
2,
2,
26,
30
] | 19 | [
"26/2=13",
"2+30=32",
"32-13=19"
] | Current State: 19:[2, 2, 26, 30], Operations: []
Exploring Operation: 26/2=13, Resulting Numbers: [30, 13]
Generated Node #2: [30, 13] from Operation: 26/2=13
Current State: 19:[30, 13], Operations: ['26/2=13']
Exploring Operation: 2+30=32, Resulting Numbers: [13, 32]
Generated Node #3: [13, 32] from Operation: 2+30=32
Current State: 19:[13, 32], Operations: ['26/2=13', '2+30=32']
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[2, 2, 26, 30], Operations: []
Exploring Operation: 26-2=24, Resulting Numbers: [2, 30, 24]
Generated Node #0,0: 19:[2, 30, 24] Operation: 26-2=24
Exploring Operation: 2*2=4, Resulting Numbers: [26, 30, 4]
Generated Node #0,1: 19:[26, 30, 4] Operation: 2*2=4
Exploring Operation: 30/2=15, Resulting Numbers: [2, 26, 15]
Generated Node #0,2: 19:[2, 26, 15] Operation: 30/2=15
Exploring Operation: 30/2=15, Resulting Numbers: [2, 26, 15]
Generated Node #0,3: 19:[2, 26, 15] Operation: 30/2=15
Exploring Operation: 2+2=4, Resulting Numbers: [26, 30, 4]
Generated Node #0,4: 19:[26, 30, 4] Operation: 2+2=4
Moving to Node #0,2
Current State: 19:[2, 26, 15], Operations: ['30/2=15']
Exploring Operation: 2+26=28, Resulting Numbers: [15, 28]
Generated Node #0,2,0: 19:[15, 28] Operation: 2+26=28
Exploring Operation: 26-2=24, Resulting Numbers: [15, 24]
Generated Node #0,2,1: 19:[15, 24] Operation: 26-2=24
Exploring Operation: 2+15=17, Resulting Numbers: [26, 17]
Generated Node #0,2,2: 19:[26, 17] Operation: 2+15=17
Exploring Operation: 15-2=13, Resulting Numbers: [26, 13]
Generated Node #0,2,3: 19:[26, 13] Operation: 15-2=13
Exploring Operation: 26/2=13, Resulting Numbers: [15, 13]
Generated Node #0,2,4: 19:[15, 13] Operation: 26/2=13
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[15, 24], Operations: ['30/2=15', '26-2=24']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,19 unequal: No Solution
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,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,2
Current State: 19:[26, 17], Operations: ['30/2=15', '2+15=17']
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,19 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,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,4
Current State: 19:[15, 13], Operations: ['30/2=15', '26/2=13']
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,19 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,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:[15, 28], Operations: ['30/2=15', '2+26=28']
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 15*28=420, Resulting Numbers: [420]
420,19 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 19:[26, 13], Operations: ['30/2=15', '15-2=13']
Exploring Operation: 26+13=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 26*13=338, Resulting Numbers: [338]
338,19 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,19 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: 19:[2, 26, 15], Operations: ['30/2=15']
Exploring Operation: 2+26=28, Resulting Numbers: [15, 28]
Generated Node #0,3,0: 19:[15, 28] Operation: 2+26=28
Exploring Operation: 15-2=13, Resulting Numbers: [26, 13]
Generated Node #0,3,1: 19:[26, 13] Operation: 15-2=13
Exploring Operation: 26/2=13, Resulting Numbers: [15, 13]
Generated Node #0,3,2: 19:[15, 13] Operation: 26/2=13
Exploring Operation: 2+15=17, Resulting Numbers: [26, 17]
Generated Node #0,3,3: 19:[26, 17] Operation: 2+15=17
Exploring Operation: 26-2=24, Resulting Numbers: [15, 24]
Generated Node #0,3,4: 19:[15, 24] Operation: 26-2=24
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 19:[26, 17], Operations: ['30/2=15', '2+15=17']
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,19 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 19:[15, 24], Operations: ['30/2=15', '26-2=24']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,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,3,2
Current State: 19:[15, 13], Operations: ['30/2=15', '26/2=13']
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,19 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,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,3,0
Current State: 19:[15, 28], Operations: ['30/2=15', '2+26=28']
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 15*28=420, Resulting Numbers: [420]
420,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,3,1
Current State: 19:[26, 13], Operations: ['30/2=15', '15-2=13']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 26*13=338, Resulting Numbers: [338]
338,19 unequal: No Solution
Exploring Operation: 26+13=39, Resulting Numbers: [39]
39,19 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: 19:[2, 30, 24], Operations: ['26-2=24']
Exploring Operation: 2+30=32, Resulting Numbers: [24, 32]
Generated Node #0,0,0: 19:[24, 32] Operation: 2+30=32
Exploring Operation: 24-2=22, Resulting Numbers: [30, 22]
Generated Node #0,0,1: 19:[30, 22] Operation: 24-2=22
Exploring Operation: 30-2=28, Resulting Numbers: [24, 28]
Generated Node #0,0,2: 19:[24, 28] Operation: 30-2=28
Exploring Operation: 2+24=26, Resulting Numbers: [30, 26]
Generated Node #0,0,3: 19:[30, 26] Operation: 2+24=26
Exploring Operation: 30/2=15, Resulting Numbers: [24, 15]
Generated Node #0,0,4: 19:[24, 15] Operation: 30/2=15
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 19:[24, 15], Operations: ['26-2=24', '30/2=15']
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[30, 22], Operations: ['26-2=24', '24-2=22']
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 30*22=660, Resulting Numbers: [660]
660,19 unequal: No Solution
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[24, 28], Operations: ['26-2=24', '30-2=28']
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,19 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[24, 32], Operations: ['26-2=24', '2+30=32']
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,19 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 19:[30, 26], Operations: ['26-2=24', '2+24=26']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Exploring Operation: 30*26=780, Resulting Numbers: [780]
780,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 19:[26, 30, 4], Operations: ['2*2=4']
Exploring Operation: 30-26=4, Resulting Numbers: [4, 4]
Generated Node #0,1,0: 19:[4, 4] Operation: 30-26=4
Exploring Operation: 26-4=22, Resulting Numbers: [30, 22]
Generated Node #0,1,1: 19:[30, 22] Operation: 26-4=22
Exploring Operation: 26+4=30, Resulting Numbers: [30, 30]
Generated Node #0,1,2: 19:[30, 30] Operation: 26+4=30
Exploring Operation: 30-4=26, Resulting Numbers: [26, 26]
Generated Node #0,1,3: 19:[26, 26] Operation: 30-4=26
Exploring Operation: 30+4=34, Resulting Numbers: [26, 34]
Generated Node #0,1,4: 19:[26, 34] Operation: 30+4=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[30, 22], Operations: ['2*2=4', '26-4=22']
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 30*22=660, Resulting Numbers: [660]
660,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 19:[26, 26], Operations: ['2*2=4', '30-4=26']
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,19 unequal: No Solution
Exploring Operation: 26*26=676, Resulting Numbers: [676]
676,19 unequal: No Solution
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[30, 30], Operations: ['2*2=4', '26+4=30']
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 30*30=900, Resulting Numbers: [900]
900,19 unequal: No Solution
Exploring Operation: 30-30=0, Resulting Numbers: [0]
0,19 unequal: No Solution
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 19:[26, 34], Operations: ['2*2=4', '30+4=34']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 26*34=884, Resulting Numbers: [884]
884,19 unequal: No Solution
Exploring Operation: 26+34=60, Resulting Numbers: [60]
60,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[4, 4], Operations: ['2*2=4', '30-26=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,19 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,19 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: 19:[26, 30, 4], Operations: ['2+2=4']
Exploring Operation: 30+4=34, Resulting Numbers: [26, 34]
Generated Node #0,4,0: 19:[26, 34] Operation: 30+4=34
Exploring Operation: 30-26=4, Resulting Numbers: [4, 4]
Generated Node #0,4,1: 19:[4, 4] Operation: 30-26=4
Exploring Operation: 26+4=30, Resulting Numbers: [30, 30]
Generated Node #0,4,2: 19:[30, 30] Operation: 26+4=30
Exploring Operation: 30-4=26, Resulting Numbers: [26, 26]
Generated Node #0,4,3: 19:[26, 26] Operation: 30-4=26
Exploring Operation: 26-4=22, Resulting Numbers: [30, 22]
Generated Node #0,4,4: 19:[30, 22] Operation: 26-4=22
Moving to Node #0,4,3
Current State: 19:[26, 26], Operations: ['2+2=4', '30-4=26']
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 26*26=676, Resulting Numbers: [676]
676,19 unequal: No Solution
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,19 unequal: No Solution
Moving to Node #0,4,4
Current State: 19:[30, 22], Operations: ['2+2=4', '26-4=22']
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 30*22=660, Resulting Numbers: [660]
660,19 unequal: No Solution
Moving to Node #0,4,0
Current State: 19:[26, 34], Operations: ['2+2=4', '30+4=34']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 26*34=884, Resulting Numbers: [884]
884,19 unequal: No Solution
Exploring Operation: 26+34=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Moving to Node #0,4,2
Current State: 19:[30, 30], Operations: ['2+2=4', '26+4=30']
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 30*30=900, Resulting Numbers: [900]
900,19 unequal: No Solution
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 30-30=0, Resulting Numbers: [0]
0,19 unequal: No Solution
Moving to Node #0,4,1
Current State: 19:[4, 4], Operations: ['2+2=4', '30-26=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,19 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
86,
20,
95,
54
] | 65 | [
"86+20=106",
"95-54=41",
"106-41=65"
] | Current State: 65:[86, 20, 95, 54], Operations: []
Exploring Operation: 86+20=106, Resulting Numbers: [95, 54, 106]
Generated Node #2: [95, 54, 106] from Operation: 86+20=106
Current State: 65:[95, 54, 106], Operations: ['86+20=106']
Exploring Operation: 95-54=41, Resulting Numbers: [106, 41]
Generated Node #3: [106, 41] from Operation: 95-54=41
Current State: 65:[106, 41], Operations: ['86+20=106', '95-54=41']
Exploring Operation: 106-41=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[86, 20, 95, 54], Operations: []
Exploring Operation: 95-20=75, Resulting Numbers: [86, 54, 75]
Generated Node #0,0: 65:[86, 54, 75] Operation: 95-20=75
Exploring Operation: 95-54=41, Resulting Numbers: [86, 20, 41]
Generated Node #0,1: 65:[86, 20, 41] Operation: 95-54=41
Exploring Operation: 86-20=66, Resulting Numbers: [95, 54, 66]
Generated Node #0,2: 65:[95, 54, 66] Operation: 86-20=66
Exploring Operation: 95-86=9, Resulting Numbers: [20, 54, 9]
Generated Node #0,3: 65:[20, 54, 9] Operation: 95-86=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[20, 54, 9], Operations: ['95-86=9']
Exploring Operation: 20+54=74, Resulting Numbers: [9, 74]
Generated Node #0,3,0: 65:[9, 74] Operation: 20+54=74
Exploring Operation: 20-9=11, Resulting Numbers: [54, 11]
Generated Node #0,3,1: 65:[54, 11] Operation: 20-9=11
Exploring Operation: 54+9=63, Resulting Numbers: [20, 63]
Generated Node #0,3,2: 65:[20, 63] Operation: 54+9=63
Exploring Operation: 54/9=6, Resulting Numbers: [20, 6]
Generated Node #0,3,3: 65:[20, 6] Operation: 54/9=6
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 65:[20, 6], Operations: ['95-86=9', '54/9=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,65 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 65:[20, 63], Operations: ['95-86=9', '54+9=63']
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,65 unequal: No Solution
Exploring Operation: 20+63=83, Resulting Numbers: [83]
83,65 unequal: No Solution
Exploring Operation: 20*63=1260, Resulting Numbers: [1260]
1260,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 65:[9, 74], Operations: ['95-86=9', '20+54=74']
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[86, 20, 95, 54], Operations: []
Exploring Operation: 95-86=9, Resulting Numbers: [20, 54, 9]
Generated Node #0,3: 65:[20, 54, 9] Operation: 95-86=9
Moving to Node #0,3
Current State: 65:[20, 54, 9], Operations: ['95-86=9']
Exploring Operation: 20+54=74, Resulting Numbers: [9, 74]
Generated Node #0,3,0: 65:[9, 74] Operation: 20+54=74
Moving to Node #0,3,0
Current State: 65:[9, 74], Operations: ['95-86=9', '20+54=74']
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
18,
28,
93,
59
] | 22 | [
"18*93=1674",
"28*59=1652",
"1674-1652=22"
] | Current State: 22:[18, 28, 93, 59], Operations: []
Exploring Operation: 18*93=1674, Resulting Numbers: [28, 59, 1674]
Generated Node #2: [28, 59, 1674] from Operation: 18*93=1674
Current State: 22:[28, 59, 1674], Operations: ['18*93=1674']
Exploring Operation: 28*59=1652, Resulting Numbers: [1674, 1652]
Generated Node #3: [1674, 1652] from Operation: 28*59=1652
Current State: 22:[1674, 1652], Operations: ['18*93=1674', '28*59=1652']
Exploring Operation: 1674-1652=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[18, 28, 93, 59], Operations: []
Exploring Operation: 93-28=65, Resulting Numbers: [18, 59, 65]
Generated Node #0,0: 22:[18, 59, 65] Operation: 93-28=65
Exploring Operation: 93-59=34, Resulting Numbers: [18, 28, 34]
Generated Node #0,1: 22:[18, 28, 34] Operation: 93-59=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[18, 28, 34], Operations: ['93-59=34']
Exploring Operation: 34-18=16, Resulting Numbers: [28, 16]
Generated Node #0,1,0: 22:[28, 16] Operation: 34-18=16
Exploring Operation: 34-28=6, Resulting Numbers: [18, 6]
Generated Node #0,1,1: 22:[18, 6] Operation: 34-28=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 22:[18, 6], Operations: ['93-59=34', '34-28=6']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,22 unequal: No Solution
No 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: 22:[28, 16], Operations: ['93-59=34', '34-18=16']
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,22 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,22 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: 22:[18, 59, 65], Operations: ['93-28=65']
Exploring Operation: 59-18=41, Resulting Numbers: [65, 41]
Generated Node #0,0,0: 22:[65, 41] Operation: 59-18=41
Exploring Operation: 65-59=6, Resulting Numbers: [18, 6]
Generated Node #0,0,1: 22:[18, 6] Operation: 65-59=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[18, 6], Operations: ['93-28=65', '65-59=6']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,22 unequal: No Solution
No 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: 22:[65, 41], Operations: ['93-28=65', '59-18=41']
Exploring Operation: 65+41=106, Resulting Numbers: [106]
106,22 unequal: No Solution
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
58,
84,
82,
48
] | 80 | [
"58+82=140",
"48*140=6720",
"6720/84=80"
] | Current State: 80:[58, 84, 82, 48], Operations: []
Exploring Operation: 58+82=140, Resulting Numbers: [84, 48, 140]
Generated Node #2: [84, 48, 140] from Operation: 58+82=140
Current State: 80:[84, 48, 140], Operations: ['58+82=140']
Exploring Operation: 48*140=6720, Resulting Numbers: [84, 6720]
Generated Node #3: [84, 6720] from Operation: 48*140=6720
Current State: 80:[84, 6720], Operations: ['58+82=140', '48*140=6720']
Exploring Operation: 6720/84=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[58, 84, 82, 48], Operations: []
Exploring Operation: 58-48=10, Resulting Numbers: [84, 82, 10]
Generated Node #0,0: 80:[84, 82, 10] Operation: 58-48=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[84, 82, 10], Operations: ['58-48=10']
Exploring Operation: 84-82=2, Resulting Numbers: [10, 2]
Generated Node #0,0,0: 80:[10, 2] Operation: 84-82=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[10, 2], Operations: ['58-48=10', '84-82=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
38,
85,
1,
5
] | 67 | [
"5-1=4",
"38*4=152",
"152-85=67"
] | Current State: 67:[38, 85, 1, 5], Operations: []
Exploring Operation: 5-1=4, Resulting Numbers: [38, 85, 4]
Generated Node #2: [38, 85, 4] from Operation: 5-1=4
Current State: 67:[38, 85, 4], Operations: ['5-1=4']
Exploring Operation: 38*4=152, Resulting Numbers: [85, 152]
Generated Node #3: [85, 152] from Operation: 38*4=152
Current State: 67:[85, 152], Operations: ['5-1=4', '38*4=152']
Exploring Operation: 152-85=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[38, 85, 1, 5], Operations: []
Exploring Operation: 85-5=80, Resulting Numbers: [38, 1, 80]
Generated Node #0,0: 67:[38, 1, 80] Operation: 85-5=80
Exploring Operation: 38+1=39, Resulting Numbers: [85, 5, 39]
Generated Node #0,1: 67:[85, 5, 39] Operation: 38+1=39
Exploring Operation: 85-1=84, Resulting Numbers: [38, 5, 84]
Generated Node #0,2: 67:[38, 5, 84] Operation: 85-1=84
Exploring Operation: 38+5=43, Resulting Numbers: [85, 1, 43]
Generated Node #0,3: 67:[85, 1, 43] Operation: 38+5=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[38, 1, 80], Operations: ['85-5=80']
Exploring Operation: 38*1=38, Resulting Numbers: [80, 38]
Generated Node #0,0,0: 67:[80, 38] Operation: 38*1=38
Exploring Operation: 80-1=79, Resulting Numbers: [38, 79]
Generated Node #0,0,1: 67:[38, 79] Operation: 80-1=79
Exploring Operation: 38/1=38, Resulting Numbers: [80, 38]
Generated Node #0,0,2: 67:[80, 38] Operation: 38/1=38
Exploring Operation: 38+1=39, Resulting Numbers: [80, 39]
Generated Node #0,0,3: 67:[80, 39] Operation: 38+1=39
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[38, 79], Operations: ['85-5=80', '80-1=79']
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 38+79=117, Resulting Numbers: [117]
117,67 unequal: No Solution
Exploring Operation: 38*79=3002, Resulting Numbers: [3002]
3002,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 67:[80, 39], Operations: ['85-5=80', '38+1=39']
Exploring Operation: 80*39=3120, Resulting Numbers: [3120]
3120,67 unequal: No Solution
Exploring Operation: 80+39=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[80, 38], Operations: ['85-5=80', '38*1=38']
Exploring Operation: 80-38=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 80+38=118, Resulting Numbers: [118]
118,67 unequal: No Solution
Exploring Operation: 80*38=3040, Resulting Numbers: [3040]
3040,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 67:[80, 38], Operations: ['85-5=80', '38/1=38']
Exploring Operation: 80*38=3040, Resulting Numbers: [3040]
3040,67 unequal: No Solution
Exploring Operation: 80+38=118, Resulting Numbers: [118]
118,67 unequal: No Solution
Exploring Operation: 80-38=42, Resulting Numbers: [42]
42,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[85, 5, 39], Operations: ['38+1=39']
Exploring Operation: 85+5=90, Resulting Numbers: [39, 90]
Generated Node #0,1,0: 67:[39, 90] Operation: 85+5=90
Exploring Operation: 5+39=44, Resulting Numbers: [85, 44]
Generated Node #0,1,1: 67:[85, 44] Operation: 5+39=44
Exploring Operation: 85-5=80, Resulting Numbers: [39, 80]
Generated Node #0,1,2: 67:[39, 80] Operation: 85-5=80
Exploring Operation: 39-5=34, Resulting Numbers: [85, 34]
Generated Node #0,1,3: 67:[85, 34] Operation: 39-5=34
Moving to Node #0,1,1
Current State: 67:[85, 44], Operations: ['38+1=39', '5+39=44']
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 85+44=129, Resulting Numbers: [129]
129,67 unequal: No Solution
Exploring Operation: 85*44=3740, Resulting Numbers: [3740]
3740,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[39, 80], Operations: ['38+1=39', '85-5=80']
Exploring Operation: 39*80=3120, Resulting Numbers: [3120]
3120,67 unequal: No Solution
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 39+80=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[85, 34], Operations: ['38+1=39', '39-5=34']
Exploring Operation: 85+34=119, Resulting Numbers: [119]
119,67 unequal: No Solution
Exploring Operation: 85*34=2890, Resulting Numbers: [2890]
2890,67 unequal: No Solution
Exploring Operation: 85-34=51, Resulting Numbers: [51]
51,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[39, 90], Operations: ['38+1=39', '85+5=90']
Exploring Operation: 90-39=51, Resulting Numbers: [51]
51,67 unequal: No Solution
Exploring Operation: 39+90=129, Resulting Numbers: [129]
129,67 unequal: No Solution
Exploring Operation: 39*90=3510, Resulting Numbers: [3510]
3510,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[38, 5, 84], Operations: ['85-1=84']
Exploring Operation: 5+84=89, Resulting Numbers: [38, 89]
Generated Node #0,2,0: 67:[38, 89] Operation: 5+84=89
Exploring Operation: 84-5=79, Resulting Numbers: [38, 79]
Generated Node #0,2,1: 67:[38, 79] Operation: 84-5=79
Exploring Operation: 38-5=33, Resulting Numbers: [84, 33]
Generated Node #0,2,2: 67:[84, 33] Operation: 38-5=33
Exploring Operation: 38+5=43, Resulting Numbers: [84, 43]
Generated Node #0,2,3: 67:[84, 43] Operation: 38+5=43
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[38, 79], Operations: ['85-1=84', '84-5=79']
Exploring Operation: 38*79=3002, Resulting Numbers: [3002]
3002,67 unequal: No Solution
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 38+79=117, Resulting Numbers: [117]
117,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 67:[84, 43], Operations: ['85-1=84', '38+5=43']
Exploring Operation: 84-43=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 84*43=3612, Resulting Numbers: [3612]
3612,67 unequal: No Solution
Exploring Operation: 84+43=127, Resulting Numbers: [127]
127,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[38, 89], Operations: ['85-1=84', '5+84=89']
Exploring Operation: 89-38=51, Resulting Numbers: [51]
51,67 unequal: No Solution
Exploring Operation: 38*89=3382, Resulting Numbers: [3382]
3382,67 unequal: No Solution
Exploring Operation: 38+89=127, Resulting Numbers: [127]
127,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[84, 33], Operations: ['85-1=84', '38-5=33']
Exploring Operation: 84*33=2772, Resulting Numbers: [2772]
2772,67 unequal: No Solution
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,67 unequal: No Solution
Exploring Operation: 84+33=117, Resulting Numbers: [117]
117,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[85, 1, 43], Operations: ['38+5=43']
Exploring Operation: 85/1=85, Resulting Numbers: [43, 85]
Generated Node #0,3,0: 67:[43, 85] Operation: 85/1=85
Exploring Operation: 85-1=84, Resulting Numbers: [43, 84]
Generated Node #0,3,1: 67:[43, 84] Operation: 85-1=84
Exploring Operation: 85*1=85, Resulting Numbers: [43, 85]
Generated Node #0,3,2: 67:[43, 85] Operation: 85*1=85
Exploring Operation: 1+43=44, Resulting Numbers: [85, 44]
Generated Node #0,3,3: 67:[85, 44] Operation: 1+43=44
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 67:[43, 84], Operations: ['38+5=43', '85-1=84']
Exploring Operation: 84-43=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 43*84=3612, Resulting Numbers: [3612]
3612,67 unequal: No Solution
Exploring Operation: 43+84=127, Resulting Numbers: [127]
127,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 67:[85, 44], Operations: ['38+5=43', '1+43=44']
Exploring Operation: 85*44=3740, Resulting Numbers: [3740]
3740,67 unequal: No Solution
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 85+44=129, Resulting Numbers: [129]
129,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 67:[43, 85], Operations: ['38+5=43', '85/1=85']
Exploring Operation: 43*85=3655, Resulting Numbers: [3655]
3655,67 unequal: No Solution
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 43+85=128, Resulting Numbers: [128]
128,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 67:[43, 85], Operations: ['38+5=43', '85*1=85']
Exploring Operation: 43*85=3655, Resulting Numbers: [3655]
3655,67 unequal: No Solution
Exploring Operation: 43+85=128, Resulting Numbers: [128]
128,67 unequal: No Solution
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
26,
15,
82,
29
] | 37 | [
"29-26=3",
"15*3=45",
"82-45=37"
] | Current State: 37:[26, 15, 82, 29], Operations: []
Exploring Operation: 29-26=3, Resulting Numbers: [15, 82, 3]
Generated Node #2: [15, 82, 3] from Operation: 29-26=3
Current State: 37:[15, 82, 3], Operations: ['29-26=3']
Exploring Operation: 15*3=45, Resulting Numbers: [82, 45]
Generated Node #3: [82, 45] from Operation: 15*3=45
Current State: 37:[82, 45], Operations: ['29-26=3', '15*3=45']
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[26, 15, 82, 29], Operations: []
Exploring Operation: 82-29=53, Resulting Numbers: [26, 15, 53]
Generated Node #0,0: 37:[26, 15, 53] Operation: 82-29=53
Exploring Operation: 82-26=56, Resulting Numbers: [15, 29, 56]
Generated Node #0,1: 37:[15, 29, 56] Operation: 82-26=56
Exploring Operation: 82-15=67, Resulting Numbers: [26, 29, 67]
Generated Node #0,2: 37:[26, 29, 67] Operation: 82-15=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[26, 15, 53], Operations: ['82-29=53']
Exploring Operation: 53-26=27, Resulting Numbers: [15, 27]
Generated Node #0,0,0: 37:[15, 27] Operation: 53-26=27
Exploring Operation: 53-15=38, Resulting Numbers: [26, 38]
Generated Node #0,0,1: 37:[26, 38] Operation: 53-15=38
Exploring Operation: 26+15=41, Resulting Numbers: [53, 41]
Generated Node #0,0,2: 37:[53, 41] Operation: 26+15=41
Moving to Node #0,0,1
Current State: 37:[26, 38], Operations: ['82-29=53', '53-15=38']
Exploring Operation: 26+38=64, Resulting Numbers: [64]
64,37 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 26*38=988, Resulting Numbers: [988]
988,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[53, 41], Operations: ['82-29=53', '26+15=41']
Exploring Operation: 53-41=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 53*41=2173, Resulting Numbers: [2173]
2173,37 unequal: No Solution
Exploring Operation: 53+41=94, Resulting Numbers: [94]
94,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[15, 27], Operations: ['82-29=53', '53-26=27']
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,37 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[15, 29, 56], Operations: ['82-26=56']
Exploring Operation: 56-15=41, Resulting Numbers: [29, 41]
Generated Node #0,1,0: 37:[29, 41] Operation: 56-15=41
Exploring Operation: 56-29=27, Resulting Numbers: [15, 27]
Generated Node #0,1,1: 37:[15, 27] Operation: 56-29=27
Exploring Operation: 15+29=44, Resulting Numbers: [56, 44]
Generated Node #0,1,2: 37:[56, 44] Operation: 15+29=44
Moving to Node #0,1,0
Current State: 37:[29, 41], Operations: ['82-26=56', '56-15=41']
Exploring Operation: 29*41=1189, Resulting Numbers: [1189]
1189,37 unequal: No Solution
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 29+41=70, Resulting Numbers: [70]
70,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[56, 44], Operations: ['82-26=56', '15+29=44']
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,37 unequal: No Solution
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,37 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[15, 27], Operations: ['82-26=56', '56-29=27']
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,37 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,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
Current State: 37:[26, 29, 67], Operations: ['82-15=67']
Exploring Operation: 67-29=38, Resulting Numbers: [26, 38]
Generated Node #0,2,0: 37:[26, 38] Operation: 67-29=38
Exploring Operation: 26+29=55, Resulting Numbers: [67, 55]
Generated Node #0,2,1: 37:[67, 55] Operation: 26+29=55
Exploring Operation: 67-26=41, Resulting Numbers: [29, 41]
Generated Node #0,2,2: 37:[29, 41] Operation: 67-26=41
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 37:[26, 38], Operations: ['82-15=67', '67-29=38']
Exploring Operation: 26+38=64, Resulting Numbers: [64]
64,37 unequal: No Solution
Exploring Operation: 26*38=988, Resulting Numbers: [988]
988,37 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 37:[29, 41], Operations: ['82-15=67', '67-26=41']
Exploring Operation: 29*41=1189, Resulting Numbers: [1189]
1189,37 unequal: No Solution
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 29+41=70, Resulting Numbers: [70]
70,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 37:[67, 55], Operations: ['82-15=67', '26+29=55']
Exploring Operation: 67-55=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 67*55=3685, Resulting Numbers: [3685]
3685,37 unequal: No Solution
Exploring Operation: 67+55=122, Resulting Numbers: [122]
122,37 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 |
[
19,
49,
21,
67
] | 16 | [
"49-19=30",
"67-21=46",
"46-30=16"
] | Current State: 16:[19, 49, 21, 67], Operations: []
Exploring Operation: 49-19=30, Resulting Numbers: [21, 67, 30]
Generated Node #2: [21, 67, 30] from Operation: 49-19=30
Current State: 16:[21, 67, 30], Operations: ['49-19=30']
Exploring Operation: 67-21=46, Resulting Numbers: [30, 46]
Generated Node #3: [30, 46] from Operation: 67-21=46
Current State: 16:[30, 46], Operations: ['49-19=30', '67-21=46']
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[19, 49, 21, 67], Operations: []
Exploring Operation: 67-49=18, Resulting Numbers: [19, 21, 18]
Generated Node #0,0: 16:[19, 21, 18] Operation: 67-49=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[19, 21, 18], Operations: ['67-49=18']
Exploring Operation: 21-19=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 16:[18, 2] Operation: 21-19=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[18, 2], Operations: ['67-49=18', '21-19=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[19, 49, 21, 67], Operations: []
Exploring Operation: 67-49=18, Resulting Numbers: [19, 21, 18]
Generated Node #0,0: 16:[19, 21, 18] Operation: 67-49=18
Moving to Node #0,0
Current State: 16:[19, 21, 18], Operations: ['67-49=18']
Exploring Operation: 21-19=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 16:[18, 2] Operation: 21-19=2
Moving to Node #0,0,0
Current State: 16:[18, 2], Operations: ['67-49=18', '21-19=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
40,
24,
6,
42
] | 68 | [
"42-24=18",
"6*18=108",
"108-40=68"
] | Current State: 68:[40, 24, 6, 42], Operations: []
Exploring Operation: 42-24=18, Resulting Numbers: [40, 6, 18]
Generated Node #2: [40, 6, 18] from Operation: 42-24=18
Current State: 68:[40, 6, 18], Operations: ['42-24=18']
Exploring Operation: 6*18=108, Resulting Numbers: [40, 108]
Generated Node #3: [40, 108] from Operation: 6*18=108
Current State: 68:[40, 108], Operations: ['42-24=18', '6*18=108']
Exploring Operation: 108-40=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[40, 24, 6, 42], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [24, 6, 2]
Generated Node #0,0: 68:[24, 6, 2] Operation: 42-40=2
Exploring Operation: 24+42=66, Resulting Numbers: [40, 6, 66]
Generated Node #0,1: 68:[40, 6, 66] Operation: 24+42=66
Exploring Operation: 40-24=16, Resulting Numbers: [6, 42, 16]
Generated Node #0,2: 68:[6, 42, 16] Operation: 40-24=16
Exploring Operation: 40+24=64, Resulting Numbers: [6, 42, 64]
Generated Node #0,3: 68:[6, 42, 64] Operation: 40+24=64
Exploring Operation: 42-24=18, Resulting Numbers: [40, 6, 18]
Generated Node #0,4: 68:[40, 6, 18] Operation: 42-24=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[24, 6, 2], Operations: ['42-40=2']
Exploring Operation: 24-2=22, Resulting Numbers: [6, 22]
Generated Node #0,0,0: 68:[6, 22] Operation: 24-2=22
Exploring Operation: 24-6=18, Resulting Numbers: [2, 18]
Generated Node #0,0,1: 68:[2, 18] Operation: 24-6=18
Exploring Operation: 24/6=4, Resulting Numbers: [2, 4]
Generated Node #0,0,2: 68:[2, 4] Operation: 24/6=4
Exploring Operation: 24/2=12, Resulting Numbers: [6, 12]
Generated Node #0,0,3: 68:[6, 12] Operation: 24/2=12
Exploring Operation: 24+6=30, Resulting Numbers: [2, 30]
Generated Node #0,0,4: 68:[2, 30] Operation: 24+6=30
Moving to Node #0,0,2
Current State: 68:[2, 4], Operations: ['42-40=2', '24/6=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,68 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[2, 18], Operations: ['42-40=2', '24-6=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,68 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Moving to Node #0,0,4
Current State: 68:[2, 30], Operations: ['42-40=2', '24+6=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,68 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[6, 22], Operations: ['42-40=2', '24-2=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,68 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[6, 12], Operations: ['42-40=2', '24/2=12']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,68 unequal: No Solution
Exploring Operation: 6*12=72, Resulting Numbers: [72]
72,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 68:[40, 6, 18], Operations: ['42-24=18']
Exploring Operation: 40+18=58, Resulting Numbers: [6, 58]
Generated Node #0,4,0: 68:[6, 58] Operation: 40+18=58
Exploring Operation: 18-6=12, Resulting Numbers: [40, 12]
Generated Node #0,4,1: 68:[40, 12] Operation: 18-6=12
Exploring Operation: 40-6=34, Resulting Numbers: [18, 34]
Generated Node #0,4,2: 68:[18, 34] Operation: 40-6=34
Exploring Operation: 18/6=3, Resulting Numbers: [40, 3]
Generated Node #0,4,3: 68:[40, 3] Operation: 18/6=3
Exploring Operation: 40-18=22, Resulting Numbers: [6, 22]
Generated Node #0,4,4: 68:[6, 22] Operation: 40-18=22
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 68:[18, 34], Operations: ['42-24=18', '40-6=34']
Exploring Operation: 18*34=612, Resulting Numbers: [612]
612,68 unequal: No Solution
Exploring Operation: 18+34=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 68:[40, 3], Operations: ['42-24=18', '18/6=3']
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,68 unequal: No Solution
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 68:[6, 22], Operations: ['42-24=18', '40-18=22']
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,68 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 68:[40, 12], Operations: ['42-24=18', '18-6=12']
Exploring Operation: 40*12=480, Resulting Numbers: [480]
480,68 unequal: No Solution
Exploring Operation: 40+12=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 68:[6, 58], Operations: ['42-24=18', '40+18=58']
Exploring Operation: 6+58=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 6*58=348, Resulting Numbers: [348]
348,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[40, 6, 66], Operations: ['24+42=66']
Exploring Operation: 40-6=34, Resulting Numbers: [66, 34]
Generated Node #0,1,0: 68:[66, 34] Operation: 40-6=34
Exploring Operation: 40+6=46, Resulting Numbers: [66, 46]
Generated Node #0,1,1: 68:[66, 46] Operation: 40+6=46
Exploring Operation: 66-40=26, Resulting Numbers: [6, 26]
Generated Node #0,1,2: 68:[6, 26] Operation: 66-40=26
Exploring Operation: 66/6=11, Resulting Numbers: [40, 11]
Generated Node #0,1,3: 68:[40, 11] Operation: 66/6=11
Exploring Operation: 6+66=72, Resulting Numbers: [40, 72]
Generated Node #0,1,4: 68:[40, 72] Operation: 6+66=72
Moving to Node #0,1,0
Current State: 68:[66, 34], Operations: ['24+42=66', '40-6=34']
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 66+34=100, Resulting Numbers: [100]
100,68 unequal: No Solution
Exploring Operation: 66*34=2244, Resulting Numbers: [2244]
2244,68 unequal: No Solution
Moving to Node #0,1,4
Current State: 68:[40, 72], Operations: ['24+42=66', '6+66=72']
Exploring Operation: 40*72=2880, Resulting Numbers: [2880]
2880,68 unequal: No Solution
Exploring Operation: 72-40=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 40+72=112, Resulting Numbers: [112]
112,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[6, 26], Operations: ['24+42=66', '66-40=26']
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,68 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Moving to Node #0,1,3
Current State: 68:[40, 11], Operations: ['24+42=66', '66/6=11']
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,68 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,68 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[66, 46], Operations: ['24+42=66', '40+6=46']
Exploring Operation: 66-46=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 66*46=3036, Resulting Numbers: [3036]
3036,68 unequal: No Solution
Exploring Operation: 66+46=112, Resulting Numbers: [112]
112,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[6, 42, 16], Operations: ['40-24=16']
Exploring Operation: 42-16=26, Resulting Numbers: [6, 26]
Generated Node #0,2,0: 68:[6, 26] Operation: 42-16=26
Exploring Operation: 6+16=22, Resulting Numbers: [42, 22]
Generated Node #0,2,1: 68:[42, 22] Operation: 6+16=22
Exploring Operation: 42+16=58, Resulting Numbers: [6, 58]
Generated Node #0,2,2: 68:[6, 58] Operation: 42+16=58
Exploring Operation: 42/6=7, Resulting Numbers: [16, 7]
Generated Node #0,2,3: 68:[16, 7] Operation: 42/6=7
Exploring Operation: 42-6=36, Resulting Numbers: [16, 36]
Generated Node #0,2,4: 68:[16, 36] Operation: 42-6=36
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 68:[16, 36], Operations: ['40-24=16', '42-6=36']
Exploring Operation: 16*36=576, Resulting Numbers: [576]
576,68 unequal: No Solution
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 68:[16, 7], Operations: ['40-24=16', '42/6=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 68:[6, 26], Operations: ['40-24=16', '42-16=26']
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,68 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 68:[6, 58], Operations: ['40-24=16', '42+16=58']
Exploring Operation: 6+58=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 6*58=348, Resulting Numbers: [348]
348,68 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 68:[42, 22], Operations: ['40-24=16', '6+16=22']
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 42*22=924, Resulting Numbers: [924]
924,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 68:[6, 42, 64], Operations: ['40+24=64']
Exploring Operation: 42/6=7, Resulting Numbers: [64, 7]
Generated Node #0,3,0: 68:[64, 7] Operation: 42/6=7
Exploring Operation: 42-6=36, Resulting Numbers: [64, 36]
Generated Node #0,3,1: 68:[64, 36] Operation: 42-6=36
Exploring Operation: 64-42=22, Resulting Numbers: [6, 22]
Generated Node #0,3,2: 68:[6, 22] Operation: 64-42=22
Exploring Operation: 6+42=48, Resulting Numbers: [64, 48]
Generated Node #0,3,3: 68:[64, 48] Operation: 6+42=48
Exploring Operation: 6+64=70, Resulting Numbers: [42, 70]
Generated Node #0,3,4: 68:[42, 70] Operation: 6+64=70
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 68:[64, 36], Operations: ['40+24=64', '42-6=36']
Exploring Operation: 64*36=2304, Resulting Numbers: [2304]
2304,68 unequal: No Solution
Exploring Operation: 64+36=100, Resulting Numbers: [100]
100,68 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 68:[64, 7], Operations: ['40+24=64', '42/6=7']
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,68 unequal: No Solution
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,68 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 68:[6, 22], Operations: ['40+24=64', '64-42=22']
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,68 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 68:[42, 70], Operations: ['40+24=64', '6+64=70']
Exploring Operation: 42+70=112, Resulting Numbers: [112]
112,68 unequal: No Solution
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,68 unequal: No Solution
Exploring Operation: 42*70=2940, Resulting Numbers: [2940]
2940,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 68:[64, 48], Operations: ['40+24=64', '6+42=48']
Exploring Operation: 64+48=112, Resulting Numbers: [112]
112,68 unequal: No Solution
Exploring Operation: 64*48=3072, Resulting Numbers: [3072]
3072,68 unequal: No Solution
Exploring Operation: 64-48=16, Resulting Numbers: [16]
16,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
50,
94,
34,
22
] | 36 | [
"94-50=44",
"44/22=2",
"34+2=36"
] | Current State: 36:[50, 94, 34, 22], Operations: []
Exploring Operation: 94-50=44, Resulting Numbers: [34, 22, 44]
Generated Node #2: [34, 22, 44] from Operation: 94-50=44
Current State: 36:[34, 22, 44], Operations: ['94-50=44']
Exploring Operation: 44/22=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 44/22=2
Current State: 36:[34, 2], Operations: ['94-50=44', '44/22=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[50, 94, 34, 22], Operations: []
Exploring Operation: 94-50=44, Resulting Numbers: [34, 22, 44]
Generated Node #0,0: 36:[34, 22, 44] Operation: 94-50=44
Moving to Node #0,0
Current State: 36:[34, 22, 44], Operations: ['94-50=44']
Exploring Operation: 44/22=2, Resulting Numbers: [34, 2]
Generated Node #0,0,0: 36:[34, 2] Operation: 44/22=2
Moving to Node #0,0,0
Current State: 36:[34, 2], Operations: ['94-50=44', '44/22=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[50, 94, 34, 22], Operations: []
Exploring Operation: 94-50=44, Resulting Numbers: [34, 22, 44]
Generated Node #0,0: 36:[34, 22, 44] Operation: 94-50=44
Moving to Node #0,0
Current State: 36:[34, 22, 44], Operations: ['94-50=44']
Exploring Operation: 44/22=2, Resulting Numbers: [34, 2]
Generated Node #0,0,0: 36:[34, 2] Operation: 44/22=2
Moving to Node #0,0,0
Current State: 36:[34, 2], Operations: ['94-50=44', '44/22=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
92,
5,
4,
8
] | 65 | [
"92+5=97",
"4*8=32",
"97-32=65"
] | Current State: 65:[92, 5, 4, 8], Operations: []
Exploring Operation: 92+5=97, Resulting Numbers: [4, 8, 97]
Generated Node #2: [4, 8, 97] from Operation: 92+5=97
Current State: 65:[4, 8, 97], Operations: ['92+5=97']
Exploring Operation: 4*8=32, Resulting Numbers: [97, 32]
Generated Node #3: [97, 32] from Operation: 4*8=32
Current State: 65:[97, 32], Operations: ['92+5=97', '4*8=32']
Exploring Operation: 97-32=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[92, 5, 4, 8], Operations: []
Exploring Operation: 92-8=84, Resulting Numbers: [5, 4, 84]
Generated Node #0,0: 65:[5, 4, 84] Operation: 92-8=84
Exploring Operation: 92/4=23, Resulting Numbers: [5, 8, 23]
Generated Node #0,1: 65:[5, 8, 23] Operation: 92/4=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[5, 8, 23], Operations: ['92/4=23']
Exploring Operation: 23-8=15, Resulting Numbers: [5, 15]
Generated Node #0,1,0: 65:[5, 15] Operation: 23-8=15
Exploring Operation: 23-5=18, Resulting Numbers: [8, 18]
Generated Node #0,1,1: 65:[8, 18] Operation: 23-5=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[5, 15], Operations: ['92/4=23', '23-8=15']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 65:[8, 18], Operations: ['92/4=23', '23-5=18']
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[5, 4, 84], Operations: ['92-8=84']
Exploring Operation: 84/4=21, Resulting Numbers: [5, 21]
Generated Node #0,0,0: 65:[5, 21] Operation: 84/4=21
Exploring Operation: 84-5=79, Resulting Numbers: [4, 79]
Generated Node #0,0,1: 65:[4, 79] Operation: 84-5=79
Moving to Node #0,0,0
Current State: 65:[5, 21], Operations: ['92-8=84', '84/4=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,65 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[4, 79], Operations: ['92-8=84', '84-5=79']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 4+79=83, Resulting Numbers: [83]
83,65 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 |
[
56,
84,
47,
70
] | 94 | [
"56+84=140",
"47*140=6580",
"6580/70=94"
] | Current State: 94:[56, 84, 47, 70], Operations: []
Exploring Operation: 56+84=140, Resulting Numbers: [47, 70, 140]
Generated Node #2: [47, 70, 140] from Operation: 56+84=140
Current State: 94:[47, 70, 140], Operations: ['56+84=140']
Exploring Operation: 47*140=6580, Resulting Numbers: [70, 6580]
Generated Node #3: [70, 6580] from Operation: 47*140=6580
Current State: 94:[70, 6580], Operations: ['56+84=140', '47*140=6580']
Exploring Operation: 6580/70=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[56, 84, 47, 70], Operations: []
Exploring Operation: 84-70=14, Resulting Numbers: [56, 47, 14]
Generated Node #0,0: 94:[56, 47, 14] Operation: 84-70=14
Exploring Operation: 70-56=14, Resulting Numbers: [84, 47, 14]
Generated Node #0,1: 94:[84, 47, 14] Operation: 70-56=14
Exploring Operation: 56-47=9, Resulting Numbers: [84, 70, 9]
Generated Node #0,2: 94:[84, 70, 9] Operation: 56-47=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[56, 47, 14], Operations: ['84-70=14']
Exploring Operation: 56/14=4, Resulting Numbers: [47, 4]
Generated Node #0,0,0: 94:[47, 4] Operation: 56/14=4
Exploring Operation: 56-47=9, Resulting Numbers: [14, 9]
Generated Node #0,0,1: 94:[14, 9] Operation: 56-47=9
Exploring Operation: 56-14=42, Resulting Numbers: [47, 42]
Generated Node #0,0,2: 94:[47, 42] Operation: 56-14=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[47, 4], Operations: ['84-70=14', '56/14=4']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,94 unequal: No Solution
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 94:[47, 42], Operations: ['84-70=14', '56-14=42']
Exploring Operation: 47+42=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Exploring Operation: 47*42=1974, Resulting Numbers: [1974]
1974,94 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 94:[14, 9], Operations: ['84-70=14', '56-47=9']
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,94 unequal: No Solution
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[84, 47, 14], Operations: ['70-56=14']
Exploring Operation: 84+14=98, Resulting Numbers: [47, 98]
Generated Node #0,1,0: 94:[47, 98] Operation: 84+14=98
Exploring Operation: 84-47=37, Resulting Numbers: [14, 37]
Generated Node #0,1,1: 94:[14, 37] Operation: 84-47=37
Exploring Operation: 84/14=6, Resulting Numbers: [47, 6]
Generated Node #0,1,2: 94:[47, 6] Operation: 84/14=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[47, 98], Operations: ['70-56=14', '84+14=98']
Exploring Operation: 47*98=4606, Resulting Numbers: [4606]
4606,94 unequal: No Solution
Exploring Operation: 47+98=145, Resulting Numbers: [145]
145,94 unequal: No Solution
Exploring Operation: 98-47=51, Resulting Numbers: [51]
51,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 94:[47, 6], Operations: ['70-56=14', '84/14=6']
Exploring Operation: 47*6=282, Resulting Numbers: [282]
282,94 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[14, 37], Operations: ['70-56=14', '84-47=37']
Exploring Operation: 14*37=518, Resulting Numbers: [518]
518,94 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 14+37=51, Resulting Numbers: [51]
51,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[84, 70, 9], Operations: ['56-47=9']
Exploring Operation: 84+9=93, Resulting Numbers: [70, 93]
Generated Node #0,2,0: 94:[70, 93] Operation: 84+9=93
Exploring Operation: 84-70=14, Resulting Numbers: [9, 14]
Generated Node #0,2,1: 94:[9, 14] Operation: 84-70=14
Exploring Operation: 70-9=61, Resulting Numbers: [84, 61]
Generated Node #0,2,2: 94:[84, 61] Operation: 70-9=61
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 94:[9, 14], Operations: ['56-47=9', '84-70=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,94 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 94:[70, 93], Operations: ['56-47=9', '84+9=93']
Exploring Operation: 70+93=163, Resulting Numbers: [163]
163,94 unequal: No Solution
Exploring Operation: 70*93=6510, Resulting Numbers: [6510]
6510,94 unequal: No Solution
Exploring Operation: 93-70=23, Resulting Numbers: [23]
23,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 94:[84, 61], Operations: ['56-47=9', '70-9=61']
Exploring Operation: 84-61=23, Resulting Numbers: [23]
23,94 unequal: No Solution
Exploring Operation: 84+61=145, Resulting Numbers: [145]
145,94 unequal: No Solution
Exploring Operation: 84*61=5124, Resulting Numbers: [5124]
5124,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
25,
66,
5,
67
] | 29 | [
"25+66=91",
"67-5=62",
"91-62=29"
] | Current State: 29:[25, 66, 5, 67], Operations: []
Exploring Operation: 25+66=91, Resulting Numbers: [5, 67, 91]
Generated Node #2: [5, 67, 91] from Operation: 25+66=91
Current State: 29:[5, 67, 91], Operations: ['25+66=91']
Exploring Operation: 67-5=62, Resulting Numbers: [91, 62]
Generated Node #3: [91, 62] from Operation: 67-5=62
Current State: 29:[91, 62], Operations: ['25+66=91', '67-5=62']
Exploring Operation: 91-62=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[25, 66, 5, 67], Operations: []
Exploring Operation: 67-66=1, Resulting Numbers: [25, 5, 1]
Generated Node #0,0: 29:[25, 5, 1] Operation: 67-66=1
Exploring Operation: 66-25=41, Resulting Numbers: [5, 67, 41]
Generated Node #0,1: 29:[5, 67, 41] Operation: 66-25=41
Exploring Operation: 67-25=42, Resulting Numbers: [66, 5, 42]
Generated Node #0,2: 29:[66, 5, 42] Operation: 67-25=42
Moving to Node #0,0
Current State: 29:[25, 5, 1], Operations: ['67-66=1']
Exploring Operation: 5+1=6, Resulting Numbers: [25, 6]
Generated Node #0,0,0: 29:[25, 6] Operation: 5+1=6
Exploring Operation: 25*1=25, Resulting Numbers: [5, 25]
Generated Node #0,0,1: 29:[5, 25] Operation: 25*1=25
Exploring Operation: 25+1=26, Resulting Numbers: [5, 26]
Generated Node #0,0,2: 29:[5, 26] Operation: 25+1=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[25, 6], Operations: ['67-66=1', '5+1=6']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,29 unequal: No Solution
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,29 unequal: No Solution
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[5, 26], Operations: ['67-66=1', '25+1=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,29 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[5, 25], Operations: ['67-66=1', '25*1=25']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,29 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,29 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: 29:[5, 67, 41], Operations: ['66-25=41']
Exploring Operation: 41-5=36, Resulting Numbers: [67, 36]
Generated Node #0,1,0: 29:[67, 36] Operation: 41-5=36
Exploring Operation: 67-5=62, Resulting Numbers: [41, 62]
Generated Node #0,1,1: 29:[41, 62] Operation: 67-5=62
Exploring Operation: 67-41=26, Resulting Numbers: [5, 26]
Generated Node #0,1,2: 29:[5, 26] Operation: 67-41=26
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[5, 26], Operations: ['66-25=41', '67-41=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,29 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,29 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[67, 36], Operations: ['66-25=41', '41-5=36']
Exploring Operation: 67+36=103, Resulting Numbers: [103]
103,29 unequal: No Solution
Exploring Operation: 67*36=2412, Resulting Numbers: [2412]
2412,29 unequal: No Solution
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[41, 62], Operations: ['66-25=41', '67-5=62']
Exploring Operation: 41+62=103, Resulting Numbers: [103]
103,29 unequal: No Solution
Exploring Operation: 41*62=2542, Resulting Numbers: [2542]
2542,29 unequal: No Solution
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,29 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: 29:[66, 5, 42], Operations: ['67-25=42']
Exploring Operation: 42-5=37, Resulting Numbers: [66, 37]
Generated Node #0,2,0: 29:[66, 37] Operation: 42-5=37
Exploring Operation: 66-42=24, Resulting Numbers: [5, 24]
Generated Node #0,2,1: 29:[5, 24] Operation: 66-42=24
Exploring Operation: 66-5=61, Resulting Numbers: [42, 61]
Generated Node #0,2,2: 29:[42, 61] Operation: 66-5=61
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[5, 24], Operations: ['67-25=42', '66-42=24']
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[25, 66, 5, 67], Operations: []
Exploring Operation: 67-25=42, Resulting Numbers: [66, 5, 42]
Generated Node #0,2: 29:[66, 5, 42] Operation: 67-25=42
Moving to Node #0,2
Current State: 29:[66, 5, 42], Operations: ['67-25=42']
Exploring Operation: 66-42=24, Resulting Numbers: [5, 24]
Generated Node #0,2,1: 29:[5, 24] Operation: 66-42=24
Moving to Node #0,2,1
Current State: 29:[5, 24], Operations: ['67-25=42', '66-42=24']
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_3 | mult_heuristic |
[
10,
83,
3,
18
] | 39 | [
"10+83=93",
"3*18=54",
"93-54=39"
] | Current State: 39:[10, 83, 3, 18], Operations: []
Exploring Operation: 10+83=93, Resulting Numbers: [3, 18, 93]
Generated Node #2: [3, 18, 93] from Operation: 10+83=93
Current State: 39:[3, 18, 93], Operations: ['10+83=93']
Exploring Operation: 3*18=54, Resulting Numbers: [93, 54]
Generated Node #3: [93, 54] from Operation: 3*18=54
Current State: 39:[93, 54], Operations: ['10+83=93', '3*18=54']
Exploring Operation: 93-54=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[10, 83, 3, 18], Operations: []
Exploring Operation: 83-18=65, Resulting Numbers: [10, 3, 65]
Generated Node #0,0: 39:[10, 3, 65] Operation: 83-18=65
Moving to Node #0,0
Current State: 39:[10, 3, 65], Operations: ['83-18=65']
Exploring Operation: 65-10=55, Resulting Numbers: [3, 55]
Generated Node #0,0,0: 39:[3, 55] Operation: 65-10=55
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[3, 55], Operations: ['83-18=65', '65-10=55']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
29,
74,
76,
17
] | 92 | [
"29+17=46",
"76-74=2",
"46*2=92"
] | Current State: 92:[29, 74, 76, 17], Operations: []
Exploring Operation: 29+17=46, Resulting Numbers: [74, 76, 46]
Generated Node #2: [74, 76, 46] from Operation: 29+17=46
Current State: 92:[74, 76, 46], Operations: ['29+17=46']
Exploring Operation: 76-74=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 76-74=2
Current State: 92:[46, 2], Operations: ['29+17=46', '76-74=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[29, 74, 76, 17], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [29, 17, 2]
Generated Node #0,0: 92:[29, 17, 2] Operation: 76-74=2
Moving to Node #0,0
Current State: 92:[29, 17, 2], Operations: ['76-74=2']
Exploring Operation: 29+17=46, Resulting Numbers: [2, 46]
Generated Node #0,0,0: 92:[2, 46] Operation: 29+17=46
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[2, 46], Operations: ['76-74=2', '29+17=46']
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[29, 74, 76, 17], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [29, 17, 2]
Generated Node #0,0: 92:[29, 17, 2] Operation: 76-74=2
Moving to Node #0,0
Current State: 92:[29, 17, 2], Operations: ['76-74=2']
Exploring Operation: 29+17=46, Resulting Numbers: [2, 46]
Generated Node #0,0,0: 92:[2, 46] Operation: 29+17=46
Moving to Node #0,0,0
Current State: 92:[2, 46], Operations: ['76-74=2', '29+17=46']
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
14,
19,
72,
45
] | 60 | [
"14+19=33",
"72-45=27",
"33+27=60"
] | Current State: 60:[14, 19, 72, 45], Operations: []
Exploring Operation: 14+19=33, Resulting Numbers: [72, 45, 33]
Generated Node #2: [72, 45, 33] from Operation: 14+19=33
Current State: 60:[72, 45, 33], Operations: ['14+19=33']
Exploring Operation: 72-45=27, Resulting Numbers: [33, 27]
Generated Node #3: [33, 27] from Operation: 72-45=27
Current State: 60:[33, 27], Operations: ['14+19=33', '72-45=27']
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[14, 19, 72, 45], Operations: []
Exploring Operation: 72-45=27, Resulting Numbers: [14, 19, 27]
Generated Node #0,0: 60:[14, 19, 27] Operation: 72-45=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[14, 19, 27], Operations: ['72-45=27']
Exploring Operation: 27-14=13, Resulting Numbers: [19, 13]
Generated Node #0,0,0: 60:[19, 13] Operation: 27-14=13
Moving to Node #0,0,0
Current State: 60:[19, 13], Operations: ['72-45=27', '27-14=13']
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,60 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 |
[
21,
87,
63,
25
] | 75 | [
"87-21=66",
"66-63=3",
"25*3=75"
] | Current State: 75:[21, 87, 63, 25], Operations: []
Exploring Operation: 87-21=66, Resulting Numbers: [63, 25, 66]
Generated Node #2: [63, 25, 66] from Operation: 87-21=66
Current State: 75:[63, 25, 66], Operations: ['87-21=66']
Exploring Operation: 66-63=3, Resulting Numbers: [25, 3]
Generated Node #3: [25, 3] from Operation: 66-63=3
Current State: 75:[25, 3], Operations: ['87-21=66', '66-63=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[21, 87, 63, 25], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [21, 25, 24]
Generated Node #0,0: 75:[21, 25, 24] Operation: 87-63=24
Exploring Operation: 63/21=3, Resulting Numbers: [87, 25, 3]
Generated Node #0,1: 75:[87, 25, 3] Operation: 63/21=3
Exploring Operation: 25-21=4, Resulting Numbers: [87, 63, 4]
Generated Node #0,2: 75:[87, 63, 4] Operation: 25-21=4
Exploring Operation: 87-21=66, Resulting Numbers: [63, 25, 66]
Generated Node #0,3: 75:[63, 25, 66] Operation: 87-21=66
Exploring Operation: 21+63=84, Resulting Numbers: [87, 25, 84]
Generated Node #0,4: 75:[87, 25, 84] Operation: 21+63=84
Moving to Node #0,0
Current State: 75:[21, 25, 24], Operations: ['87-63=24']
Exploring Operation: 21+24=45, Resulting Numbers: [25, 45]
Generated Node #0,0,0: 75:[25, 45] Operation: 21+24=45
Exploring Operation: 25-24=1, Resulting Numbers: [21, 1]
Generated Node #0,0,1: 75:[21, 1] Operation: 25-24=1
Exploring Operation: 25-21=4, Resulting Numbers: [24, 4]
Generated Node #0,0,2: 75:[24, 4] Operation: 25-21=4
Exploring Operation: 24-21=3, Resulting Numbers: [25, 3]
Generated Node #0,0,3: 75:[25, 3] Operation: 24-21=3
Exploring Operation: 21+25=46, Resulting Numbers: [24, 46]
Generated Node #0,0,4: 75:[24, 46] Operation: 21+25=46
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 75:[25, 3], Operations: ['87-63=24', '24-21=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[21, 87, 63, 25], Operations: []
Exploring Operation: 87-63=24, Resulting Numbers: [21, 25, 24]
Generated Node #0,0: 75:[21, 25, 24] Operation: 87-63=24
Moving to Node #0,0
Current State: 75:[21, 25, 24], Operations: ['87-63=24']
Exploring Operation: 24-21=3, Resulting Numbers: [25, 3]
Generated Node #0,0,3: 75:[25, 3] Operation: 24-21=3
Moving to Node #0,0,3
Current State: 75:[25, 3], Operations: ['87-63=24', '24-21=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
36,
40,
4,
1
] | 79 | [
"36+40=76",
"4-1=3",
"76+3=79"
] | Current State: 79:[36, 40, 4, 1], Operations: []
Exploring Operation: 36+40=76, Resulting Numbers: [4, 1, 76]
Generated Node #2: [4, 1, 76] from Operation: 36+40=76
Current State: 79:[4, 1, 76], Operations: ['36+40=76']
Exploring Operation: 4-1=3, Resulting Numbers: [76, 3]
Generated Node #3: [76, 3] from Operation: 4-1=3
Current State: 79:[76, 3], Operations: ['36+40=76', '4-1=3']
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[36, 40, 4, 1], Operations: []
Exploring Operation: 40+4=44, Resulting Numbers: [36, 1, 44]
Generated Node #0,0: 79:[36, 1, 44] Operation: 40+4=44
Exploring Operation: 36+40=76, Resulting Numbers: [4, 1, 76]
Generated Node #0,1: 79:[4, 1, 76] Operation: 36+40=76
Exploring Operation: 40+1=41, Resulting Numbers: [36, 4, 41]
Generated Node #0,2: 79:[36, 4, 41] Operation: 40+1=41
Exploring Operation: 36+1=37, Resulting Numbers: [40, 4, 37]
Generated Node #0,3: 79:[40, 4, 37] Operation: 36+1=37
Exploring Operation: 36+4=40, Resulting Numbers: [40, 1, 40]
Generated Node #0,4: 79:[40, 1, 40] Operation: 36+4=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[36, 1, 44], Operations: ['40+4=44']
Exploring Operation: 36/1=36, Resulting Numbers: [44, 36]
Generated Node #0,0,0: 79:[44, 36] Operation: 36/1=36
Exploring Operation: 1*44=44, Resulting Numbers: [36, 44]
Generated Node #0,0,1: 79:[36, 44] Operation: 1*44=44
Exploring Operation: 1+44=45, Resulting Numbers: [36, 45]
Generated Node #0,0,2: 79:[36, 45] Operation: 1+44=45
Exploring Operation: 36*1=36, Resulting Numbers: [44, 36]
Generated Node #0,0,3: 79:[44, 36] Operation: 36*1=36
Exploring Operation: 36+1=37, Resulting Numbers: [44, 37]
Generated Node #0,0,4: 79:[44, 37] Operation: 36+1=37
Moving to Node #0,0,2
Current State: 79:[36, 45], Operations: ['40+4=44', '1+44=45']
Exploring Operation: 36*45=1620, Resulting Numbers: [1620]
1620,79 unequal: No Solution
Exploring Operation: 36+45=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Exploring Operation: 45-36=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Moving to Node #0,0,4
Current State: 79:[44, 37], Operations: ['40+4=44', '36+1=37']
Exploring Operation: 44+37=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Exploring Operation: 44*37=1628, Resulting Numbers: [1628]
1628,79 unequal: No Solution
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[44, 36], Operations: ['40+4=44', '36/1=36']
Exploring Operation: 44*36=1584, Resulting Numbers: [1584]
1584,79 unequal: No Solution
Exploring Operation: 44-36=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Exploring Operation: 44+36=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[36, 44], Operations: ['40+4=44', '1*44=44']
Exploring Operation: 44-36=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Exploring Operation: 36+44=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 36*44=1584, Resulting Numbers: [1584]
1584,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[44, 36], Operations: ['40+4=44', '36*1=36']
Exploring Operation: 44-36=8, Resulting Numbers: [8]
8,79 unequal: No Solution
Exploring Operation: 44*36=1584, Resulting Numbers: [1584]
1584,79 unequal: No Solution
Exploring Operation: 44+36=80, Resulting Numbers: [80]
80,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[4, 1, 76], Operations: ['36+40=76']
Exploring Operation: 4/1=4, Resulting Numbers: [76, 4]
Generated Node #0,1,0: 79:[76, 4] Operation: 4/1=4
Exploring Operation: 4*1=4, Resulting Numbers: [76, 4]
Generated Node #0,1,1: 79:[76, 4] Operation: 4*1=4
Exploring Operation: 1+76=77, Resulting Numbers: [4, 77]
Generated Node #0,1,2: 79:[4, 77] Operation: 1+76=77
Exploring Operation: 1*76=76, Resulting Numbers: [4, 76]
Generated Node #0,1,3: 79:[4, 76] Operation: 1*76=76
Exploring Operation: 4+1=5, Resulting Numbers: [76, 5]
Generated Node #0,1,4: 79:[76, 5] Operation: 4+1=5
Moving to Node #0,1,2
Current State: 79:[4, 77], Operations: ['36+40=76', '1+76=77']
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Exploring Operation: 4*77=308, Resulting Numbers: [308]
308,79 unequal: No Solution
Moving to Node #0,1,4
Current State: 79:[76, 5], Operations: ['36+40=76', '4+1=5']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,79 unequal: No Solution
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,79 unequal: No Solution
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[76, 4], Operations: ['36+40=76', '4/1=4']
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[76, 4], Operations: ['36+40=76', '4*1=4']
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,79 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[4, 76], Operations: ['36+40=76', '1*76=76']
Exploring Operation: 4*76=304, Resulting Numbers: [304]
304,79 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,79 unequal: No Solution
Exploring Operation: 4+76=80, Resulting Numbers: [80]
80,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[36, 4, 41], Operations: ['40+1=41']
Exploring Operation: 4+41=45, Resulting Numbers: [36, 45]
Generated Node #0,2,0: 79:[36, 45] Operation: 4+41=45
Exploring Operation: 36+41=77, Resulting Numbers: [4, 77]
Generated Node #0,2,1: 79:[4, 77] Operation: 36+41=77
Exploring Operation: 36-4=32, Resulting Numbers: [41, 32]
Generated Node #0,2,2: 79:[41, 32] Operation: 36-4=32
Exploring Operation: 36+4=40, Resulting Numbers: [41, 40]
Generated Node #0,2,3: 79:[41, 40] Operation: 36+4=40
Exploring Operation: 41-4=37, Resulting Numbers: [36, 37]
Generated Node #0,2,4: 79:[36, 37] Operation: 41-4=37
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[36, 45], Operations: ['40+1=41', '4+41=45']
Exploring Operation: 36+45=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Exploring Operation: 45-36=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Exploring Operation: 36*45=1620, Resulting Numbers: [1620]
1620,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[4, 77], Operations: ['40+1=41', '36+41=77']
Exploring Operation: 4*77=308, Resulting Numbers: [308]
308,79 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 79:[41, 40], Operations: ['40+1=41', '36+4=40']
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 41*40=1640, Resulting Numbers: [1640]
1640,79 unequal: No Solution
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[41, 32], Operations: ['40+1=41', '36-4=32']
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,79 unequal: No Solution
Exploring Operation: 41*32=1312, Resulting Numbers: [1312]
1312,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 79:[36, 37], Operations: ['40+1=41', '41-4=37']
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Exploring Operation: 36*37=1332, Resulting Numbers: [1332]
1332,79 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[40, 4, 37], Operations: ['36+1=37']
Exploring Operation: 40+37=77, Resulting Numbers: [4, 77]
Generated Node #0,3,0: 79:[4, 77] Operation: 40+37=77
Exploring Operation: 4+37=41, Resulting Numbers: [40, 41]
Generated Node #0,3,1: 79:[40, 41] Operation: 4+37=41
Exploring Operation: 37-4=33, Resulting Numbers: [40, 33]
Generated Node #0,3,2: 79:[40, 33] Operation: 37-4=33
Exploring Operation: 40+4=44, Resulting Numbers: [37, 44]
Generated Node #0,3,3: 79:[37, 44] Operation: 40+4=44
Exploring Operation: 40-4=36, Resulting Numbers: [37, 36]
Generated Node #0,3,4: 79:[37, 36] Operation: 40-4=36
Moving to Node #0,3,0
Current State: 79:[4, 77], Operations: ['36+1=37', '40+37=77']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Exploring Operation: 4*77=308, Resulting Numbers: [308]
308,79 unequal: No Solution
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[37, 44], Operations: ['36+1=37', '40+4=44']
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 37+44=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Exploring Operation: 37*44=1628, Resulting Numbers: [1628]
1628,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[40, 41], Operations: ['36+1=37', '4+37=41']
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 40*41=1640, Resulting Numbers: [1640]
1640,79 unequal: No Solution
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[40, 33], Operations: ['36+1=37', '37-4=33']
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,79 unequal: No Solution
Moving to Node #0,3,4
Current State: 79:[37, 36], Operations: ['36+1=37', '40-4=36']
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Exploring Operation: 37*36=1332, Resulting Numbers: [1332]
1332,79 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 79:[40, 1, 40], Operations: ['36+4=40']
Exploring Operation: 1*40=40, Resulting Numbers: [40, 40]
Generated Node #0,4,0: 79:[40, 40] Operation: 1*40=40
Exploring Operation: 40/1=40, Resulting Numbers: [40, 40]
Generated Node #0,4,1: 79:[40, 40] Operation: 40/1=40
Exploring Operation: 1+40=41, Resulting Numbers: [40, 41]
Generated Node #0,4,2: 79:[40, 41] Operation: 1+40=41
Exploring Operation: 40*1=40, Resulting Numbers: [40, 40]
Generated Node #0,4,3: 79:[40, 40] Operation: 40*1=40
Exploring Operation: 40+1=41, Resulting Numbers: [40, 41]
Generated Node #0,4,4: 79:[40, 41] Operation: 40+1=41
Moving to Node #0,4,2
Current State: 79:[40, 41], Operations: ['36+4=40', '1+40=41']
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Exploring Operation: 40*41=1640, Resulting Numbers: [1640]
1640,79 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Moving to Node #0,4,4
Current State: 79:[40, 41], Operations: ['36+4=40', '40+1=41']
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 40*41=1640, Resulting Numbers: [1640]
1640,79 unequal: No Solution
Moving to Node #0,4,0
Current State: 79:[40, 40], Operations: ['36+4=40', '1*40=40']
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,79 unequal: No Solution
Exploring Operation: 40*40=1600, Resulting Numbers: [1600]
1600,79 unequal: No Solution
Moving to Node #0,4,1
Current State: 79:[40, 40], Operations: ['36+4=40', '40/1=40']
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,79 unequal: No Solution
Exploring Operation: 40*40=1600, Resulting Numbers: [1600]
1600,79 unequal: No Solution
Moving to Node #0,4,3
Current State: 79:[40, 40], Operations: ['36+4=40', '40*1=40']
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 40*40=1600, Resulting Numbers: [1600]
1600,79 unequal: No Solution
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,79 unequal: No Solution
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,79 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 |
[
50,
63,
11,
81
] | 62 | [
"63-50=13",
"11*13=143",
"143-81=62"
] | Current State: 62:[50, 63, 11, 81], Operations: []
Exploring Operation: 63-50=13, Resulting Numbers: [11, 81, 13]
Generated Node #2: [11, 81, 13] from Operation: 63-50=13
Current State: 62:[11, 81, 13], Operations: ['63-50=13']
Exploring Operation: 11*13=143, Resulting Numbers: [81, 143]
Generated Node #3: [81, 143] from Operation: 11*13=143
Current State: 62:[81, 143], Operations: ['63-50=13', '11*13=143']
Exploring Operation: 143-81=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[50, 63, 11, 81], Operations: []
Exploring Operation: 81-50=31, Resulting Numbers: [63, 11, 31]
Generated Node #0,0: 62:[63, 11, 31] Operation: 81-50=31
Exploring Operation: 50+11=61, Resulting Numbers: [63, 81, 61]
Generated Node #0,1: 62:[63, 81, 61] Operation: 50+11=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[63, 11, 31], Operations: ['81-50=31']
Exploring Operation: 63-11=52, Resulting Numbers: [31, 52]
Generated Node #0,0,0: 62:[31, 52] Operation: 63-11=52
Exploring Operation: 63-31=32, Resulting Numbers: [11, 32]
Generated Node #0,0,1: 62:[11, 32] Operation: 63-31=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[31, 52], Operations: ['81-50=31', '63-11=52']
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,62 unequal: No Solution
Exploring Operation: 31+52=83, Resulting Numbers: [83]
83,62 unequal: No Solution
No 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: 62:[11, 32], Operations: ['81-50=31', '63-31=32']
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,62 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,62 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: 62:[63, 81, 61], Operations: ['50+11=61']
Exploring Operation: 81-61=20, Resulting Numbers: [63, 20]
Generated Node #0,1,0: 62:[63, 20] Operation: 81-61=20
Exploring Operation: 81-63=18, Resulting Numbers: [61, 18]
Generated Node #0,1,1: 62:[61, 18] Operation: 81-63=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 62:[63, 20], Operations: ['50+11=61', '81-61=20']
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,62 unequal: No Solution
No 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: 62:[61, 18], Operations: ['50+11=61', '81-63=18']
Exploring Operation: 61+18=79, Resulting Numbers: [79]
79,62 unequal: No Solution
Exploring Operation: 61-18=43, Resulting Numbers: [43]
43,62 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 |
[
13,
8,
16,
40
] | 45 | [
"13+8=21",
"40-16=24",
"21+24=45"
] | Current State: 45:[13, 8, 16, 40], Operations: []
Exploring Operation: 13+8=21, Resulting Numbers: [16, 40, 21]
Generated Node #2: [16, 40, 21] from Operation: 13+8=21
Current State: 45:[16, 40, 21], Operations: ['13+8=21']
Exploring Operation: 40-16=24, Resulting Numbers: [21, 24]
Generated Node #3: [21, 24] from Operation: 40-16=24
Current State: 45:[21, 24], Operations: ['13+8=21', '40-16=24']
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[13, 8, 16, 40], Operations: []
Exploring Operation: 40/8=5, Resulting Numbers: [13, 16, 5]
Generated Node #0,0: 45:[13, 16, 5] Operation: 40/8=5
Exploring Operation: 13-8=5, Resulting Numbers: [16, 40, 5]
Generated Node #0,1: 45:[16, 40, 5] Operation: 13-8=5
Moving to Node #0,0
Current State: 45:[13, 16, 5], Operations: ['40/8=5']
Exploring Operation: 13-5=8, Resulting Numbers: [16, 8]
Generated Node #0,0,0: 45:[16, 8] Operation: 13-5=8
Exploring Operation: 16-13=3, Resulting Numbers: [5, 3]
Generated Node #0,0,1: 45:[5, 3] Operation: 16-13=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[5, 3], Operations: ['40/8=5', '16-13=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[16, 8], Operations: ['40/8=5', '13-5=8']
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,45 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 45:[16, 40, 5], Operations: ['13-8=5']
Exploring Operation: 40/5=8, Resulting Numbers: [16, 8]
Generated Node #0,1,0: 45:[16, 8] Operation: 40/5=8
Exploring Operation: 40+5=45, Resulting Numbers: [16, 45]
Generated Node #0,1,1: 45:[16, 45] Operation: 40+5=45
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[16, 45], Operations: ['13-8=5', '40+5=45']
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[16, 8], Operations: ['13-8=5', '40/5=8']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,45 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 |
[
41,
93,
59,
49
] | 42 | [
"93-41=52",
"59-49=10",
"52-10=42"
] | Current State: 42:[41, 93, 59, 49], Operations: []
Exploring Operation: 93-41=52, Resulting Numbers: [59, 49, 52]
Generated Node #2: [59, 49, 52] from Operation: 93-41=52
Current State: 42:[59, 49, 52], Operations: ['93-41=52']
Exploring Operation: 59-49=10, Resulting Numbers: [52, 10]
Generated Node #3: [52, 10] from Operation: 59-49=10
Current State: 42:[52, 10], Operations: ['93-41=52', '59-49=10']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[41, 93, 59, 49], Operations: []
Exploring Operation: 93-59=34, Resulting Numbers: [41, 49, 34]
Generated Node #0,0: 42:[41, 49, 34] Operation: 93-59=34
Exploring Operation: 59-49=10, Resulting Numbers: [41, 93, 10]
Generated Node #0,1: 42:[41, 93, 10] Operation: 59-49=10
Exploring Operation: 93-41=52, Resulting Numbers: [59, 49, 52]
Generated Node #0,2: 42:[59, 49, 52] Operation: 93-41=52
Exploring Operation: 93-49=44, Resulting Numbers: [41, 59, 44]
Generated Node #0,3: 42:[41, 59, 44] Operation: 93-49=44
Moving to Node #0,0
Current State: 42:[41, 49, 34], Operations: ['93-59=34']
Exploring Operation: 41+34=75, Resulting Numbers: [49, 75]
Generated Node #0,0,0: 42:[49, 75] Operation: 41+34=75
Exploring Operation: 49-34=15, Resulting Numbers: [41, 15]
Generated Node #0,0,1: 42:[41, 15] Operation: 49-34=15
Exploring Operation: 49-41=8, Resulting Numbers: [34, 8]
Generated Node #0,0,2: 42:[34, 8] Operation: 49-41=8
Exploring Operation: 41-34=7, Resulting Numbers: [49, 7]
Generated Node #0,0,3: 42:[49, 7] Operation: 41-34=7
Moving to Node #0,3
Current State: 42:[41, 59, 44], Operations: ['93-49=44']
Exploring Operation: 59-41=18, Resulting Numbers: [44, 18]
Generated Node #0,3,0: 42:[44, 18] Operation: 59-41=18
Exploring Operation: 41+59=100, Resulting Numbers: [44, 100]
Generated Node #0,3,1: 42:[44, 100] Operation: 41+59=100
Exploring Operation: 44-41=3, Resulting Numbers: [59, 3]
Generated Node #0,3,2: 42:[59, 3] Operation: 44-41=3
Exploring Operation: 59-44=15, Resulting Numbers: [41, 15]
Generated Node #0,3,3: 42:[41, 15] Operation: 59-44=15
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 42:[41, 15], Operations: ['93-49=44', '59-44=15']
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,42 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 42:[44, 18], Operations: ['93-49=44', '59-41=18']
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 44*18=792, Resulting Numbers: [792]
792,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 42:[59, 3], Operations: ['93-49=44', '44-41=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,42 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 42:[44, 100], Operations: ['93-49=44', '41+59=100']
Exploring Operation: 44*100=4400, Resulting Numbers: [4400]
4400,42 unequal: No Solution
Exploring Operation: 100-44=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 44+100=144, Resulting Numbers: [144]
144,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 42:[59, 49, 52], Operations: ['93-41=52']
Exploring Operation: 59-52=7, Resulting Numbers: [49, 7]
Generated Node #0,2,0: 42:[49, 7] Operation: 59-52=7
Exploring Operation: 59-49=10, Resulting Numbers: [52, 10]
Generated Node #0,2,1: 42:[52, 10] Operation: 59-49=10
Exploring Operation: 59+49=108, Resulting Numbers: [52, 108]
Generated Node #0,2,2: 42:[52, 108] Operation: 59+49=108
Exploring Operation: 52-49=3, Resulting Numbers: [59, 3]
Generated Node #0,2,3: 42:[59, 3] Operation: 52-49=3
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[49, 7], Operations: ['93-41=52', '59-52=7']
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[41, 93, 59, 49], Operations: []
Exploring Operation: 93-41=52, Resulting Numbers: [59, 49, 52]
Generated Node #0,2: 42:[59, 49, 52] Operation: 93-41=52
Moving to Node #0,2
Current State: 42:[59, 49, 52], Operations: ['93-41=52']
Exploring Operation: 59-52=7, Resulting Numbers: [49, 7]
Generated Node #0,2,0: 42:[49, 7] Operation: 59-52=7
Moving to Node #0,2,0
Current State: 42:[49, 7], Operations: ['93-41=52', '59-52=7']
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
60,
21,
18,
29
] | 93 | [
"60-29=31",
"21-18=3",
"31*3=93"
] | Current State: 93:[60, 21, 18, 29], Operations: []
Exploring Operation: 60-29=31, Resulting Numbers: [21, 18, 31]
Generated Node #2: [21, 18, 31] from Operation: 60-29=31
Current State: 93:[21, 18, 31], Operations: ['60-29=31']
Exploring Operation: 21-18=3, Resulting Numbers: [31, 3]
Generated Node #3: [31, 3] from Operation: 21-18=3
Current State: 93:[31, 3], Operations: ['60-29=31', '21-18=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[60, 21, 18, 29], Operations: []
Exploring Operation: 60-18=42, Resulting Numbers: [21, 29, 42]
Generated Node #0,0: 93:[21, 29, 42] Operation: 60-18=42
Exploring Operation: 60-21=39, Resulting Numbers: [18, 29, 39]
Generated Node #0,1: 93:[18, 29, 39] Operation: 60-21=39
Moving to Node #0,0
Current State: 93:[21, 29, 42], Operations: ['60-18=42']
Exploring Operation: 42-21=21, Resulting Numbers: [29, 21]
Generated Node #0,0,0: 93:[29, 21] Operation: 42-21=21
Exploring Operation: 42/21=2, Resulting Numbers: [29, 2]
Generated Node #0,0,1: 93:[29, 2] Operation: 42/21=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[29, 2], Operations: ['60-18=42', '42/21=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[29, 21], Operations: ['60-18=42', '42-21=21']
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,93 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: 93:[18, 29, 39], Operations: ['60-21=39']
Exploring Operation: 39-18=21, Resulting Numbers: [29, 21]
Generated Node #0,1,0: 93:[29, 21] Operation: 39-18=21
Exploring Operation: 29-18=11, Resulting Numbers: [39, 11]
Generated Node #0,1,1: 93:[39, 11] Operation: 29-18=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[29, 21], Operations: ['60-21=39', '39-18=21']
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[39, 11], Operations: ['60-21=39', '29-18=11']
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,93 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,93 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 |
[
59,
90,
13,
52
] | 96 | [
"90-59=31",
"13+52=65",
"31+65=96"
] | Current State: 96:[59, 90, 13, 52], Operations: []
Exploring Operation: 90-59=31, Resulting Numbers: [13, 52, 31]
Generated Node #2: [13, 52, 31] from Operation: 90-59=31
Current State: 96:[13, 52, 31], Operations: ['90-59=31']
Exploring Operation: 13+52=65, Resulting Numbers: [31, 65]
Generated Node #3: [31, 65] from Operation: 13+52=65
Current State: 96:[31, 65], Operations: ['90-59=31', '13+52=65']
Exploring Operation: 31+65=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[59, 90, 13, 52], Operations: []
Exploring Operation: 59-52=7, Resulting Numbers: [90, 13, 7]
Generated Node #0,0: 96:[90, 13, 7] Operation: 59-52=7
Exploring Operation: 90-59=31, Resulting Numbers: [13, 52, 31]
Generated Node #0,1: 96:[13, 52, 31] Operation: 90-59=31
Exploring Operation: 59-13=46, Resulting Numbers: [90, 52, 46]
Generated Node #0,2: 96:[90, 52, 46] Operation: 59-13=46
Moving to Node #0,1
Current State: 96:[13, 52, 31], Operations: ['90-59=31']
Exploring Operation: 31-13=18, Resulting Numbers: [52, 18]
Generated Node #0,1,0: 96:[52, 18] Operation: 31-13=18
Exploring Operation: 52-31=21, Resulting Numbers: [13, 21]
Generated Node #0,1,1: 96:[13, 21] Operation: 52-31=21
Exploring Operation: 52/13=4, Resulting Numbers: [31, 4]
Generated Node #0,1,2: 96:[31, 4] Operation: 52/13=4
Moving to Node #0,0
Current State: 96:[90, 13, 7], Operations: ['59-52=7']
Exploring Operation: 13-7=6, Resulting Numbers: [90, 6]
Generated Node #0,0,0: 96:[90, 6] Operation: 13-7=6
Exploring Operation: 90+13=103, Resulting Numbers: [7, 103]
Generated Node #0,0,1: 96:[7, 103] Operation: 90+13=103
Exploring Operation: 90+7=97, Resulting Numbers: [13, 97]
Generated Node #0,0,2: 96:[13, 97] Operation: 90+7=97
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 96:[13, 97], Operations: ['59-52=7', '90+7=97']
Exploring Operation: 13+97=110, Resulting Numbers: [110]
110,96 unequal: No Solution
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 13*97=1261, Resulting Numbers: [1261]
1261,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[90, 6], Operations: ['59-52=7', '13-7=6']
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[59, 90, 13, 52], Operations: []
Exploring Operation: 59-52=7, Resulting Numbers: [90, 13, 7]
Generated Node #0,0: 96:[90, 13, 7] Operation: 59-52=7
Moving to Node #0,0
Current State: 96:[90, 13, 7], Operations: ['59-52=7']
Exploring Operation: 13-7=6, Resulting Numbers: [90, 6]
Generated Node #0,0,0: 96:[90, 6] Operation: 13-7=6
Moving to Node #0,0,0
Current State: 96:[90, 6], Operations: ['59-52=7', '13-7=6']
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
39,
50,
81,
32
] | 39 | [
"81-50=31",
"32-31=1",
"39*1=39"
] | Current State: 39:[39, 50, 81, 32], Operations: []
Exploring Operation: 81-50=31, Resulting Numbers: [39, 32, 31]
Generated Node #2: [39, 32, 31] from Operation: 81-50=31
Current State: 39:[39, 32, 31], Operations: ['81-50=31']
Exploring Operation: 32-31=1, Resulting Numbers: [39, 1]
Generated Node #3: [39, 1] from Operation: 32-31=1
Current State: 39:[39, 1], Operations: ['81-50=31', '32-31=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[39, 50, 81, 32], Operations: []
Exploring Operation: 81-39=42, Resulting Numbers: [50, 32, 42]
Generated Node #0,0: 39:[50, 32, 42] Operation: 81-39=42
Exploring Operation: 81-50=31, Resulting Numbers: [39, 32, 31]
Generated Node #0,1: 39:[39, 32, 31] Operation: 81-50=31
Moving to Node #0,1
Current State: 39:[39, 32, 31], Operations: ['81-50=31']
Exploring Operation: 39-32=7, Resulting Numbers: [31, 7]
Generated Node #0,1,0: 39:[31, 7] Operation: 39-32=7
Exploring Operation: 32-31=1, Resulting Numbers: [39, 1]
Generated Node #0,1,1: 39:[39, 1] Operation: 32-31=1
Moving to Node #0,0
Current State: 39:[50, 32, 42], Operations: ['81-39=42']
Exploring Operation: 50-42=8, Resulting Numbers: [32, 8]
Generated Node #0,0,0: 39:[32, 8] Operation: 50-42=8
Exploring Operation: 50-32=18, Resulting Numbers: [42, 18]
Generated Node #0,0,1: 39:[42, 18] Operation: 50-32=18
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[42, 18], Operations: ['81-39=42', '50-32=18']
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,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:[32, 8], Operations: ['81-39=42', '50-42=8']
Exploring Operation: 32+8=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 39:[39, 1], Operations: ['81-50=31', '32-31=1']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[39, 50, 81, 32], Operations: []
Exploring Operation: 81-50=31, Resulting Numbers: [39, 32, 31]
Generated Node #0,1: 39:[39, 32, 31] Operation: 81-50=31
Moving to Node #0,1
Current State: 39:[39, 32, 31], Operations: ['81-50=31']
Exploring Operation: 32-31=1, Resulting Numbers: [39, 1]
Generated Node #0,1,1: 39:[39, 1] Operation: 32-31=1
Moving to Node #0,1,1
Current State: 39:[39, 1], Operations: ['81-50=31', '32-31=1']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
83,
91,
10,
13
] | 93 | [
"91-83=8",
"10*8=80",
"13+80=93"
] | Current State: 93:[83, 91, 10, 13], Operations: []
Exploring Operation: 91-83=8, Resulting Numbers: [10, 13, 8]
Generated Node #2: [10, 13, 8] from Operation: 91-83=8
Current State: 93:[10, 13, 8], Operations: ['91-83=8']
Exploring Operation: 10*8=80, Resulting Numbers: [13, 80]
Generated Node #3: [13, 80] from Operation: 10*8=80
Current State: 93:[13, 80], Operations: ['91-83=8', '10*8=80']
Exploring Operation: 13+80=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[83, 91, 10, 13], Operations: []
Exploring Operation: 10+13=23, Resulting Numbers: [83, 91, 23]
Generated Node #0,0: 93:[83, 91, 23] Operation: 10+13=23
Exploring Operation: 91/13=7, Resulting Numbers: [83, 10, 7]
Generated Node #0,1: 93:[83, 10, 7] Operation: 91/13=7
Exploring Operation: 83+10=93, Resulting Numbers: [91, 13, 93]
Generated Node #0,2: 93:[91, 13, 93] Operation: 83+10=93
Exploring Operation: 83+13=96, Resulting Numbers: [91, 10, 96]
Generated Node #0,3: 93:[91, 10, 96] Operation: 83+13=96
Exploring Operation: 13-10=3, Resulting Numbers: [83, 91, 3]
Generated Node #0,4: 93:[83, 91, 3] Operation: 13-10=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[91, 13, 93], Operations: ['83+10=93']
Exploring Operation: 93-91=2, Resulting Numbers: [13, 2]
Generated Node #0,2,0: 93:[13, 2] Operation: 93-91=2
Exploring Operation: 91/13=7, Resulting Numbers: [93, 7]
Generated Node #0,2,1: 93:[93, 7] Operation: 91/13=7
Exploring Operation: 91+13=104, Resulting Numbers: [93, 104]
Generated Node #0,2,2: 93:[93, 104] Operation: 91+13=104
Exploring Operation: 13+93=106, Resulting Numbers: [91, 106]
Generated Node #0,2,3: 93:[91, 106] Operation: 13+93=106
Exploring Operation: 91-13=78, Resulting Numbers: [93, 78]
Generated Node #0,2,4: 93:[93, 78] Operation: 91-13=78
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 93:[93, 7], Operations: ['83+10=93', '91/13=7']
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,93 unequal: No Solution
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,93 unequal: No Solution
Exploring Operation: 93*7=651, Resulting Numbers: [651]
651,93 unequal: No Solution
No 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: 93:[13, 2], Operations: ['83+10=93', '93-91=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,93 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,93 unequal: No Solution
No 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: 93:[93, 104], Operations: ['83+10=93', '91+13=104']
Exploring Operation: 93*104=9672, Resulting Numbers: [9672]
9672,93 unequal: No Solution
Exploring Operation: 104-93=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 93+104=197, Resulting Numbers: [197]
197,93 unequal: No Solution
No 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: 93:[91, 106], Operations: ['83+10=93', '13+93=106']
Exploring Operation: 91+106=197, Resulting Numbers: [197]
197,93 unequal: No Solution
Exploring Operation: 91*106=9646, Resulting Numbers: [9646]
9646,93 unequal: No Solution
Exploring Operation: 106-91=15, Resulting Numbers: [15]
15,93 unequal: No Solution
No 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: 93:[93, 78], Operations: ['83+10=93', '91-13=78']
Exploring Operation: 93*78=7254, Resulting Numbers: [7254]
7254,93 unequal: No Solution
Exploring Operation: 93+78=171, Resulting Numbers: [171]
171,93 unequal: No Solution
Exploring Operation: 93-78=15, Resulting Numbers: [15]
15,93 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: 93:[91, 10, 96], Operations: ['83+13=96']
Exploring Operation: 96-91=5, Resulting Numbers: [10, 5]
Generated Node #0,3,0: 93:[10, 5] Operation: 96-91=5
Exploring Operation: 10+96=106, Resulting Numbers: [91, 106]
Generated Node #0,3,1: 93:[91, 106] Operation: 10+96=106
Exploring Operation: 91+10=101, Resulting Numbers: [96, 101]
Generated Node #0,3,2: 93:[96, 101] Operation: 91+10=101
Exploring Operation: 91-10=81, Resulting Numbers: [96, 81]
Generated Node #0,3,3: 93:[96, 81] Operation: 91-10=81
Exploring Operation: 96-10=86, Resulting Numbers: [91, 86]
Generated Node #0,3,4: 93:[91, 86] Operation: 96-10=86
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 93:[10, 5], Operations: ['83+13=96', '96-91=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,93 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,93 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,93 unequal: No Solution
No 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: 93:[91, 86], Operations: ['83+13=96', '96-10=86']
Exploring Operation: 91+86=177, Resulting Numbers: [177]
177,93 unequal: No Solution
Exploring Operation: 91-86=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 91*86=7826, Resulting Numbers: [7826]
7826,93 unequal: No Solution
No 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: 93:[96, 101], Operations: ['83+13=96', '91+10=101']
Exploring Operation: 101-96=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 96+101=197, Resulting Numbers: [197]
197,93 unequal: No Solution
Exploring Operation: 96*101=9696, Resulting Numbers: [9696]
9696,93 unequal: No Solution
No 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: 93:[91, 106], Operations: ['83+13=96', '10+96=106']
Exploring Operation: 106-91=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 91+106=197, Resulting Numbers: [197]
197,93 unequal: No Solution
Exploring Operation: 91*106=9646, Resulting Numbers: [9646]
9646,93 unequal: No Solution
No 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: 93:[96, 81], Operations: ['83+13=96', '91-10=81']
Exploring Operation: 96+81=177, Resulting Numbers: [177]
177,93 unequal: No Solution
Exploring Operation: 96-81=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 96*81=7776, Resulting Numbers: [7776]
7776,93 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: 93:[83, 91, 3], Operations: ['13-10=3']
Exploring Operation: 91-3=88, Resulting Numbers: [83, 88]
Generated Node #0,4,0: 93:[83, 88] Operation: 91-3=88
Exploring Operation: 91+3=94, Resulting Numbers: [83, 94]
Generated Node #0,4,1: 93:[83, 94] Operation: 91+3=94
Exploring Operation: 83+3=86, Resulting Numbers: [91, 86]
Generated Node #0,4,2: 93:[91, 86] Operation: 83+3=86
Exploring Operation: 91-83=8, Resulting Numbers: [3, 8]
Generated Node #0,4,3: 93:[3, 8] Operation: 91-83=8
Exploring Operation: 83-3=80, Resulting Numbers: [91, 80]
Generated Node #0,4,4: 93:[91, 80] Operation: 83-3=80
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 93:[3, 8], Operations: ['13-10=3', '91-83=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,93 unequal: No Solution
No 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: 93:[91, 86], Operations: ['13-10=3', '83+3=86']
Exploring Operation: 91+86=177, Resulting Numbers: [177]
177,93 unequal: No Solution
Exploring Operation: 91*86=7826, Resulting Numbers: [7826]
7826,93 unequal: No Solution
Exploring Operation: 91-86=5, Resulting Numbers: [5]
5,93 unequal: No Solution
No 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: 93:[83, 94], Operations: ['13-10=3', '91+3=94']
Exploring Operation: 83+94=177, Resulting Numbers: [177]
177,93 unequal: No Solution
Exploring Operation: 83*94=7802, Resulting Numbers: [7802]
7802,93 unequal: No Solution
Exploring Operation: 94-83=11, Resulting Numbers: [11]
11,93 unequal: No Solution
No 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: 93:[83, 88], Operations: ['13-10=3', '91-3=88']
Exploring Operation: 88-83=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 83*88=7304, Resulting Numbers: [7304]
7304,93 unequal: No Solution
Exploring Operation: 83+88=171, Resulting Numbers: [171]
171,93 unequal: No Solution
No 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: 93:[91, 80], Operations: ['13-10=3', '83-3=80']
Exploring Operation: 91*80=7280, Resulting Numbers: [7280]
7280,93 unequal: No Solution
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,93 unequal: No Solution
Exploring Operation: 91+80=171, Resulting Numbers: [171]
171,93 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: 93:[83, 91, 23], Operations: ['10+13=23']
Exploring Operation: 91+23=114, Resulting Numbers: [83, 114]
Generated Node #0,0,0: 93:[83, 114] Operation: 91+23=114
Exploring Operation: 91-23=68, Resulting Numbers: [83, 68]
Generated Node #0,0,1: 93:[83, 68] Operation: 91-23=68
Exploring Operation: 83-23=60, Resulting Numbers: [91, 60]
Generated Node #0,0,2: 93:[91, 60] Operation: 83-23=60
Exploring Operation: 91-83=8, Resulting Numbers: [23, 8]
Generated Node #0,0,3: 93:[23, 8] Operation: 91-83=8
Exploring Operation: 83+23=106, Resulting Numbers: [91, 106]
Generated Node #0,0,4: 93:[91, 106] Operation: 83+23=106
Moving to Node #0,0,3
Current State: 93:[23, 8], Operations: ['10+13=23', '91-83=8']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,93 unequal: No Solution
Moving to Node #0,0,4
Current State: 93:[91, 106], Operations: ['10+13=23', '83+23=106']
Exploring Operation: 91+106=197, Resulting Numbers: [197]
197,93 unequal: No Solution
Exploring Operation: 106-91=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 91*106=9646, Resulting Numbers: [9646]
9646,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[83, 114], Operations: ['10+13=23', '91+23=114']
Exploring Operation: 114-83=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 83+114=197, Resulting Numbers: [197]
197,93 unequal: No Solution
Exploring Operation: 83*114=9462, Resulting Numbers: [9462]
9462,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[91, 60], Operations: ['10+13=23', '83-23=60']
Exploring Operation: 91+60=151, Resulting Numbers: [151]
151,93 unequal: No Solution
Exploring Operation: 91-60=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 91*60=5460, Resulting Numbers: [5460]
5460,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[83, 68], Operations: ['10+13=23', '91-23=68']
Exploring Operation: 83*68=5644, Resulting Numbers: [5644]
5644,93 unequal: No Solution
Exploring Operation: 83-68=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 83+68=151, Resulting Numbers: [151]
151,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[83, 10, 7], Operations: ['91/13=7']
Exploring Operation: 83+7=90, Resulting Numbers: [10, 90]
Generated Node #0,1,0: 93:[10, 90] Operation: 83+7=90
Exploring Operation: 83-10=73, Resulting Numbers: [7, 73]
Generated Node #0,1,1: 93:[7, 73] Operation: 83-10=73
Exploring Operation: 10-7=3, Resulting Numbers: [83, 3]
Generated Node #0,1,2: 93:[83, 3] Operation: 10-7=3
Exploring Operation: 83+10=93, Resulting Numbers: [7, 93]
Generated Node #0,1,3: 93:[7, 93] Operation: 83+10=93
Exploring Operation: 83-7=76, Resulting Numbers: [10, 76]
Generated Node #0,1,4: 93:[10, 76] Operation: 83-7=76
Moving to Node #0,1,3
Current State: 93:[7, 93], Operations: ['91/13=7', '83+10=93']
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,93 unequal: No Solution
Exploring Operation: 7+93=100, Resulting Numbers: [100]
100,93 unequal: No Solution
Exploring Operation: 7*93=651, Resulting Numbers: [651]
651,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[83, 3], Operations: ['91/13=7', '10-7=3']
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,93 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,93 unequal: No Solution
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[10, 90], Operations: ['91/13=7', '83+7=90']
Exploring Operation: 90/10=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 10*90=900, Resulting Numbers: [900]
900,93 unequal: No Solution
Exploring Operation: 10+90=100, Resulting Numbers: [100]
100,93 unequal: No Solution
Exploring Operation: 90-10=80, Resulting Numbers: [80]
80,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[7, 73], Operations: ['91/13=7', '83-10=73']
Exploring Operation: 7*73=511, Resulting Numbers: [511]
511,93 unequal: No Solution
Exploring Operation: 73-7=66, Resulting Numbers: [66]
66,93 unequal: No Solution
Exploring Operation: 7+73=80, Resulting Numbers: [80]
80,93 unequal: No Solution
Moving to Node #0,1,4
Current State: 93:[10, 76], Operations: ['91/13=7', '83-7=76']
Exploring Operation: 10+76=86, Resulting Numbers: [86]
86,93 unequal: No Solution
Exploring Operation: 10*76=760, Resulting Numbers: [760]
760,93 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,93 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 |
[
27,
83,
70,
96
] | 30 | [
"83-27=56",
"96-70=26",
"56-26=30"
] | Current State: 30:[27, 83, 70, 96], Operations: []
Exploring Operation: 83-27=56, Resulting Numbers: [70, 96, 56]
Generated Node #2: [70, 96, 56] from Operation: 83-27=56
Current State: 30:[70, 96, 56], Operations: ['83-27=56']
Exploring Operation: 96-70=26, Resulting Numbers: [56, 26]
Generated Node #3: [56, 26] from Operation: 96-70=26
Current State: 30:[56, 26], Operations: ['83-27=56', '96-70=26']
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[27, 83, 70, 96], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [27, 70, 13]
Generated Node #0,0: 30:[27, 70, 13] Operation: 96-83=13
Exploring Operation: 96-70=26, Resulting Numbers: [27, 83, 26]
Generated Node #0,1: 30:[27, 83, 26] Operation: 96-70=26
Moving to Node #0,0
Current State: 30:[27, 70, 13], Operations: ['96-83=13']
Exploring Operation: 70-27=43, Resulting Numbers: [13, 43]
Generated Node #0,0,0: 30:[13, 43] Operation: 70-27=43
Exploring Operation: 70-13=57, Resulting Numbers: [27, 57]
Generated Node #0,0,1: 30:[27, 57] Operation: 70-13=57
Moving to Node #0,1
Current State: 30:[27, 83, 26], Operations: ['96-70=26']
Exploring Operation: 83-27=56, Resulting Numbers: [26, 56]
Generated Node #0,1,0: 30:[26, 56] Operation: 83-27=56
Exploring Operation: 83-26=57, Resulting Numbers: [27, 57]
Generated Node #0,1,1: 30:[27, 57] Operation: 83-26=57
Moving to Node #0,0,0
Current State: 30:[13, 43], Operations: ['96-83=13', '70-27=43']
Exploring Operation: 13+43=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[27, 83, 70, 96], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [27, 70, 13]
Generated Node #0,0: 30:[27, 70, 13] Operation: 96-83=13
Moving to Node #0,0
Current State: 30:[27, 70, 13], Operations: ['96-83=13']
Exploring Operation: 70-27=43, Resulting Numbers: [13, 43]
Generated Node #0,0,0: 30:[13, 43] Operation: 70-27=43
Moving to Node #0,0,0
Current State: 30:[13, 43], Operations: ['96-83=13', '70-27=43']
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
41,
29,
52,
2
] | 35 | [
"41+52=93",
"29*2=58",
"93-58=35"
] | Current State: 35:[41, 29, 52, 2], Operations: []
Exploring Operation: 41+52=93, Resulting Numbers: [29, 2, 93]
Generated Node #2: [29, 2, 93] from Operation: 41+52=93
Current State: 35:[29, 2, 93], Operations: ['41+52=93']
Exploring Operation: 29*2=58, Resulting Numbers: [93, 58]
Generated Node #3: [93, 58] from Operation: 29*2=58
Current State: 35:[93, 58], Operations: ['41+52=93', '29*2=58']
Exploring Operation: 93-58=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[41, 29, 52, 2], Operations: []
Exploring Operation: 52-41=11, Resulting Numbers: [29, 2, 11]
Generated Node #0,0: 35:[29, 2, 11] Operation: 52-41=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[29, 2, 11], Operations: ['52-41=11']
Exploring Operation: 29+2=31, Resulting Numbers: [11, 31]
Generated Node #0,0,0: 35:[11, 31] Operation: 29+2=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[11, 31], Operations: ['52-41=11', '29+2=31']
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
50,
70,
17,
55
] | 25 | [
"70-17=53",
"55-53=2",
"50/2=25"
] | Current State: 25:[50, 70, 17, 55], Operations: []
Exploring Operation: 70-17=53, Resulting Numbers: [50, 55, 53]
Generated Node #2: [50, 55, 53] from Operation: 70-17=53
Current State: 25:[50, 55, 53], Operations: ['70-17=53']
Exploring Operation: 55-53=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 55-53=2
Current State: 25:[50, 2], Operations: ['70-17=53', '55-53=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[50, 70, 17, 55], Operations: []
Exploring Operation: 70-50=20, Resulting Numbers: [17, 55, 20]
Generated Node #0,0: 25:[17, 55, 20] Operation: 70-50=20
Exploring Operation: 55-50=5, Resulting Numbers: [70, 17, 5]
Generated Node #0,1: 25:[70, 17, 5] Operation: 55-50=5
Exploring Operation: 70-55=15, Resulting Numbers: [50, 17, 15]
Generated Node #0,2: 25:[50, 17, 15] Operation: 70-55=15
Moving to Node #0,0
Current State: 25:[17, 55, 20], Operations: ['70-50=20']
Exploring Operation: 55-20=35, Resulting Numbers: [17, 35]
Generated Node #0,0,0: 25:[17, 35] Operation: 55-20=35
Exploring Operation: 55-17=38, Resulting Numbers: [20, 38]
Generated Node #0,0,1: 25:[20, 38] Operation: 55-17=38
Exploring Operation: 20-17=3, Resulting Numbers: [55, 3]
Generated Node #0,0,2: 25:[55, 3] Operation: 20-17=3
Moving to Node #0,2
Current State: 25:[50, 17, 15], Operations: ['70-55=15']
Exploring Operation: 17-15=2, Resulting Numbers: [50, 2]
Generated Node #0,2,0: 25:[50, 2] Operation: 17-15=2
Exploring Operation: 50-15=35, Resulting Numbers: [17, 35]
Generated Node #0,2,1: 25:[17, 35] Operation: 50-15=35
Exploring Operation: 50-17=33, Resulting Numbers: [15, 33]
Generated Node #0,2,2: 25:[15, 33] Operation: 50-17=33
Moving to Node #0,1
Current State: 25:[70, 17, 5], Operations: ['55-50=5']
Exploring Operation: 70-5=65, Resulting Numbers: [17, 65]
Generated Node #0,1,0: 25:[17, 65] Operation: 70-5=65
Exploring Operation: 70-17=53, Resulting Numbers: [5, 53]
Generated Node #0,1,1: 25:[5, 53] Operation: 70-17=53
Exploring Operation: 70/5=14, Resulting Numbers: [17, 14]
Generated Node #0,1,2: 25:[17, 14] Operation: 70/5=14
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[17, 14], Operations: ['55-50=5', '70/5=14']
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 17*14=238, Resulting Numbers: [238]
238,25 unequal: No Solution
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[5, 53], Operations: ['55-50=5', '70-17=53']
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 5*53=265, Resulting Numbers: [265]
265,25 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[17, 65], Operations: ['55-50=5', '70-5=65']
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 17*65=1105, Resulting Numbers: [1105]
1105,25 unequal: No Solution
Exploring Operation: 17+65=82, Resulting Numbers: [82]
82,25 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: 25:[17, 35], Operations: ['70-50=20', '55-20=35']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 17*35=595, Resulting Numbers: [595]
595,25 unequal: No Solution
Exploring Operation: 17+35=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[20, 38], Operations: ['70-50=20', '55-17=38']
Exploring Operation: 20+38=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 20*38=760, Resulting Numbers: [760]
760,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[15, 33], Operations: ['70-55=15', '50-17=33']
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 15+33=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 15*33=495, Resulting Numbers: [495]
495,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[17, 35], Operations: ['70-55=15', '50-15=35']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 17*35=595, Resulting Numbers: [595]
595,25 unequal: No Solution
Exploring Operation: 17+35=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[50, 2], Operations: ['70-55=15', '17-15=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[50, 70, 17, 55], Operations: []
Exploring Operation: 70-55=15, Resulting Numbers: [50, 17, 15]
Generated Node #0,2: 25:[50, 17, 15] Operation: 70-55=15
Moving to Node #0,2
Current State: 25:[50, 17, 15], Operations: ['70-55=15']
Exploring Operation: 17-15=2, Resulting Numbers: [50, 2]
Generated Node #0,2,0: 25:[50, 2] Operation: 17-15=2
Moving to Node #0,2,0
Current State: 25:[50, 2], Operations: ['70-55=15', '17-15=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.967014 | hs_3 | mult_heuristic |
[
79,
77,
68,
22
] | 29 | [
"79-68=11",
"77/11=7",
"22+7=29"
] | Current State: 29:[79, 77, 68, 22], Operations: []
Exploring Operation: 79-68=11, Resulting Numbers: [77, 22, 11]
Generated Node #2: [77, 22, 11] from Operation: 79-68=11
Current State: 29:[77, 22, 11], Operations: ['79-68=11']
Exploring Operation: 77/11=7, Resulting Numbers: [22, 7]
Generated Node #3: [22, 7] from Operation: 77/11=7
Current State: 29:[22, 7], Operations: ['79-68=11', '77/11=7']
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[79, 77, 68, 22], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [68, 22, 2]
Generated Node #0,0: 29:[68, 22, 2] Operation: 79-77=2
Moving to Node #0,0
Current State: 29:[68, 22, 2], Operations: ['79-77=2']
Exploring Operation: 68/2=34, Resulting Numbers: [22, 34]
Generated Node #0,0,0: 29:[22, 34] Operation: 68/2=34
Moving to Node #0,0,0
Current State: 29:[22, 34], Operations: ['79-77=2', '68/2=34']
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,29 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
37,
2,
36,
26
] | 23 | [
"37+2=39",
"36+26=62",
"62-39=23"
] | Current State: 23:[37, 2, 36, 26], Operations: []
Exploring Operation: 37+2=39, Resulting Numbers: [36, 26, 39]
Generated Node #2: [36, 26, 39] from Operation: 37+2=39
Current State: 23:[36, 26, 39], Operations: ['37+2=39']
Exploring Operation: 36+26=62, Resulting Numbers: [39, 62]
Generated Node #3: [39, 62] from Operation: 36+26=62
Current State: 23:[39, 62], Operations: ['37+2=39', '36+26=62']
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[37, 2, 36, 26], Operations: []
Exploring Operation: 36/2=18, Resulting Numbers: [37, 26, 18]
Generated Node #0,0: 23:[37, 26, 18] Operation: 36/2=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[37, 26, 18], Operations: ['36/2=18']
Exploring Operation: 37-18=19, Resulting Numbers: [26, 19]
Generated Node #0,0,0: 23:[26, 19] Operation: 37-18=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[26, 19], Operations: ['36/2=18', '37-18=19']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,23 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.