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 |
|---|---|---|---|---|---|---|---|---|
[
25,
15,
20,
61
] | 59 | [
"25+15=40",
"40/20=2",
"61-2=59"
] | Current State: 59:[25, 15, 20, 61], Operations: []
Exploring Operation: 25+15=40, Resulting Numbers: [20, 61, 40]
Generated Node #2: [20, 61, 40] from Operation: 25+15=40
Current State: 59:[20, 61, 40], Operations: ['25+15=40']
Exploring Operation: 40/20=2, Resulting Numbers: [61, 2]
Generated Node #3: [61, 2] from Operation: 40/20=2
Current State: 59:[61, 2], Operations: ['25+15=40', '40/20=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[25, 15, 20, 61], Operations: []
Exploring Operation: 25-15=10, Resulting Numbers: [20, 61, 10]
Generated Node #0,0: 59:[20, 61, 10] Operation: 25-15=10
Exploring Operation: 61-15=46, Resulting Numbers: [25, 20, 46]
Generated Node #0,1: 59:[25, 20, 46] Operation: 61-15=46
Exploring Operation: 25+20=45, Resulting Numbers: [15, 61, 45]
Generated Node #0,2: 59:[15, 61, 45] Operation: 25+20=45
Exploring Operation: 15+20=35, Resulting Numbers: [25, 61, 35]
Generated Node #0,3: 59:[25, 61, 35] Operation: 15+20=35
Exploring Operation: 25+15=40, Resulting Numbers: [20, 61, 40]
Generated Node #0,4: 59:[20, 61, 40] Operation: 25+15=40
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[15, 61, 45], Operations: ['25+20=45']
Exploring Operation: 15+45=60, Resulting Numbers: [61, 60]
Generated Node #0,2,0: 59:[61, 60] Operation: 15+45=60
Exploring Operation: 15+61=76, Resulting Numbers: [45, 76]
Generated Node #0,2,1: 59:[45, 76] Operation: 15+61=76
Exploring Operation: 45/15=3, Resulting Numbers: [61, 3]
Generated Node #0,2,2: 59:[61, 3] Operation: 45/15=3
Exploring Operation: 45-15=30, Resulting Numbers: [61, 30]
Generated Node #0,2,3: 59:[61, 30] Operation: 45-15=30
Exploring Operation: 61-15=46, Resulting Numbers: [45, 46]
Generated Node #0,2,4: 59:[45, 46] Operation: 61-15=46
Moving to Node #0,2,0
Current State: 59:[61, 60], Operations: ['25+20=45', '15+45=60']
Exploring Operation: 61*60=3660, Resulting Numbers: [3660]
3660,59 unequal: No Solution
Exploring Operation: 61+60=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Moving to Node #0,2,4
Current State: 59:[45, 46], Operations: ['25+20=45', '61-15=46']
Exploring Operation: 45+46=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 45*46=2070, Resulting Numbers: [2070]
2070,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[45, 76], Operations: ['25+20=45', '15+61=76']
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Exploring Operation: 45+76=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 45*76=3420, Resulting Numbers: [3420]
3420,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[61, 30], Operations: ['25+20=45', '45-15=30']
Exploring Operation: 61*30=1830, Resulting Numbers: [1830]
1830,59 unequal: No Solution
Exploring Operation: 61+30=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[61, 3], Operations: ['25+20=45', '45/15=3']
Exploring Operation: 61*3=183, Resulting Numbers: [183]
183,59 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,59 unequal: No Solution
Exploring Operation: 61+3=64, Resulting Numbers: [64]
64,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[25, 61, 35], Operations: ['15+20=35']
Exploring Operation: 61-35=26, Resulting Numbers: [25, 26]
Generated Node #0,3,0: 59:[25, 26] Operation: 61-35=26
Exploring Operation: 25+61=86, Resulting Numbers: [35, 86]
Generated Node #0,3,1: 59:[35, 86] Operation: 25+61=86
Exploring Operation: 61-25=36, Resulting Numbers: [35, 36]
Generated Node #0,3,2: 59:[35, 36] Operation: 61-25=36
Exploring Operation: 25+35=60, Resulting Numbers: [61, 60]
Generated Node #0,3,3: 59:[61, 60] Operation: 25+35=60
Exploring Operation: 35-25=10, Resulting Numbers: [61, 10]
Generated Node #0,3,4: 59:[61, 10] Operation: 35-25=10
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 59:[61, 60], Operations: ['15+20=35', '25+35=60']
Exploring Operation: 61+60=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 61*60=3660, Resulting Numbers: [3660]
3660,59 unequal: No Solution
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 59:[35, 36], Operations: ['15+20=35', '61-25=36']
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,59 unequal: No Solution
Exploring Operation: 35*36=1260, Resulting Numbers: [1260]
1260,59 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 59:[35, 86], Operations: ['15+20=35', '25+61=86']
Exploring Operation: 35*86=3010, Resulting Numbers: [3010]
3010,59 unequal: No Solution
Exploring Operation: 35+86=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 59:[61, 10], Operations: ['15+20=35', '35-25=10']
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,59 unequal: No Solution
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,59 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 59:[25, 26], Operations: ['15+20=35', '61-35=26']
Exploring Operation: 25*26=650, Resulting Numbers: [650]
650,59 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 25+26=51, Resulting Numbers: [51]
51,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 59:[20, 61, 40], Operations: ['25+15=40']
Exploring Operation: 61-20=41, Resulting Numbers: [40, 41]
Generated Node #0,4,0: 59:[40, 41] Operation: 61-20=41
Exploring Operation: 20+61=81, Resulting Numbers: [40, 81]
Generated Node #0,4,1: 59:[40, 81] Operation: 20+61=81
Exploring Operation: 20+40=60, Resulting Numbers: [61, 60]
Generated Node #0,4,2: 59:[61, 60] Operation: 20+40=60
Exploring Operation: 40-20=20, Resulting Numbers: [61, 20]
Generated Node #0,4,3: 59:[61, 20] Operation: 40-20=20
Exploring Operation: 40/20=2, Resulting Numbers: [61, 2]
Generated Node #0,4,4: 59:[61, 2] Operation: 40/20=2
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 59:[61, 60], Operations: ['25+15=40', '20+40=60']
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 61*60=3660, Resulting Numbers: [3660]
3660,59 unequal: No Solution
Exploring Operation: 61+60=121, Resulting Numbers: [121]
121,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 59:[40, 41], Operations: ['25+15=40', '61-20=41']
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 40*41=1640, Resulting Numbers: [1640]
1640,59 unequal: No Solution
Exploring Operation: 40+41=81, Resulting Numbers: [81]
81,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 59:[40, 81], Operations: ['25+15=40', '20+61=81']
Exploring Operation: 40+81=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 81-40=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 40*81=3240, Resulting Numbers: [3240]
3240,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 59:[61, 20], Operations: ['25+15=40', '40-20=20']
Exploring Operation: 61*20=1220, Resulting Numbers: [1220]
1220,59 unequal: No Solution
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 61+20=81, Resulting Numbers: [81]
81,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 59:[61, 2], Operations: ['25+15=40', '40/20=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[25, 15, 20, 61], Operations: []
Exploring Operation: 25+15=40, Resulting Numbers: [20, 61, 40]
Generated Node #0,4: 59:[20, 61, 40] Operation: 25+15=40
Moving to Node #0,4
Current State: 59:[20, 61, 40], Operations: ['25+15=40']
Exploring Operation: 40/20=2, Resulting Numbers: [61, 2]
Generated Node #0,4,4: 59:[61, 2] Operation: 40/20=2
Moving to Node #0,4,4
Current State: 59:[61, 2], Operations: ['25+15=40', '40/20=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.94184 | hs_5 | mult_heuristic |
[
66,
56,
60,
26
] | 68 | [
"56-26=30",
"60/30=2",
"66+2=68"
] | Current State: 68:[66, 56, 60, 26], Operations: []
Exploring Operation: 56-26=30, Resulting Numbers: [66, 60, 30]
Generated Node #2: [66, 60, 30] from Operation: 56-26=30
Current State: 68:[66, 60, 30], Operations: ['56-26=30']
Exploring Operation: 60/30=2, Resulting Numbers: [66, 2]
Generated Node #3: [66, 2] from Operation: 60/30=2
Current State: 68:[66, 2], Operations: ['56-26=30', '60/30=2']
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[66, 56, 60, 26], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [66, 26, 4]
Generated Node #0,0: 68:[66, 26, 4] Operation: 60-56=4
Exploring Operation: 56-26=30, Resulting Numbers: [66, 60, 30]
Generated Node #0,1: 68:[66, 60, 30] Operation: 56-26=30
Moving to Node #0,0
Current State: 68:[66, 26, 4], Operations: ['60-56=4']
Exploring Operation: 26+4=30, Resulting Numbers: [66, 30]
Generated Node #0,0,0: 68:[66, 30] Operation: 26+4=30
Exploring Operation: 66-26=40, Resulting Numbers: [4, 40]
Generated Node #0,0,1: 68:[4, 40] Operation: 66-26=40
Moving to Node #0,1
Current State: 68:[66, 60, 30], Operations: ['56-26=30']
Exploring Operation: 60/30=2, Resulting Numbers: [66, 2]
Generated Node #0,1,0: 68:[66, 2] Operation: 60/30=2
Exploring Operation: 66-60=6, Resulting Numbers: [30, 6]
Generated Node #0,1,1: 68:[30, 6] Operation: 66-60=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[66, 2], Operations: ['56-26=30', '60/30=2']
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[66, 56, 60, 26], Operations: []
Exploring Operation: 56-26=30, Resulting Numbers: [66, 60, 30]
Generated Node #0,1: 68:[66, 60, 30] Operation: 56-26=30
Moving to Node #0,1
Current State: 68:[66, 60, 30], Operations: ['56-26=30']
Exploring Operation: 60/30=2, Resulting Numbers: [66, 2]
Generated Node #0,1,0: 68:[66, 2] Operation: 60/30=2
Moving to Node #0,1,0
Current State: 68:[66, 2], Operations: ['56-26=30', '60/30=2']
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
56,
60,
44,
53
] | 71 | [
"60*53=3180",
"3180-56=3124",
"3124/44=71"
] | Current State: 71:[56, 60, 44, 53], Operations: []
Exploring Operation: 60*53=3180, Resulting Numbers: [56, 44, 3180]
Generated Node #2: [56, 44, 3180] from Operation: 60*53=3180
Current State: 71:[56, 44, 3180], Operations: ['60*53=3180']
Exploring Operation: 3180-56=3124, Resulting Numbers: [44, 3124]
Generated Node #3: [44, 3124] from Operation: 3180-56=3124
Current State: 71:[44, 3124], Operations: ['60*53=3180', '3180-56=3124']
Exploring Operation: 3124/44=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[56, 60, 44, 53], Operations: []
Exploring Operation: 56+44=100, Resulting Numbers: [60, 53, 100]
Generated Node #0,0: 71:[60, 53, 100] Operation: 56+44=100
Exploring Operation: 60+44=104, Resulting Numbers: [56, 53, 104]
Generated Node #0,1: 71:[56, 53, 104] Operation: 60+44=104
Exploring Operation: 44+53=97, Resulting Numbers: [56, 60, 97]
Generated Node #0,2: 71:[56, 60, 97] Operation: 44+53=97
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[56, 60, 97], Operations: ['44+53=97']
Exploring Operation: 56+60=116, Resulting Numbers: [97, 116]
Generated Node #0,2,0: 71:[97, 116] Operation: 56+60=116
Exploring Operation: 97-60=37, Resulting Numbers: [56, 37]
Generated Node #0,2,1: 71:[56, 37] Operation: 97-60=37
Exploring Operation: 97-56=41, Resulting Numbers: [60, 41]
Generated Node #0,2,2: 71:[60, 41] Operation: 97-56=41
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[60, 41], Operations: ['44+53=97', '97-56=41']
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,71 unequal: No Solution
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,71 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,71 unequal: No Solution
No 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: 71:[56, 37], Operations: ['44+53=97', '97-60=37']
Exploring Operation: 56*37=2072, Resulting Numbers: [2072]
2072,71 unequal: No Solution
Exploring Operation: 56+37=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,71 unequal: No Solution
No 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: 71:[97, 116], Operations: ['44+53=97', '56+60=116']
Exploring Operation: 97*116=11252, Resulting Numbers: [11252]
11252,71 unequal: No Solution
Exploring Operation: 97+116=213, Resulting Numbers: [213]
213,71 unequal: No Solution
Exploring Operation: 116-97=19, Resulting Numbers: [19]
19,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[60, 53, 100], Operations: ['56+44=100']
Exploring Operation: 60+53=113, Resulting Numbers: [100, 113]
Generated Node #0,0,0: 71:[100, 113] Operation: 60+53=113
Exploring Operation: 100-53=47, Resulting Numbers: [60, 47]
Generated Node #0,0,1: 71:[60, 47] Operation: 100-53=47
Exploring Operation: 100-60=40, Resulting Numbers: [53, 40]
Generated Node #0,0,2: 71:[53, 40] Operation: 100-60=40
Moving to Node #0,0,1
Current State: 71:[60, 47], Operations: ['56+44=100', '100-53=47']
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 60*47=2820, Resulting Numbers: [2820]
2820,71 unequal: No Solution
Exploring Operation: 60+47=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[53, 40], Operations: ['56+44=100', '100-60=40']
Exploring Operation: 53*40=2120, Resulting Numbers: [2120]
2120,71 unequal: No Solution
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 53+40=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[100, 113], Operations: ['56+44=100', '60+53=113']
Exploring Operation: 100+113=213, Resulting Numbers: [213]
213,71 unequal: No Solution
Exploring Operation: 100*113=11300, Resulting Numbers: [11300]
11300,71 unequal: No Solution
Exploring Operation: 113-100=13, Resulting Numbers: [13]
13,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[56, 53, 104], Operations: ['60+44=104']
Exploring Operation: 56+53=109, Resulting Numbers: [104, 109]
Generated Node #0,1,0: 71:[104, 109] Operation: 56+53=109
Exploring Operation: 104-56=48, Resulting Numbers: [53, 48]
Generated Node #0,1,1: 71:[53, 48] Operation: 104-56=48
Exploring Operation: 104-53=51, Resulting Numbers: [56, 51]
Generated Node #0,1,2: 71:[56, 51] Operation: 104-53=51
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 71:[56, 51], Operations: ['60+44=104', '104-53=51']
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,71 unequal: No Solution
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,71 unequal: No Solution
No 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: 71:[53, 48], Operations: ['60+44=104', '104-56=48']
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 53+48=101, Resulting Numbers: [101]
101,71 unequal: No Solution
Exploring Operation: 53*48=2544, Resulting Numbers: [2544]
2544,71 unequal: No Solution
No 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: 71:[104, 109], Operations: ['60+44=104', '56+53=109']
Exploring Operation: 104+109=213, Resulting Numbers: [213]
213,71 unequal: No Solution
Exploring Operation: 109-104=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 104*109=11336, Resulting Numbers: [11336]
11336,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
19,
19,
93,
21
] | 34 | [
"19+19=38",
"93-21=72",
"72-38=34"
] | Current State: 34:[19, 19, 93, 21], Operations: []
Exploring Operation: 19+19=38, Resulting Numbers: [93, 21, 38]
Generated Node #2: [93, 21, 38] from Operation: 19+19=38
Current State: 34:[93, 21, 38], Operations: ['19+19=38']
Exploring Operation: 93-21=72, Resulting Numbers: [38, 72]
Generated Node #3: [38, 72] from Operation: 93-21=72
Current State: 34:[38, 72], Operations: ['19+19=38', '93-21=72']
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[19, 19, 93, 21], Operations: []
Exploring Operation: 93-21=72, Resulting Numbers: [19, 19, 72]
Generated Node #0,0: 34:[19, 19, 72] Operation: 93-21=72
Exploring Operation: 93-19=74, Resulting Numbers: [19, 21, 74]
Generated Node #0,1: 34:[19, 21, 74] Operation: 93-19=74
Exploring Operation: 93-19=74, Resulting Numbers: [19, 21, 74]
Generated Node #0,2: 34:[19, 21, 74] Operation: 93-19=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[19, 19, 72], Operations: ['93-21=72']
Exploring Operation: 72-19=53, Resulting Numbers: [19, 53]
Generated Node #0,0,0: 34:[19, 53] Operation: 72-19=53
Exploring Operation: 19/19=1, Resulting Numbers: [72, 1]
Generated Node #0,0,1: 34:[72, 1] Operation: 19/19=1
Exploring Operation: 72-19=53, Resulting Numbers: [19, 53]
Generated Node #0,0,2: 34:[19, 53] Operation: 72-19=53
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[19, 53], Operations: ['93-21=72', '72-19=53']
Exploring Operation: 19*53=1007, Resulting Numbers: [1007]
1007,34 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[19, 19, 93, 21], Operations: []
Exploring Operation: 93-21=72, Resulting Numbers: [19, 19, 72]
Generated Node #0,0: 34:[19, 19, 72] Operation: 93-21=72
Moving to Node #0,0
Current State: 34:[19, 19, 72], Operations: ['93-21=72']
Exploring Operation: 72-19=53, Resulting Numbers: [19, 53]
Generated Node #0,0,0: 34:[19, 53] Operation: 72-19=53
Moving to Node #0,0,0
Current State: 34:[19, 53], Operations: ['93-21=72', '72-19=53']
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
37,
25,
99,
83
] | 46 | [
"37+25=62",
"99-83=16",
"62-16=46"
] | Current State: 46:[37, 25, 99, 83], Operations: []
Exploring Operation: 37+25=62, Resulting Numbers: [99, 83, 62]
Generated Node #2: [99, 83, 62] from Operation: 37+25=62
Current State: 46:[99, 83, 62], Operations: ['37+25=62']
Exploring Operation: 99-83=16, Resulting Numbers: [62, 16]
Generated Node #3: [62, 16] from Operation: 99-83=16
Current State: 46:[62, 16], Operations: ['37+25=62', '99-83=16']
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[37, 25, 99, 83], Operations: []
Exploring Operation: 99-83=16, Resulting Numbers: [37, 25, 16]
Generated Node #0,0: 46:[37, 25, 16] Operation: 99-83=16
Exploring Operation: 99-37=62, Resulting Numbers: [25, 83, 62]
Generated Node #0,1: 46:[25, 83, 62] Operation: 99-37=62
Moving to Node #0,0
Current State: 46:[37, 25, 16], Operations: ['99-83=16']
Exploring Operation: 37-16=21, Resulting Numbers: [25, 21]
Generated Node #0,0,0: 46:[25, 21] Operation: 37-16=21
Exploring Operation: 37+16=53, Resulting Numbers: [25, 53]
Generated Node #0,0,1: 46:[25, 53] Operation: 37+16=53
Moving to Node #0,1
Current State: 46:[25, 83, 62], Operations: ['99-37=62']
Exploring Operation: 83-62=21, Resulting Numbers: [25, 21]
Generated Node #0,1,0: 46:[25, 21] Operation: 83-62=21
Exploring Operation: 83-25=58, Resulting Numbers: [62, 58]
Generated Node #0,1,1: 46:[62, 58] Operation: 83-25=58
Moving to Node #0,0,0
Current State: 46:[25, 21], Operations: ['99-83=16', '37-16=21']
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[37, 25, 99, 83], Operations: []
Exploring Operation: 99-83=16, Resulting Numbers: [37, 25, 16]
Generated Node #0,0: 46:[37, 25, 16] Operation: 99-83=16
Moving to Node #0,0
Current State: 46:[37, 25, 16], Operations: ['99-83=16']
Exploring Operation: 37-16=21, Resulting Numbers: [25, 21]
Generated Node #0,0,0: 46:[25, 21] Operation: 37-16=21
Moving to Node #0,0,0
Current State: 46:[25, 21], Operations: ['99-83=16', '37-16=21']
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
55,
46,
66,
36
] | 62 | [
"55-46=9",
"36/9=4",
"66-4=62"
] | Current State: 62:[55, 46, 66, 36], Operations: []
Exploring Operation: 55-46=9, Resulting Numbers: [66, 36, 9]
Generated Node #2: [66, 36, 9] from Operation: 55-46=9
Current State: 62:[66, 36, 9], Operations: ['55-46=9']
Exploring Operation: 36/9=4, Resulting Numbers: [66, 4]
Generated Node #3: [66, 4] from Operation: 36/9=4
Current State: 62:[66, 4], Operations: ['55-46=9', '36/9=4']
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[55, 46, 66, 36], Operations: []
Exploring Operation: 55-46=9, Resulting Numbers: [66, 36, 9]
Generated Node #0,0: 62:[66, 36, 9] Operation: 55-46=9
Exploring Operation: 46-36=10, Resulting Numbers: [55, 66, 10]
Generated Node #0,1: 62:[55, 66, 10] Operation: 46-36=10
Exploring Operation: 66-36=30, Resulting Numbers: [55, 46, 30]
Generated Node #0,2: 62:[55, 46, 30] Operation: 66-36=30
Exploring Operation: 66-46=20, Resulting Numbers: [55, 36, 20]
Generated Node #0,3: 62:[55, 36, 20] Operation: 66-46=20
Moving to Node #0,0
Current State: 62:[66, 36, 9], Operations: ['55-46=9']
Exploring Operation: 66-9=57, Resulting Numbers: [36, 57]
Generated Node #0,0,0: 62:[36, 57] Operation: 66-9=57
Exploring Operation: 36-9=27, Resulting Numbers: [66, 27]
Generated Node #0,0,1: 62:[66, 27] Operation: 36-9=27
Exploring Operation: 66-36=30, Resulting Numbers: [9, 30]
Generated Node #0,0,2: 62:[9, 30] Operation: 66-36=30
Exploring Operation: 36/9=4, Resulting Numbers: [66, 4]
Generated Node #0,0,3: 62:[66, 4] Operation: 36/9=4
Moving to Node #0,1
Current State: 62:[55, 66, 10], Operations: ['46-36=10']
Exploring Operation: 55-10=45, Resulting Numbers: [66, 45]
Generated Node #0,1,0: 62:[66, 45] Operation: 55-10=45
Exploring Operation: 66-10=56, Resulting Numbers: [55, 56]
Generated Node #0,1,1: 62:[55, 56] Operation: 66-10=56
Exploring Operation: 55+10=65, Resulting Numbers: [66, 65]
Generated Node #0,1,2: 62:[66, 65] Operation: 55+10=65
Exploring Operation: 66-55=11, Resulting Numbers: [10, 11]
Generated Node #0,1,3: 62:[10, 11] Operation: 66-55=11
Moving to Node #0,3
Current State: 62:[55, 36, 20], Operations: ['66-46=20']
Exploring Operation: 55-20=35, Resulting Numbers: [36, 35]
Generated Node #0,3,0: 62:[36, 35] Operation: 55-20=35
Exploring Operation: 55+20=75, Resulting Numbers: [36, 75]
Generated Node #0,3,1: 62:[36, 75] Operation: 55+20=75
Exploring Operation: 36+20=56, Resulting Numbers: [55, 56]
Generated Node #0,3,2: 62:[55, 56] Operation: 36+20=56
Exploring Operation: 36-20=16, Resulting Numbers: [55, 16]
Generated Node #0,3,3: 62:[55, 16] Operation: 36-20=16
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 62:[36, 35], Operations: ['66-46=20', '55-20=35']
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,62 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,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,2
Current State: 62:[55, 56], Operations: ['66-46=20', '36+20=56']
Exploring Operation: 55+56=111, Resulting Numbers: [111]
111,62 unequal: No Solution
Exploring Operation: 55*56=3080, Resulting Numbers: [3080]
3080,62 unequal: No Solution
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,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,1
Current State: 62:[36, 75], Operations: ['66-46=20', '55+20=75']
Exploring Operation: 36*75=2700, Resulting Numbers: [2700]
2700,62 unequal: No Solution
Exploring Operation: 36+75=111, Resulting Numbers: [111]
111,62 unequal: No Solution
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,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,3
Current State: 62:[55, 16], Operations: ['66-46=20', '36-20=16']
Exploring Operation: 55+16=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 55*16=880, Resulting Numbers: [880]
880,62 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,62 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: 62:[55, 46, 30], Operations: ['66-36=30']
Exploring Operation: 46+30=76, Resulting Numbers: [55, 76]
Generated Node #0,2,0: 62:[55, 76] Operation: 46+30=76
Exploring Operation: 46-30=16, Resulting Numbers: [55, 16]
Generated Node #0,2,1: 62:[55, 16] Operation: 46-30=16
Exploring Operation: 55-30=25, Resulting Numbers: [46, 25]
Generated Node #0,2,2: 62:[46, 25] Operation: 55-30=25
Exploring Operation: 55-46=9, Resulting Numbers: [30, 9]
Generated Node #0,2,3: 62:[30, 9] Operation: 55-46=9
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 62:[30, 9], Operations: ['66-36=30', '55-46=9']
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,62 unequal: No Solution
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,62 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,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,0
Current State: 62:[55, 76], Operations: ['66-36=30', '46+30=76']
Exploring Operation: 76-55=21, Resulting Numbers: [21]
21,62 unequal: No Solution
Exploring Operation: 55*76=4180, Resulting Numbers: [4180]
4180,62 unequal: No Solution
Exploring Operation: 55+76=131, Resulting Numbers: [131]
131,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,1
Current State: 62:[55, 16], Operations: ['66-36=30', '46-30=16']
Exploring Operation: 55*16=880, Resulting Numbers: [880]
880,62 unequal: No Solution
Exploring Operation: 55+16=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,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,2
Current State: 62:[46, 25], Operations: ['66-36=30', '55-30=25']
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 46*25=1150, Resulting Numbers: [1150]
1150,62 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,62 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: 62:[66, 4], Operations: ['55-46=9', '36/9=4']
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,62 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[55, 46, 66, 36], Operations: []
Exploring Operation: 55-46=9, Resulting Numbers: [66, 36, 9]
Generated Node #0,0: 62:[66, 36, 9] Operation: 55-46=9
Moving to Node #0,0
Current State: 62:[66, 36, 9], Operations: ['55-46=9']
Exploring Operation: 36/9=4, Resulting Numbers: [66, 4]
Generated Node #0,0,3: 62:[66, 4] Operation: 36/9=4
Moving to Node #0,0,3
Current State: 62:[66, 4], Operations: ['55-46=9', '36/9=4']
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.956597 | hs_4 | mult_heuristic |
[
96,
64,
16,
81
] | 91 | [
"96+64=160",
"160/16=10",
"81+10=91"
] | Current State: 91:[96, 64, 16, 81], Operations: []
Exploring Operation: 96+64=160, Resulting Numbers: [16, 81, 160]
Generated Node #2: [16, 81, 160] from Operation: 96+64=160
Current State: 91:[16, 81, 160], Operations: ['96+64=160']
Exploring Operation: 160/16=10, Resulting Numbers: [81, 10]
Generated Node #3: [81, 10] from Operation: 160/16=10
Current State: 91:[81, 10], Operations: ['96+64=160', '160/16=10']
Exploring Operation: 81+10=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[96, 64, 16, 81], Operations: []
Exploring Operation: 81-64=17, Resulting Numbers: [96, 16, 17]
Generated Node #0,0: 91:[96, 16, 17] Operation: 81-64=17
Exploring Operation: 64/16=4, Resulting Numbers: [96, 81, 4]
Generated Node #0,1: 91:[96, 81, 4] Operation: 64/16=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[96, 16, 17], Operations: ['81-64=17']
Exploring Operation: 17-16=1, Resulting Numbers: [96, 1]
Generated Node #0,0,0: 91:[96, 1] Operation: 17-16=1
Exploring Operation: 96/16=6, Resulting Numbers: [17, 6]
Generated Node #0,0,1: 91:[17, 6] Operation: 96/16=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[17, 6], Operations: ['81-64=17', '96/16=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,91 unequal: No Solution
No 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: 91:[96, 1], Operations: ['81-64=17', '17-16=1']
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,91 unequal: No Solution
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,91 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: 91:[96, 81, 4], Operations: ['64/16=4']
Exploring Operation: 96-4=92, Resulting Numbers: [81, 92]
Generated Node #0,1,0: 91:[81, 92] Operation: 96-4=92
Exploring Operation: 96-81=15, Resulting Numbers: [4, 15]
Generated Node #0,1,1: 91:[4, 15] Operation: 96-81=15
Moving to Node #0,1,1
Current State: 91:[4, 15], Operations: ['64/16=4', '96-81=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[81, 92], Operations: ['64/16=4', '96-4=92']
Exploring Operation: 81+92=173, Resulting Numbers: [173]
173,91 unequal: No Solution
Exploring Operation: 92-81=11, Resulting Numbers: [11]
11,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
63,
57,
38,
61
] | 21 | [
"63+57=120",
"38+61=99",
"120-99=21"
] | Current State: 21:[63, 57, 38, 61], Operations: []
Exploring Operation: 63+57=120, Resulting Numbers: [38, 61, 120]
Generated Node #2: [38, 61, 120] from Operation: 63+57=120
Current State: 21:[38, 61, 120], Operations: ['63+57=120']
Exploring Operation: 38+61=99, Resulting Numbers: [120, 99]
Generated Node #3: [120, 99] from Operation: 38+61=99
Current State: 21:[120, 99], Operations: ['63+57=120', '38+61=99']
Exploring Operation: 120-99=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[63, 57, 38, 61], Operations: []
Exploring Operation: 63-38=25, Resulting Numbers: [57, 61, 25]
Generated Node #0,0: 21:[57, 61, 25] Operation: 63-38=25
Exploring Operation: 63-57=6, Resulting Numbers: [38, 61, 6]
Generated Node #0,1: 21:[38, 61, 6] Operation: 63-57=6
Exploring Operation: 61-57=4, Resulting Numbers: [63, 38, 4]
Generated Node #0,2: 21:[63, 38, 4] Operation: 61-57=4
Exploring Operation: 63-61=2, Resulting Numbers: [57, 38, 2]
Generated Node #0,3: 21:[57, 38, 2] Operation: 63-61=2
Moving to Node #0,3
Current State: 21:[57, 38, 2], Operations: ['63-61=2']
Exploring Operation: 57-2=55, Resulting Numbers: [38, 55]
Generated Node #0,3,0: 21:[38, 55] Operation: 57-2=55
Exploring Operation: 57-38=19, Resulting Numbers: [2, 19]
Generated Node #0,3,1: 21:[2, 19] Operation: 57-38=19
Exploring Operation: 38-2=36, Resulting Numbers: [57, 36]
Generated Node #0,3,2: 21:[57, 36] Operation: 38-2=36
Exploring Operation: 38/2=19, Resulting Numbers: [57, 19]
Generated Node #0,3,3: 21:[57, 19] Operation: 38/2=19
Moving to Node #0,1
Current State: 21:[38, 61, 6], Operations: ['63-57=6']
Exploring Operation: 38-6=32, Resulting Numbers: [61, 32]
Generated Node #0,1,0: 21:[61, 32] Operation: 38-6=32
Exploring Operation: 61-6=55, Resulting Numbers: [38, 55]
Generated Node #0,1,1: 21:[38, 55] Operation: 61-6=55
Exploring Operation: 61-38=23, Resulting Numbers: [6, 23]
Generated Node #0,1,2: 21:[6, 23] Operation: 61-38=23
Exploring Operation: 38+6=44, Resulting Numbers: [61, 44]
Generated Node #0,1,3: 21:[61, 44] Operation: 38+6=44
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 21:[6, 23], Operations: ['63-57=6', '61-38=23']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,21 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[61, 32], Operations: ['63-57=6', '38-6=32']
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,21 unequal: No Solution
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 61*32=1952, Resulting Numbers: [1952]
1952,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[38, 55], Operations: ['63-57=6', '61-6=55']
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 38+55=93, Resulting Numbers: [93]
93,21 unequal: No Solution
Exploring Operation: 38*55=2090, Resulting Numbers: [2090]
2090,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 21:[61, 44], Operations: ['63-57=6', '38+6=44']
Exploring Operation: 61-44=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 61+44=105, Resulting Numbers: [105]
105,21 unequal: No Solution
Exploring Operation: 61*44=2684, Resulting Numbers: [2684]
2684,21 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: 21:[63, 38, 4], Operations: ['61-57=4']
Exploring Operation: 63-38=25, Resulting Numbers: [4, 25]
Generated Node #0,2,0: 21:[4, 25] Operation: 63-38=25
Exploring Operation: 63-4=59, Resulting Numbers: [38, 59]
Generated Node #0,2,1: 21:[38, 59] Operation: 63-4=59
Exploring Operation: 63+4=67, Resulting Numbers: [38, 67]
Generated Node #0,2,2: 21:[38, 67] Operation: 63+4=67
Exploring Operation: 38-4=34, Resulting Numbers: [63, 34]
Generated Node #0,2,3: 21:[63, 34] Operation: 38-4=34
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 21:[4, 25], Operations: ['61-57=4', '63-38=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,21 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[63, 57, 38, 61], Operations: []
Exploring Operation: 61-57=4, Resulting Numbers: [63, 38, 4]
Generated Node #0,2: 21:[63, 38, 4] Operation: 61-57=4
Moving to Node #0,2
Current State: 21:[63, 38, 4], Operations: ['61-57=4']
Exploring Operation: 63-38=25, Resulting Numbers: [4, 25]
Generated Node #0,2,0: 21:[4, 25] Operation: 63-38=25
Moving to Node #0,2,0
Current State: 21:[4, 25], Operations: ['61-57=4', '63-38=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
65,
68,
2,
57
] | 95 | [
"65+68=133",
"57+133=190",
"190/2=95"
] | Current State: 95:[65, 68, 2, 57], Operations: []
Exploring Operation: 65+68=133, Resulting Numbers: [2, 57, 133]
Generated Node #2: [2, 57, 133] from Operation: 65+68=133
Current State: 95:[2, 57, 133], Operations: ['65+68=133']
Exploring Operation: 57+133=190, Resulting Numbers: [2, 190]
Generated Node #3: [2, 190] from Operation: 57+133=190
Current State: 95:[2, 190], Operations: ['65+68=133', '57+133=190']
Exploring Operation: 190/2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[65, 68, 2, 57], Operations: []
Exploring Operation: 68-57=11, Resulting Numbers: [65, 2, 11]
Generated Node #0,0: 95:[65, 2, 11] Operation: 68-57=11
Exploring Operation: 65-57=8, Resulting Numbers: [68, 2, 8]
Generated Node #0,1: 95:[68, 2, 8] Operation: 65-57=8
Moving to Node #0,1
Current State: 95:[68, 2, 8], Operations: ['65-57=8']
Exploring Operation: 68/2=34, Resulting Numbers: [8, 34]
Generated Node #0,1,0: 95:[8, 34] Operation: 68/2=34
Exploring Operation: 68+8=76, Resulting Numbers: [2, 76]
Generated Node #0,1,1: 95:[2, 76] Operation: 68+8=76
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[8, 34], Operations: ['65-57=8', '68/2=34']
Exploring Operation: 8+34=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[2, 76], Operations: ['65-57=8', '68+8=76']
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,95 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,95 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: 95:[65, 2, 11], Operations: ['68-57=11']
Exploring Operation: 65+11=76, Resulting Numbers: [2, 76]
Generated Node #0,0,0: 95:[2, 76] Operation: 65+11=76
Exploring Operation: 2*11=22, Resulting Numbers: [65, 22]
Generated Node #0,0,1: 95:[65, 22] Operation: 2*11=22
Moving to Node #0,0,0
Current State: 95:[2, 76], Operations: ['68-57=11', '65+11=76']
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,95 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[65, 22], Operations: ['68-57=11', '2*11=22']
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,95 unequal: No Solution
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,95 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
26,
5,
54,
37
] | 38 | [
"26-5=21",
"54-37=17",
"21+17=38"
] | Current State: 38:[26, 5, 54, 37], Operations: []
Exploring Operation: 26-5=21, Resulting Numbers: [54, 37, 21]
Generated Node #2: [54, 37, 21] from Operation: 26-5=21
Current State: 38:[54, 37, 21], Operations: ['26-5=21']
Exploring Operation: 54-37=17, Resulting Numbers: [21, 17]
Generated Node #3: [21, 17] from Operation: 54-37=17
Current State: 38:[21, 17], Operations: ['26-5=21', '54-37=17']
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[26, 5, 54, 37], Operations: []
Exploring Operation: 26-5=21, Resulting Numbers: [54, 37, 21]
Generated Node #0,0: 38:[54, 37, 21] Operation: 26-5=21
Exploring Operation: 54-26=28, Resulting Numbers: [5, 37, 28]
Generated Node #0,1: 38:[5, 37, 28] Operation: 54-26=28
Exploring Operation: 54-37=17, Resulting Numbers: [26, 5, 17]
Generated Node #0,2: 38:[26, 5, 17] Operation: 54-37=17
Exploring Operation: 54-5=49, Resulting Numbers: [26, 37, 49]
Generated Node #0,3: 38:[26, 37, 49] Operation: 54-5=49
Exploring Operation: 26+5=31, Resulting Numbers: [54, 37, 31]
Generated Node #0,4: 38:[54, 37, 31] Operation: 26+5=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[26, 5, 17], Operations: ['54-37=17']
Exploring Operation: 26-5=21, Resulting Numbers: [17, 21]
Generated Node #0,2,0: 38:[17, 21] Operation: 26-5=21
Exploring Operation: 26+5=31, Resulting Numbers: [17, 31]
Generated Node #0,2,1: 38:[17, 31] Operation: 26+5=31
Exploring Operation: 26+17=43, Resulting Numbers: [5, 43]
Generated Node #0,2,2: 38:[5, 43] Operation: 26+17=43
Exploring Operation: 5+17=22, Resulting Numbers: [26, 22]
Generated Node #0,2,3: 38:[26, 22] Operation: 5+17=22
Exploring Operation: 26-17=9, Resulting Numbers: [5, 9]
Generated Node #0,2,4: 38:[5, 9] Operation: 26-17=9
Moving to Node #0,2,0
Current State: 38:[17, 21], Operations: ['54-37=17', '26-5=21']
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,38 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[26, 5, 54, 37], Operations: []
Exploring Operation: 54-37=17, Resulting Numbers: [26, 5, 17]
Generated Node #0,2: 38:[26, 5, 17] Operation: 54-37=17
Moving to Node #0,2
Current State: 38:[26, 5, 17], Operations: ['54-37=17']
Exploring Operation: 26-5=21, Resulting Numbers: [17, 21]
Generated Node #0,2,0: 38:[17, 21] Operation: 26-5=21
Moving to Node #0,2,0
Current State: 38:[17, 21], Operations: ['54-37=17', '26-5=21']
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
3,
78,
65,
97
] | 20 | [
"3*65=195",
"78+97=175",
"195-175=20"
] | Current State: 20:[3, 78, 65, 97], Operations: []
Exploring Operation: 3*65=195, Resulting Numbers: [78, 97, 195]
Generated Node #2: [78, 97, 195] from Operation: 3*65=195
Current State: 20:[78, 97, 195], Operations: ['3*65=195']
Exploring Operation: 78+97=175, Resulting Numbers: [195, 175]
Generated Node #3: [195, 175] from Operation: 78+97=175
Current State: 20:[195, 175], Operations: ['3*65=195', '78+97=175']
Exploring Operation: 195-175=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[3, 78, 65, 97], Operations: []
Exploring Operation: 78-3=75, Resulting Numbers: [65, 97, 75]
Generated Node #0,0: 20:[65, 97, 75] Operation: 78-3=75
Exploring Operation: 78/3=26, Resulting Numbers: [65, 97, 26]
Generated Node #0,1: 20:[65, 97, 26] Operation: 78/3=26
Exploring Operation: 78-65=13, Resulting Numbers: [3, 97, 13]
Generated Node #0,2: 20:[3, 97, 13] Operation: 78-65=13
Exploring Operation: 97-65=32, Resulting Numbers: [3, 78, 32]
Generated Node #0,3: 20:[3, 78, 32] Operation: 97-65=32
Exploring Operation: 97-78=19, Resulting Numbers: [3, 65, 19]
Generated Node #0,4: 20:[3, 65, 19] Operation: 97-78=19
Start Sub Search at level 1: Moving to Node #0,4
Current State: 20:[3, 65, 19], Operations: ['97-78=19']
Exploring Operation: 3+65=68, Resulting Numbers: [19, 68]
Generated Node #0,4,0: 20:[19, 68] Operation: 3+65=68
Exploring Operation: 65-19=46, Resulting Numbers: [3, 46]
Generated Node #0,4,1: 20:[3, 46] Operation: 65-19=46
Exploring Operation: 65-3=62, Resulting Numbers: [19, 62]
Generated Node #0,4,2: 20:[19, 62] Operation: 65-3=62
Exploring Operation: 3+19=22, Resulting Numbers: [65, 22]
Generated Node #0,4,3: 20:[65, 22] Operation: 3+19=22
Exploring Operation: 19-3=16, Resulting Numbers: [65, 16]
Generated Node #0,4,4: 20:[65, 16] Operation: 19-3=16
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 20:[3, 46], Operations: ['97-78=19', '65-19=46']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,20 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,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,4,2
Current State: 20:[19, 62], Operations: ['97-78=19', '65-3=62']
Exploring Operation: 19*62=1178, Resulting Numbers: [1178]
1178,20 unequal: No Solution
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 19+62=81, Resulting Numbers: [81]
81,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,4,3
Current State: 20:[65, 22], Operations: ['97-78=19', '3+19=22']
Exploring Operation: 65*22=1430, Resulting Numbers: [1430]
1430,20 unequal: No Solution
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,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,4,0
Current State: 20:[19, 68], Operations: ['97-78=19', '3+65=68']
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 19+68=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 19*68=1292, Resulting Numbers: [1292]
1292,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,4,4
Current State: 20:[65, 16], Operations: ['97-78=19', '19-3=16']
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 65*16=1040, Resulting Numbers: [1040]
1040,20 unequal: No Solution
Exploring Operation: 65+16=81, Resulting Numbers: [81]
81,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,3
Current State: 20:[3, 78, 32], Operations: ['97-65=32']
Exploring Operation: 3+78=81, Resulting Numbers: [32, 81]
Generated Node #0,3,0: 20:[32, 81] Operation: 3+78=81
Exploring Operation: 78/3=26, Resulting Numbers: [32, 26]
Generated Node #0,3,1: 20:[32, 26] Operation: 78/3=26
Exploring Operation: 78-32=46, Resulting Numbers: [3, 46]
Generated Node #0,3,2: 20:[3, 46] Operation: 78-32=46
Exploring Operation: 78-3=75, Resulting Numbers: [32, 75]
Generated Node #0,3,3: 20:[32, 75] Operation: 78-3=75
Exploring Operation: 32-3=29, Resulting Numbers: [78, 29]
Generated Node #0,3,4: 20:[78, 29] Operation: 32-3=29
Moving to Node #0,3,1
Current State: 20:[32, 26], Operations: ['97-65=32', '78/3=26']
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 32*26=832, Resulting Numbers: [832]
832,20 unequal: No Solution
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[3, 46], Operations: ['97-65=32', '78-32=46']
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[32, 75], Operations: ['97-65=32', '78-3=75']
Exploring Operation: 32*75=2400, Resulting Numbers: [2400]
2400,20 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 32+75=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Moving to Node #0,3,4
Current State: 20:[78, 29], Operations: ['97-65=32', '32-3=29']
Exploring Operation: 78+29=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Exploring Operation: 78*29=2262, Resulting Numbers: [2262]
2262,20 unequal: No Solution
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Moving to Node #0,3,0
Current State: 20:[32, 81], Operations: ['97-65=32', '3+78=81']
Exploring Operation: 81-32=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 32+81=113, Resulting Numbers: [113]
113,20 unequal: No Solution
Exploring Operation: 32*81=2592, Resulting Numbers: [2592]
2592,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:[3, 97, 13], Operations: ['78-65=13']
Exploring Operation: 3+13=16, Resulting Numbers: [97, 16]
Generated Node #0,2,0: 20:[97, 16] Operation: 3+13=16
Exploring Operation: 97-13=84, Resulting Numbers: [3, 84]
Generated Node #0,2,1: 20:[3, 84] Operation: 97-13=84
Exploring Operation: 13-3=10, Resulting Numbers: [97, 10]
Generated Node #0,2,2: 20:[97, 10] Operation: 13-3=10
Exploring Operation: 3+97=100, Resulting Numbers: [13, 100]
Generated Node #0,2,3: 20:[13, 100] Operation: 3+97=100
Exploring Operation: 97-3=94, Resulting Numbers: [13, 94]
Generated Node #0,2,4: 20:[13, 94] Operation: 97-3=94
Moving to Node #0,2,1
Current State: 20:[3, 84], Operations: ['78-65=13', '97-13=84']
Exploring Operation: 3*84=252, Resulting Numbers: [252]
252,20 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,20 unequal: No Solution
Moving to Node #0,2,4
Current State: 20:[13, 94], Operations: ['78-65=13', '97-3=94']
Exploring Operation: 13*94=1222, Resulting Numbers: [1222]
1222,20 unequal: No Solution
Exploring Operation: 94-13=81, Resulting Numbers: [81]
81,20 unequal: No Solution
Exploring Operation: 13+94=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[97, 10], Operations: ['78-65=13', '13-3=10']
Exploring Operation: 97*10=970, Resulting Numbers: [970]
970,20 unequal: No Solution
Exploring Operation: 97-10=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 97+10=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[97, 16], Operations: ['78-65=13', '3+13=16']
Exploring Operation: 97+16=113, Resulting Numbers: [113]
113,20 unequal: No Solution
Exploring Operation: 97*16=1552, Resulting Numbers: [1552]
1552,20 unequal: No Solution
Exploring Operation: 97-16=81, Resulting Numbers: [81]
81,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[13, 100], Operations: ['78-65=13', '3+97=100']
Exploring Operation: 13*100=1300, Resulting Numbers: [1300]
1300,20 unequal: No Solution
Exploring Operation: 13+100=113, Resulting Numbers: [113]
113,20 unequal: No Solution
Exploring Operation: 100-13=87, Resulting Numbers: [87]
87,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,1
Current State: 20:[65, 97, 26], Operations: ['78/3=26']
Exploring Operation: 65+97=162, Resulting Numbers: [26, 162]
Generated Node #0,1,0: 20:[26, 162] Operation: 65+97=162
Exploring Operation: 97-65=32, Resulting Numbers: [26, 32]
Generated Node #0,1,1: 20:[26, 32] Operation: 97-65=32
Exploring Operation: 65-26=39, Resulting Numbers: [97, 39]
Generated Node #0,1,2: 20:[97, 39] Operation: 65-26=39
Exploring Operation: 65+26=91, Resulting Numbers: [97, 91]
Generated Node #0,1,3: 20:[97, 91] Operation: 65+26=91
Exploring Operation: 97-26=71, Resulting Numbers: [65, 71]
Generated Node #0,1,4: 20:[65, 71] Operation: 97-26=71
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[26, 32], Operations: ['78/3=26', '97-65=32']
Exploring Operation: 26*32=832, Resulting Numbers: [832]
832,20 unequal: No Solution
Exploring Operation: 26+32=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 20:[97, 39], Operations: ['78/3=26', '65-26=39']
Exploring Operation: 97*39=3783, Resulting Numbers: [3783]
3783,20 unequal: No Solution
Exploring Operation: 97+39=136, Resulting Numbers: [136]
136,20 unequal: No Solution
Exploring Operation: 97-39=58, Resulting Numbers: [58]
58,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 20:[65, 71], Operations: ['78/3=26', '97-26=71']
Exploring Operation: 65+71=136, Resulting Numbers: [136]
136,20 unequal: No Solution
Exploring Operation: 71-65=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 65*71=4615, Resulting Numbers: [4615]
4615,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[26, 162], Operations: ['78/3=26', '65+97=162']
Exploring Operation: 26*162=4212, Resulting Numbers: [4212]
4212,20 unequal: No Solution
Exploring Operation: 162-26=136, Resulting Numbers: [136]
136,20 unequal: No Solution
Exploring Operation: 26+162=188, Resulting Numbers: [188]
188,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 20:[97, 91], Operations: ['78/3=26', '65+26=91']
Exploring Operation: 97*91=8827, Resulting Numbers: [8827]
8827,20 unequal: No Solution
Exploring Operation: 97+91=188, Resulting Numbers: [188]
188,20 unequal: No Solution
Exploring Operation: 97-91=6, Resulting Numbers: [6]
6,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,0
Current State: 20:[65, 97, 75], Operations: ['78-3=75']
Exploring Operation: 65+97=162, Resulting Numbers: [75, 162]
Generated Node #0,0,0: 20:[75, 162] Operation: 65+97=162
Exploring Operation: 65+75=140, Resulting Numbers: [97, 140]
Generated Node #0,0,1: 20:[97, 140] Operation: 65+75=140
Exploring Operation: 97-65=32, Resulting Numbers: [75, 32]
Generated Node #0,0,2: 20:[75, 32] Operation: 97-65=32
Exploring Operation: 75-65=10, Resulting Numbers: [97, 10]
Generated Node #0,0,3: 20:[97, 10] Operation: 75-65=10
Exploring Operation: 97-75=22, Resulting Numbers: [65, 22]
Generated Node #0,0,4: 20:[65, 22] Operation: 97-75=22
Moving to Node #0,0,4
Current State: 20:[65, 22], Operations: ['78-3=75', '97-75=22']
Exploring Operation: 65*22=1430, Resulting Numbers: [1430]
1430,20 unequal: No Solution
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Moving to Node #0,0,2
Current State: 20:[75, 32], Operations: ['78-3=75', '97-65=32']
Exploring Operation: 75*32=2400, Resulting Numbers: [2400]
2400,20 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 75+32=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Moving to Node #0,0,3
Current State: 20:[97, 10], Operations: ['78-3=75', '75-65=10']
Exploring Operation: 97-10=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 97*10=970, Resulting Numbers: [970]
970,20 unequal: No Solution
Exploring Operation: 97+10=107, Resulting Numbers: [107]
107,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[75, 162], Operations: ['78-3=75', '65+97=162']
Exploring Operation: 162-75=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 75+162=237, Resulting Numbers: [237]
237,20 unequal: No Solution
Exploring Operation: 75*162=12150, Resulting Numbers: [12150]
12150,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[97, 140], Operations: ['78-3=75', '65+75=140']
Exploring Operation: 97+140=237, Resulting Numbers: [237]
237,20 unequal: No Solution
Exploring Operation: 140-97=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 97*140=13580, Resulting Numbers: [13580]
13580,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
32,
16,
2,
13
] | 53 | [
"32+13=45",
"16/2=8",
"45+8=53"
] | Current State: 53:[32, 16, 2, 13], Operations: []
Exploring Operation: 32+13=45, Resulting Numbers: [16, 2, 45]
Generated Node #2: [16, 2, 45] from Operation: 32+13=45
Current State: 53:[16, 2, 45], Operations: ['32+13=45']
Exploring Operation: 16/2=8, Resulting Numbers: [45, 8]
Generated Node #3: [45, 8] from Operation: 16/2=8
Current State: 53:[45, 8], Operations: ['32+13=45', '16/2=8']
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[32, 16, 2, 13], Operations: []
Exploring Operation: 32+2=34, Resulting Numbers: [16, 13, 34]
Generated Node #0,0: 53:[16, 13, 34] Operation: 32+2=34
Exploring Operation: 2*13=26, Resulting Numbers: [32, 16, 26]
Generated Node #0,1: 53:[32, 16, 26] Operation: 2*13=26
Exploring Operation: 32+16=48, Resulting Numbers: [2, 13, 48]
Generated Node #0,2: 53:[2, 13, 48] Operation: 32+16=48
Exploring Operation: 16*2=32, Resulting Numbers: [32, 13, 32]
Generated Node #0,3: 53:[32, 13, 32] Operation: 16*2=32
Exploring Operation: 32*2=64, Resulting Numbers: [16, 13, 64]
Generated Node #0,4: 53:[16, 13, 64] Operation: 32*2=64
Moving to Node #0,3
Current State: 53:[32, 13, 32], Operations: ['16*2=32']
Exploring Operation: 32+32=64, Resulting Numbers: [13, 64]
Generated Node #0,3,0: 53:[13, 64] Operation: 32+32=64
Exploring Operation: 32+13=45, Resulting Numbers: [32, 45]
Generated Node #0,3,1: 53:[32, 45] Operation: 32+13=45
Exploring Operation: 13+32=45, Resulting Numbers: [32, 45]
Generated Node #0,3,2: 53:[32, 45] Operation: 13+32=45
Exploring Operation: 32-13=19, Resulting Numbers: [32, 19]
Generated Node #0,3,3: 53:[32, 19] Operation: 32-13=19
Exploring Operation: 32-13=19, Resulting Numbers: [32, 19]
Generated Node #0,3,4: 53:[32, 19] Operation: 32-13=19
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[32, 45], Operations: ['16*2=32', '32+13=45']
Exploring Operation: 32+45=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 32*45=1440, Resulting Numbers: [1440]
1440,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,3,2
Current State: 53:[32, 45], Operations: ['16*2=32', '13+32=45']
Exploring Operation: 32+45=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 32*45=1440, Resulting Numbers: [1440]
1440,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,3,0
Current State: 53:[13, 64], Operations: ['16*2=32', '32+32=64']
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 13+64=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 13*64=832, Resulting Numbers: [832]
832,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,3,3
Current State: 53:[32, 19], Operations: ['16*2=32', '32-13=19']
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,53 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,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,3,4
Current State: 53:[32, 19], Operations: ['16*2=32', '32-13=19']
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,53 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,53 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: 53:[32, 16, 26], Operations: ['2*13=26']
Exploring Operation: 26-16=10, Resulting Numbers: [32, 10]
Generated Node #0,1,0: 53:[32, 10] Operation: 26-16=10
Exploring Operation: 32+26=58, Resulting Numbers: [16, 58]
Generated Node #0,1,1: 53:[16, 58] Operation: 32+26=58
Exploring Operation: 32-16=16, Resulting Numbers: [26, 16]
Generated Node #0,1,2: 53:[26, 16] Operation: 32-16=16
Exploring Operation: 32+16=48, Resulting Numbers: [26, 48]
Generated Node #0,1,3: 53:[26, 48] Operation: 32+16=48
Exploring Operation: 16+26=42, Resulting Numbers: [32, 42]
Generated Node #0,1,4: 53:[32, 42] Operation: 16+26=42
Moving to Node #0,4
Current State: 53:[16, 13, 64], Operations: ['32*2=64']
Exploring Operation: 13+64=77, Resulting Numbers: [16, 77]
Generated Node #0,4,0: 53:[16, 77] Operation: 13+64=77
Exploring Operation: 16+13=29, Resulting Numbers: [64, 29]
Generated Node #0,4,1: 53:[64, 29] Operation: 16+13=29
Exploring Operation: 64-13=51, Resulting Numbers: [16, 51]
Generated Node #0,4,2: 53:[16, 51] Operation: 64-13=51
Exploring Operation: 16-13=3, Resulting Numbers: [64, 3]
Generated Node #0,4,3: 53:[64, 3] Operation: 16-13=3
Exploring Operation: 64-16=48, Resulting Numbers: [13, 48]
Generated Node #0,4,4: 53:[13, 48] Operation: 64-16=48
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 53:[64, 29], Operations: ['32*2=64', '16+13=29']
Exploring Operation: 64+29=93, Resulting Numbers: [93]
93,53 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Exploring Operation: 64*29=1856, Resulting Numbers: [1856]
1856,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,4,2
Current State: 53:[16, 51], Operations: ['32*2=64', '64-13=51']
Exploring Operation: 16+51=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Exploring Operation: 16*51=816, Resulting Numbers: [816]
816,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,4,4
Current State: 53:[13, 48], Operations: ['32*2=64', '64-16=48']
Exploring Operation: 13*48=624, Resulting Numbers: [624]
624,53 unequal: No Solution
Exploring Operation: 48-13=35, Resulting Numbers: [35]
35,53 unequal: No Solution
Exploring Operation: 13+48=61, Resulting Numbers: [61]
61,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,4,0
Current State: 53:[16, 77], Operations: ['32*2=64', '13+64=77']
Exploring Operation: 16+77=93, Resulting Numbers: [93]
93,53 unequal: No Solution
Exploring Operation: 16*77=1232, Resulting Numbers: [1232]
1232,53 unequal: No Solution
Exploring Operation: 77-16=61, Resulting Numbers: [61]
61,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,4,3
Current State: 53:[64, 3], Operations: ['32*2=64', '16-13=3']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,53 unequal: No Solution
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Exploring Operation: 64*3=192, Resulting Numbers: [192]
192,53 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: 53:[16, 13, 34], Operations: ['32+2=34']
Exploring Operation: 16-13=3, Resulting Numbers: [34, 3]
Generated Node #0,0,0: 53:[34, 3] Operation: 16-13=3
Exploring Operation: 16+13=29, Resulting Numbers: [34, 29]
Generated Node #0,0,1: 53:[34, 29] Operation: 16+13=29
Exploring Operation: 34-13=21, Resulting Numbers: [16, 21]
Generated Node #0,0,2: 53:[16, 21] Operation: 34-13=21
Exploring Operation: 13+34=47, Resulting Numbers: [16, 47]
Generated Node #0,0,3: 53:[16, 47] Operation: 13+34=47
Exploring Operation: 16+34=50, Resulting Numbers: [13, 50]
Generated Node #0,0,4: 53:[13, 50] Operation: 16+34=50
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[34, 29], Operations: ['32+2=34', '16+13=29']
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 34*29=986, Resulting Numbers: [986]
986,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,3
Current State: 53:[16, 47], Operations: ['32+2=34', '13+34=47']
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,53 unequal: No Solution
Exploring Operation: 16*47=752, Resulting Numbers: [752]
752,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,4
Current State: 53:[13, 50], Operations: ['32+2=34', '16+34=50']
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 13*50=650, Resulting Numbers: [650]
650,53 unequal: No Solution
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,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:[34, 3], Operations: ['32+2=34', '16-13=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,53 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,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,2
Current State: 53:[16, 21], Operations: ['32+2=34', '34-13=21']
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 16*21=336, Resulting Numbers: [336]
336,53 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 53:[2, 13, 48], Operations: ['32+16=48']
Exploring Operation: 2+13=15, Resulting Numbers: [48, 15]
Generated Node #0,2,0: 53:[48, 15] Operation: 2+13=15
Exploring Operation: 2+48=50, Resulting Numbers: [13, 50]
Generated Node #0,2,1: 53:[13, 50] Operation: 2+48=50
Exploring Operation: 13-2=11, Resulting Numbers: [48, 11]
Generated Node #0,2,2: 53:[48, 11] Operation: 13-2=11
Exploring Operation: 48-2=46, Resulting Numbers: [13, 46]
Generated Node #0,2,3: 53:[13, 46] Operation: 48-2=46
Exploring Operation: 2*13=26, Resulting Numbers: [48, 26]
Generated Node #0,2,4: 53:[48, 26] Operation: 2*13=26
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 53:[48, 26], Operations: ['32+16=48', '2*13=26']
Exploring Operation: 48*26=1248, Resulting Numbers: [1248]
1248,53 unequal: No Solution
Exploring Operation: 48+26=74, Resulting Numbers: [74]
74,53 unequal: No Solution
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[48, 15], Operations: ['32+16=48', '2+13=15']
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,53 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[13, 50], Operations: ['32+16=48', '2+48=50']
Exploring Operation: 13*50=650, Resulting Numbers: [650]
650,53 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 13+50=63, Resulting Numbers: [63]
63,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[48, 11], Operations: ['32+16=48', '13-2=11']
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 48*11=528, Resulting Numbers: [528]
528,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 53:[13, 46], Operations: ['32+16=48', '48-2=46']
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 13*46=598, Resulting Numbers: [598]
598,53 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: 53:[26, 48], Operations: ['2*13=26', '32+16=48']
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 26*48=1248, Resulting Numbers: [1248]
1248,53 unequal: No Solution
Exploring Operation: 26+48=74, Resulting Numbers: [74]
74,53 unequal: No Solution
Moving to Node #0,1,4
Current State: 53:[32, 42], Operations: ['2*13=26', '16+26=42']
Exploring Operation: 32*42=1344, Resulting Numbers: [1344]
1344,53 unequal: No Solution
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 32+42=74, Resulting Numbers: [74]
74,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[16, 58], Operations: ['2*13=26', '32+26=58']
Exploring Operation: 16*58=928, Resulting Numbers: [928]
928,53 unequal: No Solution
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 16+58=74, Resulting Numbers: [74]
74,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[32, 10], Operations: ['2*13=26', '26-16=10']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,53 unequal: No Solution
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,53 unequal: No Solution
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[26, 16], Operations: ['2*13=26', '32-16=16']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 26*16=416, Resulting Numbers: [416]
416,53 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
32,
37,
40,
15
] | 23 | [
"37-32=5",
"40/5=8",
"15+8=23"
] | Current State: 23:[32, 37, 40, 15], Operations: []
Exploring Operation: 37-32=5, Resulting Numbers: [40, 15, 5]
Generated Node #2: [40, 15, 5] from Operation: 37-32=5
Current State: 23:[40, 15, 5], Operations: ['37-32=5']
Exploring Operation: 40/5=8, Resulting Numbers: [15, 8]
Generated Node #3: [15, 8] from Operation: 40/5=8
Current State: 23:[15, 8], Operations: ['37-32=5', '40/5=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[32, 37, 40, 15], Operations: []
Exploring Operation: 40-15=25, Resulting Numbers: [32, 37, 25]
Generated Node #0,0: 23:[32, 37, 25] Operation: 40-15=25
Moving to Node #0,0
Current State: 23:[32, 37, 25], Operations: ['40-15=25']
Exploring Operation: 37-32=5, Resulting Numbers: [25, 5]
Generated Node #0,0,0: 23:[25, 5] Operation: 37-32=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[25, 5], Operations: ['40-15=25', '37-32=5']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,23 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 |
[
33,
2,
40,
9
] | 61 | [
"40-33=7",
"9*7=63",
"63-2=61"
] | Current State: 61:[33, 2, 40, 9], Operations: []
Exploring Operation: 40-33=7, Resulting Numbers: [2, 9, 7]
Generated Node #2: [2, 9, 7] from Operation: 40-33=7
Current State: 61:[2, 9, 7], Operations: ['40-33=7']
Exploring Operation: 9*7=63, Resulting Numbers: [2, 63]
Generated Node #3: [2, 63] from Operation: 9*7=63
Current State: 61:[2, 63], Operations: ['40-33=7', '9*7=63']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[33, 2, 40, 9], Operations: []
Exploring Operation: 33+2=35, Resulting Numbers: [40, 9, 35]
Generated Node #0,0: 61:[40, 9, 35] Operation: 33+2=35
Exploring Operation: 2*9=18, Resulting Numbers: [33, 40, 18]
Generated Node #0,1: 61:[33, 40, 18] Operation: 2*9=18
Exploring Operation: 33+9=42, Resulting Numbers: [2, 40, 42]
Generated Node #0,2: 61:[2, 40, 42] Operation: 33+9=42
Exploring Operation: 33*2=66, Resulting Numbers: [40, 9, 66]
Generated Node #0,3: 61:[40, 9, 66] Operation: 33*2=66
Moving to Node #0,3
Current State: 61:[40, 9, 66], Operations: ['33*2=66']
Exploring Operation: 9+66=75, Resulting Numbers: [40, 75]
Generated Node #0,3,0: 61:[40, 75] Operation: 9+66=75
Exploring Operation: 40+9=49, Resulting Numbers: [66, 49]
Generated Node #0,3,1: 61:[66, 49] Operation: 40+9=49
Exploring Operation: 40-9=31, Resulting Numbers: [66, 31]
Generated Node #0,3,2: 61:[66, 31] Operation: 40-9=31
Exploring Operation: 66-9=57, Resulting Numbers: [40, 57]
Generated Node #0,3,3: 61:[40, 57] Operation: 66-9=57
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 61:[66, 49], Operations: ['33*2=66', '40+9=49']
Exploring Operation: 66*49=3234, Resulting Numbers: [3234]
3234,61 unequal: No Solution
Exploring Operation: 66+49=115, Resulting Numbers: [115]
115,61 unequal: No Solution
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 61:[40, 57], Operations: ['33*2=66', '66-9=57']
Exploring Operation: 40+57=97, Resulting Numbers: [97]
97,61 unequal: No Solution
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 40*57=2280, Resulting Numbers: [2280]
2280,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 61:[40, 75], Operations: ['33*2=66', '9+66=75']
Exploring Operation: 40+75=115, Resulting Numbers: [115]
115,61 unequal: No Solution
Exploring Operation: 40*75=3000, Resulting Numbers: [3000]
3000,61 unequal: No Solution
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 61:[66, 31], Operations: ['33*2=66', '40-9=31']
Exploring Operation: 66+31=97, Resulting Numbers: [97]
97,61 unequal: No Solution
Exploring Operation: 66*31=2046, Resulting Numbers: [2046]
2046,61 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 61:[33, 40, 18], Operations: ['2*9=18']
Exploring Operation: 33+40=73, Resulting Numbers: [18, 73]
Generated Node #0,1,0: 61:[18, 73] Operation: 33+40=73
Exploring Operation: 40+18=58, Resulting Numbers: [33, 58]
Generated Node #0,1,1: 61:[33, 58] Operation: 40+18=58
Exploring Operation: 33-18=15, Resulting Numbers: [40, 15]
Generated Node #0,1,2: 61:[40, 15] Operation: 33-18=15
Exploring Operation: 33+18=51, Resulting Numbers: [40, 51]
Generated Node #0,1,3: 61:[40, 51] Operation: 33+18=51
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[33, 58], Operations: ['2*9=18', '40+18=58']
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 33*58=1914, Resulting Numbers: [1914]
1914,61 unequal: No Solution
Exploring Operation: 33+58=91, Resulting Numbers: [91]
91,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[40, 51], Operations: ['2*9=18', '33+18=51']
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,61 unequal: No Solution
Exploring Operation: 40*51=2040, Resulting Numbers: [2040]
2040,61 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[18, 73], Operations: ['2*9=18', '33+40=73']
Exploring Operation: 73-18=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 18*73=1314, Resulting Numbers: [1314]
1314,61 unequal: No Solution
Exploring Operation: 18+73=91, Resulting Numbers: [91]
91,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[40, 15], Operations: ['2*9=18', '33-18=15']
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,61 unequal: No Solution
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,61 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: 61:[2, 40, 42], Operations: ['33+9=42']
Exploring Operation: 2*40=80, Resulting Numbers: [42, 80]
Generated Node #0,2,0: 61:[42, 80] Operation: 2*40=80
Exploring Operation: 2+42=44, Resulting Numbers: [40, 44]
Generated Node #0,2,1: 61:[40, 44] Operation: 2+42=44
Exploring Operation: 40-2=38, Resulting Numbers: [42, 38]
Generated Node #0,2,2: 61:[42, 38] Operation: 40-2=38
Exploring Operation: 2+40=42, Resulting Numbers: [42, 42]
Generated Node #0,2,3: 61:[42, 42] Operation: 2+40=42
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[42, 80], Operations: ['33+9=42', '2*40=80']
Exploring Operation: 42+80=122, Resulting Numbers: [122]
122,61 unequal: No Solution
Exploring Operation: 42*80=3360, Resulting Numbers: [3360]
3360,61 unequal: No Solution
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[40, 44], Operations: ['33+9=42', '2+42=44']
Exploring Operation: 40+44=84, Resulting Numbers: [84]
84,61 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,61 unequal: No Solution
Exploring Operation: 40*44=1760, Resulting Numbers: [1760]
1760,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 61:[42, 42], Operations: ['33+9=42', '2+40=42']
Exploring Operation: 42/42=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 42-42=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,61 unequal: No Solution
Exploring Operation: 42*42=1764, Resulting Numbers: [1764]
1764,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 61:[42, 38], Operations: ['33+9=42', '40-2=38']
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,61 unequal: No Solution
Exploring Operation: 42*38=1596, Resulting Numbers: [1596]
1596,61 unequal: No Solution
Exploring Operation: 42+38=80, Resulting Numbers: [80]
80,61 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: 61:[40, 9, 35], Operations: ['33+2=35']
Exploring Operation: 40-9=31, Resulting Numbers: [35, 31]
Generated Node #0,0,0: 61:[35, 31] Operation: 40-9=31
Exploring Operation: 9+35=44, Resulting Numbers: [40, 44]
Generated Node #0,0,1: 61:[40, 44] Operation: 9+35=44
Exploring Operation: 35-9=26, Resulting Numbers: [40, 26]
Generated Node #0,0,2: 61:[40, 26] Operation: 35-9=26
Exploring Operation: 40+9=49, Resulting Numbers: [35, 49]
Generated Node #0,0,3: 61:[35, 49] Operation: 40+9=49
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[40, 44], Operations: ['33+2=35', '9+35=44']
Exploring Operation: 40*44=1760, Resulting Numbers: [1760]
1760,61 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,61 unequal: No Solution
Exploring Operation: 40+44=84, Resulting Numbers: [84]
84,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 61:[35, 49], Operations: ['33+2=35', '40+9=49']
Exploring Operation: 35*49=1715, Resulting Numbers: [1715]
1715,61 unequal: No Solution
Exploring Operation: 35+49=84, Resulting Numbers: [84]
84,61 unequal: No Solution
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[35, 31], Operations: ['33+2=35', '40-9=31']
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,61 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,61 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[40, 26], Operations: ['33+2=35', '35-9=26']
Exploring Operation: 40*26=1040, Resulting Numbers: [1040]
1040,61 unequal: No Solution
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
90,
56,
22,
61
] | 59 | [
"90+22=112",
"112/56=2",
"61-2=59"
] | Current State: 59:[90, 56, 22, 61], Operations: []
Exploring Operation: 90+22=112, Resulting Numbers: [56, 61, 112]
Generated Node #2: [56, 61, 112] from Operation: 90+22=112
Current State: 59:[56, 61, 112], Operations: ['90+22=112']
Exploring Operation: 112/56=2, Resulting Numbers: [61, 2]
Generated Node #3: [61, 2] from Operation: 112/56=2
Current State: 59:[61, 2], Operations: ['90+22=112', '112/56=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[90, 56, 22, 61], Operations: []
Exploring Operation: 90+22=112, Resulting Numbers: [56, 61, 112]
Generated Node #0,0: 59:[56, 61, 112] Operation: 90+22=112
Exploring Operation: 61-22=39, Resulting Numbers: [90, 56, 39]
Generated Node #0,1: 59:[90, 56, 39] Operation: 61-22=39
Exploring Operation: 56+22=78, Resulting Numbers: [90, 61, 78]
Generated Node #0,2: 59:[90, 61, 78] Operation: 56+22=78
Exploring Operation: 90-22=68, Resulting Numbers: [56, 61, 68]
Generated Node #0,3: 59:[56, 61, 68] Operation: 90-22=68
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[56, 61, 68], Operations: ['90-22=68']
Exploring Operation: 61-56=5, Resulting Numbers: [68, 5]
Generated Node #0,3,0: 59:[68, 5] Operation: 61-56=5
Exploring Operation: 68-61=7, Resulting Numbers: [56, 7]
Generated Node #0,3,1: 59:[56, 7] Operation: 68-61=7
Exploring Operation: 68-56=12, Resulting Numbers: [61, 12]
Generated Node #0,3,2: 59:[61, 12] Operation: 68-56=12
Exploring Operation: 56+61=117, Resulting Numbers: [68, 117]
Generated Node #0,3,3: 59:[68, 117] Operation: 56+61=117
Moving to Node #0,3,2
Current State: 59:[61, 12], Operations: ['90-22=68', '68-56=12']
Exploring Operation: 61+12=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Exploring Operation: 61*12=732, Resulting Numbers: [732]
732,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[56, 7], Operations: ['90-22=68', '68-61=7']
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[68, 5], Operations: ['90-22=68', '61-56=5']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 68+5=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 68*5=340, Resulting Numbers: [340]
340,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[68, 117], Operations: ['90-22=68', '56+61=117']
Exploring Operation: 68+117=185, Resulting Numbers: [185]
185,59 unequal: No Solution
Exploring Operation: 117-68=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Exploring Operation: 68*117=7956, Resulting Numbers: [7956]
7956,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[90, 61, 78], Operations: ['56+22=78']
Exploring Operation: 90-61=29, Resulting Numbers: [78, 29]
Generated Node #0,2,0: 59:[78, 29] Operation: 90-61=29
Exploring Operation: 90-78=12, Resulting Numbers: [61, 12]
Generated Node #0,2,1: 59:[61, 12] Operation: 90-78=12
Exploring Operation: 90+61=151, Resulting Numbers: [78, 151]
Generated Node #0,2,2: 59:[78, 151] Operation: 90+61=151
Exploring Operation: 78-61=17, Resulting Numbers: [90, 17]
Generated Node #0,2,3: 59:[90, 17] Operation: 78-61=17
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 59:[78, 29], Operations: ['56+22=78', '90-61=29']
Exploring Operation: 78+29=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 78*29=2262, Resulting Numbers: [2262]
2262,59 unequal: No Solution
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 59:[61, 12], Operations: ['56+22=78', '90-78=12']
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Exploring Operation: 61*12=732, Resulting Numbers: [732]
732,59 unequal: No Solution
Exploring Operation: 61+12=73, Resulting Numbers: [73]
73,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 59:[90, 17], Operations: ['56+22=78', '78-61=17']
Exploring Operation: 90+17=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 90*17=1530, Resulting Numbers: [1530]
1530,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 59:[78, 151], Operations: ['56+22=78', '90+61=151']
Exploring Operation: 151-78=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 78*151=11778, Resulting Numbers: [11778]
11778,59 unequal: No Solution
Exploring Operation: 78+151=229, Resulting Numbers: [229]
229,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[90, 56, 39], Operations: ['61-22=39']
Exploring Operation: 90-56=34, Resulting Numbers: [39, 34]
Generated Node #0,1,0: 59:[39, 34] Operation: 90-56=34
Exploring Operation: 56+39=95, Resulting Numbers: [90, 95]
Generated Node #0,1,1: 59:[90, 95] Operation: 56+39=95
Exploring Operation: 90+39=129, Resulting Numbers: [56, 129]
Generated Node #0,1,2: 59:[56, 129] Operation: 90+39=129
Exploring Operation: 90-39=51, Resulting Numbers: [56, 51]
Generated Node #0,1,3: 59:[56, 51] Operation: 90-39=51
Moving to Node #0,1,3
Current State: 59:[56, 51], Operations: ['61-22=39', '90-39=51']
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,59 unequal: No Solution
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[39, 34], Operations: ['61-22=39', '90-56=34']
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 39*34=1326, Resulting Numbers: [1326]
1326,59 unequal: No Solution
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[90, 95], Operations: ['61-22=39', '56+39=95']
Exploring Operation: 90+95=185, Resulting Numbers: [185]
185,59 unequal: No Solution
Exploring Operation: 95-90=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 90*95=8550, Resulting Numbers: [8550]
8550,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[56, 129], Operations: ['61-22=39', '90+39=129']
Exploring Operation: 56*129=7224, Resulting Numbers: [7224]
7224,59 unequal: No Solution
Exploring Operation: 56+129=185, Resulting Numbers: [185]
185,59 unequal: No Solution
Exploring Operation: 129-56=73, Resulting Numbers: [73]
73,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[56, 61, 112], Operations: ['90+22=112']
Exploring Operation: 112/56=2, Resulting Numbers: [61, 2]
Generated Node #0,0,0: 59:[61, 2] Operation: 112/56=2
Exploring Operation: 112-56=56, Resulting Numbers: [61, 56]
Generated Node #0,0,1: 59:[61, 56] Operation: 112-56=56
Exploring Operation: 61-56=5, Resulting Numbers: [112, 5]
Generated Node #0,0,2: 59:[112, 5] Operation: 61-56=5
Exploring Operation: 112-61=51, Resulting Numbers: [56, 51]
Generated Node #0,0,3: 59:[56, 51] Operation: 112-61=51
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[61, 56], Operations: ['90+22=112', '112-56=56']
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 61*56=3416, Resulting Numbers: [3416]
3416,59 unequal: No Solution
Exploring Operation: 61+56=117, Resulting Numbers: [117]
117,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 59:[56, 51], Operations: ['90+22=112', '112-61=51']
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,59 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[61, 2], Operations: ['90+22=112', '112/56=2']
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[90, 56, 22, 61], Operations: []
Exploring Operation: 90+22=112, Resulting Numbers: [56, 61, 112]
Generated Node #0,0: 59:[56, 61, 112] Operation: 90+22=112
Moving to Node #0,0
Current State: 59:[56, 61, 112], Operations: ['90+22=112']
Exploring Operation: 112/56=2, Resulting Numbers: [61, 2]
Generated Node #0,0,0: 59:[61, 2] Operation: 112/56=2
Moving to Node #0,0,0
Current State: 59:[61, 2], Operations: ['90+22=112', '112/56=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.940104 | hs_4 | sum_heuristic |
[
67,
96,
44,
52
] | 21 | [
"96-67=29",
"52-44=8",
"29-8=21"
] | Current State: 21:[67, 96, 44, 52], Operations: []
Exploring Operation: 96-67=29, Resulting Numbers: [44, 52, 29]
Generated Node #2: [44, 52, 29] from Operation: 96-67=29
Current State: 21:[44, 52, 29], Operations: ['96-67=29']
Exploring Operation: 52-44=8, Resulting Numbers: [29, 8]
Generated Node #3: [29, 8] from Operation: 52-44=8
Current State: 21:[29, 8], Operations: ['96-67=29', '52-44=8']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[67, 96, 44, 52], Operations: []
Exploring Operation: 96-52=44, Resulting Numbers: [67, 44, 44]
Generated Node #0,0: 21:[67, 44, 44] Operation: 96-52=44
Exploring Operation: 96-67=29, Resulting Numbers: [44, 52, 29]
Generated Node #0,1: 21:[44, 52, 29] Operation: 96-67=29
Exploring Operation: 67-52=15, Resulting Numbers: [96, 44, 15]
Generated Node #0,2: 21:[96, 44, 15] Operation: 67-52=15
Exploring Operation: 67-44=23, Resulting Numbers: [96, 52, 23]
Generated Node #0,3: 21:[96, 52, 23] Operation: 67-44=23
Exploring Operation: 96-44=52, Resulting Numbers: [67, 52, 52]
Generated Node #0,4: 21:[67, 52, 52] Operation: 96-44=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[44, 52, 29], Operations: ['96-67=29']
Exploring Operation: 52-44=8, Resulting Numbers: [29, 8]
Generated Node #0,1,0: 21:[29, 8] Operation: 52-44=8
Exploring Operation: 44+52=96, Resulting Numbers: [29, 96]
Generated Node #0,1,1: 21:[29, 96] Operation: 44+52=96
Exploring Operation: 44+29=73, Resulting Numbers: [52, 73]
Generated Node #0,1,2: 21:[52, 73] Operation: 44+29=73
Exploring Operation: 52-29=23, Resulting Numbers: [44, 23]
Generated Node #0,1,3: 21:[44, 23] Operation: 52-29=23
Exploring Operation: 44-29=15, Resulting Numbers: [52, 15]
Generated Node #0,1,4: 21:[52, 15] Operation: 44-29=15
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[29, 8], Operations: ['96-67=29', '52-44=8']
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[67, 96, 44, 52], Operations: []
Exploring Operation: 96-67=29, Resulting Numbers: [44, 52, 29]
Generated Node #0,1: 21:[44, 52, 29] Operation: 96-67=29
Moving to Node #0,1
Current State: 21:[44, 52, 29], Operations: ['96-67=29']
Exploring Operation: 52-44=8, Resulting Numbers: [29, 8]
Generated Node #0,1,0: 21:[29, 8] Operation: 52-44=8
Moving to Node #0,1,0
Current State: 21:[29, 8], Operations: ['96-67=29', '52-44=8']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
77,
68,
31,
90
] | 68 | [
"77-68=9",
"90-31=59",
"9+59=68"
] | Current State: 68:[77, 68, 31, 90], Operations: []
Exploring Operation: 77-68=9, Resulting Numbers: [31, 90, 9]
Generated Node #2: [31, 90, 9] from Operation: 77-68=9
Current State: 68:[31, 90, 9], Operations: ['77-68=9']
Exploring Operation: 90-31=59, Resulting Numbers: [9, 59]
Generated Node #3: [9, 59] from Operation: 90-31=59
Current State: 68:[9, 59], Operations: ['77-68=9', '90-31=59']
Exploring Operation: 9+59=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[77, 68, 31, 90], Operations: []
Exploring Operation: 90-77=13, Resulting Numbers: [68, 31, 13]
Generated Node #0,0: 68:[68, 31, 13] Operation: 90-77=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[68, 31, 13], Operations: ['90-77=13']
Exploring Operation: 31-13=18, Resulting Numbers: [68, 18]
Generated Node #0,0,0: 68:[68, 18] Operation: 31-13=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[68, 18], Operations: ['90-77=13', '31-13=18']
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,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_1 | sum_heuristic |
[
41,
21,
21,
72
] | 71 | [
"41-21=20",
"72-21=51",
"20+51=71"
] | Current State: 71:[41, 21, 21, 72], Operations: []
Exploring Operation: 41-21=20, Resulting Numbers: [72, 20]
Generated Node #2: [72, 20] from Operation: 41-21=20
Current State: 71:[72, 20], Operations: ['41-21=20']
Exploring Operation: 72-21=51, Resulting Numbers: [20, 51]
Generated Node #3: [20, 51] from Operation: 72-21=51
Current State: 71:[20, 51], Operations: ['41-21=20', '72-21=51']
Exploring Operation: 20+51=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[41, 21, 21, 72], Operations: []
Exploring Operation: 72-21=51, Resulting Numbers: [41, 21, 51]
Generated Node #0,0: 71:[41, 21, 51] Operation: 72-21=51
Exploring Operation: 21+21=42, Resulting Numbers: [41, 72, 42]
Generated Node #0,1: 71:[41, 72, 42] Operation: 21+21=42
Exploring Operation: 41+21=62, Resulting Numbers: [21, 72, 62]
Generated Node #0,2: 71:[21, 72, 62] Operation: 41+21=62
Exploring Operation: 72-21=51, Resulting Numbers: [41, 21, 51]
Generated Node #0,3: 71:[41, 21, 51] Operation: 72-21=51
Exploring Operation: 41+21=62, Resulting Numbers: [21, 72, 62]
Generated Node #0,4: 71:[21, 72, 62] Operation: 41+21=62
Moving to Node #0,1
Current State: 71:[41, 72, 42], Operations: ['21+21=42']
Exploring Operation: 72-42=30, Resulting Numbers: [41, 30]
Generated Node #0,1,0: 71:[41, 30] Operation: 72-42=30
Exploring Operation: 72-41=31, Resulting Numbers: [42, 31]
Generated Node #0,1,1: 71:[42, 31] Operation: 72-41=31
Exploring Operation: 42-41=1, Resulting Numbers: [72, 1]
Generated Node #0,1,2: 71:[72, 1] Operation: 42-41=1
Exploring Operation: 41+72=113, Resulting Numbers: [42, 113]
Generated Node #0,1,3: 71:[42, 113] Operation: 41+72=113
Exploring Operation: 41+42=83, Resulting Numbers: [72, 83]
Generated Node #0,1,4: 71:[72, 83] Operation: 41+42=83
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 71:[72, 83], Operations: ['21+21=42', '41+42=83']
Exploring Operation: 72+83=155, Resulting Numbers: [155]
155,71 unequal: No Solution
Exploring Operation: 83-72=11, Resulting Numbers: [11]
11,71 unequal: No Solution
Exploring Operation: 72*83=5976, Resulting Numbers: [5976]
5976,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[42, 31], Operations: ['21+21=42', '72-41=31']
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,71 unequal: No Solution
Exploring Operation: 42*31=1302, Resulting Numbers: [1302]
1302,71 unequal: No Solution
Exploring Operation: 42+31=73, Resulting Numbers: [73]
73,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[41, 30], Operations: ['21+21=42', '72-42=30']
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,71 unequal: No Solution
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[41, 21, 21, 72], Operations: []
Exploring Operation: 21+21=42, Resulting Numbers: [41, 72, 42]
Generated Node #0,1: 71:[41, 72, 42] Operation: 21+21=42
Moving to Node #0,1
Current State: 71:[41, 72, 42], Operations: ['21+21=42']
Exploring Operation: 72-42=30, Resulting Numbers: [41, 30]
Generated Node #0,1,0: 71:[41, 30] Operation: 72-42=30
Moving to Node #0,1,0
Current State: 71:[41, 30], Operations: ['21+21=42', '72-42=30']
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
33,
71,
75,
54
] | 69 | [
"33+75=108",
"108/54=2",
"71-2=69"
] | Current State: 69:[33, 71, 75, 54], Operations: []
Exploring Operation: 33+75=108, Resulting Numbers: [71, 54, 108]
Generated Node #2: [71, 54, 108] from Operation: 33+75=108
Current State: 69:[71, 54, 108], Operations: ['33+75=108']
Exploring Operation: 108/54=2, Resulting Numbers: [71, 2]
Generated Node #3: [71, 2] from Operation: 108/54=2
Current State: 69:[71, 2], Operations: ['33+75=108', '108/54=2']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[33, 71, 75, 54], Operations: []
Exploring Operation: 54-33=21, Resulting Numbers: [71, 75, 21]
Generated Node #0,0: 69:[71, 75, 21] Operation: 54-33=21
Exploring Operation: 71-54=17, Resulting Numbers: [33, 75, 17]
Generated Node #0,1: 69:[33, 75, 17] Operation: 71-54=17
Exploring Operation: 75-54=21, Resulting Numbers: [33, 71, 21]
Generated Node #0,2: 69:[33, 71, 21] Operation: 75-54=21
Moving to Node #0,0
Current State: 69:[71, 75, 21], Operations: ['54-33=21']
Exploring Operation: 75-71=4, Resulting Numbers: [21, 4]
Generated Node #0,0,0: 69:[21, 4] Operation: 75-71=4
Exploring Operation: 71-21=50, Resulting Numbers: [75, 50]
Generated Node #0,0,1: 69:[75, 50] Operation: 71-21=50
Exploring Operation: 75-21=54, Resulting Numbers: [71, 54]
Generated Node #0,0,2: 69:[71, 54] Operation: 75-21=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[21, 4], Operations: ['54-33=21', '75-71=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,69 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[71, 54], Operations: ['54-33=21', '75-21=54']
Exploring Operation: 71*54=3834, Resulting Numbers: [3834]
3834,69 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 71+54=125, Resulting Numbers: [125]
125,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[75, 50], Operations: ['54-33=21', '71-21=50']
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Exploring Operation: 75*50=3750, Resulting Numbers: [3750]
3750,69 unequal: No Solution
Exploring Operation: 75+50=125, Resulting Numbers: [125]
125,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 69:[33, 71, 21], Operations: ['75-54=21']
Exploring Operation: 33-21=12, Resulting Numbers: [71, 12]
Generated Node #0,2,0: 69:[71, 12] Operation: 33-21=12
Exploring Operation: 71-33=38, Resulting Numbers: [21, 38]
Generated Node #0,2,1: 69:[21, 38] Operation: 71-33=38
Exploring Operation: 33+21=54, Resulting Numbers: [71, 54]
Generated Node #0,2,2: 69:[71, 54] Operation: 33+21=54
Moving to Node #0,1
Current State: 69:[33, 75, 17], Operations: ['71-54=17']
Exploring Operation: 75-33=42, Resulting Numbers: [17, 42]
Generated Node #0,1,0: 69:[17, 42] Operation: 75-33=42
Exploring Operation: 33-17=16, Resulting Numbers: [75, 16]
Generated Node #0,1,1: 69:[75, 16] Operation: 33-17=16
Exploring Operation: 75-17=58, Resulting Numbers: [33, 58]
Generated Node #0,1,2: 69:[33, 58] Operation: 75-17=58
Moving to Node #0,2,0
Current State: 69:[71, 12], Operations: ['75-54=21', '33-21=12']
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Exploring Operation: 71*12=852, Resulting Numbers: [852]
852,69 unequal: No Solution
Exploring Operation: 71+12=83, Resulting Numbers: [83]
83,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[75, 16], Operations: ['71-54=17', '33-17=16']
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,69 unequal: No Solution
Exploring Operation: 75*16=1200, Resulting Numbers: [1200]
1200,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[71, 54], Operations: ['75-54=21', '33+21=54']
Exploring Operation: 71+54=125, Resulting Numbers: [125]
125,69 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 71*54=3834, Resulting Numbers: [3834]
3834,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[21, 38], Operations: ['75-54=21', '71-33=38']
Exploring Operation: 21*38=798, Resulting Numbers: [798]
798,69 unequal: No Solution
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,69 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[33, 58], Operations: ['71-54=17', '75-17=58']
Exploring Operation: 33*58=1914, Resulting Numbers: [1914]
1914,69 unequal: No Solution
Exploring Operation: 33+58=91, Resulting Numbers: [91]
91,69 unequal: No Solution
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[17, 42], Operations: ['71-54=17', '75-33=42']
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,69 unequal: No Solution
Exploring Operation: 17*42=714, Resulting Numbers: [714]
714,69 unequal: No Solution
Exploring Operation: 17+42=59, Resulting Numbers: [59]
59,69 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
19,
83,
2,
57
] | 69 | [
"19+57=76",
"2*76=152",
"152-83=69"
] | Current State: 69:[19, 83, 2, 57], Operations: []
Exploring Operation: 19+57=76, Resulting Numbers: [83, 2, 76]
Generated Node #2: [83, 2, 76] from Operation: 19+57=76
Current State: 69:[83, 2, 76], Operations: ['19+57=76']
Exploring Operation: 2*76=152, Resulting Numbers: [83, 152]
Generated Node #3: [83, 152] from Operation: 2*76=152
Current State: 69:[83, 152], Operations: ['19+57=76', '2*76=152']
Exploring Operation: 152-83=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[19, 83, 2, 57], Operations: []
Exploring Operation: 83-57=26, Resulting Numbers: [19, 2, 26]
Generated Node #0,0: 69:[19, 2, 26] Operation: 83-57=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[19, 2, 26], Operations: ['83-57=26']
Exploring Operation: 19+2=21, Resulting Numbers: [26, 21]
Generated Node #0,0,0: 69:[26, 21] Operation: 19+2=21
Moving to Node #0,0,0
Current State: 69:[26, 21], Operations: ['83-57=26', '19+2=21']
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
87,
58,
71,
68
] | 29 | [
"71-68=3",
"87/3=29",
"58-29=29"
] | Current State: 29:[87, 58, 71, 68], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [87, 58, 3]
Generated Node #2: [87, 58, 3] from Operation: 71-68=3
Current State: 29:[87, 58, 3], Operations: ['71-68=3']
Exploring Operation: 87/3=29, Resulting Numbers: [58, 29]
Generated Node #3: [58, 29] from Operation: 87/3=29
Current State: 29:[58, 29], Operations: ['71-68=3', '87/3=29']
Exploring Operation: 58-29=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[87, 58, 71, 68], Operations: []
Exploring Operation: 87-58=29, Resulting Numbers: [71, 68, 29]
Generated Node #0,0: 29:[71, 68, 29] Operation: 87-58=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[71, 68, 29], Operations: ['87-58=29']
Exploring Operation: 71-68=3, Resulting Numbers: [29, 3]
Generated Node #0,0,0: 29:[29, 3] Operation: 71-68=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[29, 3], Operations: ['87-58=29', '71-68=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,29 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 |
[
83,
51,
66,
33
] | 99 | [
"83-66=17",
"51*33=1683",
"1683/17=99"
] | Current State: 99:[83, 51, 66, 33], Operations: []
Exploring Operation: 83-66=17, Resulting Numbers: [51, 33, 17]
Generated Node #2: [51, 33, 17] from Operation: 83-66=17
Current State: 99:[51, 33, 17], Operations: ['83-66=17']
Exploring Operation: 51*33=1683, Resulting Numbers: [17, 1683]
Generated Node #3: [17, 1683] from Operation: 51*33=1683
Current State: 99:[17, 1683], Operations: ['83-66=17', '51*33=1683']
Exploring Operation: 1683/17=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[83, 51, 66, 33], Operations: []
Exploring Operation: 66-51=15, Resulting Numbers: [83, 33, 15]
Generated Node #0,0: 99:[83, 33, 15] Operation: 66-51=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[83, 33, 15], Operations: ['66-51=15']
Exploring Operation: 83+15=98, Resulting Numbers: [33, 98]
Generated Node #0,0,0: 99:[33, 98] Operation: 83+15=98
Moving to Node #0,0,0
Current State: 99:[33, 98], Operations: ['66-51=15', '83+15=98']
Exploring Operation: 33+98=131, Resulting Numbers: [131]
131,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
46,
3,
67,
4
] | 96 | [
"46-3=43",
"67-43=24",
"4*24=96"
] | Current State: 96:[46, 3, 67, 4], Operations: []
Exploring Operation: 46-3=43, Resulting Numbers: [67, 4, 43]
Generated Node #2: [67, 4, 43] from Operation: 46-3=43
Current State: 96:[67, 4, 43], Operations: ['46-3=43']
Exploring Operation: 67-43=24, Resulting Numbers: [4, 24]
Generated Node #3: [4, 24] from Operation: 67-43=24
Current State: 96:[4, 24], Operations: ['46-3=43', '67-43=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[46, 3, 67, 4], Operations: []
Exploring Operation: 67-46=21, Resulting Numbers: [3, 4, 21]
Generated Node #0,0: 96:[3, 4, 21] Operation: 67-46=21
Exploring Operation: 46+67=113, Resulting Numbers: [3, 4, 113]
Generated Node #0,1: 96:[3, 4, 113] Operation: 46+67=113
Exploring Operation: 67-4=63, Resulting Numbers: [46, 3, 63]
Generated Node #0,2: 96:[46, 3, 63] Operation: 67-4=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[3, 4, 21], Operations: ['67-46=21']
Exploring Operation: 4+21=25, Resulting Numbers: [3, 25]
Generated Node #0,0,0: 96:[3, 25] Operation: 4+21=25
Exploring Operation: 21/3=7, Resulting Numbers: [4, 7]
Generated Node #0,0,1: 96:[4, 7] Operation: 21/3=7
Exploring Operation: 3+21=24, Resulting Numbers: [4, 24]
Generated Node #0,0,2: 96:[4, 24] Operation: 3+21=24
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[4, 24], Operations: ['67-46=21', '3+21=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[46, 3, 67, 4], Operations: []
Exploring Operation: 67-46=21, Resulting Numbers: [3, 4, 21]
Generated Node #0,0: 96:[3, 4, 21] Operation: 67-46=21
Moving to Node #0,0
Current State: 96:[3, 4, 21], Operations: ['67-46=21']
Exploring Operation: 3+21=24, Resulting Numbers: [4, 24]
Generated Node #0,0,2: 96:[4, 24] Operation: 3+21=24
Moving to Node #0,0,2
Current State: 96:[4, 24], Operations: ['67-46=21', '3+21=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
15,
4,
61,
25
] | 55 | [
"15+4=19",
"61-25=36",
"19+36=55"
] | Current State: 55:[15, 4, 61, 25], Operations: []
Exploring Operation: 15+4=19, Resulting Numbers: [61, 25, 19]
Generated Node #2: [61, 25, 19] from Operation: 15+4=19
Current State: 55:[61, 25, 19], Operations: ['15+4=19']
Exploring Operation: 61-25=36, Resulting Numbers: [19, 36]
Generated Node #3: [19, 36] from Operation: 61-25=36
Current State: 55:[19, 36], Operations: ['15+4=19', '61-25=36']
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[15, 4, 61, 25], Operations: []
Exploring Operation: 25-15=10, Resulting Numbers: [4, 61, 10]
Generated Node #0,0: 55:[4, 61, 10] Operation: 25-15=10
Moving to Node #0,0
Current State: 55:[4, 61, 10], Operations: ['25-15=10']
Exploring Operation: 61-4=57, Resulting Numbers: [10, 57]
Generated Node #0,0,0: 55:[10, 57] Operation: 61-4=57
Moving to Node #0,0,0
Current State: 55:[10, 57], Operations: ['25-15=10', '61-4=57']
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,55 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
34,
3,
27,
32
] | 49 | [
"34+32=66",
"66/3=22",
"27+22=49"
] | Current State: 49:[34, 3, 27, 32], Operations: []
Exploring Operation: 34+32=66, Resulting Numbers: [3, 27, 66]
Generated Node #2: [3, 27, 66] from Operation: 34+32=66
Current State: 49:[3, 27, 66], Operations: ['34+32=66']
Exploring Operation: 66/3=22, Resulting Numbers: [27, 22]
Generated Node #3: [27, 22] from Operation: 66/3=22
Current State: 49:[27, 22], Operations: ['34+32=66', '66/3=22']
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[34, 3, 27, 32], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [3, 27, 2]
Generated Node #0,0: 49:[3, 27, 2] Operation: 34-32=2
Exploring Operation: 27+32=59, Resulting Numbers: [34, 3, 59]
Generated Node #0,1: 49:[34, 3, 59] Operation: 27+32=59
Exploring Operation: 34-27=7, Resulting Numbers: [3, 32, 7]
Generated Node #0,2: 49:[3, 32, 7] Operation: 34-27=7
Exploring Operation: 32-27=5, Resulting Numbers: [34, 3, 5]
Generated Node #0,3: 49:[34, 3, 5] Operation: 32-27=5
Moving to Node #0,2
Current State: 49:[3, 32, 7], Operations: ['34-27=7']
Exploring Operation: 3+32=35, Resulting Numbers: [7, 35]
Generated Node #0,2,0: 49:[7, 35] Operation: 3+32=35
Exploring Operation: 3+7=10, Resulting Numbers: [32, 10]
Generated Node #0,2,1: 49:[32, 10] Operation: 3+7=10
Exploring Operation: 32+7=39, Resulting Numbers: [3, 39]
Generated Node #0,2,2: 49:[3, 39] Operation: 32+7=39
Exploring Operation: 32-3=29, Resulting Numbers: [7, 29]
Generated Node #0,2,3: 49:[7, 29] Operation: 32-3=29
Moving to Node #0,3
Current State: 49:[34, 3, 5], Operations: ['32-27=5']
Exploring Operation: 3+5=8, Resulting Numbers: [34, 8]
Generated Node #0,3,0: 49:[34, 8] Operation: 3+5=8
Exploring Operation: 34-3=31, Resulting Numbers: [5, 31]
Generated Node #0,3,1: 49:[5, 31] Operation: 34-3=31
Exploring Operation: 34+3=37, Resulting Numbers: [5, 37]
Generated Node #0,3,2: 49:[5, 37] Operation: 34+3=37
Exploring Operation: 34+5=39, Resulting Numbers: [3, 39]
Generated Node #0,3,3: 49:[3, 39] Operation: 34+5=39
Moving to Node #0,1
Current State: 49:[34, 3, 59], Operations: ['27+32=59']
Exploring Operation: 59-3=56, Resulting Numbers: [34, 56]
Generated Node #0,1,0: 49:[34, 56] Operation: 59-3=56
Exploring Operation: 34+3=37, Resulting Numbers: [59, 37]
Generated Node #0,1,1: 49:[59, 37] Operation: 34+3=37
Exploring Operation: 34-3=31, Resulting Numbers: [59, 31]
Generated Node #0,1,2: 49:[59, 31] Operation: 34-3=31
Exploring Operation: 59-34=25, Resulting Numbers: [3, 25]
Generated Node #0,1,3: 49:[3, 25] Operation: 59-34=25
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[34, 56], Operations: ['27+32=59', '59-3=56']
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 34*56=1904, Resulting Numbers: [1904]
1904,49 unequal: No Solution
Exploring Operation: 34+56=90, Resulting Numbers: [90]
90,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[59, 37], Operations: ['27+32=59', '34+3=37']
Exploring Operation: 59*37=2183, Resulting Numbers: [2183]
2183,49 unequal: No Solution
Exploring Operation: 59+37=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 49:[3, 25], Operations: ['27+32=59', '59-34=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,49 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[59, 31], Operations: ['27+32=59', '34-3=31']
Exploring Operation: 59+31=90, Resulting Numbers: [90]
90,49 unequal: No Solution
Exploring Operation: 59*31=1829, Resulting Numbers: [1829]
1829,49 unequal: No Solution
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 49:[3, 27, 2], Operations: ['34-32=2']
Exploring Operation: 27*2=54, Resulting Numbers: [3, 54]
Generated Node #0,0,0: 49:[3, 54] Operation: 27*2=54
Exploring Operation: 27-3=24, Resulting Numbers: [2, 24]
Generated Node #0,0,1: 49:[2, 24] Operation: 27-3=24
Exploring Operation: 27/3=9, Resulting Numbers: [2, 9]
Generated Node #0,0,2: 49:[2, 9] Operation: 27/3=9
Exploring Operation: 3*2=6, Resulting Numbers: [27, 6]
Generated Node #0,0,3: 49:[27, 6] Operation: 3*2=6
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[2, 9], Operations: ['34-32=2', '27/3=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,49 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[3, 54], Operations: ['34-32=2', '27*2=54']
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,49 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 49:[27, 6], Operations: ['34-32=2', '3*2=6']
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,49 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[2, 24], Operations: ['34-32=2', '27-3=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 49:[7, 35], Operations: ['34-27=7', '3+32=35']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 7*35=245, Resulting Numbers: [245]
245,49 unequal: No Solution
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[3, 39], Operations: ['32-27=5', '34+5=39']
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,49 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[3, 39], Operations: ['34-27=7', '32+7=39']
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,49 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,49 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Moving to Node #0,3,2
Current State: 49:[5, 37], Operations: ['32-27=5', '34+3=37']
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,49 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[34, 8], Operations: ['32-27=5', '3+5=8']
Exploring Operation: 34*8=272, Resulting Numbers: [272]
272,49 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 34+8=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[32, 10], Operations: ['34-27=7', '3+7=10']
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,49 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[5, 31], Operations: ['32-27=5', '34-3=31']
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,49 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[7, 29], Operations: ['34-27=7', '32-3=29']
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 7*29=203, Resulting Numbers: [203]
203,49 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,49 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
25,
72,
19,
82
] | 94 | [
"25-19=6",
"72/6=12",
"82+12=94"
] | Current State: 94:[25, 72, 19, 82], Operations: []
Exploring Operation: 25-19=6, Resulting Numbers: [72, 82, 6]
Generated Node #2: [72, 82, 6] from Operation: 25-19=6
Current State: 94:[72, 82, 6], Operations: ['25-19=6']
Exploring Operation: 72/6=12, Resulting Numbers: [82, 12]
Generated Node #3: [82, 12] from Operation: 72/6=12
Current State: 94:[82, 12], Operations: ['25-19=6', '72/6=12']
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[25, 72, 19, 82], Operations: []
Exploring Operation: 72-25=47, Resulting Numbers: [19, 82, 47]
Generated Node #0,0: 94:[19, 82, 47] Operation: 72-25=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[19, 82, 47], Operations: ['72-25=47']
Exploring Operation: 19+82=101, Resulting Numbers: [47, 101]
Generated Node #0,0,0: 94:[47, 101] Operation: 19+82=101
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[47, 101], Operations: ['72-25=47', '19+82=101']
Exploring Operation: 101-47=54, Resulting Numbers: [54]
54,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_1 | sum_heuristic |
[
13,
84,
18,
67
] | 14 | [
"84-13=71",
"18+67=85",
"85-71=14"
] | Current State: 14:[13, 84, 18, 67], Operations: []
Exploring Operation: 84-13=71, Resulting Numbers: [18, 67, 71]
Generated Node #2: [18, 67, 71] from Operation: 84-13=71
Current State: 14:[18, 67, 71], Operations: ['84-13=71']
Exploring Operation: 18+67=85, Resulting Numbers: [71, 85]
Generated Node #3: [71, 85] from Operation: 18+67=85
Current State: 14:[71, 85], Operations: ['84-13=71', '18+67=85']
Exploring Operation: 85-71=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[13, 84, 18, 67], Operations: []
Exploring Operation: 84-18=66, Resulting Numbers: [13, 67, 66]
Generated Node #0,0: 14:[13, 67, 66] Operation: 84-18=66
Exploring Operation: 67-13=54, Resulting Numbers: [84, 18, 54]
Generated Node #0,1: 14:[84, 18, 54] Operation: 67-13=54
Exploring Operation: 84-67=17, Resulting Numbers: [13, 18, 17]
Generated Node #0,2: 14:[13, 18, 17] Operation: 84-67=17
Exploring Operation: 67-18=49, Resulting Numbers: [13, 84, 49]
Generated Node #0,3: 14:[13, 84, 49] Operation: 67-18=49
Exploring Operation: 84-13=71, Resulting Numbers: [18, 67, 71]
Generated Node #0,4: 14:[18, 67, 71] Operation: 84-13=71
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[13, 18, 17], Operations: ['84-67=17']
Exploring Operation: 13+18=31, Resulting Numbers: [17, 31]
Generated Node #0,2,0: 14:[17, 31] Operation: 13+18=31
Exploring Operation: 18-17=1, Resulting Numbers: [13, 1]
Generated Node #0,2,1: 14:[13, 1] Operation: 18-17=1
Exploring Operation: 13+17=30, Resulting Numbers: [18, 30]
Generated Node #0,2,2: 14:[18, 30] Operation: 13+17=30
Exploring Operation: 17-13=4, Resulting Numbers: [18, 4]
Generated Node #0,2,3: 14:[18, 4] Operation: 17-13=4
Exploring Operation: 18-13=5, Resulting Numbers: [17, 5]
Generated Node #0,2,4: 14:[17, 5] Operation: 18-13=5
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 14:[13, 1], Operations: ['84-67=17', '18-17=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[13, 84, 18, 67], Operations: []
Exploring Operation: 84-67=17, Resulting Numbers: [13, 18, 17]
Generated Node #0,2: 14:[13, 18, 17] Operation: 84-67=17
Moving to Node #0,2
Current State: 14:[13, 18, 17], Operations: ['84-67=17']
Exploring Operation: 18-17=1, Resulting Numbers: [13, 1]
Generated Node #0,2,1: 14:[13, 1] Operation: 18-17=1
Moving to Node #0,2,1
Current State: 14:[13, 1], Operations: ['84-67=17', '18-17=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
45,
3,
21,
98
] | 77 | [
"45-3=42",
"21+98=119",
"119-42=77"
] | Current State: 77:[45, 3, 21, 98], Operations: []
Exploring Operation: 45-3=42, Resulting Numbers: [21, 98, 42]
Generated Node #2: [21, 98, 42] from Operation: 45-3=42
Current State: 77:[21, 98, 42], Operations: ['45-3=42']
Exploring Operation: 21+98=119, Resulting Numbers: [42, 119]
Generated Node #3: [42, 119] from Operation: 21+98=119
Current State: 77:[42, 119], Operations: ['45-3=42', '21+98=119']
Exploring Operation: 119-42=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[45, 3, 21, 98], Operations: []
Exploring Operation: 45/3=15, Resulting Numbers: [21, 98, 15]
Generated Node #0,0: 77:[21, 98, 15] Operation: 45/3=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[21, 98, 15], Operations: ['45/3=15']
Exploring Operation: 98-21=77, Resulting Numbers: [15, 77]
Generated Node #0,0,0: 77:[15, 77] Operation: 98-21=77
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[15, 77], Operations: ['45/3=15', '98-21=77']
Exploring Operation: 15+77=92, Resulting Numbers: [92]
92,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
12,
36,
6,
96
] | 99 | [
"36/12=3",
"6+96=102",
"102-3=99"
] | Current State: 99:[12, 36, 6, 96], Operations: []
Exploring Operation: 36/12=3, Resulting Numbers: [6, 96, 3]
Generated Node #2: [6, 96, 3] from Operation: 36/12=3
Current State: 99:[6, 96, 3], Operations: ['36/12=3']
Exploring Operation: 6+96=102, Resulting Numbers: [3, 102]
Generated Node #3: [3, 102] from Operation: 6+96=102
Current State: 99:[3, 102], Operations: ['36/12=3', '6+96=102']
Exploring Operation: 102-3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[12, 36, 6, 96], Operations: []
Exploring Operation: 36/12=3, Resulting Numbers: [6, 96, 3]
Generated Node #0,0: 99:[6, 96, 3] Operation: 36/12=3
Moving to Node #0,0
Current State: 99:[6, 96, 3], Operations: ['36/12=3']
Exploring Operation: 6+96=102, Resulting Numbers: [3, 102]
Generated Node #0,0,0: 99:[3, 102] Operation: 6+96=102
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[3, 102], Operations: ['36/12=3', '6+96=102']
Exploring Operation: 102-3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[12, 36, 6, 96], Operations: []
Exploring Operation: 36/12=3, Resulting Numbers: [6, 96, 3]
Generated Node #0,0: 99:[6, 96, 3] Operation: 36/12=3
Moving to Node #0,0
Current State: 99:[6, 96, 3], Operations: ['36/12=3']
Exploring Operation: 6+96=102, Resulting Numbers: [3, 102]
Generated Node #0,0,0: 99:[3, 102] Operation: 6+96=102
Moving to Node #0,0,0
Current State: 99:[3, 102], Operations: ['36/12=3', '6+96=102']
Exploring Operation: 102-3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
30,
22,
36,
54
] | 33 | [
"54-30=24",
"22*36=792",
"792/24=33"
] | Current State: 33:[30, 22, 36, 54], Operations: []
Exploring Operation: 54-30=24, Resulting Numbers: [22, 36, 24]
Generated Node #2: [22, 36, 24] from Operation: 54-30=24
Current State: 33:[22, 36, 24], Operations: ['54-30=24']
Exploring Operation: 22*36=792, Resulting Numbers: [24, 792]
Generated Node #3: [24, 792] from Operation: 22*36=792
Current State: 33:[24, 792], Operations: ['54-30=24', '22*36=792']
Exploring Operation: 792/24=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[30, 22, 36, 54], Operations: []
Exploring Operation: 54-22=32, Resulting Numbers: [30, 36, 32]
Generated Node #0,0: 33:[30, 36, 32] Operation: 54-22=32
Exploring Operation: 36-22=14, Resulting Numbers: [30, 54, 14]
Generated Node #0,1: 33:[30, 54, 14] Operation: 36-22=14
Exploring Operation: 54-30=24, Resulting Numbers: [22, 36, 24]
Generated Node #0,2: 33:[22, 36, 24] Operation: 54-30=24
Exploring Operation: 30-22=8, Resulting Numbers: [36, 54, 8]
Generated Node #0,3: 33:[36, 54, 8] Operation: 30-22=8
Exploring Operation: 54-36=18, Resulting Numbers: [30, 22, 18]
Generated Node #0,4: 33:[30, 22, 18] Operation: 54-36=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[30, 36, 32], Operations: ['54-22=32']
Exploring Operation: 36-30=6, Resulting Numbers: [32, 6]
Generated Node #0,0,0: 33:[32, 6] Operation: 36-30=6
Exploring Operation: 36-32=4, Resulting Numbers: [30, 4]
Generated Node #0,0,1: 33:[30, 4] Operation: 36-32=4
Exploring Operation: 30+32=62, Resulting Numbers: [36, 62]
Generated Node #0,0,2: 33:[36, 62] Operation: 30+32=62
Exploring Operation: 32-30=2, Resulting Numbers: [36, 2]
Generated Node #0,0,3: 33:[36, 2] Operation: 32-30=2
Exploring Operation: 30+36=66, Resulting Numbers: [32, 66]
Generated Node #0,0,4: 33:[32, 66] Operation: 30+36=66
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[32, 6], Operations: ['54-22=32', '36-30=6']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 32*6=192, Resulting Numbers: [192]
192,33 unequal: No Solution
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[30, 4], Operations: ['54-22=32', '36-32=4']
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 33:[36, 2], Operations: ['54-22=32', '32-30=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 33:[36, 62], Operations: ['54-22=32', '30+32=62']
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,33 unequal: No Solution
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,33 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 33:[32, 66], Operations: ['54-22=32', '30+36=66']
Exploring Operation: 32+66=98, Resulting Numbers: [98]
98,33 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 32*66=2112, Resulting Numbers: [2112]
2112,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 33:[30, 22, 18], Operations: ['54-36=18']
Exploring Operation: 22+18=40, Resulting Numbers: [30, 40]
Generated Node #0,4,0: 33:[30, 40] Operation: 22+18=40
Exploring Operation: 30-18=12, Resulting Numbers: [22, 12]
Generated Node #0,4,1: 33:[22, 12] Operation: 30-18=12
Exploring Operation: 22-18=4, Resulting Numbers: [30, 4]
Generated Node #0,4,2: 33:[30, 4] Operation: 22-18=4
Exploring Operation: 30-22=8, Resulting Numbers: [18, 8]
Generated Node #0,4,3: 33:[18, 8] Operation: 30-22=8
Exploring Operation: 30+22=52, Resulting Numbers: [18, 52]
Generated Node #0,4,4: 33:[18, 52] Operation: 30+22=52
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 33:[30, 4], Operations: ['54-36=18', '22-18=4']
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,33 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 33:[30, 40], Operations: ['54-36=18', '22+18=40']
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 30*40=1200, Resulting Numbers: [1200]
1200,33 unequal: No Solution
Exploring Operation: 30+40=70, Resulting Numbers: [70]
70,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 33:[18, 8], Operations: ['54-36=18', '30-22=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,33 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 33:[22, 12], Operations: ['54-36=18', '30-18=12']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 33:[18, 52], Operations: ['54-36=18', '30+22=52']
Exploring Operation: 18*52=936, Resulting Numbers: [936]
936,33 unequal: No Solution
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 18+52=70, Resulting Numbers: [70]
70,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[22, 36, 24], Operations: ['54-30=24']
Exploring Operation: 24-22=2, Resulting Numbers: [36, 2]
Generated Node #0,2,0: 33:[36, 2] Operation: 24-22=2
Exploring Operation: 36-22=14, Resulting Numbers: [24, 14]
Generated Node #0,2,1: 33:[24, 14] Operation: 36-22=14
Exploring Operation: 22+36=58, Resulting Numbers: [24, 58]
Generated Node #0,2,2: 33:[24, 58] Operation: 22+36=58
Exploring Operation: 36-24=12, Resulting Numbers: [22, 12]
Generated Node #0,2,3: 33:[22, 12] Operation: 36-24=12
Exploring Operation: 22+24=46, Resulting Numbers: [36, 46]
Generated Node #0,2,4: 33:[36, 46] Operation: 22+24=46
Moving to Node #0,2,0
Current State: 33:[36, 2], Operations: ['54-30=24', '24-22=2']
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[22, 12], Operations: ['54-30=24', '36-24=12']
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,33 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[24, 14], Operations: ['54-30=24', '36-22=14']
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,33 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Moving to Node #0,2,4
Current State: 33:[36, 46], Operations: ['54-30=24', '22+24=46']
Exploring Operation: 36+46=82, Resulting Numbers: [82]
82,33 unequal: No Solution
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 36*46=1656, Resulting Numbers: [1656]
1656,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[24, 58], Operations: ['54-30=24', '22+36=58']
Exploring Operation: 24+58=82, Resulting Numbers: [82]
82,33 unequal: No Solution
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 24*58=1392, Resulting Numbers: [1392]
1392,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[30, 54, 14], Operations: ['36-22=14']
Exploring Operation: 30+14=44, Resulting Numbers: [54, 44]
Generated Node #0,1,0: 33:[54, 44] Operation: 30+14=44
Exploring Operation: 54-30=24, Resulting Numbers: [14, 24]
Generated Node #0,1,1: 33:[14, 24] Operation: 54-30=24
Exploring Operation: 54-14=40, Resulting Numbers: [30, 40]
Generated Node #0,1,2: 33:[30, 40] Operation: 54-14=40
Exploring Operation: 30-14=16, Resulting Numbers: [54, 16]
Generated Node #0,1,3: 33:[54, 16] Operation: 30-14=16
Exploring Operation: 54+14=68, Resulting Numbers: [30, 68]
Generated Node #0,1,4: 33:[30, 68] Operation: 54+14=68
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 33:[30, 40], Operations: ['36-22=14', '54-14=40']
Exploring Operation: 30*40=1200, Resulting Numbers: [1200]
1200,33 unequal: No Solution
Exploring Operation: 30+40=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[14, 24], Operations: ['36-22=14', '54-30=24']
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 33:[54, 16], Operations: ['36-22=14', '30-14=16']
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,33 unequal: No Solution
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[54, 44], Operations: ['36-22=14', '30+14=44']
Exploring Operation: 54*44=2376, Resulting Numbers: [2376]
2376,33 unequal: No Solution
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 54+44=98, Resulting Numbers: [98]
98,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 33:[30, 68], Operations: ['36-22=14', '54+14=68']
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,33 unequal: No Solution
Exploring Operation: 30*68=2040, Resulting Numbers: [2040]
2040,33 unequal: No Solution
Exploring Operation: 30+68=98, Resulting Numbers: [98]
98,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[36, 54, 8], Operations: ['30-22=8']
Exploring Operation: 54-8=46, Resulting Numbers: [36, 46]
Generated Node #0,3,0: 33:[36, 46] Operation: 54-8=46
Exploring Operation: 54-36=18, Resulting Numbers: [8, 18]
Generated Node #0,3,1: 33:[8, 18] Operation: 54-36=18
Exploring Operation: 36+8=44, Resulting Numbers: [54, 44]
Generated Node #0,3,2: 33:[54, 44] Operation: 36+8=44
Exploring Operation: 36-8=28, Resulting Numbers: [54, 28]
Generated Node #0,3,3: 33:[54, 28] Operation: 36-8=28
Exploring Operation: 54+8=62, Resulting Numbers: [36, 62]
Generated Node #0,3,4: 33:[36, 62] Operation: 54+8=62
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 33:[8, 18], Operations: ['30-22=8', '54-36=18']
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 33:[36, 46], Operations: ['30-22=8', '54-8=46']
Exploring Operation: 36+46=82, Resulting Numbers: [82]
82,33 unequal: No Solution
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 36*46=1656, Resulting Numbers: [1656]
1656,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 33:[54, 28], Operations: ['30-22=8', '36-8=28']
Exploring Operation: 54+28=82, Resulting Numbers: [82]
82,33 unequal: No Solution
Exploring Operation: 54*28=1512, Resulting Numbers: [1512]
1512,33 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 33:[54, 44], Operations: ['30-22=8', '36+8=44']
Exploring Operation: 54*44=2376, Resulting Numbers: [2376]
2376,33 unequal: No Solution
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 54+44=98, Resulting Numbers: [98]
98,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 33:[36, 62], Operations: ['30-22=8', '54+8=62']
Exploring Operation: 36+62=98, Resulting Numbers: [98]
98,33 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 36*62=2232, Resulting Numbers: [2232]
2232,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
50,
60,
78,
4
] | 22 | [
"60-50=10",
"78+10=88",
"88/4=22"
] | Current State: 22:[50, 60, 78, 4], Operations: []
Exploring Operation: 60-50=10, Resulting Numbers: [78, 4, 10]
Generated Node #2: [78, 4, 10] from Operation: 60-50=10
Current State: 22:[78, 4, 10], Operations: ['60-50=10']
Exploring Operation: 78+10=88, Resulting Numbers: [4, 88]
Generated Node #3: [4, 88] from Operation: 78+10=88
Current State: 22:[4, 88], Operations: ['60-50=10', '78+10=88']
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[50, 60, 78, 4], Operations: []
Exploring Operation: 78-50=28, Resulting Numbers: [60, 4, 28]
Generated Node #0,0: 22:[60, 4, 28] Operation: 78-50=28
Exploring Operation: 78-60=18, Resulting Numbers: [50, 4, 18]
Generated Node #0,1: 22:[50, 4, 18] Operation: 78-60=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[50, 4, 18], Operations: ['78-60=18']
Exploring Operation: 50-4=46, Resulting Numbers: [18, 46]
Generated Node #0,1,0: 22:[18, 46] Operation: 50-4=46
Exploring Operation: 50-18=32, Resulting Numbers: [4, 32]
Generated Node #0,1,1: 22:[4, 32] Operation: 50-18=32
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 22:[4, 32], Operations: ['78-60=18', '50-18=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,22 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,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:[18, 46], Operations: ['78-60=18', '50-4=46']
Exploring Operation: 18+46=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,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:[60, 4, 28], Operations: ['78-50=28']
Exploring Operation: 60/4=15, Resulting Numbers: [28, 15]
Generated Node #0,0,0: 22:[28, 15] Operation: 60/4=15
Exploring Operation: 60-28=32, Resulting Numbers: [4, 32]
Generated Node #0,0,1: 22:[4, 32] Operation: 60-28=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[28, 15], Operations: ['78-50=28', '60/4=15']
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,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,1
Current State: 22:[4, 32], Operations: ['78-50=28', '60-28=32']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,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 |
[
10,
38,
82,
64
] | 66 | [
"10+38=48",
"82-64=18",
"48+18=66"
] | Current State: 66:[10, 38, 82, 64], Operations: []
Exploring Operation: 10+38=48, Resulting Numbers: [82, 64, 48]
Generated Node #2: [82, 64, 48] from Operation: 10+38=48
Current State: 66:[82, 64, 48], Operations: ['10+38=48']
Exploring Operation: 82-64=18, Resulting Numbers: [48, 18]
Generated Node #3: [48, 18] from Operation: 82-64=18
Current State: 66:[48, 18], Operations: ['10+38=48', '82-64=18']
Exploring Operation: 48+18=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[10, 38, 82, 64], Operations: []
Exploring Operation: 82-64=18, Resulting Numbers: [10, 38, 18]
Generated Node #0,0: 66:[10, 38, 18] Operation: 82-64=18
Exploring Operation: 82-38=44, Resulting Numbers: [10, 64, 44]
Generated Node #0,1: 66:[10, 64, 44] Operation: 82-38=44
Exploring Operation: 82-10=72, Resulting Numbers: [38, 64, 72]
Generated Node #0,2: 66:[38, 64, 72] Operation: 82-10=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[10, 38, 18], Operations: ['82-64=18']
Exploring Operation: 18-10=8, Resulting Numbers: [38, 8]
Generated Node #0,0,0: 66:[38, 8] Operation: 18-10=8
Exploring Operation: 38-18=20, Resulting Numbers: [10, 20]
Generated Node #0,0,1: 66:[10, 20] Operation: 38-18=20
Exploring Operation: 38-10=28, Resulting Numbers: [18, 28]
Generated Node #0,0,2: 66:[18, 28] Operation: 38-10=28
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[10, 20], Operations: ['82-64=18', '38-18=20']
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[38, 8], Operations: ['82-64=18', '18-10=8']
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[18, 28], Operations: ['82-64=18', '38-10=28']
Exploring Operation: 18*28=504, Resulting Numbers: [504]
504,66 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[38, 64, 72], Operations: ['82-10=72']
Exploring Operation: 72-38=34, Resulting Numbers: [64, 34]
Generated Node #0,2,0: 66:[64, 34] Operation: 72-38=34
Exploring Operation: 64-38=26, Resulting Numbers: [72, 26]
Generated Node #0,2,1: 66:[72, 26] Operation: 64-38=26
Exploring Operation: 72-64=8, Resulting Numbers: [38, 8]
Generated Node #0,2,2: 66:[38, 8] Operation: 72-64=8
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[64, 34], Operations: ['82-10=72', '72-38=34']
Exploring Operation: 64+34=98, Resulting Numbers: [98]
98,66 unequal: No Solution
Exploring Operation: 64*34=2176, Resulting Numbers: [2176]
2176,66 unequal: No Solution
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[38, 8], Operations: ['82-10=72', '72-64=8']
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,66 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 66:[72, 26], Operations: ['82-10=72', '64-38=26']
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,66 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[10, 64, 44], Operations: ['82-38=44']
Exploring Operation: 64-44=20, Resulting Numbers: [10, 20]
Generated Node #0,1,0: 66:[10, 20] Operation: 64-44=20
Exploring Operation: 44-10=34, Resulting Numbers: [64, 34]
Generated Node #0,1,1: 66:[64, 34] Operation: 44-10=34
Exploring Operation: 10+44=54, Resulting Numbers: [64, 54]
Generated Node #0,1,2: 66:[64, 54] Operation: 10+44=54
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[10, 20], Operations: ['82-38=44', '64-44=20']
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[64, 34], Operations: ['82-38=44', '44-10=34']
Exploring Operation: 64+34=98, Resulting Numbers: [98]
98,66 unequal: No Solution
Exploring Operation: 64*34=2176, Resulting Numbers: [2176]
2176,66 unequal: No Solution
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 66:[64, 54], Operations: ['82-38=44', '10+44=54']
Exploring Operation: 64+54=118, Resulting Numbers: [118]
118,66 unequal: No Solution
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 64*54=3456, Resulting Numbers: [3456]
3456,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
66,
4,
72,
68
] | 38 | [
"68-66=2",
"4+72=76",
"76/2=38"
] | Current State: 38:[66, 4, 72, 68], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [4, 72, 2]
Generated Node #2: [4, 72, 2] from Operation: 68-66=2
Current State: 38:[4, 72, 2], Operations: ['68-66=2']
Exploring Operation: 4+72=76, Resulting Numbers: [2, 76]
Generated Node #3: [2, 76] from Operation: 4+72=76
Current State: 38:[2, 76], Operations: ['68-66=2', '4+72=76']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[66, 4, 72, 68], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [66, 4, 4]
Generated Node #0,0: 38:[66, 4, 4] Operation: 72-68=4
Exploring Operation: 72-66=6, Resulting Numbers: [4, 68, 6]
Generated Node #0,1: 38:[4, 68, 6] Operation: 72-66=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[66, 4, 4], Operations: ['72-68=4']
Exploring Operation: 66-4=62, Resulting Numbers: [4, 62]
Generated Node #0,0,0: 38:[4, 62] Operation: 66-4=62
Exploring Operation: 66-4=62, Resulting Numbers: [4, 62]
Generated Node #0,0,1: 38:[4, 62] Operation: 66-4=62
Moving to Node #0,0,0
Current State: 38:[4, 62], Operations: ['72-68=4', '66-4=62']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,38 unequal: No Solution
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[4, 62], Operations: ['72-68=4', '66-4=62']
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,38 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[4, 68, 6], Operations: ['72-66=6']
Exploring Operation: 68-6=62, Resulting Numbers: [4, 62]
Generated Node #0,1,0: 38:[4, 62] Operation: 68-6=62
Exploring Operation: 68/4=17, Resulting Numbers: [6, 17]
Generated Node #0,1,1: 38:[6, 17] Operation: 68/4=17
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[6, 17], Operations: ['72-66=6', '68/4=17']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,38 unequal: No Solution
No 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: 38:[4, 62], Operations: ['72-66=6', '68-6=62']
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,38 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
73,
56,
58
] | 28 | [
"73-59=14",
"58-56=2",
"14*2=28"
] | Current State: 28:[59, 73, 56, 58], Operations: []
Exploring Operation: 73-59=14, Resulting Numbers: [56, 58, 14]
Generated Node #2: [56, 58, 14] from Operation: 73-59=14
Current State: 28:[56, 58, 14], Operations: ['73-59=14']
Exploring Operation: 58-56=2, Resulting Numbers: [14, 2]
Generated Node #3: [14, 2] from Operation: 58-56=2
Current State: 28:[14, 2], Operations: ['73-59=14', '58-56=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[59, 73, 56, 58], Operations: []
Exploring Operation: 73-59=14, Resulting Numbers: [56, 58, 14]
Generated Node #0,0: 28:[56, 58, 14] Operation: 73-59=14
Moving to Node #0,0
Current State: 28:[56, 58, 14], Operations: ['73-59=14']
Exploring Operation: 58-56=2, Resulting Numbers: [14, 2]
Generated Node #0,0,0: 28:[14, 2] Operation: 58-56=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[14, 2], Operations: ['73-59=14', '58-56=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[59, 73, 56, 58], Operations: []
Exploring Operation: 73-59=14, Resulting Numbers: [56, 58, 14]
Generated Node #0,0: 28:[56, 58, 14] Operation: 73-59=14
Moving to Node #0,0
Current State: 28:[56, 58, 14], Operations: ['73-59=14']
Exploring Operation: 58-56=2, Resulting Numbers: [14, 2]
Generated Node #0,0,0: 28:[14, 2] Operation: 58-56=2
Moving to Node #0,0,0
Current State: 28:[14, 2], Operations: ['73-59=14', '58-56=2']
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
89,
30,
99,
79
] | 59 | [
"89+30=119",
"99+79=178",
"178-119=59"
] | Current State: 59:[89, 30, 99, 79], Operations: []
Exploring Operation: 89+30=119, Resulting Numbers: [99, 79, 119]
Generated Node #2: [99, 79, 119] from Operation: 89+30=119
Current State: 59:[99, 79, 119], Operations: ['89+30=119']
Exploring Operation: 99+79=178, Resulting Numbers: [119, 178]
Generated Node #3: [119, 178] from Operation: 99+79=178
Current State: 59:[119, 178], Operations: ['89+30=119', '99+79=178']
Exploring Operation: 178-119=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[89, 30, 99, 79], Operations: []
Exploring Operation: 89-30=59, Resulting Numbers: [99, 79, 59]
Generated Node #0,0: 59:[99, 79, 59] Operation: 89-30=59
Exploring Operation: 99-30=69, Resulting Numbers: [89, 79, 69]
Generated Node #0,1: 59:[89, 79, 69] Operation: 99-30=69
Moving to Node #0,0
Current State: 59:[99, 79, 59], Operations: ['89-30=59']
Exploring Operation: 99-59=40, Resulting Numbers: [79, 40]
Generated Node #0,0,0: 59:[79, 40] Operation: 99-59=40
Exploring Operation: 99-79=20, Resulting Numbers: [59, 20]
Generated Node #0,0,1: 59:[59, 20] Operation: 99-79=20
Moving to Node #0,1
Current State: 59:[89, 79, 69], Operations: ['99-30=69']
Exploring Operation: 89-69=20, Resulting Numbers: [79, 20]
Generated Node #0,1,0: 59:[79, 20] Operation: 89-69=20
Exploring Operation: 89-79=10, Resulting Numbers: [69, 10]
Generated Node #0,1,1: 59:[69, 10] Operation: 89-79=10
Moving to Node #0,0,0
Current State: 59:[79, 40], Operations: ['89-30=59', '99-59=40']
Exploring Operation: 79+40=119, Resulting Numbers: [119]
119,59 unequal: No Solution
Exploring Operation: 79-40=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[59, 20], Operations: ['89-30=59', '99-79=20']
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 59+20=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[69, 10], Operations: ['99-30=69', '89-79=10']
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[89, 30, 99, 79], Operations: []
Exploring Operation: 99-30=69, Resulting Numbers: [89, 79, 69]
Generated Node #0,1: 59:[89, 79, 69] Operation: 99-30=69
Moving to Node #0,1
Current State: 59:[89, 79, 69], Operations: ['99-30=69']
Exploring Operation: 89-79=10, Resulting Numbers: [69, 10]
Generated Node #0,1,1: 59:[69, 10] Operation: 89-79=10
Moving to Node #0,1,1
Current State: 59:[69, 10], Operations: ['99-30=69', '89-79=10']
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
49,
23,
66,
8
] | 75 | [
"49+23=72",
"72/8=9",
"66+9=75"
] | Current State: 75:[49, 23, 66, 8], Operations: []
Exploring Operation: 49+23=72, Resulting Numbers: [66, 8, 72]
Generated Node #2: [66, 8, 72] from Operation: 49+23=72
Current State: 75:[66, 8, 72], Operations: ['49+23=72']
Exploring Operation: 72/8=9, Resulting Numbers: [66, 9]
Generated Node #3: [66, 9] from Operation: 72/8=9
Current State: 75:[66, 9], Operations: ['49+23=72', '72/8=9']
Exploring Operation: 66+9=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[49, 23, 66, 8], Operations: []
Exploring Operation: 49+23=72, Resulting Numbers: [66, 8, 72]
Generated Node #0,0: 75:[66, 8, 72] Operation: 49+23=72
Exploring Operation: 49-23=26, Resulting Numbers: [66, 8, 26]
Generated Node #0,1: 75:[66, 8, 26] Operation: 49-23=26
Exploring Operation: 66-49=17, Resulting Numbers: [23, 8, 17]
Generated Node #0,2: 75:[23, 8, 17] Operation: 66-49=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[23, 8, 17], Operations: ['66-49=17']
Exploring Operation: 23-17=6, Resulting Numbers: [8, 6]
Generated Node #0,2,0: 75:[8, 6] Operation: 23-17=6
Exploring Operation: 23-8=15, Resulting Numbers: [17, 15]
Generated Node #0,2,1: 75:[17, 15] Operation: 23-8=15
Exploring Operation: 8+17=25, Resulting Numbers: [23, 25]
Generated Node #0,2,2: 75:[23, 25] Operation: 8+17=25
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[17, 15], Operations: ['66-49=17', '23-8=15']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Exploring Operation: 17*15=255, Resulting Numbers: [255]
255,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 75:[23, 25], Operations: ['66-49=17', '8+17=25']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 75:[8, 6], Operations: ['66-49=17', '23-17=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[66, 8, 26], Operations: ['49-23=26']
Exploring Operation: 26-8=18, Resulting Numbers: [66, 18]
Generated Node #0,1,0: 75:[66, 18] Operation: 26-8=18
Exploring Operation: 66+8=74, Resulting Numbers: [26, 74]
Generated Node #0,1,1: 75:[26, 74] Operation: 66+8=74
Exploring Operation: 66-8=58, Resulting Numbers: [26, 58]
Generated Node #0,1,2: 75:[26, 58] Operation: 66-8=58
Moving to Node #0,1,1
Current State: 75:[26, 74], Operations: ['49-23=26', '66+8=74']
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 26+74=100, Resulting Numbers: [100]
100,75 unequal: No Solution
Exploring Operation: 26*74=1924, Resulting Numbers: [1924]
1924,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[66, 18], Operations: ['49-23=26', '26-8=18']
Exploring Operation: 66*18=1188, Resulting Numbers: [1188]
1188,75 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 66+18=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[26, 58], Operations: ['49-23=26', '66-8=58']
Exploring Operation: 26+58=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Exploring Operation: 26*58=1508, Resulting Numbers: [1508]
1508,75 unequal: No Solution
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,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
Current State: 75:[66, 8, 72], Operations: ['49+23=72']
Exploring Operation: 72-66=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 75:[8, 6] Operation: 72-66=6
Exploring Operation: 66+8=74, Resulting Numbers: [72, 74]
Generated Node #0,0,1: 75:[72, 74] Operation: 66+8=74
Exploring Operation: 72/8=9, Resulting Numbers: [66, 9]
Generated Node #0,0,2: 75:[66, 9] Operation: 72/8=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[8, 6], Operations: ['49+23=72', '72-66=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[72, 74], Operations: ['49+23=72', '66+8=74']
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 72+74=146, Resulting Numbers: [146]
146,75 unequal: No Solution
Exploring Operation: 72*74=5328, Resulting Numbers: [5328]
5328,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 75:[66, 9], Operations: ['49+23=72', '72/8=9']
Exploring Operation: 66+9=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[49, 23, 66, 8], Operations: []
Exploring Operation: 49+23=72, Resulting Numbers: [66, 8, 72]
Generated Node #0,0: 75:[66, 8, 72] Operation: 49+23=72
Moving to Node #0,0
Current State: 75:[66, 8, 72], Operations: ['49+23=72']
Exploring Operation: 72/8=9, Resulting Numbers: [66, 9]
Generated Node #0,0,2: 75:[66, 9] Operation: 72/8=9
Moving to Node #0,0,2
Current State: 75:[66, 9], Operations: ['49+23=72', '72/8=9']
Exploring Operation: 66+9=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_3 | mult_heuristic |
[
41,
5,
62,
45
] | 12 | [
"62-41=21",
"45/5=9",
"21-9=12"
] | Current State: 12:[41, 5, 62, 45], Operations: []
Exploring Operation: 62-41=21, Resulting Numbers: [5, 45, 21]
Generated Node #2: [5, 45, 21] from Operation: 62-41=21
Current State: 12:[5, 45, 21], Operations: ['62-41=21']
Exploring Operation: 45/5=9, Resulting Numbers: [21, 9]
Generated Node #3: [21, 9] from Operation: 45/5=9
Current State: 12:[21, 9], Operations: ['62-41=21', '45/5=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[41, 5, 62, 45], Operations: []
Exploring Operation: 45-41=4, Resulting Numbers: [5, 62, 4]
Generated Node #0,0: 12:[5, 62, 4] Operation: 45-41=4
Exploring Operation: 62-41=21, Resulting Numbers: [5, 45, 21]
Generated Node #0,1: 12:[5, 45, 21] Operation: 62-41=21
Exploring Operation: 45/5=9, Resulting Numbers: [41, 62, 9]
Generated Node #0,2: 12:[41, 62, 9] Operation: 45/5=9
Exploring Operation: 62-45=17, Resulting Numbers: [41, 5, 17]
Generated Node #0,3: 12:[41, 5, 17] Operation: 62-45=17
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[41, 5, 17], Operations: ['62-45=17']
Exploring Operation: 17-5=12, Resulting Numbers: [41, 12]
Generated Node #0,3,0: 12:[41, 12] Operation: 17-5=12
Exploring Operation: 41-5=36, Resulting Numbers: [17, 36]
Generated Node #0,3,1: 12:[17, 36] Operation: 41-5=36
Exploring Operation: 41-17=24, Resulting Numbers: [5, 24]
Generated Node #0,3,2: 12:[5, 24] Operation: 41-17=24
Exploring Operation: 41+5=46, Resulting Numbers: [17, 46]
Generated Node #0,3,3: 12:[17, 46] Operation: 41+5=46
Moving to Node #0,3,2
Current State: 12:[5, 24], Operations: ['62-45=17', '41-17=24']
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,12 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Moving to Node #0,3,1
Current State: 12:[17, 36], Operations: ['62-45=17', '41-5=36']
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,12 unequal: No Solution
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,12 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Moving to Node #0,3,0
Current State: 12:[41, 12], Operations: ['62-45=17', '17-5=12']
Exploring Operation: 41*12=492, Resulting Numbers: [492]
492,12 unequal: No Solution
Exploring Operation: 41+12=53, Resulting Numbers: [53]
53,12 unequal: No Solution
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Moving to Node #0,3,3
Current State: 12:[17, 46], Operations: ['62-45=17', '41+5=46']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,12 unequal: No Solution
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,12 unequal: No Solution
No 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:[5, 45, 21], Operations: ['62-41=21']
Exploring Operation: 45-21=24, Resulting Numbers: [5, 24]
Generated Node #0,1,0: 12:[5, 24] Operation: 45-21=24
Exploring Operation: 21-5=16, Resulting Numbers: [45, 16]
Generated Node #0,1,1: 12:[45, 16] Operation: 21-5=16
Exploring Operation: 45-5=40, Resulting Numbers: [21, 40]
Generated Node #0,1,2: 12:[21, 40] Operation: 45-5=40
Exploring Operation: 45/5=9, Resulting Numbers: [21, 9]
Generated Node #0,1,3: 12:[21, 9] Operation: 45/5=9
Moving to Node #0,1,3
Current State: 12:[21, 9], Operations: ['62-41=21', '45/5=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[41, 5, 62, 45], Operations: []
Exploring Operation: 62-41=21, Resulting Numbers: [5, 45, 21]
Generated Node #0,1: 12:[5, 45, 21] Operation: 62-41=21
Moving to Node #0,1
Current State: 12:[5, 45, 21], Operations: ['62-41=21']
Exploring Operation: 45/5=9, Resulting Numbers: [21, 9]
Generated Node #0,1,3: 12:[21, 9] Operation: 45/5=9
Moving to Node #0,1,3
Current State: 12:[21, 9], Operations: ['62-41=21', '45/5=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
26,
48,
66,
76
] | 84 | [
"26+48=74",
"76-66=10",
"74+10=84"
] | Current State: 84:[26, 48, 66, 76], Operations: []
Exploring Operation: 26+48=74, Resulting Numbers: [66, 76, 74]
Generated Node #2: [66, 76, 74] from Operation: 26+48=74
Current State: 84:[66, 76, 74], Operations: ['26+48=74']
Exploring Operation: 76-66=10, Resulting Numbers: [74, 10]
Generated Node #3: [74, 10] from Operation: 76-66=10
Current State: 84:[74, 10], Operations: ['26+48=74', '76-66=10']
Exploring Operation: 74+10=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[26, 48, 66, 76], Operations: []
Exploring Operation: 76-66=10, Resulting Numbers: [26, 48, 10]
Generated Node #0,0: 84:[26, 48, 10] Operation: 76-66=10
Exploring Operation: 66-26=40, Resulting Numbers: [48, 76, 40]
Generated Node #0,1: 84:[48, 76, 40] Operation: 66-26=40
Exploring Operation: 66-48=18, Resulting Numbers: [26, 76, 18]
Generated Node #0,2: 84:[26, 76, 18] Operation: 66-48=18
Moving to Node #0,0
Current State: 84:[26, 48, 10], Operations: ['76-66=10']
Exploring Operation: 48-10=38, Resulting Numbers: [26, 38]
Generated Node #0,0,0: 84:[26, 38] Operation: 48-10=38
Exploring Operation: 26-10=16, Resulting Numbers: [48, 16]
Generated Node #0,0,1: 84:[48, 16] Operation: 26-10=16
Exploring Operation: 48-26=22, Resulting Numbers: [10, 22]
Generated Node #0,0,2: 84:[10, 22] Operation: 48-26=22
Moving to Node #0,2
Current State: 84:[26, 76, 18], Operations: ['66-48=18']
Exploring Operation: 26+18=44, Resulting Numbers: [76, 44]
Generated Node #0,2,0: 84:[76, 44] Operation: 26+18=44
Exploring Operation: 76-26=50, Resulting Numbers: [18, 50]
Generated Node #0,2,1: 84:[18, 50] Operation: 76-26=50
Exploring Operation: 26-18=8, Resulting Numbers: [76, 8]
Generated Node #0,2,2: 84:[76, 8] Operation: 26-18=8
Moving to Node #0,1
Current State: 84:[48, 76, 40], Operations: ['66-26=40']
Exploring Operation: 76-48=28, Resulting Numbers: [40, 28]
Generated Node #0,1,0: 84:[40, 28] Operation: 76-48=28
Exploring Operation: 48-40=8, Resulting Numbers: [76, 8]
Generated Node #0,1,1: 84:[76, 8] Operation: 48-40=8
Exploring Operation: 48+40=88, Resulting Numbers: [76, 88]
Generated Node #0,1,2: 84:[76, 88] Operation: 48+40=88
Moving to Node #0,1,0
Current State: 84:[40, 28], Operations: ['66-26=40', '76-48=28']
Exploring Operation: 40+28=68, Resulting Numbers: [68]
68,84 unequal: No Solution
Exploring Operation: 40*28=1120, Resulting Numbers: [1120]
1120,84 unequal: No Solution
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[10, 22], Operations: ['76-66=10', '48-26=22']
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,84 unequal: No Solution
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,84 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[26, 38], Operations: ['76-66=10', '48-10=38']
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 26*38=988, Resulting Numbers: [988]
988,84 unequal: No Solution
Exploring Operation: 26+38=64, Resulting Numbers: [64]
64,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[48, 16], Operations: ['76-66=10', '26-10=16']
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,84 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[76, 8], Operations: ['66-48=18', '26-18=8']
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[26, 48, 66, 76], Operations: []
Exploring Operation: 66-48=18, Resulting Numbers: [26, 76, 18]
Generated Node #0,2: 84:[26, 76, 18] Operation: 66-48=18
Moving to Node #0,2
Current State: 84:[26, 76, 18], Operations: ['66-48=18']
Exploring Operation: 26-18=8, Resulting Numbers: [76, 8]
Generated Node #0,2,2: 84:[76, 8] Operation: 26-18=8
Moving to Node #0,2,2
Current State: 84:[76, 8], Operations: ['66-48=18', '26-18=8']
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.974826 | hs_3 | sum_heuristic |
[
6,
11,
29,
62
] | 74 | [
"6+11=17",
"29+62=91",
"91-17=74"
] | Current State: 74:[6, 11, 29, 62], Operations: []
Exploring Operation: 6+11=17, Resulting Numbers: [29, 62, 17]
Generated Node #2: [29, 62, 17] from Operation: 6+11=17
Current State: 74:[29, 62, 17], Operations: ['6+11=17']
Exploring Operation: 29+62=91, Resulting Numbers: [17, 91]
Generated Node #3: [17, 91] from Operation: 29+62=91
Current State: 74:[17, 91], Operations: ['6+11=17', '29+62=91']
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[6, 11, 29, 62], Operations: []
Exploring Operation: 62-29=33, Resulting Numbers: [6, 11, 33]
Generated Node #0,0: 74:[6, 11, 33] Operation: 62-29=33
Exploring Operation: 11+62=73, Resulting Numbers: [6, 29, 73]
Generated Node #0,1: 74:[6, 29, 73] Operation: 11+62=73
Moving to Node #0,1
Current State: 74:[6, 29, 73], Operations: ['11+62=73']
Exploring Operation: 73-29=44, Resulting Numbers: [6, 44]
Generated Node #0,1,0: 74:[6, 44] Operation: 73-29=44
Exploring Operation: 6+29=35, Resulting Numbers: [73, 35]
Generated Node #0,1,1: 74:[73, 35] Operation: 6+29=35
Moving to Node #0,0
Current State: 74:[6, 11, 33], Operations: ['62-29=33']
Exploring Operation: 11-6=5, Resulting Numbers: [33, 5]
Generated Node #0,0,0: 74:[33, 5] Operation: 11-6=5
Exploring Operation: 33/11=3, Resulting Numbers: [6, 3]
Generated Node #0,0,1: 74:[6, 3] Operation: 33/11=3
Moving to Node #0,1,1
Current State: 74:[73, 35], Operations: ['11+62=73', '6+29=35']
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 73+35=108, Resulting Numbers: [108]
108,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[6, 3], Operations: ['62-29=33', '33/11=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[33, 5], Operations: ['62-29=33', '11-6=5']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[6, 44], Operations: ['11+62=73', '73-29=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,74 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
40,
64,
64,
16
] | 50 | [
"64+16=80",
"40*80=3200",
"3200/64=50"
] | Current State: 50:[40, 64, 64, 16], Operations: []
Exploring Operation: 64+16=80, Resulting Numbers: [40, 80]
Generated Node #2: [40, 80] from Operation: 64+16=80
Current State: 50:[40, 80], Operations: ['64+16=80']
Exploring Operation: 40*80=3200, Resulting Numbers: [3200]
3200,50 equal: Goal Reached
Exploring Operation: 3200/64=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[40, 64, 64, 16], Operations: []
Exploring Operation: 64/64=1, Resulting Numbers: [40, 16, 1]
Generated Node #0,0: 50:[40, 16, 1] Operation: 64/64=1
Exploring Operation: 64-64=0, Resulting Numbers: [40, 16, 0]
Generated Node #0,1: 50:[40, 16, 0] Operation: 64-64=0
Exploring Operation: 64-40=24, Resulting Numbers: [64, 16, 24]
Generated Node #0,2: 50:[64, 16, 24] Operation: 64-40=24
Moving to Node #0,0
Current State: 50:[40, 16, 1], Operations: ['64/64=1']
Exploring Operation: 40-16=24, Resulting Numbers: [1, 24]
Generated Node #0,0,0: 50:[1, 24] Operation: 40-16=24
Exploring Operation: 40+16=56, Resulting Numbers: [1, 56]
Generated Node #0,0,1: 50:[1, 56] Operation: 40+16=56
Exploring Operation: 40+1=41, Resulting Numbers: [16, 41]
Generated Node #0,0,2: 50:[16, 41] Operation: 40+1=41
Moving to Node #0,1
Current State: 50:[40, 16, 0], Operations: ['64-64=0']
Exploring Operation: 40+16=56, Resulting Numbers: [0, 56]
Generated Node #0,1,0: 50:[0, 56] Operation: 40+16=56
Exploring Operation: 40-16=24, Resulting Numbers: [0, 24]
Generated Node #0,1,1: 50:[0, 24] Operation: 40-16=24
Exploring Operation: 40*0=0, Resulting Numbers: [16, 0]
Generated Node #0,1,2: 50:[16, 0] Operation: 40*0=0
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[0, 24], Operations: ['64-64=0', '40-16=24']
Exploring Operation: 24-0=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 0+24=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 0*24=0, Resulting Numbers: [0]
0,50 unequal: No Solution
No 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: 50:[0, 56], Operations: ['64-64=0', '40+16=56']
Exploring Operation: 0+56=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 0*56=0, Resulting Numbers: [0]
0,50 unequal: No Solution
Exploring Operation: 56-0=56, Resulting Numbers: [56]
56,50 unequal: No Solution
No 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: 50:[16, 0], Operations: ['64-64=0', '40*0=0']
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,50 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: 50:[64, 16, 24], Operations: ['64-40=24']
Exploring Operation: 64-24=40, Resulting Numbers: [16, 40]
Generated Node #0,2,0: 50:[16, 40] Operation: 64-24=40
Exploring Operation: 64-16=48, Resulting Numbers: [24, 48]
Generated Node #0,2,1: 50:[24, 48] Operation: 64-16=48
Exploring Operation: 64/16=4, Resulting Numbers: [24, 4]
Generated Node #0,2,2: 50:[24, 4] Operation: 64/16=4
Moving to Node #0,0,0
Current State: 50:[1, 24], Operations: ['64/64=1', '40-16=24']
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 1*24=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[24, 4], Operations: ['64-40=24', '64/16=4']
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,50 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[24, 48], Operations: ['64-40=24', '64-16=48']
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 24+48=72, Resulting Numbers: [72]
72,50 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[1, 56], Operations: ['64/64=1', '40+16=56']
Exploring Operation: 1*56=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[16, 41], Operations: ['64/64=1', '40+1=41']
Exploring Operation: 16*41=656, Resulting Numbers: [656]
656,50 unequal: No Solution
Exploring Operation: 16+41=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[16, 40], Operations: ['64-40=24', '64-24=40']
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 16*40=640, Resulting Numbers: [640]
640,50 unequal: No Solution
Exploring Operation: 16+40=56, Resulting Numbers: [56]
56,50 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
74,
9,
29,
88
] | 11 | [
"74+88=162",
"162/9=18",
"29-18=11"
] | Current State: 11:[74, 9, 29, 88], Operations: []
Exploring Operation: 74+88=162, Resulting Numbers: [9, 29, 162]
Generated Node #2: [9, 29, 162] from Operation: 74+88=162
Current State: 11:[9, 29, 162], Operations: ['74+88=162']
Exploring Operation: 162/9=18, Resulting Numbers: [29, 18]
Generated Node #3: [29, 18] from Operation: 162/9=18
Current State: 11:[29, 18], Operations: ['74+88=162', '162/9=18']
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[74, 9, 29, 88], Operations: []
Exploring Operation: 88-74=14, Resulting Numbers: [9, 29, 14]
Generated Node #0,0: 11:[9, 29, 14] Operation: 88-74=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[9, 29, 14], Operations: ['88-74=14']
Exploring Operation: 29-14=15, Resulting Numbers: [9, 15]
Generated Node #0,0,0: 11:[9, 15] Operation: 29-14=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[9, 15], Operations: ['88-74=14', '29-14=15']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
42,
52,
10,
26
] | 26 | [
"52-42=10",
"10+26=36",
"36-10=26"
] | Current State: 26:[42, 52, 10, 26], Operations: []
Exploring Operation: 52-42=10, Resulting Numbers: [10, 26, 10]
Generated Node #2: [10, 26, 10] from Operation: 52-42=10
Current State: 26:[10, 26, 10], Operations: ['52-42=10']
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,26 equal: Goal Reached
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[42, 52, 10, 26], Operations: []
Exploring Operation: 52/26=2, Resulting Numbers: [42, 10, 2]
Generated Node #0,0: 26:[42, 10, 2] Operation: 52/26=2
Exploring Operation: 52-42=10, Resulting Numbers: [10, 26, 10]
Generated Node #0,1: 26:[10, 26, 10] Operation: 52-42=10
Exploring Operation: 52-26=26, Resulting Numbers: [42, 10, 26]
Generated Node #0,2: 26:[42, 10, 26] Operation: 52-26=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[10, 26, 10], Operations: ['52-42=10']
Exploring Operation: 10/10=1, Resulting Numbers: [26, 1]
Generated Node #0,1,0: 26:[26, 1] Operation: 10/10=1
Exploring Operation: 26-10=16, Resulting Numbers: [10, 16]
Generated Node #0,1,1: 26:[10, 16] Operation: 26-10=16
Exploring Operation: 10-10=0, Resulting Numbers: [26, 0]
Generated Node #0,1,2: 26:[26, 0] Operation: 10-10=0
Moving to Node #0,1,0
Current State: 26:[26, 1], Operations: ['52-42=10', '10/10=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[42, 52, 10, 26], Operations: []
Exploring Operation: 52-42=10, Resulting Numbers: [10, 26, 10]
Generated Node #0,1: 26:[10, 26, 10] Operation: 52-42=10
Moving to Node #0,1
Current State: 26:[10, 26, 10], Operations: ['52-42=10']
Exploring Operation: 10/10=1, Resulting Numbers: [26, 1]
Generated Node #0,1,0: 26:[26, 1] Operation: 10/10=1
Moving to Node #0,1,0
Current State: 26:[26, 1], Operations: ['52-42=10', '10/10=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
75,
76,
37,
88
] | 90 | [
"75-37=38",
"76/38=2",
"88+2=90"
] | Current State: 90:[75, 76, 37, 88], Operations: []
Exploring Operation: 75-37=38, Resulting Numbers: [76, 88, 38]
Generated Node #2: [76, 88, 38] from Operation: 75-37=38
Current State: 90:[76, 88, 38], Operations: ['75-37=38']
Exploring Operation: 76/38=2, Resulting Numbers: [88, 2]
Generated Node #3: [88, 2] from Operation: 76/38=2
Current State: 90:[88, 2], Operations: ['75-37=38', '76/38=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[75, 76, 37, 88], Operations: []
Exploring Operation: 75-37=38, Resulting Numbers: [76, 88, 38]
Generated Node #0,0: 90:[76, 88, 38] Operation: 75-37=38
Exploring Operation: 76-75=1, Resulting Numbers: [37, 88, 1]
Generated Node #0,1: 90:[37, 88, 1] Operation: 76-75=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[37, 88, 1], Operations: ['76-75=1']
Exploring Operation: 37-1=36, Resulting Numbers: [88, 36]
Generated Node #0,1,0: 90:[88, 36] Operation: 37-1=36
Exploring Operation: 88-37=51, Resulting Numbers: [1, 51]
Generated Node #0,1,1: 90:[1, 51] Operation: 88-37=51
Moving to Node #0,1,1
Current State: 90:[1, 51], Operations: ['76-75=1', '88-37=51']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[88, 36], Operations: ['76-75=1', '37-1=36']
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,90 unequal: No Solution
Exploring Operation: 88+36=124, Resulting Numbers: [124]
124,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[76, 88, 38], Operations: ['75-37=38']
Exploring Operation: 76/38=2, Resulting Numbers: [88, 2]
Generated Node #0,0,0: 90:[88, 2] Operation: 76/38=2
Exploring Operation: 88-76=12, Resulting Numbers: [38, 12]
Generated Node #0,0,1: 90:[38, 12] Operation: 88-76=12
Moving to Node #0,0,0
Current State: 90:[88, 2], Operations: ['75-37=38', '76/38=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[75, 76, 37, 88], Operations: []
Exploring Operation: 75-37=38, Resulting Numbers: [76, 88, 38]
Generated Node #0,0: 90:[76, 88, 38] Operation: 75-37=38
Moving to Node #0,0
Current State: 90:[76, 88, 38], Operations: ['75-37=38']
Exploring Operation: 76/38=2, Resulting Numbers: [88, 2]
Generated Node #0,0,0: 90:[88, 2] Operation: 76/38=2
Moving to Node #0,0,0
Current State: 90:[88, 2], Operations: ['75-37=38', '76/38=2']
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
6,
30,
28,
68
] | 56 | [
"30-28=2",
"6*2=12",
"68-12=56"
] | Current State: 56:[6, 30, 28, 68], Operations: []
Exploring Operation: 30-28=2, Resulting Numbers: [6, 68, 2]
Generated Node #2: [6, 68, 2] from Operation: 30-28=2
Current State: 56:[6, 68, 2], Operations: ['30-28=2']
Exploring Operation: 6*2=12, Resulting Numbers: [68, 12]
Generated Node #3: [68, 12] from Operation: 6*2=12
Current State: 56:[68, 12], Operations: ['30-28=2', '6*2=12']
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[6, 30, 28, 68], Operations: []
Exploring Operation: 68-6=62, Resulting Numbers: [30, 28, 62]
Generated Node #0,0: 56:[30, 28, 62] Operation: 68-6=62
Exploring Operation: 68-30=38, Resulting Numbers: [6, 28, 38]
Generated Node #0,1: 56:[6, 28, 38] Operation: 68-30=38
Moving to Node #0,0
Current State: 56:[30, 28, 62], Operations: ['68-6=62']
Exploring Operation: 30-28=2, Resulting Numbers: [62, 2]
Generated Node #0,0,0: 56:[62, 2] Operation: 30-28=2
Exploring Operation: 62-30=32, Resulting Numbers: [28, 32]
Generated Node #0,0,1: 56:[28, 32] Operation: 62-30=32
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[28, 32], Operations: ['68-6=62', '62-30=32']
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[62, 2], Operations: ['68-6=62', '30-28=2']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 56:[6, 28, 38], Operations: ['68-30=38']
Exploring Operation: 38-6=32, Resulting Numbers: [28, 32]
Generated Node #0,1,0: 56:[28, 32] Operation: 38-6=32
Exploring Operation: 38-28=10, Resulting Numbers: [6, 10]
Generated Node #0,1,1: 56:[6, 10] Operation: 38-28=10
Moving to Node #0,1,1
Current State: 56:[6, 10], Operations: ['68-30=38', '38-28=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[28, 32], Operations: ['68-30=38', '38-6=32']
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,56 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,56 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
9,
64,
90,
30
] | 76 | [
"9+64=73",
"90/30=3",
"73+3=76"
] | Current State: 76:[9, 64, 90, 30], Operations: []
Exploring Operation: 9+64=73, Resulting Numbers: [90, 30, 73]
Generated Node #2: [90, 30, 73] from Operation: 9+64=73
Current State: 76:[90, 30, 73], Operations: ['9+64=73']
Exploring Operation: 90/30=3, Resulting Numbers: [73, 3]
Generated Node #3: [73, 3] from Operation: 90/30=3
Current State: 76:[73, 3], Operations: ['9+64=73', '90/30=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[9, 64, 90, 30], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [9, 64, 3]
Generated Node #0,0: 76:[9, 64, 3] Operation: 90/30=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[9, 64, 3], Operations: ['90/30=3']
Exploring Operation: 9+64=73, Resulting Numbers: [3, 73]
Generated Node #0,0,0: 76:[3, 73] Operation: 9+64=73
Moving to Node #0,0,0
Current State: 76:[3, 73], Operations: ['90/30=3', '9+64=73']
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[9, 64, 90, 30], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [9, 64, 3]
Generated Node #0,0: 76:[9, 64, 3] Operation: 90/30=3
Moving to Node #0,0
Current State: 76:[9, 64, 3], Operations: ['90/30=3']
Exploring Operation: 9+64=73, Resulting Numbers: [3, 73]
Generated Node #0,0,0: 76:[3, 73] Operation: 9+64=73
Moving to Node #0,0,0
Current State: 76:[3, 73], Operations: ['90/30=3', '9+64=73']
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
31,
26,
49,
79
] | 25 | [
"31-26=5",
"79-49=30",
"30-5=25"
] | Current State: 25:[31, 26, 49, 79], Operations: []
Exploring Operation: 31-26=5, Resulting Numbers: [49, 79, 5]
Generated Node #2: [49, 79, 5] from Operation: 31-26=5
Current State: 25:[49, 79, 5], Operations: ['31-26=5']
Exploring Operation: 79-49=30, Resulting Numbers: [5, 30]
Generated Node #3: [5, 30] from Operation: 79-49=30
Current State: 25:[5, 30], Operations: ['31-26=5', '79-49=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[31, 26, 49, 79], Operations: []
Exploring Operation: 79-31=48, Resulting Numbers: [26, 49, 48]
Generated Node #0,0: 25:[26, 49, 48] Operation: 79-31=48
Exploring Operation: 79-26=53, Resulting Numbers: [31, 49, 53]
Generated Node #0,1: 25:[31, 49, 53] Operation: 79-26=53
Exploring Operation: 79-49=30, Resulting Numbers: [31, 26, 30]
Generated Node #0,2: 25:[31, 26, 30] Operation: 79-49=30
Moving to Node #0,2
Current State: 25:[31, 26, 30], Operations: ['79-49=30']
Exploring Operation: 31-26=5, Resulting Numbers: [30, 5]
Generated Node #0,2,0: 25:[30, 5] Operation: 31-26=5
Exploring Operation: 30-26=4, Resulting Numbers: [31, 4]
Generated Node #0,2,1: 25:[31, 4] Operation: 30-26=4
Exploring Operation: 31-30=1, Resulting Numbers: [26, 1]
Generated Node #0,2,2: 25:[26, 1] Operation: 31-30=1
Moving to Node #0,0
Current State: 25:[26, 49, 48], Operations: ['79-31=48']
Exploring Operation: 48-26=22, Resulting Numbers: [49, 22]
Generated Node #0,0,0: 25:[49, 22] Operation: 48-26=22
Exploring Operation: 49-26=23, Resulting Numbers: [48, 23]
Generated Node #0,0,1: 25:[48, 23] Operation: 49-26=23
Exploring Operation: 49-48=1, Resulting Numbers: [26, 1]
Generated Node #0,0,2: 25:[26, 1] Operation: 49-48=1
Moving to Node #0,1
Current State: 25:[31, 49, 53], Operations: ['79-26=53']
Exploring Operation: 53-49=4, Resulting Numbers: [31, 4]
Generated Node #0,1,0: 25:[31, 4] Operation: 53-49=4
Exploring Operation: 49-31=18, Resulting Numbers: [53, 18]
Generated Node #0,1,1: 25:[53, 18] Operation: 49-31=18
Exploring Operation: 53-31=22, Resulting Numbers: [49, 22]
Generated Node #0,1,2: 25:[49, 22] Operation: 53-31=22
Moving to Node #0,2,0
Current State: 25:[30, 5], Operations: ['79-49=30', '31-26=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[31, 26, 49, 79], Operations: []
Exploring Operation: 79-49=30, Resulting Numbers: [31, 26, 30]
Generated Node #0,2: 25:[31, 26, 30] Operation: 79-49=30
Moving to Node #0,2
Current State: 25:[31, 26, 30], Operations: ['79-49=30']
Exploring Operation: 31-26=5, Resulting Numbers: [30, 5]
Generated Node #0,2,0: 25:[30, 5] Operation: 31-26=5
Moving to Node #0,2,0
Current State: 25:[30, 5], Operations: ['79-49=30', '31-26=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.984375 | hs_3 | mult_heuristic |
[
33,
93,
11,
8
] | 88 | [
"33/11=3",
"93-8=85",
"3+85=88"
] | Current State: 88:[33, 93, 11, 8], Operations: []
Exploring Operation: 33/11=3, Resulting Numbers: [93, 8, 3]
Generated Node #2: [93, 8, 3] from Operation: 33/11=3
Current State: 88:[93, 8, 3], Operations: ['33/11=3']
Exploring Operation: 93-8=85, Resulting Numbers: [3, 85]
Generated Node #3: [3, 85] from Operation: 93-8=85
Current State: 88:[3, 85], Operations: ['33/11=3', '93-8=85']
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[33, 93, 11, 8], Operations: []
Exploring Operation: 33+11=44, Resulting Numbers: [93, 8, 44]
Generated Node #0,0: 88:[93, 8, 44] Operation: 33+11=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[93, 8, 44], Operations: ['33+11=44']
Exploring Operation: 93-8=85, Resulting Numbers: [44, 85]
Generated Node #0,0,0: 88:[44, 85] Operation: 93-8=85
Moving to Node #0,0,0
Current State: 88:[44, 85], Operations: ['33+11=44', '93-8=85']
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
45,
18,
6,
70
] | 91 | [
"45-18=27",
"70-6=64",
"27+64=91"
] | Current State: 91:[45, 18, 6, 70], Operations: []
Exploring Operation: 45-18=27, Resulting Numbers: [6, 70, 27]
Generated Node #2: [6, 70, 27] from Operation: 45-18=27
Current State: 91:[6, 70, 27], Operations: ['45-18=27']
Exploring Operation: 70-6=64, Resulting Numbers: [27, 64]
Generated Node #3: [27, 64] from Operation: 70-6=64
Current State: 91:[27, 64], Operations: ['45-18=27', '70-6=64']
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[45, 18, 6, 70], Operations: []
Exploring Operation: 45-18=27, Resulting Numbers: [6, 70, 27]
Generated Node #0,0: 91:[6, 70, 27] Operation: 45-18=27
Exploring Operation: 70-45=25, Resulting Numbers: [18, 6, 25]
Generated Node #0,1: 91:[18, 6, 25] Operation: 70-45=25
Exploring Operation: 18+70=88, Resulting Numbers: [45, 6, 88]
Generated Node #0,2: 91:[45, 6, 88] Operation: 18+70=88
Exploring Operation: 45+18=63, Resulting Numbers: [6, 70, 63]
Generated Node #0,3: 91:[6, 70, 63] Operation: 45+18=63
Exploring Operation: 45+70=115, Resulting Numbers: [18, 6, 115]
Generated Node #0,4: 91:[18, 6, 115] Operation: 45+70=115
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[18, 6, 25], Operations: ['70-45=25']
Exploring Operation: 25-18=7, Resulting Numbers: [6, 7]
Generated Node #0,1,0: 91:[6, 7] Operation: 25-18=7
Exploring Operation: 18/6=3, Resulting Numbers: [25, 3]
Generated Node #0,1,1: 91:[25, 3] Operation: 18/6=3
Exploring Operation: 25-6=19, Resulting Numbers: [18, 19]
Generated Node #0,1,2: 91:[18, 19] Operation: 25-6=19
Exploring Operation: 18-6=12, Resulting Numbers: [25, 12]
Generated Node #0,1,3: 91:[25, 12] Operation: 18-6=12
Exploring Operation: 18+6=24, Resulting Numbers: [25, 24]
Generated Node #0,1,4: 91:[25, 24] Operation: 18+6=24
Moving to Node #0,1,0
Current State: 91:[6, 7], Operations: ['70-45=25', '25-18=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[18, 19], Operations: ['70-45=25', '25-6=19']
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,91 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[25, 12], Operations: ['70-45=25', '18-6=12']
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,91 unequal: No Solution
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,91 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[25, 3], Operations: ['70-45=25', '18/6=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,91 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Moving to Node #0,1,4
Current State: 91:[25, 24], Operations: ['70-45=25', '18+6=24']
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,91 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 91:[18, 6, 115], Operations: ['45+70=115']
Exploring Operation: 115-6=109, Resulting Numbers: [18, 109]
Generated Node #0,4,0: 91:[18, 109] Operation: 115-6=109
Exploring Operation: 18-6=12, Resulting Numbers: [115, 12]
Generated Node #0,4,1: 91:[115, 12] Operation: 18-6=12
Exploring Operation: 18+6=24, Resulting Numbers: [115, 24]
Generated Node #0,4,2: 91:[115, 24] Operation: 18+6=24
Exploring Operation: 115-18=97, Resulting Numbers: [6, 97]
Generated Node #0,4,3: 91:[6, 97] Operation: 115-18=97
Exploring Operation: 18/6=3, Resulting Numbers: [115, 3]
Generated Node #0,4,4: 91:[115, 3] Operation: 18/6=3
Moving to Node #0,4,3
Current State: 91:[6, 97], Operations: ['45+70=115', '115-18=97']
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[45, 18, 6, 70], Operations: []
Exploring Operation: 45+70=115, Resulting Numbers: [18, 6, 115]
Generated Node #0,4: 91:[18, 6, 115] Operation: 45+70=115
Moving to Node #0,4
Current State: 91:[18, 6, 115], Operations: ['45+70=115']
Exploring Operation: 115-18=97, Resulting Numbers: [6, 97]
Generated Node #0,4,3: 91:[6, 97] Operation: 115-18=97
Moving to Node #0,4,3
Current State: 91:[6, 97], Operations: ['45+70=115', '115-18=97']
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | mult_heuristic |
[
80,
15,
93,
55
] | 83 | [
"80-15=65",
"93+55=148",
"148-65=83"
] | Current State: 83:[80, 15, 93, 55], Operations: []
Exploring Operation: 80-15=65, Resulting Numbers: [93, 55, 65]
Generated Node #2: [93, 55, 65] from Operation: 80-15=65
Current State: 83:[93, 55, 65], Operations: ['80-15=65']
Exploring Operation: 93+55=148, Resulting Numbers: [65, 148]
Generated Node #3: [65, 148] from Operation: 93+55=148
Current State: 83:[65, 148], Operations: ['80-15=65', '93+55=148']
Exploring Operation: 148-65=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[80, 15, 93, 55], Operations: []
Exploring Operation: 15+55=70, Resulting Numbers: [80, 93, 70]
Generated Node #0,0: 83:[80, 93, 70] Operation: 15+55=70
Exploring Operation: 93-15=78, Resulting Numbers: [80, 55, 78]
Generated Node #0,1: 83:[80, 55, 78] Operation: 93-15=78
Exploring Operation: 15+93=108, Resulting Numbers: [80, 55, 108]
Generated Node #0,2: 83:[80, 55, 108] Operation: 15+93=108
Exploring Operation: 80-15=65, Resulting Numbers: [93, 55, 65]
Generated Node #0,3: 83:[93, 55, 65] Operation: 80-15=65
Exploring Operation: 80+15=95, Resulting Numbers: [93, 55, 95]
Generated Node #0,4: 83:[93, 55, 95] Operation: 80+15=95
Moving to Node #0,0
Current State: 83:[80, 93, 70], Operations: ['15+55=70']
Exploring Operation: 93-80=13, Resulting Numbers: [70, 13]
Generated Node #0,0,0: 83:[70, 13] Operation: 93-80=13
Exploring Operation: 80+70=150, Resulting Numbers: [93, 150]
Generated Node #0,0,1: 83:[93, 150] Operation: 80+70=150
Exploring Operation: 93-70=23, Resulting Numbers: [80, 23]
Generated Node #0,0,2: 83:[80, 23] Operation: 93-70=23
Exploring Operation: 80-70=10, Resulting Numbers: [93, 10]
Generated Node #0,0,3: 83:[93, 10] Operation: 80-70=10
Exploring Operation: 93+70=163, Resulting Numbers: [80, 163]
Generated Node #0,0,4: 83:[80, 163] Operation: 93+70=163
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[80, 23], Operations: ['15+55=70', '93-70=23']
Exploring Operation: 80*23=1840, Resulting Numbers: [1840]
1840,83 unequal: No Solution
Exploring Operation: 80+23=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[93, 150], Operations: ['15+55=70', '80+70=150']
Exploring Operation: 150-93=57, Resulting Numbers: [57]
57,83 unequal: No Solution
Exploring Operation: 93*150=13950, Resulting Numbers: [13950]
13950,83 unequal: No Solution
Exploring Operation: 93+150=243, Resulting Numbers: [243]
243,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[70, 13], Operations: ['15+55=70', '93-80=13']
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[80, 15, 93, 55], Operations: []
Exploring Operation: 15+55=70, Resulting Numbers: [80, 93, 70]
Generated Node #0,0: 83:[80, 93, 70] Operation: 15+55=70
Moving to Node #0,0
Current State: 83:[80, 93, 70], Operations: ['15+55=70']
Exploring Operation: 93-80=13, Resulting Numbers: [70, 13]
Generated Node #0,0,0: 83:[70, 13] Operation: 93-80=13
Moving to Node #0,0,0
Current State: 83:[70, 13], Operations: ['15+55=70', '93-80=13']
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
2,
43,
63,
52
] | 84 | [
"2*52=104",
"63-43=20",
"104-20=84"
] | Current State: 84:[2, 43, 63, 52], Operations: []
Exploring Operation: 2*52=104, Resulting Numbers: [43, 63, 104]
Generated Node #2: [43, 63, 104] from Operation: 2*52=104
Current State: 84:[43, 63, 104], Operations: ['2*52=104']
Exploring Operation: 63-43=20, Resulting Numbers: [104, 20]
Generated Node #3: [104, 20] from Operation: 63-43=20
Current State: 84:[104, 20], Operations: ['2*52=104', '63-43=20']
Exploring Operation: 104-20=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[2, 43, 63, 52], Operations: []
Exploring Operation: 63-43=20, Resulting Numbers: [2, 52, 20]
Generated Node #0,0: 84:[2, 52, 20] Operation: 63-43=20
Exploring Operation: 52-43=9, Resulting Numbers: [2, 63, 9]
Generated Node #0,1: 84:[2, 63, 9] Operation: 52-43=9
Exploring Operation: 63-52=11, Resulting Numbers: [2, 43, 11]
Generated Node #0,2: 84:[2, 43, 11] Operation: 63-52=11
Exploring Operation: 52/2=26, Resulting Numbers: [43, 63, 26]
Generated Node #0,3: 84:[43, 63, 26] Operation: 52/2=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[2, 43, 11], Operations: ['63-52=11']
Exploring Operation: 43-2=41, Resulting Numbers: [11, 41]
Generated Node #0,2,0: 84:[11, 41] Operation: 43-2=41
Exploring Operation: 2*43=86, Resulting Numbers: [11, 86]
Generated Node #0,2,1: 84:[11, 86] Operation: 2*43=86
Exploring Operation: 2*11=22, Resulting Numbers: [43, 22]
Generated Node #0,2,2: 84:[43, 22] Operation: 2*11=22
Exploring Operation: 2+11=13, Resulting Numbers: [43, 13]
Generated Node #0,2,3: 84:[43, 13] Operation: 2+11=13
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 84:[11, 41], Operations: ['63-52=11', '43-2=41']
Exploring Operation: 11+41=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Exploring Operation: 11*41=451, Resulting Numbers: [451]
451,84 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 84:[43, 22], Operations: ['63-52=11', '2*11=22']
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 43+22=65, Resulting Numbers: [65]
65,84 unequal: No Solution
Exploring Operation: 43*22=946, Resulting Numbers: [946]
946,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 84:[43, 13], Operations: ['63-52=11', '2+11=13']
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,84 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 84:[11, 86], Operations: ['63-52=11', '2*43=86']
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,84 unequal: No Solution
Exploring Operation: 11*86=946, Resulting Numbers: [946]
946,84 unequal: No Solution
Exploring Operation: 11+86=97, Resulting Numbers: [97]
97,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[2, 52, 20], Operations: ['63-43=20']
Exploring Operation: 52-2=50, Resulting Numbers: [20, 50]
Generated Node #0,0,0: 84:[20, 50] Operation: 52-2=50
Exploring Operation: 2+20=22, Resulting Numbers: [52, 22]
Generated Node #0,0,1: 84:[52, 22] Operation: 2+20=22
Exploring Operation: 52/2=26, Resulting Numbers: [20, 26]
Generated Node #0,0,2: 84:[20, 26] Operation: 52/2=26
Exploring Operation: 52-20=32, Resulting Numbers: [2, 32]
Generated Node #0,0,3: 84:[2, 32] Operation: 52-20=32
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 84:[20, 26], Operations: ['63-43=20', '52/2=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,84 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 84:[2, 32], Operations: ['63-43=20', '52-20=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,84 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,84 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[20, 50], Operations: ['63-43=20', '52-2=50']
Exploring Operation: 20*50=1000, Resulting Numbers: [1000]
1000,84 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 20+50=70, Resulting Numbers: [70]
70,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[52, 22], Operations: ['63-43=20', '2+20=22']
Exploring Operation: 52+22=74, Resulting Numbers: [74]
74,84 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 52*22=1144, Resulting Numbers: [1144]
1144,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[2, 63, 9], Operations: ['52-43=9']
Exploring Operation: 63/9=7, Resulting Numbers: [2, 7]
Generated Node #0,1,0: 84:[2, 7] Operation: 63/9=7
Exploring Operation: 63-9=54, Resulting Numbers: [2, 54]
Generated Node #0,1,1: 84:[2, 54] Operation: 63-9=54
Exploring Operation: 2+63=65, Resulting Numbers: [9, 65]
Generated Node #0,1,2: 84:[9, 65] Operation: 2+63=65
Exploring Operation: 63+9=72, Resulting Numbers: [2, 72]
Generated Node #0,1,3: 84:[2, 72] Operation: 63+9=72
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 84:[2, 7], Operations: ['52-43=9', '63/9=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,84 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 84:[2, 54], Operations: ['52-43=9', '63-9=54']
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,84 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 84:[2, 72], Operations: ['52-43=9', '63+9=72']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,84 unequal: No Solution
Exploring Operation: 2*72=144, Resulting Numbers: [144]
144,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 84:[9, 65], Operations: ['52-43=9', '2+63=65']
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 9+65=74, Resulting Numbers: [74]
74,84 unequal: No Solution
Exploring Operation: 9*65=585, Resulting Numbers: [585]
585,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 84:[43, 63, 26], Operations: ['52/2=26']
Exploring Operation: 63+26=89, Resulting Numbers: [43, 89]
Generated Node #0,3,0: 84:[43, 89] Operation: 63+26=89
Exploring Operation: 63-26=37, Resulting Numbers: [43, 37]
Generated Node #0,3,1: 84:[43, 37] Operation: 63-26=37
Exploring Operation: 43+63=106, Resulting Numbers: [26, 106]
Generated Node #0,3,2: 84:[26, 106] Operation: 43+63=106
Exploring Operation: 63-43=20, Resulting Numbers: [26, 20]
Generated Node #0,3,3: 84:[26, 20] Operation: 63-43=20
Moving to Node #0,3,3
Current State: 84:[26, 20], Operations: ['52/2=26', '63-43=20']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,84 unequal: No Solution
Moving to Node #0,3,1
Current State: 84:[43, 37], Operations: ['52/2=26', '63-26=37']
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,84 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 43*37=1591, Resulting Numbers: [1591]
1591,84 unequal: No Solution
Moving to Node #0,3,0
Current State: 84:[43, 89], Operations: ['52/2=26', '63+26=89']
Exploring Operation: 89-43=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 43+89=132, Resulting Numbers: [132]
132,84 unequal: No Solution
Exploring Operation: 43*89=3827, Resulting Numbers: [3827]
3827,84 unequal: No Solution
Moving to Node #0,3,2
Current State: 84:[26, 106], Operations: ['52/2=26', '43+63=106']
Exploring Operation: 26*106=2756, Resulting Numbers: [2756]
2756,84 unequal: No Solution
Exploring Operation: 106-26=80, Resulting Numbers: [80]
80,84 unequal: No Solution
Exploring Operation: 26+106=132, Resulting Numbers: [132]
132,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
55,
45,
63,
60
] | 90 | [
"60-55=5",
"63-45=18",
"5*18=90"
] | Current State: 90:[55, 45, 63, 60], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [45, 63, 5]
Generated Node #2: [45, 63, 5] from Operation: 60-55=5
Current State: 90:[45, 63, 5], Operations: ['60-55=5']
Exploring Operation: 63-45=18, Resulting Numbers: [5, 18]
Generated Node #3: [5, 18] from Operation: 63-45=18
Current State: 90:[5, 18], Operations: ['60-55=5', '63-45=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[55, 45, 63, 60], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [45, 60, 8]
Generated Node #0,0: 90:[45, 60, 8] Operation: 63-55=8
Exploring Operation: 63-60=3, Resulting Numbers: [55, 45, 3]
Generated Node #0,1: 90:[55, 45, 3] Operation: 63-60=3
Moving to Node #0,1
Current State: 90:[55, 45, 3], Operations: ['63-60=3']
Exploring Operation: 55-45=10, Resulting Numbers: [3, 10]
Generated Node #0,1,0: 90:[3, 10] Operation: 55-45=10
Exploring Operation: 55-3=52, Resulting Numbers: [45, 52]
Generated Node #0,1,1: 90:[45, 52] Operation: 55-3=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[3, 10], Operations: ['63-60=3', '55-45=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[45, 52], Operations: ['63-60=3', '55-3=52']
Exploring Operation: 45+52=97, Resulting Numbers: [97]
97,90 unequal: No Solution
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 90:[45, 60, 8], Operations: ['63-55=8']
Exploring Operation: 60-45=15, Resulting Numbers: [8, 15]
Generated Node #0,0,0: 90:[8, 15] Operation: 60-45=15
Exploring Operation: 60-8=52, Resulting Numbers: [45, 52]
Generated Node #0,0,1: 90:[45, 52] Operation: 60-8=52
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[8, 15], Operations: ['63-55=8', '60-45=15']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[45, 52], Operations: ['63-55=8', '60-8=52']
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 45+52=97, Resulting Numbers: [97]
97,90 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 |
[
24,
27,
78,
92
] | 65 | [
"24+27=51",
"92-78=14",
"51+14=65"
] | Current State: 65:[24, 27, 78, 92], Operations: []
Exploring Operation: 24+27=51, Resulting Numbers: [78, 92, 51]
Generated Node #2: [78, 92, 51] from Operation: 24+27=51
Current State: 65:[78, 92, 51], Operations: ['24+27=51']
Exploring Operation: 92-78=14, Resulting Numbers: [51, 14]
Generated Node #3: [51, 14] from Operation: 92-78=14
Current State: 65:[51, 14], Operations: ['24+27=51', '92-78=14']
Exploring Operation: 51+14=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[24, 27, 78, 92], Operations: []
Exploring Operation: 92-27=65, Resulting Numbers: [24, 78, 65]
Generated Node #0,0: 65:[24, 78, 65] Operation: 92-27=65
Exploring Operation: 92-78=14, Resulting Numbers: [24, 27, 14]
Generated Node #0,1: 65:[24, 27, 14] Operation: 92-78=14
Exploring Operation: 78-24=54, Resulting Numbers: [27, 92, 54]
Generated Node #0,2: 65:[27, 92, 54] Operation: 78-24=54
Exploring Operation: 92-24=68, Resulting Numbers: [27, 78, 68]
Generated Node #0,3: 65:[27, 78, 68] Operation: 92-24=68
Exploring Operation: 27-24=3, Resulting Numbers: [78, 92, 3]
Generated Node #0,4: 65:[78, 92, 3] Operation: 27-24=3
Moving to Node #0,0
Current State: 65:[24, 78, 65], Operations: ['92-27=65']
Exploring Operation: 78-24=54, Resulting Numbers: [65, 54]
Generated Node #0,0,0: 65:[65, 54] Operation: 78-24=54
Exploring Operation: 24+65=89, Resulting Numbers: [78, 89]
Generated Node #0,0,1: 65:[78, 89] Operation: 24+65=89
Exploring Operation: 24+78=102, Resulting Numbers: [65, 102]
Generated Node #0,0,2: 65:[65, 102] Operation: 24+78=102
Exploring Operation: 65-24=41, Resulting Numbers: [78, 41]
Generated Node #0,0,3: 65:[78, 41] Operation: 65-24=41
Exploring Operation: 78-65=13, Resulting Numbers: [24, 13]
Generated Node #0,0,4: 65:[24, 13] Operation: 78-65=13
Moving to Node #0,1
Current State: 65:[24, 27, 14], Operations: ['92-78=14']
Exploring Operation: 27+14=41, Resulting Numbers: [24, 41]
Generated Node #0,1,0: 65:[24, 41] Operation: 27+14=41
Exploring Operation: 27-24=3, Resulting Numbers: [14, 3]
Generated Node #0,1,1: 65:[14, 3] Operation: 27-24=3
Exploring Operation: 24+27=51, Resulting Numbers: [14, 51]
Generated Node #0,1,2: 65:[14, 51] Operation: 24+27=51
Exploring Operation: 24-14=10, Resulting Numbers: [27, 10]
Generated Node #0,1,3: 65:[27, 10] Operation: 24-14=10
Exploring Operation: 27-14=13, Resulting Numbers: [24, 13]
Generated Node #0,1,4: 65:[24, 13] Operation: 27-14=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[14, 3], Operations: ['92-78=14', '27-24=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 65:[24, 13], Operations: ['92-78=14', '27-14=13']
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,65 unequal: No Solution
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[14, 51], Operations: ['92-78=14', '24+27=51']
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,65 unequal: No Solution
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[24, 27, 78, 92], Operations: []
Exploring Operation: 92-78=14, Resulting Numbers: [24, 27, 14]
Generated Node #0,1: 65:[24, 27, 14] Operation: 92-78=14
Moving to Node #0,1
Current State: 65:[24, 27, 14], Operations: ['92-78=14']
Exploring Operation: 24+27=51, Resulting Numbers: [14, 51]
Generated Node #0,1,2: 65:[14, 51] Operation: 24+27=51
Moving to Node #0,1,2
Current State: 65:[14, 51], Operations: ['92-78=14', '24+27=51']
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_5 | sum_heuristic |
[
53,
28,
49,
20
] | 27 | [
"53-49=4",
"28/4=7",
"20+7=27"
] | Current State: 27:[53, 28, 49, 20], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [28, 20, 4]
Generated Node #2: [28, 20, 4] from Operation: 53-49=4
Current State: 27:[28, 20, 4], Operations: ['53-49=4']
Exploring Operation: 28/4=7, Resulting Numbers: [20, 7]
Generated Node #3: [20, 7] from Operation: 28/4=7
Current State: 27:[20, 7], Operations: ['53-49=4', '28/4=7']
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[53, 28, 49, 20], Operations: []
Exploring Operation: 53-28=25, Resulting Numbers: [49, 20, 25]
Generated Node #0,0: 27:[49, 20, 25] Operation: 53-28=25
Exploring Operation: 53-20=33, Resulting Numbers: [28, 49, 33]
Generated Node #0,1: 27:[28, 49, 33] Operation: 53-20=33
Exploring Operation: 49-28=21, Resulting Numbers: [53, 20, 21]
Generated Node #0,2: 27:[53, 20, 21] Operation: 49-28=21
Exploring Operation: 53-49=4, Resulting Numbers: [28, 20, 4]
Generated Node #0,3: 27:[28, 20, 4] Operation: 53-49=4
Exploring Operation: 49-20=29, Resulting Numbers: [53, 28, 29]
Generated Node #0,4: 27:[53, 28, 29] Operation: 49-20=29
Moving to Node #0,3
Current State: 27:[28, 20, 4], Operations: ['53-49=4']
Exploring Operation: 28/4=7, Resulting Numbers: [20, 7]
Generated Node #0,3,0: 27:[20, 7] Operation: 28/4=7
Exploring Operation: 20-4=16, Resulting Numbers: [28, 16]
Generated Node #0,3,1: 27:[28, 16] Operation: 20-4=16
Exploring Operation: 20/4=5, Resulting Numbers: [28, 5]
Generated Node #0,3,2: 27:[28, 5] Operation: 20/4=5
Exploring Operation: 28-20=8, Resulting Numbers: [4, 8]
Generated Node #0,3,3: 27:[4, 8] Operation: 28-20=8
Exploring Operation: 20+4=24, Resulting Numbers: [28, 24]
Generated Node #0,3,4: 27:[28, 24] Operation: 20+4=24
Moving to Node #0,4
Current State: 27:[53, 28, 29], Operations: ['49-20=29']
Exploring Operation: 53-29=24, Resulting Numbers: [28, 24]
Generated Node #0,4,0: 27:[28, 24] Operation: 53-29=24
Exploring Operation: 29-28=1, Resulting Numbers: [53, 1]
Generated Node #0,4,1: 27:[53, 1] Operation: 29-28=1
Exploring Operation: 53-28=25, Resulting Numbers: [29, 25]
Generated Node #0,4,2: 27:[29, 25] Operation: 53-28=25
Exploring Operation: 53+29=82, Resulting Numbers: [28, 82]
Generated Node #0,4,3: 27:[28, 82] Operation: 53+29=82
Exploring Operation: 53+28=81, Resulting Numbers: [29, 81]
Generated Node #0,4,4: 27:[29, 81] Operation: 53+28=81
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 27:[28, 24], Operations: ['49-20=29', '53-29=24']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,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,4,2
Current State: 27:[29, 25], Operations: ['49-20=29', '53-28=25']
Exploring Operation: 29*25=725, Resulting Numbers: [725]
725,27 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 29+25=54, Resulting Numbers: [54]
54,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,4,1
Current State: 27:[53, 1], Operations: ['49-20=29', '29-28=1']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,27 unequal: No Solution
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,27 unequal: No Solution
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,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,4,3
Current State: 27:[28, 82], Operations: ['49-20=29', '53+29=82']
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 28+82=110, Resulting Numbers: [110]
110,27 unequal: No Solution
Exploring Operation: 28*82=2296, Resulting Numbers: [2296]
2296,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,4,4
Current State: 27:[29, 81], Operations: ['49-20=29', '53+28=81']
Exploring Operation: 81-29=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 29+81=110, Resulting Numbers: [110]
110,27 unequal: No Solution
Exploring Operation: 29*81=2349, Resulting Numbers: [2349]
2349,27 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: 27:[28, 49, 33], Operations: ['53-20=33']
Exploring Operation: 49-33=16, Resulting Numbers: [28, 16]
Generated Node #0,1,0: 27:[28, 16] Operation: 49-33=16
Exploring Operation: 28+49=77, Resulting Numbers: [33, 77]
Generated Node #0,1,1: 27:[33, 77] Operation: 28+49=77
Exploring Operation: 33-28=5, Resulting Numbers: [49, 5]
Generated Node #0,1,2: 27:[49, 5] Operation: 33-28=5
Exploring Operation: 49-28=21, Resulting Numbers: [33, 21]
Generated Node #0,1,3: 27:[33, 21] Operation: 49-28=21
Exploring Operation: 28+33=61, Resulting Numbers: [49, 61]
Generated Node #0,1,4: 27:[49, 61] Operation: 28+33=61
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[28, 16], Operations: ['53-20=33', '49-33=16']
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,27 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,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:[33, 21], Operations: ['53-20=33', '49-28=21']
Exploring Operation: 33*21=693, Resulting Numbers: [693]
693,27 unequal: No Solution
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,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,2
Current State: 27:[49, 5], Operations: ['53-20=33', '33-28=5']
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,27 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,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,1
Current State: 27:[33, 77], Operations: ['53-20=33', '28+49=77']
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 33*77=2541, Resulting Numbers: [2541]
2541,27 unequal: No Solution
Exploring Operation: 33+77=110, Resulting Numbers: [110]
110,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,4
Current State: 27:[49, 61], Operations: ['53-20=33', '28+33=61']
Exploring Operation: 49*61=2989, Resulting Numbers: [2989]
2989,27 unequal: No Solution
Exploring Operation: 61-49=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 49+61=110, Resulting Numbers: [110]
110,27 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: 27:[49, 20, 25], Operations: ['53-28=25']
Exploring Operation: 20+25=45, Resulting Numbers: [49, 45]
Generated Node #0,0,0: 27:[49, 45] Operation: 20+25=45
Exploring Operation: 49-25=24, Resulting Numbers: [20, 24]
Generated Node #0,0,1: 27:[20, 24] Operation: 49-25=24
Exploring Operation: 49-20=29, Resulting Numbers: [25, 29]
Generated Node #0,0,2: 27:[25, 29] Operation: 49-20=29
Exploring Operation: 49+20=69, Resulting Numbers: [25, 69]
Generated Node #0,0,3: 27:[25, 69] Operation: 49+20=69
Exploring Operation: 25-20=5, Resulting Numbers: [49, 5]
Generated Node #0,0,4: 27:[49, 5] Operation: 25-20=5
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 27:[25, 29], Operations: ['53-28=25', '49-20=29']
Exploring Operation: 25+29=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 25*29=725, Resulting Numbers: [725]
725,27 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,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,0,1
Current State: 27:[20, 24], Operations: ['53-28=25', '49-25=24']
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,27 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,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,0,4
Current State: 27:[49, 5], Operations: ['53-28=25', '25-20=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,27 unequal: No Solution
Exploring Operation: 49*5=245, Resulting Numbers: [245]
245,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,0,0
Current State: 27:[49, 45], Operations: ['53-28=25', '20+25=45']
Exploring Operation: 49*45=2205, Resulting Numbers: [2205]
2205,27 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 49+45=94, Resulting Numbers: [94]
94,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,0,3
Current State: 27:[25, 69], Operations: ['53-28=25', '49+20=69']
Exploring Operation: 25*69=1725, Resulting Numbers: [1725]
1725,27 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 25+69=94, Resulting Numbers: [94]
94,27 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: 27:[53, 20, 21], Operations: ['49-28=21']
Exploring Operation: 20+21=41, Resulting Numbers: [53, 41]
Generated Node #0,2,0: 27:[53, 41] Operation: 20+21=41
Exploring Operation: 53+20=73, Resulting Numbers: [21, 73]
Generated Node #0,2,1: 27:[21, 73] Operation: 53+20=73
Exploring Operation: 21-20=1, Resulting Numbers: [53, 1]
Generated Node #0,2,2: 27:[53, 1] Operation: 21-20=1
Exploring Operation: 53-20=33, Resulting Numbers: [21, 33]
Generated Node #0,2,3: 27:[21, 33] Operation: 53-20=33
Exploring Operation: 53-21=32, Resulting Numbers: [20, 32]
Generated Node #0,2,4: 27:[20, 32] Operation: 53-21=32
Moving to Node #0,3,3
Current State: 27:[4, 8], Operations: ['53-49=4', '28-20=8']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Moving to Node #0,3,2
Current State: 27:[28, 5], Operations: ['53-49=4', '20/4=5']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,27 unequal: No Solution
Moving to Node #0,3,4
Current State: 27:[28, 24], Operations: ['53-49=4', '20+4=24']
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,27 unequal: No Solution
Moving to Node #0,3,1
Current State: 27:[28, 16], Operations: ['53-49=4', '20-4=16']
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,27 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Moving to Node #0,3,0
Current State: 27:[20, 7], Operations: ['53-49=4', '28/4=7']
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,27 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,27 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[53, 28, 49, 20], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [28, 20, 4]
Generated Node #0,3: 27:[28, 20, 4] Operation: 53-49=4
Moving to Node #0,3
Current State: 27:[28, 20, 4], Operations: ['53-49=4']
Exploring Operation: 28/4=7, Resulting Numbers: [20, 7]
Generated Node #0,3,0: 27:[20, 7] Operation: 28/4=7
Moving to Node #0,3,0
Current State: 27:[20, 7], Operations: ['53-49=4', '28/4=7']
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.916667 | hs_5 | sum_heuristic |
[
64,
48,
80,
43
] | 38 | [
"64-48=16",
"80/16=5",
"43-5=38"
] | Current State: 38:[64, 48, 80, 43], Operations: []
Exploring Operation: 64-48=16, Resulting Numbers: [80, 43, 16]
Generated Node #2: [80, 43, 16] from Operation: 64-48=16
Current State: 38:[80, 43, 16], Operations: ['64-48=16']
Exploring Operation: 80/16=5, Resulting Numbers: [43, 5]
Generated Node #3: [43, 5] from Operation: 80/16=5
Current State: 38:[43, 5], Operations: ['64-48=16', '80/16=5']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[64, 48, 80, 43], Operations: []
Exploring Operation: 80-43=37, Resulting Numbers: [64, 48, 37]
Generated Node #0,0: 38:[64, 48, 37] Operation: 80-43=37
Exploring Operation: 80-48=32, Resulting Numbers: [64, 43, 32]
Generated Node #0,1: 38:[64, 43, 32] Operation: 80-48=32
Exploring Operation: 80-64=16, Resulting Numbers: [48, 43, 16]
Generated Node #0,2: 38:[48, 43, 16] Operation: 80-64=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[48, 43, 16], Operations: ['80-64=16']
Exploring Operation: 48-16=32, Resulting Numbers: [43, 32]
Generated Node #0,2,0: 38:[43, 32] Operation: 48-16=32
Exploring Operation: 48-43=5, Resulting Numbers: [16, 5]
Generated Node #0,2,1: 38:[16, 5] Operation: 48-43=5
Exploring Operation: 48/16=3, Resulting Numbers: [43, 3]
Generated Node #0,2,2: 38:[43, 3] Operation: 48/16=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 38:[16, 5], Operations: ['80-64=16', '48-43=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,38 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,38 unequal: No Solution
No 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: 38:[43, 3], Operations: ['80-64=16', '48/16=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,38 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,38 unequal: No Solution
No 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: 38:[43, 32], Operations: ['80-64=16', '48-16=32']
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,38 unequal: No Solution
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[64, 48, 37], Operations: ['80-43=37']
Exploring Operation: 64-37=27, Resulting Numbers: [48, 27]
Generated Node #0,0,0: 38:[48, 27] Operation: 64-37=27
Exploring Operation: 48-37=11, Resulting Numbers: [64, 11]
Generated Node #0,0,1: 38:[64, 11] Operation: 48-37=11
Exploring Operation: 64-48=16, Resulting Numbers: [37, 16]
Generated Node #0,0,2: 38:[37, 16] Operation: 64-48=16
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 38:[37, 16], Operations: ['80-43=37', '64-48=16']
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 37*16=592, Resulting Numbers: [592]
592,38 unequal: No Solution
No 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: 38:[48, 27], Operations: ['80-43=37', '64-37=27']
Exploring Operation: 48*27=1296, Resulting Numbers: [1296]
1296,38 unequal: No Solution
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 48+27=75, Resulting Numbers: [75]
75,38 unequal: No Solution
No 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: 38:[64, 11], Operations: ['80-43=37', '48-37=11']
Exploring Operation: 64*11=704, Resulting Numbers: [704]
704,38 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[64, 43, 32], Operations: ['80-48=32']
Exploring Operation: 64-32=32, Resulting Numbers: [43, 32]
Generated Node #0,1,0: 38:[43, 32] Operation: 64-32=32
Exploring Operation: 64/32=2, Resulting Numbers: [43, 2]
Generated Node #0,1,1: 38:[43, 2] Operation: 64/32=2
Exploring Operation: 64-43=21, Resulting Numbers: [32, 21]
Generated Node #0,1,2: 38:[32, 21] Operation: 64-43=21
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[43, 2], Operations: ['80-48=32', '64/32=2']
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,38 unequal: No Solution
No 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: 38:[32, 21], Operations: ['80-48=32', '64-43=21']
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 32*21=672, Resulting Numbers: [672]
672,38 unequal: No Solution
No 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: 38:[43, 32], Operations: ['80-48=32', '64-32=32']
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,38 unequal: No Solution
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,38 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
34,
63,
38,
51
] | 37 | [
"63+51=114",
"114/38=3",
"34+3=37"
] | Current State: 37:[34, 63, 38, 51], Operations: []
Exploring Operation: 63+51=114, Resulting Numbers: [34, 38, 114]
Generated Node #2: [34, 38, 114] from Operation: 63+51=114
Current State: 37:[34, 38, 114], Operations: ['63+51=114']
Exploring Operation: 114/38=3, Resulting Numbers: [34, 3]
Generated Node #3: [34, 3] from Operation: 114/38=3
Current State: 37:[34, 3], Operations: ['63+51=114', '114/38=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[34, 63, 38, 51], Operations: []
Exploring Operation: 63-34=29, Resulting Numbers: [38, 51, 29]
Generated Node #0,0: 37:[38, 51, 29] Operation: 63-34=29
Exploring Operation: 63-38=25, Resulting Numbers: [34, 51, 25]
Generated Node #0,1: 37:[34, 51, 25] Operation: 63-38=25
Moving to Node #0,0
Current State: 37:[38, 51, 29], Operations: ['63-34=29']
Exploring Operation: 51-38=13, Resulting Numbers: [29, 13]
Generated Node #0,0,0: 37:[29, 13] Operation: 51-38=13
Exploring Operation: 51-29=22, Resulting Numbers: [38, 22]
Generated Node #0,0,1: 37:[38, 22] Operation: 51-29=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[38, 22], Operations: ['63-34=29', '51-29=22']
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,37 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,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, 13], Operations: ['63-34=29', '51-38=13']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,37 unequal: No Solution
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,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:[34, 51, 25], Operations: ['63-38=25']
Exploring Operation: 51-25=26, Resulting Numbers: [34, 26]
Generated Node #0,1,0: 37:[34, 26] Operation: 51-25=26
Exploring Operation: 51-34=17, Resulting Numbers: [25, 17]
Generated Node #0,1,1: 37:[25, 17] Operation: 51-34=17
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[34, 26], Operations: ['63-38=25', '51-25=26']
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,37 unequal: No Solution
Exploring Operation: 34-26=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,1,1
Current State: 37:[25, 17], Operations: ['63-38=25', '51-34=17']
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,37 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 |
[
41,
98,
30,
76
] | 84 | [
"76-41=35",
"98*30=2940",
"2940/35=84"
] | Current State: 84:[41, 98, 30, 76], Operations: []
Exploring Operation: 76-41=35, Resulting Numbers: [98, 30, 35]
Generated Node #2: [98, 30, 35] from Operation: 76-41=35
Current State: 84:[98, 30, 35], Operations: ['76-41=35']
Exploring Operation: 98*30=2940, Resulting Numbers: [35, 2940]
Generated Node #3: [35, 2940] from Operation: 98*30=2940
Current State: 84:[35, 2940], Operations: ['76-41=35', '98*30=2940']
Exploring Operation: 2940/35=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[41, 98, 30, 76], Operations: []
Exploring Operation: 76-30=46, Resulting Numbers: [41, 98, 46]
Generated Node #0,0: 84:[41, 98, 46] Operation: 76-30=46
Exploring Operation: 98-76=22, Resulting Numbers: [41, 30, 22]
Generated Node #0,1: 84:[41, 30, 22] Operation: 98-76=22
Exploring Operation: 41-30=11, Resulting Numbers: [98, 76, 11]
Generated Node #0,2: 84:[98, 76, 11] Operation: 41-30=11
Exploring Operation: 76-41=35, Resulting Numbers: [98, 30, 35]
Generated Node #0,3: 84:[98, 30, 35] Operation: 76-41=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[41, 30, 22], Operations: ['98-76=22']
Exploring Operation: 41-30=11, Resulting Numbers: [22, 11]
Generated Node #0,1,0: 84:[22, 11] Operation: 41-30=11
Exploring Operation: 30-22=8, Resulting Numbers: [41, 8]
Generated Node #0,1,1: 84:[41, 8] Operation: 30-22=8
Exploring Operation: 30+22=52, Resulting Numbers: [41, 52]
Generated Node #0,1,2: 84:[41, 52] Operation: 30+22=52
Exploring Operation: 41-22=19, Resulting Numbers: [30, 19]
Generated Node #0,1,3: 84:[30, 19] Operation: 41-22=19
Moving to Node #0,1,0
Current State: 84:[22, 11], Operations: ['98-76=22', '41-30=11']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 22*11=242, Resulting Numbers: [242]
242,84 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[41, 8], Operations: ['98-76=22', '30-22=8']
Exploring Operation: 41*8=328, Resulting Numbers: [328]
328,84 unequal: No Solution
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Moving to Node #0,1,3
Current State: 84:[30, 19], Operations: ['98-76=22', '41-22=19']
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,84 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[41, 52], Operations: ['98-76=22', '30+22=52']
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 41*52=2132, Resulting Numbers: [2132]
2132,84 unequal: No Solution
Exploring Operation: 41+52=93, Resulting Numbers: [93]
93,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[41, 98, 46], Operations: ['76-30=46']
Exploring Operation: 98-41=57, Resulting Numbers: [46, 57]
Generated Node #0,0,0: 84:[46, 57] Operation: 98-41=57
Exploring Operation: 98-46=52, Resulting Numbers: [41, 52]
Generated Node #0,0,1: 84:[41, 52] Operation: 98-46=52
Exploring Operation: 46-41=5, Resulting Numbers: [98, 5]
Generated Node #0,0,2: 84:[98, 5] Operation: 46-41=5
Exploring Operation: 41+46=87, Resulting Numbers: [98, 87]
Generated Node #0,0,3: 84:[98, 87] Operation: 41+46=87
Moving to Node #0,0,1
Current State: 84:[41, 52], Operations: ['76-30=46', '98-46=52']
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 41+52=93, Resulting Numbers: [93]
93,84 unequal: No Solution
Exploring Operation: 41*52=2132, Resulting Numbers: [2132]
2132,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[98, 5], Operations: ['76-30=46', '46-41=5']
Exploring Operation: 98+5=103, Resulting Numbers: [103]
103,84 unequal: No Solution
Exploring Operation: 98*5=490, Resulting Numbers: [490]
490,84 unequal: No Solution
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[98, 87], Operations: ['76-30=46', '41+46=87']
Exploring Operation: 98+87=185, Resulting Numbers: [185]
185,84 unequal: No Solution
Exploring Operation: 98*87=8526, Resulting Numbers: [8526]
8526,84 unequal: No Solution
Exploring Operation: 98-87=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[46, 57], Operations: ['76-30=46', '98-41=57']
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 46+57=103, Resulting Numbers: [103]
103,84 unequal: No Solution
Exploring Operation: 46*57=2622, Resulting Numbers: [2622]
2622,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[98, 76, 11], Operations: ['41-30=11']
Exploring Operation: 98-11=87, Resulting Numbers: [76, 87]
Generated Node #0,2,0: 84:[76, 87] Operation: 98-11=87
Exploring Operation: 98+11=109, Resulting Numbers: [76, 109]
Generated Node #0,2,1: 84:[76, 109] Operation: 98+11=109
Exploring Operation: 76+11=87, Resulting Numbers: [98, 87]
Generated Node #0,2,2: 84:[98, 87] Operation: 76+11=87
Exploring Operation: 98-76=22, Resulting Numbers: [11, 22]
Generated Node #0,2,3: 84:[11, 22] Operation: 98-76=22
Moving to Node #0,2,3
Current State: 84:[11, 22], Operations: ['41-30=11', '98-76=22']
Exploring Operation: 11*22=242, Resulting Numbers: [242]
242,84 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[76, 87], Operations: ['41-30=11', '98-11=87']
Exploring Operation: 76+87=163, Resulting Numbers: [163]
163,84 unequal: No Solution
Exploring Operation: 87-76=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 76*87=6612, Resulting Numbers: [6612]
6612,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[98, 87], Operations: ['41-30=11', '76+11=87']
Exploring Operation: 98*87=8526, Resulting Numbers: [8526]
8526,84 unequal: No Solution
Exploring Operation: 98+87=185, Resulting Numbers: [185]
185,84 unequal: No Solution
Exploring Operation: 98-87=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[76, 109], Operations: ['41-30=11', '98+11=109']
Exploring Operation: 109-76=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 76*109=8284, Resulting Numbers: [8284]
8284,84 unequal: No Solution
Exploring Operation: 76+109=185, Resulting Numbers: [185]
185,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 84:[98, 30, 35], Operations: ['76-41=35']
Exploring Operation: 35-30=5, Resulting Numbers: [98, 5]
Generated Node #0,3,0: 84:[98, 5] Operation: 35-30=5
Exploring Operation: 98-30=68, Resulting Numbers: [35, 68]
Generated Node #0,3,1: 84:[35, 68] Operation: 98-30=68
Exploring Operation: 30+35=65, Resulting Numbers: [98, 65]
Generated Node #0,3,2: 84:[98, 65] Operation: 30+35=65
Exploring Operation: 98-35=63, Resulting Numbers: [30, 63]
Generated Node #0,3,3: 84:[30, 63] Operation: 98-35=63
Moving to Node #0,3,0
Current State: 84:[98, 5], Operations: ['76-41=35', '35-30=5']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,84 unequal: No Solution
Exploring Operation: 98+5=103, Resulting Numbers: [103]
103,84 unequal: No Solution
Exploring Operation: 98*5=490, Resulting Numbers: [490]
490,84 unequal: No Solution
Moving to Node #0,3,3
Current State: 84:[30, 63], Operations: ['76-41=35', '98-35=63']
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 30+63=93, Resulting Numbers: [93]
93,84 unequal: No Solution
Exploring Operation: 30*63=1890, Resulting Numbers: [1890]
1890,84 unequal: No Solution
Moving to Node #0,3,1
Current State: 84:[35, 68], Operations: ['76-41=35', '98-30=68']
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 35*68=2380, Resulting Numbers: [2380]
2380,84 unequal: No Solution
Exploring Operation: 35+68=103, Resulting Numbers: [103]
103,84 unequal: No Solution
Moving to Node #0,3,2
Current State: 84:[98, 65], Operations: ['76-41=35', '30+35=65']
Exploring Operation: 98+65=163, Resulting Numbers: [163]
163,84 unequal: No Solution
Exploring Operation: 98-65=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 98*65=6370, Resulting Numbers: [6370]
6370,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
80,
53,
63,
83
] | 32 | [
"83-80=3",
"63/3=21",
"53-21=32"
] | Current State: 32:[80, 53, 63, 83], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [53, 63, 3]
Generated Node #2: [53, 63, 3] from Operation: 83-80=3
Current State: 32:[53, 63, 3], Operations: ['83-80=3']
Exploring Operation: 63/3=21, Resulting Numbers: [53, 21]
Generated Node #3: [53, 21] from Operation: 63/3=21
Current State: 32:[53, 21], Operations: ['83-80=3', '63/3=21']
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[80, 53, 63, 83], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [53, 63, 3]
Generated Node #0,0: 32:[53, 63, 3] Operation: 83-80=3
Moving to Node #0,0
Current State: 32:[53, 63, 3], Operations: ['83-80=3']
Exploring Operation: 63-53=10, Resulting Numbers: [3, 10]
Generated Node #0,0,0: 32:[3, 10] Operation: 63-53=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[3, 10], Operations: ['83-80=3', '63-53=10']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
9,
18,
71,
16
] | 23 | [
"9+71=80",
"80/16=5",
"18+5=23"
] | Current State: 23:[9, 18, 71, 16], Operations: []
Exploring Operation: 9+71=80, Resulting Numbers: [18, 16, 80]
Generated Node #2: [18, 16, 80] from Operation: 9+71=80
Current State: 23:[18, 16, 80], Operations: ['9+71=80']
Exploring Operation: 80/16=5, Resulting Numbers: [18, 5]
Generated Node #3: [18, 5] from Operation: 80/16=5
Current State: 23:[18, 5], Operations: ['9+71=80', '80/16=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[9, 18, 71, 16], Operations: []
Exploring Operation: 71-9=62, Resulting Numbers: [18, 16, 62]
Generated Node #0,0: 23:[18, 16, 62] Operation: 71-9=62
Exploring Operation: 71-18=53, Resulting Numbers: [9, 16, 53]
Generated Node #0,1: 23:[9, 16, 53] Operation: 71-18=53
Moving to Node #0,0
Current State: 23:[18, 16, 62], Operations: ['71-9=62']
Exploring Operation: 62-16=46, Resulting Numbers: [18, 46]
Generated Node #0,0,0: 23:[18, 46] Operation: 62-16=46
Exploring Operation: 62-18=44, Resulting Numbers: [16, 44]
Generated Node #0,0,1: 23:[16, 44] Operation: 62-18=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[18, 46], Operations: ['71-9=62', '62-16=46']
Exploring Operation: 18+46=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,23 unequal: No Solution
No 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: 23:[16, 44], Operations: ['71-9=62', '62-18=44']
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,23 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,23 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: 23:[9, 16, 53], Operations: ['71-18=53']
Exploring Operation: 53-9=44, Resulting Numbers: [16, 44]
Generated Node #0,1,0: 23:[16, 44] Operation: 53-9=44
Exploring Operation: 53-16=37, Resulting Numbers: [9, 37]
Generated Node #0,1,1: 23:[9, 37] Operation: 53-16=37
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[16, 44], Operations: ['71-18=53', '53-9=44']
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,23 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,23 unequal: No Solution
No 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: 23:[9, 37], Operations: ['71-18=53', '53-16=37']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,23 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 |
[
3,
11,
75,
11
] | 24 | [
"75/3=25",
"11/11=1",
"25-1=24"
] | Current State: 24:[3, 11, 75, 11], Operations: []
Exploring Operation: 75/3=25, Resulting Numbers: [11, 11, 25]
Generated Node #2: [11, 11, 25] from Operation: 75/3=25
Current State: 24:[11, 11, 25], Operations: ['75/3=25']
Exploring Operation: 11/11=1, Resulting Numbers: [25, 1]
Generated Node #3: [25, 1] from Operation: 11/11=1
Current State: 24:[25, 1], Operations: ['75/3=25', '11/11=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[3, 11, 75, 11], Operations: []
Exploring Operation: 11-3=8, Resulting Numbers: [75, 11, 8]
Generated Node #0,0: 24:[75, 11, 8] Operation: 11-3=8
Exploring Operation: 75-11=64, Resulting Numbers: [3, 11, 64]
Generated Node #0,1: 24:[3, 11, 64] Operation: 75-11=64
Exploring Operation: 75-3=72, Resulting Numbers: [11, 11, 72]
Generated Node #0,2: 24:[11, 11, 72] Operation: 75-3=72
Exploring Operation: 75/3=25, Resulting Numbers: [11, 11, 25]
Generated Node #0,3: 24:[11, 11, 25] Operation: 75/3=25
Exploring Operation: 75-11=64, Resulting Numbers: [3, 11, 64]
Generated Node #0,4: 24:[3, 11, 64] Operation: 75-11=64
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[11, 11, 25], Operations: ['75/3=25']
Exploring Operation: 11-11=0, Resulting Numbers: [25, 0]
Generated Node #0,3,0: 24:[25, 0] Operation: 11-11=0
Exploring Operation: 25-11=14, Resulting Numbers: [11, 14]
Generated Node #0,3,1: 24:[11, 14] Operation: 25-11=14
Exploring Operation: 11/11=1, Resulting Numbers: [25, 1]
Generated Node #0,3,2: 24:[25, 1] Operation: 11/11=1
Exploring Operation: 11+11=22, Resulting Numbers: [25, 22]
Generated Node #0,3,3: 24:[25, 22] Operation: 11+11=22
Exploring Operation: 25-11=14, Resulting Numbers: [11, 14]
Generated Node #0,3,4: 24:[11, 14] Operation: 25-11=14
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 24:[25, 1], Operations: ['75/3=25', '11/11=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[3, 11, 75, 11], Operations: []
Exploring Operation: 75/3=25, Resulting Numbers: [11, 11, 25]
Generated Node #0,3: 24:[11, 11, 25] Operation: 75/3=25
Moving to Node #0,3
Current State: 24:[11, 11, 25], Operations: ['75/3=25']
Exploring Operation: 11/11=1, Resulting Numbers: [25, 1]
Generated Node #0,3,2: 24:[25, 1] Operation: 11/11=1
Moving to Node #0,3,2
Current State: 24:[25, 1], Operations: ['75/3=25', '11/11=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
11,
98,
22,
77
] | 91 | [
"22-11=11",
"77/11=7",
"98-7=91"
] | Current State: 91:[11, 98, 22, 77], Operations: []
Exploring Operation: 22-11=11, Resulting Numbers: [98, 77, 11]
Generated Node #2: [98, 77, 11] from Operation: 22-11=11
Current State: 91:[98, 77, 11], Operations: ['22-11=11']
Exploring Operation: 77/11=7, Resulting Numbers: [98, 7]
Generated Node #3: [98, 7] from Operation: 77/11=7
Current State: 91:[98, 7], Operations: ['22-11=11', '77/11=7']
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[11, 98, 22, 77], Operations: []
Exploring Operation: 22+77=99, Resulting Numbers: [11, 98, 99]
Generated Node #0,0: 91:[11, 98, 99] Operation: 22+77=99
Exploring Operation: 11+77=88, Resulting Numbers: [98, 22, 88]
Generated Node #0,1: 91:[98, 22, 88] Operation: 11+77=88
Exploring Operation: 77/11=7, Resulting Numbers: [98, 22, 7]
Generated Node #0,2: 91:[98, 22, 7] Operation: 77/11=7
Exploring Operation: 98-77=21, Resulting Numbers: [11, 22, 21]
Generated Node #0,3: 91:[11, 22, 21] Operation: 98-77=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[98, 22, 7], Operations: ['77/11=7']
Exploring Operation: 98/7=14, Resulting Numbers: [22, 14]
Generated Node #0,2,0: 91:[22, 14] Operation: 98/7=14
Exploring Operation: 98-22=76, Resulting Numbers: [7, 76]
Generated Node #0,2,1: 91:[7, 76] Operation: 98-22=76
Exploring Operation: 22-7=15, Resulting Numbers: [98, 15]
Generated Node #0,2,2: 91:[98, 15] Operation: 22-7=15
Exploring Operation: 98-7=91, Resulting Numbers: [22, 91]
Generated Node #0,2,3: 91:[22, 91] Operation: 98-7=91
Moving to Node #0,2,2
Current State: 91:[98, 15], Operations: ['77/11=7', '22-7=15']
Exploring Operation: 98*15=1470, Resulting Numbers: [1470]
1470,91 unequal: No Solution
Exploring Operation: 98+15=113, Resulting Numbers: [113]
113,91 unequal: No Solution
Exploring Operation: 98-15=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Moving to Node #0,2,3
Current State: 91:[22, 91], Operations: ['77/11=7', '98-7=91']
Exploring Operation: 22+91=113, Resulting Numbers: [113]
113,91 unequal: No Solution
Exploring Operation: 22*91=2002, Resulting Numbers: [2002]
2002,91 unequal: No Solution
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[22, 14], Operations: ['77/11=7', '98/7=14']
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[7, 76], Operations: ['77/11=7', '98-22=76']
Exploring Operation: 7*76=532, Resulting Numbers: [532]
532,91 unequal: No Solution
Exploring Operation: 76-7=69, Resulting Numbers: [69]
69,91 unequal: No Solution
Exploring Operation: 7+76=83, Resulting Numbers: [83]
83,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[11, 98, 99], Operations: ['22+77=99']
Exploring Operation: 99/11=9, Resulting Numbers: [98, 9]
Generated Node #0,0,0: 91:[98, 9] Operation: 99/11=9
Exploring Operation: 99-98=1, Resulting Numbers: [11, 1]
Generated Node #0,0,1: 91:[11, 1] Operation: 99-98=1
Exploring Operation: 98-11=87, Resulting Numbers: [99, 87]
Generated Node #0,0,2: 91:[99, 87] Operation: 98-11=87
Exploring Operation: 99-11=88, Resulting Numbers: [98, 88]
Generated Node #0,0,3: 91:[98, 88] Operation: 99-11=88
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[11, 1], Operations: ['22+77=99', '99-98=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,91 unequal: No Solution
No 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: 91:[98, 9], Operations: ['22+77=99', '99/11=9']
Exploring Operation: 98*9=882, Resulting Numbers: [882]
882,91 unequal: No Solution
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 98+9=107, Resulting Numbers: [107]
107,91 unequal: No Solution
No 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: 91:[98, 88], Operations: ['22+77=99', '99-11=88']
Exploring Operation: 98+88=186, Resulting Numbers: [186]
186,91 unequal: No Solution
Exploring Operation: 98-88=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 98*88=8624, Resulting Numbers: [8624]
8624,91 unequal: No Solution
No 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: 91:[99, 87], Operations: ['22+77=99', '98-11=87']
Exploring Operation: 99-87=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 99+87=186, Resulting Numbers: [186]
186,91 unequal: No Solution
Exploring Operation: 99*87=8613, Resulting Numbers: [8613]
8613,91 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: 91:[98, 22, 88], Operations: ['11+77=88']
Exploring Operation: 22+88=110, Resulting Numbers: [98, 110]
Generated Node #0,1,0: 91:[98, 110] Operation: 22+88=110
Exploring Operation: 88/22=4, Resulting Numbers: [98, 4]
Generated Node #0,1,1: 91:[98, 4] Operation: 88/22=4
Exploring Operation: 98-22=76, Resulting Numbers: [88, 76]
Generated Node #0,1,2: 91:[88, 76] Operation: 98-22=76
Exploring Operation: 98-88=10, Resulting Numbers: [22, 10]
Generated Node #0,1,3: 91:[22, 10] Operation: 98-88=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[98, 4], Operations: ['11+77=88', '88/22=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,91 unequal: No Solution
Exploring Operation: 98+4=102, Resulting Numbers: [102]
102,91 unequal: No Solution
Exploring Operation: 98*4=392, Resulting Numbers: [392]
392,91 unequal: No Solution
No 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: 91:[22, 10], Operations: ['11+77=88', '98-88=10']
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,91 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 22*10=220, Resulting Numbers: [220]
220,91 unequal: No Solution
No 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: 91:[88, 76], Operations: ['11+77=88', '98-22=76']
Exploring Operation: 88-76=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 88+76=164, Resulting Numbers: [164]
164,91 unequal: No Solution
Exploring Operation: 88*76=6688, Resulting Numbers: [6688]
6688,91 unequal: No Solution
No 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: 91:[98, 110], Operations: ['11+77=88', '22+88=110']
Exploring Operation: 98*110=10780, Resulting Numbers: [10780]
10780,91 unequal: No Solution
Exploring Operation: 98+110=208, Resulting Numbers: [208]
208,91 unequal: No Solution
Exploring Operation: 110-98=12, Resulting Numbers: [12]
12,91 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: 91:[11, 22, 21], Operations: ['98-77=21']
Exploring Operation: 21-11=10, Resulting Numbers: [22, 10]
Generated Node #0,3,0: 91:[22, 10] Operation: 21-11=10
Exploring Operation: 22-11=11, Resulting Numbers: [21, 11]
Generated Node #0,3,1: 91:[21, 11] Operation: 22-11=11
Exploring Operation: 22-21=1, Resulting Numbers: [11, 1]
Generated Node #0,3,2: 91:[11, 1] Operation: 22-21=1
Exploring Operation: 22/11=2, Resulting Numbers: [21, 2]
Generated Node #0,3,3: 91:[21, 2] Operation: 22/11=2
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 91:[11, 1], Operations: ['98-77=21', '22-21=1']
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,91 unequal: No Solution
No 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: 91:[21, 11], Operations: ['98-77=21', '22-11=11']
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,91 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,91 unequal: No Solution
No 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: 91:[22, 10], Operations: ['98-77=21', '21-11=10']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 22*10=220, Resulting Numbers: [220]
220,91 unequal: No Solution
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,91 unequal: No Solution
No 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: 91:[21, 2], Operations: ['98-77=21', '22/11=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,91 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,91 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 |
[
95,
90,
47,
74
] | 32 | [
"95-90=5",
"74-47=27",
"5+27=32"
] | Current State: 32:[95, 90, 47, 74], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [47, 74, 5]
Generated Node #2: [47, 74, 5] from Operation: 95-90=5
Current State: 32:[47, 74, 5], Operations: ['95-90=5']
Exploring Operation: 74-47=27, Resulting Numbers: [5, 27]
Generated Node #3: [5, 27] from Operation: 74-47=27
Current State: 32:[5, 27], Operations: ['95-90=5', '74-47=27']
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[95, 90, 47, 74], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [47, 74, 5]
Generated Node #0,0: 32:[47, 74, 5] Operation: 95-90=5
Exploring Operation: 95-74=21, Resulting Numbers: [90, 47, 21]
Generated Node #0,1: 32:[90, 47, 21] Operation: 95-74=21
Moving to Node #0,0
Current State: 32:[47, 74, 5], Operations: ['95-90=5']
Exploring Operation: 74-47=27, Resulting Numbers: [5, 27]
Generated Node #0,0,0: 32:[5, 27] Operation: 74-47=27
Exploring Operation: 47-5=42, Resulting Numbers: [74, 42]
Generated Node #0,0,1: 32:[74, 42] Operation: 47-5=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[5, 27], Operations: ['95-90=5', '74-47=27']
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[95, 90, 47, 74], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [47, 74, 5]
Generated Node #0,0: 32:[47, 74, 5] Operation: 95-90=5
Moving to Node #0,0
Current State: 32:[47, 74, 5], Operations: ['95-90=5']
Exploring Operation: 74-47=27, Resulting Numbers: [5, 27]
Generated Node #0,0,0: 32:[5, 27] Operation: 74-47=27
Moving to Node #0,0,0
Current State: 32:[5, 27], Operations: ['95-90=5', '74-47=27']
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
48,
48,
18,
62
] | 81 | [
"48/48=1",
"18+62=80",
"1+80=81"
] | Current State: 81:[48, 48, 18, 62], Operations: []
Exploring Operation: 48/48=1, Resulting Numbers: [18, 62, 1]
Generated Node #2: [18, 62, 1] from Operation: 48/48=1
Current State: 81:[18, 62, 1], Operations: ['48/48=1']
Exploring Operation: 18+62=80, Resulting Numbers: [1, 80]
Generated Node #3: [1, 80] from Operation: 18+62=80
Current State: 81:[1, 80], Operations: ['48/48=1', '18+62=80']
Exploring Operation: 1+80=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[48, 48, 18, 62], Operations: []
Exploring Operation: 48-48=0, Resulting Numbers: [18, 62, 0]
Generated Node #0,0: 81:[18, 62, 0] Operation: 48-48=0
Exploring Operation: 62-48=14, Resulting Numbers: [48, 18, 14]
Generated Node #0,1: 81:[48, 18, 14] Operation: 62-48=14
Exploring Operation: 48/48=1, Resulting Numbers: [18, 62, 1]
Generated Node #0,2: 81:[18, 62, 1] Operation: 48/48=1
Moving to Node #0,2
Current State: 81:[18, 62, 1], Operations: ['48/48=1']
Exploring Operation: 62-18=44, Resulting Numbers: [1, 44]
Generated Node #0,2,0: 81:[1, 44] Operation: 62-18=44
Exploring Operation: 18+1=19, Resulting Numbers: [62, 19]
Generated Node #0,2,1: 81:[62, 19] Operation: 18+1=19
Exploring Operation: 18+62=80, Resulting Numbers: [1, 80]
Generated Node #0,2,2: 81:[1, 80] Operation: 18+62=80
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[1, 80], Operations: ['48/48=1', '18+62=80']
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 1+80=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[48, 48, 18, 62], Operations: []
Exploring Operation: 48/48=1, Resulting Numbers: [18, 62, 1]
Generated Node #0,2: 81:[18, 62, 1] Operation: 48/48=1
Moving to Node #0,2
Current State: 81:[18, 62, 1], Operations: ['48/48=1']
Exploring Operation: 18+62=80, Resulting Numbers: [1, 80]
Generated Node #0,2,2: 81:[1, 80] Operation: 18+62=80
Moving to Node #0,2,2
Current State: 81:[1, 80], Operations: ['48/48=1', '18+62=80']
Exploring Operation: 1+80=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
89,
32,
95,
58
] | 54 | [
"89*58=5162",
"5162-32=5130",
"5130/95=54"
] | Current State: 54:[89, 32, 95, 58], Operations: []
Exploring Operation: 89*58=5162, Resulting Numbers: [32, 95, 5162]
Generated Node #2: [32, 95, 5162] from Operation: 89*58=5162
Current State: 54:[32, 95, 5162], Operations: ['89*58=5162']
Exploring Operation: 5162-32=5130, Resulting Numbers: [95, 5130]
Generated Node #3: [95, 5130] from Operation: 5162-32=5130
Current State: 54:[95, 5130], Operations: ['89*58=5162', '5162-32=5130']
Exploring Operation: 5130/95=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[89, 32, 95, 58], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [32, 58, 6]
Generated Node #0,0: 54:[32, 58, 6] Operation: 95-89=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[32, 58, 6], Operations: ['95-89=6']
Exploring Operation: 58-32=26, Resulting Numbers: [6, 26]
Generated Node #0,0,0: 54:[6, 26] Operation: 58-32=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[6, 26], Operations: ['95-89=6', '58-32=26']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
25,
10,
27,
55
] | 63 | [
"25+10=35",
"55-27=28",
"35+28=63"
] | Current State: 63:[25, 10, 27, 55], Operations: []
Exploring Operation: 25+10=35, Resulting Numbers: [27, 55, 35]
Generated Node #2: [27, 55, 35] from Operation: 25+10=35
Current State: 63:[27, 55, 35], Operations: ['25+10=35']
Exploring Operation: 55-27=28, Resulting Numbers: [35, 28]
Generated Node #3: [35, 28] from Operation: 55-27=28
Current State: 63:[35, 28], Operations: ['25+10=35', '55-27=28']
Exploring Operation: 35+28=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[25, 10, 27, 55], Operations: []
Exploring Operation: 27-10=17, Resulting Numbers: [25, 55, 17]
Generated Node #0,0: 63:[25, 55, 17] Operation: 27-10=17
Exploring Operation: 55-27=28, Resulting Numbers: [25, 10, 28]
Generated Node #0,1: 63:[25, 10, 28] Operation: 55-27=28
Exploring Operation: 10+55=65, Resulting Numbers: [25, 27, 65]
Generated Node #0,2: 63:[25, 27, 65] Operation: 10+55=65
Exploring Operation: 27-25=2, Resulting Numbers: [10, 55, 2]
Generated Node #0,3: 63:[10, 55, 2] Operation: 27-25=2
Exploring Operation: 55-25=30, Resulting Numbers: [10, 27, 30]
Generated Node #0,4: 63:[10, 27, 30] Operation: 55-25=30
Moving to Node #0,3
Current State: 63:[10, 55, 2], Operations: ['27-25=2']
Exploring Operation: 10-2=8, Resulting Numbers: [55, 8]
Generated Node #0,3,0: 63:[55, 8] Operation: 10-2=8
Exploring Operation: 55+2=57, Resulting Numbers: [10, 57]
Generated Node #0,3,1: 63:[10, 57] Operation: 55+2=57
Exploring Operation: 10*2=20, Resulting Numbers: [55, 20]
Generated Node #0,3,2: 63:[55, 20] Operation: 10*2=20
Exploring Operation: 10/2=5, Resulting Numbers: [55, 5]
Generated Node #0,3,3: 63:[55, 5] Operation: 10/2=5
Exploring Operation: 10+55=65, Resulting Numbers: [2, 65]
Generated Node #0,3,4: 63:[2, 65] Operation: 10+55=65
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 63:[2, 65], Operations: ['27-25=2', '10+55=65']
Exploring Operation: 2*65=130, Resulting Numbers: [130]
130,63 unequal: No Solution
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,63 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[25, 10, 27, 55], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [10, 55, 2]
Generated Node #0,3: 63:[10, 55, 2] Operation: 27-25=2
Moving to Node #0,3
Current State: 63:[10, 55, 2], Operations: ['27-25=2']
Exploring Operation: 10+55=65, Resulting Numbers: [2, 65]
Generated Node #0,3,4: 63:[2, 65] Operation: 10+55=65
Moving to Node #0,3,4
Current State: 63:[2, 65], Operations: ['27-25=2', '10+55=65']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
16,
6,
75,
49
] | 28 | [
"16*6=96",
"75+49=124",
"124-96=28"
] | Current State: 28:[16, 6, 75, 49], Operations: []
Exploring Operation: 16*6=96, Resulting Numbers: [75, 49, 96]
Generated Node #2: [75, 49, 96] from Operation: 16*6=96
Current State: 28:[75, 49, 96], Operations: ['16*6=96']
Exploring Operation: 75+49=124, Resulting Numbers: [96, 124]
Generated Node #3: [96, 124] from Operation: 75+49=124
Current State: 28:[96, 124], Operations: ['16*6=96', '75+49=124']
Exploring Operation: 124-96=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[16, 6, 75, 49], Operations: []
Exploring Operation: 75-16=59, Resulting Numbers: [6, 49, 59]
Generated Node #0,0: 28:[6, 49, 59] Operation: 75-16=59
Exploring Operation: 49-16=33, Resulting Numbers: [6, 75, 33]
Generated Node #0,1: 28:[6, 75, 33] Operation: 49-16=33
Exploring Operation: 75-49=26, Resulting Numbers: [16, 6, 26]
Generated Node #0,2: 28:[16, 6, 26] Operation: 75-49=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[16, 6, 26], Operations: ['75-49=26']
Exploring Operation: 16-6=10, Resulting Numbers: [26, 10]
Generated Node #0,2,0: 28:[26, 10] Operation: 16-6=10
Exploring Operation: 26-16=10, Resulting Numbers: [6, 10]
Generated Node #0,2,1: 28:[6, 10] Operation: 26-16=10
Exploring Operation: 6+26=32, Resulting Numbers: [16, 32]
Generated Node #0,2,2: 28:[16, 32] Operation: 6+26=32
Moving to Node #0,2,1
Current State: 28:[6, 10], Operations: ['75-49=26', '26-16=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,28 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[26, 10], Operations: ['75-49=26', '16-6=10']
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,28 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[16, 32], Operations: ['75-49=26', '6+26=32']
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,28 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[6, 49, 59], Operations: ['75-16=59']
Exploring Operation: 59-6=53, Resulting Numbers: [49, 53]
Generated Node #0,0,0: 28:[49, 53] Operation: 59-6=53
Exploring Operation: 49-6=43, Resulting Numbers: [59, 43]
Generated Node #0,0,1: 28:[59, 43] Operation: 49-6=43
Exploring Operation: 59-49=10, Resulting Numbers: [6, 10]
Generated Node #0,0,2: 28:[6, 10] Operation: 59-49=10
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 28:[6, 10], Operations: ['75-16=59', '59-49=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,28 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[49, 53], Operations: ['75-16=59', '59-6=53']
Exploring Operation: 53-49=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 49*53=2597, Resulting Numbers: [2597]
2597,28 unequal: No Solution
Exploring Operation: 49+53=102, Resulting Numbers: [102]
102,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[59, 43], Operations: ['75-16=59', '49-6=43']
Exploring Operation: 59*43=2537, Resulting Numbers: [2537]
2537,28 unequal: No Solution
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 59+43=102, Resulting Numbers: [102]
102,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[6, 75, 33], Operations: ['49-16=33']
Exploring Operation: 75-33=42, Resulting Numbers: [6, 42]
Generated Node #0,1,0: 28:[6, 42] Operation: 75-33=42
Exploring Operation: 75-6=69, Resulting Numbers: [33, 69]
Generated Node #0,1,1: 28:[33, 69] Operation: 75-6=69
Exploring Operation: 33-6=27, Resulting Numbers: [75, 27]
Generated Node #0,1,2: 28:[75, 27] Operation: 33-6=27
Moving to Node #0,1,0
Current State: 28:[6, 42], Operations: ['49-16=33', '75-33=42']
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,28 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[33, 69], Operations: ['49-16=33', '75-6=69']
Exploring Operation: 33+69=102, Resulting Numbers: [102]
102,28 unequal: No Solution
Exploring Operation: 69-33=36, Resulting Numbers: [36]
36,28 unequal: No Solution
Exploring Operation: 33*69=2277, Resulting Numbers: [2277]
2277,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[75, 27], Operations: ['49-16=33', '33-6=27']
Exploring Operation: 75*27=2025, Resulting Numbers: [2025]
2025,28 unequal: No Solution
Exploring Operation: 75+27=102, Resulting Numbers: [102]
102,28 unequal: No Solution
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
71,
60,
90,
65
] | 45 | [
"71-65=6",
"90/6=15",
"60-15=45"
] | Current State: 45:[71, 60, 90, 65], Operations: []
Exploring Operation: 71-65=6, Resulting Numbers: [60, 90, 6]
Generated Node #2: [60, 90, 6] from Operation: 71-65=6
Current State: 45:[60, 90, 6], Operations: ['71-65=6']
Exploring Operation: 90/6=15, Resulting Numbers: [60, 15]
Generated Node #3: [60, 15] from Operation: 90/6=15
Current State: 45:[60, 15], Operations: ['71-65=6', '90/6=15']
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[71, 60, 90, 65], Operations: []
Exploring Operation: 90-65=25, Resulting Numbers: [71, 60, 25]
Generated Node #0,0: 45:[71, 60, 25] Operation: 90-65=25
Exploring Operation: 71-65=6, Resulting Numbers: [60, 90, 6]
Generated Node #0,1: 45:[60, 90, 6] Operation: 71-65=6
Exploring Operation: 90-60=30, Resulting Numbers: [71, 65, 30]
Generated Node #0,2: 45:[71, 65, 30] Operation: 90-60=30
Exploring Operation: 90-71=19, Resulting Numbers: [60, 65, 19]
Generated Node #0,3: 45:[60, 65, 19] Operation: 90-71=19
Start Sub Search at level 1: Moving to Node #0,3
Current State: 45:[60, 65, 19], Operations: ['90-71=19']
Exploring Operation: 65-60=5, Resulting Numbers: [19, 5]
Generated Node #0,3,0: 45:[19, 5] Operation: 65-60=5
Exploring Operation: 60+19=79, Resulting Numbers: [65, 79]
Generated Node #0,3,1: 45:[65, 79] Operation: 60+19=79
Exploring Operation: 65-19=46, Resulting Numbers: [60, 46]
Generated Node #0,3,2: 45:[60, 46] Operation: 65-19=46
Exploring Operation: 60-19=41, Resulting Numbers: [65, 41]
Generated Node #0,3,3: 45:[65, 41] Operation: 60-19=41
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 45:[19, 5], Operations: ['90-71=19', '65-60=5']
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,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,3,2
Current State: 45:[60, 46], Operations: ['90-71=19', '65-19=46']
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 60*46=2760, Resulting Numbers: [2760]
2760,45 unequal: No Solution
Exploring Operation: 60+46=106, Resulting Numbers: [106]
106,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,3,3
Current State: 45:[65, 41], Operations: ['90-71=19', '60-19=41']
Exploring Operation: 65+41=106, Resulting Numbers: [106]
106,45 unequal: No Solution
Exploring Operation: 65*41=2665, Resulting Numbers: [2665]
2665,45 unequal: No Solution
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,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,3,1
Current State: 45:[65, 79], Operations: ['90-71=19', '60+19=79']
Exploring Operation: 65*79=5135, Resulting Numbers: [5135]
5135,45 unequal: No Solution
Exploring Operation: 79-65=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 65+79=144, Resulting Numbers: [144]
144,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[71, 60, 25], Operations: ['90-65=25']
Exploring Operation: 71+25=96, Resulting Numbers: [60, 96]
Generated Node #0,0,0: 45:[60, 96] Operation: 71+25=96
Exploring Operation: 60-25=35, Resulting Numbers: [71, 35]
Generated Node #0,0,1: 45:[71, 35] Operation: 60-25=35
Exploring Operation: 71-25=46, Resulting Numbers: [60, 46]
Generated Node #0,0,2: 45:[60, 46] Operation: 71-25=46
Exploring Operation: 71-60=11, Resulting Numbers: [25, 11]
Generated Node #0,0,3: 45:[25, 11] Operation: 71-60=11
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 45:[25, 11], Operations: ['90-65=25', '71-60=11']
Exploring Operation: 25*11=275, Resulting Numbers: [275]
275,45 unequal: No Solution
Exploring Operation: 25+11=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,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,2
Current State: 45:[60, 46], Operations: ['90-65=25', '71-25=46']
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,45 unequal: No Solution
Exploring Operation: 60*46=2760, Resulting Numbers: [2760]
2760,45 unequal: No Solution
Exploring Operation: 60+46=106, Resulting Numbers: [106]
106,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:[71, 35], Operations: ['90-65=25', '60-25=35']
Exploring Operation: 71+35=106, Resulting Numbers: [106]
106,45 unequal: No Solution
Exploring Operation: 71*35=2485, Resulting Numbers: [2485]
2485,45 unequal: No Solution
Exploring Operation: 71-35=36, Resulting Numbers: [36]
36,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[60, 96], Operations: ['90-65=25', '71+25=96']
Exploring Operation: 60+96=156, Resulting Numbers: [156]
156,45 unequal: No Solution
Exploring Operation: 96-60=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 60*96=5760, Resulting Numbers: [5760]
5760,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[60, 90, 6], Operations: ['71-65=6']
Exploring Operation: 60/6=10, Resulting Numbers: [90, 10]
Generated Node #0,1,0: 45:[90, 10] Operation: 60/6=10
Exploring Operation: 90/6=15, Resulting Numbers: [60, 15]
Generated Node #0,1,1: 45:[60, 15] Operation: 90/6=15
Exploring Operation: 60-6=54, Resulting Numbers: [90, 54]
Generated Node #0,1,2: 45:[90, 54] Operation: 60-6=54
Exploring Operation: 90-60=30, Resulting Numbers: [6, 30]
Generated Node #0,1,3: 45:[6, 30] Operation: 90-60=30
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[60, 15], Operations: ['71-65=6', '90/6=15']
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[71, 60, 90, 65], Operations: []
Exploring Operation: 71-65=6, Resulting Numbers: [60, 90, 6]
Generated Node #0,1: 45:[60, 90, 6] Operation: 71-65=6
Moving to Node #0,1
Current State: 45:[60, 90, 6], Operations: ['71-65=6']
Exploring Operation: 90/6=15, Resulting Numbers: [60, 15]
Generated Node #0,1,1: 45:[60, 15] Operation: 90/6=15
Moving to Node #0,1,1
Current State: 45:[60, 15], Operations: ['71-65=6', '90/6=15']
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960069 | hs_4 | mult_heuristic |
[
60,
62,
59,
17
] | 74 | [
"62-60=2",
"59+17=76",
"76-2=74"
] | Current State: 74:[60, 62, 59, 17], Operations: []
Exploring Operation: 62-60=2, Resulting Numbers: [59, 17, 2]
Generated Node #2: [59, 17, 2] from Operation: 62-60=2
Current State: 74:[59, 17, 2], Operations: ['62-60=2']
Exploring Operation: 59+17=76, Resulting Numbers: [2, 76]
Generated Node #3: [2, 76] from Operation: 59+17=76
Current State: 74:[2, 76], Operations: ['62-60=2', '59+17=76']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[60, 62, 59, 17], Operations: []
Exploring Operation: 59+17=76, Resulting Numbers: [60, 62, 76]
Generated Node #0,0: 74:[60, 62, 76] Operation: 59+17=76
Exploring Operation: 60-59=1, Resulting Numbers: [62, 17, 1]
Generated Node #0,1: 74:[62, 17, 1] Operation: 60-59=1
Moving to Node #0,0
Current State: 74:[60, 62, 76], Operations: ['59+17=76']
Exploring Operation: 62-60=2, Resulting Numbers: [76, 2]
Generated Node #0,0,0: 74:[76, 2] Operation: 62-60=2
Exploring Operation: 76-60=16, Resulting Numbers: [62, 16]
Generated Node #0,0,1: 74:[62, 16] Operation: 76-60=16
Moving to Node #0,1
Current State: 74:[62, 17, 1], Operations: ['60-59=1']
Exploring Operation: 62+17=79, Resulting Numbers: [1, 79]
Generated Node #0,1,0: 74:[1, 79] Operation: 62+17=79
Exploring Operation: 62-17=45, Resulting Numbers: [1, 45]
Generated Node #0,1,1: 74:[1, 45] Operation: 62-17=45
Moving to Node #0,0,0
Current State: 74:[76, 2], Operations: ['59+17=76', '62-60=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[60, 62, 59, 17], Operations: []
Exploring Operation: 59+17=76, Resulting Numbers: [60, 62, 76]
Generated Node #0,0: 74:[60, 62, 76] Operation: 59+17=76
Moving to Node #0,0
Current State: 74:[60, 62, 76], Operations: ['59+17=76']
Exploring Operation: 62-60=2, Resulting Numbers: [76, 2]
Generated Node #0,0,0: 74:[76, 2] Operation: 62-60=2
Moving to Node #0,0,0
Current State: 74:[76, 2], Operations: ['59+17=76', '62-60=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
69,
6,
12,
30
] | 86 | [
"69+12=81",
"30/6=5",
"81+5=86"
] | Current State: 86:[69, 6, 12, 30], Operations: []
Exploring Operation: 69+12=81, Resulting Numbers: [6, 30, 81]
Generated Node #2: [6, 30, 81] from Operation: 69+12=81
Current State: 86:[6, 30, 81], Operations: ['69+12=81']
Exploring Operation: 30/6=5, Resulting Numbers: [81, 5]
Generated Node #3: [81, 5] from Operation: 30/6=5
Current State: 86:[81, 5], Operations: ['69+12=81', '30/6=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[69, 6, 12, 30], Operations: []
Exploring Operation: 69-30=39, Resulting Numbers: [6, 12, 39]
Generated Node #0,0: 86:[6, 12, 39] Operation: 69-30=39
Moving to Node #0,0
Current State: 86:[6, 12, 39], Operations: ['69-30=39']
Exploring Operation: 12/6=2, Resulting Numbers: [39, 2]
Generated Node #0,0,0: 86:[39, 2] Operation: 12/6=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[39, 2], Operations: ['69-30=39', '12/6=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
89,
78,
19,
95
] | 55 | [
"89-78=11",
"95/19=5",
"11*5=55"
] | Current State: 55:[89, 78, 19, 95], Operations: []
Exploring Operation: 89-78=11, Resulting Numbers: [19, 95, 11]
Generated Node #2: [19, 95, 11] from Operation: 89-78=11
Current State: 55:[19, 95, 11], Operations: ['89-78=11']
Exploring Operation: 95/19=5, Resulting Numbers: [11, 5]
Generated Node #3: [11, 5] from Operation: 95/19=5
Current State: 55:[11, 5], Operations: ['89-78=11', '95/19=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[89, 78, 19, 95], Operations: []
Exploring Operation: 95/19=5, Resulting Numbers: [89, 78, 5]
Generated Node #0,0: 55:[89, 78, 5] Operation: 95/19=5
Exploring Operation: 95-89=6, Resulting Numbers: [78, 19, 6]
Generated Node #0,1: 55:[78, 19, 6] Operation: 95-89=6
Exploring Operation: 89-78=11, Resulting Numbers: [19, 95, 11]
Generated Node #0,2: 55:[19, 95, 11] Operation: 89-78=11
Exploring Operation: 95-78=17, Resulting Numbers: [89, 19, 17]
Generated Node #0,3: 55:[89, 19, 17] Operation: 95-78=17
Moving to Node #0,1
Current State: 55:[78, 19, 6], Operations: ['95-89=6']
Exploring Operation: 78-6=72, Resulting Numbers: [19, 72]
Generated Node #0,1,0: 55:[19, 72] Operation: 78-6=72
Exploring Operation: 19-6=13, Resulting Numbers: [78, 13]
Generated Node #0,1,1: 55:[78, 13] Operation: 19-6=13
Exploring Operation: 78/6=13, Resulting Numbers: [19, 13]
Generated Node #0,1,2: 55:[19, 13] Operation: 78/6=13
Exploring Operation: 78-19=59, Resulting Numbers: [6, 59]
Generated Node #0,1,3: 55:[6, 59] Operation: 78-19=59
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 55:[6, 59], Operations: ['95-89=6', '78-19=59']
Exploring Operation: 6+59=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 6*59=354, Resulting Numbers: [354]
354,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,1,2
Current State: 55:[19, 13], Operations: ['95-89=6', '78/6=13']
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 19*13=247, Resulting Numbers: [247]
247,55 unequal: No Solution
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,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,1,0
Current State: 55:[19, 72], Operations: ['95-89=6', '78-6=72']
Exploring Operation: 19*72=1368, Resulting Numbers: [1368]
1368,55 unequal: No Solution
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 19+72=91, Resulting Numbers: [91]
91,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,1,1
Current State: 55:[78, 13], Operations: ['95-89=6', '19-6=13']
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 78+13=91, Resulting Numbers: [91]
91,55 unequal: No Solution
Exploring Operation: 78-13=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Exploring Operation: 78*13=1014, Resulting Numbers: [1014]
1014,55 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: 55:[89, 19, 17], Operations: ['95-78=17']
Exploring Operation: 89-17=72, Resulting Numbers: [19, 72]
Generated Node #0,3,0: 55:[19, 72] Operation: 89-17=72
Exploring Operation: 19-17=2, Resulting Numbers: [89, 2]
Generated Node #0,3,1: 55:[89, 2] Operation: 19-17=2
Exploring Operation: 89-19=70, Resulting Numbers: [17, 70]
Generated Node #0,3,2: 55:[17, 70] Operation: 89-19=70
Exploring Operation: 19+17=36, Resulting Numbers: [89, 36]
Generated Node #0,3,3: 55:[89, 36] Operation: 19+17=36
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 55:[17, 70], Operations: ['95-78=17', '89-19=70']
Exploring Operation: 17*70=1190, Resulting Numbers: [1190]
1190,55 unequal: No Solution
Exploring Operation: 17+70=87, Resulting Numbers: [87]
87,55 unequal: No Solution
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,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,0
Current State: 55:[19, 72], Operations: ['95-78=17', '89-17=72']
Exploring Operation: 19+72=91, Resulting Numbers: [91]
91,55 unequal: No Solution
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 19*72=1368, Resulting Numbers: [1368]
1368,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:[89, 2], Operations: ['95-78=17', '19-17=2']
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,55 unequal: No Solution
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,55 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,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:[89, 36], Operations: ['95-78=17', '19+17=36']
Exploring Operation: 89+36=125, Resulting Numbers: [125]
125,55 unequal: No Solution
Exploring Operation: 89-36=53, Resulting Numbers: [53]
53,55 unequal: No Solution
Exploring Operation: 89*36=3204, Resulting Numbers: [3204]
3204,55 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: 55:[19, 95, 11], Operations: ['89-78=11']
Exploring Operation: 95-11=84, Resulting Numbers: [19, 84]
Generated Node #0,2,0: 55:[19, 84] Operation: 95-11=84
Exploring Operation: 95-19=76, Resulting Numbers: [11, 76]
Generated Node #0,2,1: 55:[11, 76] Operation: 95-19=76
Exploring Operation: 19-11=8, Resulting Numbers: [95, 8]
Generated Node #0,2,2: 55:[95, 8] Operation: 19-11=8
Exploring Operation: 95/19=5, Resulting Numbers: [11, 5]
Generated Node #0,2,3: 55:[11, 5] Operation: 95/19=5
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 55:[11, 5], Operations: ['89-78=11', '95/19=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[89, 78, 19, 95], Operations: []
Exploring Operation: 89-78=11, Resulting Numbers: [19, 95, 11]
Generated Node #0,2: 55:[19, 95, 11] Operation: 89-78=11
Moving to Node #0,2
Current State: 55:[19, 95, 11], Operations: ['89-78=11']
Exploring Operation: 95/19=5, Resulting Numbers: [11, 5]
Generated Node #0,2,3: 55:[11, 5] Operation: 95/19=5
Moving to Node #0,2,3
Current State: 55:[11, 5], Operations: ['89-78=11', '95/19=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_4 | sum_heuristic |
[
52,
47,
85,
27
] | 50 | [
"52-47=5",
"27*5=135",
"135-85=50"
] | Current State: 50:[52, 47, 85, 27], Operations: []
Exploring Operation: 52-47=5, Resulting Numbers: [85, 27, 5]
Generated Node #2: [85, 27, 5] from Operation: 52-47=5
Current State: 50:[85, 27, 5], Operations: ['52-47=5']
Exploring Operation: 27*5=135, Resulting Numbers: [85, 135]
Generated Node #3: [85, 135] from Operation: 27*5=135
Current State: 50:[85, 135], Operations: ['52-47=5', '27*5=135']
Exploring Operation: 135-85=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[52, 47, 85, 27], Operations: []
Exploring Operation: 85-27=58, Resulting Numbers: [52, 47, 58]
Generated Node #0,0: 50:[52, 47, 58] Operation: 85-27=58
Exploring Operation: 85-52=33, Resulting Numbers: [47, 27, 33]
Generated Node #0,1: 50:[47, 27, 33] Operation: 85-52=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[52, 47, 58], Operations: ['85-27=58']
Exploring Operation: 58-52=6, Resulting Numbers: [47, 6]
Generated Node #0,0,0: 50:[47, 6] Operation: 58-52=6
Exploring Operation: 58-47=11, Resulting Numbers: [52, 11]
Generated Node #0,0,1: 50:[52, 11] Operation: 58-47=11
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 50:[52, 11], Operations: ['85-27=58', '58-47=11']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,50 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[47, 6], Operations: ['85-27=58', '58-52=6']
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[47, 27, 33], Operations: ['85-52=33']
Exploring Operation: 47-33=14, Resulting Numbers: [27, 14]
Generated Node #0,1,0: 50:[27, 14] Operation: 47-33=14
Exploring Operation: 33-27=6, Resulting Numbers: [47, 6]
Generated Node #0,1,1: 50:[47, 6] Operation: 33-27=6
Moving to Node #0,1,1
Current State: 50:[47, 6], Operations: ['85-52=33', '33-27=6']
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,50 unequal: No Solution
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[27, 14], Operations: ['85-52=33', '47-33=14']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
7,
54,
73,
53
] | 27 | [
"54-7=47",
"73-53=20",
"47-20=27"
] | Current State: 27:[7, 54, 73, 53], Operations: []
Exploring Operation: 54-7=47, Resulting Numbers: [73, 53, 47]
Generated Node #2: [73, 53, 47] from Operation: 54-7=47
Current State: 27:[73, 53, 47], Operations: ['54-7=47']
Exploring Operation: 73-53=20, Resulting Numbers: [47, 20]
Generated Node #3: [47, 20] from Operation: 73-53=20
Current State: 27:[47, 20], Operations: ['54-7=47', '73-53=20']
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[7, 54, 73, 53], Operations: []
Exploring Operation: 73-54=19, Resulting Numbers: [7, 53, 19]
Generated Node #0,0: 27:[7, 53, 19] Operation: 73-54=19
Exploring Operation: 73-53=20, Resulting Numbers: [7, 54, 20]
Generated Node #0,1: 27:[7, 54, 20] Operation: 73-53=20
Moving to Node #0,0
Current State: 27:[7, 53, 19], Operations: ['73-54=19']
Exploring Operation: 53-7=46, Resulting Numbers: [19, 46]
Generated Node #0,0,0: 27:[19, 46] Operation: 53-7=46
Exploring Operation: 53-19=34, Resulting Numbers: [7, 34]
Generated Node #0,0,1: 27:[7, 34] Operation: 53-19=34
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[7, 34], Operations: ['73-54=19', '53-19=34']
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,27 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[7, 54, 73, 53], Operations: []
Exploring Operation: 73-54=19, Resulting Numbers: [7, 53, 19]
Generated Node #0,0: 27:[7, 53, 19] Operation: 73-54=19
Moving to Node #0,0
Current State: 27:[7, 53, 19], Operations: ['73-54=19']
Exploring Operation: 53-19=34, Resulting Numbers: [7, 34]
Generated Node #0,0,1: 27:[7, 34] Operation: 53-19=34
Moving to Node #0,0,1
Current State: 27:[7, 34], Operations: ['73-54=19', '53-19=34']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
33,
52,
95,
56
] | 31 | [
"52*56=2912",
"33+2912=2945",
"2945/95=31"
] | Current State: 31:[33, 52, 95, 56], Operations: []
Exploring Operation: 52*56=2912, Resulting Numbers: [33, 95, 2912]
Generated Node #2: [33, 95, 2912] from Operation: 52*56=2912
Current State: 31:[33, 95, 2912], Operations: ['52*56=2912']
Exploring Operation: 33+2912=2945, Resulting Numbers: [95, 2945]
Generated Node #3: [95, 2945] from Operation: 33+2912=2945
Current State: 31:[95, 2945], Operations: ['52*56=2912', '33+2912=2945']
Exploring Operation: 2945/95=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[33, 52, 95, 56], Operations: []
Exploring Operation: 95-56=39, Resulting Numbers: [33, 52, 39]
Generated Node #0,0: 31:[33, 52, 39] Operation: 95-56=39
Moving to Node #0,0
Current State: 31:[33, 52, 39], Operations: ['95-56=39']
Exploring Operation: 52-33=19, Resulting Numbers: [39, 19]
Generated Node #0,0,0: 31:[39, 19] Operation: 52-33=19
Moving to Node #0,0,0
Current State: 31:[39, 19], Operations: ['95-56=39', '52-33=19']
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,31 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
60,
86,
90,
82
] | 37 | [
"90*82=7380",
"7380/60=123",
"123-86=37"
] | Current State: 37:[60, 86, 90, 82], Operations: []
Exploring Operation: 90*82=7380, Resulting Numbers: [60, 86, 7380]
Generated Node #2: [60, 86, 7380] from Operation: 90*82=7380
Current State: 37:[60, 86, 7380], Operations: ['90*82=7380']
Exploring Operation: 7380/60=123, Resulting Numbers: [86, 123]
Generated Node #3: [86, 123] from Operation: 7380/60=123
Current State: 37:[86, 123], Operations: ['90*82=7380', '7380/60=123']
Exploring Operation: 123-86=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[60, 86, 90, 82], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [60, 82, 4]
Generated Node #0,0: 37:[60, 82, 4] Operation: 90-86=4
Exploring Operation: 90-82=8, Resulting Numbers: [60, 86, 8]
Generated Node #0,1: 37:[60, 86, 8] Operation: 90-82=8
Exploring Operation: 90-60=30, Resulting Numbers: [86, 82, 30]
Generated Node #0,2: 37:[86, 82, 30] Operation: 90-60=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[60, 82, 4], Operations: ['90-86=4']
Exploring Operation: 82-4=78, Resulting Numbers: [60, 78]
Generated Node #0,0,0: 37:[60, 78] Operation: 82-4=78
Exploring Operation: 82-60=22, Resulting Numbers: [4, 22]
Generated Node #0,0,1: 37:[4, 22] Operation: 82-60=22
Exploring Operation: 60-4=56, Resulting Numbers: [82, 56]
Generated Node #0,0,2: 37:[82, 56] Operation: 60-4=56
Moving to Node #0,0,1
Current State: 37:[4, 22], Operations: ['90-86=4', '82-60=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,37 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,37 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[60, 78], Operations: ['90-86=4', '82-4=78']
Exploring Operation: 78-60=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Exploring Operation: 60*78=4680, Resulting Numbers: [4680]
4680,37 unequal: No Solution
Exploring Operation: 60+78=138, Resulting Numbers: [138]
138,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[82, 56], Operations: ['90-86=4', '60-4=56']
Exploring Operation: 82*56=4592, Resulting Numbers: [4592]
4592,37 unequal: No Solution
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,37 unequal: No Solution
Exploring Operation: 82+56=138, Resulting Numbers: [138]
138,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:[60, 86, 8], Operations: ['90-82=8']
Exploring Operation: 86-8=78, Resulting Numbers: [60, 78]
Generated Node #0,1,0: 37:[60, 78] Operation: 86-8=78
Exploring Operation: 60-8=52, Resulting Numbers: [86, 52]
Generated Node #0,1,1: 37:[86, 52] Operation: 60-8=52
Exploring Operation: 86-60=26, Resulting Numbers: [8, 26]
Generated Node #0,1,2: 37:[8, 26] Operation: 86-60=26
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 37:[8, 26], Operations: ['90-82=8', '86-60=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,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,1,0
Current State: 37:[60, 78], Operations: ['90-82=8', '86-8=78']
Exploring Operation: 60+78=138, Resulting Numbers: [138]
138,37 unequal: No Solution
Exploring Operation: 60*78=4680, Resulting Numbers: [4680]
4680,37 unequal: No Solution
Exploring Operation: 78-60=18, Resulting Numbers: [18]
18,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,1,1
Current State: 37:[86, 52], Operations: ['90-82=8', '60-8=52']
Exploring Operation: 86+52=138, Resulting Numbers: [138]
138,37 unequal: No Solution
Exploring Operation: 86*52=4472, Resulting Numbers: [4472]
4472,37 unequal: No Solution
Exploring Operation: 86-52=34, Resulting Numbers: [34]
34,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[86, 82, 30], Operations: ['90-60=30']
Exploring Operation: 82-30=52, Resulting Numbers: [86, 52]
Generated Node #0,2,0: 37:[86, 52] Operation: 82-30=52
Exploring Operation: 86-82=4, Resulting Numbers: [30, 4]
Generated Node #0,2,1: 37:[30, 4] Operation: 86-82=4
Exploring Operation: 86-30=56, Resulting Numbers: [82, 56]
Generated Node #0,2,2: 37:[82, 56] Operation: 86-30=56
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 37:[30, 4], Operations: ['90-60=30', '86-82=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,37 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,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,0
Current State: 37:[86, 52], Operations: ['90-60=30', '82-30=52']
Exploring Operation: 86*52=4472, Resulting Numbers: [4472]
4472,37 unequal: No Solution
Exploring Operation: 86+52=138, Resulting Numbers: [138]
138,37 unequal: No Solution
Exploring Operation: 86-52=34, Resulting Numbers: [34]
34,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:[82, 56], Operations: ['90-60=30', '86-30=56']
Exploring Operation: 82+56=138, Resulting Numbers: [138]
138,37 unequal: No Solution
Exploring Operation: 82*56=4592, Resulting Numbers: [4592]
4592,37 unequal: No Solution
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,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 |
[
57,
90,
76,
5
] | 66 | [
"57+90=147",
"76+5=81",
"147-81=66"
] | Current State: 66:[57, 90, 76, 5], Operations: []
Exploring Operation: 57+90=147, Resulting Numbers: [76, 5, 147]
Generated Node #2: [76, 5, 147] from Operation: 57+90=147
Current State: 66:[76, 5, 147], Operations: ['57+90=147']
Exploring Operation: 76+5=81, Resulting Numbers: [147, 81]
Generated Node #3: [147, 81] from Operation: 76+5=81
Current State: 66:[147, 81], Operations: ['57+90=147', '76+5=81']
Exploring Operation: 147-81=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[57, 90, 76, 5], Operations: []
Exploring Operation: 90-57=33, Resulting Numbers: [76, 5, 33]
Generated Node #0,0: 66:[76, 5, 33] Operation: 90-57=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[76, 5, 33], Operations: ['90-57=33']
Exploring Operation: 76-5=71, Resulting Numbers: [33, 71]
Generated Node #0,0,0: 66:[33, 71] Operation: 76-5=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[33, 71], Operations: ['90-57=33', '76-5=71']
Exploring Operation: 71-33=38, Resulting Numbers: [38]
38,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
73,
39,
88,
70
] | 94 | [
"73+39=112",
"88-70=18",
"112-18=94"
] | Current State: 94:[73, 39, 88, 70], Operations: []
Exploring Operation: 73+39=112, Resulting Numbers: [88, 70, 112]
Generated Node #2: [88, 70, 112] from Operation: 73+39=112
Current State: 94:[88, 70, 112], Operations: ['73+39=112']
Exploring Operation: 88-70=18, Resulting Numbers: [112, 18]
Generated Node #3: [112, 18] from Operation: 88-70=18
Current State: 94:[112, 18], Operations: ['73+39=112', '88-70=18']
Exploring Operation: 112-18=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[73, 39, 88, 70], Operations: []
Exploring Operation: 70-39=31, Resulting Numbers: [73, 88, 31]
Generated Node #0,0: 94:[73, 88, 31] Operation: 70-39=31
Exploring Operation: 73-39=34, Resulting Numbers: [88, 70, 34]
Generated Node #0,1: 94:[88, 70, 34] Operation: 73-39=34
Exploring Operation: 39+70=109, Resulting Numbers: [73, 88, 109]
Generated Node #0,2: 94:[73, 88, 109] Operation: 39+70=109
Exploring Operation: 73-70=3, Resulting Numbers: [39, 88, 3]
Generated Node #0,3: 94:[39, 88, 3] Operation: 73-70=3
Moving to Node #0,3
Current State: 94:[39, 88, 3], Operations: ['73-70=3']
Exploring Operation: 88-39=49, Resulting Numbers: [3, 49]
Generated Node #0,3,0: 94:[3, 49] Operation: 88-39=49
Exploring Operation: 39+3=42, Resulting Numbers: [88, 42]
Generated Node #0,3,1: 94:[88, 42] Operation: 39+3=42
Exploring Operation: 39-3=36, Resulting Numbers: [88, 36]
Generated Node #0,3,2: 94:[88, 36] Operation: 39-3=36
Exploring Operation: 88+3=91, Resulting Numbers: [39, 91]
Generated Node #0,3,3: 94:[39, 91] Operation: 88+3=91
Moving to Node #0,2
Current State: 94:[73, 88, 109], Operations: ['39+70=109']
Exploring Operation: 109-73=36, Resulting Numbers: [88, 36]
Generated Node #0,2,0: 94:[88, 36] Operation: 109-73=36
Exploring Operation: 88-73=15, Resulting Numbers: [109, 15]
Generated Node #0,2,1: 94:[109, 15] Operation: 88-73=15
Exploring Operation: 73+88=161, Resulting Numbers: [109, 161]
Generated Node #0,2,2: 94:[109, 161] Operation: 73+88=161
Exploring Operation: 109-88=21, Resulting Numbers: [73, 21]
Generated Node #0,2,3: 94:[73, 21] Operation: 109-88=21
Moving to Node #0,1
Current State: 94:[88, 70, 34], Operations: ['73-39=34']
Exploring Operation: 70-34=36, Resulting Numbers: [88, 36]
Generated Node #0,1,0: 94:[88, 36] Operation: 70-34=36
Exploring Operation: 88-70=18, Resulting Numbers: [34, 18]
Generated Node #0,1,1: 94:[34, 18] Operation: 88-70=18
Exploring Operation: 88-34=54, Resulting Numbers: [70, 54]
Generated Node #0,1,2: 94:[70, 54] Operation: 88-34=54
Exploring Operation: 70+34=104, Resulting Numbers: [88, 104]
Generated Node #0,1,3: 94:[88, 104] Operation: 70+34=104
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 94:[88, 104], Operations: ['73-39=34', '70+34=104']
Exploring Operation: 104-88=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 88*104=9152, Resulting Numbers: [9152]
9152,94 unequal: No Solution
Exploring Operation: 88+104=192, Resulting Numbers: [192]
192,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[88, 36], Operations: ['73-39=34', '70-34=36']
Exploring Operation: 88+36=124, Resulting Numbers: [124]
124,94 unequal: No Solution
Exploring Operation: 88*36=3168, Resulting Numbers: [3168]
3168,94 unequal: No Solution
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[34, 18], Operations: ['73-39=34', '88-70=18']
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,94 unequal: No Solution
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,94 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[70, 54], Operations: ['73-39=34', '88-34=54']
Exploring Operation: 70+54=124, Resulting Numbers: [124]
124,94 unequal: No Solution
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 70*54=3780, Resulting Numbers: [3780]
3780,94 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: 94:[73, 88, 31], Operations: ['70-39=31']
Exploring Operation: 73-31=42, Resulting Numbers: [88, 42]
Generated Node #0,0,0: 94:[88, 42] Operation: 73-31=42
Exploring Operation: 73+31=104, Resulting Numbers: [88, 104]
Generated Node #0,0,1: 94:[88, 104] Operation: 73+31=104
Exploring Operation: 88-73=15, Resulting Numbers: [31, 15]
Generated Node #0,0,2: 94:[31, 15] Operation: 88-73=15
Exploring Operation: 88-31=57, Resulting Numbers: [73, 57]
Generated Node #0,0,3: 94:[73, 57] Operation: 88-31=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[88, 42], Operations: ['70-39=31', '73-31=42']
Exploring Operation: 88-42=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 88+42=130, Resulting Numbers: [130]
130,94 unequal: No Solution
Exploring Operation: 88*42=3696, Resulting Numbers: [3696]
3696,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,1
Current State: 94:[88, 104], Operations: ['70-39=31', '73+31=104']
Exploring Operation: 88+104=192, Resulting Numbers: [192]
192,94 unequal: No Solution
Exploring Operation: 104-88=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 88*104=9152, Resulting Numbers: [9152]
9152,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,2
Current State: 94:[31, 15], Operations: ['70-39=31', '88-73=15']
Exploring Operation: 31*15=465, Resulting Numbers: [465]
465,94 unequal: No Solution
Exploring Operation: 31+15=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,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,3
Current State: 94:[73, 57], Operations: ['70-39=31', '88-31=57']
Exploring Operation: 73+57=130, Resulting Numbers: [130]
130,94 unequal: No Solution
Exploring Operation: 73*57=4161, Resulting Numbers: [4161]
4161,94 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,94 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: 94:[3, 49], Operations: ['73-70=3', '88-39=49']
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,94 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,94 unequal: No Solution
Moving to Node #0,3,3
Current State: 94:[39, 91], Operations: ['73-70=3', '88+3=91']
Exploring Operation: 39*91=3549, Resulting Numbers: [3549]
3549,94 unequal: No Solution
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,94 unequal: No Solution
Exploring Operation: 39+91=130, Resulting Numbers: [130]
130,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[88, 42], Operations: ['73-70=3', '39+3=42']
Exploring Operation: 88*42=3696, Resulting Numbers: [3696]
3696,94 unequal: No Solution
Exploring Operation: 88-42=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 88+42=130, Resulting Numbers: [130]
130,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[88, 36], Operations: ['39+70=109', '109-73=36']
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,94 unequal: No Solution
Exploring Operation: 88*36=3168, Resulting Numbers: [3168]
3168,94 unequal: No Solution
Exploring Operation: 88+36=124, Resulting Numbers: [124]
124,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[88, 36], Operations: ['73-70=3', '39-3=36']
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,94 unequal: No Solution
Exploring Operation: 88*36=3168, Resulting Numbers: [3168]
3168,94 unequal: No Solution
Exploring Operation: 88+36=124, Resulting Numbers: [124]
124,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[109, 15], Operations: ['39+70=109', '88-73=15']
Exploring Operation: 109+15=124, Resulting Numbers: [124]
124,94 unequal: No Solution
Exploring Operation: 109-15=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[73, 39, 88, 70], Operations: []
Exploring Operation: 39+70=109, Resulting Numbers: [73, 88, 109]
Generated Node #0,2: 94:[73, 88, 109] Operation: 39+70=109
Moving to Node #0,2
Current State: 94:[73, 88, 109], Operations: ['39+70=109']
Exploring Operation: 88-73=15, Resulting Numbers: [109, 15]
Generated Node #0,2,1: 94:[109, 15] Operation: 88-73=15
Moving to Node #0,2,1
Current State: 94:[109, 15], Operations: ['39+70=109', '88-73=15']
Exploring Operation: 109-15=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.943576 | hs_4 | sum_heuristic |
[
70,
58,
41,
66
] | 95 | [
"70-58=12",
"41+66=107",
"107-12=95"
] | Current State: 95:[70, 58, 41, 66], Operations: []
Exploring Operation: 70-58=12, Resulting Numbers: [41, 66, 12]
Generated Node #2: [41, 66, 12] from Operation: 70-58=12
Current State: 95:[41, 66, 12], Operations: ['70-58=12']
Exploring Operation: 41+66=107, Resulting Numbers: [12, 107]
Generated Node #3: [12, 107] from Operation: 41+66=107
Current State: 95:[12, 107], Operations: ['70-58=12', '41+66=107']
Exploring Operation: 107-12=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[70, 58, 41, 66], Operations: []
Exploring Operation: 66-58=8, Resulting Numbers: [70, 41, 8]
Generated Node #0,0: 95:[70, 41, 8] Operation: 66-58=8
Exploring Operation: 58-41=17, Resulting Numbers: [70, 66, 17]
Generated Node #0,1: 95:[70, 66, 17] Operation: 58-41=17
Exploring Operation: 70-58=12, Resulting Numbers: [41, 66, 12]
Generated Node #0,2: 95:[41, 66, 12] Operation: 70-58=12
Exploring Operation: 58+41=99, Resulting Numbers: [70, 66, 99]
Generated Node #0,3: 95:[70, 66, 99] Operation: 58+41=99
Exploring Operation: 70-66=4, Resulting Numbers: [58, 41, 4]
Generated Node #0,4: 95:[58, 41, 4] Operation: 70-66=4
Moving to Node #0,0
Current State: 95:[70, 41, 8], Operations: ['66-58=8']
Exploring Operation: 70-8=62, Resulting Numbers: [41, 62]
Generated Node #0,0,0: 95:[41, 62] Operation: 70-8=62
Exploring Operation: 70-41=29, Resulting Numbers: [8, 29]
Generated Node #0,0,1: 95:[8, 29] Operation: 70-41=29
Exploring Operation: 70+41=111, Resulting Numbers: [8, 111]
Generated Node #0,0,2: 95:[8, 111] Operation: 70+41=111
Exploring Operation: 70+8=78, Resulting Numbers: [41, 78]
Generated Node #0,0,3: 95:[41, 78] Operation: 70+8=78
Exploring Operation: 41-8=33, Resulting Numbers: [70, 33]
Generated Node #0,0,4: 95:[70, 33] Operation: 41-8=33
Moving to Node #0,1
Current State: 95:[70, 66, 17], Operations: ['58-41=17']
Exploring Operation: 70+17=87, Resulting Numbers: [66, 87]
Generated Node #0,1,0: 95:[66, 87] Operation: 70+17=87
Exploring Operation: 66+17=83, Resulting Numbers: [70, 83]
Generated Node #0,1,1: 95:[70, 83] Operation: 66+17=83
Exploring Operation: 66-17=49, Resulting Numbers: [70, 49]
Generated Node #0,1,2: 95:[70, 49] Operation: 66-17=49
Exploring Operation: 70-66=4, Resulting Numbers: [17, 4]
Generated Node #0,1,3: 95:[17, 4] Operation: 70-66=4
Exploring Operation: 70+66=136, Resulting Numbers: [17, 136]
Generated Node #0,1,4: 95:[17, 136] Operation: 70+66=136
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 95:[17, 4], Operations: ['58-41=17', '70-66=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[66, 87], Operations: ['58-41=17', '70+17=87']
Exploring Operation: 66*87=5742, Resulting Numbers: [5742]
5742,95 unequal: No Solution
Exploring Operation: 87-66=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 66+87=153, Resulting Numbers: [153]
153,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[70, 83], Operations: ['58-41=17', '66+17=83']
Exploring Operation: 70+83=153, Resulting Numbers: [153]
153,95 unequal: No Solution
Exploring Operation: 83-70=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 70*83=5810, Resulting Numbers: [5810]
5810,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 95:[17, 136], Operations: ['58-41=17', '70+66=136']
Exploring Operation: 17*136=2312, Resulting Numbers: [2312]
2312,95 unequal: No Solution
Exploring Operation: 136-17=119, Resulting Numbers: [119]
119,95 unequal: No Solution
Exploring Operation: 136/17=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 17+136=153, Resulting Numbers: [153]
153,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[70, 49], Operations: ['58-41=17', '66-17=49']
Exploring Operation: 70*49=3430, Resulting Numbers: [3430]
3430,95 unequal: No Solution
Exploring Operation: 70-49=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 70+49=119, Resulting Numbers: [119]
119,95 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: 95:[41, 66, 12], Operations: ['70-58=12']
Exploring Operation: 41-12=29, Resulting Numbers: [66, 29]
Generated Node #0,2,0: 95:[66, 29] Operation: 41-12=29
Exploring Operation: 66-12=54, Resulting Numbers: [41, 54]
Generated Node #0,2,1: 95:[41, 54] Operation: 66-12=54
Exploring Operation: 66+12=78, Resulting Numbers: [41, 78]
Generated Node #0,2,2: 95:[41, 78] Operation: 66+12=78
Exploring Operation: 66-41=25, Resulting Numbers: [12, 25]
Generated Node #0,2,3: 95:[12, 25] Operation: 66-41=25
Exploring Operation: 41+66=107, Resulting Numbers: [12, 107]
Generated Node #0,2,4: 95:[12, 107] Operation: 41+66=107
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 95:[12, 25], Operations: ['70-58=12', '66-41=25']
Exploring Operation: 12*25=300, Resulting Numbers: [300]
300,95 unequal: No Solution
Exploring Operation: 12+25=37, Resulting Numbers: [37]
37,95 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 95:[12, 107], Operations: ['70-58=12', '41+66=107']
Exploring Operation: 107-12=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[70, 58, 41, 66], Operations: []
Exploring Operation: 70-58=12, Resulting Numbers: [41, 66, 12]
Generated Node #0,2: 95:[41, 66, 12] Operation: 70-58=12
Moving to Node #0,2
Current State: 95:[41, 66, 12], Operations: ['70-58=12']
Exploring Operation: 41+66=107, Resulting Numbers: [12, 107]
Generated Node #0,2,4: 95:[12, 107] Operation: 41+66=107
Moving to Node #0,2,4
Current State: 95:[12, 107], Operations: ['70-58=12', '41+66=107']
Exploring Operation: 107-12=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.961806 | hs_5 | sum_heuristic |
[
5,
55,
77,
8
] | 72 | [
"77+8=85",
"85/5=17",
"55+17=72"
] | Current State: 72:[5, 55, 77, 8], Operations: []
Exploring Operation: 77+8=85, Resulting Numbers: [5, 55, 85]
Generated Node #2: [5, 55, 85] from Operation: 77+8=85
Current State: 72:[5, 55, 85], Operations: ['77+8=85']
Exploring Operation: 85/5=17, Resulting Numbers: [55, 17]
Generated Node #3: [55, 17] from Operation: 85/5=17
Current State: 72:[55, 17], Operations: ['77+8=85', '85/5=17']
Exploring Operation: 55+17=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[5, 55, 77, 8], Operations: []
Exploring Operation: 5+55=60, Resulting Numbers: [77, 8, 60]
Generated Node #0,0: 72:[77, 8, 60] Operation: 5+55=60
Exploring Operation: 77-55=22, Resulting Numbers: [5, 8, 22]
Generated Node #0,1: 72:[5, 8, 22] Operation: 77-55=22
Exploring Operation: 55/5=11, Resulting Numbers: [77, 8, 11]
Generated Node #0,2: 72:[77, 8, 11] Operation: 55/5=11
Exploring Operation: 55+8=63, Resulting Numbers: [5, 77, 63]
Generated Node #0,3: 72:[5, 77, 63] Operation: 55+8=63
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[5, 8, 22], Operations: ['77-55=22']
Exploring Operation: 5+22=27, Resulting Numbers: [8, 27]
Generated Node #0,1,0: 72:[8, 27] Operation: 5+22=27
Exploring Operation: 8-5=3, Resulting Numbers: [22, 3]
Generated Node #0,1,1: 72:[22, 3] Operation: 8-5=3
Exploring Operation: 22-5=17, Resulting Numbers: [8, 17]
Generated Node #0,1,2: 72:[8, 17] Operation: 22-5=17
Exploring Operation: 5+8=13, Resulting Numbers: [22, 13]
Generated Node #0,1,3: 72:[22, 13] Operation: 5+8=13
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 72:[8, 17], Operations: ['77-55=22', '22-5=17']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,72 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 72:[22, 3], Operations: ['77-55=22', '8-5=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,72 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,72 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[8, 27], Operations: ['77-55=22', '5+22=27']
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,72 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 72:[22, 13], Operations: ['77-55=22', '5+8=13']
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,72 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[77, 8, 11], Operations: ['55/5=11']
Exploring Operation: 77-11=66, Resulting Numbers: [8, 66]
Generated Node #0,2,0: 72:[8, 66] Operation: 77-11=66
Exploring Operation: 77-8=69, Resulting Numbers: [11, 69]
Generated Node #0,2,1: 72:[11, 69] Operation: 77-8=69
Exploring Operation: 11-8=3, Resulting Numbers: [77, 3]
Generated Node #0,2,2: 72:[77, 3] Operation: 11-8=3
Exploring Operation: 77/11=7, Resulting Numbers: [8, 7]
Generated Node #0,2,3: 72:[8, 7] Operation: 77/11=7
Moving to Node #0,2,3
Current State: 72:[8, 7], Operations: ['55/5=11', '77/11=7']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[11, 69], Operations: ['55/5=11', '77-8=69']
Exploring Operation: 11*69=759, Resulting Numbers: [759]
759,72 unequal: No Solution
Exploring Operation: 69-11=58, Resulting Numbers: [58]
58,72 unequal: No Solution
Exploring Operation: 11+69=80, Resulting Numbers: [80]
80,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[77, 3], Operations: ['55/5=11', '11-8=3']
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,72 unequal: No Solution
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,72 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[8, 66], Operations: ['55/5=11', '77-11=66']
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,72 unequal: No Solution
Exploring Operation: 8*66=528, Resulting Numbers: [528]
528,72 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 72:[5, 77, 63], Operations: ['55+8=63']
Exploring Operation: 77-63=14, Resulting Numbers: [5, 14]
Generated Node #0,3,0: 72:[5, 14] Operation: 77-63=14
Exploring Operation: 5+77=82, Resulting Numbers: [63, 82]
Generated Node #0,3,1: 72:[63, 82] Operation: 5+77=82
Exploring Operation: 5+63=68, Resulting Numbers: [77, 68]
Generated Node #0,3,2: 72:[77, 68] Operation: 5+63=68
Exploring Operation: 77-5=72, Resulting Numbers: [63, 72]
Generated Node #0,3,3: 72:[63, 72] Operation: 77-5=72
Moving to Node #0,3,0
Current State: 72:[5, 14], Operations: ['55+8=63', '77-63=14']
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,72 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Moving to Node #0,3,3
Current State: 72:[63, 72], Operations: ['55+8=63', '77-5=72']
Exploring Operation: 63+72=135, Resulting Numbers: [135]
135,72 unequal: No Solution
Exploring Operation: 63*72=4536, Resulting Numbers: [4536]
4536,72 unequal: No Solution
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[77, 68], Operations: ['55+8=63', '5+63=68']
Exploring Operation: 77-68=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 77*68=5236, Resulting Numbers: [5236]
5236,72 unequal: No Solution
Exploring Operation: 77+68=145, Resulting Numbers: [145]
145,72 unequal: No Solution
Moving to Node #0,3,1
Current State: 72:[63, 82], Operations: ['55+8=63', '5+77=82']
Exploring Operation: 63*82=5166, Resulting Numbers: [5166]
5166,72 unequal: No Solution
Exploring Operation: 82-63=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 63+82=145, Resulting Numbers: [145]
145,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[77, 8, 60], Operations: ['5+55=60']
Exploring Operation: 8+60=68, Resulting Numbers: [77, 68]
Generated Node #0,0,0: 72:[77, 68] Operation: 8+60=68
Exploring Operation: 77-8=69, Resulting Numbers: [60, 69]
Generated Node #0,0,1: 72:[60, 69] Operation: 77-8=69
Exploring Operation: 77-60=17, Resulting Numbers: [8, 17]
Generated Node #0,0,2: 72:[8, 17] Operation: 77-60=17
Exploring Operation: 60-8=52, Resulting Numbers: [77, 52]
Generated Node #0,0,3: 72:[77, 52] Operation: 60-8=52
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 72:[8, 17], Operations: ['5+55=60', '77-60=17']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,72 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[77, 68], Operations: ['5+55=60', '8+60=68']
Exploring Operation: 77+68=145, Resulting Numbers: [145]
145,72 unequal: No Solution
Exploring Operation: 77*68=5236, Resulting Numbers: [5236]
5236,72 unequal: No Solution
Exploring Operation: 77-68=9, Resulting Numbers: [9]
9,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 72:[60, 69], Operations: ['5+55=60', '77-8=69']
Exploring Operation: 60*69=4140, Resulting Numbers: [4140]
4140,72 unequal: No Solution
Exploring Operation: 60+69=129, Resulting Numbers: [129]
129,72 unequal: No Solution
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 72:[77, 52], Operations: ['5+55=60', '60-8=52']
Exploring Operation: 77+52=129, Resulting Numbers: [129]
129,72 unequal: No Solution
Exploring Operation: 77*52=4004, Resulting Numbers: [4004]
4004,72 unequal: No Solution
Exploring Operation: 77-52=25, Resulting Numbers: [25]
25,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
84,
83,
30,
46
] | 75 | [
"84-83=1",
"30+46=76",
"76-1=75"
] | Current State: 75:[84, 83, 30, 46], Operations: []
Exploring Operation: 84-83=1, Resulting Numbers: [30, 46, 1]
Generated Node #2: [30, 46, 1] from Operation: 84-83=1
Current State: 75:[30, 46, 1], Operations: ['84-83=1']
Exploring Operation: 30+46=76, Resulting Numbers: [1, 76]
Generated Node #3: [1, 76] from Operation: 30+46=76
Current State: 75:[1, 76], Operations: ['84-83=1', '30+46=76']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[84, 83, 30, 46], Operations: []
Exploring Operation: 30+46=76, Resulting Numbers: [84, 83, 76]
Generated Node #0,0: 75:[84, 83, 76] Operation: 30+46=76
Exploring Operation: 46-30=16, Resulting Numbers: [84, 83, 16]
Generated Node #0,1: 75:[84, 83, 16] Operation: 46-30=16
Exploring Operation: 84-46=38, Resulting Numbers: [83, 30, 38]
Generated Node #0,2: 75:[83, 30, 38] Operation: 84-46=38
Exploring Operation: 83-46=37, Resulting Numbers: [84, 30, 37]
Generated Node #0,3: 75:[84, 30, 37] Operation: 83-46=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[84, 83, 76], Operations: ['30+46=76']
Exploring Operation: 84+83=167, Resulting Numbers: [76, 167]
Generated Node #0,0,0: 75:[76, 167] Operation: 84+83=167
Exploring Operation: 83-76=7, Resulting Numbers: [84, 7]
Generated Node #0,0,1: 75:[84, 7] Operation: 83-76=7
Exploring Operation: 84-83=1, Resulting Numbers: [76, 1]
Generated Node #0,0,2: 75:[76, 1] Operation: 84-83=1
Exploring Operation: 84-76=8, Resulting Numbers: [83, 8]
Generated Node #0,0,3: 75:[83, 8] Operation: 84-76=8
Moving to Node #0,0,2
Current State: 75:[76, 1], Operations: ['30+46=76', '84-83=1']
Exploring Operation: 76+1=77, Resulting Numbers: [77]
77,75 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,75 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[84, 83, 30, 46], Operations: []
Exploring Operation: 30+46=76, Resulting Numbers: [84, 83, 76]
Generated Node #0,0: 75:[84, 83, 76] Operation: 30+46=76
Moving to Node #0,0
Current State: 75:[84, 83, 76], Operations: ['30+46=76']
Exploring Operation: 84-83=1, Resulting Numbers: [76, 1]
Generated Node #0,0,2: 75:[76, 1] Operation: 84-83=1
Moving to Node #0,0,2
Current State: 75:[76, 1], Operations: ['30+46=76', '84-83=1']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
6,
9,
42,
76
] | 48 | [
"6*42=252",
"252/9=28",
"76-28=48"
] | Current State: 48:[6, 9, 42, 76], Operations: []
Exploring Operation: 6*42=252, Resulting Numbers: [9, 76, 252]
Generated Node #2: [9, 76, 252] from Operation: 6*42=252
Current State: 48:[9, 76, 252], Operations: ['6*42=252']
Exploring Operation: 252/9=28, Resulting Numbers: [76, 28]
Generated Node #3: [76, 28] from Operation: 252/9=28
Current State: 48:[76, 28], Operations: ['6*42=252', '252/9=28']
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[6, 9, 42, 76], Operations: []
Exploring Operation: 76-42=34, Resulting Numbers: [6, 9, 34]
Generated Node #0,0: 48:[6, 9, 34] Operation: 76-42=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[6, 9, 34], Operations: ['76-42=34']
Exploring Operation: 34-9=25, Resulting Numbers: [6, 25]
Generated Node #0,0,0: 48:[6, 25] Operation: 34-9=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[6, 25], Operations: ['76-42=34', '34-9=25']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
79,
31,
96,
17
] | 94 | [
"79-17=62",
"62/31=2",
"96-2=94"
] | Current State: 94:[79, 31, 96, 17], Operations: []
Exploring Operation: 79-17=62, Resulting Numbers: [31, 96, 62]
Generated Node #2: [31, 96, 62] from Operation: 79-17=62
Current State: 94:[31, 96, 62], Operations: ['79-17=62']
Exploring Operation: 62/31=2, Resulting Numbers: [96, 2]
Generated Node #3: [96, 2] from Operation: 62/31=2
Current State: 94:[96, 2], Operations: ['79-17=62', '62/31=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[79, 31, 96, 17], Operations: []
Exploring Operation: 79+17=96, Resulting Numbers: [31, 96, 96]
Generated Node #0,0: 94:[31, 96, 96] Operation: 79+17=96
Exploring Operation: 79-31=48, Resulting Numbers: [96, 17, 48]
Generated Node #0,1: 94:[96, 17, 48] Operation: 79-31=48
Exploring Operation: 31+17=48, Resulting Numbers: [79, 96, 48]
Generated Node #0,2: 94:[79, 96, 48] Operation: 31+17=48
Moving to Node #0,1
Current State: 94:[96, 17, 48], Operations: ['79-31=48']
Exploring Operation: 96-17=79, Resulting Numbers: [48, 79]
Generated Node #0,1,0: 94:[48, 79] Operation: 96-17=79
Exploring Operation: 96-48=48, Resulting Numbers: [17, 48]
Generated Node #0,1,1: 94:[17, 48] Operation: 96-48=48
Exploring Operation: 96/48=2, Resulting Numbers: [17, 2]
Generated Node #0,1,2: 94:[17, 2] Operation: 96/48=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[17, 2], Operations: ['79-31=48', '96/48=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[48, 79], Operations: ['79-31=48', '96-17=79']
Exploring Operation: 48*79=3792, Resulting Numbers: [3792]
3792,94 unequal: No Solution
Exploring Operation: 79-48=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Exploring Operation: 48+79=127, Resulting Numbers: [127]
127,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[17, 48], Operations: ['79-31=48', '96-48=48']
Exploring Operation: 17*48=816, Resulting Numbers: [816]
816,94 unequal: No Solution
Exploring Operation: 17+48=65, Resulting Numbers: [65]
65,94 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,94 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: 94:[79, 96, 48], Operations: ['31+17=48']
Exploring Operation: 96/48=2, Resulting Numbers: [79, 2]
Generated Node #0,2,0: 94:[79, 2] Operation: 96/48=2
Exploring Operation: 96-79=17, Resulting Numbers: [48, 17]
Generated Node #0,2,1: 94:[48, 17] Operation: 96-79=17
Exploring Operation: 96-48=48, Resulting Numbers: [79, 48]
Generated Node #0,2,2: 94:[79, 48] Operation: 96-48=48
Moving to Node #0,0
Current State: 94:[31, 96, 96], Operations: ['79+17=96']
Exploring Operation: 96/96=1, Resulting Numbers: [31, 1]
Generated Node #0,0,0: 94:[31, 1] Operation: 96/96=1
Exploring Operation: 96-31=65, Resulting Numbers: [96, 65]
Generated Node #0,0,1: 94:[96, 65] Operation: 96-31=65
Exploring Operation: 96-96=0, Resulting Numbers: [31, 0]
Generated Node #0,0,2: 94:[31, 0] Operation: 96-96=0
Moving to Node #0,2,0
Current State: 94:[79, 2], Operations: ['31+17=48', '96/48=2']
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,94 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,94 unequal: No Solution
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[79, 48], Operations: ['31+17=48', '96-48=48']
Exploring Operation: 79+48=127, Resulting Numbers: [127]
127,94 unequal: No Solution
Exploring Operation: 79*48=3792, Resulting Numbers: [3792]
3792,94 unequal: No Solution
Exploring Operation: 79-48=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[48, 17], Operations: ['31+17=48', '96-79=17']
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,94 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[31, 1], Operations: ['79+17=96', '96/96=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[31, 0], Operations: ['79+17=96', '96-96=0']
Exploring Operation: 31*0=0, Resulting Numbers: [0]
0,94 unequal: No Solution
Exploring Operation: 31-0=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Exploring Operation: 31+0=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[96, 65], Operations: ['79+17=96', '96-31=65']
Exploring Operation: 96*65=6240, Resulting Numbers: [6240]
6240,94 unequal: No Solution
Exploring Operation: 96-65=31, Resulting Numbers: [31]
31,94 unequal: No Solution
Exploring Operation: 96+65=161, Resulting Numbers: [161]
161,94 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
56,
26,
4,
13
] | 65 | [
"56+26=82",
"4+13=17",
"82-17=65"
] | Current State: 65:[56, 26, 4, 13], Operations: []
Exploring Operation: 56+26=82, Resulting Numbers: [4, 13, 82]
Generated Node #2: [4, 13, 82] from Operation: 56+26=82
Current State: 65:[4, 13, 82], Operations: ['56+26=82']
Exploring Operation: 4+13=17, Resulting Numbers: [82, 17]
Generated Node #3: [82, 17] from Operation: 4+13=17
Current State: 65:[82, 17], Operations: ['56+26=82', '4+13=17']
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[56, 26, 4, 13], Operations: []
Exploring Operation: 26/13=2, Resulting Numbers: [56, 4, 2]
Generated Node #0,0: 65:[56, 4, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [56, 4, 13]
Generated Node #0,1: 65:[56, 4, 13] Operation: 26-13=13
Moving to Node #0,1
Current State: 65:[56, 4, 13], Operations: ['26-13=13']
Exploring Operation: 56/4=14, Resulting Numbers: [13, 14]
Generated Node #0,1,0: 65:[13, 14] Operation: 56/4=14
Exploring Operation: 56+4=60, Resulting Numbers: [13, 60]
Generated Node #0,1,1: 65:[13, 60] Operation: 56+4=60
Moving to Node #0,0
Current State: 65:[56, 4, 2], Operations: ['26/13=2']
Exploring Operation: 56+4=60, Resulting Numbers: [2, 60]
Generated Node #0,0,0: 65:[2, 60] Operation: 56+4=60
Exploring Operation: 56/4=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 65:[2, 14] Operation: 56/4=14
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[2, 14], Operations: ['26/13=2', '56/4=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[2, 60], Operations: ['26/13=2', '56+4=60']
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,65 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: 65:[13, 14], Operations: ['26-13=13', '56/4=14']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[13, 60], Operations: ['26-13=13', '56+4=60']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 13+60=73, Resulting Numbers: [73]
73,65 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
55,
30,
96,
48
] | 37 | [
"55+30=85",
"96-48=48",
"85-48=37"
] | Current State: 37:[55, 30, 96, 48], Operations: []
Exploring Operation: 55+30=85, Resulting Numbers: [96, 48, 85]
Generated Node #2: [96, 48, 85] from Operation: 55+30=85
Current State: 37:[96, 48, 85], Operations: ['55+30=85']
Exploring Operation: 96-48=48, Resulting Numbers: [85, 48]
Generated Node #3: [85, 48] from Operation: 96-48=48
Current State: 37:[85, 48], Operations: ['55+30=85', '96-48=48']
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[55, 30, 96, 48], Operations: []
Exploring Operation: 96-30=66, Resulting Numbers: [55, 48, 66]
Generated Node #0,0: 37:[55, 48, 66] Operation: 96-30=66
Exploring Operation: 96-48=48, Resulting Numbers: [55, 30, 48]
Generated Node #0,1: 37:[55, 30, 48] Operation: 96-48=48
Exploring Operation: 96-55=41, Resulting Numbers: [30, 48, 41]
Generated Node #0,2: 37:[30, 48, 41] Operation: 96-55=41
Moving to Node #0,2
Current State: 37:[30, 48, 41], Operations: ['96-55=41']
Exploring Operation: 48-30=18, Resulting Numbers: [41, 18]
Generated Node #0,2,0: 37:[41, 18] Operation: 48-30=18
Exploring Operation: 48-41=7, Resulting Numbers: [30, 7]
Generated Node #0,2,1: 37:[30, 7] Operation: 48-41=7
Exploring Operation: 41-30=11, Resulting Numbers: [48, 11]
Generated Node #0,2,2: 37:[48, 11] Operation: 41-30=11
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 37:[41, 18], Operations: ['96-55=41', '48-30=18']
Exploring Operation: 41*18=738, Resulting Numbers: [738]
738,37 unequal: No Solution
Exploring Operation: 41+18=59, Resulting Numbers: [59]
59,37 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[30, 7], Operations: ['96-55=41', '48-41=7']
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,37 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[55, 30, 96, 48], Operations: []
Exploring Operation: 96-55=41, Resulting Numbers: [30, 48, 41]
Generated Node #0,2: 37:[30, 48, 41] Operation: 96-55=41
Moving to Node #0,2
Current State: 37:[30, 48, 41], Operations: ['96-55=41']
Exploring Operation: 48-41=7, Resulting Numbers: [30, 7]
Generated Node #0,2,1: 37:[30, 7] Operation: 48-41=7
Moving to Node #0,2,1
Current State: 37:[30, 7], Operations: ['96-55=41', '48-41=7']
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
98,
3,
77,
76
] | 53 | [
"98+77=175",
"3*76=228",
"228-175=53"
] | Current State: 53:[98, 3, 77, 76], Operations: []
Exploring Operation: 98+77=175, Resulting Numbers: [3, 76, 175]
Generated Node #2: [3, 76, 175] from Operation: 98+77=175
Current State: 53:[3, 76, 175], Operations: ['98+77=175']
Exploring Operation: 3*76=228, Resulting Numbers: [175, 228]
Generated Node #3: [175, 228] from Operation: 3*76=228
Current State: 53:[175, 228], Operations: ['98+77=175', '3*76=228']
Exploring Operation: 228-175=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[98, 3, 77, 76], Operations: []
Exploring Operation: 77-3=74, Resulting Numbers: [98, 76, 74]
Generated Node #0,0: 53:[98, 76, 74] Operation: 77-3=74
Exploring Operation: 98-3=95, Resulting Numbers: [77, 76, 95]
Generated Node #0,1: 53:[77, 76, 95] Operation: 98-3=95
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[98, 76, 74], Operations: ['77-3=74']
Exploring Operation: 98-74=24, Resulting Numbers: [76, 24]
Generated Node #0,0,0: 53:[76, 24] Operation: 98-74=24
Exploring Operation: 98-76=22, Resulting Numbers: [74, 22]
Generated Node #0,0,1: 53:[74, 22] Operation: 98-76=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[76, 24], Operations: ['77-3=74', '98-74=24']
Exploring Operation: 76+24=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[74, 22], Operations: ['77-3=74', '98-76=22']
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 74+22=96, Resulting Numbers: [96]
96,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[77, 76, 95], Operations: ['98-3=95']
Exploring Operation: 95-77=18, Resulting Numbers: [76, 18]
Generated Node #0,1,0: 53:[76, 18] Operation: 95-77=18
Exploring Operation: 95-76=19, Resulting Numbers: [77, 19]
Generated Node #0,1,1: 53:[77, 19] Operation: 95-76=19
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[76, 18], Operations: ['98-3=95', '95-77=18']
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,53 unequal: No Solution
Exploring Operation: 76+18=94, Resulting Numbers: [94]
94,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[77, 19], Operations: ['98-3=95', '95-76=19']
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,53 unequal: No Solution
Exploring Operation: 77+19=96, Resulting Numbers: [96]
96,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
68,
48,
6,
8
] | 40 | [
"68-48=20",
"8-6=2",
"20*2=40"
] | Current State: 40:[68, 48, 6, 8], Operations: []
Exploring Operation: 68-48=20, Resulting Numbers: [6, 8, 20]
Generated Node #2: [6, 8, 20] from Operation: 68-48=20
Current State: 40:[6, 8, 20], Operations: ['68-48=20']
Exploring Operation: 8-6=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 8-6=2
Current State: 40:[20, 2], Operations: ['68-48=20', '8-6=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[68, 48, 6, 8], Operations: []
Exploring Operation: 68-48=20, Resulting Numbers: [6, 8, 20]
Generated Node #0,0: 40:[6, 8, 20] Operation: 68-48=20
Exploring Operation: 48/6=8, Resulting Numbers: [68, 8, 8]
Generated Node #0,1: 40:[68, 8, 8] Operation: 48/6=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[6, 8, 20], Operations: ['68-48=20']
Exploring Operation: 20-8=12, Resulting Numbers: [6, 12]
Generated Node #0,0,0: 40:[6, 12] Operation: 20-8=12
Exploring Operation: 8-6=2, Resulting Numbers: [20, 2]
Generated Node #0,0,1: 40:[20, 2] Operation: 8-6=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 40:[20, 2], Operations: ['68-48=20', '8-6=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[68, 48, 6, 8], Operations: []
Exploring Operation: 68-48=20, Resulting Numbers: [6, 8, 20]
Generated Node #0,0: 40:[6, 8, 20] Operation: 68-48=20
Moving to Node #0,0
Current State: 40:[6, 8, 20], Operations: ['68-48=20']
Exploring Operation: 8-6=2, Resulting Numbers: [20, 2]
Generated Node #0,0,1: 40:[20, 2] Operation: 8-6=2
Moving to Node #0,0,1
Current State: 40:[20, 2], Operations: ['68-48=20', '8-6=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
91,
46,
62,
66
] | 94 | [
"91*46=4186",
"62*66=4092",
"4186-4092=94"
] | Current State: 94:[91, 46, 62, 66], Operations: []
Exploring Operation: 91*46=4186, Resulting Numbers: [62, 66, 4186]
Generated Node #2: [62, 66, 4186] from Operation: 91*46=4186
Current State: 94:[62, 66, 4186], Operations: ['91*46=4186']
Exploring Operation: 62*66=4092, Resulting Numbers: [4186, 4092]
Generated Node #3: [4186, 4092] from Operation: 62*66=4092
Current State: 94:[4186, 4092], Operations: ['91*46=4186', '62*66=4092']
Exploring Operation: 4186-4092=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[91, 46, 62, 66], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [91, 46, 4]
Generated Node #0,0: 94:[91, 46, 4] Operation: 66-62=4
Exploring Operation: 46+62=108, Resulting Numbers: [91, 66, 108]
Generated Node #0,1: 94:[91, 66, 108] Operation: 46+62=108
Exploring Operation: 91-46=45, Resulting Numbers: [62, 66, 45]
Generated Node #0,2: 94:[62, 66, 45] Operation: 91-46=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[91, 46, 4], Operations: ['66-62=4']
Exploring Operation: 91+4=95, Resulting Numbers: [46, 95]
Generated Node #0,0,0: 94:[46, 95] Operation: 91+4=95
Exploring Operation: 91-46=45, Resulting Numbers: [4, 45]
Generated Node #0,0,1: 94:[4, 45] Operation: 91-46=45
Exploring Operation: 46+4=50, Resulting Numbers: [91, 50]
Generated Node #0,0,2: 94:[91, 50] Operation: 46+4=50
Moving to Node #0,0,0
Current State: 94:[46, 95], Operations: ['66-62=4', '91+4=95']
Exploring Operation: 46*95=4370, Resulting Numbers: [4370]
4370,94 unequal: No Solution
Exploring Operation: 46+95=141, Resulting Numbers: [141]
141,94 unequal: No Solution
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[4, 45], Operations: ['66-62=4', '91-46=45']
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,94 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[91, 50], Operations: ['66-62=4', '46+4=50']
Exploring Operation: 91-50=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Exploring Operation: 91*50=4550, Resulting Numbers: [4550]
4550,94 unequal: No Solution
Exploring Operation: 91+50=141, Resulting Numbers: [141]
141,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[91, 66, 108], Operations: ['46+62=108']
Exploring Operation: 108-66=42, Resulting Numbers: [91, 42]
Generated Node #0,1,0: 94:[91, 42] Operation: 108-66=42
Exploring Operation: 91-66=25, Resulting Numbers: [108, 25]
Generated Node #0,1,1: 94:[108, 25] Operation: 91-66=25
Exploring Operation: 108-91=17, Resulting Numbers: [66, 17]
Generated Node #0,1,2: 94:[66, 17] Operation: 108-91=17
Moving to Node #0,1,0
Current State: 94:[91, 42], Operations: ['46+62=108', '108-66=42']
Exploring Operation: 91-42=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 91*42=3822, Resulting Numbers: [3822]
3822,94 unequal: No Solution
Exploring Operation: 91+42=133, Resulting Numbers: [133]
133,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[66, 17], Operations: ['46+62=108', '108-91=17']
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,94 unequal: No Solution
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[108, 25], Operations: ['46+62=108', '91-66=25']
Exploring Operation: 108*25=2700, Resulting Numbers: [2700]
2700,94 unequal: No Solution
Exploring Operation: 108-25=83, Resulting Numbers: [83]
83,94 unequal: No Solution
Exploring Operation: 108+25=133, Resulting Numbers: [133]
133,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,2
Current State: 94:[62, 66, 45], Operations: ['91-46=45']
Exploring Operation: 66+45=111, Resulting Numbers: [62, 111]
Generated Node #0,2,0: 94:[62, 111] Operation: 66+45=111
Exploring Operation: 66-62=4, Resulting Numbers: [45, 4]
Generated Node #0,2,1: 94:[45, 4] Operation: 66-62=4
Exploring Operation: 62+45=107, Resulting Numbers: [66, 107]
Generated Node #0,2,2: 94:[66, 107] Operation: 62+45=107
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 94:[45, 4], Operations: ['91-46=45', '66-62=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,94 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,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:[62, 111], Operations: ['91-46=45', '66+45=111']
Exploring Operation: 111-62=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 62+111=173, Resulting Numbers: [173]
173,94 unequal: No Solution
Exploring Operation: 62*111=6882, Resulting Numbers: [6882]
6882,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:[66, 107], Operations: ['91-46=45', '62+45=107']
Exploring Operation: 66+107=173, Resulting Numbers: [173]
173,94 unequal: No Solution
Exploring Operation: 107-66=41, Resulting Numbers: [41]
41,94 unequal: No Solution
Exploring Operation: 66*107=7062, Resulting Numbers: [7062]
7062,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 | mult_heuristic |
[
36,
51,
33,
78
] | 95 | [
"36-33=3",
"51/3=17",
"78+17=95"
] | Current State: 95:[36, 51, 33, 78], Operations: []
Exploring Operation: 36-33=3, Resulting Numbers: [51, 78, 3]
Generated Node #2: [51, 78, 3] from Operation: 36-33=3
Current State: 95:[51, 78, 3], Operations: ['36-33=3']
Exploring Operation: 51/3=17, Resulting Numbers: [78, 17]
Generated Node #3: [78, 17] from Operation: 51/3=17
Current State: 95:[78, 17], Operations: ['36-33=3', '51/3=17']
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[36, 51, 33, 78], Operations: []
Exploring Operation: 51-36=15, Resulting Numbers: [33, 78, 15]
Generated Node #0,0: 95:[33, 78, 15] Operation: 51-36=15
Exploring Operation: 51-33=18, Resulting Numbers: [36, 78, 18]
Generated Node #0,1: 95:[36, 78, 18] Operation: 51-33=18
Exploring Operation: 78-51=27, Resulting Numbers: [36, 33, 27]
Generated Node #0,2: 95:[36, 33, 27] Operation: 78-51=27
Exploring Operation: 36+51=87, Resulting Numbers: [33, 78, 87]
Generated Node #0,3: 95:[33, 78, 87] Operation: 36+51=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[33, 78, 15], Operations: ['51-36=15']
Exploring Operation: 33+78=111, Resulting Numbers: [15, 111]
Generated Node #0,0,0: 95:[15, 111] Operation: 33+78=111
Exploring Operation: 33-15=18, Resulting Numbers: [78, 18]
Generated Node #0,0,1: 95:[78, 18] Operation: 33-15=18
Exploring Operation: 78-33=45, Resulting Numbers: [15, 45]
Generated Node #0,0,2: 95:[15, 45] Operation: 78-33=45
Exploring Operation: 78+15=93, Resulting Numbers: [33, 93]
Generated Node #0,0,3: 95:[33, 93] Operation: 78+15=93
Moving to Node #0,0,3
Current State: 95:[33, 93], Operations: ['51-36=15', '78+15=93']
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,95 unequal: No Solution
Exploring Operation: 33+93=126, Resulting Numbers: [126]
126,95 unequal: No Solution
Exploring Operation: 33*93=3069, Resulting Numbers: [3069]
3069,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[78, 18], Operations: ['51-36=15', '33-15=18']
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,95 unequal: No Solution
Exploring Operation: 78+18=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 78*18=1404, Resulting Numbers: [1404]
1404,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[15, 111], Operations: ['51-36=15', '33+78=111']
Exploring Operation: 15+111=126, Resulting Numbers: [126]
126,95 unequal: No Solution
Exploring Operation: 111-15=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 15*111=1665, Resulting Numbers: [1665]
1665,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[15, 45], Operations: ['51-36=15', '78-33=45']
Exploring Operation: 15+45=60, Resulting Numbers: [60]
60,95 unequal: No Solution
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,95 unequal: No Solution
Exploring Operation: 15*45=675, Resulting Numbers: [675]
675,95 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[36, 78, 18], Operations: ['51-33=18']
Exploring Operation: 36/18=2, Resulting Numbers: [78, 2]
Generated Node #0,1,0: 95:[78, 2] Operation: 36/18=2
Exploring Operation: 78+18=96, Resulting Numbers: [36, 96]
Generated Node #0,1,1: 95:[36, 96] Operation: 78+18=96
Exploring Operation: 36-18=18, Resulting Numbers: [78, 18]
Generated Node #0,1,2: 95:[78, 18] Operation: 36-18=18
Exploring Operation: 36+78=114, Resulting Numbers: [18, 114]
Generated Node #0,1,3: 95:[18, 114] Operation: 36+78=114
Moving to Node #0,1,1
Current State: 95:[36, 96], Operations: ['51-33=18', '78+18=96']
Exploring Operation: 36+96=132, Resulting Numbers: [132]
132,95 unequal: No Solution
Exploring Operation: 96-36=60, Resulting Numbers: [60]
60,95 unequal: No Solution
Exploring Operation: 36*96=3456, Resulting Numbers: [3456]
3456,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[78, 18], Operations: ['51-33=18', '36-18=18']
Exploring Operation: 78+18=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 78*18=1404, Resulting Numbers: [1404]
1404,95 unequal: No Solution
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,95 unequal: No Solution
Moving to Node #0,1,3
Current State: 95:[18, 114], Operations: ['51-33=18', '36+78=114']
Exploring Operation: 18+114=132, Resulting Numbers: [132]
132,95 unequal: No Solution
Exploring Operation: 114-18=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 18*114=2052, Resulting Numbers: [2052]
2052,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[78, 2], Operations: ['51-33=18', '36/18=2']
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,95 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,95 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,95 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[36, 33, 27], Operations: ['78-51=27']
Exploring Operation: 36-33=3, Resulting Numbers: [27, 3]
Generated Node #0,2,0: 95:[27, 3] Operation: 36-33=3
Exploring Operation: 36+33=69, Resulting Numbers: [27, 69]
Generated Node #0,2,1: 95:[27, 69] Operation: 36+33=69
Exploring Operation: 36-27=9, Resulting Numbers: [33, 9]
Generated Node #0,2,2: 95:[33, 9] Operation: 36-27=9
Exploring Operation: 33-27=6, Resulting Numbers: [36, 6]
Generated Node #0,2,3: 95:[36, 6] Operation: 33-27=6
Moving to Node #0,2,0
Current State: 95:[27, 3], Operations: ['78-51=27', '36-33=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,95 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,95 unequal: No Solution
Moving to Node #0,2,3
Current State: 95:[36, 6], Operations: ['78-51=27', '33-27=6']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,95 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,95 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[33, 9], Operations: ['78-51=27', '36-27=9']
Exploring Operation: 33+9=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Exploring Operation: 33*9=297, Resulting Numbers: [297]
297,95 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[27, 69], Operations: ['78-51=27', '36+33=69']
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Exploring Operation: 27*69=1863, Resulting Numbers: [1863]
1863,95 unequal: No Solution
Exploring Operation: 27+69=96, Resulting Numbers: [96]
96,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[33, 78, 87], Operations: ['36+51=87']
Exploring Operation: 33+78=111, Resulting Numbers: [87, 111]
Generated Node #0,3,0: 95:[87, 111] Operation: 33+78=111
Exploring Operation: 78-33=45, Resulting Numbers: [87, 45]
Generated Node #0,3,1: 95:[87, 45] Operation: 78-33=45
Exploring Operation: 87-78=9, Resulting Numbers: [33, 9]
Generated Node #0,3,2: 95:[33, 9] Operation: 87-78=9
Exploring Operation: 33+87=120, Resulting Numbers: [78, 120]
Generated Node #0,3,3: 95:[78, 120] Operation: 33+87=120
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 95:[33, 9], Operations: ['36+51=87', '87-78=9']
Exploring Operation: 33*9=297, Resulting Numbers: [297]
297,95 unequal: No Solution
Exploring Operation: 33+9=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,95 unequal: No Solution
No 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: 95:[87, 111], Operations: ['36+51=87', '33+78=111']
Exploring Operation: 87*111=9657, Resulting Numbers: [9657]
9657,95 unequal: No Solution
Exploring Operation: 111-87=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 87+111=198, Resulting Numbers: [198]
198,95 unequal: No Solution
No 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: 95:[87, 45], Operations: ['36+51=87', '78-33=45']
Exploring Operation: 87*45=3915, Resulting Numbers: [3915]
3915,95 unequal: No Solution
Exploring Operation: 87-45=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Exploring Operation: 87+45=132, Resulting Numbers: [132]
132,95 unequal: No Solution
No 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: 95:[78, 120], Operations: ['36+51=87', '33+87=120']
Exploring Operation: 78+120=198, Resulting Numbers: [198]
198,95 unequal: No Solution
Exploring Operation: 78*120=9360, Resulting Numbers: [9360]
9360,95 unequal: No Solution
Exploring Operation: 120-78=42, Resulting Numbers: [42]
42,95 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 |
[
25,
12,
3,
93
] | 30 | [
"25*3=75",
"12+93=105",
"105-75=30"
] | Current State: 30:[25, 12, 3, 93], Operations: []
Exploring Operation: 25*3=75, Resulting Numbers: [12, 93, 75]
Generated Node #2: [12, 93, 75] from Operation: 25*3=75
Current State: 30:[12, 93, 75], Operations: ['25*3=75']
Exploring Operation: 12+93=105, Resulting Numbers: [75, 105]
Generated Node #3: [75, 105] from Operation: 12+93=105
Current State: 30:[75, 105], Operations: ['25*3=75', '12+93=105']
Exploring Operation: 105-75=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[25, 12, 3, 93], Operations: []
Exploring Operation: 93-25=68, Resulting Numbers: [12, 3, 68]
Generated Node #0,0: 30:[12, 3, 68] Operation: 93-25=68
Exploring Operation: 93/3=31, Resulting Numbers: [25, 12, 31]
Generated Node #0,1: 30:[25, 12, 31] Operation: 93/3=31
Exploring Operation: 25-12=13, Resulting Numbers: [3, 93, 13]
Generated Node #0,2: 30:[3, 93, 13] Operation: 25-12=13
Exploring Operation: 93-12=81, Resulting Numbers: [25, 3, 81]
Generated Node #0,3: 30:[25, 3, 81] Operation: 93-12=81
Moving to Node #0,1
Current State: 30:[25, 12, 31], Operations: ['93/3=31']
Exploring Operation: 25-12=13, Resulting Numbers: [31, 13]
Generated Node #0,1,0: 30:[31, 13] Operation: 25-12=13
Exploring Operation: 31-12=19, Resulting Numbers: [25, 19]
Generated Node #0,1,1: 30:[25, 19] Operation: 31-12=19
Exploring Operation: 31-25=6, Resulting Numbers: [12, 6]
Generated Node #0,1,2: 30:[12, 6] Operation: 31-25=6
Exploring Operation: 25+12=37, Resulting Numbers: [31, 37]
Generated Node #0,1,3: 30:[31, 37] Operation: 25+12=37
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 30:[12, 6], Operations: ['93/3=31', '31-25=6']
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,30 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,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,0
Current State: 30:[31, 13], Operations: ['93/3=31', '25-12=13']
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 31*13=403, Resulting Numbers: [403]
403,30 unequal: No Solution
Exploring Operation: 31+13=44, Resulting Numbers: [44]
44,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,3
Current State: 30:[31, 37], Operations: ['93/3=31', '25+12=37']
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 31+37=68, Resulting Numbers: [68]
68,30 unequal: No Solution
Exploring Operation: 31*37=1147, Resulting Numbers: [1147]
1147,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:[25, 19], Operations: ['93/3=31', '31-12=19']
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,30 unequal: No Solution
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,30 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,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:[12, 3, 68], Operations: ['93-25=68']
Exploring Operation: 12-3=9, Resulting Numbers: [68, 9]
Generated Node #0,0,0: 30:[68, 9] Operation: 12-3=9
Exploring Operation: 68-3=65, Resulting Numbers: [12, 65]
Generated Node #0,0,1: 30:[12, 65] Operation: 68-3=65
Exploring Operation: 12+3=15, Resulting Numbers: [68, 15]
Generated Node #0,0,2: 30:[68, 15] Operation: 12+3=15
Exploring Operation: 68-12=56, Resulting Numbers: [3, 56]
Generated Node #0,0,3: 30:[3, 56] Operation: 68-12=56
Moving to Node #0,3
Current State: 30:[25, 3, 81], Operations: ['93-12=81']
Exploring Operation: 25+3=28, Resulting Numbers: [81, 28]
Generated Node #0,3,0: 30:[81, 28] Operation: 25+3=28
Exploring Operation: 81-3=78, Resulting Numbers: [25, 78]
Generated Node #0,3,1: 30:[25, 78] Operation: 81-3=78
Exploring Operation: 81-25=56, Resulting Numbers: [3, 56]
Generated Node #0,3,2: 30:[3, 56] Operation: 81-25=56
Exploring Operation: 81/3=27, Resulting Numbers: [25, 27]
Generated Node #0,3,3: 30:[25, 27] Operation: 81/3=27
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 30:[25, 27], Operations: ['93-12=81', '81/3=27']
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 25+27=52, Resulting Numbers: [52]
52,30 unequal: No Solution
Exploring Operation: 25*27=675, Resulting Numbers: [675]
675,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,3,2
Current State: 30:[3, 56], Operations: ['93-12=81', '81-25=56']
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,30 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,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,3,0
Current State: 30:[81, 28], Operations: ['93-12=81', '25+3=28']
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Exploring Operation: 81*28=2268, Resulting Numbers: [2268]
2268,30 unequal: No Solution
Exploring Operation: 81+28=109, Resulting Numbers: [109]
109,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,3,1
Current State: 30:[25, 78], Operations: ['93-12=81', '81-3=78']
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Exploring Operation: 25*78=1950, Resulting Numbers: [1950]
1950,30 unequal: No Solution
Exploring Operation: 25+78=103, Resulting Numbers: [103]
103,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 30:[3, 93, 13], Operations: ['25-12=13']
Exploring Operation: 93/3=31, Resulting Numbers: [13, 31]
Generated Node #0,2,0: 30:[13, 31] Operation: 93/3=31
Exploring Operation: 93-13=80, Resulting Numbers: [3, 80]
Generated Node #0,2,1: 30:[3, 80] Operation: 93-13=80
Exploring Operation: 13-3=10, Resulting Numbers: [93, 10]
Generated Node #0,2,2: 30:[93, 10] Operation: 13-3=10
Exploring Operation: 93-3=90, Resulting Numbers: [13, 90]
Generated Node #0,2,3: 30:[13, 90] Operation: 93-3=90
Moving to Node #0,2,0
Current State: 30:[13, 31], Operations: ['25-12=13', '93/3=31']
Exploring Operation: 13*31=403, Resulting Numbers: [403]
403,30 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 13+31=44, Resulting Numbers: [44]
44,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[3, 56], Operations: ['93-25=68', '68-12=56']
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,30 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[12, 65], Operations: ['93-25=68', '68-3=65']
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Exploring Operation: 12+65=77, Resulting Numbers: [77]
77,30 unequal: No Solution
Exploring Operation: 12*65=780, Resulting Numbers: [780]
780,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[68, 15], Operations: ['93-25=68', '12+3=15']
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,30 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Exploring Operation: 68*15=1020, Resulting Numbers: [1020]
1020,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[68, 9], Operations: ['93-25=68', '12-3=9']
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,30 unequal: No Solution
Exploring Operation: 68*9=612, Resulting Numbers: [612]
612,30 unequal: No Solution
Exploring Operation: 68+9=77, Resulting Numbers: [77]
77,30 unequal: No Solution
Moving to Node #0,2,1
Current State: 30:[3, 80], Operations: ['25-12=13', '93-13=80']
Exploring Operation: 3+80=83, Resulting Numbers: [83]
83,30 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,30 unequal: No Solution
Exploring Operation: 3*80=240, Resulting Numbers: [240]
240,30 unequal: No Solution
Moving to Node #0,2,3
Current State: 30:[13, 90], Operations: ['25-12=13', '93-3=90']
Exploring Operation: 13+90=103, Resulting Numbers: [103]
103,30 unequal: No Solution
Exploring Operation: 13*90=1170, Resulting Numbers: [1170]
1170,30 unequal: No Solution
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[93, 10], Operations: ['25-12=13', '13-3=10']
Exploring Operation: 93*10=930, Resulting Numbers: [930]
930,30 unequal: No Solution
Exploring Operation: 93-10=83, Resulting Numbers: [83]
83,30 unequal: No Solution
Exploring Operation: 93+10=103, Resulting Numbers: [103]
103,30 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
14,
58,
25,
68
] | 16 | [
"58+68=126",
"126/14=9",
"25-9=16"
] | Current State: 16:[14, 58, 25, 68], Operations: []
Exploring Operation: 58+68=126, Resulting Numbers: [14, 25, 126]
Generated Node #2: [14, 25, 126] from Operation: 58+68=126
Current State: 16:[14, 25, 126], Operations: ['58+68=126']
Exploring Operation: 126/14=9, Resulting Numbers: [25, 9]
Generated Node #3: [25, 9] from Operation: 126/14=9
Current State: 16:[25, 9], Operations: ['58+68=126', '126/14=9']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[14, 58, 25, 68], Operations: []
Exploring Operation: 58-14=44, Resulting Numbers: [25, 68, 44]
Generated Node #0,0: 16:[25, 68, 44] Operation: 58-14=44
Exploring Operation: 68-25=43, Resulting Numbers: [14, 58, 43]
Generated Node #0,1: 16:[14, 58, 43] Operation: 68-25=43
Exploring Operation: 68-58=10, Resulting Numbers: [14, 25, 10]
Generated Node #0,2: 16:[14, 25, 10] Operation: 68-58=10
Exploring Operation: 58-25=33, Resulting Numbers: [14, 68, 33]
Generated Node #0,3: 16:[14, 68, 33] Operation: 58-25=33
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[14, 25, 10], Operations: ['68-58=10']
Exploring Operation: 14-10=4, Resulting Numbers: [25, 4]
Generated Node #0,2,0: 16:[25, 4] Operation: 14-10=4
Exploring Operation: 25-14=11, Resulting Numbers: [10, 11]
Generated Node #0,2,1: 16:[10, 11] Operation: 25-14=11
Exploring Operation: 25-10=15, Resulting Numbers: [14, 15]
Generated Node #0,2,2: 16:[14, 15] Operation: 25-10=15
Exploring Operation: 14+10=24, Resulting Numbers: [25, 24]
Generated Node #0,2,3: 16:[25, 24] Operation: 14+10=24
Moving to Node #0,2,2
Current State: 16:[14, 15], Operations: ['68-58=10', '25-10=15']
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,16 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[10, 11], Operations: ['68-58=10', '25-14=11']
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,16 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[25, 4], Operations: ['68-58=10', '14-10=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,16 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[25, 24], Operations: ['68-58=10', '14+10=24']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,16 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,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,1
Current State: 16:[14, 58, 43], Operations: ['68-25=43']
Exploring Operation: 58-43=15, Resulting Numbers: [14, 15]
Generated Node #0,1,0: 16:[14, 15] Operation: 58-43=15
Exploring Operation: 43-14=29, Resulting Numbers: [58, 29]
Generated Node #0,1,1: 16:[58, 29] Operation: 43-14=29
Exploring Operation: 14+58=72, Resulting Numbers: [43, 72]
Generated Node #0,1,2: 16:[43, 72] Operation: 14+58=72
Exploring Operation: 58-14=44, Resulting Numbers: [43, 44]
Generated Node #0,1,3: 16:[43, 44] Operation: 58-14=44
Moving to Node #0,1,0
Current State: 16:[14, 15], Operations: ['68-25=43', '58-43=15']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,16 unequal: No Solution
Moving to Node #0,1,3
Current State: 16:[43, 44], Operations: ['68-25=43', '58-14=44']
Exploring Operation: 43*44=1892, Resulting Numbers: [1892]
1892,16 unequal: No Solution
Exploring Operation: 43+44=87, Resulting Numbers: [87]
87,16 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[58, 29], Operations: ['68-25=43', '43-14=29']
Exploring Operation: 58+29=87, Resulting Numbers: [87]
87,16 unequal: No Solution
Exploring Operation: 58-29=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 58/29=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 58*29=1682, Resulting Numbers: [1682]
1682,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[43, 72], Operations: ['68-25=43', '14+58=72']
Exploring Operation: 72-43=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 43*72=3096, Resulting Numbers: [3096]
3096,16 unequal: No Solution
Exploring Operation: 43+72=115, Resulting Numbers: [115]
115,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,3
Current State: 16:[14, 68, 33], Operations: ['58-25=33']
Exploring Operation: 68-33=35, Resulting Numbers: [14, 35]
Generated Node #0,3,0: 16:[14, 35] Operation: 68-33=35
Exploring Operation: 14+68=82, Resulting Numbers: [33, 82]
Generated Node #0,3,1: 16:[33, 82] Operation: 14+68=82
Exploring Operation: 68-14=54, Resulting Numbers: [33, 54]
Generated Node #0,3,2: 16:[33, 54] Operation: 68-14=54
Exploring Operation: 33-14=19, Resulting Numbers: [68, 19]
Generated Node #0,3,3: 16:[68, 19] Operation: 33-14=19
Moving to Node #0,3,0
Current State: 16:[14, 35], Operations: ['58-25=33', '68-33=35']
Exploring Operation: 14+35=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 14*35=490, Resulting Numbers: [490]
490,16 unequal: No Solution
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[68, 19], Operations: ['58-25=33', '33-14=19']
Exploring Operation: 68+19=87, Resulting Numbers: [87]
87,16 unequal: No Solution
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 68*19=1292, Resulting Numbers: [1292]
1292,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[33, 54], Operations: ['58-25=33', '68-14=54']
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,16 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,16 unequal: No Solution
Exploring Operation: 33*54=1782, Resulting Numbers: [1782]
1782,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[33, 82], Operations: ['58-25=33', '14+68=82']
Exploring Operation: 33*82=2706, Resulting Numbers: [2706]
2706,16 unequal: No Solution
Exploring Operation: 82-33=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 33+82=115, Resulting Numbers: [115]
115,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,0
Current State: 16:[25, 68, 44], Operations: ['58-14=44']
Exploring Operation: 44-25=19, Resulting Numbers: [68, 19]
Generated Node #0,0,0: 16:[68, 19] Operation: 44-25=19
Exploring Operation: 68-25=43, Resulting Numbers: [44, 43]
Generated Node #0,0,1: 16:[44, 43] Operation: 68-25=43
Exploring Operation: 68-44=24, Resulting Numbers: [25, 24]
Generated Node #0,0,2: 16:[25, 24] Operation: 68-44=24
Exploring Operation: 25+68=93, Resulting Numbers: [44, 93]
Generated Node #0,0,3: 16:[44, 93] Operation: 25+68=93
Moving to Node #0,0,2
Current State: 16:[25, 24], Operations: ['58-14=44', '68-44=24']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[44, 43], Operations: ['58-14=44', '68-25=43']
Exploring Operation: 44+43=87, Resulting Numbers: [87]
87,16 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 44*43=1892, Resulting Numbers: [1892]
1892,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[68, 19], Operations: ['58-14=44', '44-25=19']
Exploring Operation: 68+19=87, Resulting Numbers: [87]
87,16 unequal: No Solution
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 68*19=1292, Resulting Numbers: [1292]
1292,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[44, 93], Operations: ['58-14=44', '25+68=93']
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,16 unequal: No Solution
Exploring Operation: 44*93=4092, Resulting Numbers: [4092]
4092,16 unequal: No Solution
Exploring Operation: 44+93=137, Resulting Numbers: [137]
137,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
75,
26,
67,
2
] | 44 | [
"75-67=8",
"26*2=52",
"52-8=44"
] | Current State: 44:[75, 26, 67, 2], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [26, 2, 8]
Generated Node #2: [26, 2, 8] from Operation: 75-67=8
Current State: 44:[26, 2, 8], Operations: ['75-67=8']
Exploring Operation: 26*2=52, Resulting Numbers: [8, 52]
Generated Node #3: [8, 52] from Operation: 26*2=52
Current State: 44:[8, 52], Operations: ['75-67=8', '26*2=52']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[75, 26, 67, 2], Operations: []
Exploring Operation: 75-26=49, Resulting Numbers: [67, 2, 49]
Generated Node #0,0: 44:[67, 2, 49] Operation: 75-26=49
Exploring Operation: 75-67=8, Resulting Numbers: [26, 2, 8]
Generated Node #0,1: 44:[26, 2, 8] Operation: 75-67=8
Moving to Node #0,1
Current State: 44:[26, 2, 8], Operations: ['75-67=8']
Exploring Operation: 8/2=4, Resulting Numbers: [26, 4]
Generated Node #0,1,0: 44:[26, 4] Operation: 8/2=4
Exploring Operation: 26-8=18, Resulting Numbers: [2, 18]
Generated Node #0,1,1: 44:[2, 18] Operation: 26-8=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[26, 4], Operations: ['75-67=8', '8/2=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,44 unequal: No Solution
No 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: 44:[2, 18], Operations: ['75-67=8', '26-8=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,44 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: 44:[67, 2, 49], Operations: ['75-26=49']
Exploring Operation: 67-49=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 44:[2, 18] Operation: 67-49=18
Exploring Operation: 67-2=65, Resulting Numbers: [49, 65]
Generated Node #0,0,1: 44:[49, 65] Operation: 67-2=65
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[2, 18], Operations: ['75-26=49', '67-49=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,44 unequal: No Solution
No 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: 44:[49, 65], Operations: ['75-26=49', '67-2=65']
Exploring Operation: 65-49=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 49+65=114, Resulting Numbers: [114]
114,44 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 |
[
96,
95,
72,
42
] | 99 | [
"96+72=168",
"168/42=4",
"95+4=99"
] | Current State: 99:[96, 95, 72, 42], Operations: []
Exploring Operation: 96+72=168, Resulting Numbers: [95, 42, 168]
Generated Node #2: [95, 42, 168] from Operation: 96+72=168
Current State: 99:[95, 42, 168], Operations: ['96+72=168']
Exploring Operation: 168/42=4, Resulting Numbers: [95, 4]
Generated Node #3: [95, 4] from Operation: 168/42=4
Current State: 99:[95, 4], Operations: ['96+72=168', '168/42=4']
Exploring Operation: 95+4=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[96, 95, 72, 42], Operations: []
Exploring Operation: 72-42=30, Resulting Numbers: [96, 95, 30]
Generated Node #0,0: 99:[96, 95, 30] Operation: 72-42=30
Exploring Operation: 95-72=23, Resulting Numbers: [96, 42, 23]
Generated Node #0,1: 99:[96, 42, 23] Operation: 95-72=23
Exploring Operation: 96-72=24, Resulting Numbers: [95, 42, 24]
Generated Node #0,2: 99:[95, 42, 24] Operation: 96-72=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[96, 95, 30], Operations: ['72-42=30']
Exploring Operation: 96+30=126, Resulting Numbers: [95, 126]
Generated Node #0,0,0: 99:[95, 126] Operation: 96+30=126
Exploring Operation: 96-95=1, Resulting Numbers: [30, 1]
Generated Node #0,0,1: 99:[30, 1] Operation: 96-95=1
Exploring Operation: 95+30=125, Resulting Numbers: [96, 125]
Generated Node #0,0,2: 99:[96, 125] Operation: 95+30=125
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[30, 1], Operations: ['72-42=30', '96-95=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 99:[96, 125], Operations: ['72-42=30', '95+30=125']
Exploring Operation: 96+125=221, Resulting Numbers: [221]
221,99 unequal: No Solution
Exploring Operation: 125-96=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 96*125=12000, Resulting Numbers: [12000]
12000,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[95, 126], Operations: ['72-42=30', '96+30=126']
Exploring Operation: 95+126=221, Resulting Numbers: [221]
221,99 unequal: No Solution
Exploring Operation: 126-95=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 95*126=11970, Resulting Numbers: [11970]
11970,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[96, 42, 23], Operations: ['95-72=23']
Exploring Operation: 96-42=54, Resulting Numbers: [23, 54]
Generated Node #0,1,0: 99:[23, 54] Operation: 96-42=54
Exploring Operation: 42-23=19, Resulting Numbers: [96, 19]
Generated Node #0,1,1: 99:[96, 19] Operation: 42-23=19
Exploring Operation: 96+23=119, Resulting Numbers: [42, 119]
Generated Node #0,1,2: 99:[42, 119] Operation: 96+23=119
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[96, 19], Operations: ['95-72=23', '42-23=19']
Exploring Operation: 96*19=1824, Resulting Numbers: [1824]
1824,99 unequal: No Solution
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Exploring Operation: 96+19=115, Resulting Numbers: [115]
115,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 99:[42, 119], Operations: ['95-72=23', '96+23=119']
Exploring Operation: 119-42=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Exploring Operation: 42*119=4998, Resulting Numbers: [4998]
4998,99 unequal: No Solution
Exploring Operation: 42+119=161, Resulting Numbers: [161]
161,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 99:[23, 54], Operations: ['95-72=23', '96-42=54']
Exploring Operation: 23*54=1242, Resulting Numbers: [1242]
1242,99 unequal: No Solution
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[95, 42, 24], Operations: ['96-72=24']
Exploring Operation: 95-42=53, Resulting Numbers: [24, 53]
Generated Node #0,2,0: 99:[24, 53] Operation: 95-42=53
Exploring Operation: 42-24=18, Resulting Numbers: [95, 18]
Generated Node #0,2,1: 99:[95, 18] Operation: 42-24=18
Exploring Operation: 95+24=119, Resulting Numbers: [42, 119]
Generated Node #0,2,2: 99:[42, 119] Operation: 95+24=119
Moving to Node #0,2,1
Current State: 99:[95, 18], Operations: ['96-72=24', '42-24=18']
Exploring Operation: 95*18=1710, Resulting Numbers: [1710]
1710,99 unequal: No Solution
Exploring Operation: 95-18=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Exploring Operation: 95+18=113, Resulting Numbers: [113]
113,99 unequal: No Solution
Moving to Node #0,2,0
Current State: 99:[24, 53], Operations: ['96-72=24', '95-42=53']
Exploring Operation: 24+53=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Exploring Operation: 24*53=1272, Resulting Numbers: [1272]
1272,99 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[42, 119], Operations: ['96-72=24', '95+24=119']
Exploring Operation: 42*119=4998, Resulting Numbers: [4998]
4998,99 unequal: No Solution
Exploring Operation: 42+119=161, Resulting Numbers: [161]
161,99 unequal: No Solution
Exploring Operation: 119-42=77, Resulting Numbers: [77]
77,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
42,
54,
21,
2
] | 58 | [
"42/21=2",
"54+2=56",
"2+56=58"
] | Current State: 58:[42, 54, 21, 2], Operations: []
Exploring Operation: 42/21=2, Resulting Numbers: [54, 2, 2]
Generated Node #2: [54, 2, 2] from Operation: 42/21=2
Current State: 58:[54, 2, 2], Operations: ['42/21=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,58 equal: Goal Reached
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[42, 54, 21, 2], Operations: []
Exploring Operation: 42/21=2, Resulting Numbers: [54, 2, 2]
Generated Node #0,0: 58:[54, 2, 2] Operation: 42/21=2
Exploring Operation: 42-21=21, Resulting Numbers: [54, 2, 21]
Generated Node #0,1: 58:[54, 2, 21] Operation: 42-21=21
Exploring Operation: 54-21=33, Resulting Numbers: [42, 2, 33]
Generated Node #0,2: 58:[42, 2, 33] Operation: 54-21=33
Exploring Operation: 42+21=63, Resulting Numbers: [54, 2, 63]
Generated Node #0,3: 58:[54, 2, 63] Operation: 42+21=63
Moving to Node #0,0
Current State: 58:[54, 2, 2], Operations: ['42/21=2']
Exploring Operation: 54+2=56, Resulting Numbers: [2, 56]
Generated Node #0,0,0: 58:[2, 56] Operation: 54+2=56
Exploring Operation: 54+2=56, Resulting Numbers: [2, 56]
Generated Node #0,0,1: 58:[2, 56] Operation: 54+2=56
Exploring Operation: 54/2=27, Resulting Numbers: [2, 27]
Generated Node #0,0,2: 58:[2, 27] Operation: 54/2=27
Exploring Operation: 54/2=27, Resulting Numbers: [2, 27]
Generated Node #0,0,3: 58:[2, 27] Operation: 54/2=27
Moving to Node #0,3
Current State: 58:[54, 2, 63], Operations: ['42+21=63']
Exploring Operation: 54+2=56, Resulting Numbers: [63, 56]
Generated Node #0,3,0: 58:[63, 56] Operation: 54+2=56
Exploring Operation: 54/2=27, Resulting Numbers: [63, 27]
Generated Node #0,3,1: 58:[63, 27] Operation: 54/2=27
Exploring Operation: 63-2=61, Resulting Numbers: [54, 61]
Generated Node #0,3,2: 58:[54, 61] Operation: 63-2=61
Exploring Operation: 63-54=9, Resulting Numbers: [2, 9]
Generated Node #0,3,3: 58:[2, 9] Operation: 63-54=9
Moving to Node #0,1
Current State: 58:[54, 2, 21], Operations: ['42-21=21']
Exploring Operation: 2+21=23, Resulting Numbers: [54, 23]
Generated Node #0,1,0: 58:[54, 23] Operation: 2+21=23
Exploring Operation: 54+2=56, Resulting Numbers: [21, 56]
Generated Node #0,1,1: 58:[21, 56] Operation: 54+2=56
Exploring Operation: 54/2=27, Resulting Numbers: [21, 27]
Generated Node #0,1,2: 58:[21, 27] Operation: 54/2=27
Exploring Operation: 54-21=33, Resulting Numbers: [2, 33]
Generated Node #0,1,3: 58:[2, 33] Operation: 54-21=33
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 58:[2, 33], Operations: ['42-21=21', '54-21=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,58 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,58 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[54, 23], Operations: ['42-21=21', '2+21=23']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 54*23=1242, Resulting Numbers: [1242]
1242,58 unequal: No Solution
Exploring Operation: 54+23=77, Resulting Numbers: [77]
77,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[21, 56], Operations: ['42-21=21', '54+2=56']
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,58 unequal: No Solution
Exploring Operation: 21*56=1176, Resulting Numbers: [1176]
1176,58 unequal: No Solution
Exploring Operation: 21+56=77, Resulting Numbers: [77]
77,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 58:[21, 27], Operations: ['42-21=21', '54/2=27']
Exploring Operation: 21+27=48, Resulting Numbers: [48]
48,58 unequal: No Solution
Exploring Operation: 21*27=567, Resulting Numbers: [567]
567,58 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,58 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: 58:[42, 2, 33], Operations: ['54-21=33']
Exploring Operation: 33-2=31, Resulting Numbers: [42, 31]
Generated Node #0,2,0: 58:[42, 31] Operation: 33-2=31
Exploring Operation: 42-2=40, Resulting Numbers: [33, 40]
Generated Node #0,2,1: 58:[33, 40] Operation: 42-2=40
Exploring Operation: 42-33=9, Resulting Numbers: [2, 9]
Generated Node #0,2,2: 58:[2, 9] Operation: 42-33=9
Exploring Operation: 42/2=21, Resulting Numbers: [33, 21]
Generated Node #0,2,3: 58:[33, 21] Operation: 42/2=21
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 58:[2, 9], Operations: ['54-21=33', '42-33=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,58 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 58:[33, 21], Operations: ['54-21=33', '42/2=21']
Exploring Operation: 33+21=54, Resulting Numbers: [54]
54,58 unequal: No Solution
Exploring Operation: 33*21=693, Resulting Numbers: [693]
693,58 unequal: No Solution
Exploring Operation: 33-21=12, Resulting Numbers: [12]
12,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 58:[42, 31], Operations: ['54-21=33', '33-2=31']
Exploring Operation: 42+31=73, Resulting Numbers: [73]
73,58 unequal: No Solution
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,58 unequal: No Solution
Exploring Operation: 42*31=1302, Resulting Numbers: [1302]
1302,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 58:[33, 40], Operations: ['54-21=33', '42-2=40']
Exploring Operation: 33+40=73, Resulting Numbers: [73]
73,58 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 33*40=1320, Resulting Numbers: [1320]
1320,58 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: 58:[2, 56], Operations: ['42/21=2', '54+2=56']
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,58 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[42, 54, 21, 2], Operations: []
Exploring Operation: 42/21=2, Resulting Numbers: [54, 2, 2]
Generated Node #0,0: 58:[54, 2, 2] Operation: 42/21=2
Moving to Node #0,0
Current State: 58:[54, 2, 2], Operations: ['42/21=2']
Exploring Operation: 54+2=56, Resulting Numbers: [2, 56]
Generated Node #0,0,0: 58:[2, 56] Operation: 54+2=56
Moving to Node #0,0,0
Current State: 58:[2, 56], Operations: ['42/21=2', '54+2=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.956597 | hs_4 | mult_heuristic |
[
19,
87,
26,
34
] | 60 | [
"87-19=68",
"34-26=8",
"68-8=60"
] | Current State: 60:[19, 87, 26, 34], Operations: []
Exploring Operation: 87-19=68, Resulting Numbers: [26, 34, 68]
Generated Node #2: [26, 34, 68] from Operation: 87-19=68
Current State: 60:[26, 34, 68], Operations: ['87-19=68']
Exploring Operation: 34-26=8, Resulting Numbers: [68, 8]
Generated Node #3: [68, 8] from Operation: 34-26=8
Current State: 60:[68, 8], Operations: ['87-19=68', '34-26=8']
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[19, 87, 26, 34], Operations: []
Exploring Operation: 87-26=61, Resulting Numbers: [19, 34, 61]
Generated Node #0,0: 60:[19, 34, 61] Operation: 87-26=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[19, 34, 61], Operations: ['87-26=61']
Exploring Operation: 34-19=15, Resulting Numbers: [61, 15]
Generated Node #0,0,0: 60:[61, 15] Operation: 34-19=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[61, 15], Operations: ['87-26=61', '34-19=15']
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
4,
7,
90
] | 86 | [
"7-6=1",
"90-4=86",
"1*86=86"
] | Current State: 86:[6, 4, 7, 90], Operations: []
Exploring Operation: 7-6=1, Resulting Numbers: [4, 90, 1]
Generated Node #2: [4, 90, 1] from Operation: 7-6=1
Current State: 86:[4, 90, 1], Operations: ['7-6=1']
Exploring Operation: 90-4=86, Resulting Numbers: [1, 86]
Generated Node #3: [1, 86] from Operation: 90-4=86
Current State: 86:[1, 86], Operations: ['7-6=1', '90-4=86']
Exploring Operation: 1*86=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[6, 4, 7, 90], Operations: []
Exploring Operation: 7-6=1, Resulting Numbers: [4, 90, 1]
Generated Node #0,0: 86:[4, 90, 1] Operation: 7-6=1
Exploring Operation: 6-4=2, Resulting Numbers: [7, 90, 2]
Generated Node #0,1: 86:[7, 90, 2] Operation: 6-4=2
Exploring Operation: 6*7=42, Resulting Numbers: [4, 90, 42]
Generated Node #0,2: 86:[4, 90, 42] Operation: 6*7=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[4, 90, 1], Operations: ['7-6=1']
Exploring Operation: 90-4=86, Resulting Numbers: [1, 86]
Generated Node #0,0,0: 86:[1, 86] Operation: 90-4=86
Exploring Operation: 4-1=3, Resulting Numbers: [90, 3]
Generated Node #0,0,1: 86:[90, 3] Operation: 4-1=3
Exploring Operation: 90-1=89, Resulting Numbers: [4, 89]
Generated Node #0,0,2: 86:[4, 89] Operation: 90-1=89
Moving to Node #0,0,0
Current State: 86:[1, 86], Operations: ['7-6=1', '90-4=86']
Exploring Operation: 1*86=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[6, 4, 7, 90], Operations: []
Exploring Operation: 7-6=1, Resulting Numbers: [4, 90, 1]
Generated Node #0,0: 86:[4, 90, 1] Operation: 7-6=1
Moving to Node #0,0
Current State: 86:[4, 90, 1], Operations: ['7-6=1']
Exploring Operation: 90-4=86, Resulting Numbers: [1, 86]
Generated Node #0,0,0: 86:[1, 86] Operation: 90-4=86
Moving to Node #0,0,0
Current State: 86:[1, 86], Operations: ['7-6=1', '90-4=86']
Exploring Operation: 1*86=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
67,
70,
40,
72
] | 25 | [
"67+70=137",
"40+72=112",
"137-112=25"
] | Current State: 25:[67, 70, 40, 72], Operations: []
Exploring Operation: 67+70=137, Resulting Numbers: [40, 72, 137]
Generated Node #2: [40, 72, 137] from Operation: 67+70=137
Current State: 25:[40, 72, 137], Operations: ['67+70=137']
Exploring Operation: 40+72=112, Resulting Numbers: [137, 112]
Generated Node #3: [137, 112] from Operation: 40+72=112
Current State: 25:[137, 112], Operations: ['67+70=137', '40+72=112']
Exploring Operation: 137-112=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[67, 70, 40, 72], Operations: []
Exploring Operation: 72-67=5, Resulting Numbers: [70, 40, 5]
Generated Node #0,0: 25:[70, 40, 5] Operation: 72-67=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[70, 40, 5], Operations: ['72-67=5']
Exploring Operation: 70-40=30, Resulting Numbers: [5, 30]
Generated Node #0,0,0: 25:[5, 30] Operation: 70-40=30
Moving to Node #0,0,0
Current State: 25:[5, 30], Operations: ['72-67=5', '70-40=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[67, 70, 40, 72], Operations: []
Exploring Operation: 72-67=5, Resulting Numbers: [70, 40, 5]
Generated Node #0,0: 25:[70, 40, 5] Operation: 72-67=5
Moving to Node #0,0
Current State: 25:[70, 40, 5], Operations: ['72-67=5']
Exploring Operation: 70-40=30, Resulting Numbers: [5, 30]
Generated Node #0,0,0: 25:[5, 30] Operation: 70-40=30
Moving to Node #0,0,0
Current State: 25:[5, 30], Operations: ['72-67=5', '70-40=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
49,
54,
94,
91
] | 100 | [
"49+54=103",
"94-91=3",
"103-3=100"
] | Current State: 100:[49, 54, 94, 91], Operations: []
Exploring Operation: 49+54=103, Resulting Numbers: [94, 91, 103]
Generated Node #2: [94, 91, 103] from Operation: 49+54=103
Current State: 100:[94, 91, 103], Operations: ['49+54=103']
Exploring Operation: 94-91=3, Resulting Numbers: [103, 3]
Generated Node #3: [103, 3] from Operation: 94-91=3
Current State: 100:[103, 3], Operations: ['49+54=103', '94-91=3']
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[49, 54, 94, 91], Operations: []
Exploring Operation: 94-91=3, Resulting Numbers: [49, 54, 3]
Generated Node #0,0: 100:[49, 54, 3] Operation: 94-91=3
Exploring Operation: 54-49=5, Resulting Numbers: [94, 91, 5]
Generated Node #0,1: 100:[94, 91, 5] Operation: 54-49=5
Exploring Operation: 49+54=103, Resulting Numbers: [94, 91, 103]
Generated Node #0,2: 100:[94, 91, 103] Operation: 49+54=103
Moving to Node #0,0
Current State: 100:[49, 54, 3], Operations: ['94-91=3']
Exploring Operation: 54-3=51, Resulting Numbers: [49, 51]
Generated Node #0,0,0: 100:[49, 51] Operation: 54-3=51
Exploring Operation: 54-49=5, Resulting Numbers: [3, 5]
Generated Node #0,0,1: 100:[3, 5] Operation: 54-49=5
Exploring Operation: 54/3=18, Resulting Numbers: [49, 18]
Generated Node #0,0,2: 100:[49, 18] Operation: 54/3=18
Moving to Node #0,1
Current State: 100:[94, 91, 5], Operations: ['54-49=5']
Exploring Operation: 91+5=96, Resulting Numbers: [94, 96]
Generated Node #0,1,0: 100:[94, 96] Operation: 91+5=96
Exploring Operation: 94+5=99, Resulting Numbers: [91, 99]
Generated Node #0,1,1: 100:[91, 99] Operation: 94+5=99
Exploring Operation: 94-91=3, Resulting Numbers: [5, 3]
Generated Node #0,1,2: 100:[5, 3] Operation: 94-91=3
Moving to Node #0,2
Current State: 100:[94, 91, 103], Operations: ['49+54=103']
Exploring Operation: 103-94=9, Resulting Numbers: [91, 9]
Generated Node #0,2,0: 100:[91, 9] Operation: 103-94=9
Exploring Operation: 94-91=3, Resulting Numbers: [103, 3]
Generated Node #0,2,1: 100:[103, 3] Operation: 94-91=3
Exploring Operation: 103-91=12, Resulting Numbers: [94, 12]
Generated Node #0,2,2: 100:[94, 12] Operation: 103-91=12
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 100:[103, 3], Operations: ['49+54=103', '94-91=3']
Exploring Operation: 103*3=309, Resulting Numbers: [309]
309,100 unequal: No Solution
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[49, 54, 94, 91], Operations: []
Exploring Operation: 49+54=103, Resulting Numbers: [94, 91, 103]
Generated Node #0,2: 100:[94, 91, 103] Operation: 49+54=103
Moving to Node #0,2
Current State: 100:[94, 91, 103], Operations: ['49+54=103']
Exploring Operation: 94-91=3, Resulting Numbers: [103, 3]
Generated Node #0,2,1: 100:[103, 3] Operation: 94-91=3
Moving to Node #0,2,1
Current State: 100:[103, 3], Operations: ['49+54=103', '94-91=3']
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
20,
32,
75,
59
] | 40 | [
"20*32=640",
"75-59=16",
"640/16=40"
] | Current State: 40:[20, 32, 75, 59], Operations: []
Exploring Operation: 20*32=640, Resulting Numbers: [75, 59, 640]
Generated Node #2: [75, 59, 640] from Operation: 20*32=640
Current State: 40:[75, 59, 640], Operations: ['20*32=640']
Exploring Operation: 75-59=16, Resulting Numbers: [640, 16]
Generated Node #3: [640, 16] from Operation: 75-59=16
Current State: 40:[640, 16], Operations: ['20*32=640', '75-59=16']
Exploring Operation: 640/16=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[20, 32, 75, 59], Operations: []
Exploring Operation: 75-32=43, Resulting Numbers: [20, 59, 43]
Generated Node #0,0: 40:[20, 59, 43] Operation: 75-32=43
Exploring Operation: 75-59=16, Resulting Numbers: [20, 32, 16]
Generated Node #0,1: 40:[20, 32, 16] Operation: 75-59=16
Exploring Operation: 59-32=27, Resulting Numbers: [20, 75, 27]
Generated Node #0,2: 40:[20, 75, 27] Operation: 59-32=27
Exploring Operation: 75-20=55, Resulting Numbers: [32, 59, 55]
Generated Node #0,3: 40:[32, 59, 55] Operation: 75-20=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[20, 32, 16], Operations: ['75-59=16']
Exploring Operation: 32/16=2, Resulting Numbers: [20, 2]
Generated Node #0,1,0: 40:[20, 2] Operation: 32/16=2
Exploring Operation: 32-16=16, Resulting Numbers: [20, 16]
Generated Node #0,1,1: 40:[20, 16] Operation: 32-16=16
Exploring Operation: 20-16=4, Resulting Numbers: [32, 4]
Generated Node #0,1,2: 40:[32, 4] Operation: 20-16=4
Exploring Operation: 32-20=12, Resulting Numbers: [16, 12]
Generated Node #0,1,3: 40:[16, 12] Operation: 32-20=12
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 40:[20, 2], Operations: ['75-59=16', '32/16=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[20, 32, 75, 59], Operations: []
Exploring Operation: 75-59=16, Resulting Numbers: [20, 32, 16]
Generated Node #0,1: 40:[20, 32, 16] Operation: 75-59=16
Moving to Node #0,1
Current State: 40:[20, 32, 16], Operations: ['75-59=16']
Exploring Operation: 32/16=2, Resulting Numbers: [20, 2]
Generated Node #0,1,0: 40:[20, 2] Operation: 32/16=2
Moving to Node #0,1,0
Current State: 40:[20, 2], Operations: ['75-59=16', '32/16=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
47,
71,
39,
56
] | 34 | [
"47*39=1833",
"71+1833=1904",
"1904/56=34"
] | Current State: 34:[47, 71, 39, 56], Operations: []
Exploring Operation: 47*39=1833, Resulting Numbers: [71, 56, 1833]
Generated Node #2: [71, 56, 1833] from Operation: 47*39=1833
Current State: 34:[71, 56, 1833], Operations: ['47*39=1833']
Exploring Operation: 71+1833=1904, Resulting Numbers: [56, 1904]
Generated Node #3: [56, 1904] from Operation: 71+1833=1904
Current State: 34:[56, 1904], Operations: ['47*39=1833', '71+1833=1904']
Exploring Operation: 1904/56=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[47, 71, 39, 56], Operations: []
Exploring Operation: 71-56=15, Resulting Numbers: [47, 39, 15]
Generated Node #0,0: 34:[47, 39, 15] Operation: 71-56=15
Exploring Operation: 56-47=9, Resulting Numbers: [71, 39, 9]
Generated Node #0,1: 34:[71, 39, 9] Operation: 56-47=9
Exploring Operation: 71-47=24, Resulting Numbers: [39, 56, 24]
Generated Node #0,2: 34:[39, 56, 24] Operation: 71-47=24
Exploring Operation: 71-39=32, Resulting Numbers: [47, 56, 32]
Generated Node #0,3: 34:[47, 56, 32] Operation: 71-39=32
Moving to Node #0,0
Current State: 34:[47, 39, 15], Operations: ['71-56=15']
Exploring Operation: 47-15=32, Resulting Numbers: [39, 32]
Generated Node #0,0,0: 34:[39, 32] Operation: 47-15=32
Exploring Operation: 47+15=62, Resulting Numbers: [39, 62]
Generated Node #0,0,1: 34:[39, 62] Operation: 47+15=62
Exploring Operation: 39-15=24, Resulting Numbers: [47, 24]
Generated Node #0,0,2: 34:[47, 24] Operation: 39-15=24
Exploring Operation: 47-39=8, Resulting Numbers: [15, 8]
Generated Node #0,0,3: 34:[15, 8] Operation: 47-39=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[39, 32], Operations: ['71-56=15', '47-15=32']
Exploring Operation: 39*32=1248, Resulting Numbers: [1248]
1248,34 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,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:[15, 8], Operations: ['71-56=15', '47-39=8']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,34 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,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:[47, 24], Operations: ['71-56=15', '39-15=24']
Exploring Operation: 47*24=1128, Resulting Numbers: [1128]
1128,34 unequal: No Solution
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,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:[39, 62], Operations: ['71-56=15', '47+15=62']
Exploring Operation: 39+62=101, Resulting Numbers: [101]
101,34 unequal: No Solution
Exploring Operation: 39*62=2418, Resulting Numbers: [2418]
2418,34 unequal: No Solution
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,34 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: 34:[39, 56, 24], Operations: ['71-47=24']
Exploring Operation: 56-39=17, Resulting Numbers: [24, 17]
Generated Node #0,2,0: 34:[24, 17] Operation: 56-39=17
Exploring Operation: 39-24=15, Resulting Numbers: [56, 15]
Generated Node #0,2,1: 34:[56, 15] Operation: 39-24=15
Exploring Operation: 39+24=63, Resulting Numbers: [56, 63]
Generated Node #0,2,2: 34:[56, 63] Operation: 39+24=63
Exploring Operation: 56-24=32, Resulting Numbers: [39, 32]
Generated Node #0,2,3: 34:[39, 32] Operation: 56-24=32
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[24, 17], Operations: ['71-47=24', '56-39=17']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,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:[39, 32], Operations: ['71-47=24', '56-24=32']
Exploring Operation: 39*32=1248, Resulting Numbers: [1248]
1248,34 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,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:[56, 15], Operations: ['71-47=24', '39-24=15']
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Exploring Operation: 56*15=840, Resulting Numbers: [840]
840,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:[56, 63], Operations: ['71-47=24', '39+24=63']
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 56+63=119, Resulting Numbers: [119]
119,34 unequal: No Solution
Exploring Operation: 56*63=3528, Resulting Numbers: [3528]
3528,34 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: 34:[47, 56, 32], Operations: ['71-39=32']
Exploring Operation: 47+32=79, Resulting Numbers: [56, 79]
Generated Node #0,3,0: 34:[56, 79] Operation: 47+32=79
Exploring Operation: 56-32=24, Resulting Numbers: [47, 24]
Generated Node #0,3,1: 34:[47, 24] Operation: 56-32=24
Exploring Operation: 47-32=15, Resulting Numbers: [56, 15]
Generated Node #0,3,2: 34:[56, 15] Operation: 47-32=15
Exploring Operation: 56-47=9, Resulting Numbers: [32, 9]
Generated Node #0,3,3: 34:[32, 9] Operation: 56-47=9
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 34:[32, 9], Operations: ['71-39=32', '56-47=9']
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,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:[47, 24], Operations: ['71-39=32', '56-32=24']
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 47*24=1128, Resulting Numbers: [1128]
1128,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:[56, 15], Operations: ['71-39=32', '47-32=15']
Exploring Operation: 56*15=840, Resulting Numbers: [840]
840,34 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,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:[56, 79], Operations: ['71-39=32', '47+32=79']
Exploring Operation: 56*79=4424, Resulting Numbers: [4424]
4424,34 unequal: No Solution
Exploring Operation: 56+79=135, Resulting Numbers: [135]
135,34 unequal: No Solution
Exploring Operation: 79-56=23, Resulting Numbers: [23]
23,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:[71, 39, 9], Operations: ['56-47=9']
Exploring Operation: 71+9=80, Resulting Numbers: [39, 80]
Generated Node #0,1,0: 34:[39, 80] Operation: 71+9=80
Exploring Operation: 71-9=62, Resulting Numbers: [39, 62]
Generated Node #0,1,1: 34:[39, 62] Operation: 71-9=62
Exploring Operation: 71-39=32, Resulting Numbers: [9, 32]
Generated Node #0,1,2: 34:[9, 32] Operation: 71-39=32
Exploring Operation: 39-9=30, Resulting Numbers: [71, 30]
Generated Node #0,1,3: 34:[71, 30] Operation: 39-9=30
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[9, 32], Operations: ['56-47=9', '71-39=32']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 9*32=288, Resulting Numbers: [288]
288,34 unequal: No Solution
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,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,1,1
Current State: 34:[39, 62], Operations: ['56-47=9', '71-9=62']
Exploring Operation: 39*62=2418, Resulting Numbers: [2418]
2418,34 unequal: No Solution
Exploring Operation: 39+62=101, Resulting Numbers: [101]
101,34 unequal: No Solution
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,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,1,3
Current State: 34:[71, 30], Operations: ['56-47=9', '39-9=30']
Exploring Operation: 71+30=101, Resulting Numbers: [101]
101,34 unequal: No Solution
Exploring Operation: 71*30=2130, Resulting Numbers: [2130]
2130,34 unequal: No Solution
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,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,1,0
Current State: 34:[39, 80], Operations: ['56-47=9', '71+9=80']
Exploring Operation: 39*80=3120, Resulting Numbers: [3120]
3120,34 unequal: No Solution
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 39+80=119, Resulting Numbers: [119]
119,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
97,
88,
94,
59
] | 26 | [
"97-88=9",
"94-59=35",
"35-9=26"
] | Current State: 26:[97, 88, 94, 59], Operations: []
Exploring Operation: 97-88=9, Resulting Numbers: [94, 59, 9]
Generated Node #2: [94, 59, 9] from Operation: 97-88=9
Current State: 26:[94, 59, 9], Operations: ['97-88=9']
Exploring Operation: 94-59=35, Resulting Numbers: [9, 35]
Generated Node #3: [9, 35] from Operation: 94-59=35
Current State: 26:[9, 35], Operations: ['97-88=9', '94-59=35']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[97, 88, 94, 59], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [88, 59, 3]
Generated Node #0,0: 26:[88, 59, 3] Operation: 97-94=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[88, 59, 3], Operations: ['97-94=3']
Exploring Operation: 88-59=29, Resulting Numbers: [3, 29]
Generated Node #0,0,0: 26:[3, 29] Operation: 88-59=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[3, 29], Operations: ['97-94=3', '88-59=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[97, 88, 94, 59], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [88, 59, 3]
Generated Node #0,0: 26:[88, 59, 3] Operation: 97-94=3
Moving to Node #0,0
Current State: 26:[88, 59, 3], Operations: ['97-94=3']
Exploring Operation: 88-59=29, Resulting Numbers: [3, 29]
Generated Node #0,0,0: 26:[3, 29] Operation: 88-59=29
Moving to Node #0,0,0
Current State: 26:[3, 29], Operations: ['97-94=3', '88-59=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
49,
28,
62,
26
] | 57 | [
"49-28=21",
"62-26=36",
"21+36=57"
] | Current State: 57:[49, 28, 62, 26], Operations: []
Exploring Operation: 49-28=21, Resulting Numbers: [62, 26, 21]
Generated Node #2: [62, 26, 21] from Operation: 49-28=21
Current State: 57:[62, 26, 21], Operations: ['49-28=21']
Exploring Operation: 62-26=36, Resulting Numbers: [21, 36]
Generated Node #3: [21, 36] from Operation: 62-26=36
Current State: 57:[21, 36], Operations: ['49-28=21', '62-26=36']
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[49, 28, 62, 26], Operations: []
Exploring Operation: 49-28=21, Resulting Numbers: [62, 26, 21]
Generated Node #0,0: 57:[62, 26, 21] Operation: 49-28=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[62, 26, 21], Operations: ['49-28=21']
Exploring Operation: 26-21=5, Resulting Numbers: [62, 5]
Generated Node #0,0,0: 57:[62, 5] Operation: 26-21=5
Moving to Node #0,0,0
Current State: 57:[62, 5], Operations: ['49-28=21', '26-21=5']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[49, 28, 62, 26], Operations: []
Exploring Operation: 49-28=21, Resulting Numbers: [62, 26, 21]
Generated Node #0,0: 57:[62, 26, 21] Operation: 49-28=21
Moving to Node #0,0
Current State: 57:[62, 26, 21], Operations: ['49-28=21']
Exploring Operation: 26-21=5, Resulting Numbers: [62, 5]
Generated Node #0,0,0: 57:[62, 5] Operation: 26-21=5
Moving to Node #0,0,0
Current State: 57:[62, 5], Operations: ['49-28=21', '26-21=5']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
73,
84,
63,
68
] | 55 | [
"84-73=11",
"68-63=5",
"11*5=55"
] | Current State: 55:[73, 84, 63, 68], Operations: []
Exploring Operation: 84-73=11, Resulting Numbers: [63, 68, 11]
Generated Node #2: [63, 68, 11] from Operation: 84-73=11
Current State: 55:[63, 68, 11], Operations: ['84-73=11']
Exploring Operation: 68-63=5, Resulting Numbers: [11, 5]
Generated Node #3: [11, 5] from Operation: 68-63=5
Current State: 55:[11, 5], Operations: ['84-73=11', '68-63=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[73, 84, 63, 68], Operations: []
Exploring Operation: 84-73=11, Resulting Numbers: [63, 68, 11]
Generated Node #0,0: 55:[63, 68, 11] Operation: 84-73=11
Exploring Operation: 84-68=16, Resulting Numbers: [73, 63, 16]
Generated Node #0,1: 55:[73, 63, 16] Operation: 84-68=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[63, 68, 11], Operations: ['84-73=11']
Exploring Operation: 68-11=57, Resulting Numbers: [63, 57]
Generated Node #0,0,0: 55:[63, 57] Operation: 68-11=57
Exploring Operation: 68-63=5, Resulting Numbers: [11, 5]
Generated Node #0,0,1: 55:[11, 5] Operation: 68-63=5
Moving to Node #0,0,1
Current State: 55:[11, 5], Operations: ['84-73=11', '68-63=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[73, 84, 63, 68], Operations: []
Exploring Operation: 84-73=11, Resulting Numbers: [63, 68, 11]
Generated Node #0,0: 55:[63, 68, 11] Operation: 84-73=11
Moving to Node #0,0
Current State: 55:[63, 68, 11], Operations: ['84-73=11']
Exploring Operation: 68-63=5, Resulting Numbers: [11, 5]
Generated Node #0,0,1: 55:[11, 5] Operation: 68-63=5
Moving to Node #0,0,1
Current State: 55:[11, 5], Operations: ['84-73=11', '68-63=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.